\left(x \cdot x\right) \cdot x
{x}^{3}double f(double x) {
double r150005 = x;
double r150006 = r150005 * r150005;
double r150007 = r150006 * r150005;
return r150007;
}
double f(double x) {
double r150008 = x;
double r150009 = 3.0;
double r150010 = pow(r150008, r150009);
return r150010;
}




Bits error versus x
Results
| Original | 0.1 |
|---|---|
| Target | 0 |
| Herbie | 0 |
Initial program 0.1
Simplified0
Final simplification0
herbie shell --seed 2019303
(FPCore (x)
:name "math.cube on real"
:precision binary64
:herbie-target
(pow x 3)
(* (* x x) x))