x \cdot x + y \cdot y
\mathsf{fma}\left(y, y, {x}^{2}\right)double f(double x, double y) {
double r152037 = x;
double r152038 = r152037 * r152037;
double r152039 = y;
double r152040 = r152039 * r152039;
double r152041 = r152038 + r152040;
return r152041;
}
double f(double x, double y) {
double r152042 = y;
double r152043 = x;
double r152044 = 2.0;
double r152045 = pow(r152043, r152044);
double r152046 = fma(r152042, r152042, r152045);
return r152046;
}



Bits error versus x



Bits error versus y
Initial program 0.0
rmApplied add-sqr-sqrt0.0
Simplified0.0
Simplified0.0
rmApplied hypot-udef0.0
Simplified0.0
rmApplied add-cube-cbrt1.2
Applied associate-*r*1.2
Simplified1.2
Taylor expanded around 0 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020100 +o rules:numerics
(FPCore (x y)
:name "Graphics.Rasterific.Linear:$cquadrance from Rasterific-0.6.1"
:precision binary64
(+ (* x x) (* y y)))