diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-06-20 15:28:49 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-06-20 15:28:49 -0400 |
commit | 84b25160e7e15e7531533a9a6b22d5431d1b7629 (patch) | |
tree | e236670f91b5117d16e9134c7883810379669a82 /arch | |
parent | 0cd2be231481d68d244662bde25ad9cadbd7221d (diff) | |
download | musl-84b25160e7e15e7531533a9a6b22d5431d1b7629.tar.gz musl-84b25160e7e15e7531533a9a6b22d5431d1b7629.tar.bz2 musl-84b25160e7e15e7531533a9a6b22d5431d1b7629.tar.xz musl-84b25160e7e15e7531533a9a6b22d5431d1b7629.zip |
fix m68k float.h long double exponent range
unlike the x86 variant, the m68k ld80 format allows (biased) exponent
zero with mantissa msb set, thereby extending the normal range.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/bits/float.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/bits/float.h b/arch/m68k/bits/float.h index fd02a132..0e6899d5 100644 --- a/arch/m68k/bits/float.h +++ b/arch/m68k/bits/float.h @@ -3,12 +3,12 @@ #define FLT_EVAL_METHOD 2 #define LDBL_TRUE_MIN 3.6451995318824746025e-4951L -#define LDBL_MIN 3.3621031431120935063e-4932L +#define LDBL_MIN 1.68105157155604675313e-4932L #define LDBL_MAX 1.1897314953572317650e+4932L #define LDBL_EPSILON 1.0842021724855044340e-19L #define LDBL_MANT_DIG 64 -#define LDBL_MIN_EXP (-16381) +#define LDBL_MIN_EXP (-16382) #define LDBL_MAX_EXP 16384 #define LDBL_DIG 18 |