
(FPCore (x y z t) :precision binary64 (+ (* (/ x y) (- z t)) t))
double code(double x, double y, double z, double t) {
return ((x / y) * (z - t)) + t;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = ((x / y) * (z - t)) + t
end function
public static double code(double x, double y, double z, double t) {
return ((x / y) * (z - t)) + t;
}
def code(x, y, z, t): return ((x / y) * (z - t)) + t
function code(x, y, z, t) return Float64(Float64(Float64(x / y) * Float64(z - t)) + t) end
function tmp = code(x, y, z, t) tmp = ((x / y) * (z - t)) + t; end
code[x_, y_, z_, t_] := N[(N[(N[(x / y), $MachinePrecision] * N[(z - t), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{y} \cdot \left(z - t\right) + t
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 8 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (+ (* (/ x y) (- z t)) t))
double code(double x, double y, double z, double t) {
return ((x / y) * (z - t)) + t;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = ((x / y) * (z - t)) + t
end function
public static double code(double x, double y, double z, double t) {
return ((x / y) * (z - t)) + t;
}
def code(x, y, z, t): return ((x / y) * (z - t)) + t
function code(x, y, z, t) return Float64(Float64(Float64(x / y) * Float64(z - t)) + t) end
function tmp = code(x, y, z, t) tmp = ((x / y) * (z - t)) + t; end
code[x_, y_, z_, t_] := N[(N[(N[(x / y), $MachinePrecision] * N[(z - t), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{y} \cdot \left(z - t\right) + t
\end{array}
(FPCore (x y z t) :precision binary64 (+ t (* (/ x y) (- z t))))
double code(double x, double y, double z, double t) {
return t + ((x / y) * (z - t));
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = t + ((x / y) * (z - t))
end function
public static double code(double x, double y, double z, double t) {
return t + ((x / y) * (z - t));
}
def code(x, y, z, t): return t + ((x / y) * (z - t))
function code(x, y, z, t) return Float64(t + Float64(Float64(x / y) * Float64(z - t))) end
function tmp = code(x, y, z, t) tmp = t + ((x / y) * (z - t)); end
code[x_, y_, z_, t_] := N[(t + N[(N[(x / y), $MachinePrecision] * N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
t + \frac{x}{y} \cdot \left(z - t\right)
\end{array}
Initial program 98.9%
Final simplification98.9%
(FPCore (x y z t) :precision binary64 (if (or (<= (/ x y) -2e+15) (not (<= (/ x y) 100.0))) (* (/ x y) (- t)) t))
double code(double x, double y, double z, double t) {
double tmp;
if (((x / y) <= -2e+15) || !((x / y) <= 100.0)) {
tmp = (x / y) * -t;
} else {
tmp = t;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (((x / y) <= (-2d+15)) .or. (.not. ((x / y) <= 100.0d0))) then
tmp = (x / y) * -t
else
tmp = t
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (((x / y) <= -2e+15) || !((x / y) <= 100.0)) {
tmp = (x / y) * -t;
} else {
tmp = t;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if ((x / y) <= -2e+15) or not ((x / y) <= 100.0): tmp = (x / y) * -t else: tmp = t return tmp
function code(x, y, z, t) tmp = 0.0 if ((Float64(x / y) <= -2e+15) || !(Float64(x / y) <= 100.0)) tmp = Float64(Float64(x / y) * Float64(-t)); else tmp = t; end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (((x / y) <= -2e+15) || ~(((x / y) <= 100.0))) tmp = (x / y) * -t; else tmp = t; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[N[(x / y), $MachinePrecision], -2e+15], N[Not[LessEqual[N[(x / y), $MachinePrecision], 100.0]], $MachinePrecision]], N[(N[(x / y), $MachinePrecision] * (-t)), $MachinePrecision], t]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{x}{y} \leq -2 \cdot 10^{+15} \lor \neg \left(\frac{x}{y} \leq 100\right):\\
\;\;\;\;\frac{x}{y} \cdot \left(-t\right)\\
\mathbf{else}:\\
\;\;\;\;t\\
\end{array}
\end{array}
if (/.f64 x y) < -2e15 or 100 < (/.f64 x y) Initial program 99.1%
Taylor expanded in z around 0 46.1%
mul-1-neg46.1%
associate-/l*53.3%
Simplified53.3%
+-commutative53.3%
unsub-neg53.3%
div-inv54.0%
clear-num54.0%
Applied egg-rr54.0%
Taylor expanded in x around inf 45.8%
mul-1-neg45.8%
associate-*l/48.7%
distribute-rgt-neg-in48.7%
*-commutative48.7%
Simplified48.7%
Taylor expanded in x around 0 45.8%
mul-1-neg45.8%
associate-*r/53.4%
distribute-lft-neg-out53.4%
*-commutative53.4%
Simplified53.4%
if -2e15 < (/.f64 x y) < 100Initial program 98.7%
remove-double-neg98.7%
unsub-neg98.7%
associate-*l/93.5%
associate-*r/87.2%
fma-neg87.2%
remove-double-neg87.2%
Simplified87.2%
Taylor expanded in x around 0 70.2%
Final simplification62.3%
(FPCore (x y z t) :precision binary64 (if (or (<= z -1.95e-80) (not (<= z 8.5e-27))) (+ t (* (/ x y) z)) (* t (- 1.0 (/ x y)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -1.95e-80) || !(z <= 8.5e-27)) {
tmp = t + ((x / y) * z);
} else {
tmp = t * (1.0 - (x / y));
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if ((z <= (-1.95d-80)) .or. (.not. (z <= 8.5d-27))) then
tmp = t + ((x / y) * z)
else
tmp = t * (1.0d0 - (x / y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -1.95e-80) || !(z <= 8.5e-27)) {
tmp = t + ((x / y) * z);
} else {
tmp = t * (1.0 - (x / y));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z <= -1.95e-80) or not (z <= 8.5e-27): tmp = t + ((x / y) * z) else: tmp = t * (1.0 - (x / y)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((z <= -1.95e-80) || !(z <= 8.5e-27)) tmp = Float64(t + Float64(Float64(x / y) * z)); else tmp = Float64(t * Float64(1.0 - Float64(x / y))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z <= -1.95e-80) || ~((z <= 8.5e-27))) tmp = t + ((x / y) * z); else tmp = t * (1.0 - (x / y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[z, -1.95e-80], N[Not[LessEqual[z, 8.5e-27]], $MachinePrecision]], N[(t + N[(N[(x / y), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision], N[(t * N[(1.0 - N[(x / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.95 \cdot 10^{-80} \lor \neg \left(z \leq 8.5 \cdot 10^{-27}\right):\\
\;\;\;\;t + \frac{x}{y} \cdot z\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(1 - \frac{x}{y}\right)\\
\end{array}
\end{array}
if z < -1.9499999999999999e-80 or 8.50000000000000033e-27 < z Initial program 98.9%
Taylor expanded in z around inf 87.6%
associate-*l/89.7%
*-commutative89.7%
Simplified89.7%
if -1.9499999999999999e-80 < z < 8.50000000000000033e-27Initial program 99.0%
remove-double-neg99.0%
unsub-neg99.0%
associate-*l/91.7%
associate-*r/96.1%
fma-neg96.1%
remove-double-neg96.1%
Simplified96.1%
Taylor expanded in z around 0 81.8%
mul-1-neg81.8%
*-rgt-identity81.8%
associate-*r/87.7%
distribute-rgt-neg-in87.7%
mul-1-neg87.7%
distribute-lft-in87.6%
mul-1-neg87.6%
unsub-neg87.6%
Simplified87.6%
Final simplification88.9%
(FPCore (x y z t) :precision binary64 (if (or (<= z -1.6e-80) (not (<= z 4.8e-22))) (+ t (* (/ x y) z)) (- t (* (/ x y) t))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -1.6e-80) || !(z <= 4.8e-22)) {
tmp = t + ((x / y) * z);
} else {
tmp = t - ((x / y) * t);
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if ((z <= (-1.6d-80)) .or. (.not. (z <= 4.8d-22))) then
tmp = t + ((x / y) * z)
else
tmp = t - ((x / y) * t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -1.6e-80) || !(z <= 4.8e-22)) {
tmp = t + ((x / y) * z);
} else {
tmp = t - ((x / y) * t);
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z <= -1.6e-80) or not (z <= 4.8e-22): tmp = t + ((x / y) * z) else: tmp = t - ((x / y) * t) return tmp
function code(x, y, z, t) tmp = 0.0 if ((z <= -1.6e-80) || !(z <= 4.8e-22)) tmp = Float64(t + Float64(Float64(x / y) * z)); else tmp = Float64(t - Float64(Float64(x / y) * t)); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z <= -1.6e-80) || ~((z <= 4.8e-22))) tmp = t + ((x / y) * z); else tmp = t - ((x / y) * t); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[z, -1.6e-80], N[Not[LessEqual[z, 4.8e-22]], $MachinePrecision]], N[(t + N[(N[(x / y), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision], N[(t - N[(N[(x / y), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.6 \cdot 10^{-80} \lor \neg \left(z \leq 4.8 \cdot 10^{-22}\right):\\
\;\;\;\;t + \frac{x}{y} \cdot z\\
\mathbf{else}:\\
\;\;\;\;t - \frac{x}{y} \cdot t\\
\end{array}
\end{array}
if z < -1.5999999999999999e-80 or 4.80000000000000005e-22 < z Initial program 98.9%
Taylor expanded in z around inf 87.6%
associate-*l/89.7%
*-commutative89.7%
Simplified89.7%
if -1.5999999999999999e-80 < z < 4.80000000000000005e-22Initial program 99.0%
Taylor expanded in z around 0 81.8%
mul-1-neg81.8%
associate-/l*87.7%
Simplified87.7%
+-commutative87.7%
unsub-neg87.7%
div-inv87.6%
clear-num87.7%
Applied egg-rr87.7%
Final simplification88.9%
(FPCore (x y z t) :precision binary64 (if (or (<= z -1.95e-80) (not (<= z 2.8e-25))) (+ t (* (/ x y) z)) (- t (/ t (/ y x)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -1.95e-80) || !(z <= 2.8e-25)) {
tmp = t + ((x / y) * z);
} else {
tmp = t - (t / (y / x));
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if ((z <= (-1.95d-80)) .or. (.not. (z <= 2.8d-25))) then
tmp = t + ((x / y) * z)
else
tmp = t - (t / (y / x))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -1.95e-80) || !(z <= 2.8e-25)) {
tmp = t + ((x / y) * z);
} else {
tmp = t - (t / (y / x));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z <= -1.95e-80) or not (z <= 2.8e-25): tmp = t + ((x / y) * z) else: tmp = t - (t / (y / x)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((z <= -1.95e-80) || !(z <= 2.8e-25)) tmp = Float64(t + Float64(Float64(x / y) * z)); else tmp = Float64(t - Float64(t / Float64(y / x))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z <= -1.95e-80) || ~((z <= 2.8e-25))) tmp = t + ((x / y) * z); else tmp = t - (t / (y / x)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[z, -1.95e-80], N[Not[LessEqual[z, 2.8e-25]], $MachinePrecision]], N[(t + N[(N[(x / y), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision], N[(t - N[(t / N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.95 \cdot 10^{-80} \lor \neg \left(z \leq 2.8 \cdot 10^{-25}\right):\\
\;\;\;\;t + \frac{x}{y} \cdot z\\
\mathbf{else}:\\
\;\;\;\;t - \frac{t}{\frac{y}{x}}\\
\end{array}
\end{array}
if z < -1.9499999999999999e-80 or 2.79999999999999988e-25 < z Initial program 98.9%
Taylor expanded in z around inf 87.6%
associate-*l/89.7%
*-commutative89.7%
Simplified89.7%
if -1.9499999999999999e-80 < z < 2.79999999999999988e-25Initial program 99.0%
Taylor expanded in z around 0 81.8%
mul-1-neg81.8%
associate-/l*87.7%
Simplified87.7%
+-commutative87.7%
unsub-neg87.7%
div-inv87.6%
clear-num87.7%
Applied egg-rr87.7%
associate-*r/81.8%
associate-/l*87.7%
Applied egg-rr87.7%
Final simplification88.9%
(FPCore (x y z t) :precision binary64 (if (or (<= x -3e+92) (not (<= x 3e+79))) (* (- x) (/ t y)) t))
double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -3e+92) || !(x <= 3e+79)) {
tmp = -x * (t / y);
} else {
tmp = t;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if ((x <= (-3d+92)) .or. (.not. (x <= 3d+79))) then
tmp = -x * (t / y)
else
tmp = t
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((x <= -3e+92) || !(x <= 3e+79)) {
tmp = -x * (t / y);
} else {
tmp = t;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (x <= -3e+92) or not (x <= 3e+79): tmp = -x * (t / y) else: tmp = t return tmp
function code(x, y, z, t) tmp = 0.0 if ((x <= -3e+92) || !(x <= 3e+79)) tmp = Float64(Float64(-x) * Float64(t / y)); else tmp = t; end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((x <= -3e+92) || ~((x <= 3e+79))) tmp = -x * (t / y); else tmp = t; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[x, -3e+92], N[Not[LessEqual[x, 3e+79]], $MachinePrecision]], N[((-x) * N[(t / y), $MachinePrecision]), $MachinePrecision], t]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3 \cdot 10^{+92} \lor \neg \left(x \leq 3 \cdot 10^{+79}\right):\\
\;\;\;\;\left(-x\right) \cdot \frac{t}{y}\\
\mathbf{else}:\\
\;\;\;\;t\\
\end{array}
\end{array}
if x < -3.00000000000000013e92 or 2.99999999999999974e79 < x Initial program 98.9%
Taylor expanded in z around 0 49.6%
mul-1-neg49.6%
associate-/l*61.1%
Simplified61.1%
+-commutative61.1%
unsub-neg61.1%
div-inv62.1%
clear-num62.1%
Applied egg-rr62.1%
Taylor expanded in x around inf 44.1%
mul-1-neg44.1%
associate-*l/47.3%
distribute-rgt-neg-in47.3%
*-commutative47.3%
Simplified47.3%
if -3.00000000000000013e92 < x < 2.99999999999999974e79Initial program 98.9%
remove-double-neg98.9%
unsub-neg98.9%
associate-*l/95.3%
associate-*r/85.7%
fma-neg85.7%
remove-double-neg85.7%
Simplified85.7%
Taylor expanded in x around 0 52.9%
Final simplification50.9%
(FPCore (x y z t) :precision binary64 (* t (- 1.0 (/ x y))))
double code(double x, double y, double z, double t) {
return t * (1.0 - (x / y));
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = t * (1.0d0 - (x / y))
end function
public static double code(double x, double y, double z, double t) {
return t * (1.0 - (x / y));
}
def code(x, y, z, t): return t * (1.0 - (x / y))
function code(x, y, z, t) return Float64(t * Float64(1.0 - Float64(x / y))) end
function tmp = code(x, y, z, t) tmp = t * (1.0 - (x / y)); end
code[x_, y_, z_, t_] := N[(t * N[(1.0 - N[(x / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
t \cdot \left(1 - \frac{x}{y}\right)
\end{array}
Initial program 98.9%
remove-double-neg98.9%
unsub-neg98.9%
associate-*l/92.5%
associate-*r/89.6%
fma-neg89.5%
remove-double-neg89.5%
Simplified89.5%
Taylor expanded in z around 0 57.0%
mul-1-neg57.0%
*-rgt-identity57.0%
associate-*r/63.0%
distribute-rgt-neg-in63.0%
mul-1-neg63.0%
distribute-lft-in63.0%
mul-1-neg63.0%
unsub-neg63.0%
Simplified63.0%
Final simplification63.0%
(FPCore (x y z t) :precision binary64 t)
double code(double x, double y, double z, double t) {
return t;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = t
end function
public static double code(double x, double y, double z, double t) {
return t;
}
def code(x, y, z, t): return t
function code(x, y, z, t) return t end
function tmp = code(x, y, z, t) tmp = t; end
code[x_, y_, z_, t_] := t
\begin{array}{l}
\\
t
\end{array}
Initial program 98.9%
remove-double-neg98.9%
unsub-neg98.9%
associate-*l/92.5%
associate-*r/89.6%
fma-neg89.5%
remove-double-neg89.5%
Simplified89.5%
Taylor expanded in x around 0 38.4%
Final simplification38.4%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (+ (* (/ x y) (- z t)) t)))
(if (< z 2.759456554562692e-282)
t_1
(if (< z 2.326994450874436e-110) (+ (* x (/ (- z t) y)) t) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = ((x / y) * (z - t)) + t;
double tmp;
if (z < 2.759456554562692e-282) {
tmp = t_1;
} else if (z < 2.326994450874436e-110) {
tmp = (x * ((z - t) / y)) + t;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = ((x / y) * (z - t)) + t
if (z < 2.759456554562692d-282) then
tmp = t_1
else if (z < 2.326994450874436d-110) then
tmp = (x * ((z - t) / y)) + t
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = ((x / y) * (z - t)) + t;
double tmp;
if (z < 2.759456554562692e-282) {
tmp = t_1;
} else if (z < 2.326994450874436e-110) {
tmp = (x * ((z - t) / y)) + t;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = ((x / y) * (z - t)) + t tmp = 0 if z < 2.759456554562692e-282: tmp = t_1 elif z < 2.326994450874436e-110: tmp = (x * ((z - t) / y)) + t else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(Float64(Float64(x / y) * Float64(z - t)) + t) tmp = 0.0 if (z < 2.759456554562692e-282) tmp = t_1; elseif (z < 2.326994450874436e-110) tmp = Float64(Float64(x * Float64(Float64(z - t) / y)) + t); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = ((x / y) * (z - t)) + t; tmp = 0.0; if (z < 2.759456554562692e-282) tmp = t_1; elseif (z < 2.326994450874436e-110) tmp = (x * ((z - t) / y)) + t; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(N[(x / y), $MachinePrecision] * N[(z - t), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]}, If[Less[z, 2.759456554562692e-282], t$95$1, If[Less[z, 2.326994450874436e-110], N[(N[(x * N[(N[(z - t), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{y} \cdot \left(z - t\right) + t\\
\mathbf{if}\;z < 2.759456554562692 \cdot 10^{-282}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z < 2.326994450874436 \cdot 10^{-110}:\\
\;\;\;\;x \cdot \frac{z - t}{y} + t\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
herbie shell --seed 2023310
(FPCore (x y z t)
:name "Numeric.Signal.Multichannel:$cget from hsignal-0.2.7.1"
:precision binary64
:herbie-target
(if (< z 2.759456554562692e-282) (+ (* (/ x y) (- z t)) t) (if (< z 2.326994450874436e-110) (+ (* x (/ (- z t) y)) t) (+ (* (/ x y) (- z t)) t)))
(+ (* (/ x y) (- z t)) t))