
(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 13 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 (/ (* (/ t1 (+ u t1)) (- v)) (+ u t1)))
double code(double u, double v, double t1) {
return ((t1 / (u + t1)) * -v) / (u + t1);
}
real(8) function code(u, v, t1)
real(8), intent (in) :: u
real(8), intent (in) :: v
real(8), intent (in) :: t1
code = ((t1 / (u + t1)) * -v) / (u + t1)
end function
public static double code(double u, double v, double t1) {
return ((t1 / (u + t1)) * -v) / (u + t1);
}
def code(u, v, t1): return ((t1 / (u + t1)) * -v) / (u + t1)
function code(u, v, t1) return Float64(Float64(Float64(t1 / Float64(u + t1)) * Float64(-v)) / Float64(u + t1)) end
function tmp = code(u, v, t1) tmp = ((t1 / (u + t1)) * -v) / (u + t1); end
code[u_, v_, t1_] := N[(N[(N[(t1 / N[(u + t1), $MachinePrecision]), $MachinePrecision] * (-v)), $MachinePrecision] / N[(u + t1), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\frac{t1}{u + t1} \cdot \left(-v\right)}{u + t1}
\end{array}
Initial program 75.4%
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lower-/.f64N/A
frac-2negN/A
lift-*.f64N/A
*-commutativeN/A
distribute-lft-neg-inN/A
associate-/l*N/A
lift-neg.f64N/A
frac-2negN/A
lower-*.f64N/A
lower-neg.f64N/A
lower-/.f6498.0
lift-+.f64N/A
+-commutativeN/A
lower-+.f6498.0
lift-+.f64N/A
+-commutativeN/A
lower-+.f6498.0
Applied rewrites98.0%
Final simplification98.0%
(FPCore (u v t1)
:precision binary64
(if (<= t1 -5.8e+171)
(/ (- v) t1)
(if (<= t1 2.9e+168)
(/ (- t1) (* (/ (+ u t1) v) (+ u t1)))
(/ (- v) (+ u t1)))))
double code(double u, double v, double t1) {
double tmp;
if (t1 <= -5.8e+171) {
tmp = -v / t1;
} else if (t1 <= 2.9e+168) {
tmp = -t1 / (((u + t1) / v) * (u + t1));
} else {
tmp = -v / (u + 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 <= (-5.8d+171)) then
tmp = -v / t1
else if (t1 <= 2.9d+168) then
tmp = -t1 / (((u + t1) / v) * (u + t1))
else
tmp = -v / (u + t1)
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (t1 <= -5.8e+171) {
tmp = -v / t1;
} else if (t1 <= 2.9e+168) {
tmp = -t1 / (((u + t1) / v) * (u + t1));
} else {
tmp = -v / (u + t1);
}
return tmp;
}
def code(u, v, t1): tmp = 0 if t1 <= -5.8e+171: tmp = -v / t1 elif t1 <= 2.9e+168: tmp = -t1 / (((u + t1) / v) * (u + t1)) else: tmp = -v / (u + t1) return tmp
function code(u, v, t1) tmp = 0.0 if (t1 <= -5.8e+171) tmp = Float64(Float64(-v) / t1); elseif (t1 <= 2.9e+168) tmp = Float64(Float64(-t1) / Float64(Float64(Float64(u + t1) / v) * Float64(u + t1))); else tmp = Float64(Float64(-v) / Float64(u + t1)); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (t1 <= -5.8e+171) tmp = -v / t1; elseif (t1 <= 2.9e+168) tmp = -t1 / (((u + t1) / v) * (u + t1)); else tmp = -v / (u + t1); end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[t1, -5.8e+171], N[((-v) / t1), $MachinePrecision], If[LessEqual[t1, 2.9e+168], N[((-t1) / N[(N[(N[(u + t1), $MachinePrecision] / v), $MachinePrecision] * N[(u + t1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[((-v) / N[(u + t1), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t1 \leq -5.8 \cdot 10^{+171}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{elif}\;t1 \leq 2.9 \cdot 10^{+168}:\\
\;\;\;\;\frac{-t1}{\frac{u + t1}{v} \cdot \left(u + t1\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{-v}{u + t1}\\
\end{array}
\end{array}
if t1 < -5.79999999999999969e171Initial program 46.9%
Taylor expanded in u around 0
associate-*r/N/A
lower-/.f64N/A
mul-1-negN/A
lower-neg.f6497.3
Applied rewrites97.3%
if -5.79999999999999969e171 < t1 < 2.9e168Initial program 82.7%
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
lift-*.f64N/A
times-fracN/A
clear-numN/A
frac-2negN/A
frac-timesN/A
metadata-evalN/A
lift-neg.f64N/A
remove-double-negN/A
distribute-lft-neg-inN/A
neg-mul-1N/A
remove-double-negN/A
lower-/.f64N/A
lower-*.f64N/A
lower-/.f64N/A
lift-+.f64N/A
+-commutativeN/A
lower-+.f64N/A
lower-neg.f6491.3
lift-+.f64N/A
+-commutativeN/A
lower-+.f6491.3
Applied rewrites91.3%
if 2.9e168 < t1 Initial program 58.8%
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lower-/.f64N/A
frac-2negN/A
lift-*.f64N/A
*-commutativeN/A
distribute-lft-neg-inN/A
associate-/l*N/A
lift-neg.f64N/A
frac-2negN/A
lower-*.f64N/A
lower-neg.f64N/A
lower-/.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
Applied rewrites99.9%
Taylor expanded in u around 0
mul-1-negN/A
lower-neg.f6491.1
Applied rewrites91.1%
Final simplification92.0%
(FPCore (u v t1)
:precision binary64
(let* ((t_1 (/ (- v) (+ u t1))))
(if (<= t1 -6.4e+112)
t_1
(if (<= t1 1.02e+136) (/ (* (- t1) v) (* (+ u t1) (+ u t1))) t_1))))
double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -6.4e+112) {
tmp = t_1;
} else if (t1 <= 1.02e+136) {
tmp = (-t1 * v) / ((u + t1) * (u + t1));
} 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) :: tmp
t_1 = -v / (u + t1)
if (t1 <= (-6.4d+112)) then
tmp = t_1
else if (t1 <= 1.02d+136) then
tmp = (-t1 * v) / ((u + t1) * (u + t1))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -6.4e+112) {
tmp = t_1;
} else if (t1 <= 1.02e+136) {
tmp = (-t1 * v) / ((u + t1) * (u + t1));
} else {
tmp = t_1;
}
return tmp;
}
def code(u, v, t1): t_1 = -v / (u + t1) tmp = 0 if t1 <= -6.4e+112: tmp = t_1 elif t1 <= 1.02e+136: tmp = (-t1 * v) / ((u + t1) * (u + t1)) else: tmp = t_1 return tmp
function code(u, v, t1) t_1 = Float64(Float64(-v) / Float64(u + t1)) tmp = 0.0 if (t1 <= -6.4e+112) tmp = t_1; elseif (t1 <= 1.02e+136) tmp = Float64(Float64(Float64(-t1) * v) / Float64(Float64(u + t1) * Float64(u + t1))); else tmp = t_1; end return tmp end
function tmp_2 = code(u, v, t1) t_1 = -v / (u + t1); tmp = 0.0; if (t1 <= -6.4e+112) tmp = t_1; elseif (t1 <= 1.02e+136) tmp = (-t1 * v) / ((u + t1) * (u + t1)); else tmp = t_1; end tmp_2 = tmp; end
code[u_, v_, t1_] := Block[{t$95$1 = N[((-v) / N[(u + t1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t1, -6.4e+112], t$95$1, If[LessEqual[t1, 1.02e+136], N[(N[((-t1) * v), $MachinePrecision] / N[(N[(u + t1), $MachinePrecision] * N[(u + t1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{-v}{u + t1}\\
\mathbf{if}\;t1 \leq -6.4 \cdot 10^{+112}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t1 \leq 1.02 \cdot 10^{+136}:\\
\;\;\;\;\frac{\left(-t1\right) \cdot v}{\left(u + t1\right) \cdot \left(u + t1\right)}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t1 < -6.39999999999999972e112 or 1.01999999999999996e136 < t1 Initial program 49.4%
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lower-/.f64N/A
frac-2negN/A
lift-*.f64N/A
*-commutativeN/A
distribute-lft-neg-inN/A
associate-/l*N/A
lift-neg.f64N/A
frac-2negN/A
lower-*.f64N/A
lower-neg.f64N/A
lower-/.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
Applied rewrites99.9%
Taylor expanded in u around 0
mul-1-negN/A
lower-neg.f6486.7
Applied rewrites86.7%
if -6.39999999999999972e112 < t1 < 1.01999999999999996e136Initial program 86.8%
Final simplification86.7%
(FPCore (u v t1) :precision binary64 (if (<= u -1.45e+33) (/ (* (/ v u) t1) (- u)) (if (<= u 2.25e-41) (/ (- v) t1) (/ t1 (* (/ (- u) v) u)))))
double code(double u, double v, double t1) {
double tmp;
if (u <= -1.45e+33) {
tmp = ((v / u) * t1) / -u;
} else if (u <= 2.25e-41) {
tmp = -v / t1;
} else {
tmp = t1 / ((-u / 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 <= (-1.45d+33)) then
tmp = ((v / u) * t1) / -u
else if (u <= 2.25d-41) then
tmp = -v / t1
else
tmp = t1 / ((-u / v) * u)
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (u <= -1.45e+33) {
tmp = ((v / u) * t1) / -u;
} else if (u <= 2.25e-41) {
tmp = -v / t1;
} else {
tmp = t1 / ((-u / v) * u);
}
return tmp;
}
def code(u, v, t1): tmp = 0 if u <= -1.45e+33: tmp = ((v / u) * t1) / -u elif u <= 2.25e-41: tmp = -v / t1 else: tmp = t1 / ((-u / v) * u) return tmp
function code(u, v, t1) tmp = 0.0 if (u <= -1.45e+33) tmp = Float64(Float64(Float64(v / u) * t1) / Float64(-u)); elseif (u <= 2.25e-41) tmp = Float64(Float64(-v) / t1); else tmp = Float64(t1 / Float64(Float64(Float64(-u) / v) * u)); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (u <= -1.45e+33) tmp = ((v / u) * t1) / -u; elseif (u <= 2.25e-41) tmp = -v / t1; else tmp = t1 / ((-u / v) * u); end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[u, -1.45e+33], N[(N[(N[(v / u), $MachinePrecision] * t1), $MachinePrecision] / (-u)), $MachinePrecision], If[LessEqual[u, 2.25e-41], N[((-v) / t1), $MachinePrecision], N[(t1 / N[(N[((-u) / v), $MachinePrecision] * u), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -1.45 \cdot 10^{+33}:\\
\;\;\;\;\frac{\frac{v}{u} \cdot t1}{-u}\\
\mathbf{elif}\;u \leq 2.25 \cdot 10^{-41}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;\frac{t1}{\frac{-u}{v} \cdot u}\\
\end{array}
\end{array}
if u < -1.45000000000000012e33Initial program 72.2%
Taylor expanded in u around inf
mul-1-negN/A
distribute-neg-frac2N/A
mul-1-negN/A
unpow2N/A
associate-*r*N/A
times-fracN/A
neg-mul-1N/A
lower-*.f64N/A
lower-/.f64N/A
lower-neg.f64N/A
lower-/.f6477.4
Applied rewrites77.4%
Applied rewrites74.5%
Applied rewrites80.2%
if -1.45000000000000012e33 < u < 2.25e-41Initial program 73.7%
Taylor expanded in u around 0
associate-*r/N/A
lower-/.f64N/A
mul-1-negN/A
lower-neg.f6479.1
Applied rewrites79.1%
if 2.25e-41 < u Initial program 81.2%
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
lift-*.f64N/A
times-fracN/A
clear-numN/A
frac-2negN/A
frac-timesN/A
metadata-evalN/A
lift-neg.f64N/A
remove-double-negN/A
distribute-lft-neg-inN/A
neg-mul-1N/A
remove-double-negN/A
lower-/.f64N/A
lower-*.f64N/A
lower-/.f64N/A
lift-+.f64N/A
+-commutativeN/A
lower-+.f64N/A
lower-neg.f6492.0
lift-+.f64N/A
+-commutativeN/A
lower-+.f6492.0
Applied rewrites92.0%
Taylor expanded in u around inf
*-commutativeN/A
unpow2N/A
associate-/l*N/A
associate-*r*N/A
*-commutativeN/A
*-commutativeN/A
lower-*.f64N/A
associate-*r/N/A
lower-/.f64N/A
mul-1-negN/A
lower-neg.f6483.4
Applied rewrites83.4%
Final simplification80.6%
(FPCore (u v t1) :precision binary64 (if (<= u -1.45e+33) (/ (* (/ v u) t1) (- u)) (if (<= u 2.3e-41) (/ (- v) t1) (* (/ (/ (- v) u) u) t1))))
double code(double u, double v, double t1) {
double tmp;
if (u <= -1.45e+33) {
tmp = ((v / u) * t1) / -u;
} else if (u <= 2.3e-41) {
tmp = -v / t1;
} else {
tmp = ((-v / u) / u) * 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.45d+33)) then
tmp = ((v / u) * t1) / -u
else if (u <= 2.3d-41) then
tmp = -v / t1
else
tmp = ((-v / u) / u) * t1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double tmp;
if (u <= -1.45e+33) {
tmp = ((v / u) * t1) / -u;
} else if (u <= 2.3e-41) {
tmp = -v / t1;
} else {
tmp = ((-v / u) / u) * t1;
}
return tmp;
}
def code(u, v, t1): tmp = 0 if u <= -1.45e+33: tmp = ((v / u) * t1) / -u elif u <= 2.3e-41: tmp = -v / t1 else: tmp = ((-v / u) / u) * t1 return tmp
function code(u, v, t1) tmp = 0.0 if (u <= -1.45e+33) tmp = Float64(Float64(Float64(v / u) * t1) / Float64(-u)); elseif (u <= 2.3e-41) tmp = Float64(Float64(-v) / t1); else tmp = Float64(Float64(Float64(Float64(-v) / u) / u) * t1); end return tmp end
function tmp_2 = code(u, v, t1) tmp = 0.0; if (u <= -1.45e+33) tmp = ((v / u) * t1) / -u; elseif (u <= 2.3e-41) tmp = -v / t1; else tmp = ((-v / u) / u) * t1; end tmp_2 = tmp; end
code[u_, v_, t1_] := If[LessEqual[u, -1.45e+33], N[(N[(N[(v / u), $MachinePrecision] * t1), $MachinePrecision] / (-u)), $MachinePrecision], If[LessEqual[u, 2.3e-41], N[((-v) / t1), $MachinePrecision], N[(N[(N[((-v) / u), $MachinePrecision] / u), $MachinePrecision] * t1), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;u \leq -1.45 \cdot 10^{+33}:\\
\;\;\;\;\frac{\frac{v}{u} \cdot t1}{-u}\\
\mathbf{elif}\;u \leq 2.3 \cdot 10^{-41}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{-v}{u}}{u} \cdot t1\\
\end{array}
\end{array}
if u < -1.45000000000000012e33Initial program 72.2%
Taylor expanded in u around inf
mul-1-negN/A
distribute-neg-frac2N/A
mul-1-negN/A
unpow2N/A
associate-*r*N/A
times-fracN/A
neg-mul-1N/A
lower-*.f64N/A
lower-/.f64N/A
lower-neg.f64N/A
lower-/.f6477.4
Applied rewrites77.4%
Applied rewrites74.5%
Applied rewrites80.2%
if -1.45000000000000012e33 < u < 2.3000000000000001e-41Initial program 73.7%
Taylor expanded in u around 0
associate-*r/N/A
lower-/.f64N/A
mul-1-negN/A
lower-neg.f6479.1
Applied rewrites79.1%
if 2.3000000000000001e-41 < u Initial program 81.2%
Taylor expanded in u around inf
mul-1-negN/A
distribute-neg-frac2N/A
mul-1-negN/A
unpow2N/A
associate-*r*N/A
times-fracN/A
neg-mul-1N/A
lower-*.f64N/A
lower-/.f64N/A
lower-neg.f64N/A
lower-/.f6481.0
Applied rewrites81.0%
Applied rewrites83.4%
Final simplification80.5%
(FPCore (u v t1) :precision binary64 (let* ((t_1 (* (/ (/ (- v) u) u) t1))) (if (<= u -1.22e+33) t_1 (if (<= u 2.3e-41) (/ (- v) t1) t_1))))
double code(double u, double v, double t1) {
double t_1 = ((-v / u) / u) * t1;
double tmp;
if (u <= -1.22e+33) {
tmp = t_1;
} else if (u <= 2.3e-41) {
tmp = -v / t1;
} 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) :: tmp
t_1 = ((-v / u) / u) * t1
if (u <= (-1.22d+33)) then
tmp = t_1
else if (u <= 2.3d-41) then
tmp = -v / t1
else
tmp = t_1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double t_1 = ((-v / u) / u) * t1;
double tmp;
if (u <= -1.22e+33) {
tmp = t_1;
} else if (u <= 2.3e-41) {
tmp = -v / t1;
} else {
tmp = t_1;
}
return tmp;
}
def code(u, v, t1): t_1 = ((-v / u) / u) * t1 tmp = 0 if u <= -1.22e+33: tmp = t_1 elif u <= 2.3e-41: tmp = -v / t1 else: tmp = t_1 return tmp
function code(u, v, t1) t_1 = Float64(Float64(Float64(Float64(-v) / u) / u) * t1) tmp = 0.0 if (u <= -1.22e+33) tmp = t_1; elseif (u <= 2.3e-41) tmp = Float64(Float64(-v) / t1); else tmp = t_1; end return tmp end
function tmp_2 = code(u, v, t1) t_1 = ((-v / u) / u) * t1; tmp = 0.0; if (u <= -1.22e+33) tmp = t_1; elseif (u <= 2.3e-41) tmp = -v / t1; else tmp = t_1; end tmp_2 = tmp; end
code[u_, v_, t1_] := Block[{t$95$1 = N[(N[(N[((-v) / u), $MachinePrecision] / u), $MachinePrecision] * t1), $MachinePrecision]}, If[LessEqual[u, -1.22e+33], t$95$1, If[LessEqual[u, 2.3e-41], N[((-v) / t1), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{\frac{-v}{u}}{u} \cdot t1\\
\mathbf{if}\;u \leq -1.22 \cdot 10^{+33}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;u \leq 2.3 \cdot 10^{-41}:\\
\;\;\;\;\frac{-v}{t1}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if u < -1.22000000000000005e33 or 2.3000000000000001e-41 < u Initial program 76.9%
Taylor expanded in u around inf
mul-1-negN/A
distribute-neg-frac2N/A
mul-1-negN/A
unpow2N/A
associate-*r*N/A
times-fracN/A
neg-mul-1N/A
lower-*.f64N/A
lower-/.f64N/A
lower-neg.f64N/A
lower-/.f6479.3
Applied rewrites79.3%
Applied rewrites81.2%
if -1.22000000000000005e33 < u < 2.3000000000000001e-41Initial program 73.7%
Taylor expanded in u around 0
associate-*r/N/A
lower-/.f64N/A
mul-1-negN/A
lower-neg.f6479.1
Applied rewrites79.1%
(FPCore (u v t1)
:precision binary64
(let* ((t_1 (/ (- v) (+ u t1))))
(if (<= t1 -3.4e-175)
t_1
(if (<= t1 2.05e-14) (* (/ t1 u) (/ (- v) u)) t_1))))
double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -3.4e-175) {
tmp = t_1;
} else if (t1 <= 2.05e-14) {
tmp = (t1 / u) * (-v / u);
} 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) :: tmp
t_1 = -v / (u + t1)
if (t1 <= (-3.4d-175)) then
tmp = t_1
else if (t1 <= 2.05d-14) then
tmp = (t1 / u) * (-v / u)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -3.4e-175) {
tmp = t_1;
} else if (t1 <= 2.05e-14) {
tmp = (t1 / u) * (-v / u);
} else {
tmp = t_1;
}
return tmp;
}
def code(u, v, t1): t_1 = -v / (u + t1) tmp = 0 if t1 <= -3.4e-175: tmp = t_1 elif t1 <= 2.05e-14: tmp = (t1 / u) * (-v / u) else: tmp = t_1 return tmp
function code(u, v, t1) t_1 = Float64(Float64(-v) / Float64(u + t1)) tmp = 0.0 if (t1 <= -3.4e-175) tmp = t_1; elseif (t1 <= 2.05e-14) tmp = Float64(Float64(t1 / u) * Float64(Float64(-v) / u)); else tmp = t_1; end return tmp end
function tmp_2 = code(u, v, t1) t_1 = -v / (u + t1); tmp = 0.0; if (t1 <= -3.4e-175) tmp = t_1; elseif (t1 <= 2.05e-14) tmp = (t1 / u) * (-v / u); else tmp = t_1; end tmp_2 = tmp; end
code[u_, v_, t1_] := Block[{t$95$1 = N[((-v) / N[(u + t1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t1, -3.4e-175], t$95$1, If[LessEqual[t1, 2.05e-14], N[(N[(t1 / u), $MachinePrecision] * N[((-v) / u), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{-v}{u + t1}\\
\mathbf{if}\;t1 \leq -3.4 \cdot 10^{-175}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t1 \leq 2.05 \cdot 10^{-14}:\\
\;\;\;\;\frac{t1}{u} \cdot \frac{-v}{u}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t1 < -3.4e-175 or 2.0500000000000001e-14 < t1 Initial program 68.8%
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lower-/.f64N/A
frac-2negN/A
lift-*.f64N/A
*-commutativeN/A
distribute-lft-neg-inN/A
associate-/l*N/A
lift-neg.f64N/A
frac-2negN/A
lower-*.f64N/A
lower-neg.f64N/A
lower-/.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
Applied rewrites99.9%
Taylor expanded in u around 0
mul-1-negN/A
lower-neg.f6476.6
Applied rewrites76.6%
if -3.4e-175 < t1 < 2.0500000000000001e-14Initial program 87.3%
Taylor expanded in u around inf
mul-1-negN/A
distribute-neg-frac2N/A
mul-1-negN/A
unpow2N/A
associate-*r*N/A
times-fracN/A
neg-mul-1N/A
lower-*.f64N/A
lower-/.f64N/A
lower-neg.f64N/A
lower-/.f6483.9
Applied rewrites83.9%
Final simplification79.2%
(FPCore (u v t1)
:precision binary64
(let* ((t_1 (/ (- v) (+ u t1))))
(if (<= t1 -1.2e-131)
t_1
(if (<= t1 2.05e-14) (/ (* (- t1) v) (* u u)) t_1))))
double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -1.2e-131) {
tmp = t_1;
} else if (t1 <= 2.05e-14) {
tmp = (-t1 * v) / (u * u);
} 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) :: tmp
t_1 = -v / (u + t1)
if (t1 <= (-1.2d-131)) then
tmp = t_1
else if (t1 <= 2.05d-14) then
tmp = (-t1 * v) / (u * u)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -1.2e-131) {
tmp = t_1;
} else if (t1 <= 2.05e-14) {
tmp = (-t1 * v) / (u * u);
} else {
tmp = t_1;
}
return tmp;
}
def code(u, v, t1): t_1 = -v / (u + t1) tmp = 0 if t1 <= -1.2e-131: tmp = t_1 elif t1 <= 2.05e-14: tmp = (-t1 * v) / (u * u) else: tmp = t_1 return tmp
function code(u, v, t1) t_1 = Float64(Float64(-v) / Float64(u + t1)) tmp = 0.0 if (t1 <= -1.2e-131) tmp = t_1; elseif (t1 <= 2.05e-14) tmp = Float64(Float64(Float64(-t1) * v) / Float64(u * u)); else tmp = t_1; end return tmp end
function tmp_2 = code(u, v, t1) t_1 = -v / (u + t1); tmp = 0.0; if (t1 <= -1.2e-131) tmp = t_1; elseif (t1 <= 2.05e-14) tmp = (-t1 * v) / (u * u); else tmp = t_1; end tmp_2 = tmp; end
code[u_, v_, t1_] := Block[{t$95$1 = N[((-v) / N[(u + t1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t1, -1.2e-131], t$95$1, If[LessEqual[t1, 2.05e-14], N[(N[((-t1) * v), $MachinePrecision] / N[(u * u), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{-v}{u + t1}\\
\mathbf{if}\;t1 \leq -1.2 \cdot 10^{-131}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t1 \leq 2.05 \cdot 10^{-14}:\\
\;\;\;\;\frac{\left(-t1\right) \cdot v}{u \cdot u}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t1 < -1.2e-131 or 2.0500000000000001e-14 < t1 Initial program 68.7%
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lower-/.f64N/A
frac-2negN/A
lift-*.f64N/A
*-commutativeN/A
distribute-lft-neg-inN/A
associate-/l*N/A
lift-neg.f64N/A
frac-2negN/A
lower-*.f64N/A
lower-neg.f64N/A
lower-/.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
Applied rewrites99.9%
Taylor expanded in u around 0
mul-1-negN/A
lower-neg.f6477.1
Applied rewrites77.1%
if -1.2e-131 < t1 < 2.0500000000000001e-14Initial program 86.2%
Taylor expanded in u around inf
unpow2N/A
lower-*.f6480.4
Applied rewrites80.4%
(FPCore (u v t1)
:precision binary64
(let* ((t_1 (/ (- v) (+ u t1))))
(if (<= t1 -3.4e-175)
t_1
(if (<= t1 2.05e-14) (* (/ v (* (- u) u)) t1) t_1))))
double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -3.4e-175) {
tmp = t_1;
} else if (t1 <= 2.05e-14) {
tmp = (v / (-u * u)) * t1;
} 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) :: tmp
t_1 = -v / (u + t1)
if (t1 <= (-3.4d-175)) then
tmp = t_1
else if (t1 <= 2.05d-14) then
tmp = (v / (-u * u)) * t1
else
tmp = t_1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -3.4e-175) {
tmp = t_1;
} else if (t1 <= 2.05e-14) {
tmp = (v / (-u * u)) * t1;
} else {
tmp = t_1;
}
return tmp;
}
def code(u, v, t1): t_1 = -v / (u + t1) tmp = 0 if t1 <= -3.4e-175: tmp = t_1 elif t1 <= 2.05e-14: tmp = (v / (-u * u)) * t1 else: tmp = t_1 return tmp
function code(u, v, t1) t_1 = Float64(Float64(-v) / Float64(u + t1)) tmp = 0.0 if (t1 <= -3.4e-175) tmp = t_1; elseif (t1 <= 2.05e-14) tmp = Float64(Float64(v / Float64(Float64(-u) * u)) * t1); else tmp = t_1; end return tmp end
function tmp_2 = code(u, v, t1) t_1 = -v / (u + t1); tmp = 0.0; if (t1 <= -3.4e-175) tmp = t_1; elseif (t1 <= 2.05e-14) tmp = (v / (-u * u)) * t1; else tmp = t_1; end tmp_2 = tmp; end
code[u_, v_, t1_] := Block[{t$95$1 = N[((-v) / N[(u + t1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t1, -3.4e-175], t$95$1, If[LessEqual[t1, 2.05e-14], N[(N[(v / N[((-u) * u), $MachinePrecision]), $MachinePrecision] * t1), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{-v}{u + t1}\\
\mathbf{if}\;t1 \leq -3.4 \cdot 10^{-175}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t1 \leq 2.05 \cdot 10^{-14}:\\
\;\;\;\;\frac{v}{\left(-u\right) \cdot u} \cdot t1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t1 < -3.4e-175 or 2.0500000000000001e-14 < t1 Initial program 68.8%
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lower-/.f64N/A
frac-2negN/A
lift-*.f64N/A
*-commutativeN/A
distribute-lft-neg-inN/A
associate-/l*N/A
lift-neg.f64N/A
frac-2negN/A
lower-*.f64N/A
lower-neg.f64N/A
lower-/.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
Applied rewrites99.9%
Taylor expanded in u around 0
mul-1-negN/A
lower-neg.f6476.6
Applied rewrites76.6%
if -3.4e-175 < t1 < 2.0500000000000001e-14Initial program 87.3%
Taylor expanded in u around inf
mul-1-negN/A
distribute-neg-frac2N/A
mul-1-negN/A
unpow2N/A
associate-*r*N/A
times-fracN/A
neg-mul-1N/A
lower-*.f64N/A
lower-/.f64N/A
lower-neg.f64N/A
lower-/.f6483.9
Applied rewrites83.9%
Applied rewrites81.1%
Final simplification78.2%
(FPCore (u v t1) :precision binary64 (let* ((t_1 (/ (- v) (+ u t1)))) (if (<= t1 -3.2e-179) t_1 (if (<= t1 5.9e-24) (/ (* t1 v) (* u u)) t_1))))
double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -3.2e-179) {
tmp = t_1;
} else if (t1 <= 5.9e-24) {
tmp = (t1 * v) / (u * u);
} 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) :: tmp
t_1 = -v / (u + t1)
if (t1 <= (-3.2d-179)) then
tmp = t_1
else if (t1 <= 5.9d-24) then
tmp = (t1 * v) / (u * u)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -3.2e-179) {
tmp = t_1;
} else if (t1 <= 5.9e-24) {
tmp = (t1 * v) / (u * u);
} else {
tmp = t_1;
}
return tmp;
}
def code(u, v, t1): t_1 = -v / (u + t1) tmp = 0 if t1 <= -3.2e-179: tmp = t_1 elif t1 <= 5.9e-24: tmp = (t1 * v) / (u * u) else: tmp = t_1 return tmp
function code(u, v, t1) t_1 = Float64(Float64(-v) / Float64(u + t1)) tmp = 0.0 if (t1 <= -3.2e-179) tmp = t_1; elseif (t1 <= 5.9e-24) tmp = Float64(Float64(t1 * v) / Float64(u * u)); else tmp = t_1; end return tmp end
function tmp_2 = code(u, v, t1) t_1 = -v / (u + t1); tmp = 0.0; if (t1 <= -3.2e-179) tmp = t_1; elseif (t1 <= 5.9e-24) tmp = (t1 * v) / (u * u); else tmp = t_1; end tmp_2 = tmp; end
code[u_, v_, t1_] := Block[{t$95$1 = N[((-v) / N[(u + t1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t1, -3.2e-179], t$95$1, If[LessEqual[t1, 5.9e-24], N[(N[(t1 * v), $MachinePrecision] / N[(u * u), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{-v}{u + t1}\\
\mathbf{if}\;t1 \leq -3.2 \cdot 10^{-179}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t1 \leq 5.9 \cdot 10^{-24}:\\
\;\;\;\;\frac{t1 \cdot v}{u \cdot u}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t1 < -3.2000000000000001e-179 or 5.9000000000000002e-24 < t1 Initial program 69.7%
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lower-/.f64N/A
frac-2negN/A
lift-*.f64N/A
*-commutativeN/A
distribute-lft-neg-inN/A
associate-/l*N/A
lift-neg.f64N/A
frac-2negN/A
lower-*.f64N/A
lower-neg.f64N/A
lower-/.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
Applied rewrites99.9%
Taylor expanded in u around 0
mul-1-negN/A
lower-neg.f6474.7
Applied rewrites74.7%
if -3.2000000000000001e-179 < t1 < 5.9000000000000002e-24Initial program 87.2%
Taylor expanded in u around inf
mul-1-negN/A
distribute-neg-frac2N/A
mul-1-negN/A
unpow2N/A
associate-*r*N/A
times-fracN/A
neg-mul-1N/A
lower-*.f64N/A
lower-/.f64N/A
lower-neg.f64N/A
lower-/.f6485.7
Applied rewrites85.7%
Applied rewrites82.7%
Applied rewrites55.5%
(FPCore (u v t1) :precision binary64 (let* ((t_1 (/ (- v) (+ u t1)))) (if (<= t1 -3.2e-179) t_1 (if (<= t1 5.9e-24) (* (/ v (* u u)) t1) t_1))))
double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -3.2e-179) {
tmp = t_1;
} else if (t1 <= 5.9e-24) {
tmp = (v / (u * u)) * t1;
} 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) :: tmp
t_1 = -v / (u + t1)
if (t1 <= (-3.2d-179)) then
tmp = t_1
else if (t1 <= 5.9d-24) then
tmp = (v / (u * u)) * t1
else
tmp = t_1
end if
code = tmp
end function
public static double code(double u, double v, double t1) {
double t_1 = -v / (u + t1);
double tmp;
if (t1 <= -3.2e-179) {
tmp = t_1;
} else if (t1 <= 5.9e-24) {
tmp = (v / (u * u)) * t1;
} else {
tmp = t_1;
}
return tmp;
}
def code(u, v, t1): t_1 = -v / (u + t1) tmp = 0 if t1 <= -3.2e-179: tmp = t_1 elif t1 <= 5.9e-24: tmp = (v / (u * u)) * t1 else: tmp = t_1 return tmp
function code(u, v, t1) t_1 = Float64(Float64(-v) / Float64(u + t1)) tmp = 0.0 if (t1 <= -3.2e-179) tmp = t_1; elseif (t1 <= 5.9e-24) tmp = Float64(Float64(v / Float64(u * u)) * t1); else tmp = t_1; end return tmp end
function tmp_2 = code(u, v, t1) t_1 = -v / (u + t1); tmp = 0.0; if (t1 <= -3.2e-179) tmp = t_1; elseif (t1 <= 5.9e-24) tmp = (v / (u * u)) * t1; else tmp = t_1; end tmp_2 = tmp; end
code[u_, v_, t1_] := Block[{t$95$1 = N[((-v) / N[(u + t1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t1, -3.2e-179], t$95$1, If[LessEqual[t1, 5.9e-24], N[(N[(v / N[(u * u), $MachinePrecision]), $MachinePrecision] * t1), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{-v}{u + t1}\\
\mathbf{if}\;t1 \leq -3.2 \cdot 10^{-179}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t1 \leq 5.9 \cdot 10^{-24}:\\
\;\;\;\;\frac{v}{u \cdot u} \cdot t1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t1 < -3.2000000000000001e-179 or 5.9000000000000002e-24 < t1 Initial program 69.7%
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lower-/.f64N/A
frac-2negN/A
lift-*.f64N/A
*-commutativeN/A
distribute-lft-neg-inN/A
associate-/l*N/A
lift-neg.f64N/A
frac-2negN/A
lower-*.f64N/A
lower-neg.f64N/A
lower-/.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
lift-+.f64N/A
+-commutativeN/A
lower-+.f6499.9
Applied rewrites99.9%
Taylor expanded in u around 0
mul-1-negN/A
lower-neg.f6474.7
Applied rewrites74.7%
if -3.2000000000000001e-179 < t1 < 5.9000000000000002e-24Initial program 87.2%
Taylor expanded in u around inf
mul-1-negN/A
distribute-neg-frac2N/A
mul-1-negN/A
unpow2N/A
associate-*r*N/A
times-fracN/A
neg-mul-1N/A
lower-*.f64N/A
lower-/.f64N/A
lower-neg.f64N/A
lower-/.f6485.7
Applied rewrites85.7%
Applied rewrites82.7%
Applied rewrites55.4%
Final simplification68.4%
(FPCore (u v t1) :precision binary64 (/ (- v) (+ u t1)))
double code(double u, double v, double t1) {
return -v / (u + 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 / (u + t1)
end function
public static double code(double u, double v, double t1) {
return -v / (u + t1);
}
def code(u, v, t1): return -v / (u + t1)
function code(u, v, t1) return Float64(Float64(-v) / Float64(u + t1)) end
function tmp = code(u, v, t1) tmp = -v / (u + t1); end
code[u_, v_, t1_] := N[((-v) / N[(u + t1), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{-v}{u + t1}
\end{array}
Initial program 75.4%
lift-/.f64N/A
lift-*.f64N/A
associate-/r*N/A
lower-/.f64N/A
frac-2negN/A
lift-*.f64N/A
*-commutativeN/A
distribute-lft-neg-inN/A
associate-/l*N/A
lift-neg.f64N/A
frac-2negN/A
lower-*.f64N/A
lower-neg.f64N/A
lower-/.f6498.0
lift-+.f64N/A
+-commutativeN/A
lower-+.f6498.0
lift-+.f64N/A
+-commutativeN/A
lower-+.f6498.0
Applied rewrites98.0%
Taylor expanded in u around 0
mul-1-negN/A
lower-neg.f6459.4
Applied rewrites59.4%
(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(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 75.4%
Taylor expanded in u around 0
associate-*r/N/A
lower-/.f64N/A
mul-1-negN/A
lower-neg.f6450.9
Applied rewrites50.9%
herbie shell --seed 2024295
(FPCore (u v t1)
:name "Rosa's DopplerBench"
:precision binary64
(/ (* (- t1) v) (* (+ t1 u) (+ t1 u))))