@@ -133,12 +133,12 @@ void generate_test( const std::pair<T ( * )( Ts... ), const char*>& oper_pair, T
133
133
134
134
template <typename FP>
135
135
static const FP special_fp_values[]{
136
- FP{ 0 .0f } ,
137
- FP{ -0 .0f } ,
138
- FP{ 1 .0f } ,
139
- FP{ -1 .0f } ,
140
- FP{ 1 .5f } ,
141
- FP{ -1 .5f } ,
136
+ FP ( 0 .0f ) ,
137
+ FP ( -0 .0f ) ,
138
+ FP ( 1 .0f ) ,
139
+ FP ( -1 .0f ) ,
140
+ FP ( 1 .5f ) ,
141
+ FP ( -1 .5f ) ,
142
142
std::numeric_limits<FP>::quiet_NaN (),
143
143
std::numeric_limits<FP>::signaling_NaN (),
144
144
std::numeric_limits<FP>::infinity (),
@@ -151,31 +151,31 @@ static const FP special_fp_values[]{
151
151
template <typename FP, typename INT>
152
152
static const FP special_fcvt_values[]{
153
153
FP ( std::numeric_limits<INT>::max () ),
154
- FP ( std::numeric_limits<INT>::max () ) + FP{ 0 .75f } ,
155
- FP ( std::numeric_limits<INT>::max () ) - FP{ 0 .75f } ,
156
- FP ( std::numeric_limits<INT>::max () ) + FP{ 0 .25f } ,
157
- FP ( std::numeric_limits<INT>::max () ) - FP{ 0 .25f } ,
158
- FP ( std::numeric_limits<INT>::max () ) + FP{ 0 .5f } ,
159
- FP ( std::numeric_limits<INT>::max () ) - FP{ 0 .5f } ,
160
- FP ( std::numeric_limits<INT>::max () ) + FP{ 1 .0f } ,
161
- FP ( std::numeric_limits<INT>::max () ) - FP{ 1 .0f } ,
154
+ FP ( std::numeric_limits<INT>::max () ) + FP ( 0 .75f ) ,
155
+ FP ( std::numeric_limits<INT>::max () ) - FP ( 0 .75f ) ,
156
+ FP ( std::numeric_limits<INT>::max () ) + FP ( 0 .25f ) ,
157
+ FP ( std::numeric_limits<INT>::max () ) - FP ( 0 .25f ) ,
158
+ FP ( std::numeric_limits<INT>::max () ) + FP ( 0 .5f ) ,
159
+ FP ( std::numeric_limits<INT>::max () ) - FP ( 0 .5f ) ,
160
+ FP ( std::numeric_limits<INT>::max () ) + FP ( 1 .0f ) ,
161
+ FP ( std::numeric_limits<INT>::max () ) - FP ( 1 .0f ) ,
162
162
FP ( std::numeric_limits<INT>::min () ),
163
- FP ( std::numeric_limits<INT>::min () ) + FP{ 0 .75f } ,
164
- FP ( std::numeric_limits<INT>::min () ) - FP{ 0 .75f } ,
165
- FP ( std::numeric_limits<INT>::min () ) + FP{ 0 .25f } ,
166
- FP ( std::numeric_limits<INT>::min () ) - FP{ 0 .25f } ,
167
- FP ( std::numeric_limits<INT>::min () ) + FP{ 0 .5f } ,
168
- FP ( std::numeric_limits<INT>::min () ) - FP{ 0 .5f } ,
169
- FP ( std::numeric_limits<INT>::min () ) + FP{ 1 .0f } ,
170
- FP ( std::numeric_limits<INT>::min () ) - FP{ 1 .0f } ,
171
- FP{ 0 .0f } ,
172
- FP{ -0 .0f } ,
173
- FP{ 0 .25f } ,
174
- FP{ -0 .25f } ,
175
- FP{ 0 .5f } ,
176
- FP{ -0 .5f } ,
177
- FP{ 0 .75f } ,
178
- FP{ -0 .75f } ,
163
+ FP ( std::numeric_limits<INT>::min () ) + FP ( 0 .75f ) ,
164
+ FP ( std::numeric_limits<INT>::min () ) - FP ( 0 .75f ) ,
165
+ FP ( std::numeric_limits<INT>::min () ) + FP ( 0 .25f ) ,
166
+ FP ( std::numeric_limits<INT>::min () ) - FP ( 0 .25f ) ,
167
+ FP ( std::numeric_limits<INT>::min () ) + FP ( 0 .5f ) ,
168
+ FP ( std::numeric_limits<INT>::min () ) - FP ( 0 .5f ) ,
169
+ FP ( std::numeric_limits<INT>::min () ) + FP ( 1 .0f ) ,
170
+ FP ( std::numeric_limits<INT>::min () ) - FP ( 1 .0f ) ,
171
+ FP ( 0 .0f ) ,
172
+ FP ( -0 .0f ) ,
173
+ FP ( 0 .25f ) ,
174
+ FP ( -0 .25f ) ,
175
+ FP ( 0 .5f ) ,
176
+ FP ( -0 .5f ) ,
177
+ FP ( 0 .75f ) ,
178
+ FP ( -0 .75f ) ,
179
179
std::numeric_limits<FP>::quiet_NaN (),
180
180
std::numeric_limits<FP>::signaling_NaN (),
181
181
std::numeric_limits<FP>::infinity (),
0 commit comments