linux-mips
[Top] [All Lists]

SNaN & QNaN on mips

To: "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
Subject: SNaN & QNaN on mips
From: Zhang Fuxin <fxzhang@ict.ac.cn>
Date: Mon, 4 Feb 2002 14:22:48 +0800
Sender: owner-linux-mips@oss.sgi.com
hi,

Gcc (2.96 20000731,H.J.LU's rh port for mips) think 0x7fc00000 is QNaN and 
optimize 0.0/0.0 as 0x7fc00000 for single precision ops,while for my cpu
(maybe most mips cpu) is a SNaN. R4k user's manual and "See Mips Run" both
 say so.And experiments confirm this.

Should we correct it?

>
>Regards
>            Zhang Fuxin
>            fxzhang@ict.ac.cn

Regards
            Zhang Fuxin
            fxzhang@ict.ac.cn


<Prev in Thread] Current Thread [Next in Thread>