Expand description
C printf number formatting for %g and %e conversions.
Lua formats numbers through C printf. Rust’s own float formatting differs,
so this module reproduces the two conversions serpent relies on: %g (the
default %.17g) and %e. Only the pieces serpent uses are implemented:
precision, the %g/%e conversions, and an optional field width for the
integer part of %e.
Functions§
- format
- Format
xwith the givenprintfformat string.