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: mips SNaN/QNaN is swapped


At Mon, 24 Mar 2003 04:36:25 +0000 (UTC), "Alexandre Oliva" wrote:
> mips doesn't cease to surprise me in its floating-point formats.
> Contrary to the IEEE 754 specifications, the bit that is traditionally
> used to flag a quiet NaN is used to mark a signaling NaN on mips.

Uh, i couldn't find anything in IEEE 754 or 854 about requirements on
the values of NaNs (specifically which are quiet and which are
signalling), other than, of course, the exponent being max and the
faction field being non-zero.

In fact, both say:

> 1.3 Exclusions
> This standard does not specify the following:
> [...]
> 3) Interpretation of the sign and significand fields of NaNs
> [...]


Did i miss something?


cgd


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