
Results
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Initial program 99.8%
Final simplification99.8%
Initial program 99.8%
cos-atan99.8%
hypot-1-def99.8%
associate-/l/99.8%
*-commutative99.8%
Applied egg-rr99.8%
associate-/r*99.8%
Simplified99.8%
Final simplification99.8%
Initial program 99.8%
Taylor expanded in t around 0 99.3%
Final simplification99.3%
Initial program 99.8%
cos-atan99.8%
hypot-1-def99.8%
associate-/l/99.8%
*-commutative99.8%
Applied egg-rr99.8%
associate-/r*99.8%
Simplified99.8%
Taylor expanded in t around 0 99.3%
Final simplification99.3%
Initial program 99.8%
cos-atan99.8%
hypot-1-def99.8%
associate-/l/99.8%
*-commutative99.8%
Applied egg-rr99.8%
associate-/r*99.8%
Simplified99.8%
Taylor expanded in t around 0 99.3%
Taylor expanded in t around 0 97.3%
Final simplification97.3%
Initial program 99.8%
cos-atan99.8%
hypot-1-def99.8%
associate-/l/99.8%
*-commutative99.8%
Applied egg-rr99.8%
associate-/r*99.8%
Simplified99.8%
Taylor expanded in t around 0 99.3%
Taylor expanded in t around 0 91.8%
Final simplification91.8%
Initial program 99.8%
Taylor expanded in t around 0 80.4%
Taylor expanded in t around 0 80.4%
cos-atan80.4%
hypot-1-def80.4%
associate-/r*80.4%
Applied egg-rr80.4%
Final simplification80.4%
Initial program 99.8%
cos-atan99.8%
hypot-1-def99.8%
associate-/l/99.8%
*-commutative99.8%
Applied egg-rr99.8%
associate-/r*99.8%
Simplified99.8%
Taylor expanded in t around 0 80.4%
Taylor expanded in eh around 0 79.7%
Final simplification79.7%
herbie shell --seed 2023166
(FPCore (eh ew t)
:name "Example from Robby"
:precision binary64
(fabs (+ (* (* ew (sin t)) (cos (atan (/ (/ eh ew) (tan t))))) (* (* eh (cos t)) (sin (atan (/ (/ eh ew) (tan t))))))))