
Results
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
Initial program 7.9%
expm1-log1p-u7.9%
expm1-udef7.9%
Applied egg-rr96.1%
expm1-def96.1%
expm1-log1p97.4%
times-frac97.4%
metadata-eval97.4%
*-lft-identity97.4%
associate-/l*97.4%
associate-/r/97.4%
associate-/l*97.1%
associate-/r/97.4%
*-commutative97.4%
Simplified97.4%
cosh-def97.4%
cosh-undef97.4%
associate-*l/97.4%
associate-*l/97.4%
associate-/r*97.4%
*-commutative97.4%
expm1-log1p-u96.1%
expm1-udef96.1%
Applied egg-rr97.5%
Final simplification97.5%
Initial program 7.9%
expm1-log1p-u7.9%
expm1-udef7.9%
Applied egg-rr96.1%
expm1-def96.1%
expm1-log1p97.4%
times-frac97.4%
metadata-eval97.4%
*-lft-identity97.4%
associate-/l*97.4%
associate-/r/97.4%
associate-/l*97.1%
associate-/r/97.4%
*-commutative97.4%
Simplified97.4%
clear-num97.4%
log-rec97.5%
div-inv97.5%
metadata-eval97.5%
div-inv97.5%
metadata-eval97.5%
Applied egg-rr97.5%
distribute-frac-neg97.5%
neg-sub097.5%
add-sqr-sqrt0.0%
Applied egg-rr79.2%
neg-sub079.2%
log-pow97.4%
*-commutative97.4%
distribute-rgt-neg-in97.4%
*-commutative97.4%
associate-*r*97.4%
*-commutative97.4%
associate-*r*97.4%
distribute-neg-frac97.4%
metadata-eval97.4%
Simplified97.4%
Final simplification97.4%
Initial program 7.9%
expm1-log1p-u7.9%
expm1-udef7.9%
Applied egg-rr96.1%
expm1-def96.1%
expm1-log1p97.4%
times-frac97.4%
metadata-eval97.4%
*-lft-identity97.4%
associate-/l*97.4%
associate-/r/97.4%
associate-/l*97.1%
associate-/r/97.4%
*-commutative97.4%
Simplified97.4%
Final simplification97.4%
Initial program 7.9%
expm1-log1p-u7.9%
expm1-udef7.9%
Applied egg-rr96.1%
expm1-def96.1%
expm1-log1p97.4%
times-frac97.4%
metadata-eval97.4%
*-lft-identity97.4%
associate-/l*97.4%
associate-/r/97.4%
associate-/l*97.1%
associate-/r/97.4%
*-commutative97.4%
Simplified97.4%
clear-num97.4%
log-rec97.5%
div-inv97.5%
metadata-eval97.5%
div-inv97.5%
metadata-eval97.5%
Applied egg-rr97.5%
Final simplification97.5%
Initial program 7.9%
expm1-log1p-u7.9%
expm1-udef7.9%
Applied egg-rr96.1%
expm1-def96.1%
expm1-log1p97.4%
times-frac97.4%
metadata-eval97.4%
*-lft-identity97.4%
associate-/l*97.4%
associate-/r/97.4%
associate-/l*97.1%
associate-/r/97.4%
*-commutative97.4%
Simplified97.4%
Taylor expanded in f around 0 96.1%
add-sqr-sqrt95.6%
sqrt-unprod96.2%
pow296.2%
*-commutative96.2%
Applied egg-rr96.2%
unpow296.2%
rem-sqrt-square96.2%
*-commutative96.2%
Simplified96.2%
Final simplification96.2%
Initial program 7.9%
expm1-log1p-u7.9%
expm1-udef7.9%
Applied egg-rr96.1%
expm1-def96.1%
expm1-log1p97.4%
times-frac97.4%
metadata-eval97.4%
*-lft-identity97.4%
associate-/l*97.4%
associate-/r/97.4%
associate-/l*97.1%
associate-/r/97.4%
*-commutative97.4%
Simplified97.4%
cosh-def97.4%
cosh-undef97.4%
associate-*l/97.4%
associate-*l/97.4%
associate-/r*97.4%
*-commutative97.4%
expm1-log1p-u96.1%
expm1-udef96.1%
Applied egg-rr97.5%
Taylor expanded in f around 0 96.1%
Final simplification96.1%
Initial program 7.9%
expm1-log1p-u7.9%
expm1-udef7.9%
Applied egg-rr96.1%
expm1-def96.1%
expm1-log1p97.4%
times-frac97.4%
metadata-eval97.4%
*-lft-identity97.4%
associate-/l*97.4%
associate-/r/97.4%
associate-/l*97.1%
associate-/r/97.4%
*-commutative97.4%
Simplified97.4%
Taylor expanded in f around 0 96.1%
div-inv96.0%
*-commutative96.0%
*-commutative96.0%
inv-pow96.0%
*-commutative96.0%
unpow-prod-down96.0%
metadata-eval96.0%
inv-pow96.0%
Applied egg-rr96.0%
*-commutative96.0%
associate-*r/96.0%
metadata-eval96.0%
*-commutative96.0%
Simplified96.0%
Final simplification96.0%
Initial program 7.9%
expm1-log1p-u7.9%
expm1-udef7.9%
Applied egg-rr96.1%
expm1-def96.1%
expm1-log1p97.4%
times-frac97.4%
metadata-eval97.4%
*-lft-identity97.4%
associate-/l*97.4%
associate-/r/97.4%
associate-/l*97.1%
associate-/r/97.4%
*-commutative97.4%
Simplified97.4%
Taylor expanded in f around 0 96.1%
Final simplification96.1%
herbie shell --seed 2023166
(FPCore (f)
:name "VandenBroeck and Keller, Equation (20)"
:precision binary64
(- (* (/ 1.0 (/ PI 4.0)) (log (/ (+ (exp (* (/ PI 4.0) f)) (exp (- (* (/ PI 4.0) f)))) (- (exp (* (/ PI 4.0) f)) (exp (- (* (/ PI 4.0) f)))))))))