\frac{x - y}{x}1 - \frac{y}{x}double f(double x, double y) {
double r36785043 = x;
double r36785044 = y;
double r36785045 = r36785043 - r36785044;
double r36785046 = r36785045 / r36785043;
return r36785046;
}
double f(double x, double y) {
double r36785047 = 1.0;
double r36785048 = y;
double r36785049 = x;
double r36785050 = r36785048 / r36785049;
double r36785051 = r36785047 - r36785050;
return r36785051;
}




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 (/ y x))
(/ (- x y) x))