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

translate most functions in erf.jl in Julia's form

Open ziyixi opened this issue 6 years ago • 2 comments

Translate most functions in erf.jl except for functions with the BigFloat input. The code is directly translated from apple's libm for erf(x::Float64), erfc(x::Float64) and libopenspecfun for the other functions. The licenses of both the libs are MIT so I could directly translate them .

All the functions have passed the tests. And you could see the benchmark in https://github.com/ziyixi/gsoc-work/blob/master/benchmark.ipynb .

ziyixi avatar Jun 13 '18 09:06 ziyixi

Can you make a plot of the ratios new/old of the minimum (not median) times?

stevengj avatar Jun 13 '18 12:06 stevengj

@ziyixi Could you update the link to the notebook, it seems dead. Thanks!

Ken-B avatar Nov 11 '18 10:11 Ken-B