real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = sqrt((((x * x) + (y * y)) + (z * z)))
end function
public static double code(double x, double y, double z) {
return Math.sqrt((((x * x) + (y * y)) + (z * z)));
}
def code(x, y, z):
return math.sqrt((((x * x) + (y * y)) + (z * z)))
function code(x, y, z)
return sqrt(Float64(Float64(Float64(x * x) + Float64(y * y)) + Float64(z * z)))
end
function tmp = code(x, y, z)
tmp = sqrt((((x * x) + (y * y)) + (z * z)));
end