\frac{x}{y \cdot y} - 3\frac{1}{\frac{y}{x} \cdot y} - 3double f(double x, double y) {
double r253441 = x;
double r253442 = y;
double r253443 = r253442 * r253442;
double r253444 = r253441 / r253443;
double r253445 = 3.0;
double r253446 = r253444 - r253445;
return r253446;
}
double f(double x, double y) {
double r253447 = 1.0;
double r253448 = y;
double r253449 = x;
double r253450 = r253448 / r253449;
double r253451 = r253450 * r253448;
double r253452 = r253447 / r253451;
double r253453 = 3.0;
double r253454 = r253452 - r253453;
return r253454;
}




Bits error versus x




Bits error versus y
Results
| Original | 5.0 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 5.0
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 2019353
(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))