1 #ifndef _FLOAT_H___ 2 #define _FLOAT_H___ 3 4 #define FLT_RADIX 2 5 6 #define FLT_MANT_DIG 24 7 #define DBL_MANT_DIG 53 8 #define LDBL_MANT_DIG DBL_MANT_DIG 9 10 #define FLT_DIG 6 11 #define DBL_DIG 15 12 #define LDBL_DIG 15 13 14 #define FLT_MIN_EXP (-125) 15 #define DBL_MIN_EXP (-1021) 16 #define LDBL_MIN_EXP (-1021) 17 18 #define FLT_MIN_10_EXP (-37) 19 #define DBL_MIN_10_EXP (-307) 20 #define LDBL_MIN_10_EXP (-307) 21 22 #define FLT_MAX_EXP 128 23 #define DBL_MAX_EXP 1024 24 #define LDBL_MAX_EXP 1024 25 26 #define FLT_MAX_10_EXP 38 27 #define DBL_MAX_10_EXP 308 28 #define LDBL_MAX_10_EXP 308 29 30 #define FLT_MAX 3.402823466e+38F 31 #define DBL_MAX 1.7976931348623158e+308 32 #define LDBL_MAX 1.7976931348623158e+308 33 34 #define FLT_EPSILON 1.192092896e-07F 35 #define DBL_EPSILON 2.2204460492503131e-016 36 #define LDBL_EPSILON 2.2204460492503131e-016 37 38 #define FLT_MIN 1.175494351e-38F 39 #define DBL_MIN 2.2250738585072014e-308 40 #define LDBL_MIN 2.2250738585072014e-308 41 42 #define FLT_ROUNDS 1 43 44 #endif 45