500 \cdot \left(x - y\right)
\mathsf{fma}\left(500, x, 500 \cdot \left(-y\right)\right)double f(double x, double y) {
double r245731 = 500.0;
double r245732 = x;
double r245733 = y;
double r245734 = r245732 - r245733;
double r245735 = r245731 * r245734;
return r245735;
}
double f(double x, double y) {
double r245736 = 500.0;
double r245737 = x;
double r245738 = y;
double r245739 = -r245738;
double r245740 = r245736 * r245739;
double r245741 = fma(r245736, r245737, r245740);
return r245741;
}



Bits error versus x



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