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
17Macros:
18
19    FLT_ROUNDS
20    FLT_EVAL_METHOD     // C99
21    FLT_RADIX
22
23    FLT_MANT_DIG
24    DBL_MANT_DIG
25    LDBL_MANT_DIG
26
27    DECIMAL_DIG         // C99
28
29    FLT_DIG
30    DBL_DIG
31    LDBL_DIG
32
33    FLT_MIN_EXP
34    DBL_MIN_EXP
35    LDBL_MIN_EXP
36
37    FLT_MIN_10_EXP
38    DBL_MIN_10_EXP
39    LDBL_MIN_10_EXP
40
41    FLT_MAX_EXP
42    DBL_MAX_EXP
43    LDBL_MAX_EXP
44
45    FLT_MAX_10_EXP
46    DBL_MAX_10_EXP
47    LDBL_MAX_10_EXP
48
49    FLT_MAX
50    DBL_MAX
51    LDBL_MAX
52
53    FLT_EPSILON
54    DBL_EPSILON
55    LDBL_EPSILON
56
57    FLT_MIN
58    DBL_MIN
59    LDBL_MIN
60
61*/
62
63#include <__config>
64#include <float.h>
65
66#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
67#pragma GCC system_header
68#endif
69
70#ifndef FLT_EVAL_METHOD
71#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
72#endif
73
74#ifndef DECIMAL_DIG
75#define DECIMAL_DIG __DECIMAL_DIG__
76#endif
77
78#endif  // _LIBCPP_CFLOAT
79