500 \cdot \left(x - y\right)
\mathsf{fma}\left(500, x, 500 \cdot \left(-y\right)\right)double f(double x, double y) {
double r262581 = 500.0;
double r262582 = x;
double r262583 = y;
double r262584 = r262582 - r262583;
double r262585 = r262581 * r262584;
return r262585;
}
double f(double x, double y) {
double r262586 = 500.0;
double r262587 = x;
double r262588 = y;
double r262589 = -r262588;
double r262590 = r262586 * r262589;
double r262591 = fma(r262586, r262587, r262590);
return r262591;
}



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 2019353 +o rules:numerics
(FPCore (x y)
:name "Data.Colour.CIE:cieLABView from colour-2.3.3, B"
:precision binary64
(* 500 (- x y)))