Mercurial > projects > ldc
comparison druntime/import/core/stdc/float_.d @ 1458:e0b2d67cfe7c
Added druntime (this should be removed once it works).
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Tue, 02 Jun 2009 17:43:06 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1456:7b218ec1044f | 1458:e0b2d67cfe7c |
---|---|
1 /** | |
2 * D header file for C99. | |
3 * | |
4 * Copyright: Copyright Sean Kelly 2005 - 2009. | |
5 * License: <a href="http://www.boost.org/LICENSE_1_0.txt>Boost License 1.0</a>. | |
6 * Authors: Sean Kelly | |
7 * Standards: ISO/IEC 9899:1999 (E) | |
8 * | |
9 * Copyright Sean Kelly 2005 - 2009. | |
10 * Distributed under the Boost Software License, Version 1.0. | |
11 * (See accompanying file LICENSE_1_0.txt or copy at | |
12 * http://www.boost.org/LICENSE_1_0.txt) | |
13 */ | |
14 module core.stdc.float_; | |
15 | |
16 extern (C): | |
17 | |
18 enum FLT_ROUNDS = 1; | |
19 enum FLT_EVAL_METHOD = 2; | |
20 enum FLT_RADIX = 2; | |
21 | |
22 enum DECIMAL_DIG = real.dig; | |
23 enum FLT_DIG = float.dig; | |
24 enum DBL_DIG = double.dig; | |
25 enum LDBL_DIG = real.dig; | |
26 | |
27 enum FLT_MANT_DIG = float.mant_dig; | |
28 enum DBL_MANT_DIG = double.mant_dig; | |
29 enum LDBL_MANT_DIG = real.mant_dig; | |
30 | |
31 enum FLT_MIN = float.min; | |
32 enum DBL_MIN = double.min; | |
33 enum LDBL_MIN = real.min; | |
34 | |
35 enum FLT_MAX = float.max; | |
36 enum DBL_MAX = double.max; | |
37 enum LDBL_MAX = real.max; | |
38 | |
39 enum FLT_EPSILON = float.epsilon; | |
40 enum DBL_EPSILON = double.epsilon; | |
41 enum LDBL_EPSILON = real.epsilon; | |
42 | |
43 enum FLT_MIN_EXP = float.min_exp; | |
44 enum DBL_MIN_EXP = double.min_exp; | |
45 enum LDBL_MIN_EXP = real.min_exp; | |
46 | |
47 enum FLT_MAX_EXP = float.max_exp; | |
48 enum DBL_MAX_EXP = double.max_exp; | |
49 enum LDBL_MAX_EXP = real.max_exp; | |
50 | |
51 enum FLT_MIN_10_EXP = float.min_10_exp; | |
52 enum DBL_MIN_10_EXP = double.min_10_exp; | |
53 enum LDBL_MIN_10_EXP = real.min_10_exp; | |
54 | |
55 enum FLT_MAX_10_EXP = float.max_10_exp; | |
56 enum DBL_MAX_10_EXP = double.max_10_exp; | |
57 enum LDBL_MAX_10_EXP = real.max_10_exp; |