mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-02 19:29:21 +00:00
Define math_errhandling to MATH_ERREXCEPT.
This indicates that floating-point exceptions are used to report math errors. The existing functions will still also set errno in the existing cases, but the new C99 functions generally will not.
This commit is contained in:
parent
3e08ba39aa
commit
dda37cd17c
@ -27,6 +27,10 @@ typedef long double double_t;
|
||||
#define ILOGB0 (-32767-1)
|
||||
#define ILOGBNAN (-32767-1)
|
||||
|
||||
#define MATH_ERRNO 1
|
||||
#define MATH_ERREXCEPT 2
|
||||
#define math_errhandling 2
|
||||
|
||||
#define FP_INFINITE 0xFE
|
||||
#define FP_NAN 0xFD
|
||||
#define FP_NORMAL 0x00
|
||||
|
Loading…
Reference in New Issue
Block a user