]> git.ipfire.org Git - thirdparty/glibc.git/blob - include/float.h
Add per-thread cache to malloc
[thirdparty/glibc.git] / include / float.h
1 #ifndef _LIBC_FLOAT_H
2 #define _LIBC_FLOAT_H
3
4 #define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION
5 #include <bits/libc-header-start.h>
6
7 #ifndef _ISOMAC
8 # define __STDC_WANT_IEC_60559_TYPES_EXT__
9 #endif
10
11 #include_next <float.h>
12
13 /* Supplement float.h macros for _Float128 for older compilers
14 which do not yet support the type. These are described in
15 TS 18661-3. */
16 #include <features.h>
17 #include <bits/floatn.h>
18 #if !__GNUC_PREREQ (7, 0) \
19 && __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
20 # define FLT128_MANT_DIG 113
21 # define FLT128_DECIMAL_DIG 36
22 # define FLT128_DIG 33
23 # define FLT128_MIN_EXP (-16381)
24 # define FLT128_MIN_10_EXP (-4931)
25 # define FLT128_MAX_EXP 16384
26 # define FLT128_MAX_10_EXP 4932
27 # define FLT128_MAX 1.18973149535723176508575932662800702e+4932Q
28 # define FLT128_EPSILON 1.92592994438723585305597794258492732e-34Q
29 # define FLT128_MIN 3.36210314311209350626267781732175260e-4932Q
30 # define FLT128_TRUE_MIN 6.47517511943802511092443895822764655e-4966Q
31 #endif
32
33 #endif /* _LIBC_FLOAT_H */