Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

std::erf versus erf_impl (Abramowitz & Stegun)

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.22 sec, absolute running time: 2.14 sec, cpu time: 2.07 sec, memory peak: 3 Mb, absolute service time: 2,36 sec 
edit mode |  history  | discussion
precision - type: double max error:  0.00000008301282160	avg error:  0.00000000873368430	eps: 0.00000000000000022
precision - type: float  max error:  0.00000043585896492	avg error:  0.00000001815939754	eps: 0.00000011920928955
time - type: double erf_impl Time: 0.33404sec	v:  -0.9998469418
time - type: double std::erf Time: 0.22753sec	v:  -0.9998470089
time - type: float  erf_impl Time: 0.24874sec	v:  -0.7626809478
time - type: float  std::erf Time: 0.20945sec	v:  -0.7626809478