summaryrefslogtreecommitdiffstats
path: root/lib/libc/powerpc/gen/infinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/powerpc/gen/infinity.c')
-rw-r--r--lib/libc/powerpc/gen/infinity.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/powerpc/gen/infinity.c b/lib/libc/powerpc/gen/infinity.c
index 428f24d..cf1695e 100644
--- a/lib/libc/powerpc/gen/infinity.c
+++ b/lib/libc/powerpc/gen/infinity.c
@@ -12,3 +12,6 @@ __FBSDID("$FreeBSD$");
/* bytes for +Infinity on powerpc */
const union __infinity_un __infinity = { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } };
+
+/* bytes for NaN */
+const union __nan_un __nan = { { 0xff, 0xc0, 0, 0 } };
OpenPOWER on IntegriCloud