
(FPCore (x y z t) :precision binary64 (+ (* (+ (* x y) z) y) t))
double code(double x, double y, double z, double t) {
return (((x * y) + z) * y) + t;
}
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 * y) + z) * y) + t
end function
public static double code(double x, double y, double z, double t) {
return (((x * y) + z) * y) + t;
}
def code(x, y, z, t): return (((x * y) + z) * y) + t
function code(x, y, z, t) return Float64(Float64(Float64(Float64(x * y) + z) * y) + t) end
function tmp = code(x, y, z, t) tmp = (((x * y) + z) * y) + t; end
code[x_, y_, z_, t_] := N[(N[(N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot y + z\right) \cdot y + t
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 9 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (+ (* (+ (* x y) z) y) t))
double code(double x, double y, double z, double t) {
return (((x * y) + z) * y) + t;
}
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 * y) + z) * y) + t
end function
public static double code(double x, double y, double z, double t) {
return (((x * y) + z) * y) + t;
}
def code(x, y, z, t): return (((x * y) + z) * y) + t
function code(x, y, z, t) return Float64(Float64(Float64(Float64(x * y) + z) * y) + t) end
function tmp = code(x, y, z, t) tmp = (((x * y) + z) * y) + t; end
code[x_, y_, z_, t_] := N[(N[(N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot y + z\right) \cdot y + t
\end{array}
(FPCore (x y z t) :precision binary64 (+ (* y (+ (- (* y x) z) (+ z z))) t))
double code(double x, double y, double z, double t) {
return (y * (((y * x) - z) + (z + z))) + t;
}
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 = (y * (((y * x) - z) + (z + z))) + t
end function
public static double code(double x, double y, double z, double t) {
return (y * (((y * x) - z) + (z + z))) + t;
}
def code(x, y, z, t): return (y * (((y * x) - z) + (z + z))) + t
function code(x, y, z, t) return Float64(Float64(y * Float64(Float64(Float64(y * x) - z) + Float64(z + z))) + t) end
function tmp = code(x, y, z, t) tmp = (y * (((y * x) - z) + (z + z))) + t; end
code[x_, y_, z_, t_] := N[(N[(y * N[(N[(N[(y * x), $MachinePrecision] - z), $MachinePrecision] + N[(z + z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]
\begin{array}{l}
\\
y \cdot \left(\left(y \cdot x - z\right) + \left(z + z\right)\right) + t
\end{array}
Initial program 99.9%
flip-+65.8%
clear-num65.8%
fma-neg65.8%
pow265.8%
Applied egg-rr65.8%
clear-num65.8%
*-commutative65.8%
pow265.8%
fma-neg65.8%
*-commutative65.8%
flip-+99.9%
add-sqr-sqrt51.5%
sqrt-prod77.1%
sqr-neg77.1%
sqrt-unprod36.7%
add-sqr-sqrt75.2%
sub-neg75.2%
*-un-lft-identity75.2%
prod-diff75.2%
add-sqr-sqrt36.7%
sqrt-unprod77.1%
sqr-neg77.1%
sqrt-prod51.5%
add-sqr-sqrt100.0%
Applied egg-rr100.0%
fma-udef100.0%
*-rgt-identity100.0%
*-rgt-identity100.0%
*-rgt-identity100.0%
fma-neg100.0%
Simplified100.0%
Final simplification100.0%
(FPCore (x y z t)
:precision binary64
(if (or (<= y -5.8e+140)
(not
(or (<= y -1.1e+104) (and (not (<= y -1.7e+80)) (<= y 2.5e+61)))))
(* y (* y x))
(+ t (* y z))))
double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -5.8e+140) || !((y <= -1.1e+104) || (!(y <= -1.7e+80) && (y <= 2.5e+61)))) {
tmp = y * (y * x);
} else {
tmp = t + (y * z);
}
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
real(8) :: tmp
if ((y <= (-5.8d+140)) .or. (.not. (y <= (-1.1d+104)) .or. (.not. (y <= (-1.7d+80))) .and. (y <= 2.5d+61))) then
tmp = y * (y * x)
else
tmp = t + (y * z)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -5.8e+140) || !((y <= -1.1e+104) || (!(y <= -1.7e+80) && (y <= 2.5e+61)))) {
tmp = y * (y * x);
} else {
tmp = t + (y * z);
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (y <= -5.8e+140) or not ((y <= -1.1e+104) or (not (y <= -1.7e+80) and (y <= 2.5e+61))): tmp = y * (y * x) else: tmp = t + (y * z) return tmp
function code(x, y, z, t) tmp = 0.0 if ((y <= -5.8e+140) || !((y <= -1.1e+104) || (!(y <= -1.7e+80) && (y <= 2.5e+61)))) tmp = Float64(y * Float64(y * x)); else tmp = Float64(t + Float64(y * z)); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((y <= -5.8e+140) || ~(((y <= -1.1e+104) || (~((y <= -1.7e+80)) && (y <= 2.5e+61))))) tmp = y * (y * x); else tmp = t + (y * z); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[y, -5.8e+140], N[Not[Or[LessEqual[y, -1.1e+104], And[N[Not[LessEqual[y, -1.7e+80]], $MachinePrecision], LessEqual[y, 2.5e+61]]]], $MachinePrecision]], N[(y * N[(y * x), $MachinePrecision]), $MachinePrecision], N[(t + N[(y * z), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5.8 \cdot 10^{+140} \lor \neg \left(y \leq -1.1 \cdot 10^{+104} \lor \neg \left(y \leq -1.7 \cdot 10^{+80}\right) \land y \leq 2.5 \cdot 10^{+61}\right):\\
\;\;\;\;y \cdot \left(y \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;t + y \cdot z\\
\end{array}
\end{array}
if y < -5.7999999999999998e140 or -1.1e104 < y < -1.69999999999999996e80 or 2.50000000000000009e61 < y Initial program 99.9%
fma-def99.9%
fma-def99.9%
Simplified99.9%
Taylor expanded in t around 0 96.4%
Taylor expanded in y around inf 81.7%
if -5.7999999999999998e140 < y < -1.1e104 or -1.69999999999999996e80 < y < 2.50000000000000009e61Initial program 100.0%
Taylor expanded in x around 0 84.9%
Final simplification83.9%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* y (* y x))))
(if (<= y -1.9e-25)
t_1
(if (<= y 1.18e-24) t (if (<= y 122.0) (* y z) t_1)))))
double code(double x, double y, double z, double t) {
double t_1 = y * (y * x);
double tmp;
if (y <= -1.9e-25) {
tmp = t_1;
} else if (y <= 1.18e-24) {
tmp = t;
} else if (y <= 122.0) {
tmp = y * z;
} else {
tmp = 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
real(8) :: t_1
real(8) :: tmp
t_1 = y * (y * x)
if (y <= (-1.9d-25)) then
tmp = t_1
else if (y <= 1.18d-24) then
tmp = t
else if (y <= 122.0d0) then
tmp = y * z
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = y * (y * x);
double tmp;
if (y <= -1.9e-25) {
tmp = t_1;
} else if (y <= 1.18e-24) {
tmp = t;
} else if (y <= 122.0) {
tmp = y * z;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = y * (y * x) tmp = 0 if y <= -1.9e-25: tmp = t_1 elif y <= 1.18e-24: tmp = t elif y <= 122.0: tmp = y * z else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(y * Float64(y * x)) tmp = 0.0 if (y <= -1.9e-25) tmp = t_1; elseif (y <= 1.18e-24) tmp = t; elseif (y <= 122.0) tmp = Float64(y * z); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = y * (y * x); tmp = 0.0; if (y <= -1.9e-25) tmp = t_1; elseif (y <= 1.18e-24) tmp = t; elseif (y <= 122.0) tmp = y * z; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(y * N[(y * x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.9e-25], t$95$1, If[LessEqual[y, 1.18e-24], t, If[LessEqual[y, 122.0], N[(y * z), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(y \cdot x\right)\\
\mathbf{if}\;y \leq -1.9 \cdot 10^{-25}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq 1.18 \cdot 10^{-24}:\\
\;\;\;\;t\\
\mathbf{elif}\;y \leq 122:\\
\;\;\;\;y \cdot z\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y < -1.8999999999999999e-25 or 122 < y Initial program 99.9%
fma-def99.9%
fma-def99.9%
Simplified99.9%
Taylor expanded in t around 0 85.5%
Taylor expanded in y around inf 64.3%
if -1.8999999999999999e-25 < y < 1.18e-24Initial program 100.0%
fma-def100.0%
fma-def100.0%
Simplified100.0%
Taylor expanded in y around 0 70.7%
if 1.18e-24 < y < 122Initial program 100.0%
fma-def100.0%
fma-def100.0%
Simplified100.0%
Taylor expanded in t around 0 89.3%
Taylor expanded in y around 0 78.4%
Final simplification67.7%
(FPCore (x y z t) :precision binary64 (if (or (<= y -1.8e-25) (not (<= y 3.3e-22))) (* y (+ (* y x) z)) (+ t (* y z))))
double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.8e-25) || !(y <= 3.3e-22)) {
tmp = y * ((y * x) + z);
} else {
tmp = t + (y * z);
}
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
real(8) :: tmp
if ((y <= (-1.8d-25)) .or. (.not. (y <= 3.3d-22))) then
tmp = y * ((y * x) + z)
else
tmp = t + (y * z)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.8e-25) || !(y <= 3.3e-22)) {
tmp = y * ((y * x) + z);
} else {
tmp = t + (y * z);
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (y <= -1.8e-25) or not (y <= 3.3e-22): tmp = y * ((y * x) + z) else: tmp = t + (y * z) return tmp
function code(x, y, z, t) tmp = 0.0 if ((y <= -1.8e-25) || !(y <= 3.3e-22)) tmp = Float64(y * Float64(Float64(y * x) + z)); else tmp = Float64(t + Float64(y * z)); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((y <= -1.8e-25) || ~((y <= 3.3e-22))) tmp = y * ((y * x) + z); else tmp = t + (y * z); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[y, -1.8e-25], N[Not[LessEqual[y, 3.3e-22]], $MachinePrecision]], N[(y * N[(N[(y * x), $MachinePrecision] + z), $MachinePrecision]), $MachinePrecision], N[(t + N[(y * z), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.8 \cdot 10^{-25} \lor \neg \left(y \leq 3.3 \cdot 10^{-22}\right):\\
\;\;\;\;y \cdot \left(y \cdot x + z\right)\\
\mathbf{else}:\\
\;\;\;\;t + y \cdot z\\
\end{array}
\end{array}
if y < -1.8e-25 or 3.3000000000000001e-22 < y Initial program 99.9%
fma-def99.9%
fma-def99.9%
Simplified99.9%
Taylor expanded in t around 0 86.3%
if -1.8e-25 < y < 3.3000000000000001e-22Initial program 100.0%
Taylor expanded in x around 0 91.9%
Final simplification88.9%
(FPCore (x y z t) :precision binary64 (if (or (<= z -3.5e+173) (not (<= z 52000.0))) (+ t (* y z)) (+ t (* x (* y y)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -3.5e+173) || !(z <= 52000.0)) {
tmp = t + (y * z);
} else {
tmp = t + (x * (y * 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
real(8) :: tmp
if ((z <= (-3.5d+173)) .or. (.not. (z <= 52000.0d0))) then
tmp = t + (y * z)
else
tmp = t + (x * (y * y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -3.5e+173) || !(z <= 52000.0)) {
tmp = t + (y * z);
} else {
tmp = t + (x * (y * y));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z <= -3.5e+173) or not (z <= 52000.0): tmp = t + (y * z) else: tmp = t + (x * (y * y)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((z <= -3.5e+173) || !(z <= 52000.0)) tmp = Float64(t + Float64(y * z)); else tmp = Float64(t + Float64(x * Float64(y * y))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z <= -3.5e+173) || ~((z <= 52000.0))) tmp = t + (y * z); else tmp = t + (x * (y * y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[z, -3.5e+173], N[Not[LessEqual[z, 52000.0]], $MachinePrecision]], N[(t + N[(y * z), $MachinePrecision]), $MachinePrecision], N[(t + N[(x * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.5 \cdot 10^{+173} \lor \neg \left(z \leq 52000\right):\\
\;\;\;\;t + y \cdot z\\
\mathbf{else}:\\
\;\;\;\;t + x \cdot \left(y \cdot y\right)\\
\end{array}
\end{array}
if z < -3.4999999999999999e173 or 52000 < z Initial program 100.0%
Taylor expanded in x around 0 91.0%
if -3.4999999999999999e173 < z < 52000Initial program 99.9%
Taylor expanded in x around 0 99.9%
fma-def99.9%
Simplified99.9%
fma-udef99.9%
*-commutative99.9%
flip-+79.1%
unpow279.1%
unsub-neg79.1%
fma-udef79.1%
associate-/r/77.9%
associate-/l*76.8%
frac-2neg76.8%
Applied egg-rr76.8%
distribute-rgt-neg-out76.8%
distribute-neg-frac76.8%
associate-/l*79.0%
distribute-neg-frac79.0%
distribute-frac-neg79.0%
unpow279.0%
associate-/r*90.3%
*-inverses99.9%
Simplified99.9%
Taylor expanded in y around inf 86.4%
unpow286.4%
*-commutative86.4%
Simplified86.4%
Final simplification88.0%
(FPCore (x y z t) :precision binary64 (if (or (<= z -3.8e+172) (not (<= z 1200.0))) (+ t (* y z)) (+ t (* y (* y x)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -3.8e+172) || !(z <= 1200.0)) {
tmp = t + (y * z);
} else {
tmp = t + (y * (y * x));
}
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
real(8) :: tmp
if ((z <= (-3.8d+172)) .or. (.not. (z <= 1200.0d0))) then
tmp = t + (y * z)
else
tmp = t + (y * (y * x))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -3.8e+172) || !(z <= 1200.0)) {
tmp = t + (y * z);
} else {
tmp = t + (y * (y * x));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z <= -3.8e+172) or not (z <= 1200.0): tmp = t + (y * z) else: tmp = t + (y * (y * x)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((z <= -3.8e+172) || !(z <= 1200.0)) tmp = Float64(t + Float64(y * z)); else tmp = Float64(t + Float64(y * Float64(y * x))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z <= -3.8e+172) || ~((z <= 1200.0))) tmp = t + (y * z); else tmp = t + (y * (y * x)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[z, -3.8e+172], N[Not[LessEqual[z, 1200.0]], $MachinePrecision]], N[(t + N[(y * z), $MachinePrecision]), $MachinePrecision], N[(t + N[(y * N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.8 \cdot 10^{+172} \lor \neg \left(z \leq 1200\right):\\
\;\;\;\;t + y \cdot z\\
\mathbf{else}:\\
\;\;\;\;t + y \cdot \left(y \cdot x\right)\\
\end{array}
\end{array}
if z < -3.7999999999999997e172 or 1200 < z Initial program 100.0%
Taylor expanded in x around 0 91.0%
if -3.7999999999999997e172 < z < 1200Initial program 99.9%
Taylor expanded in x around inf 91.2%
Final simplification91.1%
(FPCore (x y z t) :precision binary64 (+ t (* y (+ (* y x) z))))
double code(double x, double y, double z, double t) {
return t + (y * ((y * x) + z));
}
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 = t + (y * ((y * x) + z))
end function
public static double code(double x, double y, double z, double t) {
return t + (y * ((y * x) + z));
}
def code(x, y, z, t): return t + (y * ((y * x) + z))
function code(x, y, z, t) return Float64(t + Float64(y * Float64(Float64(y * x) + z))) end
function tmp = code(x, y, z, t) tmp = t + (y * ((y * x) + z)); end
code[x_, y_, z_, t_] := N[(t + N[(y * N[(N[(y * x), $MachinePrecision] + z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
t + y \cdot \left(y \cdot x + z\right)
\end{array}
Initial program 99.9%
Final simplification99.9%
(FPCore (x y z t) :precision binary64 (if (<= z -2.9e+85) (* y z) (if (<= z 1.38e+45) t (* y z))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -2.9e+85) {
tmp = y * z;
} else if (z <= 1.38e+45) {
tmp = t;
} else {
tmp = y * z;
}
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
real(8) :: tmp
if (z <= (-2.9d+85)) then
tmp = y * z
else if (z <= 1.38d+45) then
tmp = t
else
tmp = y * z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= -2.9e+85) {
tmp = y * z;
} else if (z <= 1.38e+45) {
tmp = t;
} else {
tmp = y * z;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -2.9e+85: tmp = y * z elif z <= 1.38e+45: tmp = t else: tmp = y * z return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -2.9e+85) tmp = Float64(y * z); elseif (z <= 1.38e+45) tmp = t; else tmp = Float64(y * z); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -2.9e+85) tmp = y * z; elseif (z <= 1.38e+45) tmp = t; else tmp = y * z; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -2.9e+85], N[(y * z), $MachinePrecision], If[LessEqual[z, 1.38e+45], t, N[(y * z), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.9 \cdot 10^{+85}:\\
\;\;\;\;y \cdot z\\
\mathbf{elif}\;z \leq 1.38 \cdot 10^{+45}:\\
\;\;\;\;t\\
\mathbf{else}:\\
\;\;\;\;y \cdot z\\
\end{array}
\end{array}
if z < -2.89999999999999997e85 or 1.3799999999999999e45 < z Initial program 100.0%
fma-def100.0%
fma-def100.0%
Simplified100.0%
Taylor expanded in t around 0 77.8%
Taylor expanded in y around 0 61.3%
if -2.89999999999999997e85 < z < 1.3799999999999999e45Initial program 99.9%
fma-def99.9%
fma-def99.9%
Simplified99.9%
Taylor expanded in y around 0 50.0%
Final simplification54.2%
(FPCore (x y z t) :precision binary64 t)
double code(double x, double y, double z, double t) {
return t;
}
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 = t
end function
public static double code(double x, double y, double z, double t) {
return t;
}
def code(x, y, z, t): return t
function code(x, y, z, t) return t end
function tmp = code(x, y, z, t) tmp = t; end
code[x_, y_, z_, t_] := t
\begin{array}{l}
\\
t
\end{array}
Initial program 99.9%
fma-def99.9%
fma-def100.0%
Simplified100.0%
Taylor expanded in y around 0 40.4%
Final simplification40.4%
herbie shell --seed 2023242
(FPCore (x y z t)
:name "Language.Haskell.HsColour.ColourHighlight:unbase from hscolour-1.23"
:precision binary64
(+ (* (+ (* x y) z) y) t))