500 \cdot \left(x - y\right)
\mathsf{fma}\left(x, 500, 500 \cdot \left(-y\right)\right)double f(double x, double y) {
double r220559 = 500.0;
double r220560 = x;
double r220561 = y;
double r220562 = r220560 - r220561;
double r220563 = r220559 * r220562;
return r220563;
}
double f(double x, double y) {
double r220564 = x;
double r220565 = 500.0;
double r220566 = y;
double r220567 = -r220566;
double r220568 = r220565 * r220567;
double r220569 = fma(r220564, r220565, r220568);
return r220569;
}



Bits error versus x



Bits error versus y
Initial program 0.0
rmApplied sub-neg0.0
Applied distribute-rgt-in0.0
Simplified0.0
rmApplied fma-def0.0
Final simplification0.0
herbie shell --seed 2019198 +o rules:numerics
(FPCore (x y)
:name "Data.Colour.CIE:cieLABView from colour-2.3.3, B"
(* 500.0 (- x y)))