fix FLT_ROUNDS to reflect the current rounding mode

Implemented as a wrapper around fegetround introducing a new function
to the ABI: __flt_rounds. (fegetround cannot be used directly from float.h)
This commit is contained in:
Szabolcs Nagy
2015-03-07 11:00:37 +01:00
committed by Rich Felker
parent bd67959f3a
commit 559de8f5f0
11 changed files with 22 additions and 9 deletions

View File

@@ -1,4 +1,3 @@
#define FLT_ROUNDS 1
#define FLT_EVAL_METHOD 0
#define LDBL_TRUE_MIN 4.94065645841246544177e-324L