Function std::num::flt2dec::strategy::grisu::format_shortest_opt
[−]
[src]
pub fn format_shortest_opt(d: &Decoded, buf: &mut [u8]) -> Option<(usize, i16)>
Unstable (
flt2dec
): internal routines only exposed for testing
The shortest mode implementation for Grisu.
It returns None
when it would return an inexact representation otherwise.