
(FPCore (x y z t a b) :precision binary64 (+ (+ (* x y) (* z t)) (* a b)))
double code(double x, double y, double z, double t, double a, double b) {
return ((x * y) + (z * t)) + (a * b);
}
real(8) function code(x, y, z, t, a, b)
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
code = ((x * y) + (z * t)) + (a * b)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return ((x * y) + (z * t)) + (a * b);
}
def code(x, y, z, t, a, b): return ((x * y) + (z * t)) + (a * b)
function code(x, y, z, t, a, b) return Float64(Float64(Float64(x * y) + Float64(z * t)) + Float64(a * b)) end
function tmp = code(x, y, z, t, a, b) tmp = ((x * y) + (z * t)) + (a * b); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(x * y), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision] + N[(a * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot y + z \cdot t\right) + a \cdot b
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b) :precision binary64 (+ (+ (* x y) (* z t)) (* a b)))
double code(double x, double y, double z, double t, double a, double b) {
return ((x * y) + (z * t)) + (a * b);
}
real(8) function code(x, y, z, t, a, b)
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
code = ((x * y) + (z * t)) + (a * b)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return ((x * y) + (z * t)) + (a * b);
}
def code(x, y, z, t, a, b): return ((x * y) + (z * t)) + (a * b)
function code(x, y, z, t, a, b) return Float64(Float64(Float64(x * y) + Float64(z * t)) + Float64(a * b)) end
function tmp = code(x, y, z, t, a, b) tmp = ((x * y) + (z * t)) + (a * b); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(x * y), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision] + N[(a * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot y + z \cdot t\right) + a \cdot b
\end{array}
(FPCore (x y z t a b) :precision binary64 (fma b a (fma x y (* z t))))
double code(double x, double y, double z, double t, double a, double b) {
return fma(b, a, fma(x, y, (z * t)));
}
function code(x, y, z, t, a, b) return fma(b, a, fma(x, y, Float64(z * t))) end
code[x_, y_, z_, t_, a_, b_] := N[(b * a + N[(x * y + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(b, a, \mathsf{fma}\left(x, y, z \cdot t\right)\right)
\end{array}
Initial program 98.4%
+-commutative98.4%
*-commutative98.4%
fma-define99.2%
fma-define99.6%
Applied egg-rr99.6%
Final simplification99.6%
(FPCore (x y z t a b)
:precision binary64
(if (<= (* b a) -1.25e+33)
(* b a)
(if (<= (* b a) -1e-315)
(* x y)
(if (<= (* b a) 4e-323)
(* z t)
(if (<= (* b a) 7.6e-107)
(* x y)
(if (<= (* b a) 1.95e+37) (* z t) (* b a)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((b * a) <= -1.25e+33) {
tmp = b * a;
} else if ((b * a) <= -1e-315) {
tmp = x * y;
} else if ((b * a) <= 4e-323) {
tmp = z * t;
} else if ((b * a) <= 7.6e-107) {
tmp = x * y;
} else if ((b * a) <= 1.95e+37) {
tmp = z * t;
} else {
tmp = b * a;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if ((b * a) <= (-1.25d+33)) then
tmp = b * a
else if ((b * a) <= (-1d-315)) then
tmp = x * y
else if ((b * a) <= 4d-323) then
tmp = z * t
else if ((b * a) <= 7.6d-107) then
tmp = x * y
else if ((b * a) <= 1.95d+37) then
tmp = z * t
else
tmp = b * a
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((b * a) <= -1.25e+33) {
tmp = b * a;
} else if ((b * a) <= -1e-315) {
tmp = x * y;
} else if ((b * a) <= 4e-323) {
tmp = z * t;
} else if ((b * a) <= 7.6e-107) {
tmp = x * y;
} else if ((b * a) <= 1.95e+37) {
tmp = z * t;
} else {
tmp = b * a;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (b * a) <= -1.25e+33: tmp = b * a elif (b * a) <= -1e-315: tmp = x * y elif (b * a) <= 4e-323: tmp = z * t elif (b * a) <= 7.6e-107: tmp = x * y elif (b * a) <= 1.95e+37: tmp = z * t else: tmp = b * a return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(b * a) <= -1.25e+33) tmp = Float64(b * a); elseif (Float64(b * a) <= -1e-315) tmp = Float64(x * y); elseif (Float64(b * a) <= 4e-323) tmp = Float64(z * t); elseif (Float64(b * a) <= 7.6e-107) tmp = Float64(x * y); elseif (Float64(b * a) <= 1.95e+37) tmp = Float64(z * t); else tmp = Float64(b * a); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((b * a) <= -1.25e+33) tmp = b * a; elseif ((b * a) <= -1e-315) tmp = x * y; elseif ((b * a) <= 4e-323) tmp = z * t; elseif ((b * a) <= 7.6e-107) tmp = x * y; elseif ((b * a) <= 1.95e+37) tmp = z * t; else tmp = b * a; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(b * a), $MachinePrecision], -1.25e+33], N[(b * a), $MachinePrecision], If[LessEqual[N[(b * a), $MachinePrecision], -1e-315], N[(x * y), $MachinePrecision], If[LessEqual[N[(b * a), $MachinePrecision], 4e-323], N[(z * t), $MachinePrecision], If[LessEqual[N[(b * a), $MachinePrecision], 7.6e-107], N[(x * y), $MachinePrecision], If[LessEqual[N[(b * a), $MachinePrecision], 1.95e+37], N[(z * t), $MachinePrecision], N[(b * a), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \cdot a \leq -1.25 \cdot 10^{+33}:\\
\;\;\;\;b \cdot a\\
\mathbf{elif}\;b \cdot a \leq -1 \cdot 10^{-315}:\\
\;\;\;\;x \cdot y\\
\mathbf{elif}\;b \cdot a \leq 4 \cdot 10^{-323}:\\
\;\;\;\;z \cdot t\\
\mathbf{elif}\;b \cdot a \leq 7.6 \cdot 10^{-107}:\\
\;\;\;\;x \cdot y\\
\mathbf{elif}\;b \cdot a \leq 1.95 \cdot 10^{+37}:\\
\;\;\;\;z \cdot t\\
\mathbf{else}:\\
\;\;\;\;b \cdot a\\
\end{array}
\end{array}
if (*.f64 a b) < -1.24999999999999993e33 or 1.9499999999999999e37 < (*.f64 a b) Initial program 96.6%
Taylor expanded in a around inf 72.5%
if -1.24999999999999993e33 < (*.f64 a b) < -9.999999985e-316 or 3.95253e-323 < (*.f64 a b) < 7.6000000000000004e-107Initial program 100.0%
Taylor expanded in x around inf 68.6%
if -9.999999985e-316 < (*.f64 a b) < 3.95253e-323 or 7.6000000000000004e-107 < (*.f64 a b) < 1.9499999999999999e37Initial program 100.0%
Taylor expanded in z around inf 59.5%
Final simplification68.3%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= (* x y) -4.8e+175)
(and (not (<= (* x y) 5.2e+41))
(or (<= (* x y) 2.4e+84) (not (<= (* x y) 4.7e+100)))))
(* x y)
(+ (* b a) (* z t))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((x * y) <= -4.8e+175) || (!((x * y) <= 5.2e+41) && (((x * y) <= 2.4e+84) || !((x * y) <= 4.7e+100)))) {
tmp = x * y;
} else {
tmp = (b * a) + (z * t);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if (((x * y) <= (-4.8d+175)) .or. (.not. ((x * y) <= 5.2d+41)) .and. ((x * y) <= 2.4d+84) .or. (.not. ((x * y) <= 4.7d+100))) then
tmp = x * y
else
tmp = (b * a) + (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 tmp;
if (((x * y) <= -4.8e+175) || (!((x * y) <= 5.2e+41) && (((x * y) <= 2.4e+84) || !((x * y) <= 4.7e+100)))) {
tmp = x * y;
} else {
tmp = (b * a) + (z * t);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if ((x * y) <= -4.8e+175) or (not ((x * y) <= 5.2e+41) and (((x * y) <= 2.4e+84) or not ((x * y) <= 4.7e+100))): tmp = x * y else: tmp = (b * a) + (z * t) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((Float64(x * y) <= -4.8e+175) || (!(Float64(x * y) <= 5.2e+41) && ((Float64(x * y) <= 2.4e+84) || !(Float64(x * y) <= 4.7e+100)))) tmp = Float64(x * y); else tmp = Float64(Float64(b * a) + Float64(z * t)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (((x * y) <= -4.8e+175) || (~(((x * y) <= 5.2e+41)) && (((x * y) <= 2.4e+84) || ~(((x * y) <= 4.7e+100))))) tmp = x * y; else tmp = (b * a) + (z * t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[N[(x * y), $MachinePrecision], -4.8e+175], And[N[Not[LessEqual[N[(x * y), $MachinePrecision], 5.2e+41]], $MachinePrecision], Or[LessEqual[N[(x * y), $MachinePrecision], 2.4e+84], N[Not[LessEqual[N[(x * y), $MachinePrecision], 4.7e+100]], $MachinePrecision]]]], N[(x * y), $MachinePrecision], N[(N[(b * a), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \cdot y \leq -4.8 \cdot 10^{+175} \lor \neg \left(x \cdot y \leq 5.2 \cdot 10^{+41}\right) \land \left(x \cdot y \leq 2.4 \cdot 10^{+84} \lor \neg \left(x \cdot y \leq 4.7 \cdot 10^{+100}\right)\right):\\
\;\;\;\;x \cdot y\\
\mathbf{else}:\\
\;\;\;\;b \cdot a + z \cdot t\\
\end{array}
\end{array}
if (*.f64 x y) < -4.8e175 or 5.2000000000000001e41 < (*.f64 x y) < 2.4e84 or 4.7e100 < (*.f64 x y) Initial program 97.8%
Taylor expanded in x around inf 83.5%
if -4.8e175 < (*.f64 x y) < 5.2000000000000001e41 or 2.4e84 < (*.f64 x y) < 4.7e100Initial program 98.8%
Taylor expanded in x around 0 87.0%
Final simplification85.8%
(FPCore (x y z t a b) :precision binary64 (if (or (<= (* x y) -3.2e+34) (not (<= (* x y) 5.4e-86))) (+ (* x y) (* b a)) (+ (* b a) (* z t))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((x * y) <= -3.2e+34) || !((x * y) <= 5.4e-86)) {
tmp = (x * y) + (b * a);
} else {
tmp = (b * a) + (z * t);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if (((x * y) <= (-3.2d+34)) .or. (.not. ((x * y) <= 5.4d-86))) then
tmp = (x * y) + (b * a)
else
tmp = (b * a) + (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 tmp;
if (((x * y) <= -3.2e+34) || !((x * y) <= 5.4e-86)) {
tmp = (x * y) + (b * a);
} else {
tmp = (b * a) + (z * t);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if ((x * y) <= -3.2e+34) or not ((x * y) <= 5.4e-86): tmp = (x * y) + (b * a) else: tmp = (b * a) + (z * t) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((Float64(x * y) <= -3.2e+34) || !(Float64(x * y) <= 5.4e-86)) tmp = Float64(Float64(x * y) + Float64(b * a)); else tmp = Float64(Float64(b * a) + Float64(z * t)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (((x * y) <= -3.2e+34) || ~(((x * y) <= 5.4e-86))) tmp = (x * y) + (b * a); else tmp = (b * a) + (z * t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[N[(x * y), $MachinePrecision], -3.2e+34], N[Not[LessEqual[N[(x * y), $MachinePrecision], 5.4e-86]], $MachinePrecision]], N[(N[(x * y), $MachinePrecision] + N[(b * a), $MachinePrecision]), $MachinePrecision], N[(N[(b * a), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \cdot y \leq -3.2 \cdot 10^{+34} \lor \neg \left(x \cdot y \leq 5.4 \cdot 10^{-86}\right):\\
\;\;\;\;x \cdot y + b \cdot a\\
\mathbf{else}:\\
\;\;\;\;b \cdot a + z \cdot t\\
\end{array}
\end{array}
if (*.f64 x y) < -3.1999999999999998e34 or 5.39999999999999985e-86 < (*.f64 x y) Initial program 98.5%
Taylor expanded in z around 0 87.6%
if -3.1999999999999998e34 < (*.f64 x y) < 5.39999999999999985e-86Initial program 98.3%
Taylor expanded in x around 0 95.9%
Final simplification91.5%
(FPCore (x y z t a b) :precision binary64 (if (or (<= (* b a) -2.9e+30) (not (<= (* b a) 1.85e+36))) (+ (* x y) (* b a)) (+ (* x y) (* z t))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((b * a) <= -2.9e+30) || !((b * a) <= 1.85e+36)) {
tmp = (x * y) + (b * a);
} else {
tmp = (x * y) + (z * t);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if (((b * a) <= (-2.9d+30)) .or. (.not. ((b * a) <= 1.85d+36))) then
tmp = (x * y) + (b * a)
else
tmp = (x * y) + (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 tmp;
if (((b * a) <= -2.9e+30) || !((b * a) <= 1.85e+36)) {
tmp = (x * y) + (b * a);
} else {
tmp = (x * y) + (z * t);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if ((b * a) <= -2.9e+30) or not ((b * a) <= 1.85e+36): tmp = (x * y) + (b * a) else: tmp = (x * y) + (z * t) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((Float64(b * a) <= -2.9e+30) || !(Float64(b * a) <= 1.85e+36)) tmp = Float64(Float64(x * y) + Float64(b * a)); else tmp = Float64(Float64(x * y) + Float64(z * t)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (((b * a) <= -2.9e+30) || ~(((b * a) <= 1.85e+36))) tmp = (x * y) + (b * a); else tmp = (x * y) + (z * t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[N[(b * a), $MachinePrecision], -2.9e+30], N[Not[LessEqual[N[(b * a), $MachinePrecision], 1.85e+36]], $MachinePrecision]], N[(N[(x * y), $MachinePrecision] + N[(b * a), $MachinePrecision]), $MachinePrecision], N[(N[(x * y), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \cdot a \leq -2.9 \cdot 10^{+30} \lor \neg \left(b \cdot a \leq 1.85 \cdot 10^{+36}\right):\\
\;\;\;\;x \cdot y + b \cdot a\\
\mathbf{else}:\\
\;\;\;\;x \cdot y + z \cdot t\\
\end{array}
\end{array}
if (*.f64 a b) < -2.8999999999999998e30 or 1.85000000000000014e36 < (*.f64 a b) Initial program 96.6%
Taylor expanded in z around 0 88.2%
if -2.8999999999999998e30 < (*.f64 a b) < 1.85000000000000014e36Initial program 100.0%
Taylor expanded in a around 0 93.7%
+-commutative93.7%
Simplified93.7%
Final simplification91.1%
(FPCore (x y z t a b) :precision binary64 (if (or (<= (* b a) -18500000.0) (not (<= (* b a) 3.8e+36))) (* b a) (* z t)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((b * a) <= -18500000.0) || !((b * a) <= 3.8e+36)) {
tmp = b * a;
} else {
tmp = z * t;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
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) :: tmp
if (((b * a) <= (-18500000.0d0)) .or. (.not. ((b * a) <= 3.8d+36))) then
tmp = b * a
else
tmp = 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 tmp;
if (((b * a) <= -18500000.0) || !((b * a) <= 3.8e+36)) {
tmp = b * a;
} else {
tmp = z * t;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if ((b * a) <= -18500000.0) or not ((b * a) <= 3.8e+36): tmp = b * a else: tmp = z * t return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((Float64(b * a) <= -18500000.0) || !(Float64(b * a) <= 3.8e+36)) tmp = Float64(b * a); else tmp = Float64(z * t); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (((b * a) <= -18500000.0) || ~(((b * a) <= 3.8e+36))) tmp = b * a; else tmp = z * t; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[N[(b * a), $MachinePrecision], -18500000.0], N[Not[LessEqual[N[(b * a), $MachinePrecision], 3.8e+36]], $MachinePrecision]], N[(b * a), $MachinePrecision], N[(z * t), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \cdot a \leq -18500000 \lor \neg \left(b \cdot a \leq 3.8 \cdot 10^{+36}\right):\\
\;\;\;\;b \cdot a\\
\mathbf{else}:\\
\;\;\;\;z \cdot t\\
\end{array}
\end{array}
if (*.f64 a b) < -1.85e7 or 3.80000000000000025e36 < (*.f64 a b) Initial program 96.7%
Taylor expanded in a around inf 71.3%
if -1.85e7 < (*.f64 a b) < 3.80000000000000025e36Initial program 100.0%
Taylor expanded in z around inf 42.6%
Final simplification56.2%
(FPCore (x y z t a b) :precision binary64 (+ (* b a) (+ (* x y) (* z t))))
double code(double x, double y, double z, double t, double a, double b) {
return (b * a) + ((x * y) + (z * t));
}
real(8) function code(x, y, z, t, a, b)
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
code = (b * a) + ((x * y) + (z * t))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return (b * a) + ((x * y) + (z * t));
}
def code(x, y, z, t, a, b): return (b * a) + ((x * y) + (z * t))
function code(x, y, z, t, a, b) return Float64(Float64(b * a) + Float64(Float64(x * y) + Float64(z * t))) end
function tmp = code(x, y, z, t, a, b) tmp = (b * a) + ((x * y) + (z * t)); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(b * a), $MachinePrecision] + N[(N[(x * y), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
b \cdot a + \left(x \cdot y + z \cdot t\right)
\end{array}
Initial program 98.4%
Final simplification98.4%
(FPCore (x y z t a b) :precision binary64 (* b a))
double code(double x, double y, double z, double t, double a, double b) {
return b * a;
}
real(8) function code(x, y, z, t, a, b)
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
code = b * a
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return b * a;
}
def code(x, y, z, t, a, b): return b * a
function code(x, y, z, t, a, b) return Float64(b * a) end
function tmp = code(x, y, z, t, a, b) tmp = b * a; end
code[x_, y_, z_, t_, a_, b_] := N[(b * a), $MachinePrecision]
\begin{array}{l}
\\
b \cdot a
\end{array}
Initial program 98.4%
Taylor expanded in a around inf 39.2%
Final simplification39.2%
herbie shell --seed 2024048
(FPCore (x y z t a b)
:name "Linear.V3:$cdot from linear-1.19.1.3, B"
:precision binary64
(+ (+ (* x y) (* z t)) (* a b)))