\left(x \cdot 3\right) \cdot x
\left(x \cdot x\right) \cdot 3
double f(double x) {
double r159398 = x;
double r159399 = 3.0;
double r159400 = r159398 * r159399;
double r159401 = r159400 * r159398;
return r159401;
}
double f(double x) {
double r159402 = x;
double r159403 = r159402 * r159402;
double r159404 = 3.0;
double r159405 = r159403 * r159404;
return r159405;
}



Bits error versus x
Results
Initial program 0.2
rmApplied add-sqr-sqrt0.4
Simplified0.4
Simplified0.4
rmApplied *-un-lft-identity0.4
Applied *-un-lft-identity0.4
Applied swap-sqr0.4
Simplified0.4
Simplified0.2
Final simplification0.2
herbie shell --seed 2019194
(FPCore (x)
:name "Diagrams.Tangent:$catParam from diagrams-lib-1.3.0.3, F"
(* (* x 3.0) x))