1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 #include "test_macros.h"
16 #error FLT_ROUNDS not defined
19 #ifndef FLT_EVAL_METHOD
20 #error FLT_EVAL_METHOD not defined
24 #error FLT_RADIX not defined
28 #ifndef FLT_HAS_SUBNORM
29 #error FLT_HAS_SUBNORM not defined
32 #ifndef DBL_HAS_SUBNORM
33 #error DBL_HAS_SUBNORM not defined
36 #ifndef LDBL_HAS_SUBNORM
37 #error LDBL_HAS_SUBNORM not defined
42 #error FLT_MANT_DIG not defined
46 #error DBL_MANT_DIG not defined
50 #error LDBL_MANT_DIG not defined
54 #error DECIMAL_DIG not defined
58 #ifndef FLT_DECIMAL_DIG
59 #error FLT_DECIMAL_DIG not defined
62 #ifndef DBL_DECIMAL_DIG
63 #error DBL_DECIMAL_DIG not defined
66 #ifndef LDBL_DECIMAL_DIG
67 #error LDBL_DECIMAL_DIG not defined
72 #error FLT_DIG not defined
76 #error DBL_DIG not defined
80 #error LDBL_DIG not defined
84 #error FLT_MIN_EXP not defined
88 #error DBL_MIN_EXP not defined
92 #error LDBL_MIN_EXP not defined
95 #ifndef FLT_MIN_10_EXP
96 #error FLT_MIN_10_EXP not defined
99 #ifndef DBL_MIN_10_EXP
100 #error DBL_MIN_10_EXP not defined
103 #ifndef LDBL_MIN_10_EXP
104 #error LDBL_MIN_10_EXP not defined
108 #error FLT_MAX_EXP not defined
112 #error DBL_MAX_EXP not defined
116 #error LDBL_MAX_EXP not defined
119 #ifndef FLT_MAX_10_EXP
120 #error FLT_MAX_10_EXP not defined
123 #ifndef DBL_MAX_10_EXP
124 #error DBL_MAX_10_EXP not defined
127 #ifndef LDBL_MAX_10_EXP
128 #error LDBL_MAX_10_EXP not defined
132 #error FLT_MAX not defined
136 #error DBL_MAX not defined
140 #error LDBL_MAX not defined
144 #error FLT_EPSILON not defined
148 #error DBL_EPSILON not defined
152 #error LDBL_EPSILON not defined
156 #error FLT_MIN not defined
160 #error DBL_MIN not defined
164 #error LDBL_MIN not defined
167 #if TEST_STD_VER > 14
169 #error FLT_TRUE_MIN not defined
173 #error DBL_TRUE_MIN not defined
176 #ifndef LDBL_TRUE_MIN
177 #error LDBL_TRUE_MIN not defined