mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-09 00:02:17 +03:00
fix the nominal type of LDBL_* limits on archs with ld64
previously these macros wrongly had type double rather than long double. I see no way an application could detect the error in C99, but C11's _Generic can trivially detect it. at the same time, even though these archs do not have excess precision, the number of decimal places used to represent these constants has been increased to 21 to be consistent with the decimal representations used for the DBL_* macros.
This commit is contained in:
parent
46db37289f
commit
326e5c2e27
@ -1,10 +1,10 @@
|
||||
#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
|
||||
#define LDBL_TRUE_MIN 4.94065645841246544177e-324L
|
||||
#define LDBL_MIN 2.22507385850720138309e-308L
|
||||
#define LDBL_MAX 1.79769313486231570815e+308L
|
||||
#define LDBL_EPSILON 2.22044604925031308085e-16L
|
||||
|
||||
#define LDBL_MANT_DIG 53
|
||||
#define LDBL_MIN_EXP (-1021)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#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
|
||||
#define LDBL_TRUE_MIN 4.94065645841246544177e-324L
|
||||
#define LDBL_MIN 2.22507385850720138309e-308L
|
||||
#define LDBL_MAX 1.79769313486231570815e+308L
|
||||
#define LDBL_EPSILON 2.22044604925031308085e-16L
|
||||
|
||||
#define LDBL_MANT_DIG 53
|
||||
#define LDBL_MIN_EXP (-1021)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#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
|
||||
#define LDBL_TRUE_MIN 4.94065645841246544177e-324L
|
||||
#define LDBL_MIN 2.22507385850720138309e-308L
|
||||
#define LDBL_MAX 1.79769313486231570815e+308L
|
||||
#define LDBL_EPSILON 2.22044604925031308085e-16L
|
||||
|
||||
#define LDBL_MANT_DIG 53
|
||||
#define LDBL_MIN_EXP (-1021)
|
||||
|
@ -1,10 +1,10 @@
|
||||
#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
|
||||
#define LDBL_TRUE_MIN 4.94065645841246544177e-324L
|
||||
#define LDBL_MIN 2.22507385850720138309e-308L
|
||||
#define LDBL_MAX 1.79769313486231570815e+308L
|
||||
#define LDBL_EPSILON 2.22044604925031308085e-16L
|
||||
|
||||
#define LDBL_MANT_DIG 53
|
||||
#define LDBL_MIN_EXP (-1021)
|
||||
|
Loading…
Reference in New Issue
Block a user