
(FPCore (x y z t) :precision binary64 (+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0)))
double code(double x, double y, double z, double t) {
return (x * ((((y + z) + z) + y) + t)) + (y * 5.0);
}
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) + z) + y) + t)) + (y * 5.0d0)
end function
public static double code(double x, double y, double z, double t) {
return (x * ((((y + z) + z) + y) + t)) + (y * 5.0);
}
def code(x, y, z, t): return (x * ((((y + z) + z) + y) + t)) + (y * 5.0)
function code(x, y, z, t) return Float64(Float64(x * Float64(Float64(Float64(Float64(y + z) + z) + y) + t)) + Float64(y * 5.0)) end
function tmp = code(x, y, z, t) tmp = (x * ((((y + z) + z) + y) + t)) + (y * 5.0); end
code[x_, y_, z_, t_] := N[(N[(x * N[(N[(N[(N[(y + z), $MachinePrecision] + z), $MachinePrecision] + y), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + N[(y * 5.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \left(\left(\left(\left(y + z\right) + z\right) + y\right) + t\right) + y \cdot 5
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 15 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0)))
double code(double x, double y, double z, double t) {
return (x * ((((y + z) + z) + y) + t)) + (y * 5.0);
}
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) + z) + y) + t)) + (y * 5.0d0)
end function
public static double code(double x, double y, double z, double t) {
return (x * ((((y + z) + z) + y) + t)) + (y * 5.0);
}
def code(x, y, z, t): return (x * ((((y + z) + z) + y) + t)) + (y * 5.0)
function code(x, y, z, t) return Float64(Float64(x * Float64(Float64(Float64(Float64(y + z) + z) + y) + t)) + Float64(y * 5.0)) end
function tmp = code(x, y, z, t) tmp = (x * ((((y + z) + z) + y) + t)) + (y * 5.0); end
code[x_, y_, z_, t_] := N[(N[(x * N[(N[(N[(N[(y + z), $MachinePrecision] + z), $MachinePrecision] + y), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + N[(y * 5.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \left(\left(\left(\left(y + z\right) + z\right) + y\right) + t\right) + y \cdot 5
\end{array}
(FPCore (x y z t) :precision binary64 (fma y 5.0 (* x (fma (+ y z) 2.0 t))))
double code(double x, double y, double z, double t) {
return fma(y, 5.0, (x * fma((y + z), 2.0, t)));
}
function code(x, y, z, t) return fma(y, 5.0, Float64(x * fma(Float64(y + z), 2.0, t))) end
code[x_, y_, z_, t_] := N[(y * 5.0 + N[(x * N[(N[(y + z), $MachinePrecision] * 2.0 + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(y, 5, x \cdot \mathsf{fma}\left(y + z, 2, t\right)\right)
\end{array}
Initial program 99.5%
+-commutative99.5%
fma-define99.6%
flip-+61.0%
associate-*r/53.8%
fma-neg55.8%
associate-+l+55.9%
+-commutative55.9%
count-255.9%
associate-+l+55.8%
+-commutative55.8%
count-255.8%
fma-neg53.8%
associate-+l+53.8%
+-commutative53.8%
count-253.8%
Applied egg-rr99.6%
(FPCore (x y z t) :precision binary64 (fma x (+ t (* (+ y z) 2.0)) (* y 5.0)))
double code(double x, double y, double z, double t) {
return fma(x, (t + ((y + z) * 2.0)), (y * 5.0));
}
function code(x, y, z, t) return fma(x, Float64(t + Float64(Float64(y + z) * 2.0)), Float64(y * 5.0)) end
code[x_, y_, z_, t_] := N[(x * N[(t + N[(N[(y + z), $MachinePrecision] * 2.0), $MachinePrecision]), $MachinePrecision] + N[(y * 5.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(x, t + \left(y + z\right) \cdot 2, y \cdot 5\right)
\end{array}
Initial program 99.5%
fma-define99.5%
associate-+l+99.5%
+-commutative99.5%
count-299.5%
Simplified99.5%
Final simplification99.5%
(FPCore (x y z t) :precision binary64 (if (or (<= y -1.25e+81) (not (<= y 1.4e+123))) (+ (* y 5.0) (* 2.0 (* x (+ y z)))) (* x (+ t (+ (* (+ y z) 2.0) (* 5.0 (/ y x)))))))
double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.25e+81) || !(y <= 1.4e+123)) {
tmp = (y * 5.0) + (2.0 * (x * (y + z)));
} else {
tmp = x * (t + (((y + z) * 2.0) + (5.0 * (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 ((y <= (-1.25d+81)) .or. (.not. (y <= 1.4d+123))) then
tmp = (y * 5.0d0) + (2.0d0 * (x * (y + z)))
else
tmp = x * (t + (((y + z) * 2.0d0) + (5.0d0 * (y / x))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.25e+81) || !(y <= 1.4e+123)) {
tmp = (y * 5.0) + (2.0 * (x * (y + z)));
} else {
tmp = x * (t + (((y + z) * 2.0) + (5.0 * (y / x))));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (y <= -1.25e+81) or not (y <= 1.4e+123): tmp = (y * 5.0) + (2.0 * (x * (y + z))) else: tmp = x * (t + (((y + z) * 2.0) + (5.0 * (y / x)))) return tmp
function code(x, y, z, t) tmp = 0.0 if ((y <= -1.25e+81) || !(y <= 1.4e+123)) tmp = Float64(Float64(y * 5.0) + Float64(2.0 * Float64(x * Float64(y + z)))); else tmp = Float64(x * Float64(t + Float64(Float64(Float64(y + z) * 2.0) + Float64(5.0 * Float64(y / x))))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((y <= -1.25e+81) || ~((y <= 1.4e+123))) tmp = (y * 5.0) + (2.0 * (x * (y + z))); else tmp = x * (t + (((y + z) * 2.0) + (5.0 * (y / x)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[y, -1.25e+81], N[Not[LessEqual[y, 1.4e+123]], $MachinePrecision]], N[(N[(y * 5.0), $MachinePrecision] + N[(2.0 * N[(x * N[(y + z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(t + N[(N[(N[(y + z), $MachinePrecision] * 2.0), $MachinePrecision] + N[(5.0 * N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.25 \cdot 10^{+81} \lor \neg \left(y \leq 1.4 \cdot 10^{+123}\right):\\
\;\;\;\;y \cdot 5 + 2 \cdot \left(x \cdot \left(y + z\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(t + \left(\left(y + z\right) \cdot 2 + 5 \cdot \frac{y}{x}\right)\right)\\
\end{array}
\end{array}
if y < -1.25e81 or 1.40000000000000006e123 < y Initial program 98.8%
fma-define98.8%
associate-+l+98.8%
+-commutative98.8%
count-298.8%
Simplified98.8%
Taylor expanded in t around 0 95.1%
if -1.25e81 < y < 1.40000000000000006e123Initial program 99.9%
fma-define100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
Simplified100.0%
Taylor expanded in x around inf 97.5%
Final simplification96.6%
(FPCore (x y z t)
:precision binary64
(if (<= y -4.5e+241)
(* y 5.0)
(if (or (<= y -1.15e+61) (not (<= y 5.8e+26)))
(* x (* (+ y z) 2.0))
(* x (+ t (* z 2.0))))))
double code(double x, double y, double z, double t) {
double tmp;
if (y <= -4.5e+241) {
tmp = y * 5.0;
} else if ((y <= -1.15e+61) || !(y <= 5.8e+26)) {
tmp = x * ((y + z) * 2.0);
} else {
tmp = x * (t + (z * 2.0));
}
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 <= (-4.5d+241)) then
tmp = y * 5.0d0
else if ((y <= (-1.15d+61)) .or. (.not. (y <= 5.8d+26))) then
tmp = x * ((y + z) * 2.0d0)
else
tmp = x * (t + (z * 2.0d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (y <= -4.5e+241) {
tmp = y * 5.0;
} else if ((y <= -1.15e+61) || !(y <= 5.8e+26)) {
tmp = x * ((y + z) * 2.0);
} else {
tmp = x * (t + (z * 2.0));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if y <= -4.5e+241: tmp = y * 5.0 elif (y <= -1.15e+61) or not (y <= 5.8e+26): tmp = x * ((y + z) * 2.0) else: tmp = x * (t + (z * 2.0)) return tmp
function code(x, y, z, t) tmp = 0.0 if (y <= -4.5e+241) tmp = Float64(y * 5.0); elseif ((y <= -1.15e+61) || !(y <= 5.8e+26)) tmp = Float64(x * Float64(Float64(y + z) * 2.0)); else tmp = Float64(x * Float64(t + Float64(z * 2.0))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (y <= -4.5e+241) tmp = y * 5.0; elseif ((y <= -1.15e+61) || ~((y <= 5.8e+26))) tmp = x * ((y + z) * 2.0); else tmp = x * (t + (z * 2.0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[y, -4.5e+241], N[(y * 5.0), $MachinePrecision], If[Or[LessEqual[y, -1.15e+61], N[Not[LessEqual[y, 5.8e+26]], $MachinePrecision]], N[(x * N[(N[(y + z), $MachinePrecision] * 2.0), $MachinePrecision]), $MachinePrecision], N[(x * N[(t + N[(z * 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -4.5 \cdot 10^{+241}:\\
\;\;\;\;y \cdot 5\\
\mathbf{elif}\;y \leq -1.15 \cdot 10^{+61} \lor \neg \left(y \leq 5.8 \cdot 10^{+26}\right):\\
\;\;\;\;x \cdot \left(\left(y + z\right) \cdot 2\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(t + z \cdot 2\right)\\
\end{array}
\end{array}
if y < -4.49999999999999993e241Initial program 94.2%
+-commutative94.2%
fma-define94.4%
flip-+18.1%
associate-*r/18.1%
fma-neg18.9%
associate-+l+18.9%
+-commutative18.9%
count-218.9%
associate-+l+18.9%
+-commutative18.9%
count-218.9%
fma-neg18.1%
associate-+l+18.1%
+-commutative18.1%
count-218.1%
Applied egg-rr94.4%
Taylor expanded in x around 0 83.6%
*-commutative83.6%
Simplified83.6%
if -4.49999999999999993e241 < y < -1.15e61 or 5.8e26 < y Initial program 99.9%
fma-define99.9%
associate-+l+99.9%
+-commutative99.9%
count-299.9%
Simplified99.9%
Taylor expanded in x around inf 79.8%
Taylor expanded in t around 0 77.8%
Taylor expanded in x around inf 59.6%
+-commutative59.6%
Simplified59.6%
Taylor expanded in t around 0 52.9%
if -1.15e61 < y < 5.8e26Initial program 99.9%
+-commutative99.9%
fma-define100.0%
flip-+69.1%
associate-*r/63.5%
fma-neg65.8%
associate-+l+65.8%
+-commutative65.8%
count-265.8%
associate-+l+65.8%
+-commutative65.8%
count-265.8%
fma-neg63.5%
associate-+l+63.5%
+-commutative63.5%
count-263.5%
Applied egg-rr100.0%
Taylor expanded in y around 0 80.7%
Final simplification69.6%
(FPCore (x y z t) :precision binary64 (if (or (<= y -5.3e+48) (not (<= y 1.2e-22))) (+ (* y 5.0) (* 2.0 (* x (+ y z)))) (* x (+ t (* (+ y z) 2.0)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -5.3e+48) || !(y <= 1.2e-22)) {
tmp = (y * 5.0) + (2.0 * (x * (y + z)));
} else {
tmp = x * (t + ((y + z) * 2.0));
}
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.3d+48)) .or. (.not. (y <= 1.2d-22))) then
tmp = (y * 5.0d0) + (2.0d0 * (x * (y + z)))
else
tmp = x * (t + ((y + z) * 2.0d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -5.3e+48) || !(y <= 1.2e-22)) {
tmp = (y * 5.0) + (2.0 * (x * (y + z)));
} else {
tmp = x * (t + ((y + z) * 2.0));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (y <= -5.3e+48) or not (y <= 1.2e-22): tmp = (y * 5.0) + (2.0 * (x * (y + z))) else: tmp = x * (t + ((y + z) * 2.0)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((y <= -5.3e+48) || !(y <= 1.2e-22)) tmp = Float64(Float64(y * 5.0) + Float64(2.0 * Float64(x * Float64(y + z)))); else tmp = Float64(x * Float64(t + Float64(Float64(y + z) * 2.0))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((y <= -5.3e+48) || ~((y <= 1.2e-22))) tmp = (y * 5.0) + (2.0 * (x * (y + z))); else tmp = x * (t + ((y + z) * 2.0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[y, -5.3e+48], N[Not[LessEqual[y, 1.2e-22]], $MachinePrecision]], N[(N[(y * 5.0), $MachinePrecision] + N[(2.0 * N[(x * N[(y + z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(t + N[(N[(y + z), $MachinePrecision] * 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5.3 \cdot 10^{+48} \lor \neg \left(y \leq 1.2 \cdot 10^{-22}\right):\\
\;\;\;\;y \cdot 5 + 2 \cdot \left(x \cdot \left(y + z\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(t + \left(y + z\right) \cdot 2\right)\\
\end{array}
\end{array}
if y < -5.3e48 or 1.20000000000000001e-22 < y Initial program 99.1%
fma-define99.1%
associate-+l+99.1%
+-commutative99.1%
count-299.1%
Simplified99.1%
Taylor expanded in t around 0 92.2%
if -5.3e48 < y < 1.20000000000000001e-22Initial program 99.9%
fma-define100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
Simplified100.0%
Taylor expanded in x around inf 87.9%
Final simplification90.2%
(FPCore (x y z t)
:precision binary64
(if (<= z -4e+111)
(+ (* y 5.0) (* 2.0 (* x z)))
(if (<= z 4e+22)
(+ (* y 5.0) (* x (+ t (* y 2.0))))
(+ (* y 5.0) (* 2.0 (* x (+ y z)))))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -4e+111) {
tmp = (y * 5.0) + (2.0 * (x * z));
} else if (z <= 4e+22) {
tmp = (y * 5.0) + (x * (t + (y * 2.0)));
} else {
tmp = (y * 5.0) + (2.0 * (x * (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 <= (-4d+111)) then
tmp = (y * 5.0d0) + (2.0d0 * (x * z))
else if (z <= 4d+22) then
tmp = (y * 5.0d0) + (x * (t + (y * 2.0d0)))
else
tmp = (y * 5.0d0) + (2.0d0 * (x * (y + z)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= -4e+111) {
tmp = (y * 5.0) + (2.0 * (x * z));
} else if (z <= 4e+22) {
tmp = (y * 5.0) + (x * (t + (y * 2.0)));
} else {
tmp = (y * 5.0) + (2.0 * (x * (y + z)));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -4e+111: tmp = (y * 5.0) + (2.0 * (x * z)) elif z <= 4e+22: tmp = (y * 5.0) + (x * (t + (y * 2.0))) else: tmp = (y * 5.0) + (2.0 * (x * (y + z))) return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -4e+111) tmp = Float64(Float64(y * 5.0) + Float64(2.0 * Float64(x * z))); elseif (z <= 4e+22) tmp = Float64(Float64(y * 5.0) + Float64(x * Float64(t + Float64(y * 2.0)))); else tmp = Float64(Float64(y * 5.0) + Float64(2.0 * Float64(x * Float64(y + z)))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -4e+111) tmp = (y * 5.0) + (2.0 * (x * z)); elseif (z <= 4e+22) tmp = (y * 5.0) + (x * (t + (y * 2.0))); else tmp = (y * 5.0) + (2.0 * (x * (y + z))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -4e+111], N[(N[(y * 5.0), $MachinePrecision] + N[(2.0 * N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4e+22], N[(N[(y * 5.0), $MachinePrecision] + N[(x * N[(t + N[(y * 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * 5.0), $MachinePrecision] + N[(2.0 * N[(x * N[(y + z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -4 \cdot 10^{+111}:\\
\;\;\;\;y \cdot 5 + 2 \cdot \left(x \cdot z\right)\\
\mathbf{elif}\;z \leq 4 \cdot 10^{+22}:\\
\;\;\;\;y \cdot 5 + x \cdot \left(t + y \cdot 2\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot 5 + 2 \cdot \left(x \cdot \left(y + z\right)\right)\\
\end{array}
\end{array}
if z < -3.99999999999999983e111Initial program 99.9%
Taylor expanded in z around inf 90.0%
if -3.99999999999999983e111 < z < 4e22Initial program 99.2%
Taylor expanded in y around inf 93.5%
if 4e22 < z Initial program 99.9%
fma-define99.9%
associate-+l+99.9%
+-commutative99.9%
count-299.9%
Simplified99.9%
Taylor expanded in t around 0 91.3%
Final simplification92.3%
(FPCore (x y z t) :precision binary64 (if (or (<= x -8.8e-14) (not (<= x 2.65e-39))) (* x (+ t (* (+ y z) 2.0))) (+ (* y 5.0) (* 2.0 (* x z)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -8.8e-14) || !(x <= 2.65e-39)) {
tmp = x * (t + ((y + z) * 2.0));
} else {
tmp = (y * 5.0) + (2.0 * (x * 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 ((x <= (-8.8d-14)) .or. (.not. (x <= 2.65d-39))) then
tmp = x * (t + ((y + z) * 2.0d0))
else
tmp = (y * 5.0d0) + (2.0d0 * (x * z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -8.8e-14) || !(x <= 2.65e-39)) {
tmp = x * (t + ((y + z) * 2.0));
} else {
tmp = (y * 5.0) + (2.0 * (x * z));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (x <= -8.8e-14) or not (x <= 2.65e-39): tmp = x * (t + ((y + z) * 2.0)) else: tmp = (y * 5.0) + (2.0 * (x * z)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((x <= -8.8e-14) || !(x <= 2.65e-39)) tmp = Float64(x * Float64(t + Float64(Float64(y + z) * 2.0))); else tmp = Float64(Float64(y * 5.0) + Float64(2.0 * Float64(x * z))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((x <= -8.8e-14) || ~((x <= 2.65e-39))) tmp = x * (t + ((y + z) * 2.0)); else tmp = (y * 5.0) + (2.0 * (x * z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[x, -8.8e-14], N[Not[LessEqual[x, 2.65e-39]], $MachinePrecision]], N[(x * N[(t + N[(N[(y + z), $MachinePrecision] * 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * 5.0), $MachinePrecision] + N[(2.0 * N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -8.8 \cdot 10^{-14} \lor \neg \left(x \leq 2.65 \cdot 10^{-39}\right):\\
\;\;\;\;x \cdot \left(t + \left(y + z\right) \cdot 2\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot 5 + 2 \cdot \left(x \cdot z\right)\\
\end{array}
\end{array}
if x < -8.8000000000000004e-14 or 2.65000000000000002e-39 < x Initial program 99.9%
fma-define100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
Simplified100.0%
Taylor expanded in x around inf 96.9%
if -8.8000000000000004e-14 < x < 2.65000000000000002e-39Initial program 99.1%
Taylor expanded in z around inf 81.9%
Final simplification89.4%
(FPCore (x y z t) :precision binary64 (if (or (<= x -0.0011) (not (<= x 2.5e-39))) (* x (+ t (* (+ y z) 2.0))) (+ (* y 5.0) (* x t))))
double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -0.0011) || !(x <= 2.5e-39)) {
tmp = x * (t + ((y + z) * 2.0));
} else {
tmp = (y * 5.0) + (x * t);
}
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 ((x <= (-0.0011d0)) .or. (.not. (x <= 2.5d-39))) then
tmp = x * (t + ((y + z) * 2.0d0))
else
tmp = (y * 5.0d0) + (x * t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -0.0011) || !(x <= 2.5e-39)) {
tmp = x * (t + ((y + z) * 2.0));
} else {
tmp = (y * 5.0) + (x * t);
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (x <= -0.0011) or not (x <= 2.5e-39): tmp = x * (t + ((y + z) * 2.0)) else: tmp = (y * 5.0) + (x * t) return tmp
function code(x, y, z, t) tmp = 0.0 if ((x <= -0.0011) || !(x <= 2.5e-39)) tmp = Float64(x * Float64(t + Float64(Float64(y + z) * 2.0))); else tmp = Float64(Float64(y * 5.0) + Float64(x * t)); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((x <= -0.0011) || ~((x <= 2.5e-39))) tmp = x * (t + ((y + z) * 2.0)); else tmp = (y * 5.0) + (x * t); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[x, -0.0011], N[Not[LessEqual[x, 2.5e-39]], $MachinePrecision]], N[(x * N[(t + N[(N[(y + z), $MachinePrecision] * 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * 5.0), $MachinePrecision] + N[(x * t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -0.0011 \lor \neg \left(x \leq 2.5 \cdot 10^{-39}\right):\\
\;\;\;\;x \cdot \left(t + \left(y + z\right) \cdot 2\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot 5 + x \cdot t\\
\end{array}
\end{array}
if x < -0.00110000000000000007 or 2.4999999999999999e-39 < x Initial program 99.9%
fma-define100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
Simplified100.0%
Taylor expanded in x around inf 96.8%
if -0.00110000000000000007 < x < 2.4999999999999999e-39Initial program 99.1%
Taylor expanded in t around inf 78.5%
Final simplification87.6%
(FPCore (x y z t) :precision binary64 (if (or (<= y -1.15e+46) (not (<= y 8.2e-23))) (* y (+ 5.0 (* x 2.0))) (* x (+ t (* z 2.0)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.15e+46) || !(y <= 8.2e-23)) {
tmp = y * (5.0 + (x * 2.0));
} else {
tmp = x * (t + (z * 2.0));
}
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.15d+46)) .or. (.not. (y <= 8.2d-23))) then
tmp = y * (5.0d0 + (x * 2.0d0))
else
tmp = x * (t + (z * 2.0d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((y <= -1.15e+46) || !(y <= 8.2e-23)) {
tmp = y * (5.0 + (x * 2.0));
} else {
tmp = x * (t + (z * 2.0));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (y <= -1.15e+46) or not (y <= 8.2e-23): tmp = y * (5.0 + (x * 2.0)) else: tmp = x * (t + (z * 2.0)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((y <= -1.15e+46) || !(y <= 8.2e-23)) tmp = Float64(y * Float64(5.0 + Float64(x * 2.0))); else tmp = Float64(x * Float64(t + Float64(z * 2.0))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((y <= -1.15e+46) || ~((y <= 8.2e-23))) tmp = y * (5.0 + (x * 2.0)); else tmp = x * (t + (z * 2.0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[y, -1.15e+46], N[Not[LessEqual[y, 8.2e-23]], $MachinePrecision]], N[(y * N[(5.0 + N[(x * 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(t + N[(z * 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.15 \cdot 10^{+46} \lor \neg \left(y \leq 8.2 \cdot 10^{-23}\right):\\
\;\;\;\;y \cdot \left(5 + x \cdot 2\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(t + z \cdot 2\right)\\
\end{array}
\end{array}
if y < -1.15e46 or 8.20000000000000059e-23 < y Initial program 99.1%
fma-define99.1%
associate-+l+99.1%
+-commutative99.1%
count-299.1%
Simplified99.1%
Taylor expanded in y around inf 81.7%
if -1.15e46 < y < 8.20000000000000059e-23Initial program 99.9%
+-commutative99.9%
fma-define100.0%
flip-+67.4%
associate-*r/61.2%
fma-neg63.8%
associate-+l+63.8%
+-commutative63.8%
count-263.8%
associate-+l+63.8%
+-commutative63.8%
count-263.8%
fma-neg61.2%
associate-+l+61.2%
+-commutative61.2%
count-261.2%
Applied egg-rr100.0%
Taylor expanded in y around 0 85.0%
Final simplification83.3%
(FPCore (x y z t) :precision binary64 (if (or (<= x -7.2e-14) (not (<= x 2.65e-39))) (* x (* (+ y z) 2.0)) (* y 5.0)))
double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -7.2e-14) || !(x <= 2.65e-39)) {
tmp = x * ((y + z) * 2.0);
} else {
tmp = y * 5.0;
}
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 ((x <= (-7.2d-14)) .or. (.not. (x <= 2.65d-39))) then
tmp = x * ((y + z) * 2.0d0)
else
tmp = y * 5.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -7.2e-14) || !(x <= 2.65e-39)) {
tmp = x * ((y + z) * 2.0);
} else {
tmp = y * 5.0;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (x <= -7.2e-14) or not (x <= 2.65e-39): tmp = x * ((y + z) * 2.0) else: tmp = y * 5.0 return tmp
function code(x, y, z, t) tmp = 0.0 if ((x <= -7.2e-14) || !(x <= 2.65e-39)) tmp = Float64(x * Float64(Float64(y + z) * 2.0)); else tmp = Float64(y * 5.0); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((x <= -7.2e-14) || ~((x <= 2.65e-39))) tmp = x * ((y + z) * 2.0); else tmp = y * 5.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[x, -7.2e-14], N[Not[LessEqual[x, 2.65e-39]], $MachinePrecision]], N[(x * N[(N[(y + z), $MachinePrecision] * 2.0), $MachinePrecision]), $MachinePrecision], N[(y * 5.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -7.2 \cdot 10^{-14} \lor \neg \left(x \leq 2.65 \cdot 10^{-39}\right):\\
\;\;\;\;x \cdot \left(\left(y + z\right) \cdot 2\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot 5\\
\end{array}
\end{array}
if x < -7.1999999999999996e-14 or 2.65000000000000002e-39 < x Initial program 99.9%
fma-define100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
Simplified100.0%
Taylor expanded in x around inf 100.0%
Taylor expanded in t around 0 95.3%
Taylor expanded in x around inf 96.9%
+-commutative96.9%
Simplified96.9%
Taylor expanded in t around 0 66.8%
if -7.1999999999999996e-14 < x < 2.65000000000000002e-39Initial program 99.1%
+-commutative99.1%
fma-define99.2%
flip-+46.9%
associate-*r/46.1%
fma-neg46.3%
associate-+l+46.3%
+-commutative46.3%
count-246.3%
associate-+l+46.3%
+-commutative46.3%
count-246.3%
fma-neg46.1%
associate-+l+46.1%
+-commutative46.1%
count-246.1%
Applied egg-rr99.2%
Taylor expanded in x around 0 61.0%
*-commutative61.0%
Simplified61.0%
Final simplification63.9%
(FPCore (x y z t) :precision binary64 (if (<= x -4e-11) (* x t) (if (<= x 2.5) (* y 5.0) (* y (* x 2.0)))))
double code(double x, double y, double z, double t) {
double tmp;
if (x <= -4e-11) {
tmp = x * t;
} else if (x <= 2.5) {
tmp = y * 5.0;
} else {
tmp = y * (x * 2.0);
}
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 (x <= (-4d-11)) then
tmp = x * t
else if (x <= 2.5d0) then
tmp = y * 5.0d0
else
tmp = y * (x * 2.0d0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (x <= -4e-11) {
tmp = x * t;
} else if (x <= 2.5) {
tmp = y * 5.0;
} else {
tmp = y * (x * 2.0);
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if x <= -4e-11: tmp = x * t elif x <= 2.5: tmp = y * 5.0 else: tmp = y * (x * 2.0) return tmp
function code(x, y, z, t) tmp = 0.0 if (x <= -4e-11) tmp = Float64(x * t); elseif (x <= 2.5) tmp = Float64(y * 5.0); else tmp = Float64(y * Float64(x * 2.0)); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (x <= -4e-11) tmp = x * t; elseif (x <= 2.5) tmp = y * 5.0; else tmp = y * (x * 2.0); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[x, -4e-11], N[(x * t), $MachinePrecision], If[LessEqual[x, 2.5], N[(y * 5.0), $MachinePrecision], N[(y * N[(x * 2.0), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -4 \cdot 10^{-11}:\\
\;\;\;\;x \cdot t\\
\mathbf{elif}\;x \leq 2.5:\\
\;\;\;\;y \cdot 5\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(x \cdot 2\right)\\
\end{array}
\end{array}
if x < -3.99999999999999976e-11Initial program 99.9%
+-commutative99.9%
fma-define99.9%
flip-+69.8%
associate-*r/56.0%
fma-neg60.5%
associate-+l+60.5%
+-commutative60.5%
count-260.5%
associate-+l+60.5%
+-commutative60.5%
count-260.5%
fma-neg56.0%
associate-+l+56.0%
+-commutative56.0%
count-256.0%
Applied egg-rr100.0%
Taylor expanded in t around inf 39.6%
*-commutative39.6%
Simplified39.6%
if -3.99999999999999976e-11 < x < 2.5Initial program 99.1%
+-commutative99.1%
fma-define99.2%
flip-+47.3%
associate-*r/46.5%
fma-neg46.7%
associate-+l+46.7%
+-commutative46.7%
count-246.7%
associate-+l+46.7%
+-commutative46.7%
count-246.7%
fma-neg46.5%
associate-+l+46.5%
+-commutative46.5%
count-246.5%
Applied egg-rr99.2%
Taylor expanded in x around 0 57.5%
*-commutative57.5%
Simplified57.5%
if 2.5 < x Initial program 100.0%
fma-define100.0%
associate-+l+100.0%
+-commutative100.0%
count-2100.0%
Simplified100.0%
Taylor expanded in y around inf 48.9%
Taylor expanded in x around inf 48.9%
*-commutative48.9%
Simplified48.9%
(FPCore (x y z t) :precision binary64 (if (<= x -1.1e-14) (* x t) (if (<= x 2.7e-39) (* y 5.0) (* x (* z 2.0)))))
double code(double x, double y, double z, double t) {
double tmp;
if (x <= -1.1e-14) {
tmp = x * t;
} else if (x <= 2.7e-39) {
tmp = y * 5.0;
} else {
tmp = x * (z * 2.0);
}
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 (x <= (-1.1d-14)) then
tmp = x * t
else if (x <= 2.7d-39) then
tmp = y * 5.0d0
else
tmp = x * (z * 2.0d0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (x <= -1.1e-14) {
tmp = x * t;
} else if (x <= 2.7e-39) {
tmp = y * 5.0;
} else {
tmp = x * (z * 2.0);
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if x <= -1.1e-14: tmp = x * t elif x <= 2.7e-39: tmp = y * 5.0 else: tmp = x * (z * 2.0) return tmp
function code(x, y, z, t) tmp = 0.0 if (x <= -1.1e-14) tmp = Float64(x * t); elseif (x <= 2.7e-39) tmp = Float64(y * 5.0); else tmp = Float64(x * Float64(z * 2.0)); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (x <= -1.1e-14) tmp = x * t; elseif (x <= 2.7e-39) tmp = y * 5.0; else tmp = x * (z * 2.0); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[x, -1.1e-14], N[(x * t), $MachinePrecision], If[LessEqual[x, 2.7e-39], N[(y * 5.0), $MachinePrecision], N[(x * N[(z * 2.0), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.1 \cdot 10^{-14}:\\
\;\;\;\;x \cdot t\\
\mathbf{elif}\;x \leq 2.7 \cdot 10^{-39}:\\
\;\;\;\;y \cdot 5\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(z \cdot 2\right)\\
\end{array}
\end{array}
if x < -1.1e-14Initial program 99.9%
+-commutative99.9%
fma-define99.9%
flip-+69.8%
associate-*r/56.0%
fma-neg60.5%
associate-+l+60.5%
+-commutative60.5%
count-260.5%
associate-+l+60.5%
+-commutative60.5%
count-260.5%
fma-neg56.0%
associate-+l+56.0%
+-commutative56.0%
count-256.0%
Applied egg-rr100.0%
Taylor expanded in t around inf 39.6%
*-commutative39.6%
Simplified39.6%
if -1.1e-14 < x < 2.7000000000000001e-39Initial program 99.1%
+-commutative99.1%
fma-define99.2%
flip-+46.9%
associate-*r/46.1%
fma-neg46.3%
associate-+l+46.3%
+-commutative46.3%
count-246.3%
associate-+l+46.3%
+-commutative46.3%
count-246.3%
fma-neg46.1%
associate-+l+46.1%
+-commutative46.1%
count-246.1%
Applied egg-rr99.2%
Taylor expanded in x around 0 61.0%
*-commutative61.0%
Simplified61.0%
if 2.7000000000000001e-39 < x Initial program 100.0%
+-commutative100.0%
fma-define100.0%
flip-+80.0%
associate-*r/66.9%
fma-neg70.2%
associate-+l+70.2%
+-commutative70.2%
count-270.2%
associate-+l+70.2%
+-commutative70.2%
count-270.2%
fma-neg66.9%
associate-+l+66.9%
+-commutative66.9%
count-266.9%
Applied egg-rr100.0%
Taylor expanded in z around inf 37.9%
associate-*r*37.9%
*-commutative37.9%
associate-*r*37.9%
Simplified37.9%
Final simplification49.8%
(FPCore (x y z t) :precision binary64 (+ (* y 5.0) (* x (+ t (+ y (+ z (+ y z)))))))
double code(double x, double y, double z, double t) {
return (y * 5.0) + (x * (t + (y + (z + (y + 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 = (y * 5.0d0) + (x * (t + (y + (z + (y + z)))))
end function
public static double code(double x, double y, double z, double t) {
return (y * 5.0) + (x * (t + (y + (z + (y + z)))));
}
def code(x, y, z, t): return (y * 5.0) + (x * (t + (y + (z + (y + z)))))
function code(x, y, z, t) return Float64(Float64(y * 5.0) + Float64(x * Float64(t + Float64(y + Float64(z + Float64(y + z)))))) end
function tmp = code(x, y, z, t) tmp = (y * 5.0) + (x * (t + (y + (z + (y + z))))); end
code[x_, y_, z_, t_] := N[(N[(y * 5.0), $MachinePrecision] + N[(x * N[(t + N[(y + N[(z + N[(y + z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
y \cdot 5 + x \cdot \left(t + \left(y + \left(z + \left(y + z\right)\right)\right)\right)
\end{array}
Initial program 99.5%
Final simplification99.5%
(FPCore (x y z t) :precision binary64 (if (or (<= x -2.7e-9) (not (<= x 1.95e-38))) (* x t) (* y 5.0)))
double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -2.7e-9) || !(x <= 1.95e-38)) {
tmp = x * t;
} else {
tmp = y * 5.0;
}
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 ((x <= (-2.7d-9)) .or. (.not. (x <= 1.95d-38))) then
tmp = x * t
else
tmp = y * 5.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -2.7e-9) || !(x <= 1.95e-38)) {
tmp = x * t;
} else {
tmp = y * 5.0;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (x <= -2.7e-9) or not (x <= 1.95e-38): tmp = x * t else: tmp = y * 5.0 return tmp
function code(x, y, z, t) tmp = 0.0 if ((x <= -2.7e-9) || !(x <= 1.95e-38)) tmp = Float64(x * t); else tmp = Float64(y * 5.0); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((x <= -2.7e-9) || ~((x <= 1.95e-38))) tmp = x * t; else tmp = y * 5.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[x, -2.7e-9], N[Not[LessEqual[x, 1.95e-38]], $MachinePrecision]], N[(x * t), $MachinePrecision], N[(y * 5.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.7 \cdot 10^{-9} \lor \neg \left(x \leq 1.95 \cdot 10^{-38}\right):\\
\;\;\;\;x \cdot t\\
\mathbf{else}:\\
\;\;\;\;y \cdot 5\\
\end{array}
\end{array}
if x < -2.7000000000000002e-9 or 1.95e-38 < x Initial program 99.9%
+-commutative99.9%
fma-define100.0%
flip-+75.3%
associate-*r/61.7%
fma-neg65.7%
associate-+l+65.7%
+-commutative65.7%
count-265.7%
associate-+l+65.7%
+-commutative65.7%
count-265.7%
fma-neg61.7%
associate-+l+61.7%
+-commutative61.7%
count-261.7%
Applied egg-rr100.0%
Taylor expanded in t around inf 36.8%
*-commutative36.8%
Simplified36.8%
if -2.7000000000000002e-9 < x < 1.95e-38Initial program 99.1%
+-commutative99.1%
fma-define99.2%
flip-+46.6%
associate-*r/45.8%
fma-neg46.0%
associate-+l+46.0%
+-commutative46.0%
count-246.0%
associate-+l+46.0%
+-commutative46.0%
count-246.0%
fma-neg45.8%
associate-+l+45.8%
+-commutative45.8%
count-245.8%
Applied egg-rr99.2%
Taylor expanded in x around 0 60.6%
*-commutative60.6%
Simplified60.6%
Final simplification48.7%
(FPCore (x y z t) :precision binary64 (* x t))
double code(double x, double y, double z, double t) {
return x * 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 * t
end function
public static double code(double x, double y, double z, double t) {
return x * t;
}
def code(x, y, z, t): return x * t
function code(x, y, z, t) return Float64(x * t) end
function tmp = code(x, y, z, t) tmp = x * t; end
code[x_, y_, z_, t_] := N[(x * t), $MachinePrecision]
\begin{array}{l}
\\
x \cdot t
\end{array}
Initial program 99.5%
+-commutative99.5%
fma-define99.6%
flip-+61.0%
associate-*r/53.8%
fma-neg55.8%
associate-+l+55.9%
+-commutative55.9%
count-255.9%
associate-+l+55.8%
+-commutative55.8%
count-255.8%
fma-neg53.8%
associate-+l+53.8%
+-commutative53.8%
count-253.8%
Applied egg-rr99.6%
Taylor expanded in t around inf 28.5%
*-commutative28.5%
Simplified28.5%
herbie shell --seed 2024146
(FPCore (x y z t)
:name "Graphics.Rendering.Plot.Render.Plot.Legend:renderLegendOutside from plot-0.2.3.4, B"
:precision binary64
(+ (* x (+ (+ (+ (+ y z) z) y) t)) (* y 5.0)))