fn float_to_exponential_common<T>( fmt: &mut Formatter<'_>, num: &T, upper: bool, ) -> Resultwhere T: DecodableFloat,