\frac{1}{x \cdot x}\frac{\frac{1}{x}}{x}double f(double x) {
double r463816 = 1.0;
double r463817 = x;
double r463818 = r463817 * r463817;
double r463819 = r463816 / r463818;
return r463819;
}
double f(double x) {
double r463820 = 1.0;
double r463821 = x;
double r463822 = r463820 / r463821;
double r463823 = r463822 / r463821;
return r463823;
}




Bits error versus x
Results
| Original | 0.6 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 0.6
rmApplied associate-/r*0.2
Final simplification0.2
herbie shell --seed 2020049
(FPCore (x)
:name "Numeric.SpecFunctions:$slogFactorial from math-functions-0.1.5.2, A"
:precision binary64
:herbie-target
(/ (/ 1 x) x)
(/ 1 (* x x)))