code wiki / _hdl_build / _pe_f64igammaq.nx

_pe_f64igammaq.nx

buildroot/runtime/_hdl_build/_pe_f64igammaq.nx

1426 B39 linesdepth 5pulls 7 transitivereach 1 importersview sourcekind librarytopic pe
docsdependenciesstructsconstsfunctions

about

_pe_f64igammaq.nx -- integer-order regularized upper incomplete gamma (DLMF 8.4.7, the Poisson/Erlang/chi-square CDF): Q(n,x) = Gamma(n,x)/Gamma(n) = e^(-x) * SUM_{k=0}^{n-1} x^k / k! (n >= 1) P(n,x) = 1 - Q(n,x) CLOSED FORM (finite sum) for integer order -- no series-vs-CF regime split, all terms positive, self-contained (only nx_f64_exp + f64 arithmetic). term_k = term_{k-1}*x/k. f64 software-IEEE throughout. license_tier: ORIGINAL module: nishi-core.math.f64_igammaq depends: nishi-core.math.f64, nishi-core.math.f64_exp capability: F64_INCOMPLETE_GAMMA_INTEGER

dependencies 4 imports · 1 importers

nx_syscalls.nx nx_f64.nx nx_f64_div.nx nx_f64_exp.nx _pe_f64igammaq.nx _f64_igammaq_gate.nx

imports: nx_syscalls.nxnx_f64.nxnx_f64_div.nxnx_f64_exp.nx

imported by: _f64_igammaq_gate.nx

structs

none

consts

18const IGQ_ONE: i64 = 0x3FF0000000000000 // 1.0

functions

21func nx_f64_igammaq(n: i64, x: i64) -> i64
37func nx_f64_igammap(n: i64, x: i64) -> i64