aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/amd64/arith.h
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2003-05-08 13:50:44 +0000
committerDavid Schultz <das@FreeBSD.org>2003-05-08 13:50:44 +0000
commitb7412bf571a1608ce038d38ba2faa14ad4a6aeb8 (patch)
treebd32cf15f11cdeca38a2cf529b8858aa0261e1d2 /lib/libc/amd64/arith.h
parentb3f7680e498e5beb8dfa6c16ac29ff6efdbc54ca (diff)
downloadsrc-b7412bf571a1608ce038d38ba2faa14ad4a6aeb8.tar.gz
src-b7412bf571a1608ce038d38ba2faa14ad4a6aeb8.zip
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
Notes
Notes: svn path=/head/; revision=114839
Diffstat (limited to 'lib/libc/amd64/arith.h')
-rw-r--r--lib/libc/amd64/arith.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/amd64/arith.h b/lib/libc/amd64/arith.h
index 202264da1092..ecb1a33fccb0 100644
--- a/lib/libc/amd64/arith.h
+++ b/lib/libc/amd64/arith.h
@@ -4,6 +4,13 @@
* $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
#define Long int