summaryrefslogtreecommitdiff
path: root/lib/libc/amd64/gen/infinity.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-08-22 09:19:50 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-08-22 09:19:50 +0000
commit2494a00b494a7f581b7a0564cc155d880d81a172 (patch)
tree09c28650234a3c9c8b1619b439e782c9f527ceba /lib/libc/amd64/gen/infinity.c
parentf85b3e8c21473028f0725b743e3479b6447daf6d (diff)
Notes
Diffstat (limited to 'lib/libc/amd64/gen/infinity.c')
-rw-r--r--lib/libc/amd64/gen/infinity.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/amd64/gen/infinity.c b/lib/libc/amd64/gen/infinity.c
new file mode 100644
index 000000000000..ae2058064fdb
--- /dev/null
+++ b/lib/libc/amd64/gen/infinity.c
@@ -0,0 +1,6 @@
+/* infinity.c */
+
+#include <math.h>
+
+/* bytes for +Infinity on a 387 */
+char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };