This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Powerpc64 long double support


Andreas Schwab <schwab@suse.de> writes:
> The sign bit might also be a don't-care at this point, in which case both
> formats must be supported.

It might, that's true, but unless someone can show that it definitely
_is_, I don't think we should make that assumption.  math(3M) just says:

     Long double infinity is represented as the sum of a double
     infinity and a double zero; similarly for NaNs.

which perhaps can be read either way, but which hardly goes out
on a limb to say "zero of either sign".

Also, libgcc will use +0.0, so we might as well be consistent.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]