blob: f0079c23fa24de6a67055cb122a7d407cab27d1d [file] [log] [blame]
Howard Hinnantbc8d3f92010-05-11 19:42:16 +00001// -*- C++ -*-
2//===--------------------------- cfloat -----------------------------------===//
3//
Howard Hinnantf5256e12010-05-11 21:36:01 +00004// The LLVM Compiler Infrastructure
Howard Hinnantbc8d3f92010-05-11 19:42:16 +00005//
Howard Hinnantb64f8b02010-11-16 22:09:02 +00006// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
Howard Hinnantbc8d3f92010-05-11 19:42:16 +00008//
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#pragma GCC system_header
67
68#ifndef FLT_EVAL_METHOD
69#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
70#endif
71
72#ifndef DECIMAL_DIG
73#define DECIMAL_DIG __DECIMAL_DIG__
74#endif
75
76#endif // _LIBCPP_CFLOAT