[RISCV] Add RVVConstraint to SiFive custom matrix multiply instructions. (#124055)
[llvm-project.git] / libcxx / test / std / depr / depr.c.headers / float_h.compile.pass.cpp
blob8a02934350f453ffd070b149ac462637377032e4
1 //===----------------------------------------------------------------------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
9 // test <float.h>
11 #include <float.h>
13 #include "test_macros.h"
15 #ifndef FLT_ROUNDS
16 #error FLT_ROUNDS not defined
17 #endif
19 #ifndef FLT_EVAL_METHOD
20 #error FLT_EVAL_METHOD not defined
21 #endif
23 #ifndef FLT_RADIX
24 #error FLT_RADIX not defined
25 #endif
27 #if TEST_STD_VER > 14
28 #ifndef FLT_HAS_SUBNORM
29 #error FLT_HAS_SUBNORM not defined
30 #endif
32 #ifndef DBL_HAS_SUBNORM
33 #error DBL_HAS_SUBNORM not defined
34 #endif
36 #ifndef LDBL_HAS_SUBNORM
37 #error LDBL_HAS_SUBNORM not defined
38 #endif
39 #endif
41 #ifndef FLT_MANT_DIG
42 #error FLT_MANT_DIG not defined
43 #endif
45 #ifndef DBL_MANT_DIG
46 #error DBL_MANT_DIG not defined
47 #endif
49 #ifndef LDBL_MANT_DIG
50 #error LDBL_MANT_DIG not defined
51 #endif
53 #ifndef DECIMAL_DIG
54 #error DECIMAL_DIG not defined
55 #endif
57 #if TEST_STD_VER > 14
58 #ifndef FLT_DECIMAL_DIG
59 #error FLT_DECIMAL_DIG not defined
60 #endif
62 #ifndef DBL_DECIMAL_DIG
63 #error DBL_DECIMAL_DIG not defined
64 #endif
66 #ifndef LDBL_DECIMAL_DIG
67 #error LDBL_DECIMAL_DIG not defined
68 #endif
69 #endif
71 #ifndef FLT_DIG
72 #error FLT_DIG not defined
73 #endif
75 #ifndef DBL_DIG
76 #error DBL_DIG not defined
77 #endif
79 #ifndef LDBL_DIG
80 #error LDBL_DIG not defined
81 #endif
83 #ifndef FLT_MIN_EXP
84 #error FLT_MIN_EXP not defined
85 #endif
87 #ifndef DBL_MIN_EXP
88 #error DBL_MIN_EXP not defined
89 #endif
91 #ifndef LDBL_MIN_EXP
92 #error LDBL_MIN_EXP not defined
93 #endif
95 #ifndef FLT_MIN_10_EXP
96 #error FLT_MIN_10_EXP not defined
97 #endif
99 #ifndef DBL_MIN_10_EXP
100 #error DBL_MIN_10_EXP not defined
101 #endif
103 #ifndef LDBL_MIN_10_EXP
104 #error LDBL_MIN_10_EXP not defined
105 #endif
107 #ifndef FLT_MAX_EXP
108 #error FLT_MAX_EXP not defined
109 #endif
111 #ifndef DBL_MAX_EXP
112 #error DBL_MAX_EXP not defined
113 #endif
115 #ifndef LDBL_MAX_EXP
116 #error LDBL_MAX_EXP not defined
117 #endif
119 #ifndef FLT_MAX_10_EXP
120 #error FLT_MAX_10_EXP not defined
121 #endif
123 #ifndef DBL_MAX_10_EXP
124 #error DBL_MAX_10_EXP not defined
125 #endif
127 #ifndef LDBL_MAX_10_EXP
128 #error LDBL_MAX_10_EXP not defined
129 #endif
131 #ifndef FLT_MAX
132 #error FLT_MAX not defined
133 #endif
135 #ifndef DBL_MAX
136 #error DBL_MAX not defined
137 #endif
139 #ifndef LDBL_MAX
140 #error LDBL_MAX not defined
141 #endif
143 #ifndef FLT_EPSILON
144 #error FLT_EPSILON not defined
145 #endif
147 #ifndef DBL_EPSILON
148 #error DBL_EPSILON not defined
149 #endif
151 #ifndef LDBL_EPSILON
152 #error LDBL_EPSILON not defined
153 #endif
155 #ifndef FLT_MIN
156 #error FLT_MIN not defined
157 #endif
159 #ifndef DBL_MIN
160 #error DBL_MIN not defined
161 #endif
163 #ifndef LDBL_MIN
164 #error LDBL_MIN not defined
165 #endif
167 #if TEST_STD_VER > 14
168 #ifndef FLT_TRUE_MIN
169 #error FLT_TRUE_MIN not defined
170 #endif
172 #ifndef DBL_TRUE_MIN
173 #error DBL_TRUE_MIN not defined
174 #endif
176 #ifndef LDBL_TRUE_MIN
177 #error LDBL_TRUE_MIN not defined
178 #endif
179 #endif