500 \cdot \left(x - y\right)
\mathsf{fma}\left(500, x, \left(-y\right) \cdot 500\right)double f(double x, double y) {
double r138659 = 500.0;
double r138660 = x;
double r138661 = y;
double r138662 = r138660 - r138661;
double r138663 = r138659 * r138662;
return r138663;
}
double f(double x, double y) {
double r138664 = 500.0;
double r138665 = x;
double r138666 = y;
double r138667 = -r138666;
double r138668 = r138667 * r138664;
double r138669 = fma(r138664, r138665, r138668);
return r138669;
}



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