code wiki / _hdl_build / nx_viz_format_gate.nx

nx_viz_format_gate.nx

buildroot/runtime/_hdl_build/nx_viz_format_gate.nx

1974 B50 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic viz
docsdependenciesstructsconstsfunctions

about

nx_viz_format_gate.nx -- REFEREE for the number-format layer. 999->"999" 1234->"1.2k" 12000->"12.0k" 1500000->"1.5M". GREEN iff all. Sovereign: nx_viz_format + nx_syscalls. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_viz_format.nx nx_syscalls.nx nx_gate_verdict.nx nx_viz_format_gate.nx

imports: nx_viz_format.nxnx_syscalls.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

7func g_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
8func g_streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while 1 == 1 { if a[i] != b[i] { return 0 } if a[i] == (0 as u8) { return 1 } i = i + 1 } return 1 }
9func g_row(name: *u8, ok: i64) -> i64
16func main() -> i64