c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\begin{array}{l}
\mathbf{if}\;V \cdot \ell \le -4.0254141507214393 \cdot 10^{99}:\\
\;\;\;\;c0 \cdot \sqrt{\frac{1}{V} \cdot \frac{A}{\ell}}\\
\mathbf{elif}\;V \cdot \ell \le -1.3926274061905453 \cdot 10^{-77}:\\
\;\;\;\;\left(\left|\sqrt[3]{\frac{A}{V \cdot \ell}}\right| \cdot c0\right) \cdot \sqrt{\sqrt[3]{\frac{A}{V \cdot \ell}}}\\
\mathbf{elif}\;V \cdot \ell \le -1.55927 \cdot 10^{-320}:\\
\;\;\;\;c0 \cdot \sqrt{\frac{A}{V} \cdot \frac{1}{\ell}}\\
\mathbf{elif}\;V \cdot \ell \le 1.50349399394837436 \cdot 10^{-304}:\\
\;\;\;\;\frac{c0 \cdot \sqrt{\frac{A}{V}}}{\sqrt{\ell}}\\
\mathbf{elif}\;V \cdot \ell \le 1.3905296973911986 \cdot 10^{296}:\\
\;\;\;\;c0 \cdot \left(\sqrt{A} \cdot \sqrt{\frac{1}{V \cdot \ell}}\right)\\
\mathbf{else}:\\
\;\;\;\;c0 \cdot \frac{\left|\frac{\sqrt[3]{A}}{\sqrt[3]{\ell}} \cdot {A}^{\frac{1}{6}}\right|}{\sqrt{V \cdot \sqrt[3]{\ell}}}\\
\end{array}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) {
double VAR;
if ((((double) (V * l)) <= -4.0254141507214393e+99)) {
VAR = ((double) (c0 * ((double) sqrt(((double) (((double) (1.0 / V)) * ((double) (A / l))))))));
} else {
double VAR_1;
if ((((double) (V * l)) <= -1.3926274061905453e-77)) {
VAR_1 = ((double) (((double) (((double) fabs(((double) cbrt(((double) (A / ((double) (V * l)))))))) * c0)) * ((double) sqrt(((double) cbrt(((double) (A / ((double) (V * l))))))))));
} else {
double VAR_2;
if ((((double) (V * l)) <= -1.559271178275e-320)) {
VAR_2 = ((double) (c0 * ((double) sqrt(((double) (((double) (A / V)) * ((double) (1.0 / l))))))));
} else {
double VAR_3;
if ((((double) (V * l)) <= 1.5034939939483744e-304)) {
VAR_3 = ((double) (((double) (c0 * ((double) sqrt(((double) (A / V)))))) / ((double) sqrt(l))));
} else {
double VAR_4;
if ((((double) (V * l)) <= 1.3905296973911986e+296)) {
VAR_4 = ((double) (c0 * ((double) (((double) sqrt(A)) * ((double) sqrt(((double) (1.0 / ((double) (V * l))))))))));
} else {
VAR_4 = ((double) (c0 * ((double) (((double) fabs(((double) (((double) (((double) cbrt(A)) / ((double) cbrt(l)))) * ((double) pow(A, 0.16666666666666666)))))) / ((double) sqrt(((double) (V * ((double) cbrt(l))))))))));
}
VAR_3 = VAR_4;
}
VAR_2 = VAR_3;
}
VAR_1 = VAR_2;
}
VAR = VAR_1;
}
return VAR;
}



Bits error versus c0



Bits error versus A



Bits error versus V



Bits error versus l
Results
if (* V l) < -4.0254141507214393e+99Initial program 22.9
rmApplied *-un-lft-identity22.9
Applied times-frac19.0
if -4.0254141507214393e+99 < (* V l) < -1.3926274061905453e-77Initial program 3.2
rmApplied add-cube-cbrt3.7
Applied sqrt-prod3.7
Applied associate-*r*3.7
Simplified3.7
if -1.3926274061905453e-77 < (* V l) < -1.559271178275e-320Initial program 16.4
rmApplied *-un-lft-identity16.4
Applied times-frac20.5
rmApplied div-inv20.5
Applied associate-*r*19.9
Simplified19.9
if -1.559271178275e-320 < (* V l) < 1.5034939939483744e-304Initial program 62.0
rmApplied *-un-lft-identity62.0
Applied times-frac39.9
rmApplied div-inv40.0
Applied associate-*r*39.9
Simplified39.9
rmApplied un-div-inv39.9
Applied sqrt-div39.7
Applied associate-*r/40.0
if 1.5034939939483744e-304 < (* V l) < 1.3905296973911986e+296Initial program 9.4
rmApplied div-inv9.4
Applied sqrt-prod0.4
if 1.3905296973911986e+296 < (* V l) Initial program 40.5
rmApplied *-un-lft-identity40.5
Applied times-frac24.2
rmApplied add-cube-cbrt24.4
Applied add-cube-cbrt24.4
Applied times-frac24.4
Applied associate-*r*24.4
Simplified24.4
rmApplied frac-times28.7
Applied sqrt-div17.0
Simplified16.2
Final simplification11.9
herbie shell --seed 2020130
(FPCore (c0 A V l)
:name "Henrywood and Agarwal, Equation (3)"
:precision binary64
(* c0 (sqrt (/ A (* V l)))))