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}
\mathbf{if}\;z \cdot z \leq 10^{+172}:\\
\;\;\;\;x \cdot x + \left(y \cdot 4\right) \cdot \left(\left(t + \left(t - z \cdot z\right)\right) - t\right)\\
\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(z \cdot \left(z \cdot y\right)\right)\\
\end{array}
\]
(FPCore (x y z t) :precision binary64 (- (* x x) (* (* y 4.0) (- (* z z) t)))) ↓
(FPCore (x y z t)
:precision binary64
(if (<= (* z z) 1e+172)
(+ (* x x) (* (* y 4.0) (- (+ t (- t (* z z))) t)))
(* -4.0 (* z (* z y))))) 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 tmp;
if ((z * z) <= 1e+172) {
tmp = (x * x) + ((y * 4.0) * ((t + (t - (z * z))) - t));
} else {
tmp = -4.0 * (z * (z * y));
}
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) :: tmp
if ((z * z) <= 1d+172) then
tmp = (x * x) + ((y * 4.0d0) * ((t + (t - (z * z))) - t))
else
tmp = (-4.0d0) * (z * (z * y))
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 tmp;
if ((z * z) <= 1e+172) {
tmp = (x * x) + ((y * 4.0) * ((t + (t - (z * z))) - t));
} else {
tmp = -4.0 * (z * (z * y));
}
return tmp;
}
def code(x, y, z, t):
return (x * x) - ((y * 4.0) * ((z * z) - t))
↓
def code(x, y, z, t):
tmp = 0
if (z * z) <= 1e+172:
tmp = (x * x) + ((y * 4.0) * ((t + (t - (z * z))) - t))
else:
tmp = -4.0 * (z * (z * y))
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)
tmp = 0.0
if (Float64(z * z) <= 1e+172)
tmp = Float64(Float64(x * x) + Float64(Float64(y * 4.0) * Float64(Float64(t + Float64(t - Float64(z * z))) - t)));
else
tmp = Float64(-4.0 * Float64(z * Float64(z * y)));
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)
tmp = 0.0;
if ((z * z) <= 1e+172)
tmp = (x * x) + ((y * 4.0) * ((t + (t - (z * z))) - t));
else
tmp = -4.0 * (z * (z * y));
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_] := If[LessEqual[N[(z * z), $MachinePrecision], 1e+172], N[(N[(x * x), $MachinePrecision] + N[(N[(y * 4.0), $MachinePrecision] * N[(N[(t + N[(t - N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(-4.0 * N[(z * N[(z * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
x \cdot x - \left(y \cdot 4\right) \cdot \left(z \cdot z - t\right)
↓
\begin{array}{l}
\mathbf{if}\;z \cdot z \leq 10^{+172}:\\
\;\;\;\;x \cdot x + \left(y \cdot 4\right) \cdot \left(\left(t + \left(t - z \cdot z\right)\right) - t\right)\\
\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(z \cdot \left(z \cdot y\right)\right)\\
\end{array}