code wiki / _hdl_build / nx_viz_format.nx
nx_viz_format.nx
buildroot/runtime/_hdl_build/nx_viz_format.nx
about
nx_viz_format.nx -- the NUMBER-FORMAT layer of the sovereign Nishi viz library (the d3-format SI core, bits-up).
Human-readable axis numbers: <1000 as-is, thousands as "N.Nk", millions as "N.NM". Pure integer. Closes
format-number. license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_viz_format_gate.nx
structs
| none |
consts
| 5 | const K_MAGIC_1000000: i64 = 1000000 |
| 6 | const K_MAGIC_100000: i64 = 100000 |
functions
| 8 | func vf_uint(out: *u8, off: i64, v: i64) -> i64 |
| 17 | func vf_si(value: i64, out: *u8) -> i64 |
| 37 | func main() -> i64 { return 0 } |