Yes, it doesn't work in generic functions (as far as the compiler knows, something other than `f32` and `f64` could implement the `Float` trait, and the generic literals only work for those two types). I think making this just `from_f64` would be fine. Or, even `from_i32(14826) / from_i32(10000)` for exactness.