1 /**
2  * D header file for C99.
3  *
4  * $(C_HEADER_DESCRIPTION pubs.opengroup.org/onlinepubs/009695399/basedefs/_float.h.html, _float.h)
5  *
6  * Copyright: Copyright Sean Kelly 2005 - 2009.
7  * License: Distributed under the
8  *      $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
9  *    (See accompanying file LICENSE)
10  * Authors:   Sean Kelly
11  * Source:    $(DRUNTIMESRC core/stdc/_float_.d)
12  * Standards: ISO/IEC 9899:1999 (E)
13  */
14 
15 module core.stdc.float_;
16 
17 extern (C):
18 @trusted: // Constants only.
19 nothrow:
20 @nogc:
21 
22 ///
23 enum FLT_ROUNDS                 = 1;
24 ///
25 enum FLT_EVAL_METHOD    = 2;
26 ///
27 enum FLT_RADIX                  = 2;
28 
29 ///
30 enum DECIMAL_DIG                = real.dig;
31 ///
32 enum FLT_DIG                    = float.dig;
33 ///
34 enum DBL_DIG                    = double.dig;
35 ///
36 enum LDBL_DIG                   = real.dig;
37 
38 ///
39 enum FLT_MANT_DIG               = float.mant_dig;
40 ///
41 enum DBL_MANT_DIG               = double.mant_dig;
42 ///
43 enum LDBL_MANT_DIG              = real.mant_dig;
44 
45 ///
46 enum FLT_MIN                    = float.min_normal;
47 ///
48 enum DBL_MIN                    = double.min_normal;
49 ///
50 enum LDBL_MIN                   = real.min_normal;
51 
52 ///
53 enum FLT_MAX                    = float.max;
54 ///
55 enum DBL_MAX                    = double.max;
56 ///
57 enum LDBL_MAX                   = real.max;
58 
59 ///
60 enum FLT_EPSILON                = float.epsilon;
61 ///
62 enum DBL_EPSILON                = double.epsilon;
63 ///
64 enum LDBL_EPSILON               = real.epsilon;
65 
66 ///
67 enum FLT_MIN_EXP                = float.min_exp;
68 ///
69 enum DBL_MIN_EXP                = double.min_exp;
70 ///
71 enum LDBL_MIN_EXP               = real.min_exp;
72 
73 ///
74 enum FLT_MAX_EXP                = float.max_exp;
75 ///
76 enum DBL_MAX_EXP                = double.max_exp;
77 ///
78 enum LDBL_MAX_EXP               = real.max_exp;
79 
80 ///
81 enum FLT_MIN_10_EXP             = float.min_10_exp;
82 ///
83 enum DBL_MIN_10_EXP             = double.min_10_exp;
84 ///
85 enum LDBL_MIN_10_EXP    = real.min_10_exp;
86 
87 ///
88 enum FLT_MAX_10_EXP             = float.max_10_exp;
89 ///
90 enum DBL_MAX_10_EXP             = double.max_10_exp;
91 ///
92 enum LDBL_MAX_10_EXP    = real.max_10_exp;