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



Bits error versus a



Bits error versus k



Bits error versus m
Results
Initial program 1.9
Simplified1.8
rmApplied associate-*l/1.8
Final simplification1.8
herbie shell --seed 2020102
(FPCore (a k m)
:name "Falkner and Boettcher, Appendix A"
:precision binary64
(/ (* a (pow k m)) (+ (+ 1 (* 10 k)) (* k k))))