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