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