code wiki / _hdl_build / _pe_f64gamma_refl.nx

_pe_f64gamma_refl.nx

buildroot/runtime/_hdl_build/_pe_f64gamma_refl.nx

1320 B27 linesdepth 6pulls 9 transitivereach 2 importersview sourcekind librarytopic pe
docsdependenciesstructsconstsfunctions

about

_pe_f64gamma_refl.nx -- f64 GAMMA REFLECTION kernel for 0 < x < 0.5 (closes the gamma rung-1 LOUD-NAN debt the gamma spec named: x<0.5 reflection). Composes the PROVEN sibling kernels via the Euler reflection formula -- no new core numerics: Gamma(x) = pi / ( sin(pi*x) * Gamma(1-x) ), with 1-x in (0.5,1) so Gamma(1-x) uses the existing nx_f64_gamma (its supported domain) and sin(pi*x) uses the existing nx_f64_sin. Parallel to erfc closing erf's gap: a named honest debt retired by composition, not fabrication. f64 software-IEEE throughout. license_tier: ORIGINAL module: nishi-core.math.f64_gamma_refl depends: nishi-core.math.f64, nishi-core.math.f64_sincos, nishi-core.math.f64_gamma capability: F64_GAMMA_REFLECTION

dependencies 5 imports · 2 importers

nx_syscalls.nx nx_f64.nx nx_f64_div.nx _pe_f64sincos.nx _pe_f64gamma.nx _pe_f64gamma_refl.nx _f64_gamma_refl_gate.nx _f64_gamma_refl_neg_gate.nx

imports: nx_syscalls.nxnx_f64.nxnx_f64_div.nx_pe_f64sincos.nx_pe_f64gamma.nx

imported by: _f64_gamma_refl_gate.nx_f64_gamma_refl_neg_gate.nx

structs

none

consts

19const GR_PI: i64 = 0x400921FB54442D18 // pi
20const GR_ONE: i64 = 0x3FF0000000000000 // 1.0

functions

22func nx_f64_gamma_refl(x: i64) -> i64