Math FPCore C Fortran Java Python Julia MATLAB Wolfram TeX \[x \cdot x - \left(y \cdot 4\right) \cdot \left(z \cdot z - t\right)
\]
↓
\[\begin{array}{l}
t_1 := y \cdot \left(t \cdot -4\right)\\
\mathbf{if}\;z \cdot z \leq 5 \cdot 10^{+305}:\\
\;\;\;\;x \cdot x - \left(t_1 + 4 \cdot \left({z}^{2} \cdot y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot x - t_1\\
\end{array}
\]
(FPCore (x y z t) :precision binary64 (- (* x x) (* (* y 4.0) (- (* z z) t)))) ↓
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* y (* t -4.0))))
(if (<= (* z z) 5e+305)
(- (* x x) (+ t_1 (* 4.0 (* (pow z 2.0) y))))
(- (* x x) t_1)))) double code(double x, double y, double z, double t) {
return (x * x) - ((y * 4.0) * ((z * z) - t));
}
↓
double code(double x, double y, double z, double t) {
double t_1 = y * (t * -4.0);
double tmp;
if ((z * z) <= 5e+305) {
tmp = (x * x) - (t_1 + (4.0 * (pow(z, 2.0) * y)));
} else {
tmp = (x * x) - t_1;
}
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 * x) - ((y * 4.0d0) * ((z * z) - 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 = y * (t * (-4.0d0))
if ((z * z) <= 5d+305) then
tmp = (x * x) - (t_1 + (4.0d0 * ((z ** 2.0d0) * y)))
else
tmp = (x * x) - t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
return (x * x) - ((y * 4.0) * ((z * z) - t));
}
↓
public static double code(double x, double y, double z, double t) {
double t_1 = y * (t * -4.0);
double tmp;
if ((z * z) <= 5e+305) {
tmp = (x * x) - (t_1 + (4.0 * (Math.pow(z, 2.0) * y)));
} else {
tmp = (x * x) - t_1;
}
return tmp;
}
def code(x, y, z, t):
return (x * x) - ((y * 4.0) * ((z * z) - t))
↓
def code(x, y, z, t):
t_1 = y * (t * -4.0)
tmp = 0
if (z * z) <= 5e+305:
tmp = (x * x) - (t_1 + (4.0 * (math.pow(z, 2.0) * y)))
else:
tmp = (x * x) - t_1
return tmp
function code(x, y, z, t)
return Float64(Float64(x * x) - Float64(Float64(y * 4.0) * Float64(Float64(z * z) - t)))
end
↓
function code(x, y, z, t)
t_1 = Float64(y * Float64(t * -4.0))
tmp = 0.0
if (Float64(z * z) <= 5e+305)
tmp = Float64(Float64(x * x) - Float64(t_1 + Float64(4.0 * Float64((z ^ 2.0) * y))));
else
tmp = Float64(Float64(x * x) - t_1);
end
return tmp
end
function tmp = code(x, y, z, t)
tmp = (x * x) - ((y * 4.0) * ((z * z) - t));
end
↓
function tmp_2 = code(x, y, z, t)
t_1 = y * (t * -4.0);
tmp = 0.0;
if ((z * z) <= 5e+305)
tmp = (x * x) - (t_1 + (4.0 * ((z ^ 2.0) * y)));
else
tmp = (x * x) - t_1;
end
tmp_2 = tmp;
end
code[x_, y_, z_, t_] := N[(N[(x * x), $MachinePrecision] - N[(N[(y * 4.0), $MachinePrecision] * N[(N[(z * z), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(y * N[(t * -4.0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(z * z), $MachinePrecision], 5e+305], N[(N[(x * x), $MachinePrecision] - N[(t$95$1 + N[(4.0 * N[(N[Power[z, 2.0], $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * x), $MachinePrecision] - t$95$1), $MachinePrecision]]]
x \cdot x - \left(y \cdot 4\right) \cdot \left(z \cdot z - t\right)
↓
\begin{array}{l}
t_1 := y \cdot \left(t \cdot -4\right)\\
\mathbf{if}\;z \cdot z \leq 5 \cdot 10^{+305}:\\
\;\;\;\;x \cdot x - \left(t_1 + 4 \cdot \left({z}^{2} \cdot y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot x - t_1\\
\end{array}