x \cdot \left(x \cdot x\right) + x \cdot x
\left|{x}^{\frac{3}{2}}\right| \cdot \left|{x}^{\frac{3}{2}}\right| + x \cdot xdouble f(double x) {
double r139730 = x;
double r139731 = r139730 * r139730;
double r139732 = r139730 * r139731;
double r139733 = r139732 + r139731;
return r139733;
}
double f(double x) {
double r139734 = x;
double r139735 = 1.5;
double r139736 = pow(r139734, r139735);
double r139737 = fabs(r139736);
double r139738 = r139737 * r139737;
double r139739 = r139734 * r139734;
double r139740 = r139738 + r139739;
return r139740;
}




Bits error versus x
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied add-sqr-sqrt0.0
Simplified0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020036
(FPCore (x)
:name "Expression 3, p15"
:precision binary64
:pre (<= 0.0 x 2)
:herbie-target
(* (* (+ 1 x) x) x)
(+ (* x (* x x)) (* x x)))