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