summaryrefslogtreecommitdiff
path: root/lib/libc/arch/mips64/gen/nan.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/mips64/gen/nan.c')
-rw-r--r--lib/libc/arch/mips64/gen/nan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/mips64/gen/nan.c b/lib/libc/arch/mips64/gen/nan.c
index 62f2e1ad916..73ebf3b9a0f 100644
--- a/lib/libc/arch/mips64/gen/nan.c
+++ b/lib/libc/arch/mips64/gen/nan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nan.c,v 1.1 2008/07/24 09:31:06 martynas Exp $ */
+/* $OpenBSD: nan.c,v 1.2 2008/09/07 20:36:07 martynas Exp $ */
/* Written by Martynas Venckus. Public Domain. */
@@ -9,7 +9,7 @@
/* bytes for qNaN on a mips64 (IEEE single format) */
char __nan[] __attribute__((__aligned__(sizeof(float)))) =
#if BYTE_ORDER == BIG_ENDIAN
- { 0x7f, 0xa0, 0, 0 };
+ { 0x7f, 0xc0, 0, 0 };
#else /* BYTE_ORDER == BIG_ENDIAN */
- { 0, 0, 0xa0, 0x7f };
+ { 0, 0, 0xc0, 0x7f };
#endif /* BYTE_ORDER == BIG_ENDIAN */