\left(x \cdot x\right) \cdot x
{x}^{3}double f(double x) {
double r45464359 = x;
double r45464360 = r45464359 * r45464359;
double r45464361 = r45464360 * r45464359;
return r45464361;
}
double f(double x) {
double r45464362 = x;
double r45464363 = 3.0;
double r45464364 = pow(r45464362, r45464363);
return r45464364;
}




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