\left(x \cdot 27\right) \cdot y
\left(x \cdot y\right) \cdot 27
double f(double x, double y) {
double r15614265 = x;
double r15614266 = 27.0;
double r15614267 = r15614265 * r15614266;
double r15614268 = y;
double r15614269 = r15614267 * r15614268;
return r15614269;
}
double f(double x, double y) {
double r15614270 = x;
double r15614271 = y;
double r15614272 = r15614270 * r15614271;
double r15614273 = 27.0;
double r15614274 = r15614272 * r15614273;
return r15614274;
}



Bits error versus x



Bits error versus y
Results
Initial program 0.3
Taylor expanded around 0 0.3
rmApplied add-sqr-sqrt0.3
Applied associate-*l*0.4
rmApplied add-sqr-sqrt0.4
Applied sqrt-prod0.7
Applied associate-*l*0.6
Taylor expanded around 0 0.3
Simplified0.3
Final simplification0.3
herbie shell --seed 2019174
(FPCore (x y)
:name "Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, F"
(* (* x 27.0) y))