summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/arith.h
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2003-05-08 13:50:44 +0000
committerdas <das@FreeBSD.org>2003-05-08 13:50:44 +0000
commitd807e3cae2ebdf6165e0dcc19f8ee461498f6c8b (patch)
treebd32cf15f11cdeca38a2cf529b8858aa0261e1d2 /lib/libc/i386/arith.h
parent5596d2cb7edd2eba69b730a5f6d1b4231c912b87 (diff)
downloadFreeBSD-src-d807e3cae2ebdf6165e0dcc19f8ee461498f6c8b.zip
FreeBSD-src-d807e3cae2ebdf6165e0dcc19f8ee461498f6c8b.tar.gz
Add a comment describing why it's important for the values in this
file to be correct, and how to generate them automatically. Caused much pain and suffering for: peter
Diffstat (limited to 'lib/libc/i386/arith.h')
-rw-r--r--lib/libc/i386/arith.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/i386/arith.h b/lib/libc/i386/arith.h
index d1bcfb6..2d65061 100644
--- a/lib/libc/i386/arith.h
+++ b/lib/libc/i386/arith.h
@@ -4,5 +4,12 @@
* $FreeBSD$
*/
+/*
+ * NOTE: The definitions in this file must be correct or strtod(3) and
+ * floating point formats in printf(3) will break! The file can be
+ * generated by running contrib/gdtoa/arithchk.c on the target
+ * architecture. See contrib/gdtoa/gdtoaimp.h for details.
+ */
+
#define IEEE_8087
#define Arith_Kind_ASL 1
OpenPOWER on IntegriCloud