500 \cdot \left(x - y\right)
\mathsf{fma}\left(500, x, \left(-y\right) \cdot 500\right)double f(double x, double y) {
double r128646 = 500.0;
double r128647 = x;
double r128648 = y;
double r128649 = r128647 - r128648;
double r128650 = r128646 * r128649;
return r128650;
}
double f(double x, double y) {
double r128651 = 500.0;
double r128652 = x;
double r128653 = y;
double r128654 = -r128653;
double r128655 = r128654 * r128651;
double r128656 = fma(r128651, r128652, r128655);
return r128656;
}



Bits error versus x



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