c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}c0 \cdot \left(\left|\frac{\sqrt[3]{A}}{\sqrt[3]{V}}\right| \cdot \sqrt{\frac{\sqrt[3]{A}}{\sqrt[3]{V}} \cdot \frac{1}{\ell}}\right)(FPCore (c0 A V l) :precision binary64 (* c0 (sqrt (/ A (* V l)))))
(FPCore (c0 A V l) :precision binary64 (* c0 (* (fabs (/ (cbrt A) (cbrt V))) (sqrt (* (/ (cbrt A) (cbrt V)) (/ 1.0 l))))))
double code(double c0, double A, double V, double l) {
return c0 * sqrt(A / (V * l));
}
double code(double c0, double A, double V, double l) {
return c0 * (fabs(cbrt(A) / cbrt(V)) * sqrt((cbrt(A) / cbrt(V)) * (1.0 / l)));
}



Bits error versus c0



Bits error versus A



Bits error versus V



Bits error versus l
Results
Initial program 18.8
rmApplied add-cube-cbrt_binary64_147719.1
Applied associate-/l*_binary64_138719.1
Simplified17.6
rmApplied div-inv_binary64_143917.6
Applied add-cube-cbrt_binary64_147717.8
Applied times-frac_binary64_144817.0
Applied times-frac_binary64_144815.8
Applied sqrt-prod_binary64_14587.7
Simplified5.9
Simplified5.8
rmApplied *-un-lft-identity_binary64_14425.8
Applied times-frac_binary64_14484.7
Final simplification4.7
herbie shell --seed 2020353
(FPCore (c0 A V l)
:name "Henrywood and Agarwal, Equation (3)"
:precision binary64
(* c0 (sqrt (/ A (* V l)))))