x - y \cdot y
\mathsf{fma}\left(y, -y, x\right)double f(double x, double y) {
double r105871 = x;
double r105872 = y;
double r105873 = r105872 * r105872;
double r105874 = r105871 - r105873;
return r105874;
}
double f(double x, double y) {
double r105875 = y;
double r105876 = -r105875;
double r105877 = x;
double r105878 = fma(r105875, r105876, r105877);
return r105878;
}



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 2019325 +o rules:numerics
(FPCore (x y)
:name "Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1"
:precision binary64
(- x (* y y)))