\frac{x}{y \cdot y} - 3\frac{1}{\frac{y}{x} \cdot y} - 3double f(double x, double y) {
double r274569 = x;
double r274570 = y;
double r274571 = r274570 * r274570;
double r274572 = r274569 / r274571;
double r274573 = 3.0;
double r274574 = r274572 - r274573;
return r274574;
}
double f(double x, double y) {
double r274575 = 1.0;
double r274576 = y;
double r274577 = x;
double r274578 = r274576 / r274577;
double r274579 = r274578 * r274576;
double r274580 = r274575 / r274579;
double r274581 = 3.0;
double r274582 = r274580 - r274581;
return r274582;
}




Bits error versus x




Bits error versus y
Results
| Original | 5.2 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 5.2
rmApplied associate-/r*0.1
rmApplied clear-num0.1
rmApplied associate-/r/0.1
Final simplification0.1
herbie shell --seed 2020064
(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))