
(FPCore (x y z t a) :precision binary64 (+ x (/ (* y (- z t)) a)))
double code(double x, double y, double z, double t, double a) {
return x + ((y * (z - t)) / a);
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x + ((y * (z - t)) / a)
end function
public static double code(double x, double y, double z, double t, double a) {
return x + ((y * (z - t)) / a);
}
def code(x, y, z, t, a): return x + ((y * (z - t)) / a)
function code(x, y, z, t, a) return Float64(x + Float64(Float64(y * Float64(z - t)) / a)) end
function tmp = code(x, y, z, t, a) tmp = x + ((y * (z - t)) / a); end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot \left(z - t\right)}{a}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a) :precision binary64 (+ x (/ (* y (- z t)) a)))
double code(double x, double y, double z, double t, double a) {
return x + ((y * (z - t)) / a);
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x + ((y * (z - t)) / a)
end function
public static double code(double x, double y, double z, double t, double a) {
return x + ((y * (z - t)) / a);
}
def code(x, y, z, t, a): return x + ((y * (z - t)) / a)
function code(x, y, z, t, a) return Float64(x + Float64(Float64(y * Float64(z - t)) / a)) end
function tmp = code(x, y, z, t, a) tmp = x + ((y * (z - t)) / a); end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot \left(z - t\right)}{a}
\end{array}
(FPCore (x y z t a) :precision binary64 (+ x (* (- z t) (/ y a))))
double code(double x, double y, double z, double t, double a) {
return x + ((z - t) * (y / a));
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x + ((z - t) * (y / a))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + ((z - t) * (y / a));
}
def code(x, y, z, t, a): return x + ((z - t) * (y / a))
function code(x, y, z, t, a) return Float64(x + Float64(Float64(z - t) * Float64(y / a))) end
function tmp = code(x, y, z, t, a) tmp = x + ((z - t) * (y / a)); end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(z - t), $MachinePrecision] * N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \left(z - t\right) \cdot \frac{y}{a}
\end{array}
Initial program 94.1%
associate-/l*91.8%
Simplified91.8%
Taylor expanded in y around 0 94.1%
*-commutative94.1%
associate-*r/98.4%
Simplified98.4%
Final simplification98.4%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -2.25e+176) (not (<= z 2.2e+112))) (+ x (* z (/ y a))) (+ x (* y (/ (- z t) a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -2.25e+176) || !(z <= 2.2e+112)) {
tmp = x + (z * (y / a));
} else {
tmp = x + (y * ((z - t) / a));
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if ((z <= (-2.25d+176)) .or. (.not. (z <= 2.2d+112))) then
tmp = x + (z * (y / a))
else
tmp = x + (y * ((z - t) / a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -2.25e+176) || !(z <= 2.2e+112)) {
tmp = x + (z * (y / a));
} else {
tmp = x + (y * ((z - t) / a));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -2.25e+176) or not (z <= 2.2e+112): tmp = x + (z * (y / a)) else: tmp = x + (y * ((z - t) / a)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -2.25e+176) || !(z <= 2.2e+112)) tmp = Float64(x + Float64(z * Float64(y / a))); else tmp = Float64(x + Float64(y * Float64(Float64(z - t) / a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -2.25e+176) || ~((z <= 2.2e+112))) tmp = x + (z * (y / a)); else tmp = x + (y * ((z - t) / a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -2.25e+176], N[Not[LessEqual[z, 2.2e+112]], $MachinePrecision]], N[(x + N[(z * N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(N[(z - t), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.25 \cdot 10^{+176} \lor \neg \left(z \leq 2.2 \cdot 10^{+112}\right):\\
\;\;\;\;x + z \cdot \frac{y}{a}\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \frac{z - t}{a}\\
\end{array}
\end{array}
if z < -2.25000000000000002e176 or 2.1999999999999999e112 < z Initial program 94.6%
associate-/l*80.8%
Simplified80.8%
Taylor expanded in y around 0 94.6%
*-commutative94.6%
associate-*r/99.9%
Simplified99.9%
Taylor expanded in z around inf 93.2%
associate-*l/97.1%
*-commutative97.1%
Simplified97.1%
if -2.25000000000000002e176 < z < 2.1999999999999999e112Initial program 94.0%
associate-/l*95.8%
Simplified95.8%
Final simplification96.2%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -2.9e+65) (not (<= z 8.2e-16))) (+ x (* z (/ y a))) (- x (* t (/ y a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -2.9e+65) || !(z <= 8.2e-16)) {
tmp = x + (z * (y / a));
} else {
tmp = x - (t * (y / a));
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if ((z <= (-2.9d+65)) .or. (.not. (z <= 8.2d-16))) then
tmp = x + (z * (y / a))
else
tmp = x - (t * (y / a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -2.9e+65) || !(z <= 8.2e-16)) {
tmp = x + (z * (y / a));
} else {
tmp = x - (t * (y / a));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -2.9e+65) or not (z <= 8.2e-16): tmp = x + (z * (y / a)) else: tmp = x - (t * (y / a)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -2.9e+65) || !(z <= 8.2e-16)) tmp = Float64(x + Float64(z * Float64(y / a))); else tmp = Float64(x - Float64(t * Float64(y / a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -2.9e+65) || ~((z <= 8.2e-16))) tmp = x + (z * (y / a)); else tmp = x - (t * (y / a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -2.9e+65], N[Not[LessEqual[z, 8.2e-16]], $MachinePrecision]], N[(x + N[(z * N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(t * N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.9 \cdot 10^{+65} \lor \neg \left(z \leq 8.2 \cdot 10^{-16}\right):\\
\;\;\;\;x + z \cdot \frac{y}{a}\\
\mathbf{else}:\\
\;\;\;\;x - t \cdot \frac{y}{a}\\
\end{array}
\end{array}
if z < -2.9e65 or 8.20000000000000012e-16 < z Initial program 93.2%
associate-/l*88.5%
Simplified88.5%
Taylor expanded in y around 0 93.2%
*-commutative93.2%
associate-*r/99.9%
Simplified99.9%
Taylor expanded in z around inf 87.5%
associate-*l/92.7%
*-commutative92.7%
Simplified92.7%
if -2.9e65 < z < 8.20000000000000012e-16Initial program 95.0%
associate-/l*94.9%
Simplified94.9%
Taylor expanded in y around 0 95.0%
*-commutative95.0%
associate-*r/97.0%
Simplified97.0%
Taylor expanded in z around 0 88.5%
associate-*r/88.5%
neg-mul-188.5%
distribute-rgt-neg-in88.5%
associate-*r/91.9%
Simplified91.9%
Final simplification92.3%
(FPCore (x y z t a) :precision binary64 (if (or (<= y -2.4e-52) (not (<= y 4.4e+26))) (/ y (/ a z)) x))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -2.4e-52) || !(y <= 4.4e+26)) {
tmp = y / (a / z);
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if ((y <= (-2.4d-52)) .or. (.not. (y <= 4.4d+26))) then
tmp = y / (a / z)
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -2.4e-52) || !(y <= 4.4e+26)) {
tmp = y / (a / z);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (y <= -2.4e-52) or not (y <= 4.4e+26): tmp = y / (a / z) else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((y <= -2.4e-52) || !(y <= 4.4e+26)) tmp = Float64(y / Float64(a / z)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((y <= -2.4e-52) || ~((y <= 4.4e+26))) tmp = y / (a / z); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[y, -2.4e-52], N[Not[LessEqual[y, 4.4e+26]], $MachinePrecision]], N[(y / N[(a / z), $MachinePrecision]), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.4 \cdot 10^{-52} \lor \neg \left(y \leq 4.4 \cdot 10^{+26}\right):\\
\;\;\;\;\frac{y}{\frac{a}{z}}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -2.4000000000000002e-52 or 4.40000000000000014e26 < y Initial program 89.4%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in z around inf 56.5%
associate-/l*61.4%
Simplified61.4%
*-commutative61.4%
frac-2neg61.4%
distribute-frac-neg261.4%
add-sqr-sqrt27.8%
sqrt-unprod37.4%
sqr-neg37.4%
sqrt-unprod7.4%
add-sqr-sqrt15.5%
frac-2neg15.5%
cancel-sign-sub-inv15.5%
div-inv15.5%
associate-*l*19.0%
associate-/r/19.0%
clear-num19.0%
Applied egg-rr19.0%
*-commutative19.0%
associate-*l/14.2%
associate-/l*15.5%
Simplified15.5%
Taylor expanded in x around 0 3.1%
mul-1-neg3.1%
distribute-neg-frac23.1%
associate-*r/3.1%
Simplified3.1%
clear-num3.1%
un-div-inv3.1%
add-sqr-sqrt1.5%
sqrt-unprod24.8%
sqr-neg24.8%
sqrt-unprod21.2%
add-sqr-sqrt49.0%
Applied egg-rr49.0%
if -2.4000000000000002e-52 < y < 4.40000000000000014e26Initial program 99.2%
associate-/l*83.1%
Simplified83.1%
Taylor expanded in z around inf 80.2%
associate-/l*68.8%
Simplified68.8%
Taylor expanded in x around inf 62.9%
Final simplification55.7%
(FPCore (x y z t a) :precision binary64 (if (or (<= y -3.65e-56) (not (<= y 3.8e+26))) (/ z (/ a y)) x))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -3.65e-56) || !(y <= 3.8e+26)) {
tmp = z / (a / y);
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if ((y <= (-3.65d-56)) .or. (.not. (y <= 3.8d+26))) then
tmp = z / (a / y)
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -3.65e-56) || !(y <= 3.8e+26)) {
tmp = z / (a / y);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (y <= -3.65e-56) or not (y <= 3.8e+26): tmp = z / (a / y) else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((y <= -3.65e-56) || !(y <= 3.8e+26)) tmp = Float64(z / Float64(a / y)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((y <= -3.65e-56) || ~((y <= 3.8e+26))) tmp = z / (a / y); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[y, -3.65e-56], N[Not[LessEqual[y, 3.8e+26]], $MachinePrecision]], N[(z / N[(a / y), $MachinePrecision]), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.65 \cdot 10^{-56} \lor \neg \left(y \leq 3.8 \cdot 10^{+26}\right):\\
\;\;\;\;\frac{z}{\frac{a}{y}}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -3.65000000000000022e-56 or 3.8000000000000002e26 < y Initial program 89.4%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in z around inf 56.5%
associate-/l*61.4%
Simplified61.4%
*-commutative61.4%
frac-2neg61.4%
distribute-frac-neg261.4%
add-sqr-sqrt27.8%
sqrt-unprod37.4%
sqr-neg37.4%
sqrt-unprod7.4%
add-sqr-sqrt15.5%
frac-2neg15.5%
cancel-sign-sub-inv15.5%
div-inv15.5%
associate-*l*19.0%
associate-/r/19.0%
clear-num19.0%
Applied egg-rr19.0%
*-commutative19.0%
associate-*l/14.2%
associate-/l*15.5%
Simplified15.5%
Taylor expanded in x around 0 3.1%
mul-1-neg3.1%
distribute-neg-frac23.1%
associate-*r/3.1%
Simplified3.1%
associate-*r/3.1%
add-sqr-sqrt1.5%
sqrt-unprod24.0%
sqr-neg24.0%
sqrt-unprod19.8%
add-sqr-sqrt45.5%
associate-*l/51.1%
*-commutative51.1%
clear-num51.0%
div-inv51.0%
Applied egg-rr51.0%
if -3.65000000000000022e-56 < y < 3.8000000000000002e26Initial program 99.2%
associate-/l*83.1%
Simplified83.1%
Taylor expanded in z around inf 80.2%
associate-/l*68.8%
Simplified68.8%
Taylor expanded in x around inf 62.9%
Final simplification56.7%
(FPCore (x y z t a) :precision binary64 (+ x (* y (/ z a))))
double code(double x, double y, double z, double t, double a) {
return x + (y * (z / a));
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x + (y * (z / a))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (y * (z / a));
}
def code(x, y, z, t, a): return x + (y * (z / a))
function code(x, y, z, t, a) return Float64(x + Float64(y * Float64(z / a))) end
function tmp = code(x, y, z, t, a) tmp = x + (y * (z / a)); end
code[x_, y_, z_, t_, a_] := N[(x + N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + y \cdot \frac{z}{a}
\end{array}
Initial program 94.1%
associate-/l*91.8%
Simplified91.8%
Taylor expanded in z around inf 67.9%
associate-/l*65.0%
Simplified65.0%
Final simplification65.0%
(FPCore (x y z t a) :precision binary64 (+ x (* z (/ y a))))
double code(double x, double y, double z, double t, double a) {
return x + (z * (y / a));
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x + (z * (y / a))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (z * (y / a));
}
def code(x, y, z, t, a): return x + (z * (y / a))
function code(x, y, z, t, a) return Float64(x + Float64(z * Float64(y / a))) end
function tmp = code(x, y, z, t, a) tmp = x + (z * (y / a)); end
code[x_, y_, z_, t_, a_] := N[(x + N[(z * N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + z \cdot \frac{y}{a}
\end{array}
Initial program 94.1%
associate-/l*91.8%
Simplified91.8%
Taylor expanded in y around 0 94.1%
*-commutative94.1%
associate-*r/98.4%
Simplified98.4%
Taylor expanded in z around inf 67.9%
associate-*l/71.5%
*-commutative71.5%
Simplified71.5%
Final simplification71.5%
(FPCore (x y z t a) :precision binary64 x)
double code(double x, double y, double z, double t, double a) {
return x;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
code = x
end function
public static double code(double x, double y, double z, double t, double a) {
return x;
}
def code(x, y, z, t, a): return x
function code(x, y, z, t, a) return x end
function tmp = code(x, y, z, t, a) tmp = x; end
code[x_, y_, z_, t_, a_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 94.1%
associate-/l*91.8%
Simplified91.8%
Taylor expanded in z around inf 67.9%
associate-/l*65.0%
Simplified65.0%
Taylor expanded in x around inf 38.0%
Final simplification38.0%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ a (- z t))))
(if (< y -1.0761266216389975e-10)
(+ x (/ 1.0 (/ t_1 y)))
(if (< y 2.894426862792089e-49)
(+ x (/ (* y (- z t)) a))
(+ x (/ y t_1))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = a / (z - t);
double tmp;
if (y < -1.0761266216389975e-10) {
tmp = x + (1.0 / (t_1 / y));
} else if (y < 2.894426862792089e-49) {
tmp = x + ((y * (z - t)) / a);
} else {
tmp = x + (y / t_1);
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: t_1
real(8) :: tmp
t_1 = a / (z - t)
if (y < (-1.0761266216389975d-10)) then
tmp = x + (1.0d0 / (t_1 / y))
else if (y < 2.894426862792089d-49) then
tmp = x + ((y * (z - t)) / a)
else
tmp = x + (y / t_1)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double t_1 = a / (z - t);
double tmp;
if (y < -1.0761266216389975e-10) {
tmp = x + (1.0 / (t_1 / y));
} else if (y < 2.894426862792089e-49) {
tmp = x + ((y * (z - t)) / a);
} else {
tmp = x + (y / t_1);
}
return tmp;
}
def code(x, y, z, t, a): t_1 = a / (z - t) tmp = 0 if y < -1.0761266216389975e-10: tmp = x + (1.0 / (t_1 / y)) elif y < 2.894426862792089e-49: tmp = x + ((y * (z - t)) / a) else: tmp = x + (y / t_1) return tmp
function code(x, y, z, t, a) t_1 = Float64(a / Float64(z - t)) tmp = 0.0 if (y < -1.0761266216389975e-10) tmp = Float64(x + Float64(1.0 / Float64(t_1 / y))); elseif (y < 2.894426862792089e-49) tmp = Float64(x + Float64(Float64(y * Float64(z - t)) / a)); else tmp = Float64(x + Float64(y / t_1)); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = a / (z - t); tmp = 0.0; if (y < -1.0761266216389975e-10) tmp = x + (1.0 / (t_1 / y)); elseif (y < 2.894426862792089e-49) tmp = x + ((y * (z - t)) / a); else tmp = x + (y / t_1); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(a / N[(z - t), $MachinePrecision]), $MachinePrecision]}, If[Less[y, -1.0761266216389975e-10], N[(x + N[(1.0 / N[(t$95$1 / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y, 2.894426862792089e-49], N[(x + N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / t$95$1), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{a}{z - t}\\
\mathbf{if}\;y < -1.0761266216389975 \cdot 10^{-10}:\\
\;\;\;\;x + \frac{1}{\frac{t\_1}{y}}\\
\mathbf{elif}\;y < 2.894426862792089 \cdot 10^{-49}:\\
\;\;\;\;x + \frac{y \cdot \left(z - t\right)}{a}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{t\_1}\\
\end{array}
\end{array}
herbie shell --seed 2024077
(FPCore (x y z t a)
:name "Optimisation.CirclePacking:place from circle-packing-0.1.0.4, E"
:precision binary64
:alt
(if (< y -1.0761266216389975e-10) (+ x (/ 1.0 (/ (/ a (- z t)) y))) (if (< y 2.894426862792089e-49) (+ x (/ (* y (- z t)) a)) (+ x (/ y (/ a (- z t))))))
(+ x (/ (* y (- z t)) a)))