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) :: tmp
if ((x * (1.0d0 - (y * z))) <= (-4d+305)) then
tmp = z * (y * -x)
else
tmp = x - (x * (y * z))
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 tmp;
if ((x * (1.0 - (y * z))) <= -4e+305) {
tmp = z * (y * -x);
} else {
tmp = x - (x * (y * z));
}
return tmp;
}
def code(x, y, z):
return x * (1.0 - (y * z))
↓
def code(x, y, z):
tmp = 0
if (x * (1.0 - (y * z))) <= -4e+305:
tmp = z * (y * -x)
else:
tmp = x - (x * (y * z))
return tmp
function code(x, y, z)
return Float64(x * Float64(1.0 - Float64(y * z)))
end
↓
function code(x, y, z)
tmp = 0.0
if (Float64(x * Float64(1.0 - Float64(y * z))) <= -4e+305)
tmp = Float64(z * Float64(y * Float64(-x)));
else
tmp = Float64(x - Float64(x * Float64(y * z)));
end
return tmp
end
function tmp = code(x, y, z)
tmp = x * (1.0 - (y * z));
end
↓
function tmp_2 = code(x, y, z)
tmp = 0.0;
if ((x * (1.0 - (y * z))) <= -4e+305)
tmp = z * (y * -x);
else
tmp = x - (x * (y * z));
end
tmp_2 = tmp;
end