diff options
-rw-r--r-- | arch/arm/bits/float.h | 2 | ||||
-rw-r--r-- | arch/i386/bits/float.h | 2 | ||||
-rw-r--r-- | arch/x86_64/bits/float.h | 2 | ||||
-rw-r--r-- | include/float.h | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/bits/float.h b/arch/arm/bits/float.h index 75fdc9bc..dce9e2d9 100644 --- a/arch/arm/bits/float.h +++ b/arch/arm/bits/float.h @@ -12,3 +12,5 @@ #define LDBL_DIG 15 #define LDBL_MIN_10_EXP (-307) #define LDBL_MAX_10_EXP 308 + +#define DECIMAL_DIG 17 diff --git a/arch/i386/bits/float.h b/arch/i386/bits/float.h index 044b516b..d439d40b 100644 --- a/arch/i386/bits/float.h +++ b/arch/i386/bits/float.h @@ -12,3 +12,5 @@ #define LDBL_DIG 18 #define LDBL_MIN_10_EXP (-4931) #define LDBL_MAX_10_EXP 4932 + +#define DECIMAL_DIG 21 diff --git a/arch/x86_64/bits/float.h b/arch/x86_64/bits/float.h index a58424e0..422a2df8 100644 --- a/arch/x86_64/bits/float.h +++ b/arch/x86_64/bits/float.h @@ -12,3 +12,5 @@ #define LDBL_DIG 18 #define LDBL_MIN_10_EXP (-4931) #define LDBL_MAX_10_EXP 4932 + +#define DECIMAL_DIG 21 diff --git a/include/float.h b/include/float.h index ef91f37d..ea25f270 100644 --- a/include/float.h +++ b/include/float.h @@ -29,6 +29,4 @@ #include <bits/float.h> -#define DECIMAL_DIG LDBL_DIG - #endif |