code wiki / _hdl_build / _pe_f64gamma.nx

_pe_f64gamma.nx

buildroot/runtime/_hdl_build/_pe_f64gamma.nx

3053 B74 linesdepth 5pulls 7 transitivereach 5 importersview sourcekind librarytopic pe
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_tier.nx nx_f64.nx nx_f64_div.nx nx_f64_cvt.nx _pe_f64log.nx _pe_f64sinhcosh.nx _pe_f64gamma.nx _gamma_gate_authored.nx _pe_f64gamma_refl.nx _pe_f64gamma_test.nx

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

11func _gm_expf(v: i64) -> i64 { return nx_f64_add(nx_f64_cosh(v), nx_f64_sinh(v)) }
12func _gm_lndd(w: i64, out: *i64) -> i64
19func nx_f64_gamma(x: i64) -> i64