x - y \cdot y
\mathsf{fma}\left(y, -y, x\right)double f(double x, double y) {
double r154521 = x;
double r154522 = y;
double r154523 = r154522 * r154522;
double r154524 = r154521 - r154523;
return r154524;
}
double f(double x, double y) {
double r154525 = y;
double r154526 = -r154525;
double r154527 = x;
double r154528 = fma(r154525, r154526, r154527);
return r154528;
}



Bits error versus x



Bits error versus y
Initial program 0.0
rmApplied add-cube-cbrt0.9
Applied prod-diff0.9
Simplified0.0
Simplified0
Final simplification0
herbie shell --seed 2019350 +o rules:numerics
(FPCore (x y)
:name "Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1"
:precision binary64
(- x (* y y)))