code wiki / _hdl_build / _bf_regen_gate_authored.nx

_bf_regen_gate_authored.nx

buildroot/runtime/_hdl_build/_bf_regen_gate_authored.nx

3439 B107 linesdepth 6pulls 8 transitivereach 0 importersview sourcekind tooltopic bf
docsdependenciesstructsconstsfunctions

about

_bf_regen_gate_authored.nx -- ME3 rung 1 gate: the SOVEREIGN bigfloat oracle (nx_bigfloat120 + exp/ln, every constant self-computed) must reproduce EVERY mpmath-born expected value in the exp (203) and log (196) KAT sets bit-exactly. GREEN = anchor transferred = the last python debt in the math arc closes (ledger T#math-oracle-py-exp-log): vector regeneration is nishi-only from here. Markers: REGENBAD fn= i= x= exp= got= / REGEN exp=ok/total log=ok/total BF-REGEN-GATE verdict=GREEN|RED

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_bigfloat120.nx nx_bigfloat120_div.nx nx_bigfloat120_exp.nx nx_bigfloat120_ln.nx _f64_exp_kat_vectors.nx _f64_log_kat_vectors.nx _bf_regen_gate_authored.nx

imports: nx_syscalls.nxnx_bigfloat120.nxnx_bigfloat120_div.nxnx_bigfloat120_exp.nxnx_bigfloat120_ln.nx_f64_exp_kat_vectors.nx_f64_log_kat_vectors.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap f64e_kat_fill_all f64e_kat_fill_0 f64e_kat_fill_1 f64e_kat_fill_2 bf_exp_f64 bf_new sys_mmap ↻ bf_ln2 bf_new ↻ bf_set_int bf_div_small bf_is_zero bf_copy bf_norm bf_mul bf_is_zero ↻ bf_copy ↻ sys_mmap ↻ bf_copy ↻ bf_add bf_is_zero ↻ bf_copy ↻ sys_mmap ↻ bf_shr2 bf_norm ↻ bf_set_f64 bf_set_int ↻ bf_cmp bf_is_zero ↻ bf_div bf_is_zero ↻ bf_copy ↻ bf_norm ↻ bf_to_int_nearest bf_is_zero ↻ bf_mul_small bf_is_zero ↻ bf_copy ↻

structs

none

consts

none

functions

18func bfr_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
20func bfr_putn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
34func bfr_puthex(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
46func main() -> i64