\frac{a \cdot {k}^{m}}{\left(1 + 10 \cdot k\right) + k \cdot k}\frac{\left(a \cdot {\left(\sqrt[3]{k} \cdot \sqrt[3]{k}\right)}^{m}\right) \cdot {\left(\sqrt[3]{k}\right)}^{m}}{1 + k \cdot \left(k + 10\right)}(FPCore (a k m) :precision binary64 (/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k))))
(FPCore (a k m) :precision binary64 (/ (* (* a (pow (* (cbrt k) (cbrt k)) m)) (pow (cbrt k) m)) (+ 1.0 (* k (+ k 10.0)))))
double code(double a, double k, double m) {
return (((double) (a * ((double) pow(k, m)))) / ((double) (((double) (1.0 + ((double) (10.0 * k)))) + ((double) (k * k)))));
}
double code(double a, double k, double m) {
return (((double) (((double) (a * ((double) pow(((double) (((double) cbrt(k)) * ((double) cbrt(k)))), m)))) * ((double) pow(((double) cbrt(k)), m)))) / ((double) (1.0 + ((double) (k * ((double) (k + 10.0)))))));
}



Bits error versus a



Bits error versus k



Bits error versus m
Results
Initial program 2.0
Simplified2.0
rmApplied add-cube-cbrt_binary642.0
Applied unpow-prod-down_binary642.0
Applied associate-*r*_binary642.0
Final simplification2.0
herbie shell --seed 2020219
(FPCore (a k m)
:name "Falkner and Boettcher, Appendix A"
:precision binary64
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k))))