real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = ((x * x) + (y * y)) / (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
code = ((y / z) / (z / y)) + ((x / z) * (x / z))
end function
public static double code(double x, double y, double z) {
return ((x * x) + (y * y)) / (z * z);
}
↓
public static double code(double x, double y, double z) {
return ((y / z) / (z / y)) + ((x / z) * (x / z));
}
def code(x, y, z):
return ((x * x) + (y * y)) / (z * z)
↓
def code(x, y, z):
return ((y / z) / (z / y)) + ((x / z) * (x / z))
function code(x, y, z)
return Float64(Float64(Float64(x * x) + Float64(y * y)) / Float64(z * z))
end
↓
function code(x, y, z)
return Float64(Float64(Float64(y / z) / Float64(z / y)) + Float64(Float64(x / z) * Float64(x / z)))
end
function tmp = code(x, y, z)
tmp = ((x * x) + (y * y)) / (z * z);
end
↓
function tmp = code(x, y, z)
tmp = ((y / z) / (z / y)) + ((x / z) * (x / z));
end