
(FPCore (x y z t a) :precision binary64 (- (+ x y) (/ (* (- z t) y) (- a t))))
double code(double x, double y, double z, double t, double a) {
return (x + y) - (((z - t) * y) / (a - t));
}
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) * y) / (a - t))
end function
public static double code(double x, double y, double z, double t, double a) {
return (x + y) - (((z - t) * y) / (a - t));
}
def code(x, y, z, t, a): return (x + y) - (((z - t) * y) / (a - t))
function code(x, y, z, t, a) return Float64(Float64(x + y) - Float64(Float64(Float64(z - t) * y) / Float64(a - t))) end
function tmp = code(x, y, z, t, a) tmp = (x + y) - (((z - t) * y) / (a - t)); end
code[x_, y_, z_, t_, a_] := N[(N[(x + y), $MachinePrecision] - N[(N[(N[(z - t), $MachinePrecision] * y), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x + y\right) - \frac{\left(z - t\right) \cdot y}{a - t}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 18 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a) :precision binary64 (- (+ x y) (/ (* (- z t) y) (- a t))))
double code(double x, double y, double z, double t, double a) {
return (x + y) - (((z - t) * y) / (a - t));
}
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) * y) / (a - t))
end function
public static double code(double x, double y, double z, double t, double a) {
return (x + y) - (((z - t) * y) / (a - t));
}
def code(x, y, z, t, a): return (x + y) - (((z - t) * y) / (a - t))
function code(x, y, z, t, a) return Float64(Float64(x + y) - Float64(Float64(Float64(z - t) * y) / Float64(a - t))) end
function tmp = code(x, y, z, t, a) tmp = (x + y) - (((z - t) * y) / (a - t)); end
code[x_, y_, z_, t_, a_] := N[(N[(x + y), $MachinePrecision] - N[(N[(N[(z - t), $MachinePrecision] * y), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x + y\right) - \frac{\left(z - t\right) \cdot y}{a - t}
\end{array}
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (- (+ x y) (/ (* y (- z t)) (- a t)))))
(if (<= t_1 -1e-290)
(- (+ x y) (* y (/ z (- a t))))
(if (<= t_1 5e-281)
(- x (/ (- (* y a) (* y z)) t))
(if (<= t_1 6e+251) t_1 (+ (+ x y) (/ y (/ (- t a) z))))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = (x + y) - ((y * (z - t)) / (a - t));
double tmp;
if (t_1 <= -1e-290) {
tmp = (x + y) - (y * (z / (a - t)));
} else if (t_1 <= 5e-281) {
tmp = x - (((y * a) - (y * z)) / t);
} else if (t_1 <= 6e+251) {
tmp = t_1;
} else {
tmp = (x + y) + (y / ((t - 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) :: t_1
real(8) :: tmp
t_1 = (x + y) - ((y * (z - t)) / (a - t))
if (t_1 <= (-1d-290)) then
tmp = (x + y) - (y * (z / (a - t)))
else if (t_1 <= 5d-281) then
tmp = x - (((y * a) - (y * z)) / t)
else if (t_1 <= 6d+251) then
tmp = t_1
else
tmp = (x + y) + (y / ((t - a) / z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double t_1 = (x + y) - ((y * (z - t)) / (a - t));
double tmp;
if (t_1 <= -1e-290) {
tmp = (x + y) - (y * (z / (a - t)));
} else if (t_1 <= 5e-281) {
tmp = x - (((y * a) - (y * z)) / t);
} else if (t_1 <= 6e+251) {
tmp = t_1;
} else {
tmp = (x + y) + (y / ((t - a) / z));
}
return tmp;
}
def code(x, y, z, t, a): t_1 = (x + y) - ((y * (z - t)) / (a - t)) tmp = 0 if t_1 <= -1e-290: tmp = (x + y) - (y * (z / (a - t))) elif t_1 <= 5e-281: tmp = x - (((y * a) - (y * z)) / t) elif t_1 <= 6e+251: tmp = t_1 else: tmp = (x + y) + (y / ((t - a) / z)) return tmp
function code(x, y, z, t, a) t_1 = Float64(Float64(x + y) - Float64(Float64(y * Float64(z - t)) / Float64(a - t))) tmp = 0.0 if (t_1 <= -1e-290) tmp = Float64(Float64(x + y) - Float64(y * Float64(z / Float64(a - t)))); elseif (t_1 <= 5e-281) tmp = Float64(x - Float64(Float64(Float64(y * a) - Float64(y * z)) / t)); elseif (t_1 <= 6e+251) tmp = t_1; else tmp = Float64(Float64(x + y) + Float64(y / Float64(Float64(t - a) / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = (x + y) - ((y * (z - t)) / (a - t)); tmp = 0.0; if (t_1 <= -1e-290) tmp = (x + y) - (y * (z / (a - t))); elseif (t_1 <= 5e-281) tmp = x - (((y * a) - (y * z)) / t); elseif (t_1 <= 6e+251) tmp = t_1; else tmp = (x + y) + (y / ((t - a) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(x + y), $MachinePrecision] - N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -1e-290], N[(N[(x + y), $MachinePrecision] - N[(y * N[(z / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 5e-281], N[(x - N[(N[(N[(y * a), $MachinePrecision] - N[(y * z), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 6e+251], t$95$1, N[(N[(x + y), $MachinePrecision] + N[(y / N[(N[(t - a), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x + y\right) - \frac{y \cdot \left(z - t\right)}{a - t}\\
\mathbf{if}\;t\_1 \leq -1 \cdot 10^{-290}:\\
\;\;\;\;\left(x + y\right) - y \cdot \frac{z}{a - t}\\
\mathbf{elif}\;t\_1 \leq 5 \cdot 10^{-281}:\\
\;\;\;\;x - \frac{y \cdot a - y \cdot z}{t}\\
\mathbf{elif}\;t\_1 \leq 6 \cdot 10^{+251}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(x + y\right) + \frac{y}{\frac{t - a}{z}}\\
\end{array}
\end{array}
if (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < -1.0000000000000001e-290Initial program 89.1%
Taylor expanded in z around inf 89.7%
associate-/l*93.1%
Simplified93.1%
if -1.0000000000000001e-290 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < 4.9999999999999998e-281Initial program 8.3%
Taylor expanded in t around -inf 99.8%
mul-1-neg99.8%
unsub-neg99.8%
*-commutative99.8%
Simplified99.8%
if 4.9999999999999998e-281 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < 5.9999999999999998e251Initial program 98.5%
if 5.9999999999999998e251 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) Initial program 66.8%
Taylor expanded in z around inf 71.3%
associate-/l*86.2%
Simplified86.2%
clear-num86.2%
un-div-inv86.3%
Applied egg-rr86.3%
Final simplification94.2%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (- (+ x y) (/ (* y (- z t)) (- a t)))))
(if (or (<= t_1 -1e-290) (not (<= t_1 5e-281)))
(+ (+ x y) (* y (* (- z t) (/ -1.0 (- a t)))))
(- x (/ (- (* y a) (* y z)) t)))))
double code(double x, double y, double z, double t, double a) {
double t_1 = (x + y) - ((y * (z - t)) / (a - t));
double tmp;
if ((t_1 <= -1e-290) || !(t_1 <= 5e-281)) {
tmp = (x + y) + (y * ((z - t) * (-1.0 / (a - t))));
} else {
tmp = x - (((y * a) - (y * 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 = (x + y) - ((y * (z - t)) / (a - t))
if ((t_1 <= (-1d-290)) .or. (.not. (t_1 <= 5d-281))) then
tmp = (x + y) + (y * ((z - t) * ((-1.0d0) / (a - t))))
else
tmp = x - (((y * a) - (y * 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 = (x + y) - ((y * (z - t)) / (a - t));
double tmp;
if ((t_1 <= -1e-290) || !(t_1 <= 5e-281)) {
tmp = (x + y) + (y * ((z - t) * (-1.0 / (a - t))));
} else {
tmp = x - (((y * a) - (y * z)) / t);
}
return tmp;
}
def code(x, y, z, t, a): t_1 = (x + y) - ((y * (z - t)) / (a - t)) tmp = 0 if (t_1 <= -1e-290) or not (t_1 <= 5e-281): tmp = (x + y) + (y * ((z - t) * (-1.0 / (a - t)))) else: tmp = x - (((y * a) - (y * z)) / t) return tmp
function code(x, y, z, t, a) t_1 = Float64(Float64(x + y) - Float64(Float64(y * Float64(z - t)) / Float64(a - t))) tmp = 0.0 if ((t_1 <= -1e-290) || !(t_1 <= 5e-281)) tmp = Float64(Float64(x + y) + Float64(y * Float64(Float64(z - t) * Float64(-1.0 / Float64(a - t))))); else tmp = Float64(x - Float64(Float64(Float64(y * a) - Float64(y * z)) / t)); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = (x + y) - ((y * (z - t)) / (a - t)); tmp = 0.0; if ((t_1 <= -1e-290) || ~((t_1 <= 5e-281))) tmp = (x + y) + (y * ((z - t) * (-1.0 / (a - t)))); else tmp = x - (((y * a) - (y * z)) / t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(x + y), $MachinePrecision] - N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[t$95$1, -1e-290], N[Not[LessEqual[t$95$1, 5e-281]], $MachinePrecision]], N[(N[(x + y), $MachinePrecision] + N[(y * N[(N[(z - t), $MachinePrecision] * N[(-1.0 / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(N[(N[(y * a), $MachinePrecision] - N[(y * z), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x + y\right) - \frac{y \cdot \left(z - t\right)}{a - t}\\
\mathbf{if}\;t\_1 \leq -1 \cdot 10^{-290} \lor \neg \left(t\_1 \leq 5 \cdot 10^{-281}\right):\\
\;\;\;\;\left(x + y\right) + y \cdot \left(\left(z - t\right) \cdot \frac{-1}{a - t}\right)\\
\mathbf{else}:\\
\;\;\;\;x - \frac{y \cdot a - y \cdot z}{t}\\
\end{array}
\end{array}
if (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < -1.0000000000000001e-290 or 4.9999999999999998e-281 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) Initial program 88.3%
div-inv88.2%
*-commutative88.2%
associate-*l*93.1%
Applied egg-rr93.1%
if -1.0000000000000001e-290 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < 4.9999999999999998e-281Initial program 8.3%
Taylor expanded in t around -inf 99.8%
mul-1-neg99.8%
unsub-neg99.8%
*-commutative99.8%
Simplified99.8%
Final simplification93.6%
(FPCore (x y z t a) :precision binary64 (if (or (<= t -4.3e+99) (not (<= t 7.5e-17))) (+ (- x (* a (/ y t))) (* y (/ z t))) (+ (+ x y) (/ y (/ (- t a) z)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -4.3e+99) || !(t <= 7.5e-17)) {
tmp = (x - (a * (y / t))) + (y * (z / t));
} else {
tmp = (x + y) + (y / ((t - 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 <= (-4.3d+99)) .or. (.not. (t <= 7.5d-17))) then
tmp = (x - (a * (y / t))) + (y * (z / t))
else
tmp = (x + y) + (y / ((t - 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 <= -4.3e+99) || !(t <= 7.5e-17)) {
tmp = (x - (a * (y / t))) + (y * (z / t));
} else {
tmp = (x + y) + (y / ((t - a) / z));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (t <= -4.3e+99) or not (t <= 7.5e-17): tmp = (x - (a * (y / t))) + (y * (z / t)) else: tmp = (x + y) + (y / ((t - a) / z)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((t <= -4.3e+99) || !(t <= 7.5e-17)) tmp = Float64(Float64(x - Float64(a * Float64(y / t))) + Float64(y * Float64(z / t))); else tmp = Float64(Float64(x + y) + Float64(y / Float64(Float64(t - a) / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((t <= -4.3e+99) || ~((t <= 7.5e-17))) tmp = (x - (a * (y / t))) + (y * (z / t)); else tmp = (x + y) + (y / ((t - a) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[t, -4.3e+99], N[Not[LessEqual[t, 7.5e-17]], $MachinePrecision]], N[(N[(x - N[(a * N[(y / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x + y), $MachinePrecision] + N[(y / N[(N[(t - a), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4.3 \cdot 10^{+99} \lor \neg \left(t \leq 7.5 \cdot 10^{-17}\right):\\
\;\;\;\;\left(x - a \cdot \frac{y}{t}\right) + y \cdot \frac{z}{t}\\
\mathbf{else}:\\
\;\;\;\;\left(x + y\right) + \frac{y}{\frac{t - a}{z}}\\
\end{array}
\end{array}
if t < -4.3000000000000001e99 or 7.49999999999999984e-17 < t Initial program 65.7%
Taylor expanded in t around inf 79.2%
sub-neg79.2%
mul-1-neg79.2%
unsub-neg79.2%
associate-/l*82.2%
mul-1-neg82.2%
remove-double-neg82.2%
associate-/l*86.0%
Simplified86.0%
if -4.3000000000000001e99 < t < 7.49999999999999984e-17Initial program 92.2%
Taylor expanded in z around inf 91.8%
associate-/l*94.0%
Simplified94.0%
clear-num94.0%
un-div-inv94.1%
Applied egg-rr94.1%
Final simplification91.1%
(FPCore (x y z t a)
:precision binary64
(if (<= a -2.7e-134)
(+ x y)
(if (<= a 2.8e-38)
(+ x (* y (/ z t)))
(if (<= a 8.2e+67) (- x (/ y (/ a z))) (+ x y)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -2.7e-134) {
tmp = x + y;
} else if (a <= 2.8e-38) {
tmp = x + (y * (z / t));
} else if (a <= 8.2e+67) {
tmp = x - (y / (a / z));
} else {
tmp = x + 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 (a <= (-2.7d-134)) then
tmp = x + y
else if (a <= 2.8d-38) then
tmp = x + (y * (z / t))
else if (a <= 8.2d+67) then
tmp = x - (y / (a / z))
else
tmp = x + y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -2.7e-134) {
tmp = x + y;
} else if (a <= 2.8e-38) {
tmp = x + (y * (z / t));
} else if (a <= 8.2e+67) {
tmp = x - (y / (a / z));
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -2.7e-134: tmp = x + y elif a <= 2.8e-38: tmp = x + (y * (z / t)) elif a <= 8.2e+67: tmp = x - (y / (a / z)) else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -2.7e-134) tmp = Float64(x + y); elseif (a <= 2.8e-38) tmp = Float64(x + Float64(y * Float64(z / t))); elseif (a <= 8.2e+67) tmp = Float64(x - Float64(y / Float64(a / z))); else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -2.7e-134) tmp = x + y; elseif (a <= 2.8e-38) tmp = x + (y * (z / t)); elseif (a <= 8.2e+67) tmp = x - (y / (a / z)); else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -2.7e-134], N[(x + y), $MachinePrecision], If[LessEqual[a, 2.8e-38], N[(x + N[(y * N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.2e+67], N[(x - N[(y / N[(a / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.7 \cdot 10^{-134}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;a \leq 2.8 \cdot 10^{-38}:\\
\;\;\;\;x + y \cdot \frac{z}{t}\\
\mathbf{elif}\;a \leq 8.2 \cdot 10^{+67}:\\
\;\;\;\;x - \frac{y}{\frac{a}{z}}\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if a < -2.6999999999999998e-134 or 8.19999999999999959e67 < a Initial program 84.8%
sub-neg84.8%
+-commutative84.8%
distribute-frac-neg84.8%
distribute-rgt-neg-out84.8%
associate-/l*92.0%
fma-define92.0%
distribute-frac-neg92.0%
distribute-neg-frac292.0%
sub-neg92.0%
distribute-neg-in92.0%
remove-double-neg92.0%
+-commutative92.0%
sub-neg92.0%
Simplified92.0%
Taylor expanded in a around inf 79.6%
+-commutative79.6%
Simplified79.6%
if -2.6999999999999998e-134 < a < 2.8e-38Initial program 77.2%
Taylor expanded in z around inf 74.4%
associate-/l*72.1%
Simplified72.1%
clear-num72.1%
un-div-inv72.1%
Applied egg-rr72.1%
Taylor expanded in x around inf 87.7%
Taylor expanded in a around 0 80.0%
cancel-sign-sub-inv80.0%
metadata-eval80.0%
associate-*r/80.5%
*-lft-identity80.5%
Simplified80.5%
if 2.8e-38 < a < 8.19999999999999959e67Initial program 85.5%
Taylor expanded in z around inf 81.8%
associate-/l*85.1%
Simplified85.1%
clear-num85.1%
un-div-inv85.2%
Applied egg-rr85.2%
Taylor expanded in x around inf 85.4%
Taylor expanded in a around inf 75.3%
Final simplification79.5%
(FPCore (x y z t a)
:precision binary64
(if (<= a -2.7e-134)
(+ x y)
(if (<= a 1.45e-39)
(+ x (* y (/ z t)))
(if (<= a 7.8e+68) (- x (* y (/ z a))) (+ x y)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -2.7e-134) {
tmp = x + y;
} else if (a <= 1.45e-39) {
tmp = x + (y * (z / t));
} else if (a <= 7.8e+68) {
tmp = x - (y * (z / a));
} else {
tmp = x + 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 (a <= (-2.7d-134)) then
tmp = x + y
else if (a <= 1.45d-39) then
tmp = x + (y * (z / t))
else if (a <= 7.8d+68) then
tmp = x - (y * (z / a))
else
tmp = x + y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -2.7e-134) {
tmp = x + y;
} else if (a <= 1.45e-39) {
tmp = x + (y * (z / t));
} else if (a <= 7.8e+68) {
tmp = x - (y * (z / a));
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -2.7e-134: tmp = x + y elif a <= 1.45e-39: tmp = x + (y * (z / t)) elif a <= 7.8e+68: tmp = x - (y * (z / a)) else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -2.7e-134) tmp = Float64(x + y); elseif (a <= 1.45e-39) tmp = Float64(x + Float64(y * Float64(z / t))); elseif (a <= 7.8e+68) tmp = Float64(x - Float64(y * Float64(z / a))); else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -2.7e-134) tmp = x + y; elseif (a <= 1.45e-39) tmp = x + (y * (z / t)); elseif (a <= 7.8e+68) tmp = x - (y * (z / a)); else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -2.7e-134], N[(x + y), $MachinePrecision], If[LessEqual[a, 1.45e-39], N[(x + N[(y * N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7.8e+68], N[(x - N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.7 \cdot 10^{-134}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;a \leq 1.45 \cdot 10^{-39}:\\
\;\;\;\;x + y \cdot \frac{z}{t}\\
\mathbf{elif}\;a \leq 7.8 \cdot 10^{+68}:\\
\;\;\;\;x - y \cdot \frac{z}{a}\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if a < -2.6999999999999998e-134 or 7.80000000000000037e68 < a Initial program 84.8%
sub-neg84.8%
+-commutative84.8%
distribute-frac-neg84.8%
distribute-rgt-neg-out84.8%
associate-/l*92.0%
fma-define92.0%
distribute-frac-neg92.0%
distribute-neg-frac292.0%
sub-neg92.0%
distribute-neg-in92.0%
remove-double-neg92.0%
+-commutative92.0%
sub-neg92.0%
Simplified92.0%
Taylor expanded in a around inf 79.6%
+-commutative79.6%
Simplified79.6%
if -2.6999999999999998e-134 < a < 1.44999999999999994e-39Initial program 77.2%
Taylor expanded in z around inf 74.4%
associate-/l*72.1%
Simplified72.1%
clear-num72.1%
un-div-inv72.1%
Applied egg-rr72.1%
Taylor expanded in x around inf 87.7%
Taylor expanded in a around 0 80.0%
cancel-sign-sub-inv80.0%
metadata-eval80.0%
associate-*r/80.5%
*-lft-identity80.5%
Simplified80.5%
if 1.44999999999999994e-39 < a < 7.80000000000000037e68Initial program 85.5%
Taylor expanded in t around 0 75.4%
Taylor expanded in x around inf 71.9%
Taylor expanded in y around 0 71.9%
mul-1-neg71.9%
associate-*r/75.2%
sub-neg75.2%
Simplified75.2%
Final simplification79.5%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -4.7e-67) (not (<= a 1.5e+41))) (+ (+ x y) (/ y (/ (- t a) z))) (- x (* y (/ z (- a t))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -4.7e-67) || !(a <= 1.5e+41)) {
tmp = (x + y) + (y / ((t - a) / z));
} else {
tmp = x - (y * (z / (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 ((a <= (-4.7d-67)) .or. (.not. (a <= 1.5d+41))) then
tmp = (x + y) + (y / ((t - a) / z))
else
tmp = x - (y * (z / (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 ((a <= -4.7e-67) || !(a <= 1.5e+41)) {
tmp = (x + y) + (y / ((t - a) / z));
} else {
tmp = x - (y * (z / (a - t)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -4.7e-67) or not (a <= 1.5e+41): tmp = (x + y) + (y / ((t - a) / z)) else: tmp = x - (y * (z / (a - t))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -4.7e-67) || !(a <= 1.5e+41)) tmp = Float64(Float64(x + y) + Float64(y / Float64(Float64(t - a) / z))); else tmp = Float64(x - Float64(y * Float64(z / Float64(a - t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -4.7e-67) || ~((a <= 1.5e+41))) tmp = (x + y) + (y / ((t - a) / z)); else tmp = x - (y * (z / (a - t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -4.7e-67], N[Not[LessEqual[a, 1.5e+41]], $MachinePrecision]], N[(N[(x + y), $MachinePrecision] + N[(y / N[(N[(t - a), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(y * N[(z / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -4.7 \cdot 10^{-67} \lor \neg \left(a \leq 1.5 \cdot 10^{+41}\right):\\
\;\;\;\;\left(x + y\right) + \frac{y}{\frac{t - a}{z}}\\
\mathbf{else}:\\
\;\;\;\;x - y \cdot \frac{z}{a - t}\\
\end{array}
\end{array}
if a < -4.70000000000000004e-67 or 1.4999999999999999e41 < a Initial program 84.0%
Taylor expanded in z around inf 86.0%
associate-/l*93.2%
Simplified93.2%
clear-num93.2%
un-div-inv93.2%
Applied egg-rr93.2%
if -4.70000000000000004e-67 < a < 1.4999999999999999e41Initial program 80.3%
Taylor expanded in z around inf 77.4%
associate-/l*75.6%
Simplified75.6%
Taylor expanded in x around inf 88.0%
Final simplification90.9%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -1.02e-65) (not (<= a 3e+61))) (- (+ x y) (* y (/ z a))) (- x (* y (/ z (- a t))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -1.02e-65) || !(a <= 3e+61)) {
tmp = (x + y) - (y * (z / a));
} else {
tmp = x - (y * (z / (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 ((a <= (-1.02d-65)) .or. (.not. (a <= 3d+61))) then
tmp = (x + y) - (y * (z / a))
else
tmp = x - (y * (z / (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 ((a <= -1.02e-65) || !(a <= 3e+61)) {
tmp = (x + y) - (y * (z / a));
} else {
tmp = x - (y * (z / (a - t)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -1.02e-65) or not (a <= 3e+61): tmp = (x + y) - (y * (z / a)) else: tmp = x - (y * (z / (a - t))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -1.02e-65) || !(a <= 3e+61)) tmp = Float64(Float64(x + y) - Float64(y * Float64(z / a))); else tmp = Float64(x - Float64(y * Float64(z / Float64(a - t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -1.02e-65) || ~((a <= 3e+61))) tmp = (x + y) - (y * (z / a)); else tmp = x - (y * (z / (a - t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -1.02e-65], N[Not[LessEqual[a, 3e+61]], $MachinePrecision]], N[(N[(x + y), $MachinePrecision] - N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(y * N[(z / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.02 \cdot 10^{-65} \lor \neg \left(a \leq 3 \cdot 10^{+61}\right):\\
\;\;\;\;\left(x + y\right) - y \cdot \frac{z}{a}\\
\mathbf{else}:\\
\;\;\;\;x - y \cdot \frac{z}{a - t}\\
\end{array}
\end{array}
if a < -1.02000000000000004e-65 or 3e61 < a Initial program 83.5%
Taylor expanded in t around 0 83.7%
associate-/l*91.0%
Simplified91.0%
if -1.02000000000000004e-65 < a < 3e61Initial program 81.0%
Taylor expanded in z around inf 78.1%
associate-/l*76.5%
Simplified76.5%
Taylor expanded in x around inf 88.4%
Final simplification89.8%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -9.2e+133) (not (<= a 2.3e+69))) (+ x y) (- x (* y (/ z (- a t))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -9.2e+133) || !(a <= 2.3e+69)) {
tmp = x + y;
} else {
tmp = x - (y * (z / (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 ((a <= (-9.2d+133)) .or. (.not. (a <= 2.3d+69))) then
tmp = x + y
else
tmp = x - (y * (z / (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 ((a <= -9.2e+133) || !(a <= 2.3e+69)) {
tmp = x + y;
} else {
tmp = x - (y * (z / (a - t)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -9.2e+133) or not (a <= 2.3e+69): tmp = x + y else: tmp = x - (y * (z / (a - t))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -9.2e+133) || !(a <= 2.3e+69)) tmp = Float64(x + y); else tmp = Float64(x - Float64(y * Float64(z / Float64(a - t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -9.2e+133) || ~((a <= 2.3e+69))) tmp = x + y; else tmp = x - (y * (z / (a - t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -9.2e+133], N[Not[LessEqual[a, 2.3e+69]], $MachinePrecision]], N[(x + y), $MachinePrecision], N[(x - N[(y * N[(z / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -9.2 \cdot 10^{+133} \lor \neg \left(a \leq 2.3 \cdot 10^{+69}\right):\\
\;\;\;\;x + y\\
\mathbf{else}:\\
\;\;\;\;x - y \cdot \frac{z}{a - t}\\
\end{array}
\end{array}
if a < -9.1999999999999996e133 or 2.30000000000000017e69 < a Initial program 85.1%
sub-neg85.1%
+-commutative85.1%
distribute-frac-neg85.1%
distribute-rgt-neg-out85.1%
associate-/l*95.4%
fma-define95.4%
distribute-frac-neg95.4%
distribute-neg-frac295.4%
sub-neg95.4%
distribute-neg-in95.4%
remove-double-neg95.4%
+-commutative95.4%
sub-neg95.4%
Simplified95.4%
Taylor expanded in a around inf 90.4%
+-commutative90.4%
Simplified90.4%
if -9.1999999999999996e133 < a < 2.30000000000000017e69Initial program 81.0%
Taylor expanded in z around inf 79.1%
associate-/l*79.5%
Simplified79.5%
Taylor expanded in x around inf 82.7%
Final simplification85.3%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* y (/ z (- a t)))))
(if (<= a -5e-66)
(- (+ x y) t_1)
(if (<= a 2.7e+61) (- x t_1) (- (+ x y) (* y (/ z a)))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = y * (z / (a - t));
double tmp;
if (a <= -5e-66) {
tmp = (x + y) - t_1;
} else if (a <= 2.7e+61) {
tmp = x - t_1;
} else {
tmp = (x + y) - (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) :: t_1
real(8) :: tmp
t_1 = y * (z / (a - t))
if (a <= (-5d-66)) then
tmp = (x + y) - t_1
else if (a <= 2.7d+61) then
tmp = x - t_1
else
tmp = (x + y) - (y * (z / a))
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 / (a - t));
double tmp;
if (a <= -5e-66) {
tmp = (x + y) - t_1;
} else if (a <= 2.7e+61) {
tmp = x - t_1;
} else {
tmp = (x + y) - (y * (z / a));
}
return tmp;
}
def code(x, y, z, t, a): t_1 = y * (z / (a - t)) tmp = 0 if a <= -5e-66: tmp = (x + y) - t_1 elif a <= 2.7e+61: tmp = x - t_1 else: tmp = (x + y) - (y * (z / a)) return tmp
function code(x, y, z, t, a) t_1 = Float64(y * Float64(z / Float64(a - t))) tmp = 0.0 if (a <= -5e-66) tmp = Float64(Float64(x + y) - t_1); elseif (a <= 2.7e+61) tmp = Float64(x - t_1); else tmp = Float64(Float64(x + y) - Float64(y * Float64(z / a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = y * (z / (a - t)); tmp = 0.0; if (a <= -5e-66) tmp = (x + y) - t_1; elseif (a <= 2.7e+61) tmp = x - t_1; else tmp = (x + y) - (y * (z / a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(y * N[(z / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -5e-66], N[(N[(x + y), $MachinePrecision] - t$95$1), $MachinePrecision], If[LessEqual[a, 2.7e+61], N[(x - t$95$1), $MachinePrecision], N[(N[(x + y), $MachinePrecision] - N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \frac{z}{a - t}\\
\mathbf{if}\;a \leq -5 \cdot 10^{-66}:\\
\;\;\;\;\left(x + y\right) - t\_1\\
\mathbf{elif}\;a \leq 2.7 \cdot 10^{+61}:\\
\;\;\;\;x - t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(x + y\right) - y \cdot \frac{z}{a}\\
\end{array}
\end{array}
if a < -4.99999999999999962e-66Initial program 83.8%
Taylor expanded in z around inf 84.9%
associate-/l*90.1%
Simplified90.1%
if -4.99999999999999962e-66 < a < 2.7000000000000002e61Initial program 81.0%
Taylor expanded in z around inf 78.1%
associate-/l*76.5%
Simplified76.5%
Taylor expanded in x around inf 88.4%
if 2.7000000000000002e61 < a Initial program 83.0%
Taylor expanded in t around 0 87.0%
associate-/l*98.0%
Simplified98.0%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -2.7e-134) (not (<= a 5.3e+50))) (+ x y) (+ x (* y (/ z t)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -2.7e-134) || !(a <= 5.3e+50)) {
tmp = x + y;
} else {
tmp = x + (y * (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) :: tmp
if ((a <= (-2.7d-134)) .or. (.not. (a <= 5.3d+50))) then
tmp = x + y
else
tmp = x + (y * (z / t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -2.7e-134) || !(a <= 5.3e+50)) {
tmp = x + y;
} else {
tmp = x + (y * (z / t));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -2.7e-134) or not (a <= 5.3e+50): tmp = x + y else: tmp = x + (y * (z / t)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -2.7e-134) || !(a <= 5.3e+50)) tmp = Float64(x + y); else tmp = Float64(x + Float64(y * Float64(z / t))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -2.7e-134) || ~((a <= 5.3e+50))) tmp = x + y; else tmp = x + (y * (z / t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -2.7e-134], N[Not[LessEqual[a, 5.3e+50]], $MachinePrecision]], N[(x + y), $MachinePrecision], N[(x + N[(y * N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.7 \cdot 10^{-134} \lor \neg \left(a \leq 5.3 \cdot 10^{+50}\right):\\
\;\;\;\;x + y\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \frac{z}{t}\\
\end{array}
\end{array}
if a < -2.6999999999999998e-134 or 5.3000000000000002e50 < a Initial program 84.7%
sub-neg84.7%
+-commutative84.7%
distribute-frac-neg84.7%
distribute-rgt-neg-out84.7%
associate-/l*92.2%
fma-define92.3%
distribute-frac-neg92.3%
distribute-neg-frac292.3%
sub-neg92.3%
distribute-neg-in92.3%
remove-double-neg92.3%
+-commutative92.3%
sub-neg92.3%
Simplified92.3%
Taylor expanded in a around inf 78.4%
+-commutative78.4%
Simplified78.4%
if -2.6999999999999998e-134 < a < 5.3000000000000002e50Initial program 79.0%
Taylor expanded in z around inf 75.9%
associate-/l*74.0%
Simplified74.0%
clear-num74.0%
un-div-inv74.1%
Applied egg-rr74.1%
Taylor expanded in x around inf 86.6%
Taylor expanded in a around 0 75.9%
cancel-sign-sub-inv75.9%
metadata-eval75.9%
associate-*r/75.4%
*-lft-identity75.4%
Simplified75.4%
Final simplification77.2%
(FPCore (x y z t a) :precision binary64 (if (or (<= z -7e+207) (not (<= z 2.1e+126))) (* y (/ z (- t a))) (+ x y)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((z <= -7e+207) || !(z <= 2.1e+126)) {
tmp = y * (z / (t - a));
} else {
tmp = x + 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 <= (-7d+207)) .or. (.not. (z <= 2.1d+126))) then
tmp = y * (z / (t - a))
else
tmp = x + 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 <= -7e+207) || !(z <= 2.1e+126)) {
tmp = y * (z / (t - a));
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (z <= -7e+207) or not (z <= 2.1e+126): tmp = y * (z / (t - a)) else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((z <= -7e+207) || !(z <= 2.1e+126)) tmp = Float64(y * Float64(z / Float64(t - a))); else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((z <= -7e+207) || ~((z <= 2.1e+126))) tmp = y * (z / (t - a)); else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -7e+207], N[Not[LessEqual[z, 2.1e+126]], $MachinePrecision]], N[(y * N[(z / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -7 \cdot 10^{+207} \lor \neg \left(z \leq 2.1 \cdot 10^{+126}\right):\\
\;\;\;\;y \cdot \frac{z}{t - a}\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if z < -7.00000000000000056e207 or 2.0999999999999999e126 < z Initial program 83.0%
sub-neg83.0%
+-commutative83.0%
distribute-frac-neg83.0%
distribute-rgt-neg-out83.0%
associate-/l*95.2%
fma-define95.3%
distribute-frac-neg95.3%
distribute-neg-frac295.3%
sub-neg95.3%
distribute-neg-in95.3%
remove-double-neg95.3%
+-commutative95.3%
sub-neg95.3%
Simplified95.3%
Taylor expanded in z around inf 57.3%
associate-/l*62.7%
Simplified62.7%
if -7.00000000000000056e207 < z < 2.0999999999999999e126Initial program 82.2%
sub-neg82.2%
+-commutative82.2%
distribute-frac-neg82.2%
distribute-rgt-neg-out82.2%
associate-/l*83.8%
fma-define83.9%
distribute-frac-neg83.9%
distribute-neg-frac283.9%
sub-neg83.9%
distribute-neg-in83.9%
remove-double-neg83.9%
+-commutative83.9%
sub-neg83.9%
Simplified83.9%
Taylor expanded in a around inf 70.7%
+-commutative70.7%
Simplified70.7%
Final simplification69.1%
(FPCore (x y z t a) :precision binary64 (if (<= z -5.8e+207) (* z (/ y (- t a))) (if (<= z 1.62e+127) (+ x y) (* y (/ z (- t a))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -5.8e+207) {
tmp = z * (y / (t - a));
} else if (z <= 1.62e+127) {
tmp = x + y;
} else {
tmp = y * (z / (t - a));
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if (z <= (-5.8d+207)) then
tmp = z * (y / (t - a))
else if (z <= 1.62d+127) then
tmp = x + y
else
tmp = y * (z / (t - a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -5.8e+207) {
tmp = z * (y / (t - a));
} else if (z <= 1.62e+127) {
tmp = x + y;
} else {
tmp = y * (z / (t - a));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -5.8e+207: tmp = z * (y / (t - a)) elif z <= 1.62e+127: tmp = x + y else: tmp = y * (z / (t - a)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -5.8e+207) tmp = Float64(z * Float64(y / Float64(t - a))); elseif (z <= 1.62e+127) tmp = Float64(x + y); else tmp = Float64(y * Float64(z / Float64(t - a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -5.8e+207) tmp = z * (y / (t - a)); elseif (z <= 1.62e+127) tmp = x + y; else tmp = y * (z / (t - a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -5.8e+207], N[(z * N[(y / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.62e+127], N[(x + y), $MachinePrecision], N[(y * N[(z / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5.8 \cdot 10^{+207}:\\
\;\;\;\;z \cdot \frac{y}{t - a}\\
\mathbf{elif}\;z \leq 1.62 \cdot 10^{+127}:\\
\;\;\;\;x + y\\
\mathbf{else}:\\
\;\;\;\;y \cdot \frac{z}{t - a}\\
\end{array}
\end{array}
if z < -5.79999999999999994e207Initial program 79.8%
sub-neg79.8%
+-commutative79.8%
distribute-frac-neg79.8%
distribute-rgt-neg-out79.8%
associate-/l*99.7%
fma-define99.8%
distribute-frac-neg99.8%
distribute-neg-frac299.8%
sub-neg99.8%
distribute-neg-in99.8%
remove-double-neg99.8%
+-commutative99.8%
sub-neg99.8%
Simplified99.8%
Taylor expanded in z around inf 56.0%
*-commutative56.0%
*-lft-identity56.0%
times-frac65.5%
/-rgt-identity65.5%
Simplified65.5%
if -5.79999999999999994e207 < z < 1.62000000000000007e127Initial program 82.2%
sub-neg82.2%
+-commutative82.2%
distribute-frac-neg82.2%
distribute-rgt-neg-out82.2%
associate-/l*83.8%
fma-define83.9%
distribute-frac-neg83.9%
distribute-neg-frac283.9%
sub-neg83.9%
distribute-neg-in83.9%
remove-double-neg83.9%
+-commutative83.9%
sub-neg83.9%
Simplified83.9%
Taylor expanded in a around inf 70.7%
+-commutative70.7%
Simplified70.7%
if 1.62000000000000007e127 < z Initial program 84.8%
sub-neg84.8%
+-commutative84.8%
distribute-frac-neg84.8%
distribute-rgt-neg-out84.8%
associate-/l*92.7%
fma-define92.8%
distribute-frac-neg92.8%
distribute-neg-frac292.8%
sub-neg92.8%
distribute-neg-in92.8%
remove-double-neg92.8%
+-commutative92.8%
sub-neg92.8%
Simplified92.8%
Taylor expanded in z around inf 58.0%
associate-/l*63.8%
Simplified63.8%
Final simplification69.4%
(FPCore (x y z t a) :precision binary64 (if (<= y -1.3e+94) y (if (<= y 3.7e+127) x y)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -1.3e+94) {
tmp = y;
} else if (y <= 3.7e+127) {
tmp = x;
} else {
tmp = 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 (y <= (-1.3d+94)) then
tmp = y
else if (y <= 3.7d+127) then
tmp = x
else
tmp = y
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.3e+94) {
tmp = y;
} else if (y <= 3.7e+127) {
tmp = x;
} else {
tmp = y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if y <= -1.3e+94: tmp = y elif y <= 3.7e+127: tmp = x else: tmp = y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (y <= -1.3e+94) tmp = y; elseif (y <= 3.7e+127) tmp = x; else tmp = y; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (y <= -1.3e+94) tmp = y; elseif (y <= 3.7e+127) tmp = x; else tmp = y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[y, -1.3e+94], y, If[LessEqual[y, 3.7e+127], x, y]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.3 \cdot 10^{+94}:\\
\;\;\;\;y\\
\mathbf{elif}\;y \leq 3.7 \cdot 10^{+127}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;y\\
\end{array}
\end{array}
if y < -1.3e94 or 3.6999999999999998e127 < y Initial program 65.0%
sub-neg65.0%
+-commutative65.0%
distribute-frac-neg65.0%
distribute-rgt-neg-out65.0%
associate-/l*79.0%
fma-define79.2%
distribute-frac-neg79.2%
distribute-neg-frac279.2%
sub-neg79.2%
distribute-neg-in79.2%
remove-double-neg79.2%
+-commutative79.2%
sub-neg79.2%
Simplified79.2%
Taylor expanded in a around inf 43.1%
+-commutative43.1%
Simplified43.1%
Taylor expanded in y around inf 38.8%
if -1.3e94 < y < 3.6999999999999998e127Initial program 89.4%
sub-neg89.4%
+-commutative89.4%
distribute-frac-neg89.4%
distribute-rgt-neg-out89.4%
associate-/l*89.1%
fma-define89.2%
distribute-frac-neg89.2%
distribute-neg-frac289.2%
sub-neg89.2%
distribute-neg-in89.2%
remove-double-neg89.2%
+-commutative89.2%
sub-neg89.2%
Simplified89.2%
Taylor expanded in t around inf 65.9%
distribute-rgt1-in65.9%
metadata-eval65.9%
mul0-lft65.9%
Simplified65.9%
Taylor expanded in x around 0 65.9%
(FPCore (x y z t a) :precision binary64 (if (<= z 1.25e+215) (+ x y) (* y (/ z (- a)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= 1.25e+215) {
tmp = x + y;
} else {
tmp = 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 (z <= 1.25d+215) then
tmp = x + y
else
tmp = 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 (z <= 1.25e+215) {
tmp = x + y;
} else {
tmp = y * (z / -a);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= 1.25e+215: tmp = x + y else: tmp = y * (z / -a) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= 1.25e+215) tmp = Float64(x + y); else tmp = Float64(y * Float64(z / Float64(-a))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= 1.25e+215) tmp = x + y; else tmp = y * (z / -a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, 1.25e+215], N[(x + y), $MachinePrecision], N[(y * N[(z / (-a)), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq 1.25 \cdot 10^{+215}:\\
\;\;\;\;x + y\\
\mathbf{else}:\\
\;\;\;\;y \cdot \frac{z}{-a}\\
\end{array}
\end{array}
if z < 1.25e215Initial program 81.9%
sub-neg81.9%
+-commutative81.9%
distribute-frac-neg81.9%
distribute-rgt-neg-out81.9%
associate-/l*85.7%
fma-define85.8%
distribute-frac-neg85.8%
distribute-neg-frac285.8%
sub-neg85.8%
distribute-neg-in85.8%
remove-double-neg85.8%
+-commutative85.8%
sub-neg85.8%
Simplified85.8%
Taylor expanded in a around inf 66.2%
+-commutative66.2%
Simplified66.2%
if 1.25e215 < z Initial program 87.4%
sub-neg87.4%
+-commutative87.4%
distribute-frac-neg87.4%
distribute-rgt-neg-out87.4%
associate-/l*91.4%
fma-define91.4%
distribute-frac-neg91.4%
distribute-neg-frac291.4%
sub-neg91.4%
distribute-neg-in91.4%
remove-double-neg91.4%
+-commutative91.4%
sub-neg91.4%
Simplified91.4%
Taylor expanded in z around inf 65.1%
*-commutative65.1%
*-lft-identity65.1%
times-frac65.1%
/-rgt-identity65.1%
Simplified65.1%
Taylor expanded in t around 0 42.9%
mul-1-neg42.9%
associate-*r/51.4%
distribute-rgt-neg-out51.4%
distribute-neg-frac251.4%
Simplified51.4%
Final simplification64.9%
(FPCore (x y z t a) :precision binary64 (if (<= y -6.6e+232) (* z (/ y t)) (+ x y)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -6.6e+232) {
tmp = z * (y / t);
} else {
tmp = x + 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 (y <= (-6.6d+232)) then
tmp = z * (y / t)
else
tmp = x + y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -6.6e+232) {
tmp = z * (y / t);
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if y <= -6.6e+232: tmp = z * (y / t) else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (y <= -6.6e+232) tmp = Float64(z * Float64(y / t)); else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (y <= -6.6e+232) tmp = z * (y / t); else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[y, -6.6e+232], N[(z * N[(y / t), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -6.6 \cdot 10^{+232}:\\
\;\;\;\;z \cdot \frac{y}{t}\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if y < -6.6e232Initial program 73.8%
sub-neg73.8%
+-commutative73.8%
distribute-frac-neg73.8%
distribute-rgt-neg-out73.8%
associate-/l*80.2%
fma-define80.6%
distribute-frac-neg80.6%
distribute-neg-frac280.6%
sub-neg80.6%
distribute-neg-in80.6%
remove-double-neg80.6%
+-commutative80.6%
sub-neg80.6%
Simplified80.6%
Taylor expanded in z around inf 61.0%
*-commutative61.0%
*-lft-identity61.0%
times-frac60.9%
/-rgt-identity60.9%
Simplified60.9%
Taylor expanded in t around inf 55.1%
if -6.6e232 < y Initial program 82.9%
sub-neg82.9%
+-commutative82.9%
distribute-frac-neg82.9%
distribute-rgt-neg-out82.9%
associate-/l*86.5%
fma-define86.6%
distribute-frac-neg86.6%
distribute-neg-frac286.6%
sub-neg86.6%
distribute-neg-in86.6%
remove-double-neg86.6%
+-commutative86.6%
sub-neg86.6%
Simplified86.6%
Taylor expanded in a around inf 65.1%
+-commutative65.1%
Simplified65.1%
Final simplification64.5%
(FPCore (x y z t a) :precision binary64 (if (<= y -5e+233) (* y (/ z t)) (+ x y)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -5e+233) {
tmp = y * (z / t);
} else {
tmp = x + 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 (y <= (-5d+233)) then
tmp = y * (z / t)
else
tmp = x + y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -5e+233) {
tmp = y * (z / t);
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if y <= -5e+233: tmp = y * (z / t) else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (y <= -5e+233) tmp = Float64(y * Float64(z / t)); else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (y <= -5e+233) tmp = y * (z / t); else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[y, -5e+233], N[(y * N[(z / t), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5 \cdot 10^{+233}:\\
\;\;\;\;y \cdot \frac{z}{t}\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if y < -5.00000000000000009e233Initial program 73.8%
sub-neg73.8%
+-commutative73.8%
distribute-frac-neg73.8%
distribute-rgt-neg-out73.8%
associate-/l*80.2%
fma-define80.6%
distribute-frac-neg80.6%
distribute-neg-frac280.6%
sub-neg80.6%
distribute-neg-in80.6%
remove-double-neg80.6%
+-commutative80.6%
sub-neg80.6%
Simplified80.6%
Taylor expanded in z around inf 61.0%
*-commutative61.0%
*-lft-identity61.0%
times-frac60.9%
/-rgt-identity60.9%
Simplified60.9%
Taylor expanded in t around inf 55.0%
associate-/l*54.9%
Simplified54.9%
if -5.00000000000000009e233 < y Initial program 82.9%
sub-neg82.9%
+-commutative82.9%
distribute-frac-neg82.9%
distribute-rgt-neg-out82.9%
associate-/l*86.5%
fma-define86.6%
distribute-frac-neg86.6%
distribute-neg-frac286.6%
sub-neg86.6%
distribute-neg-in86.6%
remove-double-neg86.6%
+-commutative86.6%
sub-neg86.6%
Simplified86.6%
Taylor expanded in a around inf 65.1%
+-commutative65.1%
Simplified65.1%
Final simplification64.5%
(FPCore (x y z t a) :precision binary64 (+ x y))
double code(double x, double y, double z, double t, double a) {
return x + y;
}
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
end function
public static double code(double x, double y, double z, double t, double a) {
return x + y;
}
def code(x, y, z, t, a): return x + y
function code(x, y, z, t, a) return Float64(x + y) end
function tmp = code(x, y, z, t, a) tmp = x + y; end
code[x_, y_, z_, t_, a_] := N[(x + y), $MachinePrecision]
\begin{array}{l}
\\
x + y
\end{array}
Initial program 82.3%
sub-neg82.3%
+-commutative82.3%
distribute-frac-neg82.3%
distribute-rgt-neg-out82.3%
associate-/l*86.2%
fma-define86.3%
distribute-frac-neg86.3%
distribute-neg-frac286.3%
sub-neg86.3%
distribute-neg-in86.3%
remove-double-neg86.3%
+-commutative86.3%
sub-neg86.3%
Simplified86.3%
Taylor expanded in a around inf 62.9%
+-commutative62.9%
Simplified62.9%
Final simplification62.9%
(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 82.3%
sub-neg82.3%
+-commutative82.3%
distribute-frac-neg82.3%
distribute-rgt-neg-out82.3%
associate-/l*86.2%
fma-define86.3%
distribute-frac-neg86.3%
distribute-neg-frac286.3%
sub-neg86.3%
distribute-neg-in86.3%
remove-double-neg86.3%
+-commutative86.3%
sub-neg86.3%
Simplified86.3%
Taylor expanded in t around inf 48.9%
distribute-rgt1-in48.9%
metadata-eval48.9%
mul0-lft48.9%
Simplified48.9%
Taylor expanded in x around 0 48.9%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (- (+ y x) (* (* (- z t) (/ 1.0 (- a t))) y)))
(t_2 (- (+ x y) (/ (* (- z t) y) (- a t)))))
(if (< t_2 -1.3664970889390727e-7)
t_1
(if (< t_2 1.4754293444577233e-239)
(/ (- (* y (- a z)) (* x t)) (- a t))
t_1))))
double code(double x, double y, double z, double t, double a) {
double t_1 = (y + x) - (((z - t) * (1.0 / (a - t))) * y);
double t_2 = (x + y) - (((z - t) * y) / (a - t));
double tmp;
if (t_2 < -1.3664970889390727e-7) {
tmp = t_1;
} else if (t_2 < 1.4754293444577233e-239) {
tmp = ((y * (a - z)) - (x * t)) / (a - t);
} else {
tmp = 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) :: t_2
real(8) :: tmp
t_1 = (y + x) - (((z - t) * (1.0d0 / (a - t))) * y)
t_2 = (x + y) - (((z - t) * y) / (a - t))
if (t_2 < (-1.3664970889390727d-7)) then
tmp = t_1
else if (t_2 < 1.4754293444577233d-239) then
tmp = ((y * (a - z)) - (x * t)) / (a - t)
else
tmp = 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 = (y + x) - (((z - t) * (1.0 / (a - t))) * y);
double t_2 = (x + y) - (((z - t) * y) / (a - t));
double tmp;
if (t_2 < -1.3664970889390727e-7) {
tmp = t_1;
} else if (t_2 < 1.4754293444577233e-239) {
tmp = ((y * (a - z)) - (x * t)) / (a - t);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = (y + x) - (((z - t) * (1.0 / (a - t))) * y) t_2 = (x + y) - (((z - t) * y) / (a - t)) tmp = 0 if t_2 < -1.3664970889390727e-7: tmp = t_1 elif t_2 < 1.4754293444577233e-239: tmp = ((y * (a - z)) - (x * t)) / (a - t) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(Float64(y + x) - Float64(Float64(Float64(z - t) * Float64(1.0 / Float64(a - t))) * y)) t_2 = Float64(Float64(x + y) - Float64(Float64(Float64(z - t) * y) / Float64(a - t))) tmp = 0.0 if (t_2 < -1.3664970889390727e-7) tmp = t_1; elseif (t_2 < 1.4754293444577233e-239) tmp = Float64(Float64(Float64(y * Float64(a - z)) - Float64(x * t)) / Float64(a - t)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = (y + x) - (((z - t) * (1.0 / (a - t))) * y); t_2 = (x + y) - (((z - t) * y) / (a - t)); tmp = 0.0; if (t_2 < -1.3664970889390727e-7) tmp = t_1; elseif (t_2 < 1.4754293444577233e-239) tmp = ((y * (a - z)) - (x * t)) / (a - t); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(y + x), $MachinePrecision] - N[(N[(N[(z - t), $MachinePrecision] * N[(1.0 / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x + y), $MachinePrecision] - N[(N[(N[(z - t), $MachinePrecision] * y), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[t$95$2, -1.3664970889390727e-7], t$95$1, If[Less[t$95$2, 1.4754293444577233e-239], N[(N[(N[(y * N[(a - z), $MachinePrecision]), $MachinePrecision] - N[(x * t), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(y + x\right) - \left(\left(z - t\right) \cdot \frac{1}{a - t}\right) \cdot y\\
t_2 := \left(x + y\right) - \frac{\left(z - t\right) \cdot y}{a - t}\\
\mathbf{if}\;t\_2 < -1.3664970889390727 \cdot 10^{-7}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t\_2 < 1.4754293444577233 \cdot 10^{-239}:\\
\;\;\;\;\frac{y \cdot \left(a - z\right) - x \cdot t}{a - t}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
herbie shell --seed 2024145
(FPCore (x y z t a)
:name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTick from plot-0.2.3.4, B"
:precision binary64
:alt
(! :herbie-platform default (if (< (- (+ x y) (/ (* (- z t) y) (- a t))) -13664970889390727/100000000000000000000000) (- (+ y x) (* (* (- z t) (/ 1 (- a t))) y)) (if (< (- (+ x y) (/ (* (- z t) y) (- a t))) 14754293444577233/1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (/ (- (* y (- a z)) (* x t)) (- a t)) (- (+ y x) (* (* (- z t) (/ 1 (- a t))) y)))))
(- (+ x y) (/ (* (- z t) y) (- a t))))