File tree 1 file changed +10
-8
lines changed
testsuite/tests/lib-scanf
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -148,11 +148,12 @@ let test5 () =
148
148
roundtrip 0X123 .456 &&
149
149
roundtrip 0X123456789ABCDE . &&
150
150
roundtrip epsilon_float &&
151
- (* "nan" parsing fails on Windows? *)
152
- (Sys. win32 || roundtrip nan) &&
153
- roundtrip infinity &&
154
- roundtrip neg_infinity &&
155
151
roundtrip (4. *. atan 1. ) &&
152
+ (Sys. win32 ||
153
+ (* nan/infinity parsing fails on Windows? *)
154
+ (roundtrip nan &&
155
+ roundtrip infinity &&
156
+ roundtrip neg_infinity)) &&
156
157
true
157
158
end
158
159
&&
@@ -171,11 +172,12 @@ let test5 () =
171
172
roundtrip 0X123 .456 &&
172
173
roundtrip 0X123456789ABCDE . &&
173
174
roundtrip epsilon_float &&
174
- (* "nan" parsing fails on Windows? *)
175
- (Sys. win32 || roundtrip nan) &&
176
- roundtrip infinity &&
177
- roundtrip neg_infinity &&
178
175
roundtrip (4. *. atan 1. ) &&
176
+ (Sys. win32 ||
177
+ (* nan/infinity parsing fails on Windows? *)
178
+ (roundtrip nan &&
179
+ roundtrip infinity &&
180
+ roundtrip neg_infinity)) &&
179
181
true
180
182
end
181
183
;;
You can’t perform that action at this time.
0 commit comments