
(FPCore (u v t1) :precision binary64 (/ (* (- t1) v) (* (+ t1 u) (+ t1 u))))
double code(double u, double v, double t1) {
return (-t1 * v) / ((t1 + u) * (t1 + u));
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
code = (-t1 * v) / ((t1 + u) * (t1 + u))
end function
public static double code(double u, double v, double t1) {
return (-t1 * v) / ((t1 + u) * (t1 + u));
}
def code(u, v, t1): return (-t1 * v) / ((t1 + u) * (t1 + u))
function code(u, v, t1) return Float64(Float64(Float64(-t1) * v) / Float64(Float64(t1 + u) * Float64(t1 + u))) end
function tmp = code(u, v, t1) tmp = (-t1 * v) / ((t1 + u) * (t1 + u)); end
code[u_, v_, t1_] := N[(N[((-t1) * v), $MachinePrecision] / N[(N[(t1 + u), $MachinePrecision] * N[(t1 + u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\left(-t1\right) \cdot v}{\left(t1 + u\right) \cdot \left(t1 + u\right)}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 20 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (u v t1) :precision binary64 (/ (* (- t1) v) (* (+ t1 u) (+ t1 u))))
double code(double u, double v, double t1) {
return (-t1 * v) / ((t1 + u) * (t1 + u));
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
code = (-t1 * v) / ((t1 + u) * (t1 + u))
end function
public static double code(double u, double v, double t1) {
return (-t1 * v) / ((t1 + u) * (t1 + u));
}
def code(u, v, t1): return (-t1 * v) / ((t1 + u) * (t1 + u))
function code(u, v, t1) return Float64(Float64(Float64(-t1) * v) / Float64(Float64(t1 + u) * Float64(t1 + u))) end
function tmp = code(u, v, t1) tmp = (-t1 * v) / ((t1 + u) * (t1 + u)); end
code[u_, v_, t1_] := N[(N[((-t1) * v), $MachinePrecision] / N[(N[(t1 + u), $MachinePrecision] * N[(t1 + u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\left(-t1\right) \cdot v}{\left(t1 + u\right) \cdot \left(t1 + u\right)}
\end{array}
(FPCore (u v t1) :precision binary64 (* (/ -1.0 (+ t1 u)) (* t1 (/ v (+ t1 u)))))
double code(double u, double v, double t1) {
return (-1.0 / (t1 + u)) * (t1 * (v / (t1 + u)));
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
code = ((-1.0d0) / (t1 + u)) * (t1 * (v / (t1 + u)))
end function
public static double code(double u, double v, double t1) {
return (-1.0 / (t1 + u)) * (t1 * (v / (t1 + u)));
}
def code(u, v, t1): return (-1.0 / (t1 + u)) * (t1 * (v / (t1 + u)))
function code(u, v, t1) return Float64(Float64(-1.0 / Float64(t1 + u)) * Float64(t1 * Float64(v / Float64(t1 + u)))) end
function tmp = code(u, v, t1) tmp = (-1.0 / (t1 + u)) * (t1 * (v / (t1 + u))); end
code[u_, v_, t1_] := N[(N[(-1.0 / N[(t1 + u), $MachinePrecision]), $MachinePrecision] * N[(t1 * N[(v / N[(t1 + u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{-1}{t1 + u} \cdot \left(t1 \cdot \frac{v}{t1 + u}\right)
\end{array}
Initial program 73.5%
associate-/l*73.0%
neg-mul-173.0%
associate-*r/84.3%
times-frac96.4%
div-inv96.3%
clear-num97.7%
Applied egg-rr97.7%
Final simplification97.7%
(FPCore (u v t1)
:precision binary64
(let* ((t_1 (/ (- v) (+ t1 u))) (t_2 (* (- v) (/ t1 (* (+ t1 u) (+ t1 u))))))
(if (<= t1 -3e+98)
t_1
(if (<= t1 -4.9e-144)
t_2
(if (<= t1 6e-185)
(/ (/ (- t1) (/ u v)) (+ t1 u))
(if (<= t1 2.4e+144) t_2 t_1))))))
double code(double u, double v, double t1) {
double t_1 = -v / (t1 + u);
double t_2 = -v * (t1 / ((t1 + u) * (t1 + u)));
double tmp;
if (t1 <= -3e+98) {
tmp = t_1;
} else if (t1 <= -4.9e-144) {
tmp = t_2;
} else if (t1 <= 6e-185) {
tmp = (-t1 / (u / v)) / (t1 + u);
} else if (t1 <= 2.4e+144) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = -v / (t1 + u)
t_2 = -v * (t1 / ((t1 + u) * (t1 + u)))
if (t1 <= (-3d+98)) then
tmp = t_1
else if (t1 <= (-4.9d-144)) then
tmp = t_2
else if (t1 <= 6d-185) then
tmp = (-t1 / (u / v)) / (t1 + u)
else if (t1 <= 2.4d+144) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double t_1 = -v / (t1 + u);
double t_2 = -v * (t1 / ((t1 + u) * (t1 + u)));
double tmp;
if (t1 <= -3e+98) {
tmp = t_1;
} else if (t1 <= -4.9e-144) {
tmp = t_2;
} else if (t1 <= 6e-185) {
tmp = (-t1 / (u / v)) / (t1 + u);
} else if (t1 <= 2.4e+144) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(u, v, t1): t_1 = -v / (t1 + u) t_2 = -v * (t1 / ((t1 + u) * (t1 + u))) tmp = 0 if t1 <= -3e+98: tmp = t_1 elif t1 <= -4.9e-144: tmp = t_2 elif t1 <= 6e-185: tmp = (-t1 / (u / v)) / (t1 + u) elif t1 <= 2.4e+144: tmp = t_2 else: tmp = t_1 return tmp
function code(u, v, t1) t_1 = Float64(Float64(-v) / Float64(t1 + u)) t_2 = Float64(Float64(-v) * Float64(t1 / Float64(Float64(t1 + u) * Float64(t1 + u)))) tmp = 0.0 if (t1 <= -3e+98) tmp = t_1; elseif (t1 <= -4.9e-144) tmp = t_2; elseif (t1 <= 6e-185) tmp = Float64(Float64(Float64(-t1) / Float64(u / v)) / Float64(t1 + u)); elseif (t1 <= 2.4e+144) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(u, v, t1) t_1 = -v / (t1 + u); t_2 = -v * (t1 / ((t1 + u) * (t1 + u))); tmp = 0.0; if (t1 <= -3e+98) tmp = t_1; elseif (t1 <= -4.9e-144) tmp = t_2; elseif (t1 <= 6e-185) tmp = (-t1 / (u / v)) / (t1 + u); elseif (t1 <= 2.4e+144) tmp = t_2; else tmp = t_1; end tmp_2 = tmp; end
code[u_, v_, t1_] := Block[{t$95$1 = N[((-v) / N[(t1 + u), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[((-v) * N[(t1 / N[(N[(t1 + u), $MachinePrecision] * N[(t1 + u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t1, -3e+98], t$95$1, If[LessEqual[t1, -4.9e-144], t$95$2, If[LessEqual[t1, 6e-185], N[(N[((-t1) / N[(u / v), $MachinePrecision]), $MachinePrecision] / N[(t1 + u), $MachinePrecision]), $MachinePrecision], If[LessEqual[t1, 2.4e+144], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{-v}{t1 + u}\\
t_2 := \left(-v\right) \cdot \frac{t1}{\left(t1 + u\right) \cdot \left(t1 + u\right)}\\
\mathbf{if}\;t1 \leq -3 \cdot 10^{+98}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t1 \leq -4.9 \cdot 10^{-144}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t1 \leq 6 \cdot 10^{-185}:\\
\;\;\;\;\frac{\frac{-t1}{\frac{u}{v}}}{t1 + u}\\
\mathbf{elif}\;t1 \leq 2.4 \cdot 10^{+144}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if t1 < -3.0000000000000001e98 or 2.4000000000000001e144 < t1 Initial program 45.6%
associate-/r*60.5%
associate-/l*98.0%
Simplified98.0%
Taylor expanded in t1 around inf 93.9%
neg-mul-193.9%
Simplified93.9%
if -3.0000000000000001e98 < t1 < -4.9000000000000001e-144 or 6.00000000000000061e-185 < t1 < 2.4000000000000001e144Initial program 86.9%
associate-*l/92.6%
*-commutative92.6%
Simplified92.6%
if -4.9000000000000001e-144 < t1 < 6.00000000000000061e-185Initial program 85.6%
associate-/r*93.4%
associate-/l*93.6%
Simplified93.6%
Taylor expanded in t1 around 0 91.8%
mul-1-neg91.8%
associate-/l*92.0%
distribute-neg-frac92.0%
Simplified92.0%
Final simplification92.9%
(FPCore (u v t1)
:precision binary64
(let* ((t_1 (* (+ t1 u) (+ t1 u))) (t_2 (/ (- v) (+ t1 u))))
(if (<= t1 -1.85e+96)
t_2
(if (<= t1 -4.2e-204)
(/ (* t1 (- v)) t_1)
(if (<= t1 1.1e-189)
(/ (- v) (/ u (/ t1 u)))
(if (<= t1 2.5e+142) (* (- v) (/ t1 t_1)) t_2))))))
double code(double u, double v, double t1) {
double t_1 = (t1 + u) * (t1 + u);
double t_2 = -v / (t1 + u);
double tmp;
if (t1 <= -1.85e+96) {
tmp = t_2;
} else if (t1 <= -4.2e-204) {
tmp = (t1 * -v) / t_1;
} else if (t1 <= 1.1e-189) {
tmp = -v / (u / (t1 / u));
} else if (t1 <= 2.5e+142) {
tmp = -v * (t1 / t_1);
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (t1 + u) * (t1 + u)
t_2 = -v / (t1 + u)
if (t1 <= (-1.85d+96)) then
tmp = t_2
else if (t1 <= (-4.2d-204)) then
tmp = (t1 * -v) / t_1
else if (t1 <= 1.1d-189) then
tmp = -v / (u / (t1 / u))
else if (t1 <= 2.5d+142) then
tmp = -v * (t1 / t_1)
else
tmp = t_2
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double t_1 = (t1 + u) * (t1 + u);
double t_2 = -v / (t1 + u);
double tmp;
if (t1 <= -1.85e+96) {
tmp = t_2;
} else if (t1 <= -4.2e-204) {
tmp = (t1 * -v) / t_1;
} else if (t1 <= 1.1e-189) {
tmp = -v / (u / (t1 / u));
} else if (t1 <= 2.5e+142) {
tmp = -v * (t1 / t_1);
} else {
tmp = t_2;
}
return tmp;
}
def code(u, v, t1): t_1 = (t1 + u) * (t1 + u) t_2 = -v / (t1 + u) tmp = 0 if t1 <= -1.85e+96: tmp = t_2 elif t1 <= -4.2e-204: tmp = (t1 * -v) / t_1 elif t1 <= 1.1e-189: tmp = -v / (u / (t1 / u)) elif t1 <= 2.5e+142: tmp = -v * (t1 / t_1) else: tmp = t_2 return tmp
function code(u, v, t1) t_1 = Float64(Float64(t1 + u) * Float64(t1 + u)) t_2 = Float64(Float64(-v) / Float64(t1 + u)) tmp = 0.0 if (t1 <= -1.85e+96) tmp = t_2; elseif (t1 <= -4.2e-204) tmp = Float64(Float64(t1 * Float64(-v)) / t_1); elseif (t1 <= 1.1e-189) tmp = Float64(Float64(-v) / Float64(u / Float64(t1 / u))); elseif (t1 <= 2.5e+142) tmp = Float64(Float64(-v) * Float64(t1 / t_1)); else tmp = t_2; end return tmp end
function tmp_2 = code(u, v, t1) t_1 = (t1 + u) * (t1 + u); t_2 = -v / (t1 + u); tmp = 0.0; if (t1 <= -1.85e+96) tmp = t_2; elseif (t1 <= -4.2e-204) tmp = (t1 * -v) / t_1; elseif (t1 <= 1.1e-189) tmp = -v / (u / (t1 / u)); elseif (t1 <= 2.5e+142) tmp = -v * (t1 / t_1); else tmp = t_2; end tmp_2 = tmp; end
code[u_, v_, t1_] := Block[{t$95$1 = N[(N[(t1 + u), $MachinePrecision] * N[(t1 + u), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[((-v) / N[(t1 + u), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t1, -1.85e+96], t$95$2, If[LessEqual[t1, -4.2e-204], N[(N[(t1 * (-v)), $MachinePrecision] / t$95$1), $MachinePrecision], If[LessEqual[t1, 1.1e-189], N[((-v) / N[(u / N[(t1 / u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t1, 2.5e+142], N[((-v) * N[(t1 / t$95$1), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(t1 + u\right) \cdot \left(t1 + u\right)\\
t_2 := \frac{-v}{t1 + u}\\
\mathbf{if}\;t1 \leq -1.85 \cdot 10^{+96}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t1 \leq -4.2 \cdot 10^{-204}:\\
\;\;\;\;\frac{t1 \cdot \left(-v\right)}{t_1}\\
\mathbf{elif}\;t1 \leq 1.1 \cdot 10^{-189}:\\
\;\;\;\;\frac{-v}{\frac{u}{\frac{t1}{u}}}\\
\mathbf{elif}\;t1 \leq 2.5 \cdot 10^{+142}:\\
\;\;\;\;\left(-v\right) \cdot \frac{t1}{t_1}\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if t1 < -1.84999999999999996e96 or 2.5000000000000001e142 < t1 Initial program 45.1%
associate-/r*59.8%
associate-/l*98.0%
Simplified98.0%
Taylor expanded in t1 around inf 94.0%
neg-mul-194.0%
Simplified94.0%
if -1.84999999999999996e96 < t1 < -4.20000000000000018e-204Initial program 94.6%
if -4.20000000000000018e-204 < t1 < 1.1000000000000001e-189Initial program 81.6%
associate-/l*81.1%
neg-mul-181.1%
associate-*r/85.1%
times-frac93.2%
div-inv93.2%
clear-num93.2%
Applied egg-rr93.2%
Taylor expanded in t1 around 0 81.6%
mul-1-neg81.6%
*-commutative81.6%
unpow281.6%
times-frac91.0%
associate-*l/88.8%
associate-/l*93.1%
Simplified93.1%
if 1.1000000000000001e-189 < t1 < 2.5000000000000001e142Initial program 82.8%
associate-*l/89.8%
*-commutative89.8%
Simplified89.8%
Final simplification92.9%
(FPCore (u v t1) :precision binary64 (if (or (<= u -5.8e-49) (not (<= u 2.8e-79))) (/ t1 (/ (- t1 u) (/ v (+ t1 u)))) (/ (- v) t1)))
double code(double u, double v, double t1) {
double tmp;
if ((u <= -5.8e-49) || !(u <= 2.8e-79)) {
tmp = t1 / ((t1 - u) / (v / (t1 + u)));
} else {
tmp = -v / t1;
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if ((u <= (-5.8d-49)) .or. (.not. (u <= 2.8d-79))) then
tmp = t1 / ((t1 - u) / (v / (t1 + u)))
else
tmp = -v / t1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if ((u <= -5.8e-49) || !(u <= 2.8e-79)) {
tmp = t1 / ((t1 - u) / (v / (t1 + u)));
} else {
tmp = -v / t1;
}
return tmp;
}
def code(u, v, t1): tmp = 0 if (u <= -5.8e-49) or not (u <= 2.8e-79): tmp = t1 / ((t1 - u) / (v / (t1 + u))) else: tmp = -v / t1 return tmp
function code(u, v, t1) tmp = 0.0 if ((u <= -5.8e-49) || !(u <= 2.8e-79)) tmp = Float64(t1 / Float64(Float64(t1 - u) / Float64(v / Float64(t1 + u)))); else tmp = Float64(Float64(-v) / t1); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if ((u <= -5.8e-49) || ~((u <= 2.8e-79))) tmp = t1 / ((t1 - u) / (v / (t1 + u))); else tmp = -v / t1; end tmp_2 = tmp; end
code[u_, v_, t1_] := If[Or[LessEqual[u, -5.8e-49], N[Not[LessEqual[u, 2.8e-79]], $MachinePrecision]], N[(t1 / N[(N[(t1 - u), $MachinePrecision] / N[(v / N[(t1 + u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[((-v) / t1), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -5.8 \cdot 10^{-49} \lor \neg \left(u \leq 2.8 \cdot 10^{-79}\right):\\
\;\;\;\;\frac{t1}{\frac{t1 - u}{\frac{v}{t1 + u}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{-v}{t1}\\
\end{array}
\end{array}
if u < -5.8e-49 or 2.80000000000000012e-79 < u Initial program 78.6%
associate-*l/79.0%
*-commutative79.0%
Simplified79.0%
associate-/r*91.7%
associate-*r/97.2%
*-commutative97.2%
associate-/r/98.8%
frac-2neg98.8%
distribute-frac-neg98.8%
remove-double-neg98.8%
div-inv98.8%
clear-num98.9%
distribute-neg-in98.9%
add-sqr-sqrt52.5%
sqrt-unprod87.1%
sqr-neg87.1%
sqrt-unprod40.8%
add-sqr-sqrt84.1%
sub-neg84.1%
Applied egg-rr84.1%
associate-/l*82.8%
Simplified82.8%
if -5.8e-49 < u < 2.80000000000000012e-79Initial program 65.9%
associate-*l/72.8%
*-commutative72.8%
Simplified72.8%
Taylor expanded in t1 around inf 85.4%
associate-*r/85.4%
neg-mul-185.4%
Simplified85.4%
Final simplification83.8%
(FPCore (u v t1) :precision binary64 (if (<= u -4.8e-49) (/ t1 (/ (- t1 u) (/ v (+ t1 u)))) (if (<= u 1.9e-79) (/ (- v) t1) (/ (/ t1 (+ t1 u)) (/ (- t1 u) v)))))
double code(double u, double v, double t1) {
double tmp;
if (u <= -4.8e-49) {
tmp = t1 / ((t1 - u) / (v / (t1 + u)));
} else if (u <= 1.9e-79) {
tmp = -v / t1;
} else {
tmp = (t1 / (t1 + u)) / ((t1 - u) / v);
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if (u <= (-4.8d-49)) then
tmp = t1 / ((t1 - u) / (v / (t1 + u)))
else if (u <= 1.9d-79) then
tmp = -v / t1
else
tmp = (t1 / (t1 + u)) / ((t1 - u) / v)
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (u <= -4.8e-49) {
tmp = t1 / ((t1 - u) / (v / (t1 + u)));
} else if (u <= 1.9e-79) {
tmp = -v / t1;
} else {
tmp = (t1 / (t1 + u)) / ((t1 - u) / v);
}
return tmp;
}
def code(u, v, t1): tmp = 0 if u <= -4.8e-49: tmp = t1 / ((t1 - u) / (v / (t1 + u))) elif u <= 1.9e-79: tmp = -v / t1 else: tmp = (t1 / (t1 + u)) / ((t1 - u) / v) return tmp
function code(u, v, t1) tmp = 0.0 if (u <= -4.8e-49) tmp = Float64(t1 / Float64(Float64(t1 - u) / Float64(v / Float64(t1 + u)))); elseif (u <= 1.9e-79) tmp = Float64(Float64(-v) / t1); else tmp = Float64(Float64(t1 / Float64(t1 + u)) / Float64(Float64(t1 - u) / v)); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (u <= -4.8e-49) tmp = t1 / ((t1 - u) / (v / (t1 + u))); elseif (u <= 1.9e-79) tmp = -v / t1; else tmp = (t1 / (t1 + u)) / ((t1 - u) / v); end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[u, -4.8e-49], N[(t1 / N[(N[(t1 - u), $MachinePrecision] / N[(v / N[(t1 + u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[u, 1.9e-79], N[((-v) / t1), $MachinePrecision], N[(N[(t1 / N[(t1 + u), $MachinePrecision]), $MachinePrecision] / N[(N[(t1 - u), $MachinePrecision] / v), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -4.8 \cdot 10^{-49}:\\
\;\;\;\;\frac{t1}{\frac{t1 - u}{\frac{v}{t1 + u}}}\\
\mathbf{elif}\;u \leq 1.9 \cdot 10^{-79}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{t1}{t1 + u}}{\frac{t1 - u}{v}}\\
\end{array}
\end{array}
if u < -4.79999999999999985e-49Initial program 78.4%
associate-*l/78.4%
*-commutative78.4%
Simplified78.4%
associate-/r*92.1%
associate-*r/96.4%
*-commutative96.4%
associate-/r/98.6%
frac-2neg98.6%
distribute-frac-neg98.6%
remove-double-neg98.6%
div-inv98.6%
clear-num98.7%
distribute-neg-in98.7%
add-sqr-sqrt48.0%
sqrt-unprod87.5%
sqr-neg87.5%
sqrt-unprod41.9%
add-sqr-sqrt83.6%
sub-neg83.6%
Applied egg-rr83.6%
associate-/l*84.0%
Simplified84.0%
if -4.79999999999999985e-49 < u < 1.9000000000000001e-79Initial program 65.9%
associate-*l/72.8%
*-commutative72.8%
Simplified72.8%
Taylor expanded in t1 around inf 85.4%
associate-*r/85.4%
neg-mul-185.4%
Simplified85.4%
if 1.9000000000000001e-79 < u Initial program 78.8%
associate-*l/79.5%
*-commutative79.5%
Simplified79.5%
associate-/r*91.3%
associate-*r/97.9%
*-commutative97.9%
associate-/r/99.0%
div-inv99.0%
clear-num98.7%
associate-/r/98.9%
clear-num98.9%
*-commutative98.9%
clear-num98.9%
div-inv99.0%
frac-2neg99.0%
remove-double-neg99.0%
associate-*l/98.6%
Applied egg-rr84.2%
Final simplification84.6%
(FPCore (u v t1) :precision binary64 (if (<= u -3.8e-45) (/ (- t1) (/ u (/ v u))) (if (<= u 3.1e+19) (/ (- v) t1) (/ (/ (- t1) (/ u v)) (+ t1 u)))))
double code(double u, double v, double t1) {
double tmp;
if (u <= -3.8e-45) {
tmp = -t1 / (u / (v / u));
} else if (u <= 3.1e+19) {
tmp = -v / t1;
} else {
tmp = (-t1 / (u / v)) / (t1 + u);
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if (u <= (-3.8d-45)) then
tmp = -t1 / (u / (v / u))
else if (u <= 3.1d+19) then
tmp = -v / t1
else
tmp = (-t1 / (u / v)) / (t1 + u)
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (u <= -3.8e-45) {
tmp = -t1 / (u / (v / u));
} else if (u <= 3.1e+19) {
tmp = -v / t1;
} else {
tmp = (-t1 / (u / v)) / (t1 + u);
}
return tmp;
}
def code(u, v, t1): tmp = 0 if u <= -3.8e-45: tmp = -t1 / (u / (v / u)) elif u <= 3.1e+19: tmp = -v / t1 else: tmp = (-t1 / (u / v)) / (t1 + u) return tmp
function code(u, v, t1) tmp = 0.0 if (u <= -3.8e-45) tmp = Float64(Float64(-t1) / Float64(u / Float64(v / u))); elseif (u <= 3.1e+19) tmp = Float64(Float64(-v) / t1); else tmp = Float64(Float64(Float64(-t1) / Float64(u / v)) / Float64(t1 + u)); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (u <= -3.8e-45) tmp = -t1 / (u / (v / u)); elseif (u <= 3.1e+19) tmp = -v / t1; else tmp = (-t1 / (u / v)) / (t1 + u); end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[u, -3.8e-45], N[((-t1) / N[(u / N[(v / u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[u, 3.1e+19], N[((-v) / t1), $MachinePrecision], N[(N[((-t1) / N[(u / v), $MachinePrecision]), $MachinePrecision] / N[(t1 + u), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -3.8 \cdot 10^{-45}:\\
\;\;\;\;\frac{-t1}{\frac{u}{\frac{v}{u}}}\\
\mathbf{elif}\;u \leq 3.1 \cdot 10^{+19}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{-t1}{\frac{u}{v}}}{t1 + u}\\
\end{array}
\end{array}
if u < -3.79999999999999997e-45Initial program 78.9%
associate-*l/77.7%
*-commutative77.7%
Simplified77.7%
Taylor expanded in t1 around 0 69.1%
mul-1-neg69.1%
associate-/l*73.1%
distribute-neg-frac73.1%
unpow273.1%
Simplified73.1%
Taylor expanded in u around 0 73.1%
unpow273.1%
associate-/l*80.8%
Simplified80.8%
if -3.79999999999999997e-45 < u < 3.1e19Initial program 67.0%
associate-*l/75.8%
*-commutative75.8%
Simplified75.8%
Taylor expanded in t1 around inf 79.5%
associate-*r/79.5%
neg-mul-179.5%
Simplified79.5%
if 3.1e19 < u Initial program 80.3%
associate-/r*87.3%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in t1 around 0 83.9%
mul-1-neg83.9%
associate-/l*89.0%
distribute-neg-frac89.0%
Simplified89.0%
Final simplification82.2%
(FPCore (u v t1) :precision binary64 (if (or (<= t1 -6e-83) (not (<= t1 175.0))) (/ (- v) (+ t1 u)) (/ (- v) (/ u (/ t1 u)))))
double code(double u, double v, double t1) {
double tmp;
if ((t1 <= -6e-83) || !(t1 <= 175.0)) {
tmp = -v / (t1 + u);
} else {
tmp = -v / (u / (t1 / u));
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if ((t1 <= (-6d-83)) .or. (.not. (t1 <= 175.0d0))) then
tmp = -v / (t1 + u)
else
tmp = -v / (u / (t1 / u))
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if ((t1 <= -6e-83) || !(t1 <= 175.0)) {
tmp = -v / (t1 + u);
} else {
tmp = -v / (u / (t1 / u));
}
return tmp;
}
def code(u, v, t1): tmp = 0 if (t1 <= -6e-83) or not (t1 <= 175.0): tmp = -v / (t1 + u) else: tmp = -v / (u / (t1 / u)) return tmp
function code(u, v, t1) tmp = 0.0 if ((t1 <= -6e-83) || !(t1 <= 175.0)) tmp = Float64(Float64(-v) / Float64(t1 + u)); else tmp = Float64(Float64(-v) / Float64(u / Float64(t1 / u))); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if ((t1 <= -6e-83) || ~((t1 <= 175.0))) tmp = -v / (t1 + u); else tmp = -v / (u / (t1 / u)); end tmp_2 = tmp; end
code[u_, v_, t1_] := If[Or[LessEqual[t1, -6e-83], N[Not[LessEqual[t1, 175.0]], $MachinePrecision]], N[((-v) / N[(t1 + u), $MachinePrecision]), $MachinePrecision], N[((-v) / N[(u / N[(t1 / u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t1 \leq -6 \cdot 10^{-83} \lor \neg \left(t1 \leq 175\right):\\
\;\;\;\;\frac{-v}{t1 + u}\\
\mathbf{else}:\\
\;\;\;\;\frac{-v}{\frac{u}{\frac{t1}{u}}}\\
\end{array}
\end{array}
if t1 < -6.00000000000000021e-83 or 175 < t1 Initial program 61.7%
associate-/r*74.1%
associate-/l*97.5%
Simplified97.5%
Taylor expanded in t1 around inf 82.8%
neg-mul-182.8%
Simplified82.8%
if -6.00000000000000021e-83 < t1 < 175Initial program 88.3%
associate-/l*85.0%
neg-mul-185.0%
associate-*r/88.7%
times-frac95.2%
div-inv95.1%
clear-num95.2%
Applied egg-rr95.2%
Taylor expanded in t1 around 0 76.6%
mul-1-neg76.6%
*-commutative76.6%
unpow276.6%
times-frac81.9%
associate-*l/81.9%
associate-/l*80.0%
Simplified80.0%
Final simplification81.6%
(FPCore (u v t1) :precision binary64 (if (or (<= t1 -6e-83) (not (<= t1 400.0))) (/ (- v) (+ t1 u)) (* (/ v u) (/ t1 (- u)))))
double code(double u, double v, double t1) {
double tmp;
if ((t1 <= -6e-83) || !(t1 <= 400.0)) {
tmp = -v / (t1 + u);
} else {
tmp = (v / u) * (t1 / -u);
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if ((t1 <= (-6d-83)) .or. (.not. (t1 <= 400.0d0))) then
tmp = -v / (t1 + u)
else
tmp = (v / u) * (t1 / -u)
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if ((t1 <= -6e-83) || !(t1 <= 400.0)) {
tmp = -v / (t1 + u);
} else {
tmp = (v / u) * (t1 / -u);
}
return tmp;
}
def code(u, v, t1): tmp = 0 if (t1 <= -6e-83) or not (t1 <= 400.0): tmp = -v / (t1 + u) else: tmp = (v / u) * (t1 / -u) return tmp
function code(u, v, t1) tmp = 0.0 if ((t1 <= -6e-83) || !(t1 <= 400.0)) tmp = Float64(Float64(-v) / Float64(t1 + u)); else tmp = Float64(Float64(v / u) * Float64(t1 / Float64(-u))); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if ((t1 <= -6e-83) || ~((t1 <= 400.0))) tmp = -v / (t1 + u); else tmp = (v / u) * (t1 / -u); end tmp_2 = tmp; end
code[u_, v_, t1_] := If[Or[LessEqual[t1, -6e-83], N[Not[LessEqual[t1, 400.0]], $MachinePrecision]], N[((-v) / N[(t1 + u), $MachinePrecision]), $MachinePrecision], N[(N[(v / u), $MachinePrecision] * N[(t1 / (-u)), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t1 \leq -6 \cdot 10^{-83} \lor \neg \left(t1 \leq 400\right):\\
\;\;\;\;\frac{-v}{t1 + u}\\
\mathbf{else}:\\
\;\;\;\;\frac{v}{u} \cdot \frac{t1}{-u}\\
\end{array}
\end{array}
if t1 < -6.00000000000000021e-83 or 400 < t1 Initial program 61.7%
associate-/r*74.1%
associate-/l*97.5%
Simplified97.5%
Taylor expanded in t1 around inf 82.8%
neg-mul-182.8%
Simplified82.8%
if -6.00000000000000021e-83 < t1 < 400Initial program 88.3%
associate-*l/88.2%
*-commutative88.2%
Simplified88.2%
Taylor expanded in t1 around 0 76.6%
mul-1-neg76.6%
associate-/l*74.9%
distribute-neg-frac74.9%
unpow274.9%
Simplified74.9%
frac-2neg74.9%
associate-/r/75.6%
add-sqr-sqrt40.4%
sqrt-unprod52.0%
sqr-neg52.0%
sqrt-unprod18.0%
add-sqr-sqrt44.2%
frac-2neg44.2%
add-sqr-sqrt18.0%
sqrt-unprod52.0%
sqr-neg52.0%
sqrt-unprod40.4%
add-sqr-sqrt75.6%
Applied egg-rr75.6%
Taylor expanded in t1 around 0 76.6%
mul-1-neg76.6%
unpow276.6%
associate-*l/75.6%
distribute-lft-neg-in75.6%
associate-/r*80.0%
*-rgt-identity80.0%
associate-*r/80.0%
*-lft-identity80.0%
associate-*l*80.0%
metadata-eval80.0%
associate-*r/80.0%
*-rgt-identity80.0%
associate-/r*75.6%
times-frac75.6%
neg-mul-175.6%
neg-mul-175.6%
distribute-neg-frac75.6%
remove-double-neg75.6%
associate-/r/74.9%
associate-/l*76.6%
*-commutative76.6%
distribute-rgt-neg-in76.6%
times-frac81.9%
Simplified81.9%
Final simplification82.4%
(FPCore (u v t1) :precision binary64 (if (or (<= u -1.85e-45) (not (<= u 1.02e+14))) (/ (- t1) (/ u (/ v u))) (/ (- v) t1)))
double code(double u, double v, double t1) {
double tmp;
if ((u <= -1.85e-45) || !(u <= 1.02e+14)) {
tmp = -t1 / (u / (v / u));
} else {
tmp = -v / t1;
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if ((u <= (-1.85d-45)) .or. (.not. (u <= 1.02d+14))) then
tmp = -t1 / (u / (v / u))
else
tmp = -v / t1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if ((u <= -1.85e-45) || !(u <= 1.02e+14)) {
tmp = -t1 / (u / (v / u));
} else {
tmp = -v / t1;
}
return tmp;
}
def code(u, v, t1): tmp = 0 if (u <= -1.85e-45) or not (u <= 1.02e+14): tmp = -t1 / (u / (v / u)) else: tmp = -v / t1 return tmp
function code(u, v, t1) tmp = 0.0 if ((u <= -1.85e-45) || !(u <= 1.02e+14)) tmp = Float64(Float64(-t1) / Float64(u / Float64(v / u))); else tmp = Float64(Float64(-v) / t1); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if ((u <= -1.85e-45) || ~((u <= 1.02e+14))) tmp = -t1 / (u / (v / u)); else tmp = -v / t1; end tmp_2 = tmp; end
code[u_, v_, t1_] := If[Or[LessEqual[u, -1.85e-45], N[Not[LessEqual[u, 1.02e+14]], $MachinePrecision]], N[((-t1) / N[(u / N[(v / u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[((-v) / t1), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -1.85 \cdot 10^{-45} \lor \neg \left(u \leq 1.02 \cdot 10^{+14}\right):\\
\;\;\;\;\frac{-t1}{\frac{u}{\frac{v}{u}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{-v}{t1}\\
\end{array}
\end{array}
if u < -1.85e-45 or 1.02e14 < u Initial program 79.1%
associate-*l/77.5%
*-commutative77.5%
Simplified77.5%
Taylor expanded in t1 around 0 73.4%
mul-1-neg73.4%
associate-/l*75.8%
distribute-neg-frac75.8%
unpow275.8%
Simplified75.8%
Taylor expanded in u around 0 75.8%
unpow275.8%
associate-/l*84.1%
Simplified84.1%
if -1.85e-45 < u < 1.02e14Initial program 67.3%
associate-*l/75.4%
*-commutative75.4%
Simplified75.4%
Taylor expanded in t1 around inf 80.0%
associate-*r/80.0%
neg-mul-180.0%
Simplified80.0%
Final simplification82.1%
(FPCore (u v t1) :precision binary64 (/ (/ (- t1) (/ (+ t1 u) v)) (+ t1 u)))
double code(double u, double v, double t1) {
return (-t1 / ((t1 + u) / v)) / (t1 + u);
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
code = (-t1 / ((t1 + u) / v)) / (t1 + u)
end function
public static double code(double u, double v, double t1) {
return (-t1 / ((t1 + u) / v)) / (t1 + u);
}
def code(u, v, t1): return (-t1 / ((t1 + u) / v)) / (t1 + u)
function code(u, v, t1) return Float64(Float64(Float64(-t1) / Float64(Float64(t1 + u) / v)) / Float64(t1 + u)) end
function tmp = code(u, v, t1) tmp = (-t1 / ((t1 + u) / v)) / (t1 + u); end
code[u_, v_, t1_] := N[(N[((-t1) / N[(N[(t1 + u), $MachinePrecision] / v), $MachinePrecision]), $MachinePrecision] / N[(t1 + u), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\frac{-t1}{\frac{t1 + u}{v}}}{t1 + u}
\end{array}
Initial program 73.5%
associate-/r*83.0%
associate-/l*96.5%
Simplified96.5%
Final simplification96.5%
(FPCore (u v t1) :precision binary64 (if (or (<= u -3.6e+29) (not (<= u 7.2e+94))) (* (/ t1 u) (/ v u)) (/ (- v) t1)))
double code(double u, double v, double t1) {
double tmp;
if ((u <= -3.6e+29) || !(u <= 7.2e+94)) {
tmp = (t1 / u) * (v / u);
} else {
tmp = -v / t1;
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if ((u <= (-3.6d+29)) .or. (.not. (u <= 7.2d+94))) then
tmp = (t1 / u) * (v / u)
else
tmp = -v / t1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if ((u <= -3.6e+29) || !(u <= 7.2e+94)) {
tmp = (t1 / u) * (v / u);
} else {
tmp = -v / t1;
}
return tmp;
}
def code(u, v, t1): tmp = 0 if (u <= -3.6e+29) or not (u <= 7.2e+94): tmp = (t1 / u) * (v / u) else: tmp = -v / t1 return tmp
function code(u, v, t1) tmp = 0.0 if ((u <= -3.6e+29) || !(u <= 7.2e+94)) tmp = Float64(Float64(t1 / u) * Float64(v / u)); else tmp = Float64(Float64(-v) / t1); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if ((u <= -3.6e+29) || ~((u <= 7.2e+94))) tmp = (t1 / u) * (v / u); else tmp = -v / t1; end tmp_2 = tmp; end
code[u_, v_, t1_] := If[Or[LessEqual[u, -3.6e+29], N[Not[LessEqual[u, 7.2e+94]], $MachinePrecision]], N[(N[(t1 / u), $MachinePrecision] * N[(v / u), $MachinePrecision]), $MachinePrecision], N[((-v) / t1), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -3.6 \cdot 10^{+29} \lor \neg \left(u \leq 7.2 \cdot 10^{+94}\right):\\
\;\;\;\;\frac{t1}{u} \cdot \frac{v}{u}\\
\mathbf{else}:\\
\;\;\;\;\frac{-v}{t1}\\
\end{array}
\end{array}
if u < -3.59999999999999976e29 or 7.19999999999999985e94 < u Initial program 79.2%
associate-*l/75.5%
*-commutative75.5%
Simplified75.5%
Taylor expanded in t1 around 0 76.0%
mul-1-neg76.0%
associate-/l*77.2%
distribute-neg-frac77.2%
unpow277.2%
Simplified77.2%
add-sqr-sqrt39.3%
sqrt-unprod60.0%
sqr-neg60.0%
sqrt-unprod36.1%
add-sqr-sqrt68.6%
associate-/l*68.4%
associate-/r/65.8%
Applied egg-rr65.8%
if -3.59999999999999976e29 < u < 7.19999999999999985e94Initial program 69.1%
associate-*l/77.3%
*-commutative77.3%
Simplified77.3%
Taylor expanded in t1 around inf 72.6%
associate-*r/72.6%
neg-mul-172.6%
Simplified72.6%
Final simplification69.6%
(FPCore (u v t1) :precision binary64 (if (<= u -3.6e+29) (* (/ t1 u) (/ v u)) (if (<= u 1.1e+94) (/ (- v) t1) (* v (/ t1 (* u u))))))
double code(double u, double v, double t1) {
double tmp;
if (u <= -3.6e+29) {
tmp = (t1 / u) * (v / u);
} else if (u <= 1.1e+94) {
tmp = -v / t1;
} else {
tmp = v * (t1 / (u * u));
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if (u <= (-3.6d+29)) then
tmp = (t1 / u) * (v / u)
else if (u <= 1.1d+94) then
tmp = -v / t1
else
tmp = v * (t1 / (u * u))
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (u <= -3.6e+29) {
tmp = (t1 / u) * (v / u);
} else if (u <= 1.1e+94) {
tmp = -v / t1;
} else {
tmp = v * (t1 / (u * u));
}
return tmp;
}
def code(u, v, t1): tmp = 0 if u <= -3.6e+29: tmp = (t1 / u) * (v / u) elif u <= 1.1e+94: tmp = -v / t1 else: tmp = v * (t1 / (u * u)) return tmp
function code(u, v, t1) tmp = 0.0 if (u <= -3.6e+29) tmp = Float64(Float64(t1 / u) * Float64(v / u)); elseif (u <= 1.1e+94) tmp = Float64(Float64(-v) / t1); else tmp = Float64(v * Float64(t1 / Float64(u * u))); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (u <= -3.6e+29) tmp = (t1 / u) * (v / u); elseif (u <= 1.1e+94) tmp = -v / t1; else tmp = v * (t1 / (u * u)); end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[u, -3.6e+29], N[(N[(t1 / u), $MachinePrecision] * N[(v / u), $MachinePrecision]), $MachinePrecision], If[LessEqual[u, 1.1e+94], N[((-v) / t1), $MachinePrecision], N[(v * N[(t1 / N[(u * u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -3.6 \cdot 10^{+29}:\\
\;\;\;\;\frac{t1}{u} \cdot \frac{v}{u}\\
\mathbf{elif}\;u \leq 1.1 \cdot 10^{+94}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;v \cdot \frac{t1}{u \cdot u}\\
\end{array}
\end{array}
if u < -3.59999999999999976e29Initial program 78.2%
associate-*l/75.3%
*-commutative75.3%
Simplified75.3%
Taylor expanded in t1 around 0 72.1%
mul-1-neg72.1%
associate-/l*75.3%
distribute-neg-frac75.3%
unpow275.3%
Simplified75.3%
add-sqr-sqrt39.7%
sqrt-unprod60.3%
sqr-neg60.3%
sqrt-unprod32.3%
add-sqr-sqrt67.2%
associate-/l*67.0%
associate-/r/65.4%
Applied egg-rr65.4%
if -3.59999999999999976e29 < u < 1.10000000000000006e94Initial program 69.1%
associate-*l/77.3%
*-commutative77.3%
Simplified77.3%
Taylor expanded in t1 around inf 72.6%
associate-*r/72.6%
neg-mul-172.6%
Simplified72.6%
if 1.10000000000000006e94 < u Initial program 80.4%
associate-*l/75.7%
*-commutative75.7%
Simplified75.7%
Taylor expanded in t1 around 0 80.6%
mul-1-neg80.6%
associate-/l*79.3%
distribute-neg-frac79.3%
unpow279.3%
Simplified79.3%
associate-/r/75.7%
add-sqr-sqrt33.7%
sqrt-unprod57.2%
sqr-neg57.2%
sqrt-unprod40.4%
add-sqr-sqrt70.2%
Applied egg-rr70.2%
Final simplification70.4%
(FPCore (u v t1) :precision binary64 (if (<= u -3.6e+29) (* t1 (/ v (* u u))) (if (<= u 1.8e+92) (/ (- v) t1) (* v (/ t1 (* u u))))))
double code(double u, double v, double t1) {
double tmp;
if (u <= -3.6e+29) {
tmp = t1 * (v / (u * u));
} else if (u <= 1.8e+92) {
tmp = -v / t1;
} else {
tmp = v * (t1 / (u * u));
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if (u <= (-3.6d+29)) then
tmp = t1 * (v / (u * u))
else if (u <= 1.8d+92) then
tmp = -v / t1
else
tmp = v * (t1 / (u * u))
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (u <= -3.6e+29) {
tmp = t1 * (v / (u * u));
} else if (u <= 1.8e+92) {
tmp = -v / t1;
} else {
tmp = v * (t1 / (u * u));
}
return tmp;
}
def code(u, v, t1): tmp = 0 if u <= -3.6e+29: tmp = t1 * (v / (u * u)) elif u <= 1.8e+92: tmp = -v / t1 else: tmp = v * (t1 / (u * u)) return tmp
function code(u, v, t1) tmp = 0.0 if (u <= -3.6e+29) tmp = Float64(t1 * Float64(v / Float64(u * u))); elseif (u <= 1.8e+92) tmp = Float64(Float64(-v) / t1); else tmp = Float64(v * Float64(t1 / Float64(u * u))); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (u <= -3.6e+29) tmp = t1 * (v / (u * u)); elseif (u <= 1.8e+92) tmp = -v / t1; else tmp = v * (t1 / (u * u)); end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[u, -3.6e+29], N[(t1 * N[(v / N[(u * u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[u, 1.8e+92], N[((-v) / t1), $MachinePrecision], N[(v * N[(t1 / N[(u * u), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -3.6 \cdot 10^{+29}:\\
\;\;\;\;t1 \cdot \frac{v}{u \cdot u}\\
\mathbf{elif}\;u \leq 1.8 \cdot 10^{+92}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;v \cdot \frac{t1}{u \cdot u}\\
\end{array}
\end{array}
if u < -3.59999999999999976e29Initial program 78.2%
associate-*l/75.3%
*-commutative75.3%
Simplified75.3%
Taylor expanded in t1 around 0 72.1%
mul-1-neg72.1%
associate-/l*75.3%
distribute-neg-frac75.3%
unpow275.3%
Simplified75.3%
clear-num75.3%
associate-/r/75.3%
clear-num75.3%
add-sqr-sqrt39.7%
sqrt-unprod60.3%
sqr-neg60.3%
sqrt-unprod32.3%
add-sqr-sqrt67.2%
Applied egg-rr67.2%
if -3.59999999999999976e29 < u < 1.8e92Initial program 69.1%
associate-*l/77.3%
*-commutative77.3%
Simplified77.3%
Taylor expanded in t1 around inf 72.6%
associate-*r/72.6%
neg-mul-172.6%
Simplified72.6%
if 1.8e92 < u Initial program 80.4%
associate-*l/75.7%
*-commutative75.7%
Simplified75.7%
Taylor expanded in t1 around 0 80.6%
mul-1-neg80.6%
associate-/l*79.3%
distribute-neg-frac79.3%
unpow279.3%
Simplified79.3%
associate-/r/75.7%
add-sqr-sqrt33.7%
sqrt-unprod57.2%
sqr-neg57.2%
sqrt-unprod40.4%
add-sqr-sqrt70.2%
Applied egg-rr70.2%
Final simplification70.8%
(FPCore (u v t1) :precision binary64 (if (<= u -4e+189) (/ (- v) u) (if (<= u 1.8e+87) (/ (- v) t1) (/ 1.0 (/ u v)))))
double code(double u, double v, double t1) {
double tmp;
if (u <= -4e+189) {
tmp = -v / u;
} else if (u <= 1.8e+87) {
tmp = -v / t1;
} else {
tmp = 1.0 / (u / v);
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if (u <= (-4d+189)) then
tmp = -v / u
else if (u <= 1.8d+87) then
tmp = -v / t1
else
tmp = 1.0d0 / (u / v)
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (u <= -4e+189) {
tmp = -v / u;
} else if (u <= 1.8e+87) {
tmp = -v / t1;
} else {
tmp = 1.0 / (u / v);
}
return tmp;
}
def code(u, v, t1): tmp = 0 if u <= -4e+189: tmp = -v / u elif u <= 1.8e+87: tmp = -v / t1 else: tmp = 1.0 / (u / v) return tmp
function code(u, v, t1) tmp = 0.0 if (u <= -4e+189) tmp = Float64(Float64(-v) / u); elseif (u <= 1.8e+87) tmp = Float64(Float64(-v) / t1); else tmp = Float64(1.0 / Float64(u / v)); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (u <= -4e+189) tmp = -v / u; elseif (u <= 1.8e+87) tmp = -v / t1; else tmp = 1.0 / (u / v); end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[u, -4e+189], N[((-v) / u), $MachinePrecision], If[LessEqual[u, 1.8e+87], N[((-v) / t1), $MachinePrecision], N[(1.0 / N[(u / v), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -4 \cdot 10^{+189}:\\
\;\;\;\;\frac{-v}{u}\\
\mathbf{elif}\;u \leq 1.8 \cdot 10^{+87}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{\frac{u}{v}}\\
\end{array}
\end{array}
if u < -4.0000000000000001e189Initial program 85.2%
associate-/r*96.6%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in t1 around 0 96.6%
mul-1-neg96.6%
associate-/l*99.9%
distribute-neg-frac99.9%
Simplified99.9%
Taylor expanded in t1 around inf 44.2%
neg-mul-144.2%
distribute-neg-frac44.2%
Simplified44.2%
if -4.0000000000000001e189 < u < 1.79999999999999997e87Initial program 69.4%
associate-*l/75.1%
*-commutative75.1%
Simplified75.1%
Taylor expanded in t1 around inf 66.2%
associate-*r/66.2%
neg-mul-166.2%
Simplified66.2%
if 1.79999999999999997e87 < u Initial program 80.8%
associate-/l*79.7%
neg-mul-179.7%
associate-*r/92.3%
times-frac99.9%
div-inv99.8%
clear-num99.8%
Applied egg-rr99.8%
Taylor expanded in t1 around inf 47.9%
associate-*l/47.9%
neg-mul-147.9%
clear-num48.1%
add-sqr-sqrt23.8%
sqrt-unprod43.9%
sqr-neg43.9%
sqrt-unprod20.7%
add-sqr-sqrt42.7%
Applied egg-rr42.7%
Taylor expanded in t1 around 0 39.4%
Final simplification58.2%
(FPCore (u v t1) :precision binary64 (if (<= u -3.1e+189) (/ (- v) u) (if (<= u 2e+89) (/ (- v) t1) (/ v (+ t1 u)))))
double code(double u, double v, double t1) {
double tmp;
if (u <= -3.1e+189) {
tmp = -v / u;
} else if (u <= 2e+89) {
tmp = -v / t1;
} else {
tmp = v / (t1 + u);
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if (u <= (-3.1d+189)) then
tmp = -v / u
else if (u <= 2d+89) then
tmp = -v / t1
else
tmp = v / (t1 + u)
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (u <= -3.1e+189) {
tmp = -v / u;
} else if (u <= 2e+89) {
tmp = -v / t1;
} else {
tmp = v / (t1 + u);
}
return tmp;
}
def code(u, v, t1): tmp = 0 if u <= -3.1e+189: tmp = -v / u elif u <= 2e+89: tmp = -v / t1 else: tmp = v / (t1 + u) return tmp
function code(u, v, t1) tmp = 0.0 if (u <= -3.1e+189) tmp = Float64(Float64(-v) / u); elseif (u <= 2e+89) tmp = Float64(Float64(-v) / t1); else tmp = Float64(v / Float64(t1 + u)); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (u <= -3.1e+189) tmp = -v / u; elseif (u <= 2e+89) tmp = -v / t1; else tmp = v / (t1 + u); end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[u, -3.1e+189], N[((-v) / u), $MachinePrecision], If[LessEqual[u, 2e+89], N[((-v) / t1), $MachinePrecision], N[(v / N[(t1 + u), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -3.1 \cdot 10^{+189}:\\
\;\;\;\;\frac{-v}{u}\\
\mathbf{elif}\;u \leq 2 \cdot 10^{+89}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;\frac{v}{t1 + u}\\
\end{array}
\end{array}
if u < -3.0999999999999999e189Initial program 85.2%
associate-/r*96.6%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in t1 around 0 96.6%
mul-1-neg96.6%
associate-/l*99.9%
distribute-neg-frac99.9%
Simplified99.9%
Taylor expanded in t1 around inf 44.2%
neg-mul-144.2%
distribute-neg-frac44.2%
Simplified44.2%
if -3.0999999999999999e189 < u < 1.99999999999999999e89Initial program 69.4%
associate-*l/75.1%
*-commutative75.1%
Simplified75.1%
Taylor expanded in t1 around inf 66.2%
associate-*r/66.2%
neg-mul-166.2%
Simplified66.2%
if 1.99999999999999999e89 < u Initial program 80.8%
associate-/l*79.7%
neg-mul-179.7%
associate-*r/92.3%
times-frac99.9%
div-inv99.8%
clear-num99.8%
Applied egg-rr99.8%
Taylor expanded in t1 around inf 47.9%
expm1-log1p-u47.4%
expm1-udef70.1%
associate-*l/70.1%
neg-mul-170.1%
add-sqr-sqrt33.8%
sqrt-unprod66.6%
sqr-neg66.6%
sqrt-unprod34.9%
add-sqr-sqrt68.6%
Applied egg-rr68.6%
expm1-def42.4%
expm1-log1p42.5%
+-commutative42.5%
Simplified42.5%
Final simplification58.8%
(FPCore (u v t1) :precision binary64 (if (<= u -3.9e+189) (/ v u) (if (<= u 1.16e+95) (/ (- v) t1) (/ v u))))
double code(double u, double v, double t1) {
double tmp;
if (u <= -3.9e+189) {
tmp = v / u;
} else if (u <= 1.16e+95) {
tmp = -v / t1;
} else {
tmp = v / u;
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if (u <= (-3.9d+189)) then
tmp = v / u
else if (u <= 1.16d+95) then
tmp = -v / t1
else
tmp = v / u
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (u <= -3.9e+189) {
tmp = v / u;
} else if (u <= 1.16e+95) {
tmp = -v / t1;
} else {
tmp = v / u;
}
return tmp;
}
def code(u, v, t1): tmp = 0 if u <= -3.9e+189: tmp = v / u elif u <= 1.16e+95: tmp = -v / t1 else: tmp = v / u return tmp
function code(u, v, t1) tmp = 0.0 if (u <= -3.9e+189) tmp = Float64(v / u); elseif (u <= 1.16e+95) tmp = Float64(Float64(-v) / t1); else tmp = Float64(v / u); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (u <= -3.9e+189) tmp = v / u; elseif (u <= 1.16e+95) tmp = -v / t1; else tmp = v / u; end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[u, -3.9e+189], N[(v / u), $MachinePrecision], If[LessEqual[u, 1.16e+95], N[((-v) / t1), $MachinePrecision], N[(v / u), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -3.9 \cdot 10^{+189}:\\
\;\;\;\;\frac{v}{u}\\
\mathbf{elif}\;u \leq 1.16 \cdot 10^{+95}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;\frac{v}{u}\\
\end{array}
\end{array}
if u < -3.9e189 or 1.1599999999999999e95 < u Initial program 82.1%
associate-/l*81.5%
neg-mul-181.5%
associate-*r/94.0%
times-frac99.9%
div-inv99.9%
clear-num99.8%
Applied egg-rr99.8%
Taylor expanded in t1 around inf 46.0%
associate-*l/46.0%
neg-mul-146.0%
clear-num46.1%
add-sqr-sqrt24.9%
sqrt-unprod43.1%
sqr-neg43.1%
sqrt-unprod18.8%
add-sqr-sqrt42.5%
Applied egg-rr42.5%
Taylor expanded in t1 around 0 40.2%
if -3.9e189 < u < 1.1599999999999999e95Initial program 69.5%
associate-*l/75.3%
*-commutative75.3%
Simplified75.3%
Taylor expanded in t1 around inf 66.4%
associate-*r/66.4%
neg-mul-166.4%
Simplified66.4%
Final simplification58.1%
(FPCore (u v t1) :precision binary64 (if (<= u -3.2e+189) (/ (- v) u) (if (<= u 2.05e+95) (/ (- v) t1) (/ v u))))
double code(double u, double v, double t1) {
double tmp;
if (u <= -3.2e+189) {
tmp = -v / u;
} else if (u <= 2.05e+95) {
tmp = -v / t1;
} else {
tmp = v / u;
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if (u <= (-3.2d+189)) then
tmp = -v / u
else if (u <= 2.05d+95) then
tmp = -v / t1
else
tmp = v / u
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (u <= -3.2e+189) {
tmp = -v / u;
} else if (u <= 2.05e+95) {
tmp = -v / t1;
} else {
tmp = v / u;
}
return tmp;
}
def code(u, v, t1): tmp = 0 if u <= -3.2e+189: tmp = -v / u elif u <= 2.05e+95: tmp = -v / t1 else: tmp = v / u return tmp
function code(u, v, t1) tmp = 0.0 if (u <= -3.2e+189) tmp = Float64(Float64(-v) / u); elseif (u <= 2.05e+95) tmp = Float64(Float64(-v) / t1); else tmp = Float64(v / u); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (u <= -3.2e+189) tmp = -v / u; elseif (u <= 2.05e+95) tmp = -v / t1; else tmp = v / u; end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[u, -3.2e+189], N[((-v) / u), $MachinePrecision], If[LessEqual[u, 2.05e+95], N[((-v) / t1), $MachinePrecision], N[(v / u), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -3.2 \cdot 10^{+189}:\\
\;\;\;\;\frac{-v}{u}\\
\mathbf{elif}\;u \leq 2.05 \cdot 10^{+95}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;\frac{v}{u}\\
\end{array}
\end{array}
if u < -3.2000000000000001e189Initial program 85.2%
associate-/r*96.6%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in t1 around 0 96.6%
mul-1-neg96.6%
associate-/l*99.9%
distribute-neg-frac99.9%
Simplified99.9%
Taylor expanded in t1 around inf 44.2%
neg-mul-144.2%
distribute-neg-frac44.2%
Simplified44.2%
if -3.2000000000000001e189 < u < 2.04999999999999993e95Initial program 69.5%
associate-*l/75.3%
*-commutative75.3%
Simplified75.3%
Taylor expanded in t1 around inf 66.4%
associate-*r/66.4%
neg-mul-166.4%
Simplified66.4%
if 2.04999999999999993e95 < u Initial program 80.4%
associate-/l*79.3%
neg-mul-179.3%
associate-*r/92.1%
times-frac99.9%
div-inv99.8%
clear-num99.8%
Applied egg-rr99.8%
Taylor expanded in t1 around inf 46.9%
associate-*l/46.9%
neg-mul-146.9%
clear-num47.1%
add-sqr-sqrt22.4%
sqrt-unprod42.8%
sqr-neg42.8%
sqrt-unprod21.1%
add-sqr-sqrt41.6%
Applied egg-rr41.6%
Taylor expanded in t1 around 0 38.1%
Final simplification58.1%
(FPCore (u v t1) :precision binary64 (if (<= t1 -2.7e+24) (/ v t1) (if (<= t1 1.1e+22) (/ v u) (/ v t1))))
double code(double u, double v, double t1) {
double tmp;
if (t1 <= -2.7e+24) {
tmp = v / t1;
} else if (t1 <= 1.1e+22) {
tmp = v / u;
} else {
tmp = v / t1;
}
return tmp;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
real(8) :: tmp
if (t1 <= (-2.7d+24)) then
tmp = v / t1
else if (t1 <= 1.1d+22) then
tmp = v / u
else
tmp = v / t1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (t1 <= -2.7e+24) {
tmp = v / t1;
} else if (t1 <= 1.1e+22) {
tmp = v / u;
} else {
tmp = v / t1;
}
return tmp;
}
def code(u, v, t1): tmp = 0 if t1 <= -2.7e+24: tmp = v / t1 elif t1 <= 1.1e+22: tmp = v / u else: tmp = v / t1 return tmp
function code(u, v, t1) tmp = 0.0 if (t1 <= -2.7e+24) tmp = Float64(v / t1); elseif (t1 <= 1.1e+22) tmp = Float64(v / u); else tmp = Float64(v / t1); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (t1 <= -2.7e+24) tmp = v / t1; elseif (t1 <= 1.1e+22) tmp = v / u; else tmp = v / t1; end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[t1, -2.7e+24], N[(v / t1), $MachinePrecision], If[LessEqual[t1, 1.1e+22], N[(v / u), $MachinePrecision], N[(v / t1), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t1 \leq -2.7 \cdot 10^{+24}:\\
\;\;\;\;\frac{v}{t1}\\
\mathbf{elif}\;t1 \leq 1.1 \cdot 10^{+22}:\\
\;\;\;\;\frac{v}{u}\\
\mathbf{else}:\\
\;\;\;\;\frac{v}{t1}\\
\end{array}
\end{array}
if t1 < -2.7e24 or 1.1e22 < t1 Initial program 55.5%
associate-/l*56.6%
neg-mul-156.6%
associate-*r/77.3%
times-frac96.9%
div-inv96.8%
clear-num99.7%
Applied egg-rr99.7%
Taylor expanded in t1 around inf 84.1%
associate-*l/84.3%
neg-mul-184.3%
clear-num81.9%
add-sqr-sqrt50.1%
sqrt-unprod47.2%
sqr-neg47.2%
sqrt-unprod12.4%
add-sqr-sqrt33.5%
Applied egg-rr33.5%
Taylor expanded in t1 around inf 29.2%
if -2.7e24 < t1 < 1.1e22Initial program 89.5%
associate-/l*87.4%
neg-mul-187.4%
associate-*r/90.5%
times-frac96.0%
div-inv95.9%
clear-num95.9%
Applied egg-rr95.9%
Taylor expanded in t1 around inf 38.9%
associate-*l/39.0%
neg-mul-139.0%
clear-num38.9%
add-sqr-sqrt22.2%
sqrt-unprod29.0%
sqr-neg29.0%
sqrt-unprod8.0%
add-sqr-sqrt19.7%
Applied egg-rr19.7%
Taylor expanded in t1 around 0 21.0%
Final simplification24.8%
(FPCore (u v t1) :precision binary64 (/ (- v) (+ t1 u)))
double code(double u, double v, double t1) {
return -v / (t1 + u);
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
code = -v / (t1 + u)
end function
public static double code(double u, double v, double t1) {
return -v / (t1 + u);
}
def code(u, v, t1): return -v / (t1 + u)
function code(u, v, t1) return Float64(Float64(-v) / Float64(t1 + u)) end
function tmp = code(u, v, t1) tmp = -v / (t1 + u); end
code[u_, v_, t1_] := N[((-v) / N[(t1 + u), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{-v}{t1 + u}
\end{array}
Initial program 73.5%
associate-/r*83.0%
associate-/l*96.5%
Simplified96.5%
Taylor expanded in t1 around inf 60.2%
neg-mul-160.2%
Simplified60.2%
Final simplification60.2%
(FPCore (u v t1) :precision binary64 (/ v t1))
double code(double u, double v, double t1) {
return v / t1;
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
code = v / t1
end function
public static double code(double u, double v, double t1) {
return v / t1;
}
def code(u, v, t1): return v / t1
function code(u, v, t1) return Float64(v / t1) end
function tmp = code(u, v, t1) tmp = v / t1; end
code[u_, v_, t1_] := N[(v / t1), $MachinePrecision]
\begin{array}{l}
\\
\frac{v}{t1}
\end{array}
Initial program 73.5%
associate-/l*73.0%
neg-mul-173.0%
associate-*r/84.3%
times-frac96.4%
div-inv96.3%
clear-num97.7%
Applied egg-rr97.7%
Taylor expanded in t1 around inf 60.1%
associate-*l/60.2%
neg-mul-160.2%
clear-num59.1%
add-sqr-sqrt35.3%
sqrt-unprod37.5%
sqr-neg37.5%
sqrt-unprod10.1%
add-sqr-sqrt26.2%
Applied egg-rr26.2%
Taylor expanded in t1 around inf 14.8%
Final simplification14.8%
herbie shell --seed 2023272
(FPCore (u v t1)
:name "Rosa's DopplerBench"
:precision binary64
(/ (* (- t1) v) (* (+ t1 u) (+ t1 u))))