
(FPCore (x y z t a) :precision binary64 (- x (/ (- y z) (/ (+ (- t z) 1.0) a))))
double code(double x, double y, double z, double t, double a) {
return x - ((y - z) / (((t - z) + 1.0) / 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 - z) + 1.0d0) / a))
end function
public static double code(double x, double y, double z, double t, double a) {
return x - ((y - z) / (((t - z) + 1.0) / a));
}
def code(x, y, z, t, a): return x - ((y - z) / (((t - z) + 1.0) / a))
function code(x, y, z, t, a) return Float64(x - Float64(Float64(y - z) / Float64(Float64(Float64(t - z) + 1.0) / a))) end
function tmp = code(x, y, z, t, a) tmp = x - ((y - z) / (((t - z) + 1.0) / a)); end
code[x_, y_, z_, t_, a_] := N[(x - N[(N[(y - z), $MachinePrecision] / N[(N[(N[(t - z), $MachinePrecision] + 1.0), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x - \frac{y - z}{\frac{\left(t - z\right) + 1}{a}}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 12 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a) :precision binary64 (- x (/ (- y z) (/ (+ (- t z) 1.0) a))))
double code(double x, double y, double z, double t, double a) {
return x - ((y - z) / (((t - z) + 1.0) / 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 - z) + 1.0d0) / a))
end function
public static double code(double x, double y, double z, double t, double a) {
return x - ((y - z) / (((t - z) + 1.0) / a));
}
def code(x, y, z, t, a): return x - ((y - z) / (((t - z) + 1.0) / a))
function code(x, y, z, t, a) return Float64(x - Float64(Float64(y - z) / Float64(Float64(Float64(t - z) + 1.0) / a))) end
function tmp = code(x, y, z, t, a) tmp = x - ((y - z) / (((t - z) + 1.0) / a)); end
code[x_, y_, z_, t_, a_] := N[(x - N[(N[(y - z), $MachinePrecision] / N[(N[(N[(t - z), $MachinePrecision] + 1.0), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x - \frac{y - z}{\frac{\left(t - z\right) + 1}{a}}
\end{array}
(FPCore (x y z t a) :precision binary64 (+ x (* a (/ (- y z) (- -1.0 (- t z))))))
double code(double x, double y, double z, double t, double a) {
return x + (a * ((y - z) / (-1.0 - (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 + (a * ((y - z) / ((-1.0d0) - (t - z))))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + (a * ((y - z) / (-1.0 - (t - z))));
}
def code(x, y, z, t, a): return x + (a * ((y - z) / (-1.0 - (t - z))))
function code(x, y, z, t, a) return Float64(x + Float64(a * Float64(Float64(y - z) / Float64(-1.0 - Float64(t - z))))) end
function tmp = code(x, y, z, t, a) tmp = x + (a * ((y - z) / (-1.0 - (t - z)))); end
code[x_, y_, z_, t_, a_] := N[(x + N[(a * N[(N[(y - z), $MachinePrecision] / N[(-1.0 - N[(t - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + a \cdot \frac{y - z}{-1 - \left(t - z\right)}
\end{array}
Initial program 97.0%
associate-/r/99.9%
Simplified99.9%
Final simplification99.9%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (+ x (* a (/ z (- 1.0 z))))) (t_2 (+ x (* a (/ y (+ z -1.0))))))
(if (<= t -1.05e+210)
(+ x (* z (/ a t)))
(if (<= t -1.04e-103)
t_1
(if (<= t 1.1e-238)
t_2
(if (<= t 1.25e-119)
t_1
(if (<= t 1.9e+82) t_2 (- x (* y (/ a t))))))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = x + (a * (z / (1.0 - z)));
double t_2 = x + (a * (y / (z + -1.0)));
double tmp;
if (t <= -1.05e+210) {
tmp = x + (z * (a / t));
} else if (t <= -1.04e-103) {
tmp = t_1;
} else if (t <= 1.1e-238) {
tmp = t_2;
} else if (t <= 1.25e-119) {
tmp = t_1;
} else if (t <= 1.9e+82) {
tmp = t_2;
} 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) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x + (a * (z / (1.0d0 - z)))
t_2 = x + (a * (y / (z + (-1.0d0))))
if (t <= (-1.05d+210)) then
tmp = x + (z * (a / t))
else if (t <= (-1.04d-103)) then
tmp = t_1
else if (t <= 1.1d-238) then
tmp = t_2
else if (t <= 1.25d-119) then
tmp = t_1
else if (t <= 1.9d+82) then
tmp = t_2
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 t_1 = x + (a * (z / (1.0 - z)));
double t_2 = x + (a * (y / (z + -1.0)));
double tmp;
if (t <= -1.05e+210) {
tmp = x + (z * (a / t));
} else if (t <= -1.04e-103) {
tmp = t_1;
} else if (t <= 1.1e-238) {
tmp = t_2;
} else if (t <= 1.25e-119) {
tmp = t_1;
} else if (t <= 1.9e+82) {
tmp = t_2;
} else {
tmp = x - (y * (a / t));
}
return tmp;
}
def code(x, y, z, t, a): t_1 = x + (a * (z / (1.0 - z))) t_2 = x + (a * (y / (z + -1.0))) tmp = 0 if t <= -1.05e+210: tmp = x + (z * (a / t)) elif t <= -1.04e-103: tmp = t_1 elif t <= 1.1e-238: tmp = t_2 elif t <= 1.25e-119: tmp = t_1 elif t <= 1.9e+82: tmp = t_2 else: tmp = x - (y * (a / t)) return tmp
function code(x, y, z, t, a) t_1 = Float64(x + Float64(a * Float64(z / Float64(1.0 - z)))) t_2 = Float64(x + Float64(a * Float64(y / Float64(z + -1.0)))) tmp = 0.0 if (t <= -1.05e+210) tmp = Float64(x + Float64(z * Float64(a / t))); elseif (t <= -1.04e-103) tmp = t_1; elseif (t <= 1.1e-238) tmp = t_2; elseif (t <= 1.25e-119) tmp = t_1; elseif (t <= 1.9e+82) tmp = t_2; else tmp = Float64(x - Float64(y * Float64(a / t))); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = x + (a * (z / (1.0 - z))); t_2 = x + (a * (y / (z + -1.0))); tmp = 0.0; if (t <= -1.05e+210) tmp = x + (z * (a / t)); elseif (t <= -1.04e-103) tmp = t_1; elseif (t <= 1.1e-238) tmp = t_2; elseif (t <= 1.25e-119) tmp = t_1; elseif (t <= 1.9e+82) tmp = t_2; else tmp = x - (y * (a / t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(x + N[(a * N[(z / N[(1.0 - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x + N[(a * N[(y / N[(z + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.05e+210], N[(x + N[(z * N[(a / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.04e-103], t$95$1, If[LessEqual[t, 1.1e-238], t$95$2, If[LessEqual[t, 1.25e-119], t$95$1, If[LessEqual[t, 1.9e+82], t$95$2, N[(x - N[(y * N[(a / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + a \cdot \frac{z}{1 - z}\\
t_2 := x + a \cdot \frac{y}{z + -1}\\
\mathbf{if}\;t \leq -1.05 \cdot 10^{+210}:\\
\;\;\;\;x + z \cdot \frac{a}{t}\\
\mathbf{elif}\;t \leq -1.04 \cdot 10^{-103}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.1 \cdot 10^{-238}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 1.25 \cdot 10^{-119}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.9 \cdot 10^{+82}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;x - y \cdot \frac{a}{t}\\
\end{array}
\end{array}
if t < -1.0499999999999999e210Initial program 99.9%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in y around 0 76.5%
mul-1-neg76.5%
*-commutative76.5%
associate--l+76.5%
+-commutative76.5%
associate-*r/98.0%
distribute-rgt-neg-in98.0%
distribute-neg-frac98.0%
+-commutative98.0%
associate--l+98.0%
Simplified98.0%
Taylor expanded in t around inf 91.9%
associate-*r/91.9%
mul-1-neg91.9%
Simplified91.9%
if -1.0499999999999999e210 < t < -1.04000000000000001e-103 or 1.09999999999999996e-238 < t < 1.24999999999999998e-119Initial program 94.8%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in y around 0 71.3%
mul-1-neg71.3%
*-commutative71.3%
associate--l+71.3%
+-commutative71.3%
associate-*r/80.4%
distribute-rgt-neg-in80.4%
distribute-neg-frac80.4%
+-commutative80.4%
associate--l+80.4%
Simplified80.4%
Taylor expanded in t around 0 69.4%
sub-neg69.4%
mul-1-neg69.4%
remove-double-neg69.4%
associate-/l*81.0%
Simplified81.0%
if -1.04000000000000001e-103 < t < 1.09999999999999996e-238 or 1.24999999999999998e-119 < t < 1.90000000000000017e82Initial program 97.0%
associate-/r/99.9%
Simplified99.9%
*-commutative99.9%
clear-num99.9%
un-div-inv99.8%
Applied egg-rr99.8%
Taylor expanded in t around 0 95.4%
Taylor expanded in y around inf 69.3%
associate-/l*73.2%
Simplified73.2%
if 1.90000000000000017e82 < t Initial program 99.9%
Taylor expanded in t around inf 87.8%
Taylor expanded in y around inf 75.9%
*-commutative75.9%
associate-*r/91.7%
Simplified91.7%
Final simplification81.1%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* a (/ y (+ z (- -1.0 t))))))
(if (<= y -1.88e+230)
t_1
(if (<= y -7.2e+172)
(- x (* a (/ y t)))
(if (or (<= y -2.8e+128) (not (<= y 3.1e+139)))
t_1
(+ x (* a (/ z (- 1.0 z)))))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = a * (y / (z + (-1.0 - t)));
double tmp;
if (y <= -1.88e+230) {
tmp = t_1;
} else if (y <= -7.2e+172) {
tmp = x - (a * (y / t));
} else if ((y <= -2.8e+128) || !(y <= 3.1e+139)) {
tmp = t_1;
} else {
tmp = x + (a * (z / (1.0 - 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) :: t_1
real(8) :: tmp
t_1 = a * (y / (z + ((-1.0d0) - t)))
if (y <= (-1.88d+230)) then
tmp = t_1
else if (y <= (-7.2d+172)) then
tmp = x - (a * (y / t))
else if ((y <= (-2.8d+128)) .or. (.not. (y <= 3.1d+139))) then
tmp = t_1
else
tmp = x + (a * (z / (1.0d0 - z)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double t_1 = a * (y / (z + (-1.0 - t)));
double tmp;
if (y <= -1.88e+230) {
tmp = t_1;
} else if (y <= -7.2e+172) {
tmp = x - (a * (y / t));
} else if ((y <= -2.8e+128) || !(y <= 3.1e+139)) {
tmp = t_1;
} else {
tmp = x + (a * (z / (1.0 - z)));
}
return tmp;
}
def code(x, y, z, t, a): t_1 = a * (y / (z + (-1.0 - t))) tmp = 0 if y <= -1.88e+230: tmp = t_1 elif y <= -7.2e+172: tmp = x - (a * (y / t)) elif (y <= -2.8e+128) or not (y <= 3.1e+139): tmp = t_1 else: tmp = x + (a * (z / (1.0 - z))) return tmp
function code(x, y, z, t, a) t_1 = Float64(a * Float64(y / Float64(z + Float64(-1.0 - t)))) tmp = 0.0 if (y <= -1.88e+230) tmp = t_1; elseif (y <= -7.2e+172) tmp = Float64(x - Float64(a * Float64(y / t))); elseif ((y <= -2.8e+128) || !(y <= 3.1e+139)) tmp = t_1; else tmp = Float64(x + Float64(a * Float64(z / Float64(1.0 - z)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = a * (y / (z + (-1.0 - t))); tmp = 0.0; if (y <= -1.88e+230) tmp = t_1; elseif (y <= -7.2e+172) tmp = x - (a * (y / t)); elseif ((y <= -2.8e+128) || ~((y <= 3.1e+139))) tmp = t_1; else tmp = x + (a * (z / (1.0 - z))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(a * N[(y / N[(z + N[(-1.0 - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.88e+230], t$95$1, If[LessEqual[y, -7.2e+172], N[(x - N[(a * N[(y / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y, -2.8e+128], N[Not[LessEqual[y, 3.1e+139]], $MachinePrecision]], t$95$1, N[(x + N[(a * N[(z / N[(1.0 - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \frac{y}{z + \left(-1 - t\right)}\\
\mathbf{if}\;y \leq -1.88 \cdot 10^{+230}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -7.2 \cdot 10^{+172}:\\
\;\;\;\;x - a \cdot \frac{y}{t}\\
\mathbf{elif}\;y \leq -2.8 \cdot 10^{+128} \lor \neg \left(y \leq 3.1 \cdot 10^{+139}\right):\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;x + a \cdot \frac{z}{1 - z}\\
\end{array}
\end{array}
if y < -1.88e230 or -7.1999999999999995e172 < y < -2.79999999999999983e128 or 3.1e139 < y Initial program 95.3%
sub-neg95.3%
+-commutative95.3%
associate-/r/99.8%
distribute-rgt-neg-in99.8%
associate-*l/74.4%
associate-/l*95.5%
fma-define95.5%
distribute-frac-neg95.5%
distribute-neg-frac295.5%
distribute-neg-in95.5%
sub-neg95.5%
distribute-neg-in95.5%
remove-double-neg95.5%
+-commutative95.5%
sub-neg95.5%
metadata-eval95.5%
Simplified95.5%
Taylor expanded in y around inf 49.5%
associate-/l*63.8%
Simplified63.8%
if -1.88e230 < y < -7.1999999999999995e172Initial program 100.0%
associate-/r/100.0%
Simplified100.0%
Taylor expanded in t around inf 83.9%
Taylor expanded in y around inf 76.3%
associate-/l*84.2%
Simplified84.2%
if -2.79999999999999983e128 < y < 3.1e139Initial program 97.4%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in y around 0 77.1%
mul-1-neg77.1%
*-commutative77.1%
associate--l+77.1%
+-commutative77.1%
associate-*r/87.5%
distribute-rgt-neg-in87.5%
distribute-neg-frac87.5%
+-commutative87.5%
associate--l+87.5%
Simplified87.5%
Taylor expanded in t around 0 72.4%
sub-neg72.4%
mul-1-neg72.4%
remove-double-neg72.4%
associate-/l*81.5%
Simplified81.5%
Final simplification77.0%
(FPCore (x y z t a)
:precision binary64
(if (<= z -3.6e+100)
(- x a)
(if (<= z -720000000000.0)
(+ x (* a (/ y (+ z -1.0))))
(if (or (<= z -1.8e-16) (not (<= z 4.4e-22)))
(+ x (* a (/ z (- 1.0 z))))
(- x (* a (/ y (+ t 1.0))))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -3.6e+100) {
tmp = x - a;
} else if (z <= -720000000000.0) {
tmp = x + (a * (y / (z + -1.0)));
} else if ((z <= -1.8e-16) || !(z <= 4.4e-22)) {
tmp = x + (a * (z / (1.0 - z)));
} else {
tmp = x - (a * (y / (t + 1.0)));
}
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 <= (-3.6d+100)) then
tmp = x - a
else if (z <= (-720000000000.0d0)) then
tmp = x + (a * (y / (z + (-1.0d0))))
else if ((z <= (-1.8d-16)) .or. (.not. (z <= 4.4d-22))) then
tmp = x + (a * (z / (1.0d0 - z)))
else
tmp = x - (a * (y / (t + 1.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -3.6e+100) {
tmp = x - a;
} else if (z <= -720000000000.0) {
tmp = x + (a * (y / (z + -1.0)));
} else if ((z <= -1.8e-16) || !(z <= 4.4e-22)) {
tmp = x + (a * (z / (1.0 - z)));
} else {
tmp = x - (a * (y / (t + 1.0)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -3.6e+100: tmp = x - a elif z <= -720000000000.0: tmp = x + (a * (y / (z + -1.0))) elif (z <= -1.8e-16) or not (z <= 4.4e-22): tmp = x + (a * (z / (1.0 - z))) else: tmp = x - (a * (y / (t + 1.0))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -3.6e+100) tmp = Float64(x - a); elseif (z <= -720000000000.0) tmp = Float64(x + Float64(a * Float64(y / Float64(z + -1.0)))); elseif ((z <= -1.8e-16) || !(z <= 4.4e-22)) tmp = Float64(x + Float64(a * Float64(z / Float64(1.0 - z)))); else tmp = Float64(x - Float64(a * Float64(y / Float64(t + 1.0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -3.6e+100) tmp = x - a; elseif (z <= -720000000000.0) tmp = x + (a * (y / (z + -1.0))); elseif ((z <= -1.8e-16) || ~((z <= 4.4e-22))) tmp = x + (a * (z / (1.0 - z))); else tmp = x - (a * (y / (t + 1.0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -3.6e+100], N[(x - a), $MachinePrecision], If[LessEqual[z, -720000000000.0], N[(x + N[(a * N[(y / N[(z + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[z, -1.8e-16], N[Not[LessEqual[z, 4.4e-22]], $MachinePrecision]], N[(x + N[(a * N[(z / N[(1.0 - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(a * N[(y / N[(t + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.6 \cdot 10^{+100}:\\
\;\;\;\;x - a\\
\mathbf{elif}\;z \leq -720000000000:\\
\;\;\;\;x + a \cdot \frac{y}{z + -1}\\
\mathbf{elif}\;z \leq -1.8 \cdot 10^{-16} \lor \neg \left(z \leq 4.4 \cdot 10^{-22}\right):\\
\;\;\;\;x + a \cdot \frac{z}{1 - z}\\
\mathbf{else}:\\
\;\;\;\;x - a \cdot \frac{y}{t + 1}\\
\end{array}
\end{array}
if z < -3.6e100Initial program 95.8%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in z around inf 80.4%
if -3.6e100 < z < -7.2e11Initial program 94.6%
associate-/r/99.7%
Simplified99.7%
*-commutative99.7%
clear-num99.7%
un-div-inv99.9%
Applied egg-rr99.9%
Taylor expanded in t around 0 77.1%
Taylor expanded in y around inf 76.8%
associate-/l*81.8%
Simplified81.8%
if -7.2e11 < z < -1.79999999999999991e-16 or 4.4000000000000001e-22 < z Initial program 93.4%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in y around 0 68.7%
mul-1-neg68.7%
*-commutative68.7%
associate--l+68.7%
+-commutative68.7%
associate-*r/82.6%
distribute-rgt-neg-in82.6%
distribute-neg-frac82.6%
+-commutative82.6%
associate--l+82.6%
Simplified82.6%
Taylor expanded in t around 0 63.1%
sub-neg63.1%
mul-1-neg63.1%
remove-double-neg63.1%
associate-/l*77.4%
Simplified77.4%
if -1.79999999999999991e-16 < z < 4.4000000000000001e-22Initial program 99.8%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in z around 0 93.0%
Final simplification85.7%
(FPCore (x y z t a)
:precision binary64
(if (<= z -15.2)
(- x a)
(if (<= z -8.5e-298)
(- x (* y a))
(if (<= z 1.9e-6) (- x (* a (/ y t))) (- x a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -15.2) {
tmp = x - a;
} else if (z <= -8.5e-298) {
tmp = x - (y * a);
} else if (z <= 1.9e-6) {
tmp = x - (a * (y / t));
} else {
tmp = x - 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 <= (-15.2d0)) then
tmp = x - a
else if (z <= (-8.5d-298)) then
tmp = x - (y * a)
else if (z <= 1.9d-6) then
tmp = x - (a * (y / t))
else
tmp = x - 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 <= -15.2) {
tmp = x - a;
} else if (z <= -8.5e-298) {
tmp = x - (y * a);
} else if (z <= 1.9e-6) {
tmp = x - (a * (y / t));
} else {
tmp = x - a;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -15.2: tmp = x - a elif z <= -8.5e-298: tmp = x - (y * a) elif z <= 1.9e-6: tmp = x - (a * (y / t)) else: tmp = x - a return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -15.2) tmp = Float64(x - a); elseif (z <= -8.5e-298) tmp = Float64(x - Float64(y * a)); elseif (z <= 1.9e-6) tmp = Float64(x - Float64(a * Float64(y / t))); else tmp = Float64(x - a); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -15.2) tmp = x - a; elseif (z <= -8.5e-298) tmp = x - (y * a); elseif (z <= 1.9e-6) tmp = x - (a * (y / t)); else tmp = x - a; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -15.2], N[(x - a), $MachinePrecision], If[LessEqual[z, -8.5e-298], N[(x - N[(y * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.9e-6], N[(x - N[(a * N[(y / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - a), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -15.2:\\
\;\;\;\;x - a\\
\mathbf{elif}\;z \leq -8.5 \cdot 10^{-298}:\\
\;\;\;\;x - y \cdot a\\
\mathbf{elif}\;z \leq 1.9 \cdot 10^{-6}:\\
\;\;\;\;x - a \cdot \frac{y}{t}\\
\mathbf{else}:\\
\;\;\;\;x - a\\
\end{array}
\end{array}
if z < -15.199999999999999 or 1.9e-6 < z Initial program 94.2%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in z around inf 75.4%
if -15.199999999999999 < z < -8.49999999999999957e-298Initial program 99.7%
associate-/r/99.9%
Simplified99.9%
*-commutative99.9%
clear-num99.9%
un-div-inv99.9%
Applied egg-rr99.9%
Taylor expanded in t around 0 83.5%
Taylor expanded in z around 0 75.0%
if -8.49999999999999957e-298 < z < 1.9e-6Initial program 99.8%
associate-/r/99.8%
Simplified99.8%
Taylor expanded in t around inf 73.0%
Taylor expanded in y around inf 68.1%
associate-/l*74.1%
Simplified74.1%
Final simplification75.0%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -1.35e+129) (not (<= z 9e+73))) (- x (- a (* a (/ y z)))) (+ x (* a (/ y (+ z (- -1.0 t)))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -1.35e+129) || !(z <= 9e+73)) {
tmp = x - (a - (a * (y / z)));
} else {
tmp = x + (a * (y / (z + (-1.0 - 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 ((z <= (-1.35d+129)) .or. (.not. (z <= 9d+73))) then
tmp = x - (a - (a * (y / z)))
else
tmp = x + (a * (y / (z + ((-1.0d0) - t))))
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.35e+129) || !(z <= 9e+73)) {
tmp = x - (a - (a * (y / z)));
} else {
tmp = x + (a * (y / (z + (-1.0 - t))));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -1.35e+129) or not (z <= 9e+73): tmp = x - (a - (a * (y / z))) else: tmp = x + (a * (y / (z + (-1.0 - t)))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -1.35e+129) || !(z <= 9e+73)) tmp = Float64(x - Float64(a - Float64(a * Float64(y / z)))); else tmp = Float64(x + Float64(a * Float64(y / Float64(z + Float64(-1.0 - t))))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -1.35e+129) || ~((z <= 9e+73))) tmp = x - (a - (a * (y / z))); else tmp = x + (a * (y / (z + (-1.0 - t)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -1.35e+129], N[Not[LessEqual[z, 9e+73]], $MachinePrecision]], N[(x - N[(a - N[(a * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(a * N[(y / N[(z + N[(-1.0 - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.35 \cdot 10^{+129} \lor \neg \left(z \leq 9 \cdot 10^{+73}\right):\\
\;\;\;\;x - \left(a - a \cdot \frac{y}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + a \cdot \frac{y}{z + \left(-1 - t\right)}\\
\end{array}
\end{array}
if z < -1.35e129 or 8.99999999999999969e73 < z Initial program 93.6%
Taylor expanded in z around inf 84.5%
associate-*r/84.5%
neg-mul-184.5%
Simplified84.5%
Taylor expanded in y around 0 76.7%
mul-1-neg76.7%
unsub-neg76.7%
associate-/l*89.6%
Simplified89.6%
if -1.35e129 < z < 8.99999999999999969e73Initial program 98.6%
associate-/r/99.8%
Simplified99.8%
Taylor expanded in y around inf 89.9%
Final simplification89.8%
(FPCore (x y z t a)
:precision binary64
(if (<= t -9.4e+48)
(- x (/ (- y z) (/ t a)))
(if (<= t 4.8e+97)
(+ x (/ a (/ (+ z -1.0) (- y z))))
(+ x (* a (/ y (+ z (- -1.0 t))))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -9.4e+48) {
tmp = x - ((y - z) / (t / a));
} else if (t <= 4.8e+97) {
tmp = x + (a / ((z + -1.0) / (y - z)));
} else {
tmp = x + (a * (y / (z + (-1.0 - 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 <= (-9.4d+48)) then
tmp = x - ((y - z) / (t / a))
else if (t <= 4.8d+97) then
tmp = x + (a / ((z + (-1.0d0)) / (y - z)))
else
tmp = x + (a * (y / (z + ((-1.0d0) - 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 <= -9.4e+48) {
tmp = x - ((y - z) / (t / a));
} else if (t <= 4.8e+97) {
tmp = x + (a / ((z + -1.0) / (y - z)));
} else {
tmp = x + (a * (y / (z + (-1.0 - t))));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= -9.4e+48: tmp = x - ((y - z) / (t / a)) elif t <= 4.8e+97: tmp = x + (a / ((z + -1.0) / (y - z))) else: tmp = x + (a * (y / (z + (-1.0 - t)))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= -9.4e+48) tmp = Float64(x - Float64(Float64(y - z) / Float64(t / a))); elseif (t <= 4.8e+97) tmp = Float64(x + Float64(a / Float64(Float64(z + -1.0) / Float64(y - z)))); else tmp = Float64(x + Float64(a * Float64(y / Float64(z + Float64(-1.0 - t))))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= -9.4e+48) tmp = x - ((y - z) / (t / a)); elseif (t <= 4.8e+97) tmp = x + (a / ((z + -1.0) / (y - z))); else tmp = x + (a * (y / (z + (-1.0 - t)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -9.4e+48], N[(x - N[(N[(y - z), $MachinePrecision] / N[(t / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.8e+97], N[(x + N[(a / N[(N[(z + -1.0), $MachinePrecision] / N[(y - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(a * N[(y / N[(z + N[(-1.0 - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -9.4 \cdot 10^{+48}:\\
\;\;\;\;x - \frac{y - z}{\frac{t}{a}}\\
\mathbf{elif}\;t \leq 4.8 \cdot 10^{+97}:\\
\;\;\;\;x + \frac{a}{\frac{z + -1}{y - z}}\\
\mathbf{else}:\\
\;\;\;\;x + a \cdot \frac{y}{z + \left(-1 - t\right)}\\
\end{array}
\end{array}
if t < -9.40000000000000025e48Initial program 98.2%
Taylor expanded in t around inf 85.9%
if -9.40000000000000025e48 < t < 4.8e97Initial program 95.8%
associate-/r/99.9%
Simplified99.9%
*-commutative99.9%
clear-num99.9%
un-div-inv99.8%
Applied egg-rr99.8%
Taylor expanded in t around 0 96.7%
if 4.8e97 < t Initial program 99.9%
associate-/r/99.8%
Simplified99.8%
Taylor expanded in y around inf 95.1%
Final simplification94.1%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -400000.0) (not (<= z 1.9e-6))) (- x (- a (* a (/ y z)))) (- x (* a (/ y (+ t 1.0))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -400000.0) || !(z <= 1.9e-6)) {
tmp = x - (a - (a * (y / z)));
} else {
tmp = x - (a * (y / (t + 1.0)));
}
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 <= (-400000.0d0)) .or. (.not. (z <= 1.9d-6))) then
tmp = x - (a - (a * (y / z)))
else
tmp = x - (a * (y / (t + 1.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -400000.0) || !(z <= 1.9e-6)) {
tmp = x - (a - (a * (y / z)));
} else {
tmp = x - (a * (y / (t + 1.0)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -400000.0) or not (z <= 1.9e-6): tmp = x - (a - (a * (y / z))) else: tmp = x - (a * (y / (t + 1.0))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -400000.0) || !(z <= 1.9e-6)) tmp = Float64(x - Float64(a - Float64(a * Float64(y / z)))); else tmp = Float64(x - Float64(a * Float64(y / Float64(t + 1.0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -400000.0) || ~((z <= 1.9e-6))) tmp = x - (a - (a * (y / z))); else tmp = x - (a * (y / (t + 1.0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -400000.0], N[Not[LessEqual[z, 1.9e-6]], $MachinePrecision]], N[(x - N[(a - N[(a * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(a * N[(y / N[(t + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -400000 \lor \neg \left(z \leq 1.9 \cdot 10^{-6}\right):\\
\;\;\;\;x - \left(a - a \cdot \frac{y}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x - a \cdot \frac{y}{t + 1}\\
\end{array}
\end{array}
if z < -4e5 or 1.9e-6 < z Initial program 94.2%
Taylor expanded in z around inf 81.1%
associate-*r/81.1%
neg-mul-181.1%
Simplified81.1%
Taylor expanded in y around 0 75.0%
mul-1-neg75.0%
unsub-neg75.0%
associate-/l*85.0%
Simplified85.0%
if -4e5 < z < 1.9e-6Initial program 99.8%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in z around 0 91.0%
Final simplification88.0%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -110000.0) (not (<= z 1.14e-7))) (- x a) (- x (* y a))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -110000.0) || !(z <= 1.14e-7)) {
tmp = x - a;
} else {
tmp = x - (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 <= (-110000.0d0)) .or. (.not. (z <= 1.14d-7))) then
tmp = x - a
else
tmp = x - (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 <= -110000.0) || !(z <= 1.14e-7)) {
tmp = x - a;
} else {
tmp = x - (y * a);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -110000.0) or not (z <= 1.14e-7): tmp = x - a else: tmp = x - (y * a) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -110000.0) || !(z <= 1.14e-7)) tmp = Float64(x - a); else tmp = Float64(x - Float64(y * a)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -110000.0) || ~((z <= 1.14e-7))) tmp = x - a; else tmp = x - (y * a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -110000.0], N[Not[LessEqual[z, 1.14e-7]], $MachinePrecision]], N[(x - a), $MachinePrecision], N[(x - N[(y * a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -110000 \lor \neg \left(z \leq 1.14 \cdot 10^{-7}\right):\\
\;\;\;\;x - a\\
\mathbf{else}:\\
\;\;\;\;x - y \cdot a\\
\end{array}
\end{array}
if z < -1.1e5 or 1.14000000000000002e-7 < z Initial program 94.2%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in z around inf 75.4%
if -1.1e5 < z < 1.14000000000000002e-7Initial program 99.8%
associate-/r/99.9%
Simplified99.9%
*-commutative99.9%
clear-num99.8%
un-div-inv99.8%
Applied egg-rr99.8%
Taylor expanded in t around 0 76.3%
Taylor expanded in z around 0 70.0%
Final simplification72.7%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -54.0) (not (<= z 7e-36))) (- x a) x))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -54.0) || !(z <= 7e-36)) {
tmp = x - 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 <= (-54.0d0)) .or. (.not. (z <= 7d-36))) then
tmp = x - 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 <= -54.0) || !(z <= 7e-36)) {
tmp = x - a;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -54.0) or not (z <= 7e-36): tmp = x - a else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -54.0) || !(z <= 7e-36)) tmp = Float64(x - a); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -54.0) || ~((z <= 7e-36))) tmp = x - a; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -54.0], N[Not[LessEqual[z, 7e-36]], $MachinePrecision]], N[(x - a), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -54 \lor \neg \left(z \leq 7 \cdot 10^{-36}\right):\\
\;\;\;\;x - a\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if z < -54 or 6.9999999999999999e-36 < z Initial program 94.4%
associate-/r/99.8%
Simplified99.8%
Taylor expanded in z around inf 73.6%
if -54 < z < 6.9999999999999999e-36Initial program 99.8%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in x around inf 56.2%
Final simplification65.4%
(FPCore (x y z t a) :precision binary64 (if (<= x -1.75e-32) x (if (<= x 5.2e-205) (- a) x)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= -1.75e-32) {
tmp = x;
} else if (x <= 5.2e-205) {
tmp = -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 (x <= (-1.75d-32)) then
tmp = x
else if (x <= 5.2d-205) then
tmp = -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 (x <= -1.75e-32) {
tmp = x;
} else if (x <= 5.2e-205) {
tmp = -a;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if x <= -1.75e-32: tmp = x elif x <= 5.2e-205: tmp = -a else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if (x <= -1.75e-32) tmp = x; elseif (x <= 5.2e-205) tmp = Float64(-a); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (x <= -1.75e-32) tmp = x; elseif (x <= 5.2e-205) tmp = -a; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[x, -1.75e-32], x, If[LessEqual[x, 5.2e-205], (-a), x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.75 \cdot 10^{-32}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq 5.2 \cdot 10^{-205}:\\
\;\;\;\;-a\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if x < -1.7499999999999999e-32 or 5.1999999999999997e-205 < x Initial program 99.3%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in x around inf 67.5%
if -1.7499999999999999e-32 < x < 5.1999999999999997e-205Initial program 91.7%
Taylor expanded in z around inf 41.9%
associate-*r/41.9%
neg-mul-141.9%
Simplified41.9%
Taylor expanded in x around 0 27.3%
associate-/l*39.8%
Simplified39.8%
Taylor expanded in y around 0 30.6%
mul-1-neg30.6%
Simplified30.6%
Final simplification56.3%
(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 97.0%
associate-/r/99.9%
Simplified99.9%
Taylor expanded in x around inf 52.4%
Final simplification52.4%
(FPCore (x y z t a) :precision binary64 (- x (* (/ (- y z) (+ (- t z) 1.0)) a)))
double code(double x, double y, double z, double t, double a) {
return x - (((y - z) / ((t - z) + 1.0)) * 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 - z) + 1.0d0)) * a)
end function
public static double code(double x, double y, double z, double t, double a) {
return x - (((y - z) / ((t - z) + 1.0)) * a);
}
def code(x, y, z, t, a): return x - (((y - z) / ((t - z) + 1.0)) * a)
function code(x, y, z, t, a) return Float64(x - Float64(Float64(Float64(y - z) / Float64(Float64(t - z) + 1.0)) * a)) end
function tmp = code(x, y, z, t, a) tmp = x - (((y - z) / ((t - z) + 1.0)) * a); end
code[x_, y_, z_, t_, a_] := N[(x - N[(N[(N[(y - z), $MachinePrecision] / N[(N[(t - z), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x - \frac{y - z}{\left(t - z\right) + 1} \cdot a
\end{array}
herbie shell --seed 2024130
(FPCore (x y z t a)
:name "Graphics.Rendering.Chart.SparkLine:renderSparkLine from Chart-1.5.3"
:precision binary64
:alt
(- x (* (/ (- y z) (+ (- t z) 1.0)) a))
(- x (/ (- y z) (/ (+ (- t z) 1.0) a))))