Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #ifndef _FLOAT_H |
| 2 | #define _FLOAT_H |
| 3 | |
| 4 | #define FLT_RADIX 2 |
| 5 | |
| 6 | #define FLT_MIN 1.17549435e-38F |
| 7 | #define FLT_MAX 3.40282347e+38F |
| 8 | #define FLT_EPSILON 1.19209290e-07F |
| 9 | |
| 10 | #define FLT_MANT_DIG 24 |
| 11 | #define FLT_MIN_EXP (-125) |
| 12 | #define FLT_MAX_EXP 128 |
| 13 | |
| 14 | #define FLT_DIG 6 |
| 15 | #define FLT_MIN_10_EXP (-37) |
| 16 | #define FLT_MAX_10_EXP 38 |
| 17 | |
| 18 | #define DBL_MIN 2.2250738585072014e-308 |
| 19 | #define DBL_MAX 1.7976931348623157e+308 |
| 20 | #define DBL_EPSILON 2.2204460492503131e-16 |
| 21 | |
| 22 | #define DBL_MANT_DIG 53 |
| 23 | #define DBL_MIN_EXP (-1021) |
| 24 | #define DBL_MAX_EXP 1024 |
| 25 | |
| 26 | #define DBL_DIG 15 |
| 27 | #define DBL_MIN_10_EXP (-307) |
| 28 | #define DBL_MAX_10_EXP 308 |
| 29 | |
| 30 | #include <bits/float.h> |
| 31 | |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 32 | #endif |