Edward Langley 433a20928a refactor(format): improve number formatting and rounding
Improve number formatting and add comprehensive tests:

- Implemented `round_half_away` to provide more intuitive rounding (e.g.,
  2.5 -> 3, -2.5 -> -3).
- Updated `format_f64` to use this rounding logic.
- Added extensive unit tests for `parse_number_format` and `format_f64` ,
  covering various edge cases and rounding behaviors.

Co-Authored-By: fiddlerwoaroof/git-smart-commit (unsloth/gemma-4-26B-A4B-it-GGUF:UD-Q5_K_XL)
2026-04-11 00:06:50 -07:00
2026-04-02 16:21:45 -07:00
2026-04-11 00:06:38 -07:00
2026-04-11 00:06:49 -07:00
2026-04-02 11:34:22 -07:00
S
Description
No description provided
Apache-2.0 3.3 MiB
Languages
Rust 75.2%
Nix 23.6%
Python 0.8%
Shell 0.4%