\frac{x}{y \cdot y} - 3\frac{1}{\frac{y}{x} \cdot y} - 3double f(double x, double y) {
double r221569 = x;
double r221570 = y;
double r221571 = r221570 * r221570;
double r221572 = r221569 / r221571;
double r221573 = 3.0;
double r221574 = r221572 - r221573;
return r221574;
}
double f(double x, double y) {
double r221575 = 1.0;
double r221576 = y;
double r221577 = x;
double r221578 = r221576 / r221577;
double r221579 = r221578 * r221576;
double r221580 = r221575 / r221579;
double r221581 = 3.0;
double r221582 = r221580 - r221581;
return r221582;
}




Bits error versus x




Bits error versus y
Results
| Original | 4.9 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 4.9
rmApplied associate-/r*0.1
rmApplied *-un-lft-identity0.1
Applied *-un-lft-identity0.1
Applied times-frac0.1
Applied associate-/l*0.1
rmApplied associate-/r/0.1
Final simplification0.1
herbie shell --seed 2020027
(FPCore (x y)
:name "Statistics.Sample:$skurtosis from math-functions-0.1.5.2"
:precision binary64
:herbie-target
(- (/ (/ x y) y) 3)
(- (/ x (* y y)) 3))