\frac{x - y}{x}1 - \frac{y}{x}double f(double x, double y) {
double r41454371 = x;
double r41454372 = y;
double r41454373 = r41454371 - r41454372;
double r41454374 = r41454373 / r41454371;
return r41454374;
}
double f(double x, double y) {
double r41454375 = 1.0;
double r41454376 = y;
double r41454377 = x;
double r41454378 = r41454376 / r41454377;
double r41454379 = r41454375 - r41454378;
return r41454379;
}




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 2019168
(FPCore (x y)
:name "Data.Colour.RGB:hslsv from colour-2.3.3, E"
:herbie-target
(- 1.0 (/ y x))
(/ (- x y) x))