This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mips SNaN/QNaN is swapped
- From: cgd at broadcom dot com
- To: aoliva at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 23 Mar 2003 23:00:26 -0800
- Subject: Re: mips SNaN/QNaN is swapped
- References: <ork7eptm8a.fsf@free.redhat.lsd.ic.unicamp.br><mailpost.1048480585.16067@news-sj1-1>
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