x - y \cdot y
\mathsf{fma}\left(y, -y, x\right)double f(double x, double y) {
double r125026 = x;
double r125027 = y;
double r125028 = r125027 * r125027;
double r125029 = r125026 - r125028;
return r125029;
}
double f(double x, double y) {
double r125030 = y;
double r125031 = -r125030;
double r125032 = x;
double r125033 = fma(r125030, r125031, r125032);
return r125033;
}



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