JuliaDiff / TaylorDiff.jl

Taylor-mode automatic differentiation for higher-order derivatives
https://juliadiff.org/TaylorDiff.jl/
MIT License
73 stars 8 forks source link

Missing support for erf #48

Closed rcalxrc08 closed 1 year ago

rcalxrc08 commented 1 year ago

Support for SpecialFunctions.erf is not implemented

tansongchen commented 1 year ago

Fixed in #49

rcalxrc08 commented 1 year ago

I have to open a similar one. The support I added for erf is losing a lot of precision due to (2/sqrt(pi)). In case of Float64 there is no real difference, but since this package supports BigFloats too I think it makes sense to rely on IrrationalConstants for sqrtpi or similar, in order to not lose precision.