\frac{x - y}{x}1 - \frac{y}{x}double f(double x, double y) {
double r41565464 = x;
double r41565465 = y;
double r41565466 = r41565464 - r41565465;
double r41565467 = r41565466 / r41565464;
return r41565467;
}
double f(double x, double y) {
double r41565468 = 1.0;
double r41565469 = y;
double r41565470 = x;
double r41565471 = r41565469 / r41565470;
double r41565472 = r41565468 - r41565471;
return r41565472;
}




Bits error versus x




Bits error versus y
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
rmApplied div-sub0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019158
(FPCore (x y)
:name "Data.Colour.RGB:hslsv from colour-2.3.3, E"
:herbie-target
(- 1 (/ y x))
(/ (- x y) x))