1 #ifndef _FLOAT_H 2 #define _FLOAT_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 int __flt_rounds(void); 9 #define FLT_ROUNDS (__flt_rounds()) 10 11 #define FLT_RADIX 2 12 13 #define FLT_TRUE_MIN 1.40129846432481707092e-45F 14 #define FLT_MIN 1.17549435082228750797e-38F 15 #define FLT_MAX 3.40282346638528859812e+38F 16 #define FLT_EPSILON 1.1920928955078125e-07F 17 18 #define FLT_MANT_DIG 24 19 #define FLT_MIN_EXP (-125) 20 #define FLT_MAX_EXP 128 21 #define FLT_HAS_SUBNORM 1 22 23 #define FLT_DIG 6 24 #define FLT_DECIMAL_DIG 9 25 #define FLT_MIN_10_EXP (-37) 26 #define FLT_MAX_10_EXP 38 27 28 #define DBL_TRUE_MIN 4.94065645841246544177e-324 29 #define DBL_MIN 2.22507385850720138309e-308 30 #define DBL_MAX 1.79769313486231570815e+308 31 #define DBL_EPSILON 2.22044604925031308085e-16 32 33 #define DBL_MANT_DIG 53 34 #define DBL_MIN_EXP (-1021) 35 #define DBL_MAX_EXP 1024 36 #define DBL_HAS_SUBNORM 1 37 38 #define DBL_DIG 15 39 #define DBL_DECIMAL_DIG 17 40 #define DBL_MIN_10_EXP (-307) 41 #define DBL_MAX_10_EXP 308 42 43 #define LDBL_HAS_SUBNORM 1 44 #define LDBL_DECIMAL_DIG DECIMAL_DIG 45 46 #include <bits/float.h> 47 48 #ifdef __cplusplus 49 } 50 #endif 51 52 #endif 53