code wiki / _hdl_build / _pe_f64gamma_refl.nx
_pe_f64gamma_refl.nx
buildroot/runtime/_hdl_build/_pe_f64gamma_refl.nx
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
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
| 19 | const GR_PI: i64 = 0x400921FB54442D18 // pi |
| 20 | const GR_ONE: i64 = 0x3FF0000000000000 // 1.0 |
functions
| 22 | func nx_f64_gamma_refl(x: i64) -> i64 |