diff --git a/include/float.h b/include/float.h index 18c1cd0b..35b28f2c 100644 --- a/include/float.h +++ b/include/float.h @@ -42,9 +42,8 @@ #elif defined __aarch64__ || defined __riscv /* * Use values from: - * gcc -dM -E -xc /dev/null | grep LDBL + * gcc -dM -E -xc /dev/null | grep LDBL | sed -e "s/__//g" */ - #define LDBL_MANT_DIG 113 #define LDBL_DIG 33 #define LDBL_EPSILON 1.92592994438723585305597794258492732e-34L @@ -60,12 +59,12 @@ /* same as IEEE double */ #define LDBL_MANT_DIG 53 #define LDBL_DIG 15 -#define LDBL_EPSILON 2.2204460492503131e-16 +#define LDBL_EPSILON 2.2204460492503131e-16L #define LDBL_MIN_EXP (-1021) -#define LDBL_MIN 2.2250738585072014e-308 +#define LDBL_MIN 2.2250738585072014e-308L #define LDBL_MIN_10_EXP (-307) #define LDBL_MAX_EXP 1024 -#define LDBL_MAX 1.7976931348623157e+308 +#define LDBL_MAX 1.7976931348623157e+308L #define LDBL_MAX_10_EXP 308 #endif