\left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right) \cdot \cos \left(\pi \cdot \frac{angle}{180}\right)\left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right) \cdot \sqrt[3]{{\cos \left(\frac{\pi}{\sqrt[3]{32400}} \cdot \frac{angle}{\sqrt[3]{180}}\right)}^{3}}(FPCore (a b angle) :precision binary64 (* (* (* 2.0 (- (pow b 2.0) (pow a 2.0))) (sin (* PI (/ angle 180.0)))) (cos (* PI (/ angle 180.0)))))
(FPCore (a b angle) :precision binary64 (* (* (* 2.0 (- (pow b 2.0) (pow a 2.0))) (sin (* PI (/ angle 180.0)))) (cbrt (pow (cos (* (/ PI (cbrt 32400.0)) (/ angle (cbrt 180.0)))) 3.0))))
double code(double a, double b, double angle) {
return ((2.0 * (pow(b, 2.0) - pow(a, 2.0))) * sin(((double) M_PI) * (angle / 180.0))) * cos(((double) M_PI) * (angle / 180.0));
}
double code(double a, double b, double angle) {
return ((2.0 * (pow(b, 2.0) - pow(a, 2.0))) * sin(((double) M_PI) * (angle / 180.0))) * cbrt(pow(cos((((double) M_PI) / cbrt(32400.0)) * (angle / cbrt(180.0))), 3.0));
}



Bits error versus a



Bits error versus b



Bits error versus angle
Results
Initial program 31.0
rmApplied add-cube-cbrt_binary64_11331.1
Applied *-un-lft-identity_binary64_7831.1
Applied times-frac_binary64_8431.1
Applied associate-*r*_binary64_1831.1
Simplified31.1
rmApplied add-cbrt-cube_binary64_11431.1
Simplified31.1
rmApplied add-cbrt-cube_binary64_11431.1
Simplified31.1
Final simplification31.1
herbie shell --seed 2020353
(FPCore (a b angle)
:name "ab-angle->ABCF B"
:precision binary64
(* (* (* 2.0 (- (pow b 2.0) (pow a 2.0))) (sin (* PI (/ angle 180.0)))) (cos (* PI (/ angle 180.0)))))