Home | History | Annotate | Download | only in include
      1 // -*- C++ -*-
      2 //===--------------------------- cfloat -----------------------------------===//
      3 //
      4 //                     The LLVM Compiler Infrastructure
      5 //
      6 // This file is dual licensed under the MIT and the University of Illinois Open
      7 // Source Licenses. See LICENSE.TXT for details.
      8 //
      9 //===----------------------------------------------------------------------===//
     10 
     11 #ifndef _LIBCPP_CFLOAT
     12 #define _LIBCPP_CFLOAT
     13 
     14 /*
     15     cfloat synopsis
     16 
     17 Macros:
     18 
     19     FLT_ROUNDS
     20     FLT_EVAL_METHOD     // C99
     21     FLT_RADIX
     22 
     23     FLT_HAS_SUBNORM     // C11
     24     DBL_HAS_SUBNORM     // C11
     25     LDBL_HAS_SUBNORM    // C11
     26 
     27     FLT_MANT_DIG
     28     DBL_MANT_DIG
     29     LDBL_MANT_DIG
     30 
     31     DECIMAL_DIG         // C99
     32     FLT_DECIMAL_DIG     // C11
     33     DBL_DECIMAL_DIG     // C11
     34     LDBL_DECIMAL_DIG    // C11
     35 
     36     FLT_DIG
     37     DBL_DIG
     38     LDBL_DIG
     39 
     40     FLT_MIN_EXP
     41     DBL_MIN_EXP
     42     LDBL_MIN_EXP
     43 
     44     FLT_MIN_10_EXP
     45     DBL_MIN_10_EXP
     46     LDBL_MIN_10_EXP
     47 
     48     FLT_MAX_EXP
     49     DBL_MAX_EXP
     50     LDBL_MAX_EXP
     51 
     52     FLT_MAX_10_EXP
     53     DBL_MAX_10_EXP
     54     LDBL_MAX_10_EXP
     55 
     56     FLT_MAX
     57     DBL_MAX
     58     LDBL_MAX
     59 
     60     FLT_EPSILON
     61     DBL_EPSILON
     62     LDBL_EPSILON
     63 
     64     FLT_MIN
     65     DBL_MIN
     66     LDBL_MIN
     67 
     68     FLT_TRUE_MIN        // C11
     69     DBL_TRUE_MIN        // C11
     70     LDBL_TRUE_MIN       // C11
     71 */
     72 
     73 #include <__config>
     74 #include <float.h>
     75 
     76 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
     77 #pragma GCC system_header
     78 #endif
     79 
     80 #endif  // _LIBCPP_CFLOAT
     81