\[ \begin{array}{c}[x, y] = \mathsf{sort}([x, y])\\ \end{array} \]
Math FPCore C Fortran Java Python Julia MATLAB Wolfram TeX \[\frac{\frac{1}{x}}{y \cdot \left(1 + z \cdot z\right)}
\]
↓
\[\begin{array}{l}
t_0 := 1 + z \cdot z\\
\mathbf{if}\;x \leq -1.5 \cdot 10^{+84}:\\
\;\;\;\;\frac{\frac{1}{x}}{y \cdot t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{1}{y}}{x \cdot t_0}\\
\end{array}
\]
(FPCore (x y z) :precision binary64 (/ (/ 1.0 x) (* y (+ 1.0 (* z z))))) ↓
(FPCore (x y z)
:precision binary64
(let* ((t_0 (+ 1.0 (* z z))))
(if (<= x -1.5e+84) (/ (/ 1.0 x) (* y t_0)) (/ (/ 1.0 y) (* x t_0))))) double code(double x, double y, double z) {
return (1.0 / x) / (y * (1.0 + (z * z)));
}
↓
double code(double x, double y, double z) {
double t_0 = 1.0 + (z * z);
double tmp;
if (x <= -1.5e+84) {
tmp = (1.0 / x) / (y * t_0);
} else {
tmp = (1.0 / y) / (x * t_0);
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (1.0d0 / x) / (y * (1.0d0 + (z * z)))
end function
↓
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: t_0
real(8) :: tmp
t_0 = 1.0d0 + (z * z)
if (x <= (-1.5d+84)) then
tmp = (1.0d0 / x) / (y * t_0)
else
tmp = (1.0d0 / y) / (x * t_0)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
return (1.0 / x) / (y * (1.0 + (z * z)));
}
↓
public static double code(double x, double y, double z) {
double t_0 = 1.0 + (z * z);
double tmp;
if (x <= -1.5e+84) {
tmp = (1.0 / x) / (y * t_0);
} else {
tmp = (1.0 / y) / (x * t_0);
}
return tmp;
}
def code(x, y, z):
return (1.0 / x) / (y * (1.0 + (z * z)))
↓
def code(x, y, z):
t_0 = 1.0 + (z * z)
tmp = 0
if x <= -1.5e+84:
tmp = (1.0 / x) / (y * t_0)
else:
tmp = (1.0 / y) / (x * t_0)
return tmp
function code(x, y, z)
return Float64(Float64(1.0 / x) / Float64(y * Float64(1.0 + Float64(z * z))))
end
↓
function code(x, y, z)
t_0 = Float64(1.0 + Float64(z * z))
tmp = 0.0
if (x <= -1.5e+84)
tmp = Float64(Float64(1.0 / x) / Float64(y * t_0));
else
tmp = Float64(Float64(1.0 / y) / Float64(x * t_0));
end
return tmp
end
function tmp = code(x, y, z)
tmp = (1.0 / x) / (y * (1.0 + (z * z)));
end
↓
function tmp_2 = code(x, y, z)
t_0 = 1.0 + (z * z);
tmp = 0.0;
if (x <= -1.5e+84)
tmp = (1.0 / x) / (y * t_0);
else
tmp = (1.0 / y) / (x * t_0);
end
tmp_2 = tmp;
end
code[x_, y_, z_] := N[(N[(1.0 / x), $MachinePrecision] / N[(y * N[(1.0 + N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_, z_] := Block[{t$95$0 = N[(1.0 + N[(z * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.5e+84], N[(N[(1.0 / x), $MachinePrecision] / N[(y * t$95$0), $MachinePrecision]), $MachinePrecision], N[(N[(1.0 / y), $MachinePrecision] / N[(x * t$95$0), $MachinePrecision]), $MachinePrecision]]]
\frac{\frac{1}{x}}{y \cdot \left(1 + z \cdot z\right)}
↓
\begin{array}{l}
t_0 := 1 + z \cdot z\\
\mathbf{if}\;x \leq -1.5 \cdot 10^{+84}:\\
\;\;\;\;\frac{\frac{1}{x}}{y \cdot t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{1}{y}}{x \cdot t_0}\\
\end{array}
Alternatives Alternative 1 Error 20.4 Cost 840
\[\begin{array}{l}
t_0 := -1 + \left(1 - \frac{\frac{-1}{y}}{x}\right)\\
\mathbf{if}\;z \leq -1.35 \cdot 10^{+45}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;z \leq 24000000000:\\
\;\;\;\;\frac{\frac{1}{y}}{x}\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
Alternative 2 Error 20.4 Cost 840
\[\begin{array}{l}
\mathbf{if}\;z \leq -1.35 \cdot 10^{+45}:\\
\;\;\;\;-1 + \left(1 - \frac{\frac{-1}{y}}{x}\right)\\
\mathbf{elif}\;z \leq 1.65 \cdot 10^{+15}:\\
\;\;\;\;\frac{\frac{1}{y}}{x}\\
\mathbf{else}:\\
\;\;\;\;1 - \left(1 + \frac{-1}{y \cdot x}\right)\\
\end{array}
\]
Alternative 3 Error 5.0 Cost 836
\[\begin{array}{l}
t_0 := 1 + z \cdot z\\
\mathbf{if}\;y \leq 2 \cdot 10^{-50}:\\
\;\;\;\;\frac{1}{x \cdot \left(y \cdot t_0\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{t_0 \cdot \left(x \cdot y\right)}\\
\end{array}
\]
Alternative 4 Error 4.9 Cost 836
\[\begin{array}{l}
t_0 := 1 + z \cdot z\\
\mathbf{if}\;y \leq 1.25 \cdot 10^{-47}:\\
\;\;\;\;\frac{\frac{1}{x}}{y \cdot t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{t_0 \cdot \left(x \cdot y\right)}\\
\end{array}
\]
Alternative 5 Error 25.6 Cost 712
\[\begin{array}{l}
t_0 := \frac{x}{x \cdot \left(x \cdot y\right)}\\
\mathbf{if}\;z \leq -1.6 \cdot 10^{+65}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;z \leq 2.65 \cdot 10^{+14}:\\
\;\;\;\;\frac{\frac{1}{y}}{x}\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
Alternative 6 Error 25.4 Cost 712
\[\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{+65}:\\
\;\;\;\;\frac{y}{y \cdot \left(y \cdot x\right)}\\
\mathbf{elif}\;z \leq 2.5 \cdot 10^{+15}:\\
\;\;\;\;\frac{\frac{1}{y}}{x}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x \cdot \left(x \cdot y\right)}\\
\end{array}
\]
Alternative 7 Error 6.3 Cost 704
\[\frac{1}{x \cdot \left(y \cdot \left(1 + z \cdot z\right)\right)}
\]
Alternative 8 Error 28.6 Cost 320
\[\frac{1}{y \cdot x}
\]