
Results
Herbie found 6 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Initial program 99.9%
flip-+99.8%
div-sub99.8%
metadata-eval99.8%
*-commutative99.8%
cancel-sign-sub-inv99.8%
metadata-eval99.8%
swap-sqr99.8%
metadata-eval99.8%
*-commutative99.8%
cancel-sign-sub-inv99.8%
metadata-eval99.8%
Applied egg-rr99.8%
div-sub99.8%
associate-*l*99.9%
*-commutative99.9%
Simplified99.9%
Final simplification99.9%
if x < -4 or 2.0499999999999998 < x Initial program 99.7%
Taylor expanded in x around inf 98.2%
unpow298.2%
Simplified98.2%
Taylor expanded in x around inf 98.2%
unpow298.2%
*-commutative98.2%
associate-*r*98.2%
Simplified98.2%
if -4 < x < 2.0499999999999998Initial program 100.0%
Taylor expanded in x around inf 97.2%
unpow297.2%
Simplified97.2%
Taylor expanded in x around 0 97.2%
Final simplification97.7%
if x < -4 or 2.0499999999999998 < x Initial program 99.7%
Taylor expanded in x around inf 98.2%
unpow298.2%
Simplified98.2%
Taylor expanded in x around inf 98.2%
unpow298.2%
*-commutative98.2%
associate-*r*98.2%
Simplified98.2%
if -4 < x < 2.0499999999999998Initial program 100.0%
Taylor expanded in x around 0 98.5%
*-commutative98.5%
Simplified98.5%
Final simplification98.4%
Initial program 99.9%
Final simplification99.9%
Initial program 99.9%
Taylor expanded in x around inf 97.7%
unpow297.7%
Simplified97.7%
Final simplification97.7%
Initial program 99.9%
Taylor expanded in x around inf 97.7%
unpow297.7%
Simplified97.7%
Taylor expanded in x around 0 50.9%
Final simplification50.9%
herbie shell --seed 2023167
(FPCore (x)
:name "Numeric.SpecFunctions:invIncompleteGamma from math-functions-0.1.5.2, A"
:precision binary64
(- 1.0 (* x (+ 0.253 (* x 0.12)))))