diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-10 18:27:47 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-10 18:27:47 -0400 |
commit | 196d6437dc69ede78af29d500f8ae8d650a17515 (patch) | |
tree | 9d30f248395498d954b2c5a6f6afe6f2f52914c3 /arch/x86_64 | |
parent | 2063c4cac27f118c21dcb9352e8a4903131c88c8 (diff) | |
download | musl-196d6437dc69ede78af29d500f8ae8d650a17515.tar.gz |
add missing float.h macros
actually FLT_ROUNDS needs to expand to a static inline function that
obtains the current rounding mode and returns it, but that will be
added later with fenv.h stuff.
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/bits/float.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86_64/bits/float.h b/arch/x86_64/bits/float.h index 162b3e46..a58424e0 100644 --- a/arch/x86_64/bits/float.h +++ b/arch/x86_64/bits/float.h @@ -1,3 +1,6 @@ +#define FLT_ROUNDS 1 +#define FLT_EVAL_METHOD 1 + #define LDBL_MIN 3.3621031431120935063e-4932L #define LDBL_MAX 1.1897314953572317650e+4932L #define LDBL_EPSILON 1.0842021724855044340e-19L |