HowToReleaseLLVM: Add description of the bug triage process
[llvm-project.git] / libcxx / include / float.h
blob606081251dfbbc87b0365225ec95005a11344be9
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_FLOAT_H
11 #define _LIBCPP_FLOAT_H
14 float.h synopsis
16 Macros:
18 FLT_ROUNDS
19 FLT_EVAL_METHOD // C99
20 FLT_RADIX
22 FLT_MANT_DIG
23 DBL_MANT_DIG
24 LDBL_MANT_DIG
26 FLT_HAS_SUBNORM // C11
27 DBL_HAS_SUBNORM // C11
28 LDBL_HAS_SUBNORM // C11
30 DECIMAL_DIG // C99
31 FLT_DECIMAL_DIG // C11
32 DBL_DECIMAL_DIG // C11
33 LDBL_DECIMAL_DIG // C11
35 FLT_DIG
36 DBL_DIG
37 LDBL_DIG
39 FLT_MIN_EXP
40 DBL_MIN_EXP
41 LDBL_MIN_EXP
43 FLT_MIN_10_EXP
44 DBL_MIN_10_EXP
45 LDBL_MIN_10_EXP
47 FLT_MAX_EXP
48 DBL_MAX_EXP
49 LDBL_MAX_EXP
51 FLT_MAX_10_EXP
52 DBL_MAX_10_EXP
53 LDBL_MAX_10_EXP
55 FLT_MAX
56 DBL_MAX
57 LDBL_MAX
59 FLT_EPSILON
60 DBL_EPSILON
61 LDBL_EPSILON
63 FLT_MIN
64 DBL_MIN
65 LDBL_MIN
67 FLT_TRUE_MIN // C11
68 DBL_TRUE_MIN // C11
69 LDBL_TRUE_MIN // C11
73 #include <__config>
75 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
76 # pragma GCC system_header
77 #endif
79 #include_next <float.h>
81 #ifdef __cplusplus
83 #ifndef FLT_EVAL_METHOD
84 #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
85 #endif
87 #ifndef DECIMAL_DIG
88 #define DECIMAL_DIG __DECIMAL_DIG__
89 #endif
91 #endif // __cplusplus
93 #endif // _LIBCPP_FLOAT_H