math
math copied to clipboard
Ibeta inaccurate/incorrect for small a and b values when using single-precision floats
See: https://github.com/scipy/scipy/issues/22682 for reproducer
Just FYI, the corresponding issue in JAX was fixed in https://github.com/jax-ml/jax/pull/27107: see the code around comments " When a is close to zero.." and "For very small a and to avoid division by zero..".