pub trait FloatExt { // Required methods fn display(&self) -> String; fn to_f64(&self, rounding_mode: RoundingMode) -> Option<f64>; }