From 606fd555cc6d7736256e0a39faf4cdbb4ebfff51 Mon Sep 17 00:00:00 2001 From: das Date: Fri, 14 Jan 2005 22:03:27 +0000 Subject: [PATCH] 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. --- lib/msun/src/math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h index 9c03f27da38f..effbaba168de 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