
(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 y x (+ (* a b) (* z t))))
double code(double x, double y, double z, double t, double a, double b) {
return fma(y, x, ((a * b) + (z * t)));
}
function code(x, y, z, t, a, b) return fma(y, x, Float64(Float64(a * b) + Float64(z * t))) end
code[x_, y_, z_, t_, a_, b_] := N[(y * x + N[(N[(a * b), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(y, x, a \cdot b + z \cdot t\right)
\end{array}
Initial program 97.6%
associate-+l+N/A
*-commutativeN/A
fma-defineN/A
fma-lowering-fma.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6498.0%
Applied egg-rr98.0%
Final simplification98.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= (* a b) -4.2e+158)
(* a b)
(if (<= (* a b) -2.5e-79)
(* y x)
(if (<= (* a b) -1.8e-201)
(* z t)
(if (<= (* a b) 5e+49) (* y x) (* a b))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((a * b) <= -4.2e+158) {
tmp = a * b;
} else if ((a * b) <= -2.5e-79) {
tmp = y * x;
} else if ((a * b) <= -1.8e-201) {
tmp = z * t;
} else if ((a * b) <= 5e+49) {
tmp = y * x;
} else {
tmp = a * b;
}
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 ((a * b) <= (-4.2d+158)) then
tmp = a * b
else if ((a * b) <= (-2.5d-79)) then
tmp = y * x
else if ((a * b) <= (-1.8d-201)) then
tmp = z * t
else if ((a * b) <= 5d+49) then
tmp = y * x
else
tmp = a * b
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 ((a * b) <= -4.2e+158) {
tmp = a * b;
} else if ((a * b) <= -2.5e-79) {
tmp = y * x;
} else if ((a * b) <= -1.8e-201) {
tmp = z * t;
} else if ((a * b) <= 5e+49) {
tmp = y * x;
} else {
tmp = a * b;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (a * b) <= -4.2e+158: tmp = a * b elif (a * b) <= -2.5e-79: tmp = y * x elif (a * b) <= -1.8e-201: tmp = z * t elif (a * b) <= 5e+49: tmp = y * x else: tmp = a * b return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(a * b) <= -4.2e+158) tmp = Float64(a * b); elseif (Float64(a * b) <= -2.5e-79) tmp = Float64(y * x); elseif (Float64(a * b) <= -1.8e-201) tmp = Float64(z * t); elseif (Float64(a * b) <= 5e+49) tmp = Float64(y * x); else tmp = Float64(a * b); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((a * b) <= -4.2e+158) tmp = a * b; elseif ((a * b) <= -2.5e-79) tmp = y * x; elseif ((a * b) <= -1.8e-201) tmp = z * t; elseif ((a * b) <= 5e+49) tmp = y * x; else tmp = a * b; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(a * b), $MachinePrecision], -4.2e+158], N[(a * b), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], -2.5e-79], N[(y * x), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], -1.8e-201], N[(z * t), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], 5e+49], N[(y * x), $MachinePrecision], N[(a * b), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \cdot b \leq -4.2 \cdot 10^{+158}:\\
\;\;\;\;a \cdot b\\
\mathbf{elif}\;a \cdot b \leq -2.5 \cdot 10^{-79}:\\
\;\;\;\;y \cdot x\\
\mathbf{elif}\;a \cdot b \leq -1.8 \cdot 10^{-201}:\\
\;\;\;\;z \cdot t\\
\mathbf{elif}\;a \cdot b \leq 5 \cdot 10^{+49}:\\
\;\;\;\;y \cdot x\\
\mathbf{else}:\\
\;\;\;\;a \cdot b\\
\end{array}
\end{array}
if (*.f64 a b) < -4.1999999999999998e158 or 5.0000000000000004e49 < (*.f64 a b) Initial program 95.0%
Taylor expanded in a around inf
*-lowering-*.f6484.2%
Simplified84.2%
if -4.1999999999999998e158 < (*.f64 a b) < -2.5e-79 or -1.80000000000000016e-201 < (*.f64 a b) < 5.0000000000000004e49Initial program 99.3%
Taylor expanded in x around inf
*-lowering-*.f6451.8%
Simplified51.8%
if -2.5e-79 < (*.f64 a b) < -1.80000000000000016e-201Initial program 95.8%
Taylor expanded in z around inf
*-lowering-*.f6460.0%
Simplified60.0%
Final simplification62.7%
(FPCore (x y z t a b) :precision binary64 (if (<= (* a b) -9000000000.0) (+ (* a b) (* y x)) (if (<= (* a b) 3.9e+49) (+ (* y x) (* z t)) (+ (* a b) (* z t)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((a * b) <= -9000000000.0) {
tmp = (a * b) + (y * x);
} else if ((a * b) <= 3.9e+49) {
tmp = (y * x) + (z * t);
} else {
tmp = (a * b) + (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 ((a * b) <= (-9000000000.0d0)) then
tmp = (a * b) + (y * x)
else if ((a * b) <= 3.9d+49) then
tmp = (y * x) + (z * t)
else
tmp = (a * b) + (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 ((a * b) <= -9000000000.0) {
tmp = (a * b) + (y * x);
} else if ((a * b) <= 3.9e+49) {
tmp = (y * x) + (z * t);
} else {
tmp = (a * b) + (z * t);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (a * b) <= -9000000000.0: tmp = (a * b) + (y * x) elif (a * b) <= 3.9e+49: tmp = (y * x) + (z * t) else: tmp = (a * b) + (z * t) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(a * b) <= -9000000000.0) tmp = Float64(Float64(a * b) + Float64(y * x)); elseif (Float64(a * b) <= 3.9e+49) tmp = Float64(Float64(y * x) + Float64(z * t)); else tmp = Float64(Float64(a * b) + Float64(z * t)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((a * b) <= -9000000000.0) tmp = (a * b) + (y * x); elseif ((a * b) <= 3.9e+49) tmp = (y * x) + (z * t); else tmp = (a * b) + (z * t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(a * b), $MachinePrecision], -9000000000.0], N[(N[(a * b), $MachinePrecision] + N[(y * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], 3.9e+49], N[(N[(y * x), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision], N[(N[(a * b), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \cdot b \leq -9000000000:\\
\;\;\;\;a \cdot b + y \cdot x\\
\mathbf{elif}\;a \cdot b \leq 3.9 \cdot 10^{+49}:\\
\;\;\;\;y \cdot x + z \cdot t\\
\mathbf{else}:\\
\;\;\;\;a \cdot b + z \cdot t\\
\end{array}
\end{array}
if (*.f64 a b) < -9e9Initial program 93.7%
Taylor expanded in x around inf
*-lowering-*.f6489.3%
Simplified89.3%
if -9e9 < (*.f64 a b) < 3.9000000000000001e49Initial program 99.3%
Taylor expanded in a around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6487.5%
Simplified87.5%
if 3.9000000000000001e49 < (*.f64 a b) Initial program 97.6%
Taylor expanded in x around 0
*-lowering-*.f6493.1%
Simplified93.1%
Final simplification88.8%
(FPCore (x y z t a b) :precision binary64 (if (<= (* a b) -9.5e+155) (* a b) (if (<= (* a b) 4.5e+49) (+ (* y x) (* z t)) (+ (* a b) (* z t)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((a * b) <= -9.5e+155) {
tmp = a * b;
} else if ((a * b) <= 4.5e+49) {
tmp = (y * x) + (z * t);
} else {
tmp = (a * b) + (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 ((a * b) <= (-9.5d+155)) then
tmp = a * b
else if ((a * b) <= 4.5d+49) then
tmp = (y * x) + (z * t)
else
tmp = (a * b) + (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 ((a * b) <= -9.5e+155) {
tmp = a * b;
} else if ((a * b) <= 4.5e+49) {
tmp = (y * x) + (z * t);
} else {
tmp = (a * b) + (z * t);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (a * b) <= -9.5e+155: tmp = a * b elif (a * b) <= 4.5e+49: tmp = (y * x) + (z * t) else: tmp = (a * b) + (z * t) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(a * b) <= -9.5e+155) tmp = Float64(a * b); elseif (Float64(a * b) <= 4.5e+49) tmp = Float64(Float64(y * x) + Float64(z * t)); else tmp = Float64(Float64(a * b) + Float64(z * t)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((a * b) <= -9.5e+155) tmp = a * b; elseif ((a * b) <= 4.5e+49) tmp = (y * x) + (z * t); else tmp = (a * b) + (z * t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(a * b), $MachinePrecision], -9.5e+155], N[(a * b), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], 4.5e+49], N[(N[(y * x), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision], N[(N[(a * b), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \cdot b \leq -9.5 \cdot 10^{+155}:\\
\;\;\;\;a \cdot b\\
\mathbf{elif}\;a \cdot b \leq 4.5 \cdot 10^{+49}:\\
\;\;\;\;y \cdot x + z \cdot t\\
\mathbf{else}:\\
\;\;\;\;a \cdot b + z \cdot t\\
\end{array}
\end{array}
if (*.f64 a b) < -9.5000000000000006e155Initial program 92.1%
Taylor expanded in a around inf
*-lowering-*.f6494.5%
Simplified94.5%
if -9.5000000000000006e155 < (*.f64 a b) < 4.49999999999999982e49Initial program 98.8%
Taylor expanded in a around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6484.6%
Simplified84.6%
if 4.49999999999999982e49 < (*.f64 a b) Initial program 97.6%
Taylor expanded in x around 0
*-lowering-*.f6493.1%
Simplified93.1%
Final simplification87.4%
(FPCore (x y z t a b) :precision binary64 (if (<= (* y x) -1e+254) (* y x) (if (<= (* y x) 1e+156) (+ (* a b) (* z t)) (* y x))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y * x) <= -1e+254) {
tmp = y * x;
} else if ((y * x) <= 1e+156) {
tmp = (a * b) + (z * t);
} else {
tmp = y * x;
}
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 ((y * x) <= (-1d+254)) then
tmp = y * x
else if ((y * x) <= 1d+156) then
tmp = (a * b) + (z * t)
else
tmp = y * x
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 ((y * x) <= -1e+254) {
tmp = y * x;
} else if ((y * x) <= 1e+156) {
tmp = (a * b) + (z * t);
} else {
tmp = y * x;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y * x) <= -1e+254: tmp = y * x elif (y * x) <= 1e+156: tmp = (a * b) + (z * t) else: tmp = y * x return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(y * x) <= -1e+254) tmp = Float64(y * x); elseif (Float64(y * x) <= 1e+156) tmp = Float64(Float64(a * b) + Float64(z * t)); else tmp = Float64(y * x); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y * x) <= -1e+254) tmp = y * x; elseif ((y * x) <= 1e+156) tmp = (a * b) + (z * t); else tmp = y * x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(y * x), $MachinePrecision], -1e+254], N[(y * x), $MachinePrecision], If[LessEqual[N[(y * x), $MachinePrecision], 1e+156], N[(N[(a * b), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision], N[(y * x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \cdot x \leq -1 \cdot 10^{+254}:\\
\;\;\;\;y \cdot x\\
\mathbf{elif}\;y \cdot x \leq 10^{+156}:\\
\;\;\;\;a \cdot b + z \cdot t\\
\mathbf{else}:\\
\;\;\;\;y \cdot x\\
\end{array}
\end{array}
if (*.f64 x y) < -9.9999999999999994e253 or 9.9999999999999998e155 < (*.f64 x y) Initial program 93.1%
Taylor expanded in x around inf
*-lowering-*.f6480.0%
Simplified80.0%
if -9.9999999999999994e253 < (*.f64 x y) < 9.9999999999999998e155Initial program 99.0%
Taylor expanded in x around 0
*-lowering-*.f6479.7%
Simplified79.7%
Final simplification79.8%
(FPCore (x y z t a b) :precision binary64 (if (<= (* a b) -2.1e+106) (* a b) (if (<= (* a b) 8e+27) (* z t) (* a b))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((a * b) <= -2.1e+106) {
tmp = a * b;
} else if ((a * b) <= 8e+27) {
tmp = z * t;
} else {
tmp = a * b;
}
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 ((a * b) <= (-2.1d+106)) then
tmp = a * b
else if ((a * b) <= 8d+27) then
tmp = z * t
else
tmp = a * b
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 ((a * b) <= -2.1e+106) {
tmp = a * b;
} else if ((a * b) <= 8e+27) {
tmp = z * t;
} else {
tmp = a * b;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (a * b) <= -2.1e+106: tmp = a * b elif (a * b) <= 8e+27: tmp = z * t else: tmp = a * b return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(a * b) <= -2.1e+106) tmp = Float64(a * b); elseif (Float64(a * b) <= 8e+27) tmp = Float64(z * t); else tmp = Float64(a * b); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((a * b) <= -2.1e+106) tmp = a * b; elseif ((a * b) <= 8e+27) tmp = z * t; else tmp = a * b; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(a * b), $MachinePrecision], -2.1e+106], N[(a * b), $MachinePrecision], If[LessEqual[N[(a * b), $MachinePrecision], 8e+27], N[(z * t), $MachinePrecision], N[(a * b), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \cdot b \leq -2.1 \cdot 10^{+106}:\\
\;\;\;\;a \cdot b\\
\mathbf{elif}\;a \cdot b \leq 8 \cdot 10^{+27}:\\
\;\;\;\;z \cdot t\\
\mathbf{else}:\\
\;\;\;\;a \cdot b\\
\end{array}
\end{array}
if (*.f64 a b) < -2.10000000000000005e106 or 8.0000000000000001e27 < (*.f64 a b) Initial program 95.7%
Taylor expanded in a around inf
*-lowering-*.f6476.1%
Simplified76.1%
if -2.10000000000000005e106 < (*.f64 a b) < 8.0000000000000001e27Initial program 98.7%
Taylor expanded in z around inf
*-lowering-*.f6445.1%
Simplified45.1%
Final simplification56.5%
(FPCore (x y z t a b) :precision binary64 (+ (* a b) (+ (* y x) (* z t))))
double code(double x, double y, double z, double t, double a, double b) {
return (a * b) + ((y * x) + (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 = (a * b) + ((y * x) + (z * t))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return (a * b) + ((y * x) + (z * t));
}
def code(x, y, z, t, a, b): return (a * b) + ((y * x) + (z * t))
function code(x, y, z, t, a, b) return Float64(Float64(a * b) + Float64(Float64(y * x) + Float64(z * t))) end
function tmp = code(x, y, z, t, a, b) tmp = (a * b) + ((y * x) + (z * t)); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(a * b), $MachinePrecision] + N[(N[(y * x), $MachinePrecision] + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot b + \left(y \cdot x + z \cdot t\right)
\end{array}
Initial program 97.6%
Final simplification97.6%
(FPCore (x y z t a b) :precision binary64 (* a b))
double code(double x, double y, double z, double t, double a, double b) {
return 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 = a * b
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return a * b;
}
def code(x, y, z, t, a, b): return a * b
function code(x, y, z, t, a, b) return Float64(a * b) end
function tmp = code(x, y, z, t, a, b) tmp = a * b; end
code[x_, y_, z_, t_, a_, b_] := N[(a * b), $MachinePrecision]
\begin{array}{l}
\\
a \cdot b
\end{array}
Initial program 97.6%
Taylor expanded in a around inf
*-lowering-*.f6438.3%
Simplified38.3%
herbie shell --seed 2024145
(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)))