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 r104157 = x;
double r104158 = r104157 * r104157;
double r104159 = r104157 * r104158;
double r104160 = r104159 + r104158;
return r104160;
}
double f(double x) {
double r104161 = x;
double r104162 = 1.5;
double r104163 = pow(r104161, r104162);
double r104164 = fabs(r104163);
double r104165 = r104164 * r104164;
double r104166 = r104161 * r104161;
double r104167 = r104165 + r104166;
return r104167;
}




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)))