\[\frac{x \cdot x - \left(y \cdot 4\right) \cdot y}{x \cdot x + \left(y \cdot 4\right) \cdot y}
\]
↓
\[\begin{array}{l}
t_0 := \frac{x}{\frac{1}{x} \cdot \left(y \cdot \left(y \cdot 4\right)\right) + \frac{1}{x} \cdot \left(x \cdot x\right)} - \frac{y}{y + \left(x \cdot x\right) \cdot \frac{0.25}{y}}\\
t_1 := \sqrt[3]{-1 + {\left(\frac{x}{y}\right)}^{4} \cdot 0.0625}\\
\mathbf{if}\;x \leq -1.35 \cdot 10^{+154}:\\
\;\;\;\;1\\
\mathbf{elif}\;x \leq -1.65 \cdot 10^{-142}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq 4.4 \cdot 10^{-182}:\\
\;\;\;\;\frac{t_1 \cdot t_1}{\frac{\mathsf{fma}\left({\left(\frac{x}{y}\right)}^{2}, 0.25, 1\right)}{t_1}}\\
\mathbf{elif}\;x \leq 6.2 \cdot 10^{+106}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
double code(double x, double y) {
return ((x * x) - ((y * 4.0) * y)) / ((x * x) + ((y * 4.0) * y));
}
↓
double code(double x, double y) {
double t_0 = (x / (((1.0 / x) * (y * (y * 4.0))) + ((1.0 / x) * (x * x)))) - (y / (y + ((x * x) * (0.25 / y))));
double t_1 = cbrt((-1.0 + (pow((x / y), 4.0) * 0.0625)));
double tmp;
if (x <= -1.35e+154) {
tmp = 1.0;
} else if (x <= -1.65e-142) {
tmp = t_0;
} else if (x <= 4.4e-182) {
tmp = (t_1 * t_1) / (fma(pow((x / y), 2.0), 0.25, 1.0) / t_1);
} else if (x <= 6.2e+106) {
tmp = t_0;
} else {
tmp = 1.0;
}
return tmp;
}
function code(x, y)
return Float64(Float64(Float64(x * x) - Float64(Float64(y * 4.0) * y)) / Float64(Float64(x * x) + Float64(Float64(y * 4.0) * y)))
end
↓
function code(x, y)
t_0 = Float64(Float64(x / Float64(Float64(Float64(1.0 / x) * Float64(y * Float64(y * 4.0))) + Float64(Float64(1.0 / x) * Float64(x * x)))) - Float64(y / Float64(y + Float64(Float64(x * x) * Float64(0.25 / y)))))
t_1 = cbrt(Float64(-1.0 + Float64((Float64(x / y) ^ 4.0) * 0.0625)))
tmp = 0.0
if (x <= -1.35e+154)
tmp = 1.0;
elseif (x <= -1.65e-142)
tmp = t_0;
elseif (x <= 4.4e-182)
tmp = Float64(Float64(t_1 * t_1) / Float64(fma((Float64(x / y) ^ 2.0), 0.25, 1.0) / t_1));
elseif (x <= 6.2e+106)
tmp = t_0;
else
tmp = 1.0;
end
return tmp
end
code[x_, y_] := N[(N[(N[(x * x), $MachinePrecision] - N[(N[(y * 4.0), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(N[(x * x), $MachinePrecision] + N[(N[(y * 4.0), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_] := Block[{t$95$0 = N[(N[(x / N[(N[(N[(1.0 / x), $MachinePrecision] * N[(y * N[(y * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(1.0 / x), $MachinePrecision] * N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y / N[(y + N[(N[(x * x), $MachinePrecision] * N[(0.25 / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[Power[N[(-1.0 + N[(N[Power[N[(x / y), $MachinePrecision], 4.0], $MachinePrecision] * 0.0625), $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision]}, If[LessEqual[x, -1.35e+154], 1.0, If[LessEqual[x, -1.65e-142], t$95$0, If[LessEqual[x, 4.4e-182], N[(N[(t$95$1 * t$95$1), $MachinePrecision] / N[(N[(N[Power[N[(x / y), $MachinePrecision], 2.0], $MachinePrecision] * 0.25 + 1.0), $MachinePrecision] / t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.2e+106], t$95$0, 1.0]]]]]]
\frac{x \cdot x - \left(y \cdot 4\right) \cdot y}{x \cdot x + \left(y \cdot 4\right) \cdot y}
↓
\begin{array}{l}
t_0 := \frac{x}{\frac{1}{x} \cdot \left(y \cdot \left(y \cdot 4\right)\right) + \frac{1}{x} \cdot \left(x \cdot x\right)} - \frac{y}{y + \left(x \cdot x\right) \cdot \frac{0.25}{y}}\\
t_1 := \sqrt[3]{-1 + {\left(\frac{x}{y}\right)}^{4} \cdot 0.0625}\\
\mathbf{if}\;x \leq -1.35 \cdot 10^{+154}:\\
\;\;\;\;1\\
\mathbf{elif}\;x \leq -1.65 \cdot 10^{-142}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq 4.4 \cdot 10^{-182}:\\
\;\;\;\;\frac{t_1 \cdot t_1}{\frac{\mathsf{fma}\left({\left(\frac{x}{y}\right)}^{2}, 0.25, 1\right)}{t_1}}\\
\mathbf{elif}\;x \leq 6.2 \cdot 10^{+106}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}