\left(x \cdot 27\right) \cdot y
\left(x \cdot y\right) \cdot 27
double f(double x, double y) {
double r10271568 = x;
double r10271569 = 27.0;
double r10271570 = r10271568 * r10271569;
double r10271571 = y;
double r10271572 = r10271570 * r10271571;
return r10271572;
}
double f(double x, double y) {
double r10271573 = x;
double r10271574 = y;
double r10271575 = r10271573 * r10271574;
double r10271576 = 27.0;
double r10271577 = r10271575 * r10271576;
return r10271577;
}



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))