-\left(\left(a \cdot a\right) \cdot b\right) \cdot b
-\left(a \cdot b\right) \cdot \left(a \cdot b\right)
(FPCore (a b angle) :precision binary64 (- (* (* (* a a) b) b)))
(FPCore (a b angle) :precision binary64 (- (* (* a b) (* a b))))
double code(double a, double b, double angle) {
return -(((a * a) * b) * b);
}
double code(double a, double b, double angle) {
return -((a * b) * (a * b));
}



Bits error versus a



Bits error versus b



Bits error versus angle
Results
Initial program 16.1
rmApplied add-sqr-sqrt_binary6416.2
Simplified16.1
Simplified0.3
Final simplification0.3
herbie shell --seed 2020346
(FPCore (a b angle)
:name "ab-angle->ABCF D"
:precision binary64
(- (* (* (* a a) b) b)))