e^{-w} \cdot {\ell}^{\left(e^{w}\right)}\frac{{\ell}^{\left(e^{w}\right)}}{e^{w}}(FPCore (w l) :precision binary64 (* (exp (- w)) (pow l (exp w))))
(FPCore (w l) :precision binary64 (/ (pow l (exp w)) (exp w)))
double code(double w, double l) {
return exp(-w) * pow(l, exp(w));
}
double code(double w, double l) {
return pow(l, exp(w)) / exp(w);
}




Bits error versus w




Bits error versus l
Results
| Alternative 1 | |
|---|---|
| Accuracy | 0.3 |
| Cost | 512 |
Initial program 0.3
Simplified0.3
rmApplied *-un-lft-identity_binary64_7600.3
rmApplied pow1_binary64_8210.3
Final simplification0.3
herbie shell --seed 2020322
(FPCore (w l)
:name "exp-w crasher"
:precision binary64
(* (exp (- w)) (pow l (exp w))))