x \cdot x + y \cdot y
\mathsf{fma}\left(y, y, x \cdot x\right)double f(double x, double y) {
double r130247 = x;
double r130248 = r130247 * r130247;
double r130249 = y;
double r130250 = r130249 * r130249;
double r130251 = r130248 + r130250;
return r130251;
}
double f(double x, double y) {
double r130252 = y;
double r130253 = x;
double r130254 = r130253 * r130253;
double r130255 = fma(r130252, r130252, r130254);
return r130255;
}



Bits error versus x



Bits error versus y
Initial program 0.0
Simplified0.0
rmApplied add-sqr-sqrt0.0
Simplified0.0
Simplified0.0
Taylor expanded around 0 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019323 +o rules:numerics
(FPCore (x y)
:name "Graphics.Rasterific.Linear:$cquadrance from Rasterific-0.6.1"
:precision binary64
(+ (* x x) (* y y)))