diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-05-17 18:38:42 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-05-17 18:38:42 -0400 |
commit | 22730d65608db06500cc6e0be4aaec03238f996b (patch) | |
tree | f6f9bc3d4e27e0d9b659dd09f31b8d8ca49186d3 /arch/x86_64/bits | |
parent | ec9f5353b10eb312af391ec799a3eeea5da145a9 (diff) | |
download | musl-22730d65608db06500cc6e0be4aaec03238f996b.tar.gz musl-22730d65608db06500cc6e0be4aaec03238f996b.tar.xz musl-22730d65608db06500cc6e0be4aaec03238f996b.zip |
add FLT_TRUE_MIN, etc. macros from C11
there was some question as to how many decimal places to use, since one decimal place is always sufficient to identify the smallest denormal uniquely. for now, I'm following the example in the C standard which is consistent with the other min/max macros we already had in place.
Diffstat (limited to 'arch/x86_64/bits')
-rw-r--r-- | arch/x86_64/bits/float.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/bits/float.h b/arch/x86_64/bits/float.h index 17fd74d7..9ea29914 100644 --- a/arch/x86_64/bits/float.h +++ b/arch/x86_64/bits/float.h @@ -5,6 +5,7 @@ #define FLT_EVAL_METHOD 0 #endif +#define LDBL_TRUE_MIN 3.6451995318824746025e-4951L #define LDBL_MIN 3.3621031431120935063e-4932L #define LDBL_MAX 1.1897314953572317650e+4932L #define LDBL_EPSILON 1.0842021724855044340e-19L |