mirror of
git://git.musl-libc.org/musl
synced 2024-12-22 14:43:04 +00:00
22730d6560
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.
22 lines
520 B
C
22 lines
520 B
C
#define FLT_ROUNDS 1
|
|
#ifdef __FLT_EVAL_METHOD__
|
|
#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
|
|
#else
|
|
#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
|
|
|
|
#define LDBL_MANT_DIG 64
|
|
#define LDBL_MIN_EXP (-16381)
|
|
#define LDBL_MAX_EXP 16384
|
|
|
|
#define LDBL_DIG 18
|
|
#define LDBL_MIN_10_EXP (-4931)
|
|
#define LDBL_MAX_10_EXP 4932
|
|
|
|
#define DECIMAL_DIG 21
|