pub fn log_ndtr(x: f64) -> f64Expand description
The logarithm of the standard normal CDF, ln Φ(x) (SciPy’s log_ndtr), accurate in both
tails: for x > −1 as ln(1 − Φ(−x)) with ln_1p; for −20 < x ≤ −1 from erfc, which is
accurate relative to its tiny value; below that from the asymptotic series
ln Φ(x) = −x²/2 − ln(−x) − ½ ln 2π + ln(1 − 1/x² + 3/x⁴ − 15/x⁶ + …).