
(FPCore (x l t) :precision binary64 (/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))))
double code(double x, double l, double t) {
return (sqrt(2.0) * t) / sqrt(((((x + 1.0) / (x - 1.0)) * ((l * l) + (2.0 * (t * t)))) - (l * l)));
}
real(8) function code(x, l, t)
real(8), intent (in) :: x
real(8), intent (in) :: l
real(8), intent (in) :: t
code = (sqrt(2.0d0) * t) / sqrt(((((x + 1.0d0) / (x - 1.0d0)) * ((l * l) + (2.0d0 * (t * t)))) - (l * l)))
end function
public static double code(double x, double l, double t) {
return (Math.sqrt(2.0) * t) / Math.sqrt(((((x + 1.0) / (x - 1.0)) * ((l * l) + (2.0 * (t * t)))) - (l * l)));
}
def code(x, l, t): return (math.sqrt(2.0) * t) / math.sqrt(((((x + 1.0) / (x - 1.0)) * ((l * l) + (2.0 * (t * t)))) - (l * l)))
function code(x, l, t) return Float64(Float64(sqrt(2.0) * t) / sqrt(Float64(Float64(Float64(Float64(x + 1.0) / Float64(x - 1.0)) * Float64(Float64(l * l) + Float64(2.0 * Float64(t * t)))) - Float64(l * l)))) end
function tmp = code(x, l, t) tmp = (sqrt(2.0) * t) / sqrt(((((x + 1.0) / (x - 1.0)) * ((l * l) + (2.0 * (t * t)))) - (l * l))); end
code[x_, l_, t_] := N[(N[(N[Sqrt[2.0], $MachinePrecision] * t), $MachinePrecision] / N[Sqrt[N[(N[(N[(N[(x + 1.0), $MachinePrecision] / N[(x - 1.0), $MachinePrecision]), $MachinePrecision] * N[(N[(l * l), $MachinePrecision] + N[(2.0 * N[(t * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(l * l), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\sqrt{2} \cdot t}{\sqrt{\frac{x + 1}{x - 1} \cdot \left(\ell \cdot \ell + 2 \cdot \left(t \cdot t\right)\right) - \ell \cdot \ell}}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 9 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x l t) :precision binary64 (/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))))
double code(double x, double l, double t) {
return (sqrt(2.0) * t) / sqrt(((((x + 1.0) / (x - 1.0)) * ((l * l) + (2.0 * (t * t)))) - (l * l)));
}
real(8) function code(x, l, t)
real(8), intent (in) :: x
real(8), intent (in) :: l
real(8), intent (in) :: t
code = (sqrt(2.0d0) * t) / sqrt(((((x + 1.0d0) / (x - 1.0d0)) * ((l * l) + (2.0d0 * (t * t)))) - (l * l)))
end function
public static double code(double x, double l, double t) {
return (Math.sqrt(2.0) * t) / Math.sqrt(((((x + 1.0) / (x - 1.0)) * ((l * l) + (2.0 * (t * t)))) - (l * l)));
}
def code(x, l, t): return (math.sqrt(2.0) * t) / math.sqrt(((((x + 1.0) / (x - 1.0)) * ((l * l) + (2.0 * (t * t)))) - (l * l)))
function code(x, l, t) return Float64(Float64(sqrt(2.0) * t) / sqrt(Float64(Float64(Float64(Float64(x + 1.0) / Float64(x - 1.0)) * Float64(Float64(l * l) + Float64(2.0 * Float64(t * t)))) - Float64(l * l)))) end
function tmp = code(x, l, t) tmp = (sqrt(2.0) * t) / sqrt(((((x + 1.0) / (x - 1.0)) * ((l * l) + (2.0 * (t * t)))) - (l * l))); end
code[x_, l_, t_] := N[(N[(N[Sqrt[2.0], $MachinePrecision] * t), $MachinePrecision] / N[Sqrt[N[(N[(N[(N[(x + 1.0), $MachinePrecision] / N[(x - 1.0), $MachinePrecision]), $MachinePrecision] * N[(N[(l * l), $MachinePrecision] + N[(2.0 * N[(t * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(l * l), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\sqrt{2} \cdot t}{\sqrt{\frac{x + 1}{x - 1} \cdot \left(\ell \cdot \ell + 2 \cdot \left(t \cdot t\right)\right) - \ell \cdot \ell}}
\end{array}
l_m = (fabs.f64 l)
t_m = (fabs.f64 t)
t_s = (copysign.f64 1 t)
(FPCore (t_s x l_m t_m)
:precision binary64
(*
t_s
(if (<= (* l_m l_m) 5e+232)
(sqrt (/ (+ x -1.0) (+ x 1.0)))
(*
(/
(sqrt 2.0)
(* l_m (sqrt (+ (/ 1.0 (+ x -1.0)) (+ (/ 1.0 x) (pow x -2.0))))))
t_m))))l_m = fabs(l);
t_m = fabs(t);
t_s = copysign(1.0, t);
double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if ((l_m * l_m) <= 5e+232) {
tmp = sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = (sqrt(2.0) / (l_m * sqrt(((1.0 / (x + -1.0)) + ((1.0 / x) + pow(x, -2.0)))))) * t_m;
}
return t_s * tmp;
}
l_m = abs(l)
t_m = abs(t)
t_s = copysign(1.0d0, t)
real(8) function code(t_s, x, l_m, t_m)
real(8), intent (in) :: t_s
real(8), intent (in) :: x
real(8), intent (in) :: l_m
real(8), intent (in) :: t_m
real(8) :: tmp
if ((l_m * l_m) <= 5d+232) then
tmp = sqrt(((x + (-1.0d0)) / (x + 1.0d0)))
else
tmp = (sqrt(2.0d0) / (l_m * sqrt(((1.0d0 / (x + (-1.0d0))) + ((1.0d0 / x) + (x ** (-2.0d0))))))) * t_m
end if
code = t_s * tmp
end function
l_m = Math.abs(l);
t_m = Math.abs(t);
t_s = Math.copySign(1.0, t);
public static double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if ((l_m * l_m) <= 5e+232) {
tmp = Math.sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = (Math.sqrt(2.0) / (l_m * Math.sqrt(((1.0 / (x + -1.0)) + ((1.0 / x) + Math.pow(x, -2.0)))))) * t_m;
}
return t_s * tmp;
}
l_m = math.fabs(l) t_m = math.fabs(t) t_s = math.copysign(1.0, t) def code(t_s, x, l_m, t_m): tmp = 0 if (l_m * l_m) <= 5e+232: tmp = math.sqrt(((x + -1.0) / (x + 1.0))) else: tmp = (math.sqrt(2.0) / (l_m * math.sqrt(((1.0 / (x + -1.0)) + ((1.0 / x) + math.pow(x, -2.0)))))) * t_m return t_s * tmp
l_m = abs(l) t_m = abs(t) t_s = copysign(1.0, t) function code(t_s, x, l_m, t_m) tmp = 0.0 if (Float64(l_m * l_m) <= 5e+232) tmp = sqrt(Float64(Float64(x + -1.0) / Float64(x + 1.0))); else tmp = Float64(Float64(sqrt(2.0) / Float64(l_m * sqrt(Float64(Float64(1.0 / Float64(x + -1.0)) + Float64(Float64(1.0 / x) + (x ^ -2.0)))))) * t_m); end return Float64(t_s * tmp) end
l_m = abs(l); t_m = abs(t); t_s = sign(t) * abs(1.0); function tmp_2 = code(t_s, x, l_m, t_m) tmp = 0.0; if ((l_m * l_m) <= 5e+232) tmp = sqrt(((x + -1.0) / (x + 1.0))); else tmp = (sqrt(2.0) / (l_m * sqrt(((1.0 / (x + -1.0)) + ((1.0 / x) + (x ^ -2.0)))))) * t_m; end tmp_2 = t_s * tmp; end
l_m = N[Abs[l], $MachinePrecision]
t_m = N[Abs[t], $MachinePrecision]
t_s = N[With[{TMP1 = Abs[1.0], TMP2 = Sign[t]}, TMP1 * If[TMP2 == 0, 1, TMP2]], $MachinePrecision]
code[t$95$s_, x_, l$95$m_, t$95$m_] := N[(t$95$s * If[LessEqual[N[(l$95$m * l$95$m), $MachinePrecision], 5e+232], N[Sqrt[N[(N[(x + -1.0), $MachinePrecision] / N[(x + 1.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[(N[Sqrt[2.0], $MachinePrecision] / N[(l$95$m * N[Sqrt[N[(N[(1.0 / N[(x + -1.0), $MachinePrecision]), $MachinePrecision] + N[(N[(1.0 / x), $MachinePrecision] + N[Power[x, -2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * t$95$m), $MachinePrecision]]), $MachinePrecision]
\begin{array}{l}
l_m = \left|\ell\right|
\\
t_m = \left|t\right|
\\
t_s = \mathsf{copysign}\left(1, t\right)
\\
t_s \cdot \begin{array}{l}
\mathbf{if}\;l_m \cdot l_m \leq 5 \cdot 10^{+232}:\\
\;\;\;\;\sqrt{\frac{x + -1}{x + 1}}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{2}}{l_m \cdot \sqrt{\frac{1}{x + -1} + \left(\frac{1}{x} + {x}^{-2}\right)}} \cdot t_m\\
\end{array}
\end{array}
if (*.f64 l l) < 4.99999999999999987e232Initial program 41.2%
Simplified41.2%
Taylor expanded in l around 0 50.3%
+-commutative50.3%
sub-neg50.3%
metadata-eval50.3%
+-commutative50.3%
Simplified50.3%
associate-/r*50.3%
sqrt-undiv50.3%
metadata-eval50.3%
sqrt-div50.4%
clear-num50.4%
+-commutative50.4%
Applied egg-rr50.4%
if 4.99999999999999987e232 < (*.f64 l l) Initial program 0.6%
Simplified0.6%
Taylor expanded in l around inf 4.7%
*-commutative4.7%
associate--l+17.2%
sub-neg17.2%
metadata-eval17.2%
+-commutative17.2%
sub-neg17.2%
metadata-eval17.2%
+-commutative17.2%
Simplified17.2%
associate-*r/17.7%
+-commutative17.7%
sub-neg17.7%
+-commutative17.7%
metadata-eval17.7%
+-commutative17.7%
Applied egg-rr17.7%
Taylor expanded in x around inf 32.6%
exp-to-pow32.6%
*-commutative32.6%
count-232.6%
exp-neg32.6%
neg-mul-132.6%
distribute-lft-out32.6%
distribute-rgt-out32.6%
metadata-eval32.6%
exp-to-pow32.6%
Simplified32.6%
associate-/r/32.6%
+-commutative32.6%
Applied egg-rr32.6%
Final simplification46.3%
l_m = (fabs.f64 l)
t_m = (fabs.f64 t)
t_s = (copysign.f64 1 t)
(FPCore (t_s x l_m t_m)
:precision binary64
(*
t_s
(if (<= (* l_m l_m) 5e+232)
(sqrt (/ (+ x -1.0) (+ x 1.0)))
(* t_m (/ (sqrt 2.0) (* (* l_m (sqrt 2.0)) (sqrt (/ 1.0 x))))))))l_m = fabs(l);
t_m = fabs(t);
t_s = copysign(1.0, t);
double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if ((l_m * l_m) <= 5e+232) {
tmp = sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = t_m * (sqrt(2.0) / ((l_m * sqrt(2.0)) * sqrt((1.0 / x))));
}
return t_s * tmp;
}
l_m = abs(l)
t_m = abs(t)
t_s = copysign(1.0d0, t)
real(8) function code(t_s, x, l_m, t_m)
real(8), intent (in) :: t_s
real(8), intent (in) :: x
real(8), intent (in) :: l_m
real(8), intent (in) :: t_m
real(8) :: tmp
if ((l_m * l_m) <= 5d+232) then
tmp = sqrt(((x + (-1.0d0)) / (x + 1.0d0)))
else
tmp = t_m * (sqrt(2.0d0) / ((l_m * sqrt(2.0d0)) * sqrt((1.0d0 / x))))
end if
code = t_s * tmp
end function
l_m = Math.abs(l);
t_m = Math.abs(t);
t_s = Math.copySign(1.0, t);
public static double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if ((l_m * l_m) <= 5e+232) {
tmp = Math.sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = t_m * (Math.sqrt(2.0) / ((l_m * Math.sqrt(2.0)) * Math.sqrt((1.0 / x))));
}
return t_s * tmp;
}
l_m = math.fabs(l) t_m = math.fabs(t) t_s = math.copysign(1.0, t) def code(t_s, x, l_m, t_m): tmp = 0 if (l_m * l_m) <= 5e+232: tmp = math.sqrt(((x + -1.0) / (x + 1.0))) else: tmp = t_m * (math.sqrt(2.0) / ((l_m * math.sqrt(2.0)) * math.sqrt((1.0 / x)))) return t_s * tmp
l_m = abs(l) t_m = abs(t) t_s = copysign(1.0, t) function code(t_s, x, l_m, t_m) tmp = 0.0 if (Float64(l_m * l_m) <= 5e+232) tmp = sqrt(Float64(Float64(x + -1.0) / Float64(x + 1.0))); else tmp = Float64(t_m * Float64(sqrt(2.0) / Float64(Float64(l_m * sqrt(2.0)) * sqrt(Float64(1.0 / x))))); end return Float64(t_s * tmp) end
l_m = abs(l); t_m = abs(t); t_s = sign(t) * abs(1.0); function tmp_2 = code(t_s, x, l_m, t_m) tmp = 0.0; if ((l_m * l_m) <= 5e+232) tmp = sqrt(((x + -1.0) / (x + 1.0))); else tmp = t_m * (sqrt(2.0) / ((l_m * sqrt(2.0)) * sqrt((1.0 / x)))); end tmp_2 = t_s * tmp; end
l_m = N[Abs[l], $MachinePrecision]
t_m = N[Abs[t], $MachinePrecision]
t_s = N[With[{TMP1 = Abs[1.0], TMP2 = Sign[t]}, TMP1 * If[TMP2 == 0, 1, TMP2]], $MachinePrecision]
code[t$95$s_, x_, l$95$m_, t$95$m_] := N[(t$95$s * If[LessEqual[N[(l$95$m * l$95$m), $MachinePrecision], 5e+232], N[Sqrt[N[(N[(x + -1.0), $MachinePrecision] / N[(x + 1.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(t$95$m * N[(N[Sqrt[2.0], $MachinePrecision] / N[(N[(l$95$m * N[Sqrt[2.0], $MachinePrecision]), $MachinePrecision] * N[Sqrt[N[(1.0 / x), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]), $MachinePrecision]
\begin{array}{l}
l_m = \left|\ell\right|
\\
t_m = \left|t\right|
\\
t_s = \mathsf{copysign}\left(1, t\right)
\\
t_s \cdot \begin{array}{l}
\mathbf{if}\;l_m \cdot l_m \leq 5 \cdot 10^{+232}:\\
\;\;\;\;\sqrt{\frac{x + -1}{x + 1}}\\
\mathbf{else}:\\
\;\;\;\;t_m \cdot \frac{\sqrt{2}}{\left(l_m \cdot \sqrt{2}\right) \cdot \sqrt{\frac{1}{x}}}\\
\end{array}
\end{array}
if (*.f64 l l) < 4.99999999999999987e232Initial program 41.2%
Simplified41.2%
Taylor expanded in l around 0 50.3%
+-commutative50.3%
sub-neg50.3%
metadata-eval50.3%
+-commutative50.3%
Simplified50.3%
associate-/r*50.3%
sqrt-undiv50.3%
metadata-eval50.3%
sqrt-div50.4%
clear-num50.4%
+-commutative50.4%
Applied egg-rr50.4%
if 4.99999999999999987e232 < (*.f64 l l) Initial program 0.6%
Simplified0.6%
Taylor expanded in x around inf 32.9%
Taylor expanded in t around 0 32.6%
*-commutative32.6%
Simplified32.6%
Final simplification46.3%
l_m = (fabs.f64 l)
t_m = (fabs.f64 t)
t_s = (copysign.f64 1 t)
(FPCore (t_s x l_m t_m)
:precision binary64
(*
t_s
(if (<= (* l_m l_m) 5e+232)
(sqrt (/ (+ x -1.0) (+ x 1.0)))
(* t_m (* (sqrt x) (/ (sqrt 0.5) (/ l_m (sqrt 2.0))))))))l_m = fabs(l);
t_m = fabs(t);
t_s = copysign(1.0, t);
double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if ((l_m * l_m) <= 5e+232) {
tmp = sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = t_m * (sqrt(x) * (sqrt(0.5) / (l_m / sqrt(2.0))));
}
return t_s * tmp;
}
l_m = abs(l)
t_m = abs(t)
t_s = copysign(1.0d0, t)
real(8) function code(t_s, x, l_m, t_m)
real(8), intent (in) :: t_s
real(8), intent (in) :: x
real(8), intent (in) :: l_m
real(8), intent (in) :: t_m
real(8) :: tmp
if ((l_m * l_m) <= 5d+232) then
tmp = sqrt(((x + (-1.0d0)) / (x + 1.0d0)))
else
tmp = t_m * (sqrt(x) * (sqrt(0.5d0) / (l_m / sqrt(2.0d0))))
end if
code = t_s * tmp
end function
l_m = Math.abs(l);
t_m = Math.abs(t);
t_s = Math.copySign(1.0, t);
public static double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if ((l_m * l_m) <= 5e+232) {
tmp = Math.sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = t_m * (Math.sqrt(x) * (Math.sqrt(0.5) / (l_m / Math.sqrt(2.0))));
}
return t_s * tmp;
}
l_m = math.fabs(l) t_m = math.fabs(t) t_s = math.copysign(1.0, t) def code(t_s, x, l_m, t_m): tmp = 0 if (l_m * l_m) <= 5e+232: tmp = math.sqrt(((x + -1.0) / (x + 1.0))) else: tmp = t_m * (math.sqrt(x) * (math.sqrt(0.5) / (l_m / math.sqrt(2.0)))) return t_s * tmp
l_m = abs(l) t_m = abs(t) t_s = copysign(1.0, t) function code(t_s, x, l_m, t_m) tmp = 0.0 if (Float64(l_m * l_m) <= 5e+232) tmp = sqrt(Float64(Float64(x + -1.0) / Float64(x + 1.0))); else tmp = Float64(t_m * Float64(sqrt(x) * Float64(sqrt(0.5) / Float64(l_m / sqrt(2.0))))); end return Float64(t_s * tmp) end
l_m = abs(l); t_m = abs(t); t_s = sign(t) * abs(1.0); function tmp_2 = code(t_s, x, l_m, t_m) tmp = 0.0; if ((l_m * l_m) <= 5e+232) tmp = sqrt(((x + -1.0) / (x + 1.0))); else tmp = t_m * (sqrt(x) * (sqrt(0.5) / (l_m / sqrt(2.0)))); end tmp_2 = t_s * tmp; end
l_m = N[Abs[l], $MachinePrecision]
t_m = N[Abs[t], $MachinePrecision]
t_s = N[With[{TMP1 = Abs[1.0], TMP2 = Sign[t]}, TMP1 * If[TMP2 == 0, 1, TMP2]], $MachinePrecision]
code[t$95$s_, x_, l$95$m_, t$95$m_] := N[(t$95$s * If[LessEqual[N[(l$95$m * l$95$m), $MachinePrecision], 5e+232], N[Sqrt[N[(N[(x + -1.0), $MachinePrecision] / N[(x + 1.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(t$95$m * N[(N[Sqrt[x], $MachinePrecision] * N[(N[Sqrt[0.5], $MachinePrecision] / N[(l$95$m / N[Sqrt[2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]), $MachinePrecision]
\begin{array}{l}
l_m = \left|\ell\right|
\\
t_m = \left|t\right|
\\
t_s = \mathsf{copysign}\left(1, t\right)
\\
t_s \cdot \begin{array}{l}
\mathbf{if}\;l_m \cdot l_m \leq 5 \cdot 10^{+232}:\\
\;\;\;\;\sqrt{\frac{x + -1}{x + 1}}\\
\mathbf{else}:\\
\;\;\;\;t_m \cdot \left(\sqrt{x} \cdot \frac{\sqrt{0.5}}{\frac{l_m}{\sqrt{2}}}\right)\\
\end{array}
\end{array}
if (*.f64 l l) < 4.99999999999999987e232Initial program 41.2%
Simplified41.2%
Taylor expanded in l around 0 50.3%
+-commutative50.3%
sub-neg50.3%
metadata-eval50.3%
+-commutative50.3%
Simplified50.3%
associate-/r*50.3%
sqrt-undiv50.3%
metadata-eval50.3%
sqrt-div50.4%
clear-num50.4%
+-commutative50.4%
Applied egg-rr50.4%
if 4.99999999999999987e232 < (*.f64 l l) Initial program 0.6%
Simplified0.6%
Taylor expanded in x around inf 32.9%
Taylor expanded in t around 0 32.4%
*-commutative32.4%
associate-/l*32.5%
Simplified32.5%
Final simplification46.3%
l_m = (fabs.f64 l)
t_m = (fabs.f64 t)
t_s = (copysign.f64 1 t)
(FPCore (t_s x l_m t_m)
:precision binary64
(*
t_s
(if (<= (* l_m l_m) 5e+232)
(sqrt (/ (+ x -1.0) (+ x 1.0)))
(/ (sqrt 2.0) (/ (* l_m (sqrt (+ (/ 1.0 (+ x -1.0)) (/ 1.0 x)))) t_m)))))l_m = fabs(l);
t_m = fabs(t);
t_s = copysign(1.0, t);
double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if ((l_m * l_m) <= 5e+232) {
tmp = sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = sqrt(2.0) / ((l_m * sqrt(((1.0 / (x + -1.0)) + (1.0 / x)))) / t_m);
}
return t_s * tmp;
}
l_m = abs(l)
t_m = abs(t)
t_s = copysign(1.0d0, t)
real(8) function code(t_s, x, l_m, t_m)
real(8), intent (in) :: t_s
real(8), intent (in) :: x
real(8), intent (in) :: l_m
real(8), intent (in) :: t_m
real(8) :: tmp
if ((l_m * l_m) <= 5d+232) then
tmp = sqrt(((x + (-1.0d0)) / (x + 1.0d0)))
else
tmp = sqrt(2.0d0) / ((l_m * sqrt(((1.0d0 / (x + (-1.0d0))) + (1.0d0 / x)))) / t_m)
end if
code = t_s * tmp
end function
l_m = Math.abs(l);
t_m = Math.abs(t);
t_s = Math.copySign(1.0, t);
public static double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if ((l_m * l_m) <= 5e+232) {
tmp = Math.sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = Math.sqrt(2.0) / ((l_m * Math.sqrt(((1.0 / (x + -1.0)) + (1.0 / x)))) / t_m);
}
return t_s * tmp;
}
l_m = math.fabs(l) t_m = math.fabs(t) t_s = math.copysign(1.0, t) def code(t_s, x, l_m, t_m): tmp = 0 if (l_m * l_m) <= 5e+232: tmp = math.sqrt(((x + -1.0) / (x + 1.0))) else: tmp = math.sqrt(2.0) / ((l_m * math.sqrt(((1.0 / (x + -1.0)) + (1.0 / x)))) / t_m) return t_s * tmp
l_m = abs(l) t_m = abs(t) t_s = copysign(1.0, t) function code(t_s, x, l_m, t_m) tmp = 0.0 if (Float64(l_m * l_m) <= 5e+232) tmp = sqrt(Float64(Float64(x + -1.0) / Float64(x + 1.0))); else tmp = Float64(sqrt(2.0) / Float64(Float64(l_m * sqrt(Float64(Float64(1.0 / Float64(x + -1.0)) + Float64(1.0 / x)))) / t_m)); end return Float64(t_s * tmp) end
l_m = abs(l); t_m = abs(t); t_s = sign(t) * abs(1.0); function tmp_2 = code(t_s, x, l_m, t_m) tmp = 0.0; if ((l_m * l_m) <= 5e+232) tmp = sqrt(((x + -1.0) / (x + 1.0))); else tmp = sqrt(2.0) / ((l_m * sqrt(((1.0 / (x + -1.0)) + (1.0 / x)))) / t_m); end tmp_2 = t_s * tmp; end
l_m = N[Abs[l], $MachinePrecision]
t_m = N[Abs[t], $MachinePrecision]
t_s = N[With[{TMP1 = Abs[1.0], TMP2 = Sign[t]}, TMP1 * If[TMP2 == 0, 1, TMP2]], $MachinePrecision]
code[t$95$s_, x_, l$95$m_, t$95$m_] := N[(t$95$s * If[LessEqual[N[(l$95$m * l$95$m), $MachinePrecision], 5e+232], N[Sqrt[N[(N[(x + -1.0), $MachinePrecision] / N[(x + 1.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[2.0], $MachinePrecision] / N[(N[(l$95$m * N[Sqrt[N[(N[(1.0 / N[(x + -1.0), $MachinePrecision]), $MachinePrecision] + N[(1.0 / x), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t$95$m), $MachinePrecision]), $MachinePrecision]]), $MachinePrecision]
\begin{array}{l}
l_m = \left|\ell\right|
\\
t_m = \left|t\right|
\\
t_s = \mathsf{copysign}\left(1, t\right)
\\
t_s \cdot \begin{array}{l}
\mathbf{if}\;l_m \cdot l_m \leq 5 \cdot 10^{+232}:\\
\;\;\;\;\sqrt{\frac{x + -1}{x + 1}}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{2}}{\frac{l_m \cdot \sqrt{\frac{1}{x + -1} + \frac{1}{x}}}{t_m}}\\
\end{array}
\end{array}
if (*.f64 l l) < 4.99999999999999987e232Initial program 41.2%
Simplified41.2%
Taylor expanded in l around 0 50.3%
+-commutative50.3%
sub-neg50.3%
metadata-eval50.3%
+-commutative50.3%
Simplified50.3%
associate-/r*50.3%
sqrt-undiv50.3%
metadata-eval50.3%
sqrt-div50.4%
clear-num50.4%
+-commutative50.4%
Applied egg-rr50.4%
if 4.99999999999999987e232 < (*.f64 l l) Initial program 0.6%
Simplified0.6%
Taylor expanded in l around inf 4.7%
*-commutative4.7%
associate--l+17.2%
sub-neg17.2%
metadata-eval17.2%
+-commutative17.2%
sub-neg17.2%
metadata-eval17.2%
+-commutative17.2%
Simplified17.2%
associate-*r/17.7%
+-commutative17.7%
sub-neg17.7%
+-commutative17.7%
metadata-eval17.7%
+-commutative17.7%
Applied egg-rr17.7%
Taylor expanded in x around inf 32.6%
Final simplification46.3%
l_m = (fabs.f64 l)
t_m = (fabs.f64 t)
t_s = (copysign.f64 1 t)
(FPCore (t_s x l_m t_m)
:precision binary64
(*
t_s
(if (<= l_m 2.4e+155)
(sqrt (/ (+ x -1.0) (+ x 1.0)))
(* (sqrt x) (/ t_m l_m)))))l_m = fabs(l);
t_m = fabs(t);
t_s = copysign(1.0, t);
double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if (l_m <= 2.4e+155) {
tmp = sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = sqrt(x) * (t_m / l_m);
}
return t_s * tmp;
}
l_m = abs(l)
t_m = abs(t)
t_s = copysign(1.0d0, t)
real(8) function code(t_s, x, l_m, t_m)
real(8), intent (in) :: t_s
real(8), intent (in) :: x
real(8), intent (in) :: l_m
real(8), intent (in) :: t_m
real(8) :: tmp
if (l_m <= 2.4d+155) then
tmp = sqrt(((x + (-1.0d0)) / (x + 1.0d0)))
else
tmp = sqrt(x) * (t_m / l_m)
end if
code = t_s * tmp
end function
l_m = Math.abs(l);
t_m = Math.abs(t);
t_s = Math.copySign(1.0, t);
public static double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if (l_m <= 2.4e+155) {
tmp = Math.sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = Math.sqrt(x) * (t_m / l_m);
}
return t_s * tmp;
}
l_m = math.fabs(l) t_m = math.fabs(t) t_s = math.copysign(1.0, t) def code(t_s, x, l_m, t_m): tmp = 0 if l_m <= 2.4e+155: tmp = math.sqrt(((x + -1.0) / (x + 1.0))) else: tmp = math.sqrt(x) * (t_m / l_m) return t_s * tmp
l_m = abs(l) t_m = abs(t) t_s = copysign(1.0, t) function code(t_s, x, l_m, t_m) tmp = 0.0 if (l_m <= 2.4e+155) tmp = sqrt(Float64(Float64(x + -1.0) / Float64(x + 1.0))); else tmp = Float64(sqrt(x) * Float64(t_m / l_m)); end return Float64(t_s * tmp) end
l_m = abs(l); t_m = abs(t); t_s = sign(t) * abs(1.0); function tmp_2 = code(t_s, x, l_m, t_m) tmp = 0.0; if (l_m <= 2.4e+155) tmp = sqrt(((x + -1.0) / (x + 1.0))); else tmp = sqrt(x) * (t_m / l_m); end tmp_2 = t_s * tmp; end
l_m = N[Abs[l], $MachinePrecision]
t_m = N[Abs[t], $MachinePrecision]
t_s = N[With[{TMP1 = Abs[1.0], TMP2 = Sign[t]}, TMP1 * If[TMP2 == 0, 1, TMP2]], $MachinePrecision]
code[t$95$s_, x_, l$95$m_, t$95$m_] := N[(t$95$s * If[LessEqual[l$95$m, 2.4e+155], N[Sqrt[N[(N[(x + -1.0), $MachinePrecision] / N[(x + 1.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[x], $MachinePrecision] * N[(t$95$m / l$95$m), $MachinePrecision]), $MachinePrecision]]), $MachinePrecision]
\begin{array}{l}
l_m = \left|\ell\right|
\\
t_m = \left|t\right|
\\
t_s = \mathsf{copysign}\left(1, t\right)
\\
t_s \cdot \begin{array}{l}
\mathbf{if}\;l_m \leq 2.4 \cdot 10^{+155}:\\
\;\;\;\;\sqrt{\frac{x + -1}{x + 1}}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{x} \cdot \frac{t_m}{l_m}\\
\end{array}
\end{array}
if l < 2.40000000000000021e155Initial program 34.7%
Simplified34.7%
Taylor expanded in l around 0 44.8%
+-commutative44.8%
sub-neg44.8%
metadata-eval44.8%
+-commutative44.8%
Simplified44.8%
associate-/r*44.8%
sqrt-undiv44.8%
metadata-eval44.8%
sqrt-div44.8%
clear-num44.8%
+-commutative44.8%
Applied egg-rr44.8%
if 2.40000000000000021e155 < l Initial program 0.0%
Simplified0.0%
Taylor expanded in l around inf 7.2%
*-commutative7.2%
associate--l+29.8%
sub-neg29.8%
metadata-eval29.8%
+-commutative29.8%
sub-neg29.8%
metadata-eval29.8%
+-commutative29.8%
Simplified29.8%
*-un-lft-identity29.8%
*-commutative29.8%
times-frac29.8%
clear-num29.8%
sqrt-undiv29.8%
+-commutative29.8%
sub-neg29.8%
+-commutative29.8%
metadata-eval29.8%
+-commutative29.8%
Applied egg-rr29.8%
Taylor expanded in x around inf 61.4%
Final simplification46.1%
l_m = (fabs.f64 l)
t_m = (fabs.f64 t)
t_s = (copysign.f64 1 t)
(FPCore (t_s x l_m t_m)
:precision binary64
(*
t_s
(if (<= l_m 1.7e+156)
(sqrt (/ (+ x -1.0) (+ x 1.0)))
(* (/ t_m l_m) (sqrt (+ x -1.0))))))l_m = fabs(l);
t_m = fabs(t);
t_s = copysign(1.0, t);
double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if (l_m <= 1.7e+156) {
tmp = sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = (t_m / l_m) * sqrt((x + -1.0));
}
return t_s * tmp;
}
l_m = abs(l)
t_m = abs(t)
t_s = copysign(1.0d0, t)
real(8) function code(t_s, x, l_m, t_m)
real(8), intent (in) :: t_s
real(8), intent (in) :: x
real(8), intent (in) :: l_m
real(8), intent (in) :: t_m
real(8) :: tmp
if (l_m <= 1.7d+156) then
tmp = sqrt(((x + (-1.0d0)) / (x + 1.0d0)))
else
tmp = (t_m / l_m) * sqrt((x + (-1.0d0)))
end if
code = t_s * tmp
end function
l_m = Math.abs(l);
t_m = Math.abs(t);
t_s = Math.copySign(1.0, t);
public static double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if (l_m <= 1.7e+156) {
tmp = Math.sqrt(((x + -1.0) / (x + 1.0)));
} else {
tmp = (t_m / l_m) * Math.sqrt((x + -1.0));
}
return t_s * tmp;
}
l_m = math.fabs(l) t_m = math.fabs(t) t_s = math.copysign(1.0, t) def code(t_s, x, l_m, t_m): tmp = 0 if l_m <= 1.7e+156: tmp = math.sqrt(((x + -1.0) / (x + 1.0))) else: tmp = (t_m / l_m) * math.sqrt((x + -1.0)) return t_s * tmp
l_m = abs(l) t_m = abs(t) t_s = copysign(1.0, t) function code(t_s, x, l_m, t_m) tmp = 0.0 if (l_m <= 1.7e+156) tmp = sqrt(Float64(Float64(x + -1.0) / Float64(x + 1.0))); else tmp = Float64(Float64(t_m / l_m) * sqrt(Float64(x + -1.0))); end return Float64(t_s * tmp) end
l_m = abs(l); t_m = abs(t); t_s = sign(t) * abs(1.0); function tmp_2 = code(t_s, x, l_m, t_m) tmp = 0.0; if (l_m <= 1.7e+156) tmp = sqrt(((x + -1.0) / (x + 1.0))); else tmp = (t_m / l_m) * sqrt((x + -1.0)); end tmp_2 = t_s * tmp; end
l_m = N[Abs[l], $MachinePrecision]
t_m = N[Abs[t], $MachinePrecision]
t_s = N[With[{TMP1 = Abs[1.0], TMP2 = Sign[t]}, TMP1 * If[TMP2 == 0, 1, TMP2]], $MachinePrecision]
code[t$95$s_, x_, l$95$m_, t$95$m_] := N[(t$95$s * If[LessEqual[l$95$m, 1.7e+156], N[Sqrt[N[(N[(x + -1.0), $MachinePrecision] / N[(x + 1.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[(t$95$m / l$95$m), $MachinePrecision] * N[Sqrt[N[(x + -1.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]), $MachinePrecision]
\begin{array}{l}
l_m = \left|\ell\right|
\\
t_m = \left|t\right|
\\
t_s = \mathsf{copysign}\left(1, t\right)
\\
t_s \cdot \begin{array}{l}
\mathbf{if}\;l_m \leq 1.7 \cdot 10^{+156}:\\
\;\;\;\;\sqrt{\frac{x + -1}{x + 1}}\\
\mathbf{else}:\\
\;\;\;\;\frac{t_m}{l_m} \cdot \sqrt{x + -1}\\
\end{array}
\end{array}
if l < 1.7e156Initial program 34.7%
Simplified34.7%
Taylor expanded in l around 0 44.8%
+-commutative44.8%
sub-neg44.8%
metadata-eval44.8%
+-commutative44.8%
Simplified44.8%
associate-/r*44.8%
sqrt-undiv44.8%
metadata-eval44.8%
sqrt-div44.8%
clear-num44.8%
+-commutative44.8%
Applied egg-rr44.8%
if 1.7e156 < l Initial program 0.0%
Simplified0.0%
Taylor expanded in l around inf 7.2%
*-commutative7.2%
associate--l+29.8%
sub-neg29.8%
metadata-eval29.8%
+-commutative29.8%
sub-neg29.8%
metadata-eval29.8%
+-commutative29.8%
Simplified29.8%
*-un-lft-identity29.8%
*-commutative29.8%
times-frac29.8%
clear-num29.8%
sqrt-undiv29.8%
+-commutative29.8%
sub-neg29.8%
+-commutative29.8%
metadata-eval29.8%
+-commutative29.8%
Applied egg-rr29.8%
Taylor expanded in x around 0 61.4%
Final simplification46.1%
l_m = (fabs.f64 l) t_m = (fabs.f64 t) t_s = (copysign.f64 1 t) (FPCore (t_s x l_m t_m) :precision binary64 (* t_s (if (<= l_m 1.15e+156) (+ 1.0 (/ -1.0 x)) (* (sqrt x) (/ t_m l_m)))))
l_m = fabs(l);
t_m = fabs(t);
t_s = copysign(1.0, t);
double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if (l_m <= 1.15e+156) {
tmp = 1.0 + (-1.0 / x);
} else {
tmp = sqrt(x) * (t_m / l_m);
}
return t_s * tmp;
}
l_m = abs(l)
t_m = abs(t)
t_s = copysign(1.0d0, t)
real(8) function code(t_s, x, l_m, t_m)
real(8), intent (in) :: t_s
real(8), intent (in) :: x
real(8), intent (in) :: l_m
real(8), intent (in) :: t_m
real(8) :: tmp
if (l_m <= 1.15d+156) then
tmp = 1.0d0 + ((-1.0d0) / x)
else
tmp = sqrt(x) * (t_m / l_m)
end if
code = t_s * tmp
end function
l_m = Math.abs(l);
t_m = Math.abs(t);
t_s = Math.copySign(1.0, t);
public static double code(double t_s, double x, double l_m, double t_m) {
double tmp;
if (l_m <= 1.15e+156) {
tmp = 1.0 + (-1.0 / x);
} else {
tmp = Math.sqrt(x) * (t_m / l_m);
}
return t_s * tmp;
}
l_m = math.fabs(l) t_m = math.fabs(t) t_s = math.copysign(1.0, t) def code(t_s, x, l_m, t_m): tmp = 0 if l_m <= 1.15e+156: tmp = 1.0 + (-1.0 / x) else: tmp = math.sqrt(x) * (t_m / l_m) return t_s * tmp
l_m = abs(l) t_m = abs(t) t_s = copysign(1.0, t) function code(t_s, x, l_m, t_m) tmp = 0.0 if (l_m <= 1.15e+156) tmp = Float64(1.0 + Float64(-1.0 / x)); else tmp = Float64(sqrt(x) * Float64(t_m / l_m)); end return Float64(t_s * tmp) end
l_m = abs(l); t_m = abs(t); t_s = sign(t) * abs(1.0); function tmp_2 = code(t_s, x, l_m, t_m) tmp = 0.0; if (l_m <= 1.15e+156) tmp = 1.0 + (-1.0 / x); else tmp = sqrt(x) * (t_m / l_m); end tmp_2 = t_s * tmp; end
l_m = N[Abs[l], $MachinePrecision]
t_m = N[Abs[t], $MachinePrecision]
t_s = N[With[{TMP1 = Abs[1.0], TMP2 = Sign[t]}, TMP1 * If[TMP2 == 0, 1, TMP2]], $MachinePrecision]
code[t$95$s_, x_, l$95$m_, t$95$m_] := N[(t$95$s * If[LessEqual[l$95$m, 1.15e+156], N[(1.0 + N[(-1.0 / x), $MachinePrecision]), $MachinePrecision], N[(N[Sqrt[x], $MachinePrecision] * N[(t$95$m / l$95$m), $MachinePrecision]), $MachinePrecision]]), $MachinePrecision]
\begin{array}{l}
l_m = \left|\ell\right|
\\
t_m = \left|t\right|
\\
t_s = \mathsf{copysign}\left(1, t\right)
\\
t_s \cdot \begin{array}{l}
\mathbf{if}\;l_m \leq 1.15 \cdot 10^{+156}:\\
\;\;\;\;1 + \frac{-1}{x}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{x} \cdot \frac{t_m}{l_m}\\
\end{array}
\end{array}
if l < 1.1499999999999999e156Initial program 34.7%
Simplified34.7%
Taylor expanded in l around 0 44.8%
+-commutative44.8%
sub-neg44.8%
metadata-eval44.8%
+-commutative44.8%
Simplified44.8%
Taylor expanded in x around inf 44.7%
if 1.1499999999999999e156 < l Initial program 0.0%
Simplified0.0%
Taylor expanded in l around inf 7.2%
*-commutative7.2%
associate--l+29.8%
sub-neg29.8%
metadata-eval29.8%
+-commutative29.8%
sub-neg29.8%
metadata-eval29.8%
+-commutative29.8%
Simplified29.8%
*-un-lft-identity29.8%
*-commutative29.8%
times-frac29.8%
clear-num29.8%
sqrt-undiv29.8%
+-commutative29.8%
sub-neg29.8%
+-commutative29.8%
metadata-eval29.8%
+-commutative29.8%
Applied egg-rr29.8%
Taylor expanded in x around inf 61.4%
Final simplification46.0%
l_m = (fabs.f64 l) t_m = (fabs.f64 t) t_s = (copysign.f64 1 t) (FPCore (t_s x l_m t_m) :precision binary64 (* t_s (+ 1.0 (/ -1.0 x))))
l_m = fabs(l);
t_m = fabs(t);
t_s = copysign(1.0, t);
double code(double t_s, double x, double l_m, double t_m) {
return t_s * (1.0 + (-1.0 / x));
}
l_m = abs(l)
t_m = abs(t)
t_s = copysign(1.0d0, t)
real(8) function code(t_s, x, l_m, t_m)
real(8), intent (in) :: t_s
real(8), intent (in) :: x
real(8), intent (in) :: l_m
real(8), intent (in) :: t_m
code = t_s * (1.0d0 + ((-1.0d0) / x))
end function
l_m = Math.abs(l);
t_m = Math.abs(t);
t_s = Math.copySign(1.0, t);
public static double code(double t_s, double x, double l_m, double t_m) {
return t_s * (1.0 + (-1.0 / x));
}
l_m = math.fabs(l) t_m = math.fabs(t) t_s = math.copysign(1.0, t) def code(t_s, x, l_m, t_m): return t_s * (1.0 + (-1.0 / x))
l_m = abs(l) t_m = abs(t) t_s = copysign(1.0, t) function code(t_s, x, l_m, t_m) return Float64(t_s * Float64(1.0 + Float64(-1.0 / x))) end
l_m = abs(l); t_m = abs(t); t_s = sign(t) * abs(1.0); function tmp = code(t_s, x, l_m, t_m) tmp = t_s * (1.0 + (-1.0 / x)); end
l_m = N[Abs[l], $MachinePrecision]
t_m = N[Abs[t], $MachinePrecision]
t_s = N[With[{TMP1 = Abs[1.0], TMP2 = Sign[t]}, TMP1 * If[TMP2 == 0, 1, TMP2]], $MachinePrecision]
code[t$95$s_, x_, l$95$m_, t$95$m_] := N[(t$95$s * N[(1.0 + N[(-1.0 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
l_m = \left|\ell\right|
\\
t_m = \left|t\right|
\\
t_s = \mathsf{copysign}\left(1, t\right)
\\
t_s \cdot \left(1 + \frac{-1}{x}\right)
\end{array}
Initial program 32.0%
Simplified32.0%
Taylor expanded in l around 0 42.3%
+-commutative42.3%
sub-neg42.3%
metadata-eval42.3%
+-commutative42.3%
Simplified42.3%
Taylor expanded in x around inf 42.2%
Final simplification42.2%
l_m = (fabs.f64 l) t_m = (fabs.f64 t) t_s = (copysign.f64 1 t) (FPCore (t_s x l_m t_m) :precision binary64 (* t_s 1.0))
l_m = fabs(l);
t_m = fabs(t);
t_s = copysign(1.0, t);
double code(double t_s, double x, double l_m, double t_m) {
return t_s * 1.0;
}
l_m = abs(l)
t_m = abs(t)
t_s = copysign(1.0d0, t)
real(8) function code(t_s, x, l_m, t_m)
real(8), intent (in) :: t_s
real(8), intent (in) :: x
real(8), intent (in) :: l_m
real(8), intent (in) :: t_m
code = t_s * 1.0d0
end function
l_m = Math.abs(l);
t_m = Math.abs(t);
t_s = Math.copySign(1.0, t);
public static double code(double t_s, double x, double l_m, double t_m) {
return t_s * 1.0;
}
l_m = math.fabs(l) t_m = math.fabs(t) t_s = math.copysign(1.0, t) def code(t_s, x, l_m, t_m): return t_s * 1.0
l_m = abs(l) t_m = abs(t) t_s = copysign(1.0, t) function code(t_s, x, l_m, t_m) return Float64(t_s * 1.0) end
l_m = abs(l); t_m = abs(t); t_s = sign(t) * abs(1.0); function tmp = code(t_s, x, l_m, t_m) tmp = t_s * 1.0; end
l_m = N[Abs[l], $MachinePrecision]
t_m = N[Abs[t], $MachinePrecision]
t_s = N[With[{TMP1 = Abs[1.0], TMP2 = Sign[t]}, TMP1 * If[TMP2 == 0, 1, TMP2]], $MachinePrecision]
code[t$95$s_, x_, l$95$m_, t$95$m_] := N[(t$95$s * 1.0), $MachinePrecision]
\begin{array}{l}
l_m = \left|\ell\right|
\\
t_m = \left|t\right|
\\
t_s = \mathsf{copysign}\left(1, t\right)
\\
t_s \cdot 1
\end{array}
Initial program 32.0%
Simplified32.0%
Taylor expanded in l around 0 42.3%
+-commutative42.3%
sub-neg42.3%
metadata-eval42.3%
+-commutative42.3%
Simplified42.3%
Taylor expanded in x around inf 41.9%
Final simplification41.9%
herbie shell --seed 2023332
(FPCore (x l t)
:name "Toniolo and Linder, Equation (7)"
:precision binary64
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))))