(FPCore (x y z t) :precision binary64 (* x (/ (* (/ y z) t) t)))
↓
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (/ x (/ z y))))
(if (<= (/ y z) -1e+118)
(/ (* y x) z)
(if (<= (/ y z) -2e-308)
t_1
(if (<= (/ y z) 2e-320)
(* y (/ x z))
(if (<= (/ y z) 2e+208) t_1 (/ y (/ z x))))))))
double code(double x, double y, double z, double t) {
double t_1 = x / (z / y);
double tmp;
if ((y / z) <= -1e+118) {
tmp = (y * x) / z;
} else if ((y / z) <= -2e-308) {
tmp = t_1;
} else if ((y / z) <= 2e-320) {
tmp = y * (x / z);
} else if ((y / z) <= 2e+208) {
tmp = t_1;
} else {
tmp = y / (z / x);
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = x * (((y / z) * t) / t)
end function
↓
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = x / (z / y)
if ((y / z) <= (-1d+118)) then
tmp = (y * x) / z
else if ((y / z) <= (-2d-308)) then
tmp = t_1
else if ((y / z) <= 2d-320) then
tmp = y * (x / z)
else if ((y / z) <= 2d+208) then
tmp = t_1
else
tmp = y / (z / x)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
return x * (((y / z) * t) / t);
}
↓
public static double code(double x, double y, double z, double t) {
double t_1 = x / (z / y);
double tmp;
if ((y / z) <= -1e+118) {
tmp = (y * x) / z;
} else if ((y / z) <= -2e-308) {
tmp = t_1;
} else if ((y / z) <= 2e-320) {
tmp = y * (x / z);
} else if ((y / z) <= 2e+208) {
tmp = t_1;
} else {
tmp = y / (z / x);
}
return tmp;
}
def code(x, y, z, t):
return x * (((y / z) * t) / t)
↓
def code(x, y, z, t):
t_1 = x / (z / y)
tmp = 0
if (y / z) <= -1e+118:
tmp = (y * x) / z
elif (y / z) <= -2e-308:
tmp = t_1
elif (y / z) <= 2e-320:
tmp = y * (x / z)
elif (y / z) <= 2e+208:
tmp = t_1
else:
tmp = y / (z / x)
return tmp
function code(x, y, z, t)
return Float64(x * Float64(Float64(Float64(y / z) * t) / t))
end