Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/c++/v1/__cxx03/cfloat is written in an unsupported language. File is not indexed.

0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 #ifndef _LIBCPP___CXX03_CFLOAT
0011 #define _LIBCPP___CXX03_CFLOAT
0012 
0013 /*
0014     cfloat synopsis
0015 
0016 Macros:
0017 
0018     FLT_ROUNDS
0019     FLT_EVAL_METHOD     // C99
0020     FLT_RADIX
0021 
0022     FLT_HAS_SUBNORM     // C11
0023     DBL_HAS_SUBNORM     // C11
0024     LDBL_HAS_SUBNORM    // C11
0025 
0026     FLT_MANT_DIG
0027     DBL_MANT_DIG
0028     LDBL_MANT_DIG
0029 
0030     DECIMAL_DIG         // C99
0031     FLT_DECIMAL_DIG     // C11
0032     DBL_DECIMAL_DIG     // C11
0033     LDBL_DECIMAL_DIG    // C11
0034 
0035     FLT_DIG
0036     DBL_DIG
0037     LDBL_DIG
0038 
0039     FLT_MIN_EXP
0040     DBL_MIN_EXP
0041     LDBL_MIN_EXP
0042 
0043     FLT_MIN_10_EXP
0044     DBL_MIN_10_EXP
0045     LDBL_MIN_10_EXP
0046 
0047     FLT_MAX_EXP
0048     DBL_MAX_EXP
0049     LDBL_MAX_EXP
0050 
0051     FLT_MAX_10_EXP
0052     DBL_MAX_10_EXP
0053     LDBL_MAX_10_EXP
0054 
0055     FLT_MAX
0056     DBL_MAX
0057     LDBL_MAX
0058 
0059     FLT_EPSILON
0060     DBL_EPSILON
0061     LDBL_EPSILON
0062 
0063     FLT_MIN
0064     DBL_MIN
0065     LDBL_MIN
0066 
0067     FLT_TRUE_MIN        // C11
0068     DBL_TRUE_MIN        // C11
0069     LDBL_TRUE_MIN       // C11
0070 */
0071 
0072 #include <__cxx03/__config>
0073 
0074 #include <__cxx03/float.h>
0075 
0076 #ifndef _LIBCPP___CXX03_FLOAT_H
0077 #   error <cfloat> tried including <float.h> but didn't find libc++'s <float.h> header. \
0078           This usually means that your header search paths are not configured properly. \
0079           The header search paths should contain the C++ Standard Library headers before \
0080           any C Standard Library, and you are probably using compiler flags that make that \
0081           not be the case.
0082 #endif
0083 
0084 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0085 #  pragma GCC system_header
0086 #endif
0087 
0088 #endif // _LIBCPP___CXX03_CFLOAT