
(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 15 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
(let* ((t_1 (* y (- z t))))
(if (<= t_1 -5e+250)
(+ x (* y (/ (- t z) a)))
(if (<= t_1 2e+107)
(+ x (/ (* y (- t z)) a))
(- x (/ y (/ a (- z t))))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = y * (z - t);
double tmp;
if (t_1 <= -5e+250) {
tmp = x + (y * ((t - z) / a));
} else if (t_1 <= 2e+107) {
tmp = x + ((y * (t - z)) / a);
} else {
tmp = x - (y / (a / (z - t)));
}
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 = y * (z - t)
if (t_1 <= (-5d+250)) then
tmp = x + (y * ((t - z) / a))
else if (t_1 <= 2d+107) then
tmp = x + ((y * (t - z)) / a)
else
tmp = x - (y / (a / (z - t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double t_1 = y * (z - t);
double tmp;
if (t_1 <= -5e+250) {
tmp = x + (y * ((t - z) / a));
} else if (t_1 <= 2e+107) {
tmp = x + ((y * (t - z)) / a);
} else {
tmp = x - (y / (a / (z - t)));
}
return tmp;
}
def code(x, y, z, t, a): t_1 = y * (z - t) tmp = 0 if t_1 <= -5e+250: tmp = x + (y * ((t - z) / a)) elif t_1 <= 2e+107: tmp = x + ((y * (t - z)) / a) else: tmp = x - (y / (a / (z - t))) return tmp
function code(x, y, z, t, a) t_1 = Float64(y * Float64(z - t)) tmp = 0.0 if (t_1 <= -5e+250) tmp = Float64(x + Float64(y * Float64(Float64(t - z) / a))); elseif (t_1 <= 2e+107) tmp = Float64(x + Float64(Float64(y * Float64(t - z)) / a)); else tmp = Float64(x - Float64(y / Float64(a / Float64(z - t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = y * (z - t); tmp = 0.0; if (t_1 <= -5e+250) tmp = x + (y * ((t - z) / a)); elseif (t_1 <= 2e+107) tmp = x + ((y * (t - z)) / a); else tmp = x - (y / (a / (z - t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -5e+250], N[(x + N[(y * N[(N[(t - z), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 2e+107], N[(x + N[(N[(y * N[(t - z), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision], N[(x - N[(y / N[(a / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(z - t\right)\\
\mathbf{if}\;t\_1 \leq -5 \cdot 10^{+250}:\\
\;\;\;\;x + y \cdot \frac{t - z}{a}\\
\mathbf{elif}\;t\_1 \leq 2 \cdot 10^{+107}:\\
\;\;\;\;x + \frac{y \cdot \left(t - z\right)}{a}\\
\mathbf{else}:\\
\;\;\;\;x - \frac{y}{\frac{a}{z - t}}\\
\end{array}
\end{array}
if (*.f64 y (-.f64 z t)) < -5.0000000000000002e250Initial program 77.4%
associate-/l*100.0%
Simplified100.0%
if -5.0000000000000002e250 < (*.f64 y (-.f64 z t)) < 1.9999999999999999e107Initial program 99.9%
if 1.9999999999999999e107 < (*.f64 y (-.f64 z t)) Initial program 82.2%
associate-/l*99.8%
Simplified99.8%
clear-num99.8%
un-div-inv99.9%
Applied egg-rr99.9%
Final simplification99.9%
(FPCore (x y z t a) :precision binary64 (if (or (<= t -5.2e+86) (not (<= t 1.8e+144))) (+ x (* y (/ t a))) (- x (/ y (/ a z)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -5.2e+86) || !(t <= 1.8e+144)) {
tmp = x + (y * (t / a));
} else {
tmp = x - (y / (a / z));
}
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 ((t <= (-5.2d+86)) .or. (.not. (t <= 1.8d+144))) then
tmp = x + (y * (t / a))
else
tmp = x - (y / (a / z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -5.2e+86) || !(t <= 1.8e+144)) {
tmp = x + (y * (t / a));
} else {
tmp = x - (y / (a / z));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (t <= -5.2e+86) or not (t <= 1.8e+144): tmp = x + (y * (t / a)) else: tmp = x - (y / (a / z)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((t <= -5.2e+86) || !(t <= 1.8e+144)) tmp = Float64(x + Float64(y * Float64(t / a))); else tmp = Float64(x - Float64(y / Float64(a / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((t <= -5.2e+86) || ~((t <= 1.8e+144))) tmp = x + (y * (t / a)); else tmp = x - (y / (a / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[t, -5.2e+86], N[Not[LessEqual[t, 1.8e+144]], $MachinePrecision]], N[(x + N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(y / N[(a / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -5.2 \cdot 10^{+86} \lor \neg \left(t \leq 1.8 \cdot 10^{+144}\right):\\
\;\;\;\;x + y \cdot \frac{t}{a}\\
\mathbf{else}:\\
\;\;\;\;x - \frac{y}{\frac{a}{z}}\\
\end{array}
\end{array}
if t < -5.1999999999999995e86 or 1.7999999999999999e144 < t Initial program 85.2%
associate-/l*91.3%
Simplified91.3%
clear-num91.3%
un-div-inv92.6%
Applied egg-rr92.6%
Taylor expanded in z around 0 77.7%
cancel-sign-sub-inv77.7%
metadata-eval77.7%
*-commutative77.7%
associate-*r/83.7%
*-lft-identity83.7%
Simplified83.7%
if -5.1999999999999995e86 < t < 1.7999999999999999e144Initial program 95.2%
associate-/l*96.3%
Simplified96.3%
clear-num96.2%
un-div-inv97.0%
Applied egg-rr97.0%
Taylor expanded in z around inf 91.0%
Final simplification88.8%
(FPCore (x y z t a) :precision binary64 (if (or (<= t -4.5e+82) (not (<= t 2.9e+148))) (+ x (* y (/ t a))) (- x (* y (/ z a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -4.5e+82) || !(t <= 2.9e+148)) {
tmp = x + (y * (t / a));
} else {
tmp = x - (y * (z / 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 ((t <= (-4.5d+82)) .or. (.not. (t <= 2.9d+148))) then
tmp = x + (y * (t / a))
else
tmp = x - (y * (z / a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -4.5e+82) || !(t <= 2.9e+148)) {
tmp = x + (y * (t / a));
} else {
tmp = x - (y * (z / a));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (t <= -4.5e+82) or not (t <= 2.9e+148): tmp = x + (y * (t / a)) else: tmp = x - (y * (z / a)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((t <= -4.5e+82) || !(t <= 2.9e+148)) tmp = Float64(x + Float64(y * Float64(t / a))); else tmp = Float64(x - Float64(y * Float64(z / a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((t <= -4.5e+82) || ~((t <= 2.9e+148))) tmp = x + (y * (t / a)); else tmp = x - (y * (z / a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[t, -4.5e+82], N[Not[LessEqual[t, 2.9e+148]], $MachinePrecision]], N[(x + N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4.5 \cdot 10^{+82} \lor \neg \left(t \leq 2.9 \cdot 10^{+148}\right):\\
\;\;\;\;x + y \cdot \frac{t}{a}\\
\mathbf{else}:\\
\;\;\;\;x - y \cdot \frac{z}{a}\\
\end{array}
\end{array}
if t < -4.4999999999999997e82 or 2.9e148 < t Initial program 85.2%
associate-/l*91.3%
Simplified91.3%
clear-num91.3%
un-div-inv92.6%
Applied egg-rr92.6%
Taylor expanded in z around 0 77.7%
cancel-sign-sub-inv77.7%
metadata-eval77.7%
*-commutative77.7%
associate-*r/83.7%
*-lft-identity83.7%
Simplified83.7%
if -4.4999999999999997e82 < t < 2.9e148Initial program 95.2%
associate-/l*96.3%
Simplified96.3%
Taylor expanded in z around inf 88.7%
associate-/l*90.3%
Simplified90.3%
Final simplification88.3%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -4e+91) (not (<= z 2.1e+31))) (* (/ y a) (- t z)) (+ x (* y (/ t a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -4e+91) || !(z <= 2.1e+31)) {
tmp = (y / a) * (t - z);
} else {
tmp = x + (y * (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 <= (-4d+91)) .or. (.not. (z <= 2.1d+31))) then
tmp = (y / a) * (t - z)
else
tmp = x + (y * (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 <= -4e+91) || !(z <= 2.1e+31)) {
tmp = (y / a) * (t - z);
} else {
tmp = x + (y * (t / a));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -4e+91) or not (z <= 2.1e+31): tmp = (y / a) * (t - z) else: tmp = x + (y * (t / a)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -4e+91) || !(z <= 2.1e+31)) tmp = Float64(Float64(y / a) * Float64(t - z)); else tmp = Float64(x + Float64(y * Float64(t / a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -4e+91) || ~((z <= 2.1e+31))) tmp = (y / a) * (t - z); else tmp = x + (y * (t / a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -4e+91], N[Not[LessEqual[z, 2.1e+31]], $MachinePrecision]], N[(N[(y / a), $MachinePrecision] * N[(t - z), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -4 \cdot 10^{+91} \lor \neg \left(z \leq 2.1 \cdot 10^{+31}\right):\\
\;\;\;\;\frac{y}{a} \cdot \left(t - z\right)\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \frac{t}{a}\\
\end{array}
\end{array}
if z < -4.00000000000000032e91 or 2.09999999999999979e31 < z Initial program 86.7%
associate-/l*93.0%
Simplified93.0%
Taylor expanded in x around 0 71.6%
associate-*r/71.6%
neg-mul-171.6%
*-commutative71.6%
distribute-lft-neg-in71.6%
associate-*r/81.1%
*-commutative81.1%
neg-sub081.1%
sub-neg81.1%
+-commutative81.1%
associate--r+81.1%
neg-sub081.1%
remove-double-neg81.1%
Simplified81.1%
if -4.00000000000000032e91 < z < 2.09999999999999979e31Initial program 96.1%
associate-/l*96.1%
Simplified96.1%
clear-num96.0%
un-div-inv96.7%
Applied egg-rr96.7%
Taylor expanded in z around 0 80.8%
cancel-sign-sub-inv80.8%
metadata-eval80.8%
*-commutative80.8%
associate-*r/81.4%
*-lft-identity81.4%
Simplified81.4%
Final simplification81.3%
(FPCore (x y z t a) :precision binary64 (if (or (<= y -1.06e-59) (not (<= y 2.1e-6))) (* y (/ (- t z) a)) x))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -1.06e-59) || !(y <= 2.1e-6)) {
tmp = y * ((t - z) / a);
} 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 <= (-1.06d-59)) .or. (.not. (y <= 2.1d-6))) then
tmp = y * ((t - z) / a)
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 <= -1.06e-59) || !(y <= 2.1e-6)) {
tmp = y * ((t - z) / a);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (y <= -1.06e-59) or not (y <= 2.1e-6): tmp = y * ((t - z) / a) else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((y <= -1.06e-59) || !(y <= 2.1e-6)) tmp = Float64(y * Float64(Float64(t - z) / a)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((y <= -1.06e-59) || ~((y <= 2.1e-6))) tmp = y * ((t - z) / a); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[y, -1.06e-59], N[Not[LessEqual[y, 2.1e-6]], $MachinePrecision]], N[(y * N[(N[(t - z), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.06 \cdot 10^{-59} \lor \neg \left(y \leq 2.1 \cdot 10^{-6}\right):\\
\;\;\;\;y \cdot \frac{t - z}{a}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -1.06e-59 or 2.0999999999999998e-6 < y Initial program 86.4%
associate-/l*98.0%
Simplified98.0%
Taylor expanded in x around 0 66.4%
associate-*r/66.4%
neg-mul-166.4%
*-commutative66.4%
distribute-lft-neg-in66.4%
associate-*r/74.0%
*-commutative74.0%
neg-sub074.0%
sub-neg74.0%
+-commutative74.0%
associate--r+74.0%
neg-sub074.0%
remove-double-neg74.0%
Simplified74.0%
*-commutative74.0%
clear-num73.9%
un-div-inv73.9%
Applied egg-rr73.9%
associate-/r/75.3%
Applied egg-rr75.3%
if -1.06e-59 < y < 2.0999999999999998e-6Initial program 99.9%
associate-/l*90.4%
Simplified90.4%
Taylor expanded in x around inf 65.0%
Final simplification70.9%
(FPCore (x y z t a) :precision binary64 (if (or (<= y -1.12e-59) (not (<= y 1.36e-204))) (* (/ y a) (- t z)) x))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -1.12e-59) || !(y <= 1.36e-204)) {
tmp = (y / a) * (t - 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 <= (-1.12d-59)) .or. (.not. (y <= 1.36d-204))) then
tmp = (y / a) * (t - 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 <= -1.12e-59) || !(y <= 1.36e-204)) {
tmp = (y / a) * (t - z);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (y <= -1.12e-59) or not (y <= 1.36e-204): tmp = (y / a) * (t - z) else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((y <= -1.12e-59) || !(y <= 1.36e-204)) tmp = Float64(Float64(y / a) * Float64(t - z)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((y <= -1.12e-59) || ~((y <= 1.36e-204))) tmp = (y / a) * (t - z); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[y, -1.12e-59], N[Not[LessEqual[y, 1.36e-204]], $MachinePrecision]], N[(N[(y / a), $MachinePrecision] * N[(t - z), $MachinePrecision]), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.12 \cdot 10^{-59} \lor \neg \left(y \leq 1.36 \cdot 10^{-204}\right):\\
\;\;\;\;\frac{y}{a} \cdot \left(t - z\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -1.1200000000000001e-59 or 1.3600000000000001e-204 < y Initial program 89.4%
associate-/l*95.9%
Simplified95.9%
Taylor expanded in x around 0 63.2%
associate-*r/63.2%
neg-mul-163.2%
*-commutative63.2%
distribute-lft-neg-in63.2%
associate-*r/69.1%
*-commutative69.1%
neg-sub069.1%
sub-neg69.1%
+-commutative69.1%
associate--r+69.1%
neg-sub069.1%
remove-double-neg69.1%
Simplified69.1%
if -1.1200000000000001e-59 < y < 1.3600000000000001e-204Initial program 100.0%
associate-/l*91.5%
Simplified91.5%
Taylor expanded in x around inf 73.5%
Final simplification70.2%
(FPCore (x y z t a) :precision binary64 (if (<= t -3.6e+79) (+ x (* y (/ t a))) (if (<= t 2.6e+146) (- x (/ y (/ a z))) (+ x (/ y (/ a t))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -3.6e+79) {
tmp = x + (y * (t / a));
} else if (t <= 2.6e+146) {
tmp = x - (y / (a / z));
} else {
tmp = x + (y / (a / t));
}
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 (t <= (-3.6d+79)) then
tmp = x + (y * (t / a))
else if (t <= 2.6d+146) then
tmp = x - (y / (a / z))
else
tmp = x + (y / (a / t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -3.6e+79) {
tmp = x + (y * (t / a));
} else if (t <= 2.6e+146) {
tmp = x - (y / (a / z));
} else {
tmp = x + (y / (a / t));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= -3.6e+79: tmp = x + (y * (t / a)) elif t <= 2.6e+146: tmp = x - (y / (a / z)) else: tmp = x + (y / (a / t)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= -3.6e+79) tmp = Float64(x + Float64(y * Float64(t / a))); elseif (t <= 2.6e+146) tmp = Float64(x - Float64(y / Float64(a / z))); else tmp = Float64(x + Float64(y / Float64(a / t))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= -3.6e+79) tmp = x + (y * (t / a)); elseif (t <= 2.6e+146) tmp = x - (y / (a / z)); else tmp = x + (y / (a / t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -3.6e+79], N[(x + N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.6e+146], N[(x - N[(y / N[(a / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / N[(a / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.6 \cdot 10^{+79}:\\
\;\;\;\;x + y \cdot \frac{t}{a}\\
\mathbf{elif}\;t \leq 2.6 \cdot 10^{+146}:\\
\;\;\;\;x - \frac{y}{\frac{a}{z}}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\frac{a}{t}}\\
\end{array}
\end{array}
if t < -3.5999999999999999e79Initial program 85.3%
associate-/l*92.7%
Simplified92.7%
clear-num92.7%
un-div-inv92.7%
Applied egg-rr92.7%
Taylor expanded in z around 0 80.3%
cancel-sign-sub-inv80.3%
metadata-eval80.3%
*-commutative80.3%
associate-*r/88.0%
*-lft-identity88.0%
Simplified88.0%
if -3.5999999999999999e79 < t < 2.60000000000000014e146Initial program 95.2%
associate-/l*96.3%
Simplified96.3%
clear-num96.2%
un-div-inv97.0%
Applied egg-rr97.0%
Taylor expanded in z around inf 91.0%
if 2.60000000000000014e146 < t Initial program 85.1%
associate-/l*89.8%
Simplified89.8%
clear-num89.8%
un-div-inv92.5%
Applied egg-rr92.5%
Taylor expanded in z around 0 81.9%
associate-*r/81.9%
neg-mul-181.9%
Simplified81.9%
Final simplification89.2%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -1.5e+112) (not (<= z 2.8e+31))) (* z (/ y (- a))) x))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -1.5e+112) || !(z <= 2.8e+31)) {
tmp = z * (y / -a);
} 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 ((z <= (-1.5d+112)) .or. (.not. (z <= 2.8d+31))) then
tmp = z * (y / -a)
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 ((z <= -1.5e+112) || !(z <= 2.8e+31)) {
tmp = z * (y / -a);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -1.5e+112) or not (z <= 2.8e+31): tmp = z * (y / -a) else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -1.5e+112) || !(z <= 2.8e+31)) tmp = Float64(z * Float64(y / Float64(-a))); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -1.5e+112) || ~((z <= 2.8e+31))) tmp = z * (y / -a); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -1.5e+112], N[Not[LessEqual[z, 2.8e+31]], $MachinePrecision]], N[(z * N[(y / (-a)), $MachinePrecision]), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.5 \cdot 10^{+112} \lor \neg \left(z \leq 2.8 \cdot 10^{+31}\right):\\
\;\;\;\;z \cdot \frac{y}{-a}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -1.4999999999999999e112 or 2.80000000000000017e31 < z Initial program 87.3%
associate-/l*92.8%
Simplified92.8%
Taylor expanded in x around 0 71.7%
associate-*r/71.7%
neg-mul-171.7%
*-commutative71.7%
distribute-lft-neg-in71.7%
associate-*r/80.5%
*-commutative80.5%
neg-sub080.5%
sub-neg80.5%
+-commutative80.5%
associate--r+80.5%
neg-sub080.5%
remove-double-neg80.5%
Simplified80.5%
Taylor expanded in t around 0 69.4%
neg-mul-169.4%
Simplified69.4%
if -1.4999999999999999e112 < z < 2.80000000000000017e31Initial program 95.5%
associate-/l*96.1%
Simplified96.1%
Taylor expanded in x around inf 56.4%
Final simplification61.7%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -4.3e+107) (not (<= z 1.15e+31))) (* (/ z a) (- y)) x))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -4.3e+107) || !(z <= 1.15e+31)) {
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 ((z <= (-4.3d+107)) .or. (.not. (z <= 1.15d+31))) 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 ((z <= -4.3e+107) || !(z <= 1.15e+31)) {
tmp = (z / a) * -y;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -4.3e+107) or not (z <= 1.15e+31): tmp = (z / a) * -y else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -4.3e+107) || !(z <= 1.15e+31)) tmp = Float64(Float64(z / a) * Float64(-y)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -4.3e+107) || ~((z <= 1.15e+31))) tmp = (z / a) * -y; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -4.3e+107], N[Not[LessEqual[z, 1.15e+31]], $MachinePrecision]], N[(N[(z / a), $MachinePrecision] * (-y)), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -4.3 \cdot 10^{+107} \lor \neg \left(z \leq 1.15 \cdot 10^{+31}\right):\\
\;\;\;\;\frac{z}{a} \cdot \left(-y\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -4.3e107 or 1.15e31 < z Initial program 87.3%
associate-/l*92.8%
Simplified92.8%
Taylor expanded in z around inf 63.2%
mul-1-neg63.2%
associate-/l*65.1%
distribute-rgt-neg-in65.1%
distribute-frac-neg265.1%
Simplified65.1%
if -4.3e107 < z < 1.15e31Initial program 95.5%
associate-/l*96.1%
Simplified96.1%
Taylor expanded in x around inf 56.4%
Final simplification59.9%
(FPCore (x y z t a) :precision binary64 (if (<= z -5.6e+101) (* z (/ y (- a))) (if (<= z 5.9e+32) x (/ (- z) (/ a y)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -5.6e+101) {
tmp = z * (y / -a);
} else if (z <= 5.9e+32) {
tmp = x;
} else {
tmp = -z / (a / y);
}
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 <= (-5.6d+101)) then
tmp = z * (y / -a)
else if (z <= 5.9d+32) then
tmp = x
else
tmp = -z / (a / y)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -5.6e+101) {
tmp = z * (y / -a);
} else if (z <= 5.9e+32) {
tmp = x;
} else {
tmp = -z / (a / y);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -5.6e+101: tmp = z * (y / -a) elif z <= 5.9e+32: tmp = x else: tmp = -z / (a / y) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -5.6e+101) tmp = Float64(z * Float64(y / Float64(-a))); elseif (z <= 5.9e+32) tmp = x; else tmp = Float64(Float64(-z) / Float64(a / y)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -5.6e+101) tmp = z * (y / -a); elseif (z <= 5.9e+32) tmp = x; else tmp = -z / (a / y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -5.6e+101], N[(z * N[(y / (-a)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.9e+32], x, N[((-z) / N[(a / y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5.6 \cdot 10^{+101}:\\
\;\;\;\;z \cdot \frac{y}{-a}\\
\mathbf{elif}\;z \leq 5.9 \cdot 10^{+32}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;\frac{-z}{\frac{a}{y}}\\
\end{array}
\end{array}
if z < -5.59999999999999962e101Initial program 77.6%
associate-/l*92.7%
Simplified92.7%
Taylor expanded in x around 0 62.5%
associate-*r/62.5%
neg-mul-162.5%
*-commutative62.5%
distribute-lft-neg-in62.5%
associate-*r/77.3%
*-commutative77.3%
neg-sub077.3%
sub-neg77.3%
+-commutative77.3%
associate--r+77.3%
neg-sub077.3%
remove-double-neg77.3%
Simplified77.3%
Taylor expanded in t around 0 69.6%
neg-mul-169.6%
Simplified69.6%
if -5.59999999999999962e101 < z < 5.89999999999999965e32Initial program 95.5%
associate-/l*96.1%
Simplified96.1%
Taylor expanded in x around inf 56.4%
if 5.89999999999999965e32 < z Initial program 92.8%
associate-/l*92.8%
Simplified92.8%
Taylor expanded in z around inf 66.5%
mul-1-neg66.5%
associate-/l*65.2%
distribute-rgt-neg-in65.2%
distribute-frac-neg265.2%
Simplified65.2%
associate-*r/66.5%
add-sqr-sqrt29.3%
sqrt-unprod26.7%
sqr-neg26.7%
sqrt-unprod0.4%
add-sqr-sqrt5.5%
associate-*l/5.7%
*-commutative5.7%
clear-num5.7%
div-inv5.7%
frac-2neg5.7%
distribute-neg-frac5.7%
add-sqr-sqrt5.2%
sqrt-unprod42.1%
sqr-neg42.1%
sqrt-unprod38.6%
add-sqr-sqrt69.5%
Applied egg-rr69.5%
Final simplification61.7%
(FPCore (x y z t a) :precision binary64 (if (or (<= t -2.3e+99) (not (<= t 3.1e+159))) (* t (/ y a)) x))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -2.3e+99) || !(t <= 3.1e+159)) {
tmp = t * (y / a);
} 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 ((t <= (-2.3d+99)) .or. (.not. (t <= 3.1d+159))) then
tmp = t * (y / a)
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 ((t <= -2.3e+99) || !(t <= 3.1e+159)) {
tmp = t * (y / a);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (t <= -2.3e+99) or not (t <= 3.1e+159): tmp = t * (y / a) else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((t <= -2.3e+99) || !(t <= 3.1e+159)) tmp = Float64(t * Float64(y / a)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((t <= -2.3e+99) || ~((t <= 3.1e+159))) tmp = t * (y / a); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[t, -2.3e+99], N[Not[LessEqual[t, 3.1e+159]], $MachinePrecision]], N[(t * N[(y / a), $MachinePrecision]), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.3 \cdot 10^{+99} \lor \neg \left(t \leq 3.1 \cdot 10^{+159}\right):\\
\;\;\;\;t \cdot \frac{y}{a}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if t < -2.30000000000000019e99 or 3.0999999999999998e159 < t Initial program 85.5%
associate-/l*90.7%
Simplified90.7%
Taylor expanded in x around 0 69.2%
associate-*r/69.2%
neg-mul-169.2%
*-commutative69.2%
distribute-lft-neg-in69.2%
associate-*r/79.3%
*-commutative79.3%
neg-sub079.3%
sub-neg79.3%
+-commutative79.3%
associate--r+79.3%
neg-sub079.3%
remove-double-neg79.3%
Simplified79.3%
Taylor expanded in t around inf 70.0%
if -2.30000000000000019e99 < t < 3.0999999999999998e159Initial program 94.8%
associate-/l*96.4%
Simplified96.4%
Taylor expanded in x around inf 49.9%
Final simplification55.5%
(FPCore (x y z t a) :precision binary64 (if (or (<= t -2.15e+98) (not (<= t 9e+158))) (* y (/ t a)) x))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -2.15e+98) || !(t <= 9e+158)) {
tmp = y * (t / a);
} 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 ((t <= (-2.15d+98)) .or. (.not. (t <= 9d+158))) then
tmp = y * (t / a)
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 ((t <= -2.15e+98) || !(t <= 9e+158)) {
tmp = y * (t / a);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (t <= -2.15e+98) or not (t <= 9e+158): tmp = y * (t / a) else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((t <= -2.15e+98) || !(t <= 9e+158)) tmp = Float64(y * Float64(t / a)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((t <= -2.15e+98) || ~((t <= 9e+158))) tmp = y * (t / a); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[t, -2.15e+98], N[Not[LessEqual[t, 9e+158]], $MachinePrecision]], N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.15 \cdot 10^{+98} \lor \neg \left(t \leq 9 \cdot 10^{+158}\right):\\
\;\;\;\;y \cdot \frac{t}{a}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if t < -2.1500000000000001e98 or 9.00000000000000092e158 < t Initial program 85.5%
associate-/l*90.7%
Simplified90.7%
Taylor expanded in t around inf 61.2%
*-commutative61.2%
associate-/l*66.0%
Simplified66.0%
if -2.1500000000000001e98 < t < 9.00000000000000092e158Initial program 94.8%
associate-/l*96.4%
Simplified96.4%
Taylor expanded in x around inf 49.9%
Final simplification54.4%
(FPCore (x y z t a) :precision binary64 (+ x (/ y (/ a (- t z)))))
double code(double x, double y, double z, double t, double a) {
return x + (y / (a / (t - z)));
}
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 / (a / (t - z)))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (y / (a / (t - z)));
}
def code(x, y, z, t, a): return x + (y / (a / (t - z)))
function code(x, y, z, t, a) return Float64(x + Float64(y / Float64(a / Float64(t - z)))) end
function tmp = code(x, y, z, t, a) tmp = x + (y / (a / (t - z))); end
code[x_, y_, z_, t_, a_] := N[(x + N[(y / N[(a / N[(t - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y}{\frac{a}{t - z}}
\end{array}
Initial program 92.2%
associate-/l*94.8%
Simplified94.8%
clear-num94.7%
un-div-inv95.6%
Applied egg-rr95.6%
Final simplification95.6%
(FPCore (x y z t a) :precision binary64 (+ x (* y (/ (- t z) a))))
double code(double x, double y, double z, double t, double a) {
return x + (y * ((t - 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 * ((t - z) / a))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (y * ((t - z) / a));
}
def code(x, y, z, t, a): return x + (y * ((t - z) / a))
function code(x, y, z, t, a) return Float64(x + Float64(y * Float64(Float64(t - z) / a))) end
function tmp = code(x, y, z, t, a) tmp = x + (y * ((t - z) / a)); end
code[x_, y_, z_, t_, a_] := N[(x + N[(y * N[(N[(t - z), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + y \cdot \frac{t - z}{a}
\end{array}
Initial program 92.2%
associate-/l*94.8%
Simplified94.8%
Final simplification94.8%
(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 92.2%
associate-/l*94.8%
Simplified94.8%
Taylor expanded in x around inf 41.8%
(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 2024185
(FPCore (x y z t a)
:name "Optimisation.CirclePacking:place from circle-packing-0.1.0.4, F"
:precision binary64
:alt
(! :herbie-platform default (if (< y -430450648655599/4000000000000000000000000) (- x (/ 1 (/ (/ a (- z t)) y))) (if (< y 2894426862792089/10000000000000000000000000000000000000000000000000000000000000000) (- x (/ (* y (- z t)) a)) (- x (/ y (/ a (- z t)))))))
(- x (/ (* y (- z t)) a)))