summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sparc64/gen/infinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/sparc64/gen/infinity.c')
-rw-r--r--lib/libc/arch/sparc64/gen/infinity.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/arch/sparc64/gen/infinity.c b/lib/libc/arch/sparc64/gen/infinity.c
new file mode 100644
index 00000000000..04eea83390a
--- /dev/null
+++ b/lib/libc/arch/sparc64/gen/infinity.c
@@ -0,0 +1,8 @@
+/* $OpenBSD: infinity.c,v 1.1 2001/08/29 01:41:29 art Exp $ */
+
+/* infinity.c */
+
+#include <math.h>
+
+/* bytes for +Infinity on a sparc */
+char __infinity[] = { 0x7f, (char)0xf0, 0, 0, 0, 0, 0, 0 };