summaryrefslogtreecommitdiffstats
path: root/lib/libc/amd64
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2007-01-03 05:00:03 +0000
committerdas <das@FreeBSD.org>2007-01-03 05:00:03 +0000
commit04ab9d0942584e1ea1dc0c7e9b4a4737d86c1d6c (patch)
treea2767fe5e0c5b129e7e99506a3c74760a874e46a /lib/libc/amd64
parent94ddd9f41e4f782b985a076a73dae0a52f6432f9 (diff)
downloadFreeBSD-src-04ab9d0942584e1ea1dc0c7e9b4a4737d86c1d6c.zip
FreeBSD-src-04ab9d0942584e1ea1dc0c7e9b4a4737d86c1d6c.tar.gz
The distinction between quiet and signaling NaN formats is
machine-dependent; these files tell the latest version of gdtoa what to do.
Diffstat (limited to 'lib/libc/amd64')
-rw-r--r--lib/libc/amd64/gd_qnan.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/libc/amd64/gd_qnan.h b/lib/libc/amd64/gd_qnan.h
new file mode 100644
index 0000000..17b439f
--- /dev/null
+++ b/lib/libc/amd64/gd_qnan.h
@@ -0,0 +1,21 @@
+/*
+ * MD header for contrib/gdtoa
+ *
+ * This file can be generated by compiling and running contrib/gdtoa/qnan.c
+ * on the target architecture after arith.h has been generated.
+ *
+ * $FreeBSD$
+ */
+
+#define f_QNAN 0xffc00000
+#define d_QNAN0 0x0
+#define d_QNAN1 0xfff80000
+#define ld_QNAN0 0x0
+#define ld_QNAN1 0xc0000000
+#define ld_QNAN2 0xffff
+#define ld_QNAN3 0x0
+#define ldus_QNAN0 0x0
+#define ldus_QNAN1 0x0
+#define ldus_QNAN2 0x0
+#define ldus_QNAN3 0xc000
+#define ldus_QNAN4 0xffff
OpenPOWER on IntegriCloud