HypergeometricFunctions.jl icon indicating copy to clipboard operation
HypergeometricFunctions.jl copied to clipboard

Domain Error in _₂F₁

Open rodinalex opened this issue 2 years ago • 1 comments

HypergeometricFunctions._₂F₁(0, 0, 1 / 2, 5 / 4) throws a domain error as "asin(x) is not defined for |x| > 1" HypergeometricFunctions._₂F₁general(0, 0, 1 / 2, 5 / 4) works fine

rodinalex avatar Oct 31 '23 03:10 rodinalex

Generally when a or b is zero, the result should be 1.0. This is verified in weniger but not in general call. For example HypergeometricFunctions._₂F₁(0.5,0.0,1.5,1) returns NaN.

genmeblog avatar Jul 23 '24 09:07 genmeblog