Better justification for the use of `f64::to_bits`
@@ -54,7 +54,7 @@ impl core::hash::Hash for N {
N::PosInt(i) => i.hash(h),
N::NegInt(i) => i.hash(h),
N::Float(f) => {
- // Using `f64::to_bits` here is fine since any float values are always finite.
+ // Using `f64::to_bits` here is fine since any float values are never `Nan`.
f.to_bits().hash(h);
}
}
