500 \cdot \left(x - y\right)
\mathsf{fma}\left(500, x, 500 \cdot \left(-y\right)\right)double f(double x, double y) {
double r228320 = 500.0;
double r228321 = x;
double r228322 = y;
double r228323 = r228321 - r228322;
double r228324 = r228320 * r228323;
return r228324;
}
double f(double x, double y) {
double r228325 = 500.0;
double r228326 = x;
double r228327 = y;
double r228328 = -r228327;
double r228329 = r228325 * r228328;
double r228330 = fma(r228325, r228326, r228329);
return r228330;
}



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)))