\[ \begin{array}{c}[y, z] = \mathsf{sort}([y, z])\\ \end{array} \]
\[x \cdot \left(1 - y \cdot z\right)
\]
↓
\[\begin{array}{l}
t_0 := x \cdot \left(1 - y \cdot z\right)\\
t_1 := x - z \cdot \left(y \cdot x\right)\\
t_2 := t_1 \cdot \left(t_1 \cdot \frac{1}{t_1}\right)\\
\mathbf{if}\;t_0 \leq -2 \cdot 10^{+262}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t_0 \leq 10^{+300}:\\
\;\;\;\;x - x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\]
(FPCore (x y z) :precision binary64 (* x (- 1.0 (* y z))))
↓
(FPCore (x y z)
:precision binary64
(let* ((t_0 (* x (- 1.0 (* y z))))
(t_1 (- x (* z (* y x))))
(t_2 (* t_1 (* t_1 (/ 1.0 t_1)))))
(if (<= t_0 -2e+262) t_2 (if (<= t_0 1e+300) (- x (* x (* y z))) t_2))))double code(double x, double y, double z) {
return x * (1.0 - (y * z));
}
↓
double code(double x, double y, double z) {
double t_0 = x * (1.0 - (y * z));
double t_1 = x - (z * (y * x));
double t_2 = t_1 * (t_1 * (1.0 / t_1));
double tmp;
if (t_0 <= -2e+262) {
tmp = t_2;
} else if (t_0 <= 1e+300) {
tmp = x - (x * (y * z));
} else {
tmp = t_2;
}
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 = x * (1.0d0 - (y * 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) :: t_1
real(8) :: t_2
real(8) :: tmp
t_0 = x * (1.0d0 - (y * z))
t_1 = x - (z * (y * x))
t_2 = t_1 * (t_1 * (1.0d0 / t_1))
if (t_0 <= (-2d+262)) then
tmp = t_2
else if (t_0 <= 1d+300) then
tmp = x - (x * (y * z))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z) {
return x * (1.0 - (y * z));
}
↓
public static double code(double x, double y, double z) {
double t_0 = x * (1.0 - (y * z));
double t_1 = x - (z * (y * x));
double t_2 = t_1 * (t_1 * (1.0 / t_1));
double tmp;
if (t_0 <= -2e+262) {
tmp = t_2;
} else if (t_0 <= 1e+300) {
tmp = x - (x * (y * z));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z):
return x * (1.0 - (y * z))
↓
def code(x, y, z):
t_0 = x * (1.0 - (y * z))
t_1 = x - (z * (y * x))
t_2 = t_1 * (t_1 * (1.0 / t_1))
tmp = 0
if t_0 <= -2e+262:
tmp = t_2
elif t_0 <= 1e+300:
tmp = x - (x * (y * z))
else:
tmp = t_2
return tmp
function code(x, y, z)
return Float64(x * Float64(1.0 - Float64(y * z)))
end
↓
function code(x, y, z)
t_0 = Float64(x * Float64(1.0 - Float64(y * z)))
t_1 = Float64(x - Float64(z * Float64(y * x)))
t_2 = Float64(t_1 * Float64(t_1 * Float64(1.0 / t_1)))
tmp = 0.0
if (t_0 <= -2e+262)
tmp = t_2;
elseif (t_0 <= 1e+300)
tmp = Float64(x - Float64(x * Float64(y * z)));
else
tmp = t_2;
end
return tmp
end
function tmp = code(x, y, z)
tmp = x * (1.0 - (y * z));
end
↓
function tmp_2 = code(x, y, z)
t_0 = x * (1.0 - (y * z));
t_1 = x - (z * (y * x));
t_2 = t_1 * (t_1 * (1.0 / t_1));
tmp = 0.0;
if (t_0 <= -2e+262)
tmp = t_2;
elseif (t_0 <= 1e+300)
tmp = x - (x * (y * z));
else
tmp = t_2;
end
tmp_2 = tmp;
end
code[x_, y_, z_] := N[(x * N[(1.0 - N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_, z_] := Block[{t$95$0 = N[(x * N[(1.0 - N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[(x - N[(z * N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 * N[(t$95$1 * N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$0, -2e+262], t$95$2, If[LessEqual[t$95$0, 1e+300], N[(x - N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]
x \cdot \left(1 - y \cdot z\right)
↓
\begin{array}{l}
t_0 := x \cdot \left(1 - y \cdot z\right)\\
t_1 := x - z \cdot \left(y \cdot x\right)\\
t_2 := t_1 \cdot \left(t_1 \cdot \frac{1}{t_1}\right)\\
\mathbf{if}\;t_0 \leq -2 \cdot 10^{+262}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t_0 \leq 10^{+300}:\\
\;\;\;\;x - x \cdot \left(y \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}