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