Skip to main content

MAX

Constant MAX 

Source
pub const MAX: usize = 32;
Expand description

Room for anything dtoa can write.

The widest output is the plain integer branch at its limit, which is seventeen digits and seven zeros, and a sign in front of it. The C carries a twenty four byte buffer for the same thing and relies on its caller passing something larger, so this is rounded up to a power of two instead.