From 326e5c2e27224e3323e54f37621d55c40ebae87c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 20 Nov 2013 18:28:18 -0500 Subject: 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. --- arch/microblaze/bits/float.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arch/microblaze/bits') diff --git a/arch/microblaze/bits/float.h b/arch/microblaze/bits/float.h index 89e9eb6e..ec46b94b 100644 --- a/arch/microblaze/bits/float.h +++ b/arch/microblaze/bits/float.h @@ -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) -- cgit v1.2.1