code wiki / _hdl_build / _f64_log_gate_authored.nx

_f64_log_gate_authored.nx

buildroot/runtime/_hdl_build/_f64_log_gate_authored.nx

3232 B104 linesdepth 5pulls 8 transitivereach 0 importersview sourcekind tooltopic f64
docsdependenciesstructsconstsfunctions

about

_f64_log_gate_authored.nx -- ME1 rung 2 gate: TEAM-AUTHORED nx_f64_log (via the MATH_KERNEL emitter) vs mpmath-60dps oracle. 196 vectors; pass = ULP <= 1 each. log results span negative values, so ULP distance uses the monotone ordered map ord(v) = v >= 0 ? v : i64min - v (exact bit-adjacency metric across the sign). Markers: LOGBAD ... / LOG-ULP total= exact= ulp1= worse= max= / LOG-GATE verdict=

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_f64.nx nx_f64_div.nx nx_f64_sqrt.nx nx_f64_cvt.nx _pe_f64log.nx _f64_log_kat_vectors.nx _f64_log_gate_authored.nx

imports: nx_syscalls.nxnx_f64.nxnx_f64_div.nxnx_f64_sqrt.nxnx_f64_cvt.nx_pe_f64log.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 f64l_kat_fill_all f64l_kat_fill_0 f64l_kat_fill_1 f64l_kat_fill_2 nx_f64_log nx_f64_classify nx_f64_exp_field nx_f64_mant_field nx_f64_sign nx_f64_mant_field ↻ nx_f64_exp_field ↻ nx_f64_sub nx_f64_add nx_f64_classify ↻ nx_f64_sign ↻ nx_f64_mant_field ↻ nx_f64_exp_field ↻ _f64_round_pack nx_f64_neg nx_f64_add ↻ nx_f64_div nx_f64_classify ↻ nx_f64_sign ↻ nx_f64_mant_field ↻ nx_f64_exp_field ↻ _f64_round_pack ↻ nx_f64_mul nx_f64_classify ↻ nx_f64_sign ↻ nx_f64_mant_field ↻ nx_f64_exp_field ↻ _f64_round_pack ↻ nx_i64_to_f64 _f64_round_pack ↻ nx_f64_is_nan nx_f64_classify ↻ f6l_ord f6l_puts

structs

none

consts

none

functions

16func f6l_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
18func f6l_putn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
32func f6l_puthex(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
44func f6l_ord(v: i64) -> i64
called by 1: main
49func main() -> i64