\[\frac{\left(x \cdot 2\right) \cdot y}{x - y}
\]
↓
\[\begin{array}{l}
t_0 := \frac{\left(x \cdot 2\right) \cdot y}{x - y}\\
\mathbf{if}\;t_0 \leq -\infty:\\
\;\;\;\;-2 \cdot x\\
\mathbf{elif}\;t_0 \leq -4 \cdot 10^{-307}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;t_0 \leq 0:\\
\;\;\;\;2 \cdot y\\
\mathbf{elif}\;t_0 \leq 10^{+143}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;2 \cdot y\\
\end{array}
\]
(FPCore (x y) :precision binary64 (/ (* (* x 2.0) y) (- x y)))
↓
(FPCore (x y)
:precision binary64
(let* ((t_0 (/ (* (* x 2.0) y) (- x y))))
(if (<= t_0 (- INFINITY))
(* -2.0 x)
(if (<= t_0 -4e-307)
t_0
(if (<= t_0 0.0) (* 2.0 y) (if (<= t_0 1e+143) t_0 (* 2.0 y)))))))double code(double x, double y) {
return ((x * 2.0) * y) / (x - y);
}
↓
double code(double x, double y) {
double t_0 = ((x * 2.0) * y) / (x - y);
double tmp;
if (t_0 <= -((double) INFINITY)) {
tmp = -2.0 * x;
} else if (t_0 <= -4e-307) {
tmp = t_0;
} else if (t_0 <= 0.0) {
tmp = 2.0 * y;
} else if (t_0 <= 1e+143) {
tmp = t_0;
} else {
tmp = 2.0 * y;
}
return tmp;
}
public static double code(double x, double y) {
return ((x * 2.0) * y) / (x - y);
}
↓
public static double code(double x, double y) {
double t_0 = ((x * 2.0) * y) / (x - y);
double tmp;
if (t_0 <= -Double.POSITIVE_INFINITY) {
tmp = -2.0 * x;
} else if (t_0 <= -4e-307) {
tmp = t_0;
} else if (t_0 <= 0.0) {
tmp = 2.0 * y;
} else if (t_0 <= 1e+143) {
tmp = t_0;
} else {
tmp = 2.0 * y;
}
return tmp;
}
def code(x, y):
return ((x * 2.0) * y) / (x - y)
↓
def code(x, y):
t_0 = ((x * 2.0) * y) / (x - y)
tmp = 0
if t_0 <= -math.inf:
tmp = -2.0 * x
elif t_0 <= -4e-307:
tmp = t_0
elif t_0 <= 0.0:
tmp = 2.0 * y
elif t_0 <= 1e+143:
tmp = t_0
else:
tmp = 2.0 * y
return tmp
function code(x, y)
return Float64(Float64(Float64(x * 2.0) * y) / Float64(x - y))
end
↓
function code(x, y)
t_0 = Float64(Float64(Float64(x * 2.0) * y) / Float64(x - y))
tmp = 0.0
if (t_0 <= Float64(-Inf))
tmp = Float64(-2.0 * x);
elseif (t_0 <= -4e-307)
tmp = t_0;
elseif (t_0 <= 0.0)
tmp = Float64(2.0 * y);
elseif (t_0 <= 1e+143)
tmp = t_0;
else
tmp = Float64(2.0 * y);
end
return tmp
end
function tmp = code(x, y)
tmp = ((x * 2.0) * y) / (x - y);
end
↓
function tmp_2 = code(x, y)
t_0 = ((x * 2.0) * y) / (x - y);
tmp = 0.0;
if (t_0 <= -Inf)
tmp = -2.0 * x;
elseif (t_0 <= -4e-307)
tmp = t_0;
elseif (t_0 <= 0.0)
tmp = 2.0 * y;
elseif (t_0 <= 1e+143)
tmp = t_0;
else
tmp = 2.0 * y;
end
tmp_2 = tmp;
end
code[x_, y_] := N[(N[(N[(x * 2.0), $MachinePrecision] * y), $MachinePrecision] / N[(x - y), $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_] := Block[{t$95$0 = N[(N[(N[(x * 2.0), $MachinePrecision] * y), $MachinePrecision] / N[(x - y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$0, (-Infinity)], N[(-2.0 * x), $MachinePrecision], If[LessEqual[t$95$0, -4e-307], t$95$0, If[LessEqual[t$95$0, 0.0], N[(2.0 * y), $MachinePrecision], If[LessEqual[t$95$0, 1e+143], t$95$0, N[(2.0 * y), $MachinePrecision]]]]]]
\frac{\left(x \cdot 2\right) \cdot y}{x - y}
↓
\begin{array}{l}
t_0 := \frac{\left(x \cdot 2\right) \cdot y}{x - y}\\
\mathbf{if}\;t_0 \leq -\infty:\\
\;\;\;\;-2 \cdot x\\
\mathbf{elif}\;t_0 \leq -4 \cdot 10^{-307}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;t_0 \leq 0:\\
\;\;\;\;2 \cdot y\\
\mathbf{elif}\;t_0 \leq 10^{+143}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;2 \cdot y\\
\end{array}