Expand description
Host-side scalar special functions shared by the CPU parity references of the GPU backends.
The CUDA kernels emit their own NVRTC-visible numerics (see
crate::numerics_device); this module is the matching host side
used by the CPU parity oracles (bms_flex_row’s test oracle) and the
CPU reference path (pirls_row’s probit CDF). Keeping a single definition
here means the host erfc cannot drift between backends.
Functions§
- erfc
- Complementary error function
erfc(x) = 1 − erf(x)evaluated on the host.