Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/aarch64/gdtoa fix long double NaN definition.



details:   https://anonhg.NetBSD.org/src/rev/68248b4b1e93
branches:  trunk
changeset: 363562:68248b4b1e93
user:      ryo <ryo%NetBSD.org@localhost>
date:      Wed Aug 01 19:59:49 2018 +0000

description:
fix long double NaN definition.

diffstat:

 lib/libc/arch/aarch64/gdtoa/gd_qnan.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r fe0e2ab3fa7c -r 68248b4b1e93 lib/libc/arch/aarch64/gdtoa/gd_qnan.h
--- a/lib/libc/arch/aarch64/gdtoa/gd_qnan.h     Wed Aug 01 18:36:13 2018 +0000
+++ b/lib/libc/arch/aarch64/gdtoa/gd_qnan.h     Wed Aug 01 19:59:49 2018 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: gd_qnan.h,v 1.1 2014/08/10 05:47:36 matt Exp $ */
+/* $NetBSD: gd_qnan.h,v 1.2 2018/08/01 19:59:49 ryo Exp $ */
 
 #define f_QNAN 0x7fc00000
 #ifdef __AARCH64EB__
 #define d_QNAN0 0x7ff80000
 #define d_QNAN1 0x0
-#define ld_QNAN0 0x7ff80000
+#define ld_QNAN0 0x7fff8000
 #define ld_QNAN1 0x0
 #define ld_QNAN2 0x0
 #define ld_QNAN3 0x0
@@ -14,5 +14,5 @@
 #define ld_QNAN0 0x0
 #define ld_QNAN1 0x0
 #define ld_QNAN2 0x0
-#define ld_QNAN3 0x7ff80000
+#define ld_QNAN3 0x7fff8000
 #endif



Home | Main Index | Thread Index | Old Index