weird-data 0.2.0

Generate random data in such a way as to make rare edge-cases very likely.
Documentation
1
2
3
4
5
6
7
8
9
//! Internal module for extending float functionality

pub fn f32_exact_eq(lhs: f32, rhs: f32) -> bool {
    lhs.to_bits() == rhs.to_bits()
}

pub fn f64_exact_eq(lhs: f64, rhs: f64) -> bool {
    lhs.to_bits() == rhs.to_bits()
}