\[ \begin{array}{c}[V, l] = \mathsf{sort}([V, l])\\ \end{array} \]
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}
\]
↓
\[\begin{array}{l}
t_0 := c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\\
\mathbf{if}\;V \cdot \ell \leq -\infty:\\
\;\;\;\;c0 \cdot \sqrt{\frac{A}{\ell} \cdot \frac{1}{V}}\\
\mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-232}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;V \cdot \ell \leq 2 \cdot 10^{-160}:\\
\;\;\;\;c0 \cdot \sqrt{\frac{\frac{0.5}{\ell}}{\frac{\frac{2}{\frac{A}{V}}}{4}}}\\
\mathbf{elif}\;V \cdot \ell \leq 2 \cdot 10^{+164}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;c0 \cdot \sqrt{\frac{1}{\ell \cdot \frac{V}{A}}}\\
\end{array}
\]
(FPCore (c0 A V l) :precision binary64 (* c0 (sqrt (/ A (* V l)))))
↓
(FPCore (c0 A V l)
:precision binary64
(let* ((t_0 (* c0 (sqrt (/ A (* V l))))))
(if (<= (* V l) (- INFINITY))
(* c0 (sqrt (* (/ A l) (/ 1.0 V))))
(if (<= (* V l) -2e-232)
t_0
(if (<= (* V l) 2e-160)
(* c0 (sqrt (/ (/ 0.5 l) (/ (/ 2.0 (/ A V)) 4.0))))
(if (<= (* V l) 2e+164) t_0 (* c0 (sqrt (/ 1.0 (* l (/ V A)))))))))))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) {
double t_0 = c0 * sqrt((A / (V * l)));
double tmp;
if ((V * l) <= -((double) INFINITY)) {
tmp = c0 * sqrt(((A / l) * (1.0 / V)));
} else if ((V * l) <= -2e-232) {
tmp = t_0;
} else if ((V * l) <= 2e-160) {
tmp = c0 * sqrt(((0.5 / l) / ((2.0 / (A / V)) / 4.0)));
} else if ((V * l) <= 2e+164) {
tmp = t_0;
} else {
tmp = c0 * sqrt((1.0 / (l * (V / A))));
}
return tmp;
}
public static double code(double c0, double A, double V, double l) {
return c0 * Math.sqrt((A / (V * l)));
}
↓
public static double code(double c0, double A, double V, double l) {
double t_0 = c0 * Math.sqrt((A / (V * l)));
double tmp;
if ((V * l) <= -Double.POSITIVE_INFINITY) {
tmp = c0 * Math.sqrt(((A / l) * (1.0 / V)));
} else if ((V * l) <= -2e-232) {
tmp = t_0;
} else if ((V * l) <= 2e-160) {
tmp = c0 * Math.sqrt(((0.5 / l) / ((2.0 / (A / V)) / 4.0)));
} else if ((V * l) <= 2e+164) {
tmp = t_0;
} else {
tmp = c0 * Math.sqrt((1.0 / (l * (V / A))));
}
return tmp;
}
def code(c0, A, V, l):
return c0 * math.sqrt((A / (V * l)))
↓
def code(c0, A, V, l):
t_0 = c0 * math.sqrt((A / (V * l)))
tmp = 0
if (V * l) <= -math.inf:
tmp = c0 * math.sqrt(((A / l) * (1.0 / V)))
elif (V * l) <= -2e-232:
tmp = t_0
elif (V * l) <= 2e-160:
tmp = c0 * math.sqrt(((0.5 / l) / ((2.0 / (A / V)) / 4.0)))
elif (V * l) <= 2e+164:
tmp = t_0
else:
tmp = c0 * math.sqrt((1.0 / (l * (V / A))))
return tmp
function code(c0, A, V, l)
return Float64(c0 * sqrt(Float64(A / Float64(V * l))))
end
↓
function code(c0, A, V, l)
t_0 = Float64(c0 * sqrt(Float64(A / Float64(V * l))))
tmp = 0.0
if (Float64(V * l) <= Float64(-Inf))
tmp = Float64(c0 * sqrt(Float64(Float64(A / l) * Float64(1.0 / V))));
elseif (Float64(V * l) <= -2e-232)
tmp = t_0;
elseif (Float64(V * l) <= 2e-160)
tmp = Float64(c0 * sqrt(Float64(Float64(0.5 / l) / Float64(Float64(2.0 / Float64(A / V)) / 4.0))));
elseif (Float64(V * l) <= 2e+164)
tmp = t_0;
else
tmp = Float64(c0 * sqrt(Float64(1.0 / Float64(l * Float64(V / A)))));
end
return tmp
end
function tmp = code(c0, A, V, l)
tmp = c0 * sqrt((A / (V * l)));
end
↓
function tmp_2 = code(c0, A, V, l)
t_0 = c0 * sqrt((A / (V * l)));
tmp = 0.0;
if ((V * l) <= -Inf)
tmp = c0 * sqrt(((A / l) * (1.0 / V)));
elseif ((V * l) <= -2e-232)
tmp = t_0;
elseif ((V * l) <= 2e-160)
tmp = c0 * sqrt(((0.5 / l) / ((2.0 / (A / V)) / 4.0)));
elseif ((V * l) <= 2e+164)
tmp = t_0;
else
tmp = c0 * sqrt((1.0 / (l * (V / A))));
end
tmp_2 = tmp;
end
code[c0_, A_, V_, l_] := N[(c0 * N[Sqrt[N[(A / N[(V * l), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
↓
code[c0_, A_, V_, l_] := Block[{t$95$0 = N[(c0 * N[Sqrt[N[(A / N[(V * l), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(V * l), $MachinePrecision], (-Infinity)], N[(c0 * N[Sqrt[N[(N[(A / l), $MachinePrecision] * N[(1.0 / V), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(V * l), $MachinePrecision], -2e-232], t$95$0, If[LessEqual[N[(V * l), $MachinePrecision], 2e-160], N[(c0 * N[Sqrt[N[(N[(0.5 / l), $MachinePrecision] / N[(N[(2.0 / N[(A / V), $MachinePrecision]), $MachinePrecision] / 4.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(V * l), $MachinePrecision], 2e+164], t$95$0, N[(c0 * N[Sqrt[N[(1.0 / N[(l * N[(V / A), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]]]]
c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}
↓
\begin{array}{l}
t_0 := c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\\
\mathbf{if}\;V \cdot \ell \leq -\infty:\\
\;\;\;\;c0 \cdot \sqrt{\frac{A}{\ell} \cdot \frac{1}{V}}\\
\mathbf{elif}\;V \cdot \ell \leq -2 \cdot 10^{-232}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;V \cdot \ell \leq 2 \cdot 10^{-160}:\\
\;\;\;\;c0 \cdot \sqrt{\frac{\frac{0.5}{\ell}}{\frac{\frac{2}{\frac{A}{V}}}{4}}}\\
\mathbf{elif}\;V \cdot \ell \leq 2 \cdot 10^{+164}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;c0 \cdot \sqrt{\frac{1}{\ell \cdot \frac{V}{A}}}\\
\end{array}