500 \cdot \left(x - y\right)
\mathsf{fma}\left(500, x, 500 \cdot \left(-y\right)\right)double f(double x, double y) {
double r217473 = 500.0;
double r217474 = x;
double r217475 = y;
double r217476 = r217474 - r217475;
double r217477 = r217473 * r217476;
return r217477;
}
double f(double x, double y) {
double r217478 = 500.0;
double r217479 = x;
double r217480 = y;
double r217481 = -r217480;
double r217482 = r217478 * r217481;
double r217483 = fma(r217478, r217479, r217482);
return r217483;
}



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