0.5 \cdot \left(x \cdot x - y\right)
0.5 \cdot \mathsf{fma}\left(x, x, -y\right)double f(double x, double y) {
double r506 = 0.5;
double r507 = x;
double r508 = r507 * r507;
double r509 = y;
double r510 = r508 - r509;
double r511 = r506 * r510;
return r511;
}
double f(double x, double y) {
double r512 = 0.5;
double r513 = x;
double r514 = y;
double r515 = -r514;
double r516 = fma(r513, r513, r515);
double r517 = r512 * r516;
return r517;
}



Bits error versus x



Bits error versus y
Initial program 0.0
rmApplied fma-neg0.0
Final simplification0.0
herbie shell --seed 2020021 +o rules:numerics
(FPCore (x y)
:name "System.Random.MWC.Distributions:standard from mwc-random-0.13.3.2"
:precision binary64
(* 0.5 (- (* x x) y)))