2 //===----------------------------------------------------------------------===//
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
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_FLOAT_H
11 #define _LIBCPP_FLOAT_H
19 FLT_EVAL_METHOD // C99
26 FLT_HAS_SUBNORM // C11
27 DBL_HAS_SUBNORM // C11
28 LDBL_HAS_SUBNORM // C11
31 FLT_DECIMAL_DIG // C11
32 DBL_DECIMAL_DIG // C11
33 LDBL_DECIMAL_DIG // C11
75 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
76 # pragma GCC system_header
79 #include_next <float.h>
83 #ifndef FLT_EVAL_METHOD
84 #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
88 #define DECIMAL_DIG __DECIMAL_DIG__
93 #endif // _LIBCPP_FLOAT_H