//! Deterministic float formatter — copied verbatim from `viz/svg.rs:109-117`
//! (private there) so golden fixtures across `raster/` share the exact same
//! byte-exact float→text contract. Do NOT alter the algorithm.
/// Deterministic fixed-precision formatting (6 decimals, trailing zeros
/// trimmed, `-0` normalised to `0`).