double f(double x) {
double r40245292 = x;
double r40245293 = r40245292 * r40245292;
double r40245294 = r40245293 * r40245292;
return r40245294;
}
double f(double x) {
double r40245295 = x;
double r40245296 = 3.0;
double r40245297 = pow(r40245295, r40245296);
return r40245297;
}
\left(x \cdot x\right) \cdot x
{x}^{3}



Bits error versus x
| Original | 0.1 |
|---|---|
| Target | 0 |
| Herbie | 0 |
Initial program 0.1
rmApplied pow10.1
Applied pow10.1
Applied pow10.1
Applied pow-sqr0.1
Applied pow-prod-up0
Simplified0
Final simplification0
herbie shell --seed 2019102
(FPCore (x)
:name "math.cube on real"
:herbie-target
(pow x 3)
(* (* x x) x))