Arrange so that the NaN returned by strtod("nan", NULL) is the same as

the NaN returned by strtod("nan()", NULL).
This commit is contained in:
David Schultz 2007-12-16 21:15:09 +00:00
parent 10a381e55a
commit 199cdab56f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174680
5 changed files with 27 additions and 27 deletions

View File

@ -7,15 +7,15 @@
* $FreeBSD$
*/
#define f_QNAN 0xffc00000
#define f_QNAN 0x7fc00000
#define d_QNAN0 0x0
#define d_QNAN1 0xfff80000
#define d_QNAN1 0x7ff80000
#define ld_QNAN0 0x0
#define ld_QNAN1 0xc0000000
#define ld_QNAN2 0xffff
#define ld_QNAN2 0x7fff
#define ld_QNAN3 0x0
#define ldus_QNAN0 0x0
#define ldus_QNAN1 0x0
#define ldus_QNAN2 0x0
#define ldus_QNAN3 0xc000
#define ldus_QNAN4 0xffff
#define ldus_QNAN4 0x7fff

View File

@ -9,15 +9,15 @@
* $FreeBSD$
*/
#define f_QNAN 0xffc00000
#define f_QNAN 0x7fc00000
#define d_QNAN0 0x0
#define d_QNAN1 0xfff80000
#define d_QNAN1 0x7ff80000
#define ld_QNAN0 0x0
#define ld_QNAN1 0xc0000000
#define ld_QNAN2 0xffff
#define ld_QNAN2 0x7fff
#define ld_QNAN3 0x0
#define ldus_QNAN0 0x0
#define ldus_QNAN1 0x0
#define ldus_QNAN2 0x0
#define ldus_QNAN3 0xc000
#define ldus_QNAN4 0xffff
#define ldus_QNAN4 0x7fff

View File

@ -7,15 +7,15 @@
* $FreeBSD$
*/
#define f_QNAN 0xffc00000
#define f_QNAN 0x7fc00000
#define d_QNAN0 0x0
#define d_QNAN1 0xfff80000
#define d_QNAN1 0x7ff80000
#define ld_QNAN0 0x0
#define ld_QNAN1 0xc0000000
#define ld_QNAN2 0xffff
#define ld_QNAN2 0x7fff
#define ld_QNAN3 0x0
#define ldus_QNAN0 0x0
#define ldus_QNAN1 0x0
#define ldus_QNAN2 0x0
#define ldus_QNAN3 0xc000
#define ldus_QNAN4 0xffff
#define ldus_QNAN4 0x7fff

View File

@ -7,15 +7,15 @@
* $FreeBSD$
*/
#define f_QNAN 0xffc00000
#define f_QNAN 0x7fc00000
#define d_QNAN0 0x0
#define d_QNAN1 0xfff80000
#define d_QNAN1 0x7ff80000
#define ld_QNAN0 0x0
#define ld_QNAN1 0xc0000000
#define ld_QNAN2 0xffff
#define ld_QNAN2 0x7fff
#define ld_QNAN3 0x0
#define ldus_QNAN0 0x0
#define ldus_QNAN1 0x0
#define ldus_QNAN2 0x0
#define ldus_QNAN3 0xc000
#define ldus_QNAN4 0xffff
#define ldus_QNAN4 0x7fff

View File

@ -7,15 +7,15 @@
* $FreeBSD$
*/
#define f_QNAN 0x7fffffff
#define d_QNAN0 0x7fffffff
#define d_QNAN1 0xffffffff
#define ld_QNAN0 0x7fffffff
#define ld_QNAN1 0xffffffff
#define ld_QNAN2 0xffffffff
#define ld_QNAN3 0xffffffff
#define f_QNAN 0x7fc00000
#define d_QNAN0 0x7ff80000
#define d_QNAN1 0x00000000
#define ld_QNAN0 0x7fff8000
#define ld_QNAN1 0x00000000
#define ld_QNAN2 0x00000000
#define ld_QNAN3 0x00000000
#define ldus_QNAN0 0x7fff
#define ldus_QNAN1 0xffff
#define ldus_QNAN2 0xffff
#define ldus_QNAN3 0xffff
#define ldus_QNAN4 0xffff
#define ldus_QNAN1 0x8000
#define ldus_QNAN2 0x0000
#define ldus_QNAN3 0x0000
#define ldus_QNAN4 0x0000