\frac{a \cdot {k}^{m}}{\left(1 + 10 \cdot k\right) + k \cdot k}\frac{\frac{a}{\sqrt{1 + k \cdot \left(k + 10\right)}} \cdot {k}^{m}}{\sqrt{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 (sqrt (+ 1.0 (* k (+ k 10.0))))) (pow k m)) (sqrt (+ 1.0 (* k (+ k 10.0))))))
double code(double a, double k, double m) {
return (a * pow(k, m)) / ((1.0 + (10.0 * k)) + (k * k));
}
double code(double a, double k, double m) {
return ((a / sqrt(1.0 + (k * (k + 10.0)))) * pow(k, m)) / sqrt(1.0 + (k * (k + 10.0)));
}



Bits error versus a



Bits error versus k



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