summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/sunos-5.5/__math.h
diff options
context:
space:
mode:
Diffstat (limited to 'mit-pthreads/machdep/sunos-5.5/__math.h')
-rwxr-xr-xmit-pthreads/machdep/sunos-5.5/__math.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/sunos-5.5/__math.h b/mit-pthreads/machdep/sunos-5.5/__math.h
new file mode 100755
index 00000000000..5404b52c661
--- /dev/null
+++ b/mit-pthreads/machdep/sunos-5.5/__math.h
@@ -0,0 +1,16 @@
+/*
+ * ANSI/POSIX
+ */
+typedef union _h_val {
+ unsigned long _i[2];
+ double _d;
+} _h_val;
+
+#ifdef __STDC__
+extern const _h_val __huge_val;
+#else
+extern _h_val __huge_val;
+#endif
+
+#define HUGE_VAL __huge_val._d
+