fn float_to_general_debug<T>(fmt: &mut Formatter<'_>, num: &T) -> Resultwhere
    T: DecodableFloat + GeneralFormat,