2017-02-07 14:05:30 -06:00
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:14:5
|
2018-10-06 11:18:06 -05:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
14 | x == std::f32::NAN;
|
2018-10-06 11:18:06 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::cmp-nan` implied by `-D warnings`
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:15:5
|
2018-10-06 11:18:06 -05:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
15 | x != std::f32::NAN;
|
2018-10-06 11:18:06 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:16:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
16 | x < std::f32::NAN;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:17:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
17 | x > std::f32::NAN;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:18:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
18 | x <= std::f32::NAN;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:19:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
19 | x >= std::f32::NAN;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:22:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
22 | y == std::f64::NAN;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:23:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
23 | y != std::f64::NAN;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:24:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
24 | y < std::f64::NAN;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:25:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
25 | y > std::f64::NAN;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:26:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
26 | y <= std::f64::NAN;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/cmp_nan.rs:27:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
27 | y >= std::f64::NAN;
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 10:06:27 -06:00
|
|
|
error: aborting due to 12 previous errors
|
|
|
|
|