about summary refs log tree commit diff
path: root/arch/arm/bits
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-05-17 18:38:42 -0400
committerRich Felker <dalias@aerifal.cx>2013-05-17 18:38:42 -0400
commit22730d65608db06500cc6e0be4aaec03238f996b (patch)
treef6f9bc3d4e27e0d9b659dd09f31b8d8ca49186d3 /arch/arm/bits
parentec9f5353b10eb312af391ec799a3eeea5da145a9 (diff)
downloadmusl-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/arm/bits')
-rw-r--r--arch/arm/bits/float.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/bits/float.h b/arch/arm/bits/float.h
index dce9e2d9..89e9eb6e 100644
--- a/arch/arm/bits/float.h
+++ b/arch/arm/bits/float.h
@@ -1,6 +1,7 @@
 #define FLT_ROUNDS 1
 #define FLT_EVAL_METHOD 0
 
+#define LDBL_TRUE_MIN 4.9406564584124654e-324
 #define LDBL_MIN 2.2250738585072014e-308
 #define LDBL_MAX 1.7976931348623157e+308
 #define LDBL_EPSILON 2.2204460492503131e-16