summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-01-14 22:03:27 +0000
committerdas <das@FreeBSD.org>2005-01-14 22:03:27 +0000
commitd6994ae2c3d702098728453f6996a26bbf5a2992 (patch)
tree2c5be77bf8d904bd6e8748822dc94839b89119a6 /lib
parentf5638fda1e7ef4aa8bfa1d1b6ebe469a56ca02a9 (diff)
downloadFreeBSD-src-d6994ae2c3d702098728453f6996a26bbf5a2992.zip
FreeBSD-src-d6994ae2c3d702098728453f6996a26bbf5a2992.tar.gz
Set math_errhandling to MATH_ERREXCEPT. Now that we have fenv.h, we
basically support this, subject to gcc's lack of FENV_ACCESS support. In any case, the previous setting of math_errhandling to 0 is not allowed by POSIX.
Diffstat (limited to 'lib')
-rw-r--r--lib/msun/src/math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index 9c03f27..effbaba 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -66,7 +66,7 @@ extern const union __nan_un {
#define MATH_ERRNO 1
#define MATH_ERREXCEPT 2
-#define math_errhandling 0
+#define math_errhandling MATH_ERREXCEPT
/* Symbolic constants to classify floating point numbers. */
#define FP_INFINITE 0x01
OpenPOWER on IntegriCloud