/src/core/stdc/float_.d
D | 60 lines | 35 code | 12 blank | 13 comment | 0 complexity | 17c740e880bf979c178ecc04b953a4e4 MD5 | raw file
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 10/* Copyright Sean Kelly 2005 - 2009. 11 * Distributed under the Boost Software License, Version 1.0. 12 * (See accompanying file LICENSE or copy at 13 * http://www.boost.org/LICENSE_1_0.txt) 14 */ 15module core.stdc.float_; 16 17extern (C): 18@trusted: // Constants only. 19nothrow: 20 21enum FLT_ROUNDS = 1; 22enum FLT_EVAL_METHOD = 2; 23enum FLT_RADIX = 2; 24 25enum DECIMAL_DIG = real.dig; 26enum FLT_DIG = float.dig; 27enum DBL_DIG = double.dig; 28enum LDBL_DIG = real.dig; 29 30enum FLT_MANT_DIG = float.mant_dig; 31enum DBL_MANT_DIG = double.mant_dig; 32enum LDBL_MANT_DIG = real.mant_dig; 33 34enum FLT_MIN = float.min_normal; 35enum DBL_MIN = double.min_normal; 36enum LDBL_MIN = real.min_normal; 37 38enum FLT_MAX = float.max; 39enum DBL_MAX = double.max; 40enum LDBL_MAX = real.max; 41 42enum FLT_EPSILON = float.epsilon; 43enum DBL_EPSILON = double.epsilon; 44enum LDBL_EPSILON = real.epsilon; 45 46enum FLT_MIN_EXP = float.min_exp; 47enum DBL_MIN_EXP = double.min_exp; 48enum LDBL_MIN_EXP = real.min_exp; 49 50enum FLT_MAX_EXP = float.max_exp; 51enum DBL_MAX_EXP = double.max_exp; 52enum LDBL_MAX_EXP = real.max_exp; 53 54enum FLT_MIN_10_EXP = float.min_10_exp; 55enum DBL_MIN_10_EXP = double.min_10_exp; 56enum LDBL_MIN_10_EXP = real.min_10_exp; 57 58enum FLT_MAX_10_EXP = float.max_10_exp; 59enum DBL_MAX_10_EXP = double.max_10_exp; 60enum LDBL_MAX_10_EXP = real.max_10_exp;