double code(double c0, double A, double V, double l) {
return ((double) (c0 * ((double) sqrt(((double) (A / ((double) (V * l))))))));
}
double code(double c0, double A, double V, double l) {
return ((double) (((double) (((double) fabs(((double) (((double) cbrt(A)) / ((double) (((double) cbrt(l)) * ((double) cbrt(V)))))))) * c0)) * ((double) sqrt(((double) (((double) (((double) cbrt(A)) / ((double) cbrt(V)))) / ((double) cbrt(l))))))));
}



Bits error versus c0



Bits error versus A



Bits error versus V



Bits error versus l
Results
Initial program 18.8
rmApplied associate-/r*19.1
rmApplied add-cube-cbrt19.4
Applied add-cube-cbrt19.5
Applied add-cube-cbrt19.6
Applied times-frac19.6
Applied times-frac15.3
Applied sqrt-prod6.7
Applied associate-*r*6.7
Simplified1.1
Final simplification1.1
herbie shell --seed 2020191
(FPCore (c0 A V l)
:name "Henrywood and Agarwal, Equation (3)"
:precision binary64
(* c0 (sqrt (/ A (* V l)))))