nx_exp_ab.nx
buildroot/runtime/nx_exp_ab.nx
about
nx_exp_ab.nx -- same-process A/B of the exp hot path: the OLD software
nx_f32_mul/add polynomial vs the NEW hardware __f32 one (now IN
nx_f32_exp). A = a local software-op copy of the poly; B = nx_f32_exp
(hardware). Same inputs, back-to-back -> noise-immune RATIO + a
bit-exactness check (must be 0 mismatches). license_tier: ORIGINAL
expect_exit: 0
dependencies 7 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_f32.nxnx_f32_div.nxnx_f32_cvt.nxnx_f32_exp.nxnx_fmt.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
| 14 | const K_MAGIC_2000000: i64 = 2000000 |
| 15 | const K_MAGIC_8192: i64 = 8192 |
| 16 | const K_MAGIC_4096: i64 = 4096 |
functions
| 18 | func eab_nl() -> i64 { fmt_puts("\n" as *u8); return 0 } |
| 22 | func exp_soft(x: i64) -> i64 called by 1: main calls 8: nx_f32_classifynx_f32_signnx_f32_mul_f32_to_i32_rnenx_i32_to_f32nx_f32_sub+2 |
| 44 | func main() -> i64 |