\frac{x - y}{x}1 - \frac{y}{x}double f(double x, double y) {
double r27025998 = x;
double r27025999 = y;
double r27026000 = r27025998 - r27025999;
double r27026001 = r27026000 / r27025998;
return r27026001;
}
double f(double x, double y) {
double r27026002 = 1.0;
double r27026003 = y;
double r27026004 = x;
double r27026005 = r27026003 / r27026004;
double r27026006 = r27026002 - r27026005;
return r27026006;
}




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