fn upper(x: f64) -> f64
An upper bound as computed, with a NaN read as +∞: it proves nothing (invariant C3 of Chapter 11), and f64::max and f64::min would drop it.
+∞
f64::max
f64::min