
Results
Herbie found 2 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Initial program 53.8%
Taylor expanded in x around inf 99.7%
*-commutative99.7%
associate-*r/99.7%
metadata-eval99.7%
Simplified99.7%
Final simplification99.7%
Initial program 53.8%
Taylor expanded in x around inf 99.3%
Final simplification99.3%
herbie shell --seed 2023167
(FPCore (x)
:name "Rust f64::acosh"
:precision binary64
:pre (>= x 1.0)
:herbie-target
(log (+ x (* (sqrt (- x 1.0)) (sqrt (+ x 1.0)))))
(log (+ x (sqrt (- (* x x) 1.0)))))