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

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

: internal routines only exposed for testing

The exact and fixed mode implementation for Grisu.

It returns None when it would return an inexact representation otherwise.