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 #if __has_include_next(<float.h>)
80 # include_next <float.h>
85 # ifndef FLT_EVAL_METHOD
86 # define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
90 # define DECIMAL_DIG __DECIMAL_DIG__
95 #endif // _LIBCPP_FLOAT_H