\frac{x}{y \cdot y} - 3\frac{\frac{\sqrt{1}}{\sqrt{1}}}{y \cdot \frac{y}{x}} - 3double f(double x, double y) {
double r242545 = x;
double r242546 = y;
double r242547 = r242546 * r242546;
double r242548 = r242545 / r242547;
double r242549 = 3.0;
double r242550 = r242548 - r242549;
return r242550;
}
double f(double x, double y) {
double r242551 = 1.0;
double r242552 = sqrt(r242551);
double r242553 = r242552 / r242552;
double r242554 = y;
double r242555 = x;
double r242556 = r242554 / r242555;
double r242557 = r242554 * r242556;
double r242558 = r242553 / r242557;
double r242559 = 3.0;
double r242560 = r242558 - r242559;
return r242560;
}




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 add-sqr-sqrt0.1
Applied add-sqr-sqrt0.1
Applied times-frac0.1
Applied associate-/l*0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2020045 +o rules:numerics
(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))