\mathsf{fma}\left(a, a, b \cdot b\right)\mathsf{fma}\left(a, a, b \cdot b\right)double code(double a, double b) {
return ((double) fma(a, a, ((double) (b * b))));
}
double code(double a, double b) {
return ((double) fma(a, a, ((double) (b * b))));
}



Bits error versus a



Bits error versus b
Results
Initial program 0.0
Final simplification0.0
herbie shell --seed 2020152
(FPCore (a b)
:name "(fma a a (* b b))"
:precision binary64
(fma a a (* b b)))