
Results
Herbie found 2 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Initial program 100.0%
neg-sub0100.0%
associate--r-100.0%
metadata-eval100.0%
+-commutative100.0%
Simplified100.0%
Final simplification100.0%
Initial program 100.0%
neg-sub0100.0%
associate--r-100.0%
metadata-eval100.0%
+-commutative100.0%
Simplified100.0%
Taylor expanded in x around 0 46.7%
Final simplification46.7%
herbie shell --seed 2023166
(FPCore (x)
:name "exp neg sub"
:precision binary64
(exp (- (- 1.0 (* x x)))))