\left(x \cdot 27\right) \cdot y
27 \cdot \left(x \cdot y\right)
double f(double x, double y) {
double r12960988 = x;
double r12960989 = 27.0;
double r12960990 = r12960988 * r12960989;
double r12960991 = y;
double r12960992 = r12960990 * r12960991;
return r12960992;
}
double f(double x, double y) {
double r12960993 = 27.0;
double r12960994 = x;
double r12960995 = y;
double r12960996 = r12960994 * r12960995;
double r12960997 = r12960993 * r12960996;
return r12960997;
}



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