1 //===----------------------------------------------------------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is dual licensed under the MIT and the University of Illinois Open 6 // Source Licenses. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 // test cfloat 11 12 #include <cfloat> 13 14 #ifndef FLT_ROUNDS 15 #error FLT_ROUNDS not defined 16 #endif 17 18 #ifndef FLT_EVAL_METHOD 19 #error FLT_EVAL_METHOD not defined 20 #endif 21 22 #ifndef FLT_RADIX 23 #error FLT_RADIX not defined 24 #endif 25 26 #ifndef FLT_MANT_DIG 27 #error FLT_MANT_DIG not defined 28 #endif 29 30 #ifndef DBL_MANT_DIG 31 #error DBL_MANT_DIG not defined 32 #endif 33 34 #ifndef LDBL_MANT_DIG 35 #error LDBL_MANT_DIG not defined 36 #endif 37 38 #ifndef DECIMAL_DIG 39 #error DECIMAL_DIG not defined 40 #endif 41 42 #ifndef FLT_DIG 43 #error FLT_DIG not defined 44 #endif 45 46 #ifndef DBL_DIG 47 #error DBL_DIG not defined 48 #endif 49 50 #ifndef LDBL_DIG 51 #error LDBL_DIG not defined 52 #endif 53 54 #ifndef FLT_MIN_EXP 55 #error FLT_MIN_EXP not defined 56 #endif 57 58 #ifndef DBL_MIN_EXP 59 #error DBL_MIN_EXP not defined 60 #endif 61 62 #ifndef LDBL_MIN_EXP 63 #error LDBL_MIN_EXP not defined 64 #endif 65 66 #ifndef FLT_MIN_10_EXP 67 #error FLT_MIN_10_EXP not defined 68 #endif 69 70 #ifndef DBL_MIN_10_EXP 71 #error DBL_MIN_10_EXP not defined 72 #endif 73 74 #ifndef LDBL_MIN_10_EXP 75 #error LDBL_MIN_10_EXP not defined 76 #endif 77 78 #ifndef FLT_MAX_EXP 79 #error FLT_MAX_EXP not defined 80 #endif 81 82 #ifndef DBL_MAX_EXP 83 #error DBL_MAX_EXP not defined 84 #endif 85 86 #ifndef LDBL_MAX_EXP 87 #error LDBL_MAX_EXP not defined 88 #endif 89 90 #ifndef FLT_MAX_10_EXP 91 #error FLT_MAX_10_EXP not defined 92 #endif 93 94 #ifndef DBL_MAX_10_EXP 95 #error DBL_MAX_10_EXP not defined 96 #endif 97 98 #ifndef LDBL_MAX_10_EXP 99 #error LDBL_MAX_10_EXP not defined 100 #endif 101 102 #ifndef FLT_MAX 103 #error FLT_MAX not defined 104 #endif 105 106 #ifndef DBL_MAX 107 #error DBL_MAX not defined 108 #endif 109 110 #ifndef LDBL_MAX 111 #error LDBL_MAX not defined 112 #endif 113 114 #ifndef FLT_EPSILON 115 #error FLT_EPSILON not defined 116 #endif 117 118 #ifndef DBL_EPSILON 119 #error DBL_EPSILON not defined 120 #endif 121 122 #ifndef LDBL_EPSILON 123 #error LDBL_EPSILON not defined 124 #endif 125 126 #ifndef FLT_MIN 127 #error FLT_MIN not defined 128 #endif 129 130 #ifndef DBL_MIN 131 #error DBL_MIN not defined 132 #endif 133 134 #ifndef LDBL_MIN 135 #error LDBL_MIN not defined 136 #endif 137 main()138int main() 139 { 140 } 141