\frac{x - y}{x}1 - \frac{y}{x}double f(double x, double y) {
double r35052235 = x;
double r35052236 = y;
double r35052237 = r35052235 - r35052236;
double r35052238 = r35052237 / r35052235;
return r35052238;
}
double f(double x, double y) {
double r35052239 = 1.0;
double r35052240 = y;
double r35052241 = x;
double r35052242 = r35052240 / r35052241;
double r35052243 = r35052239 - r35052242;
return r35052243;
}




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