aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-03-12 12:02:03 +0000
committerBruce Evans <bde@FreeBSD.org>2004-03-12 12:02:03 +0000
commit6eb2d83e443608da559640f5381f8655fb630320 (patch)
tree0e2790073ac0eb72fba247dfe0b4fb87b41ce09b /lib
parent6d7c0d2fed07dcdc325a41cd53299c4e8e6906fd (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/msun/src/math.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index 7e91916e594c..842793b6cef6 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -40,6 +40,12 @@ extern const union __nan_un {
#define INFINITY HUGE_VALF
#define NAN (__nan.__uf)
+#if __ISO_C_VISIBLE >= 1999
+#define MATH_ERRNO 1
+#define MATH_ERREXCEPT 2
+#define math_errhandling 0
+#endif
+
/* Symbolic constants to classify floating point numbers. */
#define FP_INFINITE 0x01
#define FP_NAN 0x02