Module poloto::util

source ·
Expand description

Misc functions.

Functions to write numbers formatted in a way that takes up the least amount of space.

Functions

  • Iterate over the specified range over num iterations.
  • Format a f64 with the specified precision. Formats using either decimal or scientific notation, whichever is shorter.
  • Format an int Formats using either decimal or scientific notation, whichever is shorter.