\[\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 := y \cdot \left(-8 \cdot \frac{\frac{y}{x}}{x}\right) + 1\\
t_1 := x \cdot x + y \cdot \left(y \cdot -4\right)\\
\mathbf{if}\;x \leq -6.52149901714685 \cdot 10^{+76}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq -1.65619803553909 \cdot 10^{+20}:\\
\;\;\;\;x \cdot \left(\frac{x}{y} \cdot \frac{0.5}{y}\right) + -1\\
\mathbf{elif}\;x \leq -6.083711632496062 \cdot 10^{-117}:\\
\;\;\;\;\frac{t_1}{\mathsf{fma}\left(y \cdot 4, y, x \cdot x\right)}\\
\mathbf{elif}\;x \leq 2.154926067516473 \cdot 10^{-167}:\\
\;\;\;\;\mathsf{fma}\left(\frac{x}{\frac{y}{x}}, \frac{0.5}{y}, -1\right)\\
\mathbf{elif}\;x \leq 3.4827611715710376 \cdot 10^{+86}:\\
\;\;\;\;\frac{t_1}{x \cdot x + y \cdot \left(y \cdot 4\right)}\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\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 = (y * (-8.0 * ((y / x) / x))) + 1.0;
double t_1 = (x * x) + (y * (y * -4.0));
double tmp;
if (x <= -6.52149901714685e+76) {
tmp = t_0;
} else if (x <= -1.65619803553909e+20) {
tmp = (x * ((x / y) * (0.5 / y))) + -1.0;
} else if (x <= -6.083711632496062e-117) {
tmp = t_1 / fma((y * 4.0), y, (x * x));
} else if (x <= 2.154926067516473e-167) {
tmp = fma((x / (y / x)), (0.5 / y), -1.0);
} else if (x <= 3.4827611715710376e+86) {
tmp = t_1 / ((x * x) + (y * (y * 4.0)));
} else {
tmp = t_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(y * Float64(-8.0 * Float64(Float64(y / x) / x))) + 1.0)
t_1 = Float64(Float64(x * x) + Float64(y * Float64(y * -4.0)))
tmp = 0.0
if (x <= -6.52149901714685e+76)
tmp = t_0;
elseif (x <= -1.65619803553909e+20)
tmp = Float64(Float64(x * Float64(Float64(x / y) * Float64(0.5 / y))) + -1.0);
elseif (x <= -6.083711632496062e-117)
tmp = Float64(t_1 / fma(Float64(y * 4.0), y, Float64(x * x)));
elseif (x <= 2.154926067516473e-167)
tmp = fma(Float64(x / Float64(y / x)), Float64(0.5 / y), -1.0);
elseif (x <= 3.4827611715710376e+86)
tmp = Float64(t_1 / Float64(Float64(x * x) + Float64(y * Float64(y * 4.0))));
else
tmp = t_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[(y * N[(-8.0 * N[(N[(y / x), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]}, Block[{t$95$1 = N[(N[(x * x), $MachinePrecision] + N[(y * N[(y * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -6.52149901714685e+76], t$95$0, If[LessEqual[x, -1.65619803553909e+20], N[(N[(x * N[(N[(x / y), $MachinePrecision] * N[(0.5 / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + -1.0), $MachinePrecision], If[LessEqual[x, -6.083711632496062e-117], N[(t$95$1 / N[(N[(y * 4.0), $MachinePrecision] * y + N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.154926067516473e-167], N[(N[(x / N[(y / x), $MachinePrecision]), $MachinePrecision] * N[(0.5 / y), $MachinePrecision] + -1.0), $MachinePrecision], If[LessEqual[x, 3.4827611715710376e+86], N[(t$95$1 / N[(N[(x * x), $MachinePrecision] + N[(y * N[(y * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$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 := y \cdot \left(-8 \cdot \frac{\frac{y}{x}}{x}\right) + 1\\
t_1 := x \cdot x + y \cdot \left(y \cdot -4\right)\\
\mathbf{if}\;x \leq -6.52149901714685 \cdot 10^{+76}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq -1.65619803553909 \cdot 10^{+20}:\\
\;\;\;\;x \cdot \left(\frac{x}{y} \cdot \frac{0.5}{y}\right) + -1\\
\mathbf{elif}\;x \leq -6.083711632496062 \cdot 10^{-117}:\\
\;\;\;\;\frac{t_1}{\mathsf{fma}\left(y \cdot 4, y, x \cdot x\right)}\\
\mathbf{elif}\;x \leq 2.154926067516473 \cdot 10^{-167}:\\
\;\;\;\;\mathsf{fma}\left(\frac{x}{\frac{y}{x}}, \frac{0.5}{y}, -1\right)\\
\mathbf{elif}\;x \leq 3.4827611715710376 \cdot 10^{+86}:\\
\;\;\;\;\frac{t_1}{x \cdot x + y \cdot \left(y \cdot 4\right)}\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}