\left(x \cdot 27\right) \cdot y
\left(y \cdot x\right) \cdot 27
double f(double x, double y) {
double r8389110 = x;
double r8389111 = 27.0;
double r8389112 = r8389110 * r8389111;
double r8389113 = y;
double r8389114 = r8389112 * r8389113;
return r8389114;
}
double f(double x, double y) {
double r8389115 = y;
double r8389116 = x;
double r8389117 = r8389115 * r8389116;
double r8389118 = 27.0;
double r8389119 = r8389117 * r8389118;
return r8389119;
}



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 +o rules:numerics
(FPCore (x y)
:name "Diagrams.Solve.Polynomial:cubForm from diagrams-solve-0.1, F"
(* (* x 27.0) y))