summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/arch/alpha/gdtoa/gd_qnan.h8
-rw-r--r--lib/libc/arch/amd64/gdtoa/gd_qnan.h8
-rw-r--r--lib/libc/arch/arm/gdtoa/gd_qnan.h8
-rw-r--r--lib/libc/arch/i386/gdtoa/gd_qnan.h8
4 files changed, 16 insertions, 16 deletions
diff --git a/lib/libc/arch/alpha/gdtoa/gd_qnan.h b/lib/libc/arch/alpha/gdtoa/gd_qnan.h
index 99313b9adca..a2d71dc2e40 100644
--- a/lib/libc/arch/alpha/gdtoa/gd_qnan.h
+++ b/lib/libc/arch/alpha/gdtoa/gd_qnan.h
@@ -1,12 +1,12 @@
-#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 0xfff80000
+#define ld_QNAN1 0x7ff80000
#define ld_QNAN2 0x0
#define ld_QNAN3 0x0
#define ldus_QNAN0 0x0
#define ldus_QNAN1 0x0
#define ldus_QNAN2 0x0
-#define ldus_QNAN3 0xfff8
+#define ldus_QNAN3 0x7ff8
#define ldus_QNAN4 0x0
diff --git a/lib/libc/arch/amd64/gdtoa/gd_qnan.h b/lib/libc/arch/amd64/gdtoa/gd_qnan.h
index 87eba8fb319..0b468c49222 100644
--- a/lib/libc/arch/amd64/gdtoa/gd_qnan.h
+++ b/lib/libc/arch/amd64/gdtoa/gd_qnan.h
@@ -1,12 +1,12 @@
-#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
diff --git a/lib/libc/arch/arm/gdtoa/gd_qnan.h b/lib/libc/arch/arm/gdtoa/gd_qnan.h
index 9c59e795bf6..68a76685974 100644
--- a/lib/libc/arch/arm/gdtoa/gd_qnan.h
+++ b/lib/libc/arch/arm/gdtoa/gd_qnan.h
@@ -1,12 +1,12 @@
-#define f_QNAN 0xffffffff
+#define f_QNAN 0x7fffffff
#define d_QNAN0 0xffffffff
-#define d_QNAN1 0xffffffff
+#define d_QNAN1 0x7fffffff
#define ld_QNAN0 0xffffffff
-#define ld_QNAN1 0xffffffff
+#define ld_QNAN1 0x7fffffff
#define ld_QNAN2 0x0
#define ld_QNAN3 0x0
#define ldus_QNAN0 0xffff
#define ldus_QNAN1 0xffff
#define ldus_QNAN2 0xffff
-#define ldus_QNAN3 0xffff
+#define ldus_QNAN3 0x7fff
#define ldus_QNAN4 0x0
diff --git a/lib/libc/arch/i386/gdtoa/gd_qnan.h b/lib/libc/arch/i386/gdtoa/gd_qnan.h
index 87eba8fb319..0b468c49222 100644
--- a/lib/libc/arch/i386/gdtoa/gd_qnan.h
+++ b/lib/libc/arch/i386/gdtoa/gd_qnan.h
@@ -1,12 +1,12 @@
-#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