Compiling proptest against Fedora RISC-V Rawhide resulted in two tests failed to pass.
thread 'num::test::f32_any_generates_desired_values' panicked at src/num.rs:1358:5:
Test failed: assertion failed: bits.contains(FloatTypes::POSITIVE) at src/num.rs:1365.
minimal failing input: strategy = Any(
FloatTypes(
NEGATIVE | QUIET_NAN,
),
)
successes: 0
local rejects: 0
global rejects: 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
num::test::f32_any_generates_desired_values
test result: FAILED$<2>. 0 passed; 1 failed; 0 ignored; 0 measured; 1473 filtered out; finished in 0.29s
Add I added println!("{}, {:#b}, {}, {:#b}, {}", value, raw, is_negative, bits.bits(), bits.contains(FloatTypes::POSITIVE)); right before this line and the output is like:
Compiling proptest against Fedora RISC-V Rawhide resulted in two tests failed to pass.
Add I added
println!("{}, {:#b}, {}, {:#b}, {}", value, raw, is_negative, bits.bits(), bits.contains(FloatTypes::POSITIVE));
right before this line and the output is like:Speaking of f64_any_generates_desired_values