Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Ian Lance Taylor <ian@wasabisystems.com>,
	gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com
Subject: Re: RFA: Support infinity, NaN, and denormalized numbers in floatformat.c
Date: Wed, 03 Dec 2003 19:09:00 -0000	[thread overview]
Message-ID: <3FCE34F2.70405@gnu.org> (raw)
In-Reply-To: <20031203181749.GA19055@nevyn.them.org>


> That sounds reasonable to me.  floatformat_to_doublest could contain a
> check on HAVE_LONG_DOUBLE and call one or the other.

something like

floatformat_from_doublest()
{
#if HAVE_LONG_DOUBLE
   return floatformat_from_long_double (...)
#else
   return floatformat_from_double (...)
}

Yes, that would keep GDB insulated from liberty's configuration internals.

(Any long term signs of a portable target floating point library (so 
that the code can completly avoid host fpu assumptions?).  glibc's 
floating-point code has been suggested in the past.)

Andrew



  reply	other threads:[~2003-12-03 19:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-03 18:12 Ian Lance Taylor
2003-12-03 18:17 ` Daniel Jacobowitz
2003-12-03 19:09   ` Andrew Cagney [this message]
2003-12-03 18:35 ` Carlo Wood
2003-12-03 18:44   ` Ian Lance Taylor
2003-12-03 18:57     ` Carlo Wood
2003-12-03 18:35 ` DJ Delorie
2003-12-03 18:47 ` Paul Koning
2012-08-16 16:20 ` Andreas Schwab
2012-08-17 21:16   ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FCE34F2.70405@gnu.org \
    --to=cagney@gnu.org \
    --cc=drow@mvista.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=ian@wasabisystems.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox