From: Rich Felker Date: Wed, 20 Jun 2018 19:28:49 +0000 (-0400) Subject: fix m68k float.h long double exponent range X-Git-Tag: v1.1.20~65 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=84b25160e7e15e7531533a9a6b22d5431d1b7629;p=oweals%2Fmusl.git 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. --- 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