code wiki / _hdl_build / _pe_f64gamma.nx
_pe_f64gamma.nx
buildroot/runtime/_hdl_build/_pe_f64gamma.nx
about
AUTHORED BY THE NISHI BUILDER (pattern: MATH_KERNEL / GAMMA_STIRLING) -- no Claude core logic.
dd lnGamma (Stirling + pull-up), composed from authored log+sinhcosh kernels; spec=sovereign bigfloat.
Validated max_ulp=2 vs bf oracle. Rung-1 x>=0.5; x<0.5 reflection = LOUD NAN (named debt).
dependencies 7 imports · 3 importers
imports: nx_syscalls.nxnx_tier.nxnx_f64.nxnx_f64_div.nxnx_f64_cvt.nx_pe_f64log.nx_pe_f64sinhcosh.nx
imported by: _gamma_gate_authored.nx_pe_f64gamma_refl.nx_pe_f64gamma_test.nx
structs
| none |
consts
| none |
functions
| 11 | func _gm_expf(v: i64) -> i64 { return nx_f64_add(nx_f64_cosh(v), nx_f64_sinh(v)) } |
| 12 | func _gm_lndd(w: i64, out: *i64) -> i64 |
| 19 | func nx_f64_gamma(x: i64) -> i64 called by 3: mainnx_f64_gamma_reflmain calls 12: nx_f64_classifynx_f64_signnx_f64_subnx_f64_mulnx_f64_addsys_mmap+6 |