\[ \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}}\\
t_1 := c0 \cdot \sqrt{\frac{\frac{A}{V}}{\ell}}\\
\mathbf{if}\;V \cdot \ell \leq -\infty:\\
\;\;\;\;t_1\\
\mathbf{elif}\;V \cdot \ell \leq -5 \cdot 10^{-204}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;V \cdot \ell \leq 10^{-271}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;V \cdot \ell \leq 5 \cdot 10^{+147}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\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))))) (t_1 (* c0 (sqrt (/ (/ A V) l)))))
(if (<= (* V l) (- INFINITY))
t_1
(if (<= (* V l) -5e-204)
t_0
(if (<= (* V l) 1e-271) t_1 (if (<= (* V l) 5e+147) t_0 t_1))))))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 t_1 = c0 * sqrt(((A / V) / l));
double tmp;
if ((V * l) <= -((double) INFINITY)) {
tmp = t_1;
} else if ((V * l) <= -5e-204) {
tmp = t_0;
} else if ((V * l) <= 1e-271) {
tmp = t_1;
} else if ((V * l) <= 5e+147) {
tmp = t_0;
} else {
tmp = t_1;
}
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 t_1 = c0 * Math.sqrt(((A / V) / l));
double tmp;
if ((V * l) <= -Double.POSITIVE_INFINITY) {
tmp = t_1;
} else if ((V * l) <= -5e-204) {
tmp = t_0;
} else if ((V * l) <= 1e-271) {
tmp = t_1;
} else if ((V * l) <= 5e+147) {
tmp = t_0;
} else {
tmp = t_1;
}
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)))
t_1 = c0 * math.sqrt(((A / V) / l))
tmp = 0
if (V * l) <= -math.inf:
tmp = t_1
elif (V * l) <= -5e-204:
tmp = t_0
elif (V * l) <= 1e-271:
tmp = t_1
elif (V * l) <= 5e+147:
tmp = t_0
else:
tmp = t_1
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))))
t_1 = Float64(c0 * sqrt(Float64(Float64(A / V) / l)))
tmp = 0.0
if (Float64(V * l) <= Float64(-Inf))
tmp = t_1;
elseif (Float64(V * l) <= -5e-204)
tmp = t_0;
elseif (Float64(V * l) <= 1e-271)
tmp = t_1;
elseif (Float64(V * l) <= 5e+147)
tmp = t_0;
else
tmp = t_1;
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)));
t_1 = c0 * sqrt(((A / V) / l));
tmp = 0.0;
if ((V * l) <= -Inf)
tmp = t_1;
elseif ((V * l) <= -5e-204)
tmp = t_0;
elseif ((V * l) <= 1e-271)
tmp = t_1;
elseif ((V * l) <= 5e+147)
tmp = t_0;
else
tmp = t_1;
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]}, Block[{t$95$1 = N[(c0 * N[Sqrt[N[(N[(A / V), $MachinePrecision] / l), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(V * l), $MachinePrecision], (-Infinity)], t$95$1, If[LessEqual[N[(V * l), $MachinePrecision], -5e-204], t$95$0, If[LessEqual[N[(V * l), $MachinePrecision], 1e-271], t$95$1, If[LessEqual[N[(V * l), $MachinePrecision], 5e+147], t$95$0, t$95$1]]]]]]
c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}
↓
\begin{array}{l}
t_0 := c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\\
t_1 := c0 \cdot \sqrt{\frac{\frac{A}{V}}{\ell}}\\
\mathbf{if}\;V \cdot \ell \leq -\infty:\\
\;\;\;\;t_1\\
\mathbf{elif}\;V \cdot \ell \leq -5 \cdot 10^{-204}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;V \cdot \ell \leq 10^{-271}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;V \cdot \ell \leq 5 \cdot 10^{+147}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}