Function std::num::flt2dec::strategy::grisu::format_shortest [] [src]

pub fn format_shortest(d: &Decoded, buf: &mut [u8]) -> (usize, i16)
Unstable (flt2dec)

: internal routines only exposed for testing

The shortest mode implementation for Grisu with Dragon fallback.

This should be used for most cases.