\[\begin{array}{l}
t_0 := x \cdot \left(1 + z \cdot \left(y + -1\right)\right)\\
\mathbf{if}\;x \leq -1 \cdot 10^{+138}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq 1.5524451704913054 \cdot 10^{-168}:\\
\;\;\;\;x + z \cdot \left(x \cdot y - x\right)\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
(FPCore (x y z) :precision binary64 (* x (- 1.0 (* (- 1.0 y) z))))
↓
(FPCore (x y z)
:precision binary64
(let* ((t_0 (* x (+ 1.0 (* z (+ y -1.0))))))
(if (<= x -1e+138)
t_0
(if (<= x 1.5524451704913054e-168) (+ x (* z (- (* x y) x))) t_0))))
double code(double x, double y, double z) {
return x * (1.0 - ((1.0 - y) * z));
}
↓
double code(double x, double y, double z) {
double t_0 = x * (1.0 + (z * (y + -1.0)));
double tmp;
if (x <= -1e+138) {
tmp = t_0;
} else if (x <= 1.5524451704913054e-168) {
tmp = x + (z * ((x * y) - x));
} else {
tmp = 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 = x * (1.0d0 - ((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) :: tmp
t_0 = x * (1.0d0 + (z * (y + (-1.0d0))))
if (x <= (-1d+138)) then
tmp = t_0
else if (x <= 1.5524451704913054d-168) then
tmp = x + (z * ((x * y) - x))
else
tmp = t_0
end if
code = tmp
end function
public static double code(double x, double y, double z) {
return x * (1.0 - ((1.0 - y) * z));
}
↓
public static double code(double x, double y, double z) {
double t_0 = x * (1.0 + (z * (y + -1.0)));
double tmp;
if (x <= -1e+138) {
tmp = t_0;
} else if (x <= 1.5524451704913054e-168) {
tmp = x + (z * ((x * y) - x));
} else {
tmp = t_0;
}
return tmp;
}
def code(x, y, z):
return x * (1.0 - ((1.0 - y) * z))
↓
def code(x, y, z):
t_0 = x * (1.0 + (z * (y + -1.0)))
tmp = 0
if x <= -1e+138:
tmp = t_0
elif x <= 1.5524451704913054e-168:
tmp = x + (z * ((x * y) - x))
else:
tmp = t_0
return tmp
function code(x, y, z)
return Float64(x * Float64(1.0 - Float64(Float64(1.0 - y) * z)))
end
↓
function code(x, y, z)
t_0 = Float64(x * Float64(1.0 + Float64(z * Float64(y + -1.0))))
tmp = 0.0
if (x <= -1e+138)
tmp = t_0;
elseif (x <= 1.5524451704913054e-168)
tmp = Float64(x + Float64(z * Float64(Float64(x * y) - x)));
else
tmp = t_0;
end
return tmp
end
function tmp = code(x, y, z)
tmp = x * (1.0 - ((1.0 - y) * z));
end
↓
function tmp_2 = code(x, y, z)
t_0 = x * (1.0 + (z * (y + -1.0)));
tmp = 0.0;
if (x <= -1e+138)
tmp = t_0;
elseif (x <= 1.5524451704913054e-168)
tmp = x + (z * ((x * y) - x));
else
tmp = t_0;
end
tmp_2 = tmp;
end