(FPCore (x y z) :precision binary64 (* x (- 1.0 (* y z))))
↓
(FPCore (x y z)
:precision binary64
(let* ((t_0 (- 1.0 (* y z))))
(if (<= t_0 -5e+169)
(* y (* (- z) x))
(if (<= t_0 1.005)
(/ x (/ 1.0 t_0))
(if (<= t_0 5e+194) (* t_0 x) (* z (* y (- x))))))))
double code(double x, double y, double z) {
return x * (1.0 - (y * z));
}
↓
double code(double x, double y, double z) {
double t_0 = 1.0 - (y * z);
double tmp;
if (t_0 <= -5e+169) {
tmp = y * (-z * x);
} else if (t_0 <= 1.005) {
tmp = x / (1.0 / t_0);
} else if (t_0 <= 5e+194) {
tmp = t_0 * x;
} else {
tmp = z * (y * -x);
}
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 - (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) :: t_0
real(8) :: tmp
t_0 = 1.0d0 - (y * z)
if (t_0 <= (-5d+169)) then
tmp = y * (-z * x)
else if (t_0 <= 1.005d0) then
tmp = x / (1.0d0 / t_0)
else if (t_0 <= 5d+194) then
tmp = t_0 * x
else
tmp = z * (y * -x)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
return x * (1.0 - (y * z));
}
↓
public static double code(double x, double y, double z) {
double t_0 = 1.0 - (y * z);
double tmp;
if (t_0 <= -5e+169) {
tmp = y * (-z * x);
} else if (t_0 <= 1.005) {
tmp = x / (1.0 / t_0);
} else if (t_0 <= 5e+194) {
tmp = t_0 * x;
} else {
tmp = z * (y * -x);
}
return tmp;
}
def code(x, y, z):
return x * (1.0 - (y * z))
↓
def code(x, y, z):
t_0 = 1.0 - (y * z)
tmp = 0
if t_0 <= -5e+169:
tmp = y * (-z * x)
elif t_0 <= 1.005:
tmp = x / (1.0 / t_0)
elif t_0 <= 5e+194:
tmp = t_0 * x
else:
tmp = z * (y * -x)
return tmp
function code(x, y, z)
return Float64(x * Float64(1.0 - Float64(y * z)))
end