
(FPCore (x y z t a b c) :precision binary64 (+ (- (+ (* x y) (/ (* z t) 16.0)) (/ (* a b) 4.0)) c))
double code(double x, double y, double z, double t, double a, double b, double c) {
return (((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0)) + c;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
code = (((x * y) + ((z * t) / 16.0d0)) - ((a * b) / 4.0d0)) + c
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
return (((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0)) + c;
}
def code(x, y, z, t, a, b, c): return (((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0)) + c
function code(x, y, z, t, a, b, c) return Float64(Float64(Float64(Float64(x * y) + Float64(Float64(z * t) / 16.0)) - Float64(Float64(a * b) / 4.0)) + c) end
function tmp = code(x, y, z, t, a, b, c) tmp = (((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0)) + c; end
code[x_, y_, z_, t_, a_, b_, c_] := N[(N[(N[(N[(x * y), $MachinePrecision] + N[(N[(z * t), $MachinePrecision] / 16.0), $MachinePrecision]), $MachinePrecision] - N[(N[(a * b), $MachinePrecision] / 4.0), $MachinePrecision]), $MachinePrecision] + c), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x \cdot y + \frac{z \cdot t}{16}\right) - \frac{a \cdot b}{4}\right) + c
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 15 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c) :precision binary64 (+ (- (+ (* x y) (/ (* z t) 16.0)) (/ (* a b) 4.0)) c))
double code(double x, double y, double z, double t, double a, double b, double c) {
return (((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0)) + c;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
code = (((x * y) + ((z * t) / 16.0d0)) - ((a * b) / 4.0d0)) + c
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
return (((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0)) + c;
}
def code(x, y, z, t, a, b, c): return (((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0)) + c
function code(x, y, z, t, a, b, c) return Float64(Float64(Float64(Float64(x * y) + Float64(Float64(z * t) / 16.0)) - Float64(Float64(a * b) / 4.0)) + c) end
function tmp = code(x, y, z, t, a, b, c) tmp = (((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0)) + c; end
code[x_, y_, z_, t_, a_, b_, c_] := N[(N[(N[(N[(x * y), $MachinePrecision] + N[(N[(z * t), $MachinePrecision] / 16.0), $MachinePrecision]), $MachinePrecision] - N[(N[(a * b), $MachinePrecision] / 4.0), $MachinePrecision]), $MachinePrecision] + c), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x \cdot y + \frac{z \cdot t}{16}\right) - \frac{a \cdot b}{4}\right) + c
\end{array}
(FPCore (x y z t a b c) :precision binary64 (let* ((t_1 (- (+ (* x y) (/ (* z t) 16.0)) (/ (* a b) 4.0)))) (if (<= t_1 INFINITY) (+ c t_1) (+ (* x y) (* 0.0625 (* z t))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = ((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0);
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = c + t_1;
} else {
tmp = (x * y) + (0.0625 * (z * t));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = ((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0);
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = c + t_1;
} else {
tmp = (x * y) + (0.0625 * (z * t));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = ((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0) tmp = 0 if t_1 <= math.inf: tmp = c + t_1 else: tmp = (x * y) + (0.0625 * (z * t)) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(Float64(Float64(x * y) + Float64(Float64(z * t) / 16.0)) - Float64(Float64(a * b) / 4.0)) tmp = 0.0 if (t_1 <= Inf) tmp = Float64(c + t_1); else tmp = Float64(Float64(x * y) + Float64(0.0625 * Float64(z * t))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = ((x * y) + ((z * t) / 16.0)) - ((a * b) / 4.0); tmp = 0.0; if (t_1 <= Inf) tmp = c + t_1; else tmp = (x * y) + (0.0625 * (z * t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(N[(N[(x * y), $MachinePrecision] + N[(N[(z * t), $MachinePrecision] / 16.0), $MachinePrecision]), $MachinePrecision] - N[(N[(a * b), $MachinePrecision] / 4.0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], N[(c + t$95$1), $MachinePrecision], N[(N[(x * y), $MachinePrecision] + N[(0.0625 * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot y + \frac{z \cdot t}{16}\right) - \frac{a \cdot b}{4}\\
\mathbf{if}\;t_1 \leq \infty:\\
\;\;\;\;c + t_1\\
\mathbf{else}:\\
\;\;\;\;x \cdot y + 0.0625 \cdot \left(z \cdot t\right)\\
\end{array}
\end{array}
(FPCore (x y z t a b c) :precision binary64 (fma x y (fma (/ z 16.0) t (fma (/ a -4.0) b c))))
double code(double x, double y, double z, double t, double a, double b, double c) {
return fma(x, y, fma((z / 16.0), t, fma((a / -4.0), b, c)));
}
function code(x, y, z, t, a, b, c) return fma(x, y, fma(Float64(z / 16.0), t, fma(Float64(a / -4.0), b, c))) end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x * y + N[(N[(z / 16.0), $MachinePrecision] * t + N[(N[(a / -4.0), $MachinePrecision] * b + c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(x, y, \mathsf{fma}\left(\frac{z}{16}, t, \mathsf{fma}\left(\frac{a}{-4}, b, c\right)\right)\right)
\end{array}
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (+ c (* 0.0625 (* z t))))
(t_2 (+ c (* a (* b -0.25))))
(t_3 (+ c (* x y))))
(if (<= (* x y) -1.75e+89)
t_3
(if (<= (* x y) -1.45e-20)
t_1
(if (<= (* x y) 3.8e-178)
t_2
(if (<= (* x y) 1.75e-87)
t_1
(if (<= (* x y) 118000000.0)
t_2
(if (<= (* x y) 8.5e+214) t_1 t_3))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = c + (0.0625 * (z * t));
double t_2 = c + (a * (b * -0.25));
double t_3 = c + (x * y);
double tmp;
if ((x * y) <= -1.75e+89) {
tmp = t_3;
} else if ((x * y) <= -1.45e-20) {
tmp = t_1;
} else if ((x * y) <= 3.8e-178) {
tmp = t_2;
} else if ((x * y) <= 1.75e-87) {
tmp = t_1;
} else if ((x * y) <= 118000000.0) {
tmp = t_2;
} else if ((x * y) <= 8.5e+214) {
tmp = t_1;
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = c + (0.0625d0 * (z * t))
t_2 = c + (a * (b * (-0.25d0)))
t_3 = c + (x * y)
if ((x * y) <= (-1.75d+89)) then
tmp = t_3
else if ((x * y) <= (-1.45d-20)) then
tmp = t_1
else if ((x * y) <= 3.8d-178) then
tmp = t_2
else if ((x * y) <= 1.75d-87) then
tmp = t_1
else if ((x * y) <= 118000000.0d0) then
tmp = t_2
else if ((x * y) <= 8.5d+214) then
tmp = t_1
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = c + (0.0625 * (z * t));
double t_2 = c + (a * (b * -0.25));
double t_3 = c + (x * y);
double tmp;
if ((x * y) <= -1.75e+89) {
tmp = t_3;
} else if ((x * y) <= -1.45e-20) {
tmp = t_1;
} else if ((x * y) <= 3.8e-178) {
tmp = t_2;
} else if ((x * y) <= 1.75e-87) {
tmp = t_1;
} else if ((x * y) <= 118000000.0) {
tmp = t_2;
} else if ((x * y) <= 8.5e+214) {
tmp = t_1;
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = c + (0.0625 * (z * t)) t_2 = c + (a * (b * -0.25)) t_3 = c + (x * y) tmp = 0 if (x * y) <= -1.75e+89: tmp = t_3 elif (x * y) <= -1.45e-20: tmp = t_1 elif (x * y) <= 3.8e-178: tmp = t_2 elif (x * y) <= 1.75e-87: tmp = t_1 elif (x * y) <= 118000000.0: tmp = t_2 elif (x * y) <= 8.5e+214: tmp = t_1 else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(c + Float64(0.0625 * Float64(z * t))) t_2 = Float64(c + Float64(a * Float64(b * -0.25))) t_3 = Float64(c + Float64(x * y)) tmp = 0.0 if (Float64(x * y) <= -1.75e+89) tmp = t_3; elseif (Float64(x * y) <= -1.45e-20) tmp = t_1; elseif (Float64(x * y) <= 3.8e-178) tmp = t_2; elseif (Float64(x * y) <= 1.75e-87) tmp = t_1; elseif (Float64(x * y) <= 118000000.0) tmp = t_2; elseif (Float64(x * y) <= 8.5e+214) tmp = t_1; else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = c + (0.0625 * (z * t)); t_2 = c + (a * (b * -0.25)); t_3 = c + (x * y); tmp = 0.0; if ((x * y) <= -1.75e+89) tmp = t_3; elseif ((x * y) <= -1.45e-20) tmp = t_1; elseif ((x * y) <= 3.8e-178) tmp = t_2; elseif ((x * y) <= 1.75e-87) tmp = t_1; elseif ((x * y) <= 118000000.0) tmp = t_2; elseif ((x * y) <= 8.5e+214) tmp = t_1; else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(c + N[(0.0625 * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c + N[(a * N[(b * -0.25), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c + N[(x * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(x * y), $MachinePrecision], -1.75e+89], t$95$3, If[LessEqual[N[(x * y), $MachinePrecision], -1.45e-20], t$95$1, If[LessEqual[N[(x * y), $MachinePrecision], 3.8e-178], t$95$2, If[LessEqual[N[(x * y), $MachinePrecision], 1.75e-87], t$95$1, If[LessEqual[N[(x * y), $MachinePrecision], 118000000.0], t$95$2, If[LessEqual[N[(x * y), $MachinePrecision], 8.5e+214], t$95$1, t$95$3]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c + 0.0625 \cdot \left(z \cdot t\right)\\
t_2 := c + a \cdot \left(b \cdot -0.25\right)\\
t_3 := c + x \cdot y\\
\mathbf{if}\;x \cdot y \leq -1.75 \cdot 10^{+89}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;x \cdot y \leq -1.45 \cdot 10^{-20}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \cdot y \leq 3.8 \cdot 10^{-178}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \cdot y \leq 1.75 \cdot 10^{-87}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \cdot y \leq 118000000:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \cdot y \leq 8.5 \cdot 10^{+214}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (+ c (* a (* b -0.25))))
(t_2 (* 0.0625 (* z t)))
(t_3 (+ (* x y) t_2)))
(if (<= (* x y) -7e+40)
t_3
(if (<= (* x y) 3.75e-177)
t_1
(if (<= (* x y) 1.2e-85)
(+ c t_2)
(if (<= (* x y) 220000000.0) t_1 t_3))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = c + (a * (b * -0.25));
double t_2 = 0.0625 * (z * t);
double t_3 = (x * y) + t_2;
double tmp;
if ((x * y) <= -7e+40) {
tmp = t_3;
} else if ((x * y) <= 3.75e-177) {
tmp = t_1;
} else if ((x * y) <= 1.2e-85) {
tmp = c + t_2;
} else if ((x * y) <= 220000000.0) {
tmp = t_1;
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = c + (a * (b * (-0.25d0)))
t_2 = 0.0625d0 * (z * t)
t_3 = (x * y) + t_2
if ((x * y) <= (-7d+40)) then
tmp = t_3
else if ((x * y) <= 3.75d-177) then
tmp = t_1
else if ((x * y) <= 1.2d-85) then
tmp = c + t_2
else if ((x * y) <= 220000000.0d0) then
tmp = t_1
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = c + (a * (b * -0.25));
double t_2 = 0.0625 * (z * t);
double t_3 = (x * y) + t_2;
double tmp;
if ((x * y) <= -7e+40) {
tmp = t_3;
} else if ((x * y) <= 3.75e-177) {
tmp = t_1;
} else if ((x * y) <= 1.2e-85) {
tmp = c + t_2;
} else if ((x * y) <= 220000000.0) {
tmp = t_1;
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = c + (a * (b * -0.25)) t_2 = 0.0625 * (z * t) t_3 = (x * y) + t_2 tmp = 0 if (x * y) <= -7e+40: tmp = t_3 elif (x * y) <= 3.75e-177: tmp = t_1 elif (x * y) <= 1.2e-85: tmp = c + t_2 elif (x * y) <= 220000000.0: tmp = t_1 else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(c + Float64(a * Float64(b * -0.25))) t_2 = Float64(0.0625 * Float64(z * t)) t_3 = Float64(Float64(x * y) + t_2) tmp = 0.0 if (Float64(x * y) <= -7e+40) tmp = t_3; elseif (Float64(x * y) <= 3.75e-177) tmp = t_1; elseif (Float64(x * y) <= 1.2e-85) tmp = Float64(c + t_2); elseif (Float64(x * y) <= 220000000.0) tmp = t_1; else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = c + (a * (b * -0.25)); t_2 = 0.0625 * (z * t); t_3 = (x * y) + t_2; tmp = 0.0; if ((x * y) <= -7e+40) tmp = t_3; elseif ((x * y) <= 3.75e-177) tmp = t_1; elseif ((x * y) <= 1.2e-85) tmp = c + t_2; elseif ((x * y) <= 220000000.0) tmp = t_1; else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(c + N[(a * N[(b * -0.25), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(0.0625 * N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] + t$95$2), $MachinePrecision]}, If[LessEqual[N[(x * y), $MachinePrecision], -7e+40], t$95$3, If[LessEqual[N[(x * y), $MachinePrecision], 3.75e-177], t$95$1, If[LessEqual[N[(x * y), $MachinePrecision], 1.2e-85], N[(c + t$95$2), $MachinePrecision], If[LessEqual[N[(x * y), $MachinePrecision], 220000000.0], t$95$1, t$95$3]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c + a \cdot \left(b \cdot -0.25\right)\\
t_2 := 0.0625 \cdot \left(z \cdot t\right)\\
t_3 := x \cdot y + t_2\\
\mathbf{if}\;x \cdot y \leq -7 \cdot 10^{+40}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;x \cdot y \leq 3.75 \cdot 10^{-177}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \cdot y \leq 1.2 \cdot 10^{-85}:\\
\;\;\;\;c + t_2\\
\mathbf{elif}\;x \cdot y \leq 220000000:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (+ c (* 0.0625 (* z t)))) (t_2 (+ c (* x y))))
(if (<= (* x y) -1.05e+89)
t_2
(if (<= (* x y) -6.2e-21)
t_1
(if (<= (* x y) -2.8e-85)
(* b (* a -0.25))
(if (<= (* x y) 6.8e+214) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = c + (0.0625 * (z * t));
double t_2 = c + (x * y);
double tmp;
if ((x * y) <= -1.05e+89) {
tmp = t_2;
} else if ((x * y) <= -6.2e-21) {
tmp = t_1;
} else if ((x * y) <= -2.8e-85) {
tmp = b * (a * -0.25);
} else if ((x * y) <= 6.8e+214) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = c + (0.0625d0 * (z * t))
t_2 = c + (x * y)
if ((x * y) <= (-1.05d+89)) then
tmp = t_2
else if ((x * y) <= (-6.2d-21)) then
tmp = t_1
else if ((x * y) <= (-2.8d-85)) then
tmp = b * (a * (-0.25d0))
else if ((x * y) <= 6.8d+214) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = c + (0.0625 * (z * t));
double t_2 = c + (x * y);
double tmp;
if ((x * y) <= -1.05e+89) {
tmp = t_2;
} else if ((x * y) <= -6.2e-21) {
tmp = t_1;
} else if ((x * y) <= -2.8e-85) {
tmp = b * (a * -0.25);
} else if ((x * y) <= 6.8e+214) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = c + (0.0625 * (z * t)) t_2 = c + (x * y) tmp = 0 if (x * y) <= -1.05e+89: tmp = t_2 elif (x * y) <= -6.2e-21: tmp = t_1 elif (x * y) <= -2.8e-85: tmp = b * (a * -0.25) elif (x * y) <= 6.8e+214: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(c + Float64(0.0625 * Float64(z * t))) t_2 = Float64(c + Float64(x * y)) tmp = 0.0 if (Float64(x * y) <= -1.05e+89) tmp = t_2; elseif (Float64(x * y) <= -6.2e-21) tmp = t_1; elseif (Float64(x * y) <= -2.8e-85) tmp = Float64(b * Float64(a * -0.25)); elseif (Float64(x * y) <= 6.8e+214) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = c + (0.0625 * (z * t)); t_2 = c + (x * y); tmp = 0.0; if ((x * y) <= -1.05e+89) tmp = t_2; elseif ((x * y) <= -6.2e-21) tmp = t_1; elseif ((x * y) <= -2.8e-85) tmp = b * (a * -0.25); elseif ((x * y) <= 6.8e+214) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(c + N[(0.0625 * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c + N[(x * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(x * y), $MachinePrecision], -1.05e+89], t$95$2, If[LessEqual[N[(x * y), $MachinePrecision], -6.2e-21], t$95$1, If[LessEqual[N[(x * y), $MachinePrecision], -2.8e-85], N[(b * N[(a * -0.25), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(x * y), $MachinePrecision], 6.8e+214], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c + 0.0625 \cdot \left(z \cdot t\right)\\
t_2 := c + x \cdot y\\
\mathbf{if}\;x \cdot y \leq -1.05 \cdot 10^{+89}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \cdot y \leq -6.2 \cdot 10^{-21}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \cdot y \leq -2.8 \cdot 10^{-85}:\\
\;\;\;\;b \cdot \left(a \cdot -0.25\right)\\
\mathbf{elif}\;x \cdot y \leq 6.8 \cdot 10^{+214}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (* z (* t 0.0625))))
(if (<= (* x y) -3.5e+173)
(* x y)
(if (<= (* x y) -6.4e-21)
t_1
(if (<= (* x y) 34000000.0)
(* b (* a -0.25))
(if (<= (* x y) 1.85e+215) t_1 (* x y)))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = z * (t * 0.0625);
double tmp;
if ((x * y) <= -3.5e+173) {
tmp = x * y;
} else if ((x * y) <= -6.4e-21) {
tmp = t_1;
} else if ((x * y) <= 34000000.0) {
tmp = b * (a * -0.25);
} else if ((x * y) <= 1.85e+215) {
tmp = t_1;
} else {
tmp = x * y;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = z * (t * 0.0625d0)
if ((x * y) <= (-3.5d+173)) then
tmp = x * y
else if ((x * y) <= (-6.4d-21)) then
tmp = t_1
else if ((x * y) <= 34000000.0d0) then
tmp = b * (a * (-0.25d0))
else if ((x * y) <= 1.85d+215) then
tmp = t_1
else
tmp = x * y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = z * (t * 0.0625);
double tmp;
if ((x * y) <= -3.5e+173) {
tmp = x * y;
} else if ((x * y) <= -6.4e-21) {
tmp = t_1;
} else if ((x * y) <= 34000000.0) {
tmp = b * (a * -0.25);
} else if ((x * y) <= 1.85e+215) {
tmp = t_1;
} else {
tmp = x * y;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = z * (t * 0.0625) tmp = 0 if (x * y) <= -3.5e+173: tmp = x * y elif (x * y) <= -6.4e-21: tmp = t_1 elif (x * y) <= 34000000.0: tmp = b * (a * -0.25) elif (x * y) <= 1.85e+215: tmp = t_1 else: tmp = x * y return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(z * Float64(t * 0.0625)) tmp = 0.0 if (Float64(x * y) <= -3.5e+173) tmp = Float64(x * y); elseif (Float64(x * y) <= -6.4e-21) tmp = t_1; elseif (Float64(x * y) <= 34000000.0) tmp = Float64(b * Float64(a * -0.25)); elseif (Float64(x * y) <= 1.85e+215) tmp = t_1; else tmp = Float64(x * y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = z * (t * 0.0625); tmp = 0.0; if ((x * y) <= -3.5e+173) tmp = x * y; elseif ((x * y) <= -6.4e-21) tmp = t_1; elseif ((x * y) <= 34000000.0) tmp = b * (a * -0.25); elseif ((x * y) <= 1.85e+215) tmp = t_1; else tmp = x * y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(z * N[(t * 0.0625), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(x * y), $MachinePrecision], -3.5e+173], N[(x * y), $MachinePrecision], If[LessEqual[N[(x * y), $MachinePrecision], -6.4e-21], t$95$1, If[LessEqual[N[(x * y), $MachinePrecision], 34000000.0], N[(b * N[(a * -0.25), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(x * y), $MachinePrecision], 1.85e+215], t$95$1, N[(x * y), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(t \cdot 0.0625\right)\\
\mathbf{if}\;x \cdot y \leq -3.5 \cdot 10^{+173}:\\
\;\;\;\;x \cdot y\\
\mathbf{elif}\;x \cdot y \leq -6.4 \cdot 10^{-21}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \cdot y \leq 34000000:\\
\;\;\;\;b \cdot \left(a \cdot -0.25\right)\\
\mathbf{elif}\;x \cdot y \leq 1.85 \cdot 10^{+215}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;x \cdot y\\
\end{array}
\end{array}
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (* 0.0625 (* z t))))
(if (or (<= (* x y) -3.3e+124) (not (<= (* x y) 2.45e+186)))
(+ c (+ (* x y) t_1))
(- (+ c t_1) (* (* a b) 0.25)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = 0.0625 * (z * t);
double tmp;
if (((x * y) <= -3.3e+124) || !((x * y) <= 2.45e+186)) {
tmp = c + ((x * y) + t_1);
} else {
tmp = (c + t_1) - ((a * b) * 0.25);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = 0.0625d0 * (z * t)
if (((x * y) <= (-3.3d+124)) .or. (.not. ((x * y) <= 2.45d+186))) then
tmp = c + ((x * y) + t_1)
else
tmp = (c + t_1) - ((a * b) * 0.25d0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = 0.0625 * (z * t);
double tmp;
if (((x * y) <= -3.3e+124) || !((x * y) <= 2.45e+186)) {
tmp = c + ((x * y) + t_1);
} else {
tmp = (c + t_1) - ((a * b) * 0.25);
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = 0.0625 * (z * t) tmp = 0 if ((x * y) <= -3.3e+124) or not ((x * y) <= 2.45e+186): tmp = c + ((x * y) + t_1) else: tmp = (c + t_1) - ((a * b) * 0.25) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(0.0625 * Float64(z * t)) tmp = 0.0 if ((Float64(x * y) <= -3.3e+124) || !(Float64(x * y) <= 2.45e+186)) tmp = Float64(c + Float64(Float64(x * y) + t_1)); else tmp = Float64(Float64(c + t_1) - Float64(Float64(a * b) * 0.25)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = 0.0625 * (z * t); tmp = 0.0; if (((x * y) <= -3.3e+124) || ~(((x * y) <= 2.45e+186))) tmp = c + ((x * y) + t_1); else tmp = (c + t_1) - ((a * b) * 0.25); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(0.0625 * N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[N[(x * y), $MachinePrecision], -3.3e+124], N[Not[LessEqual[N[(x * y), $MachinePrecision], 2.45e+186]], $MachinePrecision]], N[(c + N[(N[(x * y), $MachinePrecision] + t$95$1), $MachinePrecision]), $MachinePrecision], N[(N[(c + t$95$1), $MachinePrecision] - N[(N[(a * b), $MachinePrecision] * 0.25), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 0.0625 \cdot \left(z \cdot t\right)\\
\mathbf{if}\;x \cdot y \leq -3.3 \cdot 10^{+124} \lor \neg \left(x \cdot y \leq 2.45 \cdot 10^{+186}\right):\\
\;\;\;\;c + \left(x \cdot y + t_1\right)\\
\mathbf{else}:\\
\;\;\;\;\left(c + t_1\right) - \left(a \cdot b\right) \cdot 0.25\\
\end{array}
\end{array}
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (* 0.0625 (* z t))))
(if (or (<= (* a b) -1e+111) (not (<= (* a b) 2e+155)))
(- t_1 (* (* a b) 0.25))
(+ c (+ (* x y) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = 0.0625 * (z * t);
double tmp;
if (((a * b) <= -1e+111) || !((a * b) <= 2e+155)) {
tmp = t_1 - ((a * b) * 0.25);
} else {
tmp = c + ((x * y) + t_1);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = 0.0625d0 * (z * t)
if (((a * b) <= (-1d+111)) .or. (.not. ((a * b) <= 2d+155))) then
tmp = t_1 - ((a * b) * 0.25d0)
else
tmp = c + ((x * y) + t_1)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = 0.0625 * (z * t);
double tmp;
if (((a * b) <= -1e+111) || !((a * b) <= 2e+155)) {
tmp = t_1 - ((a * b) * 0.25);
} else {
tmp = c + ((x * y) + t_1);
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = 0.0625 * (z * t) tmp = 0 if ((a * b) <= -1e+111) or not ((a * b) <= 2e+155): tmp = t_1 - ((a * b) * 0.25) else: tmp = c + ((x * y) + t_1) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(0.0625 * Float64(z * t)) tmp = 0.0 if ((Float64(a * b) <= -1e+111) || !(Float64(a * b) <= 2e+155)) tmp = Float64(t_1 - Float64(Float64(a * b) * 0.25)); else tmp = Float64(c + Float64(Float64(x * y) + t_1)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = 0.0625 * (z * t); tmp = 0.0; if (((a * b) <= -1e+111) || ~(((a * b) <= 2e+155))) tmp = t_1 - ((a * b) * 0.25); else tmp = c + ((x * y) + t_1); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(0.0625 * N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[N[(a * b), $MachinePrecision], -1e+111], N[Not[LessEqual[N[(a * b), $MachinePrecision], 2e+155]], $MachinePrecision]], N[(t$95$1 - N[(N[(a * b), $MachinePrecision] * 0.25), $MachinePrecision]), $MachinePrecision], N[(c + N[(N[(x * y), $MachinePrecision] + t$95$1), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 0.0625 \cdot \left(z \cdot t\right)\\
\mathbf{if}\;a \cdot b \leq -1 \cdot 10^{+111} \lor \neg \left(a \cdot b \leq 2 \cdot 10^{+155}\right):\\
\;\;\;\;t_1 - \left(a \cdot b\right) \cdot 0.25\\
\mathbf{else}:\\
\;\;\;\;c + \left(x \cdot y + t_1\right)\\
\end{array}
\end{array}
(FPCore (x y z t a b c) :precision binary64 (if (or (<= (* a b) -2e+57) (not (<= (* a b) 5e+69))) (- (+ c (* x y)) (* (* a b) 0.25)) (+ c (+ (* x y) (* 0.0625 (* z t))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (((a * b) <= -2e+57) || !((a * b) <= 5e+69)) {
tmp = (c + (x * y)) - ((a * b) * 0.25);
} else {
tmp = c + ((x * y) + (0.0625 * (z * t)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (((a * b) <= (-2d+57)) .or. (.not. ((a * b) <= 5d+69))) then
tmp = (c + (x * y)) - ((a * b) * 0.25d0)
else
tmp = c + ((x * y) + (0.0625d0 * (z * t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (((a * b) <= -2e+57) || !((a * b) <= 5e+69)) {
tmp = (c + (x * y)) - ((a * b) * 0.25);
} else {
tmp = c + ((x * y) + (0.0625 * (z * t)));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if ((a * b) <= -2e+57) or not ((a * b) <= 5e+69): tmp = (c + (x * y)) - ((a * b) * 0.25) else: tmp = c + ((x * y) + (0.0625 * (z * t))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if ((Float64(a * b) <= -2e+57) || !(Float64(a * b) <= 5e+69)) tmp = Float64(Float64(c + Float64(x * y)) - Float64(Float64(a * b) * 0.25)); else tmp = Float64(c + Float64(Float64(x * y) + Float64(0.0625 * Float64(z * t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (((a * b) <= -2e+57) || ~(((a * b) <= 5e+69))) tmp = (c + (x * y)) - ((a * b) * 0.25); else tmp = c + ((x * y) + (0.0625 * (z * t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[N[(a * b), $MachinePrecision], -2e+57], N[Not[LessEqual[N[(a * b), $MachinePrecision], 5e+69]], $MachinePrecision]], N[(N[(c + N[(x * y), $MachinePrecision]), $MachinePrecision] - N[(N[(a * b), $MachinePrecision] * 0.25), $MachinePrecision]), $MachinePrecision], N[(c + N[(N[(x * y), $MachinePrecision] + N[(0.0625 * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \cdot b \leq -2 \cdot 10^{+57} \lor \neg \left(a \cdot b \leq 5 \cdot 10^{+69}\right):\\
\;\;\;\;\left(c + x \cdot y\right) - \left(a \cdot b\right) \cdot 0.25\\
\mathbf{else}:\\
\;\;\;\;c + \left(x \cdot y + 0.0625 \cdot \left(z \cdot t\right)\right)\\
\end{array}
\end{array}
(FPCore (x y z t a b c) :precision binary64 (+ c (+ (* t (* z 0.0625)) (- (* x y) (/ a (/ 4.0 b))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
return c + ((t * (z * 0.0625)) + ((x * y) - (a / (4.0 / b))));
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
code = c + ((t * (z * 0.0625d0)) + ((x * y) - (a / (4.0d0 / b))))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
return c + ((t * (z * 0.0625)) + ((x * y) - (a / (4.0 / b))));
}
def code(x, y, z, t, a, b, c): return c + ((t * (z * 0.0625)) + ((x * y) - (a / (4.0 / b))))
function code(x, y, z, t, a, b, c) return Float64(c + Float64(Float64(t * Float64(z * 0.0625)) + Float64(Float64(x * y) - Float64(a / Float64(4.0 / b))))) end
function tmp = code(x, y, z, t, a, b, c) tmp = c + ((t * (z * 0.0625)) + ((x * y) - (a / (4.0 / b)))); end
code[x_, y_, z_, t_, a_, b_, c_] := N[(c + N[(N[(t * N[(z * 0.0625), $MachinePrecision]), $MachinePrecision] + N[(N[(x * y), $MachinePrecision] - N[(a / N[(4.0 / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
c + \left(t \cdot \left(z \cdot 0.0625\right) + \left(x \cdot y - \frac{a}{\frac{4}{b}}\right)\right)
\end{array}
(FPCore (x y z t a b c) :precision binary64 (if (or (<= b -8.5e+34) (not (<= b 3.3e+193))) (+ c (* a (* b -0.25))) (+ c (+ (* x y) (* 0.0625 (* z t))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b <= -8.5e+34) || !(b <= 3.3e+193)) {
tmp = c + (a * (b * -0.25));
} else {
tmp = c + ((x * y) + (0.0625 * (z * t)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if ((b <= (-8.5d+34)) .or. (.not. (b <= 3.3d+193))) then
tmp = c + (a * (b * (-0.25d0)))
else
tmp = c + ((x * y) + (0.0625d0 * (z * t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b <= -8.5e+34) || !(b <= 3.3e+193)) {
tmp = c + (a * (b * -0.25));
} else {
tmp = c + ((x * y) + (0.0625 * (z * t)));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (b <= -8.5e+34) or not (b <= 3.3e+193): tmp = c + (a * (b * -0.25)) else: tmp = c + ((x * y) + (0.0625 * (z * t))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if ((b <= -8.5e+34) || !(b <= 3.3e+193)) tmp = Float64(c + Float64(a * Float64(b * -0.25))); else tmp = Float64(c + Float64(Float64(x * y) + Float64(0.0625 * Float64(z * t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if ((b <= -8.5e+34) || ~((b <= 3.3e+193))) tmp = c + (a * (b * -0.25)); else tmp = c + ((x * y) + (0.0625 * (z * t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[b, -8.5e+34], N[Not[LessEqual[b, 3.3e+193]], $MachinePrecision]], N[(c + N[(a * N[(b * -0.25), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c + N[(N[(x * y), $MachinePrecision] + N[(0.0625 * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -8.5 \cdot 10^{+34} \lor \neg \left(b \leq 3.3 \cdot 10^{+193}\right):\\
\;\;\;\;c + a \cdot \left(b \cdot -0.25\right)\\
\mathbf{else}:\\
\;\;\;\;c + \left(x \cdot y + 0.0625 \cdot \left(z \cdot t\right)\right)\\
\end{array}
\end{array}
(FPCore (x y z t a b c) :precision binary64 (if (or (<= (* x y) -5.5e+49) (not (<= (* x y) 2.9e+186))) (* x y) (* b (* a -0.25))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (((x * y) <= -5.5e+49) || !((x * y) <= 2.9e+186)) {
tmp = x * y;
} else {
tmp = b * (a * -0.25);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (((x * y) <= (-5.5d+49)) .or. (.not. ((x * y) <= 2.9d+186))) then
tmp = x * y
else
tmp = b * (a * (-0.25d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (((x * y) <= -5.5e+49) || !((x * y) <= 2.9e+186)) {
tmp = x * y;
} else {
tmp = b * (a * -0.25);
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if ((x * y) <= -5.5e+49) or not ((x * y) <= 2.9e+186): tmp = x * y else: tmp = b * (a * -0.25) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if ((Float64(x * y) <= -5.5e+49) || !(Float64(x * y) <= 2.9e+186)) tmp = Float64(x * y); else tmp = Float64(b * Float64(a * -0.25)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (((x * y) <= -5.5e+49) || ~(((x * y) <= 2.9e+186))) tmp = x * y; else tmp = b * (a * -0.25); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[N[(x * y), $MachinePrecision], -5.5e+49], N[Not[LessEqual[N[(x * y), $MachinePrecision], 2.9e+186]], $MachinePrecision]], N[(x * y), $MachinePrecision], N[(b * N[(a * -0.25), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \cdot y \leq -5.5 \cdot 10^{+49} \lor \neg \left(x \cdot y \leq 2.9 \cdot 10^{+186}\right):\\
\;\;\;\;x \cdot y\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot -0.25\right)\\
\end{array}
\end{array}
(FPCore (x y z t a b c) :precision binary64 (if (or (<= (* x y) -1.35e+39) (not (<= (* x y) 4e+22))) (* x y) c))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (((x * y) <= -1.35e+39) || !((x * y) <= 4e+22)) {
tmp = x * y;
} else {
tmp = c;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (((x * y) <= (-1.35d+39)) .or. (.not. ((x * y) <= 4d+22))) then
tmp = x * y
else
tmp = c
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (((x * y) <= -1.35e+39) || !((x * y) <= 4e+22)) {
tmp = x * y;
} else {
tmp = c;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if ((x * y) <= -1.35e+39) or not ((x * y) <= 4e+22): tmp = x * y else: tmp = c return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if ((Float64(x * y) <= -1.35e+39) || !(Float64(x * y) <= 4e+22)) tmp = Float64(x * y); else tmp = c; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (((x * y) <= -1.35e+39) || ~(((x * y) <= 4e+22))) tmp = x * y; else tmp = c; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[N[(x * y), $MachinePrecision], -1.35e+39], N[Not[LessEqual[N[(x * y), $MachinePrecision], 4e+22]], $MachinePrecision]], N[(x * y), $MachinePrecision], c]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \cdot y \leq -1.35 \cdot 10^{+39} \lor \neg \left(x \cdot y \leq 4 \cdot 10^{+22}\right):\\
\;\;\;\;x \cdot y\\
\mathbf{else}:\\
\;\;\;\;c\\
\end{array}
\end{array}
(FPCore (x y z t a b c) :precision binary64 (if (or (<= t -4e-36) (not (<= t 1.95e+74))) (* z (* t 0.0625)) (+ c (* x y))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((t <= -4e-36) || !(t <= 1.95e+74)) {
tmp = z * (t * 0.0625);
} else {
tmp = c + (x * y);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if ((t <= (-4d-36)) .or. (.not. (t <= 1.95d+74))) then
tmp = z * (t * 0.0625d0)
else
tmp = c + (x * y)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((t <= -4e-36) || !(t <= 1.95e+74)) {
tmp = z * (t * 0.0625);
} else {
tmp = c + (x * y);
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (t <= -4e-36) or not (t <= 1.95e+74): tmp = z * (t * 0.0625) else: tmp = c + (x * y) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if ((t <= -4e-36) || !(t <= 1.95e+74)) tmp = Float64(z * Float64(t * 0.0625)); else tmp = Float64(c + Float64(x * y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if ((t <= -4e-36) || ~((t <= 1.95e+74))) tmp = z * (t * 0.0625); else tmp = c + (x * y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[t, -4e-36], N[Not[LessEqual[t, 1.95e+74]], $MachinePrecision]], N[(z * N[(t * 0.0625), $MachinePrecision]), $MachinePrecision], N[(c + N[(x * y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4 \cdot 10^{-36} \lor \neg \left(t \leq 1.95 \cdot 10^{+74}\right):\\
\;\;\;\;z \cdot \left(t \cdot 0.0625\right)\\
\mathbf{else}:\\
\;\;\;\;c + x \cdot y\\
\end{array}
\end{array}
(FPCore (x y z t a b c) :precision binary64 c)
double code(double x, double y, double z, double t, double a, double b, double c) {
return c;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
code = c
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
return c;
}
def code(x, y, z, t, a, b, c): return c
function code(x, y, z, t, a, b, c) return c end
function tmp = code(x, y, z, t, a, b, c) tmp = c; end
code[x_, y_, z_, t_, a_, b_, c_] := c
\begin{array}{l}
\\
c
\end{array}
herbie shell --seed 2023343
(FPCore (x y z t a b c)
:name "Diagrams.Solve.Polynomial:quartForm from diagrams-solve-0.1, C"
:precision binary64
(+ (- (+ (* x y) (/ (* z t) 16.0)) (/ (* a b) 4.0)) c))