
(FPCore (w l) :precision binary64 (* (exp (- w)) (pow l (exp w))))
double code(double w, double l) {
return exp(-w) * pow(l, exp(w));
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
code = exp(-w) * (l ** exp(w))
end function
public static double code(double w, double l) {
return Math.exp(-w) * Math.pow(l, Math.exp(w));
}
def code(w, l): return math.exp(-w) * math.pow(l, math.exp(w))
function code(w, l) return Float64(exp(Float64(-w)) * (l ^ exp(w))) end
function tmp = code(w, l) tmp = exp(-w) * (l ^ exp(w)); end
code[w_, l_] := N[(N[Exp[(-w)], $MachinePrecision] * N[Power[l, N[Exp[w], $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
e^{-w} \cdot {\ell}^{\left(e^{w}\right)}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 14 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (w l) :precision binary64 (* (exp (- w)) (pow l (exp w))))
double code(double w, double l) {
return exp(-w) * pow(l, exp(w));
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
code = exp(-w) * (l ** exp(w))
end function
public static double code(double w, double l) {
return Math.exp(-w) * Math.pow(l, Math.exp(w));
}
def code(w, l): return math.exp(-w) * math.pow(l, math.exp(w))
function code(w, l) return Float64(exp(Float64(-w)) * (l ^ exp(w))) end
function tmp = code(w, l) tmp = exp(-w) * (l ^ exp(w)); end
code[w_, l_] := N[(N[Exp[(-w)], $MachinePrecision] * N[Power[l, N[Exp[w], $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
e^{-w} \cdot {\ell}^{\left(e^{w}\right)}
\end{array}
(FPCore (w l)
:precision binary64
(if (<= w -2.35)
(/ l (exp w))
(/
(pow l (+ 1.0 (* w (+ 1.0 (* w (+ 0.5 (* w 0.16666666666666666)))))))
(+ 1.0 (* w (+ 1.0 (* w 0.5)))))))
double code(double w, double l) {
double tmp;
if (w <= -2.35) {
tmp = l / exp(w);
} else {
tmp = pow(l, (1.0 + (w * (1.0 + (w * (0.5 + (w * 0.16666666666666666))))))) / (1.0 + (w * (1.0 + (w * 0.5))));
}
return tmp;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
real(8) :: tmp
if (w <= (-2.35d0)) then
tmp = l / exp(w)
else
tmp = (l ** (1.0d0 + (w * (1.0d0 + (w * (0.5d0 + (w * 0.16666666666666666d0))))))) / (1.0d0 + (w * (1.0d0 + (w * 0.5d0))))
end if
code = tmp
end function
public static double code(double w, double l) {
double tmp;
if (w <= -2.35) {
tmp = l / Math.exp(w);
} else {
tmp = Math.pow(l, (1.0 + (w * (1.0 + (w * (0.5 + (w * 0.16666666666666666))))))) / (1.0 + (w * (1.0 + (w * 0.5))));
}
return tmp;
}
def code(w, l): tmp = 0 if w <= -2.35: tmp = l / math.exp(w) else: tmp = math.pow(l, (1.0 + (w * (1.0 + (w * (0.5 + (w * 0.16666666666666666))))))) / (1.0 + (w * (1.0 + (w * 0.5)))) return tmp
function code(w, l) tmp = 0.0 if (w <= -2.35) tmp = Float64(l / exp(w)); else tmp = Float64((l ^ Float64(1.0 + Float64(w * Float64(1.0 + Float64(w * Float64(0.5 + Float64(w * 0.16666666666666666))))))) / Float64(1.0 + Float64(w * Float64(1.0 + Float64(w * 0.5))))); end return tmp end
function tmp_2 = code(w, l) tmp = 0.0; if (w <= -2.35) tmp = l / exp(w); else tmp = (l ^ (1.0 + (w * (1.0 + (w * (0.5 + (w * 0.16666666666666666))))))) / (1.0 + (w * (1.0 + (w * 0.5)))); end tmp_2 = tmp; end
code[w_, l_] := If[LessEqual[w, -2.35], N[(l / N[Exp[w], $MachinePrecision]), $MachinePrecision], N[(N[Power[l, N[(1.0 + N[(w * N[(1.0 + N[(w * N[(0.5 + N[(w * 0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] / N[(1.0 + N[(w * N[(1.0 + N[(w * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;w \leq -2.35:\\
\;\;\;\;\frac{\ell}{e^{w}}\\
\mathbf{else}:\\
\;\;\;\;\frac{{\ell}^{\left(1 + w \cdot \left(1 + w \cdot \left(0.5 + w \cdot 0.16666666666666666\right)\right)\right)}}{1 + w \cdot \left(1 + w \cdot 0.5\right)}\\
\end{array}
\end{array}
if w < -2.35000000000000009Initial program 100.0%
exp-neg100.0%
remove-double-neg100.0%
associate-*l/100.0%
*-lft-identity100.0%
remove-double-neg100.0%
Simplified100.0%
add-sqr-sqrt0.0%
sqrt-unprod61.5%
sqr-neg61.5%
sqrt-unprod61.5%
add-sqr-sqrt61.5%
add-sqr-sqrt61.5%
sqrt-unprod61.5%
add-sqr-sqrt61.5%
sqrt-unprod61.5%
sqr-neg61.5%
sqrt-unprod0.0%
add-sqr-sqrt0.0%
pow10.0%
exp-neg0.0%
inv-pow0.0%
pow-prod-up100.0%
metadata-eval100.0%
metadata-eval100.0%
metadata-eval100.0%
Applied egg-rr100.0%
Taylor expanded in l around 0 100.0%
if -2.35000000000000009 < w Initial program 99.1%
exp-neg99.1%
remove-double-neg99.1%
associate-*l/99.1%
*-lft-identity99.1%
remove-double-neg99.1%
Simplified99.1%
Taylor expanded in w around 0 99.2%
*-commutative99.2%
Simplified99.2%
Taylor expanded in w around 0 99.2%
*-commutative99.2%
Simplified99.2%
(FPCore (w l) :precision binary64 (let* ((t_0 (sqrt (exp w)))) (/ (/ (pow l (exp w)) t_0) t_0)))
double code(double w, double l) {
double t_0 = sqrt(exp(w));
return (pow(l, exp(w)) / t_0) / t_0;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
real(8) :: t_0
t_0 = sqrt(exp(w))
code = ((l ** exp(w)) / t_0) / t_0
end function
public static double code(double w, double l) {
double t_0 = Math.sqrt(Math.exp(w));
return (Math.pow(l, Math.exp(w)) / t_0) / t_0;
}
def code(w, l): t_0 = math.sqrt(math.exp(w)) return (math.pow(l, math.exp(w)) / t_0) / t_0
function code(w, l) t_0 = sqrt(exp(w)) return Float64(Float64((l ^ exp(w)) / t_0) / t_0) end
function tmp = code(w, l) t_0 = sqrt(exp(w)); tmp = ((l ^ exp(w)) / t_0) / t_0; end
code[w_, l_] := Block[{t$95$0 = N[Sqrt[N[Exp[w], $MachinePrecision]], $MachinePrecision]}, N[(N[(N[Power[l, N[Exp[w], $MachinePrecision]], $MachinePrecision] / t$95$0), $MachinePrecision] / t$95$0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \sqrt{e^{w}}\\
\frac{\frac{{\ell}^{\left(e^{w}\right)}}{t\_0}}{t\_0}
\end{array}
\end{array}
Initial program 99.4%
exp-neg99.4%
remove-double-neg99.4%
associate-*l/99.4%
*-lft-identity99.4%
remove-double-neg99.4%
Simplified99.4%
Taylor expanded in l around inf 94.6%
mul-1-neg94.6%
*-commutative94.6%
distribute-lft-neg-in94.6%
log-rec94.6%
remove-double-div94.6%
Simplified94.6%
pow-to-exp99.4%
*-un-lft-identity99.4%
add-sqr-sqrt99.4%
times-frac99.4%
Applied egg-rr99.4%
associate-*l/99.4%
*-lft-identity99.4%
Simplified99.4%
(FPCore (w l) :precision binary64 (* (pow l (exp w)) (exp (- w))))
double code(double w, double l) {
return pow(l, exp(w)) * exp(-w);
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
code = (l ** exp(w)) * exp(-w)
end function
public static double code(double w, double l) {
return Math.pow(l, Math.exp(w)) * Math.exp(-w);
}
def code(w, l): return math.pow(l, math.exp(w)) * math.exp(-w)
function code(w, l) return Float64((l ^ exp(w)) * exp(Float64(-w))) end
function tmp = code(w, l) tmp = (l ^ exp(w)) * exp(-w); end
code[w_, l_] := N[(N[Power[l, N[Exp[w], $MachinePrecision]], $MachinePrecision] * N[Exp[(-w)], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
{\ell}^{\left(e^{w}\right)} \cdot e^{-w}
\end{array}
Initial program 99.4%
Final simplification99.4%
(FPCore (w l) :precision binary64 (/ (pow l (exp w)) (exp w)))
double code(double w, double l) {
return pow(l, exp(w)) / exp(w);
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
code = (l ** exp(w)) / exp(w)
end function
public static double code(double w, double l) {
return Math.pow(l, Math.exp(w)) / Math.exp(w);
}
def code(w, l): return math.pow(l, math.exp(w)) / math.exp(w)
function code(w, l) return Float64((l ^ exp(w)) / exp(w)) end
function tmp = code(w, l) tmp = (l ^ exp(w)) / exp(w); end
code[w_, l_] := N[(N[Power[l, N[Exp[w], $MachinePrecision]], $MachinePrecision] / N[Exp[w], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{{\ell}^{\left(e^{w}\right)}}{e^{w}}
\end{array}
Initial program 99.4%
exp-neg99.4%
remove-double-neg99.4%
associate-*l/99.4%
*-lft-identity99.4%
remove-double-neg99.4%
Simplified99.4%
(FPCore (w l) :precision binary64 (let* ((t_0 (+ 1.0 (* w (+ 1.0 (* w 0.5)))))) (if (<= w -3.9e+20) (/ l (exp w)) (/ (pow l t_0) t_0))))
double code(double w, double l) {
double t_0 = 1.0 + (w * (1.0 + (w * 0.5)));
double tmp;
if (w <= -3.9e+20) {
tmp = l / exp(w);
} else {
tmp = pow(l, t_0) / t_0;
}
return tmp;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
real(8) :: t_0
real(8) :: tmp
t_0 = 1.0d0 + (w * (1.0d0 + (w * 0.5d0)))
if (w <= (-3.9d+20)) then
tmp = l / exp(w)
else
tmp = (l ** t_0) / t_0
end if
code = tmp
end function
public static double code(double w, double l) {
double t_0 = 1.0 + (w * (1.0 + (w * 0.5)));
double tmp;
if (w <= -3.9e+20) {
tmp = l / Math.exp(w);
} else {
tmp = Math.pow(l, t_0) / t_0;
}
return tmp;
}
def code(w, l): t_0 = 1.0 + (w * (1.0 + (w * 0.5))) tmp = 0 if w <= -3.9e+20: tmp = l / math.exp(w) else: tmp = math.pow(l, t_0) / t_0 return tmp
function code(w, l) t_0 = Float64(1.0 + Float64(w * Float64(1.0 + Float64(w * 0.5)))) tmp = 0.0 if (w <= -3.9e+20) tmp = Float64(l / exp(w)); else tmp = Float64((l ^ t_0) / t_0); end return tmp end
function tmp_2 = code(w, l) t_0 = 1.0 + (w * (1.0 + (w * 0.5))); tmp = 0.0; if (w <= -3.9e+20) tmp = l / exp(w); else tmp = (l ^ t_0) / t_0; end tmp_2 = tmp; end
code[w_, l_] := Block[{t$95$0 = N[(1.0 + N[(w * N[(1.0 + N[(w * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[w, -3.9e+20], N[(l / N[Exp[w], $MachinePrecision]), $MachinePrecision], N[(N[Power[l, t$95$0], $MachinePrecision] / t$95$0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := 1 + w \cdot \left(1 + w \cdot 0.5\right)\\
\mathbf{if}\;w \leq -3.9 \cdot 10^{+20}:\\
\;\;\;\;\frac{\ell}{e^{w}}\\
\mathbf{else}:\\
\;\;\;\;\frac{{\ell}^{t\_0}}{t\_0}\\
\end{array}
\end{array}
if w < -3.9e20Initial program 100.0%
exp-neg100.0%
remove-double-neg100.0%
associate-*l/100.0%
*-lft-identity100.0%
remove-double-neg100.0%
Simplified100.0%
add-sqr-sqrt0.0%
sqrt-unprod60.9%
sqr-neg60.9%
sqrt-unprod60.9%
add-sqr-sqrt60.9%
add-sqr-sqrt60.9%
sqrt-unprod60.9%
add-sqr-sqrt60.9%
sqrt-unprod60.9%
sqr-neg60.9%
sqrt-unprod0.0%
add-sqr-sqrt0.0%
pow10.0%
exp-neg0.0%
inv-pow0.0%
pow-prod-up100.0%
metadata-eval100.0%
metadata-eval100.0%
metadata-eval100.0%
Applied egg-rr100.0%
Taylor expanded in l around 0 100.0%
if -3.9e20 < w Initial program 99.2%
exp-neg99.2%
remove-double-neg99.2%
associate-*l/99.2%
*-lft-identity99.2%
remove-double-neg99.2%
Simplified99.2%
Taylor expanded in w around 0 98.7%
*-commutative98.7%
Simplified98.7%
Taylor expanded in w around 0 99.0%
*-commutative98.7%
Simplified99.0%
(FPCore (w l) :precision binary64 (if (<= w -1.0) (/ l (exp w)) (/ (pow l (+ 1.0 (* w (+ 1.0 (* w 0.5))))) (+ w 1.0))))
double code(double w, double l) {
double tmp;
if (w <= -1.0) {
tmp = l / exp(w);
} else {
tmp = pow(l, (1.0 + (w * (1.0 + (w * 0.5))))) / (w + 1.0);
}
return tmp;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
real(8) :: tmp
if (w <= (-1.0d0)) then
tmp = l / exp(w)
else
tmp = (l ** (1.0d0 + (w * (1.0d0 + (w * 0.5d0))))) / (w + 1.0d0)
end if
code = tmp
end function
public static double code(double w, double l) {
double tmp;
if (w <= -1.0) {
tmp = l / Math.exp(w);
} else {
tmp = Math.pow(l, (1.0 + (w * (1.0 + (w * 0.5))))) / (w + 1.0);
}
return tmp;
}
def code(w, l): tmp = 0 if w <= -1.0: tmp = l / math.exp(w) else: tmp = math.pow(l, (1.0 + (w * (1.0 + (w * 0.5))))) / (w + 1.0) return tmp
function code(w, l) tmp = 0.0 if (w <= -1.0) tmp = Float64(l / exp(w)); else tmp = Float64((l ^ Float64(1.0 + Float64(w * Float64(1.0 + Float64(w * 0.5))))) / Float64(w + 1.0)); end return tmp end
function tmp_2 = code(w, l) tmp = 0.0; if (w <= -1.0) tmp = l / exp(w); else tmp = (l ^ (1.0 + (w * (1.0 + (w * 0.5))))) / (w + 1.0); end tmp_2 = tmp; end
code[w_, l_] := If[LessEqual[w, -1.0], N[(l / N[Exp[w], $MachinePrecision]), $MachinePrecision], N[(N[Power[l, N[(1.0 + N[(w * N[(1.0 + N[(w * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] / N[(w + 1.0), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;w \leq -1:\\
\;\;\;\;\frac{\ell}{e^{w}}\\
\mathbf{else}:\\
\;\;\;\;\frac{{\ell}^{\left(1 + w \cdot \left(1 + w \cdot 0.5\right)\right)}}{w + 1}\\
\end{array}
\end{array}
if w < -1Initial program 100.0%
exp-neg100.0%
remove-double-neg100.0%
associate-*l/100.0%
*-lft-identity100.0%
remove-double-neg100.0%
Simplified100.0%
add-sqr-sqrt0.0%
sqrt-unprod61.5%
sqr-neg61.5%
sqrt-unprod61.5%
add-sqr-sqrt61.5%
add-sqr-sqrt61.5%
sqrt-unprod61.5%
add-sqr-sqrt61.5%
sqrt-unprod61.5%
sqr-neg61.5%
sqrt-unprod0.0%
add-sqr-sqrt0.0%
pow10.0%
exp-neg0.0%
inv-pow0.0%
pow-prod-up100.0%
metadata-eval100.0%
metadata-eval100.0%
metadata-eval100.0%
Applied egg-rr100.0%
Taylor expanded in l around 0 100.0%
if -1 < w Initial program 99.1%
exp-neg99.1%
remove-double-neg99.1%
associate-*l/99.1%
*-lft-identity99.1%
remove-double-neg99.1%
Simplified99.1%
Taylor expanded in w around 0 98.8%
+-commutative98.8%
Simplified98.8%
Taylor expanded in w around 0 98.8%
*-commutative99.2%
Simplified98.8%
(FPCore (w l) :precision binary64 (/ l (exp w)))
double code(double w, double l) {
return l / exp(w);
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
code = l / exp(w)
end function
public static double code(double w, double l) {
return l / Math.exp(w);
}
def code(w, l): return l / math.exp(w)
function code(w, l) return Float64(l / exp(w)) end
function tmp = code(w, l) tmp = l / exp(w); end
code[w_, l_] := N[(l / N[Exp[w], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\ell}{e^{w}}
\end{array}
Initial program 99.4%
exp-neg99.4%
remove-double-neg99.4%
associate-*l/99.4%
*-lft-identity99.4%
remove-double-neg99.4%
Simplified99.4%
add-sqr-sqrt46.0%
sqrt-unprod88.4%
sqr-neg88.4%
sqrt-unprod42.4%
add-sqr-sqrt87.6%
add-sqr-sqrt87.6%
sqrt-unprod87.6%
add-sqr-sqrt42.4%
sqrt-unprod69.6%
sqr-neg69.6%
sqrt-unprod27.2%
add-sqr-sqrt54.0%
pow154.0%
exp-neg54.0%
inv-pow54.0%
pow-prod-up97.4%
metadata-eval97.4%
metadata-eval97.4%
metadata-eval97.4%
Applied egg-rr97.4%
Taylor expanded in l around 0 97.4%
(FPCore (w l) :precision binary64 (if (<= w 0.135) (+ l (* l (* w (+ -1.0 (* w (+ 0.5 (* w -0.16666666666666666))))))) (* l 0.0)))
double code(double w, double l) {
double tmp;
if (w <= 0.135) {
tmp = l + (l * (w * (-1.0 + (w * (0.5 + (w * -0.16666666666666666))))));
} else {
tmp = l * 0.0;
}
return tmp;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
real(8) :: tmp
if (w <= 0.135d0) then
tmp = l + (l * (w * ((-1.0d0) + (w * (0.5d0 + (w * (-0.16666666666666666d0)))))))
else
tmp = l * 0.0d0
end if
code = tmp
end function
public static double code(double w, double l) {
double tmp;
if (w <= 0.135) {
tmp = l + (l * (w * (-1.0 + (w * (0.5 + (w * -0.16666666666666666))))));
} else {
tmp = l * 0.0;
}
return tmp;
}
def code(w, l): tmp = 0 if w <= 0.135: tmp = l + (l * (w * (-1.0 + (w * (0.5 + (w * -0.16666666666666666)))))) else: tmp = l * 0.0 return tmp
function code(w, l) tmp = 0.0 if (w <= 0.135) tmp = Float64(l + Float64(l * Float64(w * Float64(-1.0 + Float64(w * Float64(0.5 + Float64(w * -0.16666666666666666))))))); else tmp = Float64(l * 0.0); end return tmp end
function tmp_2 = code(w, l) tmp = 0.0; if (w <= 0.135) tmp = l + (l * (w * (-1.0 + (w * (0.5 + (w * -0.16666666666666666)))))); else tmp = l * 0.0; end tmp_2 = tmp; end
code[w_, l_] := If[LessEqual[w, 0.135], N[(l + N[(l * N[(w * N[(-1.0 + N[(w * N[(0.5 + N[(w * -0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(l * 0.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;w \leq 0.135:\\
\;\;\;\;\ell + \ell \cdot \left(w \cdot \left(-1 + w \cdot \left(0.5 + w \cdot -0.16666666666666666\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\ell \cdot 0\\
\end{array}
\end{array}
if w < 0.13500000000000001Initial program 99.7%
exp-neg99.7%
remove-double-neg99.7%
associate-*l/99.7%
*-lft-identity99.7%
remove-double-neg99.7%
Simplified99.7%
add-sqr-sqrt34.1%
sqrt-unprod86.2%
sqr-neg86.2%
sqrt-unprod52.1%
add-sqr-sqrt85.6%
add-sqr-sqrt85.6%
sqrt-unprod85.6%
add-sqr-sqrt52.1%
sqrt-unprod85.7%
sqr-neg85.7%
sqrt-unprod33.5%
add-sqr-sqrt66.5%
pow166.5%
exp-neg66.5%
inv-pow66.5%
pow-prod-up97.7%
metadata-eval97.7%
metadata-eval97.7%
metadata-eval97.7%
Applied egg-rr97.7%
Taylor expanded in w around 0 89.2%
Taylor expanded in l around 0 92.2%
if 0.13500000000000001 < w Initial program 97.9%
exp-neg97.9%
remove-double-neg97.9%
associate-*l/97.9%
*-lft-identity97.9%
remove-double-neg97.9%
Simplified97.9%
add-sqr-sqrt97.9%
sqrt-unprod97.9%
sqr-neg97.9%
sqrt-unprod0.0%
add-sqr-sqrt95.9%
add-sqr-sqrt95.9%
sqrt-unprod95.9%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up96.0%
metadata-eval96.0%
metadata-eval96.0%
metadata-eval96.0%
Applied egg-rr96.0%
Taylor expanded in w around 0 3.5%
mul-1-neg3.5%
unsub-neg3.5%
Simplified3.5%
Taylor expanded in w around inf 3.5%
neg-mul-13.5%
distribute-rgt-neg-in3.5%
Simplified3.5%
add-sqr-sqrt0.0%
sqrt-unprod3.1%
sqr-neg3.1%
sqrt-unprod3.6%
add-sqr-sqrt3.6%
add-log-exp3.7%
pow13.7%
pow13.7%
add-sqr-sqrt3.7%
sqrt-unprod3.7%
sqr-neg3.7%
sqrt-unprod0.0%
add-sqr-sqrt1.6%
add-sqr-sqrt1.6%
sqrt-unprod1.6%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up97.9%
metadata-eval97.9%
metadata-eval97.9%
Applied egg-rr97.9%
Final simplification93.3%
(FPCore (w l) :precision binary64 (if (<= w 0.13) (+ l (* w (- (* w (* w (* l -0.16666666666666666))) l))) (* l 0.0)))
double code(double w, double l) {
double tmp;
if (w <= 0.13) {
tmp = l + (w * ((w * (w * (l * -0.16666666666666666))) - l));
} else {
tmp = l * 0.0;
}
return tmp;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
real(8) :: tmp
if (w <= 0.13d0) then
tmp = l + (w * ((w * (w * (l * (-0.16666666666666666d0)))) - l))
else
tmp = l * 0.0d0
end if
code = tmp
end function
public static double code(double w, double l) {
double tmp;
if (w <= 0.13) {
tmp = l + (w * ((w * (w * (l * -0.16666666666666666))) - l));
} else {
tmp = l * 0.0;
}
return tmp;
}
def code(w, l): tmp = 0 if w <= 0.13: tmp = l + (w * ((w * (w * (l * -0.16666666666666666))) - l)) else: tmp = l * 0.0 return tmp
function code(w, l) tmp = 0.0 if (w <= 0.13) tmp = Float64(l + Float64(w * Float64(Float64(w * Float64(w * Float64(l * -0.16666666666666666))) - l))); else tmp = Float64(l * 0.0); end return tmp end
function tmp_2 = code(w, l) tmp = 0.0; if (w <= 0.13) tmp = l + (w * ((w * (w * (l * -0.16666666666666666))) - l)); else tmp = l * 0.0; end tmp_2 = tmp; end
code[w_, l_] := If[LessEqual[w, 0.13], N[(l + N[(w * N[(N[(w * N[(w * N[(l * -0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - l), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(l * 0.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;w \leq 0.13:\\
\;\;\;\;\ell + w \cdot \left(w \cdot \left(w \cdot \left(\ell \cdot -0.16666666666666666\right)\right) - \ell\right)\\
\mathbf{else}:\\
\;\;\;\;\ell \cdot 0\\
\end{array}
\end{array}
if w < 0.13Initial program 99.7%
exp-neg99.7%
remove-double-neg99.7%
associate-*l/99.7%
*-lft-identity99.7%
remove-double-neg99.7%
Simplified99.7%
add-sqr-sqrt34.1%
sqrt-unprod86.2%
sqr-neg86.2%
sqrt-unprod52.1%
add-sqr-sqrt85.6%
add-sqr-sqrt85.6%
sqrt-unprod85.6%
add-sqr-sqrt52.1%
sqrt-unprod85.7%
sqr-neg85.7%
sqrt-unprod33.5%
add-sqr-sqrt66.5%
pow166.5%
exp-neg66.5%
inv-pow66.5%
pow-prod-up97.7%
metadata-eval97.7%
metadata-eval97.7%
metadata-eval97.7%
Applied egg-rr97.7%
Taylor expanded in w around 0 89.2%
Taylor expanded in w around inf 89.2%
distribute-rgt-out89.2%
metadata-eval89.2%
+-commutative89.2%
mul-1-neg89.2%
distribute-rgt-out89.2%
metadata-eval89.2%
fma-undefine89.2%
neg-mul-189.2%
distribute-rgt-neg-in89.2%
fma-undefine89.2%
distribute-rgt-neg-in89.2%
metadata-eval89.2%
distribute-lft-out89.2%
metadata-eval89.2%
distribute-rgt-neg-in89.2%
metadata-eval89.2%
Simplified89.2%
if 0.13 < w Initial program 97.9%
exp-neg97.9%
remove-double-neg97.9%
associate-*l/97.9%
*-lft-identity97.9%
remove-double-neg97.9%
Simplified97.9%
add-sqr-sqrt97.9%
sqrt-unprod97.9%
sqr-neg97.9%
sqrt-unprod0.0%
add-sqr-sqrt95.9%
add-sqr-sqrt95.9%
sqrt-unprod95.9%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up96.0%
metadata-eval96.0%
metadata-eval96.0%
metadata-eval96.0%
Applied egg-rr96.0%
Taylor expanded in w around 0 3.5%
mul-1-neg3.5%
unsub-neg3.5%
Simplified3.5%
Taylor expanded in w around inf 3.5%
neg-mul-13.5%
distribute-rgt-neg-in3.5%
Simplified3.5%
add-sqr-sqrt0.0%
sqrt-unprod3.1%
sqr-neg3.1%
sqrt-unprod3.6%
add-sqr-sqrt3.6%
add-log-exp3.7%
pow13.7%
pow13.7%
add-sqr-sqrt3.7%
sqrt-unprod3.7%
sqr-neg3.7%
sqrt-unprod0.0%
add-sqr-sqrt1.6%
add-sqr-sqrt1.6%
sqrt-unprod1.6%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up97.9%
metadata-eval97.9%
metadata-eval97.9%
Applied egg-rr97.9%
(FPCore (w l) :precision binary64 (if (<= w 0.115) (+ l (* w (- (* w (* l 0.5)) l))) (* l 0.0)))
double code(double w, double l) {
double tmp;
if (w <= 0.115) {
tmp = l + (w * ((w * (l * 0.5)) - l));
} else {
tmp = l * 0.0;
}
return tmp;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
real(8) :: tmp
if (w <= 0.115d0) then
tmp = l + (w * ((w * (l * 0.5d0)) - l))
else
tmp = l * 0.0d0
end if
code = tmp
end function
public static double code(double w, double l) {
double tmp;
if (w <= 0.115) {
tmp = l + (w * ((w * (l * 0.5)) - l));
} else {
tmp = l * 0.0;
}
return tmp;
}
def code(w, l): tmp = 0 if w <= 0.115: tmp = l + (w * ((w * (l * 0.5)) - l)) else: tmp = l * 0.0 return tmp
function code(w, l) tmp = 0.0 if (w <= 0.115) tmp = Float64(l + Float64(w * Float64(Float64(w * Float64(l * 0.5)) - l))); else tmp = Float64(l * 0.0); end return tmp end
function tmp_2 = code(w, l) tmp = 0.0; if (w <= 0.115) tmp = l + (w * ((w * (l * 0.5)) - l)); else tmp = l * 0.0; end tmp_2 = tmp; end
code[w_, l_] := If[LessEqual[w, 0.115], N[(l + N[(w * N[(N[(w * N[(l * 0.5), $MachinePrecision]), $MachinePrecision] - l), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(l * 0.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;w \leq 0.115:\\
\;\;\;\;\ell + w \cdot \left(w \cdot \left(\ell \cdot 0.5\right) - \ell\right)\\
\mathbf{else}:\\
\;\;\;\;\ell \cdot 0\\
\end{array}
\end{array}
if w < 0.115000000000000005Initial program 99.7%
exp-neg99.7%
remove-double-neg99.7%
associate-*l/99.7%
*-lft-identity99.7%
remove-double-neg99.7%
Simplified99.7%
add-sqr-sqrt34.1%
sqrt-unprod86.2%
sqr-neg86.2%
sqrt-unprod52.1%
add-sqr-sqrt85.6%
add-sqr-sqrt85.6%
sqrt-unprod85.6%
add-sqr-sqrt52.1%
sqrt-unprod85.7%
sqr-neg85.7%
sqrt-unprod33.5%
add-sqr-sqrt66.5%
pow166.5%
exp-neg66.5%
inv-pow66.5%
pow-prod-up97.7%
metadata-eval97.7%
metadata-eval97.7%
metadata-eval97.7%
Applied egg-rr97.7%
Taylor expanded in l around 0 97.7%
Taylor expanded in w around 0 86.7%
mul-1-neg86.7%
distribute-rgt-out86.7%
metadata-eval86.7%
distribute-rgt-neg-out86.7%
distribute-rgt-neg-in86.7%
metadata-eval86.7%
Simplified86.7%
if 0.115000000000000005 < w Initial program 97.9%
exp-neg97.9%
remove-double-neg97.9%
associate-*l/97.9%
*-lft-identity97.9%
remove-double-neg97.9%
Simplified97.9%
add-sqr-sqrt97.9%
sqrt-unprod97.9%
sqr-neg97.9%
sqrt-unprod0.0%
add-sqr-sqrt95.9%
add-sqr-sqrt95.9%
sqrt-unprod95.9%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up96.0%
metadata-eval96.0%
metadata-eval96.0%
metadata-eval96.0%
Applied egg-rr96.0%
Taylor expanded in w around 0 3.5%
mul-1-neg3.5%
unsub-neg3.5%
Simplified3.5%
Taylor expanded in w around inf 3.5%
neg-mul-13.5%
distribute-rgt-neg-in3.5%
Simplified3.5%
add-sqr-sqrt0.0%
sqrt-unprod3.1%
sqr-neg3.1%
sqrt-unprod3.6%
add-sqr-sqrt3.6%
add-log-exp3.7%
pow13.7%
pow13.7%
add-sqr-sqrt3.7%
sqrt-unprod3.7%
sqr-neg3.7%
sqrt-unprod0.0%
add-sqr-sqrt1.6%
add-sqr-sqrt1.6%
sqrt-unprod1.6%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up97.9%
metadata-eval97.9%
metadata-eval97.9%
Applied egg-rr97.9%
(FPCore (w l) :precision binary64 (if (<= w -495.0) (* w (- l)) (if (<= w 0.28) l (* l 0.0))))
double code(double w, double l) {
double tmp;
if (w <= -495.0) {
tmp = w * -l;
} else if (w <= 0.28) {
tmp = l;
} else {
tmp = l * 0.0;
}
return tmp;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
real(8) :: tmp
if (w <= (-495.0d0)) then
tmp = w * -l
else if (w <= 0.28d0) then
tmp = l
else
tmp = l * 0.0d0
end if
code = tmp
end function
public static double code(double w, double l) {
double tmp;
if (w <= -495.0) {
tmp = w * -l;
} else if (w <= 0.28) {
tmp = l;
} else {
tmp = l * 0.0;
}
return tmp;
}
def code(w, l): tmp = 0 if w <= -495.0: tmp = w * -l elif w <= 0.28: tmp = l else: tmp = l * 0.0 return tmp
function code(w, l) tmp = 0.0 if (w <= -495.0) tmp = Float64(w * Float64(-l)); elseif (w <= 0.28) tmp = l; else tmp = Float64(l * 0.0); end return tmp end
function tmp_2 = code(w, l) tmp = 0.0; if (w <= -495.0) tmp = w * -l; elseif (w <= 0.28) tmp = l; else tmp = l * 0.0; end tmp_2 = tmp; end
code[w_, l_] := If[LessEqual[w, -495.0], N[(w * (-l)), $MachinePrecision], If[LessEqual[w, 0.28], l, N[(l * 0.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;w \leq -495:\\
\;\;\;\;w \cdot \left(-\ell\right)\\
\mathbf{elif}\;w \leq 0.28:\\
\;\;\;\;\ell\\
\mathbf{else}:\\
\;\;\;\;\ell \cdot 0\\
\end{array}
\end{array}
if w < -495Initial program 100.0%
exp-neg100.0%
remove-double-neg100.0%
associate-*l/100.0%
*-lft-identity100.0%
remove-double-neg100.0%
Simplified100.0%
add-sqr-sqrt0.0%
sqrt-unprod61.5%
sqr-neg61.5%
sqrt-unprod61.5%
add-sqr-sqrt61.5%
add-sqr-sqrt61.5%
sqrt-unprod61.5%
add-sqr-sqrt61.5%
sqrt-unprod61.5%
sqr-neg61.5%
sqrt-unprod0.0%
add-sqr-sqrt0.0%
pow10.0%
exp-neg0.0%
inv-pow0.0%
pow-prod-up100.0%
metadata-eval100.0%
metadata-eval100.0%
metadata-eval100.0%
Applied egg-rr100.0%
Taylor expanded in w around 0 34.3%
mul-1-neg34.3%
unsub-neg34.3%
Simplified34.3%
Taylor expanded in w around inf 34.3%
neg-mul-134.3%
distribute-rgt-neg-in34.3%
Simplified34.3%
if -495 < w < 0.28000000000000003Initial program 99.6%
Taylor expanded in w around 0 96.7%
if 0.28000000000000003 < w Initial program 97.9%
exp-neg97.9%
remove-double-neg97.9%
associate-*l/97.9%
*-lft-identity97.9%
remove-double-neg97.9%
Simplified97.9%
add-sqr-sqrt97.9%
sqrt-unprod97.9%
sqr-neg97.9%
sqrt-unprod0.0%
add-sqr-sqrt95.9%
add-sqr-sqrt95.9%
sqrt-unprod95.9%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up96.0%
metadata-eval96.0%
metadata-eval96.0%
metadata-eval96.0%
Applied egg-rr96.0%
Taylor expanded in w around 0 3.5%
mul-1-neg3.5%
unsub-neg3.5%
Simplified3.5%
Taylor expanded in w around inf 3.5%
neg-mul-13.5%
distribute-rgt-neg-in3.5%
Simplified3.5%
add-sqr-sqrt0.0%
sqrt-unprod3.1%
sqr-neg3.1%
sqrt-unprod3.6%
add-sqr-sqrt3.6%
add-log-exp3.7%
pow13.7%
pow13.7%
add-sqr-sqrt3.7%
sqrt-unprod3.7%
sqr-neg3.7%
sqrt-unprod0.0%
add-sqr-sqrt1.6%
add-sqr-sqrt1.6%
sqrt-unprod1.6%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up97.9%
metadata-eval97.9%
metadata-eval97.9%
Applied egg-rr97.9%
Final simplification81.1%
(FPCore (w l) :precision binary64 (if (<= w 0.19) (- l (* l w)) (* l 0.0)))
double code(double w, double l) {
double tmp;
if (w <= 0.19) {
tmp = l - (l * w);
} else {
tmp = l * 0.0;
}
return tmp;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
real(8) :: tmp
if (w <= 0.19d0) then
tmp = l - (l * w)
else
tmp = l * 0.0d0
end if
code = tmp
end function
public static double code(double w, double l) {
double tmp;
if (w <= 0.19) {
tmp = l - (l * w);
} else {
tmp = l * 0.0;
}
return tmp;
}
def code(w, l): tmp = 0 if w <= 0.19: tmp = l - (l * w) else: tmp = l * 0.0 return tmp
function code(w, l) tmp = 0.0 if (w <= 0.19) tmp = Float64(l - Float64(l * w)); else tmp = Float64(l * 0.0); end return tmp end
function tmp_2 = code(w, l) tmp = 0.0; if (w <= 0.19) tmp = l - (l * w); else tmp = l * 0.0; end tmp_2 = tmp; end
code[w_, l_] := If[LessEqual[w, 0.19], N[(l - N[(l * w), $MachinePrecision]), $MachinePrecision], N[(l * 0.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;w \leq 0.19:\\
\;\;\;\;\ell - \ell \cdot w\\
\mathbf{else}:\\
\;\;\;\;\ell \cdot 0\\
\end{array}
\end{array}
if w < 0.19Initial program 99.7%
exp-neg99.7%
remove-double-neg99.7%
associate-*l/99.7%
*-lft-identity99.7%
remove-double-neg99.7%
Simplified99.7%
add-sqr-sqrt34.1%
sqrt-unprod86.2%
sqr-neg86.2%
sqrt-unprod52.1%
add-sqr-sqrt85.6%
add-sqr-sqrt85.6%
sqrt-unprod85.6%
add-sqr-sqrt52.1%
sqrt-unprod85.7%
sqr-neg85.7%
sqrt-unprod33.5%
add-sqr-sqrt66.5%
pow166.5%
exp-neg66.5%
inv-pow66.5%
pow-prod-up97.7%
metadata-eval97.7%
metadata-eval97.7%
metadata-eval97.7%
Applied egg-rr97.7%
Taylor expanded in w around 0 77.2%
mul-1-neg77.2%
unsub-neg77.2%
Simplified77.2%
if 0.19 < w Initial program 97.9%
exp-neg97.9%
remove-double-neg97.9%
associate-*l/97.9%
*-lft-identity97.9%
remove-double-neg97.9%
Simplified97.9%
add-sqr-sqrt97.9%
sqrt-unprod97.9%
sqr-neg97.9%
sqrt-unprod0.0%
add-sqr-sqrt95.9%
add-sqr-sqrt95.9%
sqrt-unprod95.9%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up96.0%
metadata-eval96.0%
metadata-eval96.0%
metadata-eval96.0%
Applied egg-rr96.0%
Taylor expanded in w around 0 3.5%
mul-1-neg3.5%
unsub-neg3.5%
Simplified3.5%
Taylor expanded in w around inf 3.5%
neg-mul-13.5%
distribute-rgt-neg-in3.5%
Simplified3.5%
add-sqr-sqrt0.0%
sqrt-unprod3.1%
sqr-neg3.1%
sqrt-unprod3.6%
add-sqr-sqrt3.6%
add-log-exp3.7%
pow13.7%
pow13.7%
add-sqr-sqrt3.7%
sqrt-unprod3.7%
sqr-neg3.7%
sqrt-unprod0.0%
add-sqr-sqrt1.6%
add-sqr-sqrt1.6%
sqrt-unprod1.6%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up97.9%
metadata-eval97.9%
metadata-eval97.9%
Applied egg-rr97.9%
(FPCore (w l) :precision binary64 (if (<= w 0.09) l (* l 0.0)))
double code(double w, double l) {
double tmp;
if (w <= 0.09) {
tmp = l;
} else {
tmp = l * 0.0;
}
return tmp;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
real(8) :: tmp
if (w <= 0.09d0) then
tmp = l
else
tmp = l * 0.0d0
end if
code = tmp
end function
public static double code(double w, double l) {
double tmp;
if (w <= 0.09) {
tmp = l;
} else {
tmp = l * 0.0;
}
return tmp;
}
def code(w, l): tmp = 0 if w <= 0.09: tmp = l else: tmp = l * 0.0 return tmp
function code(w, l) tmp = 0.0 if (w <= 0.09) tmp = l; else tmp = Float64(l * 0.0); end return tmp end
function tmp_2 = code(w, l) tmp = 0.0; if (w <= 0.09) tmp = l; else tmp = l * 0.0; end tmp_2 = tmp; end
code[w_, l_] := If[LessEqual[w, 0.09], l, N[(l * 0.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;w \leq 0.09:\\
\;\;\;\;\ell\\
\mathbf{else}:\\
\;\;\;\;\ell \cdot 0\\
\end{array}
\end{array}
if w < 0.089999999999999997Initial program 99.7%
Taylor expanded in w around 0 67.8%
if 0.089999999999999997 < w Initial program 97.9%
exp-neg97.9%
remove-double-neg97.9%
associate-*l/97.9%
*-lft-identity97.9%
remove-double-neg97.9%
Simplified97.9%
add-sqr-sqrt97.9%
sqrt-unprod97.9%
sqr-neg97.9%
sqrt-unprod0.0%
add-sqr-sqrt95.9%
add-sqr-sqrt95.9%
sqrt-unprod95.9%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up96.0%
metadata-eval96.0%
metadata-eval96.0%
metadata-eval96.0%
Applied egg-rr96.0%
Taylor expanded in w around 0 3.5%
mul-1-neg3.5%
unsub-neg3.5%
Simplified3.5%
Taylor expanded in w around inf 3.5%
neg-mul-13.5%
distribute-rgt-neg-in3.5%
Simplified3.5%
add-sqr-sqrt0.0%
sqrt-unprod3.1%
sqr-neg3.1%
sqrt-unprod3.6%
add-sqr-sqrt3.6%
add-log-exp3.7%
pow13.7%
pow13.7%
add-sqr-sqrt3.7%
sqrt-unprod3.7%
sqr-neg3.7%
sqrt-unprod0.0%
add-sqr-sqrt1.6%
add-sqr-sqrt1.6%
sqrt-unprod1.6%
add-sqr-sqrt0.0%
sqrt-unprod0.1%
sqr-neg0.1%
sqrt-unprod0.1%
add-sqr-sqrt0.1%
pow10.1%
exp-neg0.1%
inv-pow0.1%
pow-prod-up97.9%
metadata-eval97.9%
metadata-eval97.9%
Applied egg-rr97.9%
(FPCore (w l) :precision binary64 l)
double code(double w, double l) {
return l;
}
real(8) function code(w, l)
real(8), intent (in) :: w
real(8), intent (in) :: l
code = l
end function
public static double code(double w, double l) {
return l;
}
def code(w, l): return l
function code(w, l) return l end
function tmp = code(w, l) tmp = l; end
code[w_, l_] := l
\begin{array}{l}
\\
\ell
\end{array}
Initial program 99.4%
Taylor expanded in w around 0 56.1%
herbie shell --seed 2024113
(FPCore (w l)
:name "exp-w (used to crash)"
:precision binary64
(* (exp (- w)) (pow l (exp w))))