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.
This commit is contained in:
das 2005-01-14 22:03:27 +00:00
parent d921c59d04
commit 606fd555cc

View File

@ -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