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 - ((1.0d0 - y) * z))
if (x <= (-4d-29)) then
tmp = t_0
else if (x <= 5d+25) then
tmp = (z * ((y - 1.0d0) * x)) + 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 - ((1.0 - y) * z));
double tmp;
if (x <= -4e-29) {
tmp = t_0;
} else if (x <= 5e+25) {
tmp = (z * ((y - 1.0) * x)) + 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 - ((1.0 - y) * z))
tmp = 0
if x <= -4e-29:
tmp = t_0
elif x <= 5e+25:
tmp = (z * ((y - 1.0) * x)) + 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(Float64(1.0 - y) * z)))
tmp = 0.0
if (x <= -4e-29)
tmp = t_0;
elseif (x <= 5e+25)
tmp = Float64(Float64(z * Float64(Float64(y - 1.0) * x)) + 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 - ((1.0 - y) * z));
tmp = 0.0;
if (x <= -4e-29)
tmp = t_0;
elseif (x <= 5e+25)
tmp = (z * ((y - 1.0) * x)) + x;
else
tmp = t_0;
end
tmp_2 = tmp;
end