code wiki / _hdl_build / _f64_gate_authored.nx
_f64_gate_authored.nx
buildroot/runtime/_hdl_build/_f64_gate_authored.nx
about
_f64_gate_authored.nx -- ME0 gate: nx_f64 family vs hardware-IEEE oracle.
Re-runnable evidence gate (evidence-driven-live-grading law):
1217 KAT vectors generated by _f64_oracle_gen.py from THIS machine's
IEEE 754 hardware doubles -> _f64_kat_vectors.nx. Every nx_f64 op must
reproduce the oracle bit pattern EXACTLY (no ULP tolerance: binary64
add/sub/mul/div/sqrt/cvt are correctly-rounded operations, so the only
passing grade is bit-identical).
Verdict markers (judge output, never $?):
F64-BAD i=<n> op=<k> a=<hex> b=<hex> exp=<hex> got=<hex> per miss
F64-KAT total=<n> ok=<n> bad=<n>
F64-GATE verdict=GREEN|RED
Exit code = capped bad count (visible in nx_sov_build_run's run-exit).
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_f64.nxnx_f64_div.nxnx_f64_sqrt.nxnx_f64_cvt.nx_f64_kat_vectors.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 23 | func f6g_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 25 | func f6g_putn(v: i64) -> i64 |
| 40 | func f6g_puthex(v: i64) -> i64 |
| 52 | func main() -> i64 |