aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sparc64/arith.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sparc64/arith.h')
-rw-r--r--lib/libc/sparc64/arith.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libc/sparc64/arith.h b/lib/libc/sparc64/arith.h
new file mode 100644
index 000000000000..3c35b80f35c3
--- /dev/null
+++ b/lib/libc/sparc64/arith.h
@@ -0,0 +1,19 @@
+/*
+ * MD header for contrib/gdtoa
+ *
+ * $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_MC68k
+#define Arith_Kind_ASL 2
+#define Long int
+#define Intcast (int)(long)
+#define Double_Align
+#define X64_bit_pointers