
(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 12 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 (if (or (<= t -1.4e+96) (not (<= t 1.05e+115))) (+ (- x (* a (/ y t))) (* y (/ z t))) (fma (- z t) (/ y (- t a)) (+ x y))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -1.4e+96) || !(t <= 1.05e+115)) {
tmp = (x - (a * (y / t))) + (y * (z / t));
} else {
tmp = fma((z - t), (y / (t - a)), (x + y));
}
return tmp;
}
function code(x, y, z, t, a) tmp = 0.0 if ((t <= -1.4e+96) || !(t <= 1.05e+115)) tmp = Float64(Float64(x - Float64(a * Float64(y / t))) + Float64(y * Float64(z / t))); else tmp = fma(Float64(z - t), Float64(y / Float64(t - a)), Float64(x + y)); end return tmp end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[t, -1.4e+96], N[Not[LessEqual[t, 1.05e+115]], $MachinePrecision]], N[(N[(x - N[(a * N[(y / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(z - t), $MachinePrecision] * N[(y / N[(t - a), $MachinePrecision]), $MachinePrecision] + N[(x + y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.4 \cdot 10^{+96} \lor \neg \left(t \leq 1.05 \cdot 10^{+115}\right):\\
\;\;\;\;\left(x - a \cdot \frac{y}{t}\right) + y \cdot \frac{z}{t}\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(z - t, \frac{y}{t - a}, x + y\right)\\
\end{array}
\end{array}
if t < -1.4e96 or 1.05000000000000002e115 < t Initial program 51.0%
Taylor expanded in t around inf 80.8%
sub-neg80.8%
mul-1-neg80.8%
unsub-neg80.8%
associate-/l*84.0%
mul-1-neg84.0%
remove-double-neg84.0%
associate-/l*91.1%
Simplified91.1%
if -1.4e96 < t < 1.05000000000000002e115Initial program 90.3%
sub-neg90.3%
+-commutative90.3%
distribute-frac-neg90.3%
distribute-rgt-neg-out90.3%
associate-/l*91.9%
fma-define91.9%
distribute-frac-neg91.9%
distribute-neg-frac291.9%
sub-neg91.9%
distribute-neg-in91.9%
remove-double-neg91.9%
+-commutative91.9%
sub-neg91.9%
Simplified91.9%
Final simplification91.7%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -3.5e+16) (not (<= a 9.2e+86))) (+ (+ x y) (* y (/ z (- t a)))) (+ x (/ y (/ (- t a) z)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -3.5e+16) || !(a <= 9.2e+86)) {
tmp = (x + y) + (y * (z / (t - a)));
} else {
tmp = x + (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 ((a <= (-3.5d+16)) .or. (.not. (a <= 9.2d+86))) then
tmp = (x + y) + (y * (z / (t - a)))
else
tmp = x + (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 ((a <= -3.5e+16) || !(a <= 9.2e+86)) {
tmp = (x + y) + (y * (z / (t - a)));
} else {
tmp = x + (y / ((t - a) / z));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -3.5e+16) or not (a <= 9.2e+86): tmp = (x + y) + (y * (z / (t - a))) else: tmp = x + (y / ((t - a) / z)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -3.5e+16) || !(a <= 9.2e+86)) tmp = Float64(Float64(x + y) + Float64(y * Float64(z / Float64(t - a)))); else tmp = Float64(x + Float64(y / Float64(Float64(t - a) / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -3.5e+16) || ~((a <= 9.2e+86))) tmp = (x + y) + (y * (z / (t - a))); else tmp = x + (y / ((t - a) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -3.5e+16], N[Not[LessEqual[a, 9.2e+86]], $MachinePrecision]], N[(N[(x + y), $MachinePrecision] + N[(y * N[(z / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / N[(N[(t - a), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -3.5 \cdot 10^{+16} \lor \neg \left(a \leq 9.2 \cdot 10^{+86}\right):\\
\;\;\;\;\left(x + y\right) + y \cdot \frac{z}{t - a}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\frac{t - a}{z}}\\
\end{array}
\end{array}
if a < -3.5e16 or 9.19999999999999958e86 < a Initial program 83.0%
Taylor expanded in z around inf 86.1%
associate-/l*93.0%
Simplified93.0%
if -3.5e16 < a < 9.19999999999999958e86Initial program 73.8%
Taylor expanded in z around inf 71.5%
associate-/l*71.2%
Simplified71.2%
clear-num71.2%
un-div-inv71.3%
Applied egg-rr71.3%
Taylor expanded in x around inf 90.4%
Final simplification91.5%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ y (/ (- t a) z))))
(if (<= a -6.2e+15)
(+ (+ x y) (* y (/ z (- t a))))
(if (<= a 3.4e+86) (+ x t_1) (+ (+ x y) t_1)))))
double code(double x, double y, double z, double t, double a) {
double t_1 = y / ((t - a) / z);
double tmp;
if (a <= -6.2e+15) {
tmp = (x + y) + (y * (z / (t - a)));
} else if (a <= 3.4e+86) {
tmp = x + t_1;
} else {
tmp = (x + y) + t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: t_1
real(8) :: tmp
t_1 = y / ((t - a) / z)
if (a <= (-6.2d+15)) then
tmp = (x + y) + (y * (z / (t - a)))
else if (a <= 3.4d+86) then
tmp = x + t_1
else
tmp = (x + y) + t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double t_1 = y / ((t - a) / z);
double tmp;
if (a <= -6.2e+15) {
tmp = (x + y) + (y * (z / (t - a)));
} else if (a <= 3.4e+86) {
tmp = x + t_1;
} else {
tmp = (x + y) + t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = y / ((t - a) / z) tmp = 0 if a <= -6.2e+15: tmp = (x + y) + (y * (z / (t - a))) elif a <= 3.4e+86: tmp = x + t_1 else: tmp = (x + y) + t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(y / Float64(Float64(t - a) / z)) tmp = 0.0 if (a <= -6.2e+15) tmp = Float64(Float64(x + y) + Float64(y * Float64(z / Float64(t - a)))); elseif (a <= 3.4e+86) tmp = Float64(x + t_1); else tmp = Float64(Float64(x + y) + t_1); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = y / ((t - a) / z); tmp = 0.0; if (a <= -6.2e+15) tmp = (x + y) + (y * (z / (t - a))); elseif (a <= 3.4e+86) tmp = x + t_1; else tmp = (x + y) + t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(y / N[(N[(t - a), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -6.2e+15], N[(N[(x + y), $MachinePrecision] + N[(y * N[(z / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.4e+86], N[(x + t$95$1), $MachinePrecision], N[(N[(x + y), $MachinePrecision] + t$95$1), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{y}{\frac{t - a}{z}}\\
\mathbf{if}\;a \leq -6.2 \cdot 10^{+15}:\\
\;\;\;\;\left(x + y\right) + y \cdot \frac{z}{t - a}\\
\mathbf{elif}\;a \leq 3.4 \cdot 10^{+86}:\\
\;\;\;\;x + t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(x + y\right) + t\_1\\
\end{array}
\end{array}
if a < -6.2e15Initial program 89.0%
Taylor expanded in z around inf 89.6%
associate-/l*95.5%
Simplified95.5%
if -6.2e15 < a < 3.3999999999999998e86Initial program 73.8%
Taylor expanded in z around inf 71.5%
associate-/l*71.2%
Simplified71.2%
clear-num71.2%
un-div-inv71.3%
Applied egg-rr71.3%
Taylor expanded in x around inf 90.4%
if 3.3999999999999998e86 < a Initial program 74.0%
Taylor expanded in z around inf 80.8%
associate-/l*89.4%
Simplified89.4%
clear-num89.4%
un-div-inv89.4%
Applied egg-rr89.4%
Final simplification91.5%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -5.8e+14) (not (<= a 4e+86))) (- (+ x y) (* y (/ z a))) (+ x (/ y (/ (- t a) z)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -5.8e+14) || !(a <= 4e+86)) {
tmp = (x + y) - (y * (z / a));
} else {
tmp = x + (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 ((a <= (-5.8d+14)) .or. (.not. (a <= 4d+86))) then
tmp = (x + y) - (y * (z / a))
else
tmp = x + (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 ((a <= -5.8e+14) || !(a <= 4e+86)) {
tmp = (x + y) - (y * (z / a));
} else {
tmp = x + (y / ((t - a) / z));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -5.8e+14) or not (a <= 4e+86): tmp = (x + y) - (y * (z / a)) else: tmp = x + (y / ((t - a) / z)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -5.8e+14) || !(a <= 4e+86)) tmp = Float64(Float64(x + y) - Float64(y * Float64(z / a))); else tmp = Float64(x + Float64(y / Float64(Float64(t - a) / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -5.8e+14) || ~((a <= 4e+86))) tmp = (x + y) - (y * (z / a)); else tmp = x + (y / ((t - a) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -5.8e+14], N[Not[LessEqual[a, 4e+86]], $MachinePrecision]], N[(N[(x + y), $MachinePrecision] - N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / N[(N[(t - a), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -5.8 \cdot 10^{+14} \lor \neg \left(a \leq 4 \cdot 10^{+86}\right):\\
\;\;\;\;\left(x + y\right) - y \cdot \frac{z}{a}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\frac{t - a}{z}}\\
\end{array}
\end{array}
if a < -5.8e14 or 4.0000000000000001e86 < a Initial program 83.0%
Taylor expanded in t around 0 84.1%
associate-/l*90.5%
Simplified90.5%
if -5.8e14 < a < 4.0000000000000001e86Initial program 73.8%
Taylor expanded in z around inf 71.5%
associate-/l*71.2%
Simplified71.2%
clear-num71.2%
un-div-inv71.3%
Applied egg-rr71.3%
Taylor expanded in x around inf 90.4%
Final simplification90.5%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -8e+16) (not (<= a 3.8e+179))) (+ x y) (+ x (/ y (/ (- t a) z)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -8e+16) || !(a <= 3.8e+179)) {
tmp = x + y;
} else {
tmp = x + (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 ((a <= (-8d+16)) .or. (.not. (a <= 3.8d+179))) then
tmp = x + y
else
tmp = x + (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 ((a <= -8e+16) || !(a <= 3.8e+179)) {
tmp = x + y;
} else {
tmp = x + (y / ((t - a) / z));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -8e+16) or not (a <= 3.8e+179): tmp = x + y else: tmp = x + (y / ((t - a) / z)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -8e+16) || !(a <= 3.8e+179)) tmp = Float64(x + y); else tmp = Float64(x + Float64(y / Float64(Float64(t - a) / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -8e+16) || ~((a <= 3.8e+179))) tmp = x + y; else tmp = x + (y / ((t - a) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -8e+16], N[Not[LessEqual[a, 3.8e+179]], $MachinePrecision]], N[(x + y), $MachinePrecision], N[(x + N[(y / N[(N[(t - a), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -8 \cdot 10^{+16} \lor \neg \left(a \leq 3.8 \cdot 10^{+179}\right):\\
\;\;\;\;x + y\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\frac{t - a}{z}}\\
\end{array}
\end{array}
if a < -8e16 or 3.8e179 < a Initial program 86.9%
sub-neg86.9%
+-commutative86.9%
distribute-frac-neg86.9%
distribute-rgt-neg-out86.9%
associate-/l*94.8%
fma-define94.7%
distribute-frac-neg94.7%
distribute-neg-frac294.7%
sub-neg94.7%
distribute-neg-in94.7%
remove-double-neg94.7%
+-commutative94.7%
sub-neg94.7%
Simplified94.7%
Taylor expanded in a around inf 86.4%
+-commutative86.4%
Simplified86.4%
if -8e16 < a < 3.8e179Initial program 72.5%
Taylor expanded in z around inf 72.0%
associate-/l*71.8%
Simplified71.8%
clear-num71.8%
un-div-inv71.8%
Applied egg-rr71.8%
Taylor expanded in x around inf 88.6%
Final simplification87.8%
(FPCore (x y z t a) :precision binary64 (if (<= a -4.8e-118) (+ x y) (if (<= a 3e-246) (* y (/ z (- t a))) (if (<= a 1.32e+92) x (+ x y)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -4.8e-118) {
tmp = x + y;
} else if (a <= 3e-246) {
tmp = y * (z / (t - a));
} else if (a <= 1.32e+92) {
tmp = x;
} 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 <= (-4.8d-118)) then
tmp = x + y
else if (a <= 3d-246) then
tmp = y * (z / (t - a))
else if (a <= 1.32d+92) then
tmp = x
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 <= -4.8e-118) {
tmp = x + y;
} else if (a <= 3e-246) {
tmp = y * (z / (t - a));
} else if (a <= 1.32e+92) {
tmp = x;
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -4.8e-118: tmp = x + y elif a <= 3e-246: tmp = y * (z / (t - a)) elif a <= 1.32e+92: tmp = x else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -4.8e-118) tmp = Float64(x + y); elseif (a <= 3e-246) tmp = Float64(y * Float64(z / Float64(t - a))); elseif (a <= 1.32e+92) tmp = x; else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -4.8e-118) tmp = x + y; elseif (a <= 3e-246) tmp = y * (z / (t - a)); elseif (a <= 1.32e+92) tmp = x; else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -4.8e-118], N[(x + y), $MachinePrecision], If[LessEqual[a, 3e-246], N[(y * N[(z / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.32e+92], x, N[(x + y), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -4.8 \cdot 10^{-118}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;a \leq 3 \cdot 10^{-246}:\\
\;\;\;\;y \cdot \frac{z}{t - a}\\
\mathbf{elif}\;a \leq 1.32 \cdot 10^{+92}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if a < -4.8000000000000003e-118 or 1.32000000000000007e92 < a Initial program 82.1%
sub-neg82.1%
+-commutative82.1%
distribute-frac-neg82.1%
distribute-rgt-neg-out82.1%
associate-/l*90.1%
fma-define90.0%
distribute-frac-neg90.0%
distribute-neg-frac290.0%
sub-neg90.0%
distribute-neg-in90.0%
remove-double-neg90.0%
+-commutative90.0%
sub-neg90.0%
Simplified90.0%
Taylor expanded in a around inf 78.5%
+-commutative78.5%
Simplified78.5%
if -4.8000000000000003e-118 < a < 3e-246Initial program 71.0%
sub-neg71.0%
+-commutative71.0%
distribute-frac-neg71.0%
distribute-rgt-neg-out71.0%
associate-/l*69.2%
fma-define69.2%
distribute-frac-neg69.2%
distribute-neg-frac269.2%
sub-neg69.2%
distribute-neg-in69.2%
remove-double-neg69.2%
+-commutative69.2%
sub-neg69.2%
Simplified69.2%
Taylor expanded in z around inf 57.1%
associate-/l*60.7%
Simplified60.7%
if 3e-246 < a < 1.32000000000000007e92Initial program 74.3%
sub-neg74.3%
+-commutative74.3%
distribute-frac-neg74.3%
distribute-rgt-neg-out74.3%
associate-/l*74.0%
fma-define73.8%
distribute-frac-neg73.8%
distribute-neg-frac273.8%
sub-neg73.8%
distribute-neg-in73.8%
remove-double-neg73.8%
+-commutative73.8%
sub-neg73.8%
Simplified73.8%
Taylor expanded in t around inf 63.1%
distribute-rgt1-in63.1%
metadata-eval63.1%
mul0-lft63.1%
Simplified63.1%
Taylor expanded in x around 0 63.1%
Final simplification70.7%
(FPCore (x y z t a) :precision binary64 (if (<= a -3.1e-121) (+ x y) (if (<= a 1.05e-276) (* y (/ z t)) (if (<= a 1.2e+97) x (+ x y)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -3.1e-121) {
tmp = x + y;
} else if (a <= 1.05e-276) {
tmp = y * (z / t);
} else if (a <= 1.2e+97) {
tmp = x;
} 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 <= (-3.1d-121)) then
tmp = x + y
else if (a <= 1.05d-276) then
tmp = y * (z / t)
else if (a <= 1.2d+97) then
tmp = x
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 <= -3.1e-121) {
tmp = x + y;
} else if (a <= 1.05e-276) {
tmp = y * (z / t);
} else if (a <= 1.2e+97) {
tmp = x;
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -3.1e-121: tmp = x + y elif a <= 1.05e-276: tmp = y * (z / t) elif a <= 1.2e+97: tmp = x else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -3.1e-121) tmp = Float64(x + y); elseif (a <= 1.05e-276) tmp = Float64(y * Float64(z / t)); elseif (a <= 1.2e+97) tmp = x; else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -3.1e-121) tmp = x + y; elseif (a <= 1.05e-276) tmp = y * (z / t); elseif (a <= 1.2e+97) tmp = x; else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -3.1e-121], N[(x + y), $MachinePrecision], If[LessEqual[a, 1.05e-276], N[(y * N[(z / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.2e+97], x, N[(x + y), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -3.1 \cdot 10^{-121}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;a \leq 1.05 \cdot 10^{-276}:\\
\;\;\;\;y \cdot \frac{z}{t}\\
\mathbf{elif}\;a \leq 1.2 \cdot 10^{+97}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if a < -3.0999999999999998e-121 or 1.2e97 < a Initial program 82.1%
sub-neg82.1%
+-commutative82.1%
distribute-frac-neg82.1%
distribute-rgt-neg-out82.1%
associate-/l*90.1%
fma-define90.0%
distribute-frac-neg90.0%
distribute-neg-frac290.0%
sub-neg90.0%
distribute-neg-in90.0%
remove-double-neg90.0%
+-commutative90.0%
sub-neg90.0%
Simplified90.0%
Taylor expanded in a around inf 78.5%
+-commutative78.5%
Simplified78.5%
if -3.0999999999999998e-121 < a < 1.05e-276Initial program 72.7%
sub-neg72.7%
+-commutative72.7%
distribute-frac-neg72.7%
distribute-rgt-neg-out72.7%
associate-/l*72.8%
fma-define72.7%
distribute-frac-neg72.7%
distribute-neg-frac272.7%
sub-neg72.7%
distribute-neg-in72.7%
remove-double-neg72.7%
+-commutative72.7%
sub-neg72.7%
Simplified72.7%
Taylor expanded in z around inf 59.9%
*-commutative59.9%
*-lft-identity59.9%
times-frac62.0%
/-rgt-identity62.0%
Simplified62.0%
Taylor expanded in t around inf 51.0%
associate-/l*55.4%
Simplified55.4%
if 1.05e-276 < a < 1.2e97Initial program 73.0%
sub-neg73.0%
+-commutative73.0%
distribute-frac-neg73.0%
distribute-rgt-neg-out73.0%
associate-/l*71.5%
fma-define71.4%
distribute-frac-neg71.4%
distribute-neg-frac271.4%
sub-neg71.4%
distribute-neg-in71.4%
remove-double-neg71.4%
+-commutative71.4%
sub-neg71.4%
Simplified71.4%
Taylor expanded in t around inf 61.0%
distribute-rgt1-in61.0%
metadata-eval61.0%
mul0-lft61.0%
Simplified61.0%
Taylor expanded in x around 0 61.0%
Final simplification69.3%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -1080000000000.0) (not (<= a 3.05e+93))) (+ x y) (+ x (/ y (/ t z)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -1080000000000.0) || !(a <= 3.05e+93)) {
tmp = x + y;
} else {
tmp = x + (y / (t / 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 ((a <= (-1080000000000.0d0)) .or. (.not. (a <= 3.05d+93))) then
tmp = x + y
else
tmp = x + (y / (t / z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -1080000000000.0) || !(a <= 3.05e+93)) {
tmp = x + y;
} else {
tmp = x + (y / (t / z));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -1080000000000.0) or not (a <= 3.05e+93): tmp = x + y else: tmp = x + (y / (t / z)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -1080000000000.0) || !(a <= 3.05e+93)) tmp = Float64(x + y); else tmp = Float64(x + Float64(y / Float64(t / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -1080000000000.0) || ~((a <= 3.05e+93))) tmp = x + y; else tmp = x + (y / (t / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -1080000000000.0], N[Not[LessEqual[a, 3.05e+93]], $MachinePrecision]], N[(x + y), $MachinePrecision], N[(x + N[(y / N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1080000000000 \lor \neg \left(a \leq 3.05 \cdot 10^{+93}\right):\\
\;\;\;\;x + y\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\frac{t}{z}}\\
\end{array}
\end{array}
if a < -1.08e12 or 3.05e93 < a Initial program 82.6%
sub-neg82.6%
+-commutative82.6%
distribute-frac-neg82.6%
distribute-rgt-neg-out82.6%
associate-/l*91.9%
fma-define91.8%
distribute-frac-neg91.8%
distribute-neg-frac291.8%
sub-neg91.8%
distribute-neg-in91.8%
remove-double-neg91.8%
+-commutative91.8%
sub-neg91.8%
Simplified91.8%
Taylor expanded in a around inf 83.7%
+-commutative83.7%
Simplified83.7%
if -1.08e12 < a < 3.05e93Initial program 74.1%
Taylor expanded in a around 0 60.5%
mul-1-neg60.5%
associate-/l*60.2%
distribute-lft-neg-in60.2%
Simplified60.2%
Taylor expanded in z around 0 77.5%
+-commutative77.5%
associate-/l*78.5%
Simplified78.5%
clear-num78.5%
un-div-inv79.2%
Applied egg-rr79.2%
Final simplification81.1%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -4100000000000.0) (not (<= a 2.06e+92))) (+ x y) (+ x (* y (/ z t)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -4100000000000.0) || !(a <= 2.06e+92)) {
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 <= (-4100000000000.0d0)) .or. (.not. (a <= 2.06d+92))) 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 <= -4100000000000.0) || !(a <= 2.06e+92)) {
tmp = x + y;
} else {
tmp = x + (y * (z / t));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -4100000000000.0) or not (a <= 2.06e+92): tmp = x + y else: tmp = x + (y * (z / t)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -4100000000000.0) || !(a <= 2.06e+92)) 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 <= -4100000000000.0) || ~((a <= 2.06e+92))) tmp = x + y; else tmp = x + (y * (z / t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -4100000000000.0], N[Not[LessEqual[a, 2.06e+92]], $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 -4100000000000 \lor \neg \left(a \leq 2.06 \cdot 10^{+92}\right):\\
\;\;\;\;x + y\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \frac{z}{t}\\
\end{array}
\end{array}
if a < -4.1e12 or 2.0599999999999999e92 < a Initial program 82.6%
sub-neg82.6%
+-commutative82.6%
distribute-frac-neg82.6%
distribute-rgt-neg-out82.6%
associate-/l*91.9%
fma-define91.8%
distribute-frac-neg91.8%
distribute-neg-frac291.8%
sub-neg91.8%
distribute-neg-in91.8%
remove-double-neg91.8%
+-commutative91.8%
sub-neg91.8%
Simplified91.8%
Taylor expanded in a around inf 83.7%
+-commutative83.7%
Simplified83.7%
if -4.1e12 < a < 2.0599999999999999e92Initial program 74.1%
Taylor expanded in a around 0 60.5%
mul-1-neg60.5%
associate-/l*60.2%
distribute-lft-neg-in60.2%
Simplified60.2%
Taylor expanded in z around 0 77.5%
+-commutative77.5%
associate-/l*78.5%
Simplified78.5%
Final simplification80.7%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -4.6e-44) (not (<= a 3e+96))) (+ x y) x))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -4.6e-44) || !(a <= 3e+96)) {
tmp = x + y;
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if ((a <= (-4.6d-44)) .or. (.not. (a <= 3d+96))) then
tmp = x + y
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a <= -4.6e-44) || !(a <= 3e+96)) {
tmp = x + y;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a <= -4.6e-44) or not (a <= 3e+96): tmp = x + y else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((a <= -4.6e-44) || !(a <= 3e+96)) tmp = Float64(x + y); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -4.6e-44) || ~((a <= 3e+96))) tmp = x + y; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[a, -4.6e-44], N[Not[LessEqual[a, 3e+96]], $MachinePrecision]], N[(x + y), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -4.6 \cdot 10^{-44} \lor \neg \left(a \leq 3 \cdot 10^{+96}\right):\\
\;\;\;\;x + y\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if a < -4.59999999999999996e-44 or 3e96 < a Initial program 82.2%
sub-neg82.2%
+-commutative82.2%
distribute-frac-neg82.2%
distribute-rgt-neg-out82.2%
associate-/l*91.2%
fma-define91.2%
distribute-frac-neg91.2%
distribute-neg-frac291.2%
sub-neg91.2%
distribute-neg-in91.2%
remove-double-neg91.2%
+-commutative91.2%
sub-neg91.2%
Simplified91.2%
Taylor expanded in a around inf 80.6%
+-commutative80.6%
Simplified80.6%
if -4.59999999999999996e-44 < a < 3e96Initial program 73.8%
sub-neg73.8%
+-commutative73.8%
distribute-frac-neg73.8%
distribute-rgt-neg-out73.8%
associate-/l*73.0%
fma-define72.8%
distribute-frac-neg72.8%
distribute-neg-frac272.8%
sub-neg72.8%
distribute-neg-in72.8%
remove-double-neg72.8%
+-commutative72.8%
sub-neg72.8%
Simplified72.8%
Taylor expanded in t around inf 54.3%
distribute-rgt1-in54.3%
metadata-eval54.3%
mul0-lft54.3%
Simplified54.3%
Taylor expanded in x around 0 54.3%
Final simplification66.5%
(FPCore (x y z t a) :precision binary64 (if (<= x -2.1e-137) x (if (<= x 1.6e-228) y x)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= -2.1e-137) {
tmp = x;
} else if (x <= 1.6e-228) {
tmp = y;
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if (x <= (-2.1d-137)) then
tmp = x
else if (x <= 1.6d-228) then
tmp = y
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (x <= -2.1e-137) {
tmp = x;
} else if (x <= 1.6e-228) {
tmp = y;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if x <= -2.1e-137: tmp = x elif x <= 1.6e-228: tmp = y else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if (x <= -2.1e-137) tmp = x; elseif (x <= 1.6e-228) tmp = y; else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (x <= -2.1e-137) tmp = x; elseif (x <= 1.6e-228) tmp = y; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[x, -2.1e-137], x, If[LessEqual[x, 1.6e-228], y, x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.1 \cdot 10^{-137}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq 1.6 \cdot 10^{-228}:\\
\;\;\;\;y\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if x < -2.09999999999999992e-137 or 1.60000000000000011e-228 < x Initial program 78.7%
sub-neg78.7%
+-commutative78.7%
distribute-frac-neg78.7%
distribute-rgt-neg-out78.7%
associate-/l*84.1%
fma-define84.1%
distribute-frac-neg84.1%
distribute-neg-frac284.1%
sub-neg84.1%
distribute-neg-in84.1%
remove-double-neg84.1%
+-commutative84.1%
sub-neg84.1%
Simplified84.1%
Taylor expanded in t around inf 64.8%
distribute-rgt1-in64.8%
metadata-eval64.8%
mul0-lft64.8%
Simplified64.8%
Taylor expanded in x around 0 64.8%
if -2.09999999999999992e-137 < x < 1.60000000000000011e-228Initial program 74.1%
sub-neg74.1%
+-commutative74.1%
distribute-frac-neg74.1%
distribute-rgt-neg-out74.1%
associate-/l*72.5%
fma-define72.0%
distribute-frac-neg72.0%
distribute-neg-frac272.0%
sub-neg72.0%
distribute-neg-in72.0%
remove-double-neg72.0%
+-commutative72.0%
sub-neg72.0%
Simplified72.0%
Taylor expanded in y around inf 67.7%
associate--l+67.7%
div-sub67.7%
Simplified67.7%
Taylor expanded in a around inf 35.3%
Taylor expanded in y around 0 35.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 77.7%
sub-neg77.7%
+-commutative77.7%
distribute-frac-neg77.7%
distribute-rgt-neg-out77.7%
associate-/l*81.5%
fma-define81.4%
distribute-frac-neg81.4%
distribute-neg-frac281.4%
sub-neg81.4%
distribute-neg-in81.4%
remove-double-neg81.4%
+-commutative81.4%
sub-neg81.4%
Simplified81.4%
Taylor expanded in t around inf 54.1%
distribute-rgt1-in54.1%
metadata-eval54.1%
mul0-lft54.1%
Simplified54.1%
Taylor expanded in x around 0 54.1%
(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 2024157
(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))))