clock_adjtime: add time64 support, decouple 32-bit time_t, fix x32
[musl.git] / include / float.h
blob713aadb906d9565f9a9d6bb408dd506b8a98e74c
1 #ifndef _FLOAT_H
2 #define _FLOAT_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 int __flt_rounds(void);
9 #define FLT_ROUNDS (__flt_rounds())
11 #define FLT_RADIX 2
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
18 #define FLT_MANT_DIG 24
19 #define FLT_MIN_EXP (-125)
20 #define FLT_MAX_EXP 128
21 #define FLT_HAS_SUBNORM 1
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
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
33 #define DBL_MANT_DIG 53
34 #define DBL_MIN_EXP (-1021)
35 #define DBL_MAX_EXP 1024
36 #define DBL_HAS_SUBNORM 1
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
43 #define LDBL_HAS_SUBNORM 1
44 #define LDBL_DECIMAL_DIG DECIMAL_DIG
46 #include <bits/float.h>
48 #ifdef __cplusplus
50 #endif
52 #endif