Math FPCore C Fortran Java Python Julia MATLAB Wolfram TeX \[\left(x - \frac{y}{z \cdot 3}\right) + \frac{t}{\left(z \cdot 3\right) \cdot y}
\]
↓
\[\begin{array}{l}
t_1 := x - \frac{y}{z \cdot 3}\\
\mathbf{if}\;t \leq -6.4 \cdot 10^{+78}:\\
\;\;\;\;t_1 + \frac{t}{y \cdot \left(z \cdot 3\right)}\\
\mathbf{elif}\;t \leq 4.5 \cdot 10^{-73}:\\
\;\;\;\;x + \frac{\frac{y - \frac{t}{y}}{z}}{-3}\\
\mathbf{else}:\\
\;\;\;\;t_1 + \frac{\frac{t}{z \cdot 3}}{y}\\
\end{array}
\]
(FPCore (x y z t)
:precision binary64
(+ (- x (/ y (* z 3.0))) (/ t (* (* z 3.0) y)))) ↓
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (- x (/ y (* z 3.0)))))
(if (<= t -6.4e+78)
(+ t_1 (/ t (* y (* z 3.0))))
(if (<= t 4.5e-73)
(+ x (/ (/ (- y (/ t y)) z) -3.0))
(+ t_1 (/ (/ t (* z 3.0)) y)))))) double code(double x, double y, double z, double t) {
return (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y));
}
↓
double code(double x, double y, double z, double t) {
double t_1 = x - (y / (z * 3.0));
double tmp;
if (t <= -6.4e+78) {
tmp = t_1 + (t / (y * (z * 3.0)));
} else if (t <= 4.5e-73) {
tmp = x + (((y - (t / y)) / z) / -3.0);
} else {
tmp = t_1 + ((t / (z * 3.0)) / y);
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = (x - (y / (z * 3.0d0))) + (t / ((z * 3.0d0) * y))
end function
↓
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = x - (y / (z * 3.0d0))
if (t <= (-6.4d+78)) then
tmp = t_1 + (t / (y * (z * 3.0d0)))
else if (t <= 4.5d-73) then
tmp = x + (((y - (t / y)) / z) / (-3.0d0))
else
tmp = t_1 + ((t / (z * 3.0d0)) / y)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
return (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y));
}
↓
public static double code(double x, double y, double z, double t) {
double t_1 = x - (y / (z * 3.0));
double tmp;
if (t <= -6.4e+78) {
tmp = t_1 + (t / (y * (z * 3.0)));
} else if (t <= 4.5e-73) {
tmp = x + (((y - (t / y)) / z) / -3.0);
} else {
tmp = t_1 + ((t / (z * 3.0)) / y);
}
return tmp;
}
def code(x, y, z, t):
return (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y))
↓
def code(x, y, z, t):
t_1 = x - (y / (z * 3.0))
tmp = 0
if t <= -6.4e+78:
tmp = t_1 + (t / (y * (z * 3.0)))
elif t <= 4.5e-73:
tmp = x + (((y - (t / y)) / z) / -3.0)
else:
tmp = t_1 + ((t / (z * 3.0)) / y)
return tmp
function code(x, y, z, t)
return Float64(Float64(x - Float64(y / Float64(z * 3.0))) + Float64(t / Float64(Float64(z * 3.0) * y)))
end
↓
function code(x, y, z, t)
t_1 = Float64(x - Float64(y / Float64(z * 3.0)))
tmp = 0.0
if (t <= -6.4e+78)
tmp = Float64(t_1 + Float64(t / Float64(y * Float64(z * 3.0))));
elseif (t <= 4.5e-73)
tmp = Float64(x + Float64(Float64(Float64(y - Float64(t / y)) / z) / -3.0));
else
tmp = Float64(t_1 + Float64(Float64(t / Float64(z * 3.0)) / y));
end
return tmp
end
function tmp = code(x, y, z, t)
tmp = (x - (y / (z * 3.0))) + (t / ((z * 3.0) * y));
end
↓
function tmp_2 = code(x, y, z, t)
t_1 = x - (y / (z * 3.0));
tmp = 0.0;
if (t <= -6.4e+78)
tmp = t_1 + (t / (y * (z * 3.0)));
elseif (t <= 4.5e-73)
tmp = x + (((y - (t / y)) / z) / -3.0);
else
tmp = t_1 + ((t / (z * 3.0)) / y);
end
tmp_2 = tmp;
end
code[x_, y_, z_, t_] := N[(N[(x - N[(y / N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t / N[(N[(z * 3.0), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x - N[(y / N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -6.4e+78], N[(t$95$1 + N[(t / N[(y * N[(z * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.5e-73], N[(x + N[(N[(N[(y - N[(t / y), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision] / -3.0), $MachinePrecision]), $MachinePrecision], N[(t$95$1 + N[(N[(t / N[(z * 3.0), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]]]
\left(x - \frac{y}{z \cdot 3}\right) + \frac{t}{\left(z \cdot 3\right) \cdot y}
↓
\begin{array}{l}
t_1 := x - \frac{y}{z \cdot 3}\\
\mathbf{if}\;t \leq -6.4 \cdot 10^{+78}:\\
\;\;\;\;t_1 + \frac{t}{y \cdot \left(z \cdot 3\right)}\\
\mathbf{elif}\;t \leq 4.5 \cdot 10^{-73}:\\
\;\;\;\;x + \frac{\frac{y - \frac{t}{y}}{z}}{-3}\\
\mathbf{else}:\\
\;\;\;\;t_1 + \frac{\frac{t}{z \cdot 3}}{y}\\
\end{array}
Alternatives Alternative 1 Error 0.5 Cost 1481
\[\begin{array}{l}
\mathbf{if}\;z \cdot 3 \leq -1 \cdot 10^{+18} \lor \neg \left(z \cdot 3 \leq 2 \cdot 10^{-97}\right):\\
\;\;\;\;\left(x - \frac{y}{z \cdot 3}\right) + \frac{t}{y \cdot \left(z \cdot 3\right)}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{\frac{y - \frac{t}{y}}{z}}{-3}\\
\end{array}
\]
Alternative 2 Error 29.4 Cost 980
\[\begin{array}{l}
t_1 := 0.3333333333333333 \cdot \frac{t}{y \cdot z}\\
\mathbf{if}\;x \leq -3.5 \cdot 10^{+57}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq -3.5 \cdot 10^{-211}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 2.6 \cdot 10^{-197}:\\
\;\;\;\;\frac{y}{z \cdot -3}\\
\mathbf{elif}\;x \leq 1.04 \cdot 10^{-165}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 2.25 \cdot 10^{-56}:\\
\;\;\;\;-0.3333333333333333 \cdot \frac{y}{z}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 3 Error 29.6 Cost 980
\[\begin{array}{l}
\mathbf{if}\;x \leq -1.9 \cdot 10^{+57}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq -1.45 \cdot 10^{-212}:\\
\;\;\;\;0.3333333333333333 \cdot \frac{\frac{t}{y}}{z}\\
\mathbf{elif}\;x \leq 5.6 \cdot 10^{-198}:\\
\;\;\;\;\frac{y}{z \cdot -3}\\
\mathbf{elif}\;x \leq 2.4 \cdot 10^{-166}:\\
\;\;\;\;0.3333333333333333 \cdot \frac{t}{y \cdot z}\\
\mathbf{elif}\;x \leq 1.4 \cdot 10^{-55}:\\
\;\;\;\;-0.3333333333333333 \cdot \frac{y}{z}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 4 Error 29.0 Cost 980
\[\begin{array}{l}
t_1 := \frac{\frac{t}{z}}{y} \cdot 0.3333333333333333\\
\mathbf{if}\;x \leq -2.6 \cdot 10^{+57}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq -2.9 \cdot 10^{-204}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 5.5 \cdot 10^{-199}:\\
\;\;\;\;\frac{y}{z \cdot -3}\\
\mathbf{elif}\;x \leq 6.5 \cdot 10^{-167}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 2 \cdot 10^{-57}:\\
\;\;\;\;-0.3333333333333333 \cdot \frac{y}{z}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 5 Error 29.0 Cost 980
\[\begin{array}{l}
\mathbf{if}\;x \leq -1 \cdot 10^{+51}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq -1.5 \cdot 10^{-220}:\\
\;\;\;\;\frac{t}{z} \cdot \frac{0.3333333333333333}{y}\\
\mathbf{elif}\;x \leq 3.05 \cdot 10^{-198}:\\
\;\;\;\;\frac{y}{z \cdot -3}\\
\mathbf{elif}\;x \leq 2.2 \cdot 10^{-164}:\\
\;\;\;\;\frac{\frac{t}{z}}{y} \cdot 0.3333333333333333\\
\mathbf{elif}\;x \leq 1.9 \cdot 10^{-57}:\\
\;\;\;\;-0.3333333333333333 \cdot \frac{y}{z}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 6 Error 16.8 Cost 976
\[\begin{array}{l}
t_1 := \frac{\frac{t}{z}}{y} \cdot 0.3333333333333333\\
t_2 := x + \frac{y}{z \cdot -3}\\
\mathbf{if}\;y \leq -5.7 \cdot 10^{-132}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y \leq 3.6 \cdot 10^{-300}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq 5.3 \cdot 10^{-225}:\\
\;\;\;\;x\\
\mathbf{elif}\;y \leq 1.08 \cdot 10^{-48}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\]
Alternative 7 Error 16.8 Cost 976
\[\begin{array}{l}
t_1 := \frac{\frac{t}{z}}{y}\\
t_2 := x + \frac{y}{z \cdot -3}\\
\mathbf{if}\;y \leq -1.9 \cdot 10^{-129}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y \leq 3.8 \cdot 10^{-300}:\\
\;\;\;\;\frac{t_1}{3}\\
\mathbf{elif}\;y \leq 5.5 \cdot 10^{-225}:\\
\;\;\;\;x\\
\mathbf{elif}\;y \leq 1.08 \cdot 10^{-48}:\\
\;\;\;\;t_1 \cdot 0.3333333333333333\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\]
Alternative 8 Error 1.6 Cost 969
\[\begin{array}{l}
\mathbf{if}\;y \leq -2.1 \cdot 10^{-111} \lor \neg \left(y \leq 8 \cdot 10^{-72}\right):\\
\;\;\;\;x + \left(y - \frac{t}{y}\right) \cdot \frac{-0.3333333333333333}{z}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{\frac{t}{z \cdot 3}}{y}\\
\end{array}
\]
Alternative 9 Error 1.6 Cost 969
\[\begin{array}{l}
\mathbf{if}\;y \leq -6.5 \cdot 10^{-97} \lor \neg \left(y \leq 3.65 \cdot 10^{-118}\right):\\
\;\;\;\;x + \frac{y - \frac{t}{y}}{z \cdot -3}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{\frac{t}{z \cdot 3}}{y}\\
\end{array}
\]
Alternative 10 Error 1.6 Cost 968
\[\begin{array}{l}
t_1 := y - \frac{t}{y}\\
\mathbf{if}\;y \leq -3.5 \cdot 10^{-112}:\\
\;\;\;\;x + t_1 \cdot \frac{-0.3333333333333333}{z}\\
\mathbf{elif}\;y \leq 5 \cdot 10^{-74}:\\
\;\;\;\;x + \frac{\frac{t}{z \cdot 3}}{y}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{-0.3333333333333333}{\frac{z}{t_1}}\\
\end{array}
\]
Alternative 11 Error 1.6 Cost 968
\[\begin{array}{l}
t_1 := y - \frac{t}{y}\\
\mathbf{if}\;y \leq -8 \cdot 10^{-111}:\\
\;\;\;\;x + \frac{t_1 \cdot -0.3333333333333333}{z}\\
\mathbf{elif}\;y \leq 4.2 \cdot 10^{-73}:\\
\;\;\;\;x + \frac{\frac{t}{z \cdot 3}}{y}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{-0.3333333333333333}{\frac{z}{t_1}}\\
\end{array}
\]
Alternative 12 Error 12.2 Cost 841
\[\begin{array}{l}
\mathbf{if}\;x \leq -2.45 \cdot 10^{+45} \lor \neg \left(x \leq 6.8 \cdot 10^{-79}\right):\\
\;\;\;\;x + \frac{y}{z \cdot -3}\\
\mathbf{else}:\\
\;\;\;\;\frac{y - \frac{t}{y}}{z} \cdot -0.3333333333333333\\
\end{array}
\]
Alternative 13 Error 8.0 Cost 841
\[\begin{array}{l}
\mathbf{if}\;y \leq -1.65 \cdot 10^{-34} \lor \neg \left(y \leq 2.05 \cdot 10^{+23}\right):\\
\;\;\;\;x + \frac{y}{z \cdot -3}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{t}{y \cdot \left(z \cdot 3\right)}\\
\end{array}
\]
Alternative 14 Error 5.8 Cost 841
\[\begin{array}{l}
\mathbf{if}\;y \leq -7.2 \cdot 10^{-35} \lor \neg \left(y \leq 5.4 \cdot 10^{+19}\right):\\
\;\;\;\;x + \frac{y}{z \cdot -3}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{\frac{t}{z \cdot 3}}{y}\\
\end{array}
\]
Alternative 15 Error 28.2 Cost 584
\[\begin{array}{l}
\mathbf{if}\;x \leq -1.2 \cdot 10^{+51}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq 4.8 \cdot 10^{-57}:\\
\;\;\;\;-0.3333333333333333 \cdot \frac{y}{z}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 16 Error 28.2 Cost 584
\[\begin{array}{l}
\mathbf{if}\;x \leq -2.8 \cdot 10^{+51}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq 3.05 \cdot 10^{-56}:\\
\;\;\;\;\frac{-0.3333333333333333}{\frac{z}{y}}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 17 Error 28.2 Cost 584
\[\begin{array}{l}
\mathbf{if}\;x \leq -8 \cdot 10^{+51}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq 2.3 \cdot 10^{-56}:\\
\;\;\;\;\frac{y}{z \cdot -3}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 18 Error 36.8 Cost 64
\[x
\]