(FPCore (x y z) :precision binary64 (* x (- 1.0 (* (- 1.0 y) z))))
↓
(FPCore (x y z)
:precision binary64
(if (or (<= x -1.6e+122) (not (<= x 5e+17)))
(* x (- 1.0 (* (- 1.0 y) z)))
(- x (* z (* x (- 1.0 y))))))
double code(double x, double y, double z) {
return x * (1.0 - ((1.0 - y) * z));
}
↓
double code(double x, double y, double z) {
double tmp;
if ((x <= -1.6e+122) || !(x <= 5e+17)) {
tmp = x * (1.0 - ((1.0 - y) * z));
} else {
tmp = x - (z * (x * (1.0 - y)));
}
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 = x * (1.0d0 - ((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.6d+122)) .or. (.not. (x <= 5d+17))) then
tmp = x * (1.0d0 - ((1.0d0 - y) * z))
else
tmp = x - (z * (x * (1.0d0 - y)))
end if
code = tmp
end function
public static double code(double x, double y, double z) {
return x * (1.0 - ((1.0 - y) * z));
}
↓
public static double code(double x, double y, double z) {
double tmp;
if ((x <= -1.6e+122) || !(x <= 5e+17)) {
tmp = x * (1.0 - ((1.0 - y) * z));
} else {
tmp = x - (z * (x * (1.0 - y)));
}
return tmp;
}
def code(x, y, z):
return x * (1.0 - ((1.0 - y) * z))
↓
def code(x, y, z):
tmp = 0
if (x <= -1.6e+122) or not (x <= 5e+17):
tmp = x * (1.0 - ((1.0 - y) * z))
else:
tmp = x - (z * (x * (1.0 - y)))
return tmp
function code(x, y, z)
return Float64(x * Float64(1.0 - Float64(Float64(1.0 - y) * z)))
end
↓
function code(x, y, z)
tmp = 0.0
if ((x <= -1.6e+122) || !(x <= 5e+17))
tmp = Float64(x * Float64(1.0 - Float64(Float64(1.0 - y) * z)));
else
tmp = Float64(x - Float64(z * Float64(x * Float64(1.0 - y))));
end
return tmp
end
function tmp = code(x, y, z)
tmp = x * (1.0 - ((1.0 - y) * z));
end
↓
function tmp_2 = code(x, y, z)
tmp = 0.0;
if ((x <= -1.6e+122) || ~((x <= 5e+17)))
tmp = x * (1.0 - ((1.0 - y) * z));
else
tmp = x - (z * (x * (1.0 - y)));
end
tmp_2 = tmp;
end