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