
(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 15 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-149)
(+ (+ x y) (/ 1.0 (/ (/ (- a t) (- t z)) y)))
(if (<= t_1 0.0)
(+ x (/ (* y (- z a)) t))
(- (+ x y) (/ 1.0 (/ (/ (- a t) y) 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-149) {
tmp = (x + y) + (1.0 / (((a - t) / (t - z)) / y));
} else if (t_1 <= 0.0) {
tmp = x + ((y * (z - a)) / t);
} else {
tmp = (x + y) - (1.0 / (((a - t) / y) / 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-149)) then
tmp = (x + y) + (1.0d0 / (((a - t) / (t - z)) / y))
else if (t_1 <= 0.0d0) then
tmp = x + ((y * (z - a)) / t)
else
tmp = (x + y) - (1.0d0 / (((a - t) / y) / 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-149) {
tmp = (x + y) + (1.0 / (((a - t) / (t - z)) / y));
} else if (t_1 <= 0.0) {
tmp = x + ((y * (z - a)) / t);
} else {
tmp = (x + y) - (1.0 / (((a - t) / y) / 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-149: tmp = (x + y) + (1.0 / (((a - t) / (t - z)) / y)) elif t_1 <= 0.0: tmp = x + ((y * (z - a)) / t) else: tmp = (x + y) - (1.0 / (((a - t) / y) / 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-149) tmp = Float64(Float64(x + y) + Float64(1.0 / Float64(Float64(Float64(a - t) / Float64(t - z)) / y))); elseif (t_1 <= 0.0) tmp = Float64(x + Float64(Float64(y * Float64(z - a)) / t)); else tmp = Float64(Float64(x + y) - Float64(1.0 / Float64(Float64(Float64(a - t) / y) / 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-149) tmp = (x + y) + (1.0 / (((a - t) / (t - z)) / y)); elseif (t_1 <= 0.0) tmp = x + ((y * (z - a)) / t); else tmp = (x + y) - (1.0 / (((a - t) / y) / 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-149], N[(N[(x + y), $MachinePrecision] + N[(1.0 / N[(N[(N[(a - t), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 0.0], N[(x + N[(N[(y * N[(z - a), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], N[(N[(x + y), $MachinePrecision] - N[(1.0 / N[(N[(N[(a - t), $MachinePrecision] / y), $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^{-149}:\\
\;\;\;\;\left(x + y\right) + \frac{1}{\frac{\frac{a - t}{t - z}}{y}}\\
\mathbf{elif}\;t\_1 \leq 0:\\
\;\;\;\;x + \frac{y \cdot \left(z - a\right)}{t}\\
\mathbf{else}:\\
\;\;\;\;\left(x + y\right) - \frac{1}{\frac{\frac{a - t}{y}}{z}}\\
\end{array}
\end{array}
if (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < -9.99999999999999979e-150Initial program 78.3%
clear-num78.3%
inv-pow78.3%
*-commutative78.3%
associate-/r*92.4%
Applied egg-rr92.4%
unpow-192.4%
associate-/l/78.3%
*-commutative78.3%
Simplified78.3%
associate-/r*92.4%
div-inv92.4%
Applied egg-rr92.4%
associate-*l/93.4%
un-div-inv93.4%
Applied egg-rr93.4%
if -9.99999999999999979e-150 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < 0.0Initial program 18.5%
Taylor expanded in t around inf 96.1%
associate--l+96.1%
distribute-lft-out--96.1%
div-sub96.1%
mul-1-neg96.1%
unsub-neg96.1%
*-commutative96.1%
distribute-lft-out--96.1%
Simplified96.1%
if 0.0 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) Initial program 89.1%
clear-num89.1%
inv-pow89.1%
*-commutative89.1%
associate-/r*92.8%
Applied egg-rr92.8%
unpow-192.8%
associate-/l/89.1%
*-commutative89.1%
Simplified89.1%
Taylor expanded in z around inf 91.3%
associate-/r*92.9%
Simplified92.9%
Final simplification93.4%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (- (+ x y) (/ (* y (- z t)) (- a t)))))
(if (<= t_1 -1e-149)
(+ (+ x y) (* y (* (/ 1.0 (- a t)) (- t z))))
(if (<= t_1 0.0)
(+ x (/ (* y (- z a)) t))
(- (+ x y) (/ 1.0 (/ (/ (- a t) y) 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-149) {
tmp = (x + y) + (y * ((1.0 / (a - t)) * (t - z)));
} else if (t_1 <= 0.0) {
tmp = x + ((y * (z - a)) / t);
} else {
tmp = (x + y) - (1.0 / (((a - t) / y) / 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-149)) then
tmp = (x + y) + (y * ((1.0d0 / (a - t)) * (t - z)))
else if (t_1 <= 0.0d0) then
tmp = x + ((y * (z - a)) / t)
else
tmp = (x + y) - (1.0d0 / (((a - t) / y) / 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-149) {
tmp = (x + y) + (y * ((1.0 / (a - t)) * (t - z)));
} else if (t_1 <= 0.0) {
tmp = x + ((y * (z - a)) / t);
} else {
tmp = (x + y) - (1.0 / (((a - t) / y) / 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-149: tmp = (x + y) + (y * ((1.0 / (a - t)) * (t - z))) elif t_1 <= 0.0: tmp = x + ((y * (z - a)) / t) else: tmp = (x + y) - (1.0 / (((a - t) / y) / 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-149) tmp = Float64(Float64(x + y) + Float64(y * Float64(Float64(1.0 / Float64(a - t)) * Float64(t - z)))); elseif (t_1 <= 0.0) tmp = Float64(x + Float64(Float64(y * Float64(z - a)) / t)); else tmp = Float64(Float64(x + y) - Float64(1.0 / Float64(Float64(Float64(a - t) / y) / 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-149) tmp = (x + y) + (y * ((1.0 / (a - t)) * (t - z))); elseif (t_1 <= 0.0) tmp = x + ((y * (z - a)) / t); else tmp = (x + y) - (1.0 / (((a - t) / y) / 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-149], N[(N[(x + y), $MachinePrecision] + N[(y * N[(N[(1.0 / N[(a - t), $MachinePrecision]), $MachinePrecision] * N[(t - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 0.0], N[(x + N[(N[(y * N[(z - a), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], N[(N[(x + y), $MachinePrecision] - N[(1.0 / N[(N[(N[(a - t), $MachinePrecision] / y), $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^{-149}:\\
\;\;\;\;\left(x + y\right) + y \cdot \left(\frac{1}{a - t} \cdot \left(t - z\right)\right)\\
\mathbf{elif}\;t\_1 \leq 0:\\
\;\;\;\;x + \frac{y \cdot \left(z - a\right)}{t}\\
\mathbf{else}:\\
\;\;\;\;\left(x + y\right) - \frac{1}{\frac{\frac{a - t}{y}}{z}}\\
\end{array}
\end{array}
if (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < -9.99999999999999979e-150Initial program 78.3%
div-inv78.3%
*-commutative78.3%
associate-*l*93.4%
Applied egg-rr93.4%
if -9.99999999999999979e-150 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < 0.0Initial program 18.5%
Taylor expanded in t around inf 96.1%
associate--l+96.1%
distribute-lft-out--96.1%
div-sub96.1%
mul-1-neg96.1%
unsub-neg96.1%
*-commutative96.1%
distribute-lft-out--96.1%
Simplified96.1%
if 0.0 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) Initial program 89.1%
clear-num89.1%
inv-pow89.1%
*-commutative89.1%
associate-/r*92.8%
Applied egg-rr92.8%
unpow-192.8%
associate-/l/89.1%
*-commutative89.1%
Simplified89.1%
Taylor expanded in z around inf 91.3%
associate-/r*92.9%
Simplified92.9%
Final simplification93.4%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (- (+ x y) (/ (* y (- z t)) (- a t)))))
(if (<= t_1 -5e-117)
(+ (+ x y) (* (- z t) (/ y (- t a))))
(if (<= t_1 0.0)
(+ x (/ (* y (- z a)) t))
(- (+ x y) (/ 1.0 (/ (/ (- a t) y) 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 <= -5e-117) {
tmp = (x + y) + ((z - t) * (y / (t - a)));
} else if (t_1 <= 0.0) {
tmp = x + ((y * (z - a)) / t);
} else {
tmp = (x + y) - (1.0 / (((a - t) / y) / 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 <= (-5d-117)) then
tmp = (x + y) + ((z - t) * (y / (t - a)))
else if (t_1 <= 0.0d0) then
tmp = x + ((y * (z - a)) / t)
else
tmp = (x + y) - (1.0d0 / (((a - t) / y) / 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 <= -5e-117) {
tmp = (x + y) + ((z - t) * (y / (t - a)));
} else if (t_1 <= 0.0) {
tmp = x + ((y * (z - a)) / t);
} else {
tmp = (x + y) - (1.0 / (((a - t) / y) / z));
}
return tmp;
}
def code(x, y, z, t, a): t_1 = (x + y) - ((y * (z - t)) / (a - t)) tmp = 0 if t_1 <= -5e-117: tmp = (x + y) + ((z - t) * (y / (t - a))) elif t_1 <= 0.0: tmp = x + ((y * (z - a)) / t) else: tmp = (x + y) - (1.0 / (((a - t) / y) / 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 <= -5e-117) tmp = Float64(Float64(x + y) + Float64(Float64(z - t) * Float64(y / Float64(t - a)))); elseif (t_1 <= 0.0) tmp = Float64(x + Float64(Float64(y * Float64(z - a)) / t)); else tmp = Float64(Float64(x + y) - Float64(1.0 / Float64(Float64(Float64(a - t) / y) / 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 <= -5e-117) tmp = (x + y) + ((z - t) * (y / (t - a))); elseif (t_1 <= 0.0) tmp = x + ((y * (z - a)) / t); else tmp = (x + y) - (1.0 / (((a - t) / y) / 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, -5e-117], N[(N[(x + y), $MachinePrecision] + N[(N[(z - t), $MachinePrecision] * N[(y / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 0.0], N[(x + N[(N[(y * N[(z - a), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], N[(N[(x + y), $MachinePrecision] - N[(1.0 / N[(N[(N[(a - t), $MachinePrecision] / y), $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 -5 \cdot 10^{-117}:\\
\;\;\;\;\left(x + y\right) + \left(z - t\right) \cdot \frac{y}{t - a}\\
\mathbf{elif}\;t\_1 \leq 0:\\
\;\;\;\;x + \frac{y \cdot \left(z - a\right)}{t}\\
\mathbf{else}:\\
\;\;\;\;\left(x + y\right) - \frac{1}{\frac{\frac{a - t}{y}}{z}}\\
\end{array}
\end{array}
if (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < -5e-117Initial program 78.4%
Taylor expanded in y around 0 78.4%
associate-*l/93.2%
Simplified93.2%
if -5e-117 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) < 0.0Initial program 20.5%
Taylor expanded in t around inf 94.3%
associate--l+94.3%
distribute-lft-out--94.3%
div-sub94.3%
mul-1-neg94.3%
unsub-neg94.3%
*-commutative94.3%
distribute-lft-out--94.3%
Simplified94.3%
if 0.0 < (-.f64 (+.f64 x y) (/.f64 (*.f64 (-.f64 z t) y) (-.f64 a t))) Initial program 89.1%
clear-num89.1%
inv-pow89.1%
*-commutative89.1%
associate-/r*92.8%
Applied egg-rr92.8%
unpow-192.8%
associate-/l/89.1%
*-commutative89.1%
Simplified89.1%
Taylor expanded in z around inf 91.3%
associate-/r*92.9%
Simplified92.9%
Final simplification93.2%
(FPCore (x y z t a)
:precision binary64
(if (<= a -4.8e+33)
(+ x y)
(if (<= a -1.7e-20)
(/ z (/ (- t a) y))
(if (<= a -2.75e-82)
x
(if (<= a -6.6e-183)
(* z (/ y (- t a)))
(if (<= a 3.8e+59) (+ x (/ (* y (- z a)) t)) (+ x y)))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -4.8e+33) {
tmp = x + y;
} else if (a <= -1.7e-20) {
tmp = z / ((t - a) / y);
} else if (a <= -2.75e-82) {
tmp = x;
} else if (a <= -6.6e-183) {
tmp = z * (y / (t - a));
} else if (a <= 3.8e+59) {
tmp = x + ((y * (z - a)) / 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 (a <= (-4.8d+33)) then
tmp = x + y
else if (a <= (-1.7d-20)) then
tmp = z / ((t - a) / y)
else if (a <= (-2.75d-82)) then
tmp = x
else if (a <= (-6.6d-183)) then
tmp = z * (y / (t - a))
else if (a <= 3.8d+59) then
tmp = x + ((y * (z - a)) / 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 (a <= -4.8e+33) {
tmp = x + y;
} else if (a <= -1.7e-20) {
tmp = z / ((t - a) / y);
} else if (a <= -2.75e-82) {
tmp = x;
} else if (a <= -6.6e-183) {
tmp = z * (y / (t - a));
} else if (a <= 3.8e+59) {
tmp = x + ((y * (z - a)) / t);
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -4.8e+33: tmp = x + y elif a <= -1.7e-20: tmp = z / ((t - a) / y) elif a <= -2.75e-82: tmp = x elif a <= -6.6e-183: tmp = z * (y / (t - a)) elif a <= 3.8e+59: tmp = x + ((y * (z - a)) / t) else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -4.8e+33) tmp = Float64(x + y); elseif (a <= -1.7e-20) tmp = Float64(z / Float64(Float64(t - a) / y)); elseif (a <= -2.75e-82) tmp = x; elseif (a <= -6.6e-183) tmp = Float64(z * Float64(y / Float64(t - a))); elseif (a <= 3.8e+59) tmp = Float64(x + Float64(Float64(y * Float64(z - a)) / t)); 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+33) tmp = x + y; elseif (a <= -1.7e-20) tmp = z / ((t - a) / y); elseif (a <= -2.75e-82) tmp = x; elseif (a <= -6.6e-183) tmp = z * (y / (t - a)); elseif (a <= 3.8e+59) tmp = x + ((y * (z - a)) / t); else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -4.8e+33], N[(x + y), $MachinePrecision], If[LessEqual[a, -1.7e-20], N[(z / N[(N[(t - a), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.75e-82], x, If[LessEqual[a, -6.6e-183], N[(z * N[(y / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.8e+59], N[(x + N[(N[(y * N[(z - a), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -4.8 \cdot 10^{+33}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;a \leq -1.7 \cdot 10^{-20}:\\
\;\;\;\;\frac{z}{\frac{t - a}{y}}\\
\mathbf{elif}\;a \leq -2.75 \cdot 10^{-82}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq -6.6 \cdot 10^{-183}:\\
\;\;\;\;z \cdot \frac{y}{t - a}\\
\mathbf{elif}\;a \leq 3.8 \cdot 10^{+59}:\\
\;\;\;\;x + \frac{y \cdot \left(z - a\right)}{t}\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if a < -4.8e33 or 3.8000000000000001e59 < a Initial program 78.6%
Taylor expanded in a around inf 79.7%
+-commutative79.7%
Simplified79.7%
if -4.8e33 < a < -1.6999999999999999e-20Initial program 74.4%
sub-neg74.4%
+-commutative74.4%
distribute-frac-neg74.4%
distribute-rgt-neg-out74.4%
associate-/l*80.3%
fma-define80.9%
distribute-frac-neg80.9%
distribute-neg-frac280.9%
sub-neg80.9%
distribute-neg-in80.9%
remove-double-neg80.9%
+-commutative80.9%
sub-neg80.9%
Simplified80.9%
Taylor expanded in z around inf 55.0%
*-commutative55.0%
*-un-lft-identity55.0%
times-frac73.9%
Applied egg-rr73.9%
Taylor expanded in z around 0 55.0%
*-commutative55.0%
*-rgt-identity55.0%
times-frac73.7%
/-rgt-identity73.7%
associate-/r/73.9%
Simplified73.9%
if -1.6999999999999999e-20 < a < -2.7499999999999999e-82Initial program 67.7%
Taylor expanded in x around inf 91.6%
if -2.7499999999999999e-82 < a < -6.5999999999999999e-183Initial program 76.1%
sub-neg76.1%
+-commutative76.1%
distribute-frac-neg76.1%
distribute-rgt-neg-out76.1%
associate-/l*80.8%
fma-define80.8%
distribute-frac-neg80.8%
distribute-neg-frac280.8%
sub-neg80.8%
distribute-neg-in80.8%
remove-double-neg80.8%
+-commutative80.8%
sub-neg80.8%
Simplified80.8%
Taylor expanded in z around inf 73.1%
*-commutative73.1%
*-un-lft-identity73.1%
times-frac77.9%
Applied egg-rr77.9%
if -6.5999999999999999e-183 < a < 3.8000000000000001e59Initial program 77.8%
Taylor expanded in t around inf 85.3%
associate--l+85.3%
distribute-lft-out--85.3%
div-sub85.3%
mul-1-neg85.3%
unsub-neg85.3%
*-commutative85.3%
distribute-lft-out--86.2%
Simplified86.2%
Final simplification82.7%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ z (/ (- t a) y))))
(if (<= a -4.8e+33)
(+ x y)
(if (<= a -1.7e-20)
t_1
(if (<= a -2.6e-82)
x
(if (<= a -1.25e-299) t_1 (if (<= a 5.1e-201) x (+ x y))))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = z / ((t - a) / y);
double tmp;
if (a <= -4.8e+33) {
tmp = x + y;
} else if (a <= -1.7e-20) {
tmp = t_1;
} else if (a <= -2.6e-82) {
tmp = x;
} else if (a <= -1.25e-299) {
tmp = t_1;
} else if (a <= 5.1e-201) {
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) :: t_1
real(8) :: tmp
t_1 = z / ((t - a) / y)
if (a <= (-4.8d+33)) then
tmp = x + y
else if (a <= (-1.7d-20)) then
tmp = t_1
else if (a <= (-2.6d-82)) then
tmp = x
else if (a <= (-1.25d-299)) then
tmp = t_1
else if (a <= 5.1d-201) 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 t_1 = z / ((t - a) / y);
double tmp;
if (a <= -4.8e+33) {
tmp = x + y;
} else if (a <= -1.7e-20) {
tmp = t_1;
} else if (a <= -2.6e-82) {
tmp = x;
} else if (a <= -1.25e-299) {
tmp = t_1;
} else if (a <= 5.1e-201) {
tmp = x;
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = z / ((t - a) / y) tmp = 0 if a <= -4.8e+33: tmp = x + y elif a <= -1.7e-20: tmp = t_1 elif a <= -2.6e-82: tmp = x elif a <= -1.25e-299: tmp = t_1 elif a <= 5.1e-201: tmp = x else: tmp = x + y return tmp
function code(x, y, z, t, a) t_1 = Float64(z / Float64(Float64(t - a) / y)) tmp = 0.0 if (a <= -4.8e+33) tmp = Float64(x + y); elseif (a <= -1.7e-20) tmp = t_1; elseif (a <= -2.6e-82) tmp = x; elseif (a <= -1.25e-299) tmp = t_1; elseif (a <= 5.1e-201) tmp = x; else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = z / ((t - a) / y); tmp = 0.0; if (a <= -4.8e+33) tmp = x + y; elseif (a <= -1.7e-20) tmp = t_1; elseif (a <= -2.6e-82) tmp = x; elseif (a <= -1.25e-299) tmp = t_1; elseif (a <= 5.1e-201) tmp = x; else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(z / N[(N[(t - a), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -4.8e+33], N[(x + y), $MachinePrecision], If[LessEqual[a, -1.7e-20], t$95$1, If[LessEqual[a, -2.6e-82], x, If[LessEqual[a, -1.25e-299], t$95$1, If[LessEqual[a, 5.1e-201], x, N[(x + y), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{z}{\frac{t - a}{y}}\\
\mathbf{if}\;a \leq -4.8 \cdot 10^{+33}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;a \leq -1.7 \cdot 10^{-20}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -2.6 \cdot 10^{-82}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq -1.25 \cdot 10^{-299}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 5.1 \cdot 10^{-201}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if a < -4.8e33 or 5.1000000000000001e-201 < a Initial program 78.8%
Taylor expanded in a around inf 73.4%
+-commutative73.4%
Simplified73.4%
if -4.8e33 < a < -1.6999999999999999e-20 or -2.6e-82 < a < -1.24999999999999989e-299Initial program 76.5%
sub-neg76.5%
+-commutative76.5%
distribute-frac-neg76.5%
distribute-rgt-neg-out76.5%
associate-/l*81.3%
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 z around inf 65.0%
*-commutative65.0%
*-un-lft-identity65.0%
times-frac71.6%
Applied egg-rr71.6%
Taylor expanded in z around 0 65.0%
*-commutative65.0%
*-rgt-identity65.0%
times-frac66.5%
/-rgt-identity66.5%
associate-/r/71.7%
Simplified71.7%
if -1.6999999999999999e-20 < a < -2.6e-82 or -1.24999999999999989e-299 < a < 5.1000000000000001e-201Initial program 73.3%
Taylor expanded in x around inf 79.9%
Final simplification74.3%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* y (/ z (- t a)))))
(if (<= a -5e+33)
(+ x y)
(if (<= a -1.7e-20)
t_1
(if (<= a -5.5e-82)
x
(if (<= a -1.6e-299) t_1 (if (<= a 5.4e-201) x (+ x y))))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = y * (z / (t - a));
double tmp;
if (a <= -5e+33) {
tmp = x + y;
} else if (a <= -1.7e-20) {
tmp = t_1;
} else if (a <= -5.5e-82) {
tmp = x;
} else if (a <= -1.6e-299) {
tmp = t_1;
} else if (a <= 5.4e-201) {
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) :: t_1
real(8) :: tmp
t_1 = y * (z / (t - a))
if (a <= (-5d+33)) then
tmp = x + y
else if (a <= (-1.7d-20)) then
tmp = t_1
else if (a <= (-5.5d-82)) then
tmp = x
else if (a <= (-1.6d-299)) then
tmp = t_1
else if (a <= 5.4d-201) 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 t_1 = y * (z / (t - a));
double tmp;
if (a <= -5e+33) {
tmp = x + y;
} else if (a <= -1.7e-20) {
tmp = t_1;
} else if (a <= -5.5e-82) {
tmp = x;
} else if (a <= -1.6e-299) {
tmp = t_1;
} else if (a <= 5.4e-201) {
tmp = x;
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = y * (z / (t - a)) tmp = 0 if a <= -5e+33: tmp = x + y elif a <= -1.7e-20: tmp = t_1 elif a <= -5.5e-82: tmp = x elif a <= -1.6e-299: tmp = t_1 elif a <= 5.4e-201: tmp = x else: tmp = x + y return tmp
function code(x, y, z, t, a) t_1 = Float64(y * Float64(z / Float64(t - a))) tmp = 0.0 if (a <= -5e+33) tmp = Float64(x + y); elseif (a <= -1.7e-20) tmp = t_1; elseif (a <= -5.5e-82) tmp = x; elseif (a <= -1.6e-299) tmp = t_1; elseif (a <= 5.4e-201) tmp = x; else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = y * (z / (t - a)); tmp = 0.0; if (a <= -5e+33) tmp = x + y; elseif (a <= -1.7e-20) tmp = t_1; elseif (a <= -5.5e-82) tmp = x; elseif (a <= -1.6e-299) tmp = t_1; elseif (a <= 5.4e-201) tmp = x; else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(y * N[(z / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -5e+33], N[(x + y), $MachinePrecision], If[LessEqual[a, -1.7e-20], t$95$1, If[LessEqual[a, -5.5e-82], x, If[LessEqual[a, -1.6e-299], t$95$1, If[LessEqual[a, 5.4e-201], x, N[(x + y), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \frac{z}{t - a}\\
\mathbf{if}\;a \leq -5 \cdot 10^{+33}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;a \leq -1.7 \cdot 10^{-20}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -5.5 \cdot 10^{-82}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq -1.6 \cdot 10^{-299}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 5.4 \cdot 10^{-201}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if a < -4.99999999999999973e33 or 5.40000000000000011e-201 < a Initial program 78.8%
Taylor expanded in a around inf 73.4%
+-commutative73.4%
Simplified73.4%
if -4.99999999999999973e33 < a < -1.6999999999999999e-20 or -5.4999999999999998e-82 < a < -1.60000000000000004e-299Initial program 76.5%
sub-neg76.5%
+-commutative76.5%
distribute-frac-neg76.5%
distribute-rgt-neg-out76.5%
associate-/l*81.3%
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 z around inf 65.0%
associate-/l*66.5%
Simplified66.5%
if -1.6999999999999999e-20 < a < -5.4999999999999998e-82 or -1.60000000000000004e-299 < a < 5.40000000000000011e-201Initial program 73.3%
Taylor expanded in x around inf 79.9%
Final simplification73.1%
(FPCore (x y z t a)
:precision binary64
(if (<= a -4.8e+33)
(+ x y)
(if (<= a -1.7e-20)
(* y (/ z (- a)))
(if (<= a -2.5e-108)
x
(if (<= a -4e-300) (/ (* y z) t) (if (<= a 4.5e-201) x (+ x y)))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -4.8e+33) {
tmp = x + y;
} else if (a <= -1.7e-20) {
tmp = y * (z / -a);
} else if (a <= -2.5e-108) {
tmp = x;
} else if (a <= -4e-300) {
tmp = (y * z) / t;
} else if (a <= 4.5e-201) {
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+33)) then
tmp = x + y
else if (a <= (-1.7d-20)) then
tmp = y * (z / -a)
else if (a <= (-2.5d-108)) then
tmp = x
else if (a <= (-4d-300)) then
tmp = (y * z) / t
else if (a <= 4.5d-201) 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+33) {
tmp = x + y;
} else if (a <= -1.7e-20) {
tmp = y * (z / -a);
} else if (a <= -2.5e-108) {
tmp = x;
} else if (a <= -4e-300) {
tmp = (y * z) / t;
} else if (a <= 4.5e-201) {
tmp = x;
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -4.8e+33: tmp = x + y elif a <= -1.7e-20: tmp = y * (z / -a) elif a <= -2.5e-108: tmp = x elif a <= -4e-300: tmp = (y * z) / t elif a <= 4.5e-201: tmp = x else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -4.8e+33) tmp = Float64(x + y); elseif (a <= -1.7e-20) tmp = Float64(y * Float64(z / Float64(-a))); elseif (a <= -2.5e-108) tmp = x; elseif (a <= -4e-300) tmp = Float64(Float64(y * z) / t); elseif (a <= 4.5e-201) 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+33) tmp = x + y; elseif (a <= -1.7e-20) tmp = y * (z / -a); elseif (a <= -2.5e-108) tmp = x; elseif (a <= -4e-300) tmp = (y * z) / t; elseif (a <= 4.5e-201) tmp = x; else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -4.8e+33], N[(x + y), $MachinePrecision], If[LessEqual[a, -1.7e-20], N[(y * N[(z / (-a)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.5e-108], x, If[LessEqual[a, -4e-300], N[(N[(y * z), $MachinePrecision] / t), $MachinePrecision], If[LessEqual[a, 4.5e-201], x, N[(x + y), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -4.8 \cdot 10^{+33}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;a \leq -1.7 \cdot 10^{-20}:\\
\;\;\;\;y \cdot \frac{z}{-a}\\
\mathbf{elif}\;a \leq -2.5 \cdot 10^{-108}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq -4 \cdot 10^{-300}:\\
\;\;\;\;\frac{y \cdot z}{t}\\
\mathbf{elif}\;a \leq 4.5 \cdot 10^{-201}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if a < -4.8e33 or 4.5000000000000002e-201 < a Initial program 78.8%
Taylor expanded in a around inf 73.4%
+-commutative73.4%
Simplified73.4%
if -4.8e33 < a < -1.6999999999999999e-20Initial program 74.4%
Taylor expanded in x around 0 54.9%
sub-neg54.9%
*-rgt-identity54.9%
associate-*r/60.9%
distribute-rgt-neg-in60.9%
mul-1-neg60.9%
distribute-lft-in60.9%
mul-1-neg60.9%
unsub-neg60.9%
Simplified60.9%
Taylor expanded in t around 0 54.0%
Taylor expanded in z around inf 54.1%
mul-1-neg54.1%
associate-/l*54.3%
distribute-rgt-neg-in54.3%
distribute-frac-neg54.3%
Simplified54.3%
if -1.6999999999999999e-20 < a < -2.5e-108 or -4.0000000000000001e-300 < a < 4.5000000000000002e-201Initial program 75.8%
Taylor expanded in x around inf 74.5%
if -2.5e-108 < a < -4.0000000000000001e-300Initial program 74.1%
sub-neg74.1%
+-commutative74.1%
distribute-frac-neg74.1%
distribute-rgt-neg-out74.1%
associate-/l*79.2%
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 z around inf 68.5%
Taylor expanded in t around inf 60.7%
Final simplification70.7%
(FPCore (x y z t a) :precision binary64 (if (or (<= t -1.35e+114) (not (<= t 2.35e+213))) (+ x (/ (* y (- z a)) t)) (+ (+ x y) (* (- z t) (/ y (- t a))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -1.35e+114) || !(t <= 2.35e+213)) {
tmp = x + ((y * (z - a)) / t);
} else {
tmp = (x + y) + ((z - t) * (y / (t - a)));
}
return tmp;
}
real(8) function code(x, y, z, t, a)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8) :: tmp
if ((t <= (-1.35d+114)) .or. (.not. (t <= 2.35d+213))) then
tmp = x + ((y * (z - a)) / t)
else
tmp = (x + y) + ((z - t) * (y / (t - a)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((t <= -1.35e+114) || !(t <= 2.35e+213)) {
tmp = x + ((y * (z - a)) / t);
} else {
tmp = (x + y) + ((z - t) * (y / (t - a)));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (t <= -1.35e+114) or not (t <= 2.35e+213): tmp = x + ((y * (z - a)) / t) else: tmp = (x + y) + ((z - t) * (y / (t - a))) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((t <= -1.35e+114) || !(t <= 2.35e+213)) tmp = Float64(x + Float64(Float64(y * Float64(z - a)) / t)); else tmp = Float64(Float64(x + y) + Float64(Float64(z - t) * Float64(y / Float64(t - a)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((t <= -1.35e+114) || ~((t <= 2.35e+213))) tmp = x + ((y * (z - a)) / t); else tmp = (x + y) + ((z - t) * (y / (t - a))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[t, -1.35e+114], N[Not[LessEqual[t, 2.35e+213]], $MachinePrecision]], N[(x + N[(N[(y * N[(z - a), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], N[(N[(x + y), $MachinePrecision] + N[(N[(z - t), $MachinePrecision] * N[(y / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.35 \cdot 10^{+114} \lor \neg \left(t \leq 2.35 \cdot 10^{+213}\right):\\
\;\;\;\;x + \frac{y \cdot \left(z - a\right)}{t}\\
\mathbf{else}:\\
\;\;\;\;\left(x + y\right) + \left(z - t\right) \cdot \frac{y}{t - a}\\
\end{array}
\end{array}
if t < -1.35e114 or 2.3499999999999999e213 < t Initial program 48.6%
Taylor expanded in t around inf 85.8%
associate--l+85.8%
distribute-lft-out--85.8%
div-sub85.8%
mul-1-neg85.8%
unsub-neg85.8%
*-commutative85.8%
distribute-lft-out--85.9%
Simplified85.9%
if -1.35e114 < t < 2.3499999999999999e213Initial program 85.2%
Taylor expanded in y around 0 85.2%
associate-*l/92.1%
Simplified92.1%
Final simplification90.7%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -3.5e-99) (not (<= a 5.1e-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 <= -3.5e-99) || !(a <= 5.1e-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 <= (-3.5d-99)) .or. (.not. (a <= 5.1d-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 <= -3.5e-99) || !(a <= 5.1e-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 <= -3.5e-99) or not (a <= 5.1e-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 <= -3.5e-99) || !(a <= 5.1e-61)) tmp = Float64(Float64(x + y) - Float64(y * Float64(z / a))); else tmp = Float64(x + Float64(Float64(y * Float64(z - a)) / t)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -3.5e-99) || ~((a <= 5.1e-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, -3.5e-99], N[Not[LessEqual[a, 5.1e-61]], $MachinePrecision]], N[(N[(x + y), $MachinePrecision] - N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(z - a), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -3.5 \cdot 10^{-99} \lor \neg \left(a \leq 5.1 \cdot 10^{-61}\right):\\
\;\;\;\;\left(x + y\right) - y \cdot \frac{z}{a}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(z - a\right)}{t}\\
\end{array}
\end{array}
if a < -3.4999999999999999e-99 or 5.09999999999999968e-61 < a Initial program 77.8%
Taylor expanded in t around 0 79.1%
+-commutative79.1%
associate-/l*82.9%
Simplified82.9%
if -3.4999999999999999e-99 < a < 5.09999999999999968e-61Initial program 76.3%
Taylor expanded in t around inf 91.4%
associate--l+91.4%
distribute-lft-out--91.4%
div-sub91.4%
mul-1-neg91.4%
unsub-neg91.4%
*-commutative91.4%
distribute-lft-out--91.4%
Simplified91.4%
Final simplification86.2%
(FPCore (x y z t a) :precision binary64 (if (or (<= a -2.5e-99) (not (<= a 5.4e-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 <= -2.5e-99) || !(a <= 5.4e-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 <= (-2.5d-99)) .or. (.not. (a <= 5.4d-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 <= -2.5e-99) || !(a <= 5.4e-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 <= -2.5e-99) or not (a <= 5.4e-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 <= -2.5e-99) || !(a <= 5.4e-61)) tmp = Float64(Float64(x + y) - Float64(Float64(y * z) / a)); else tmp = Float64(x + Float64(Float64(y * Float64(z - a)) / t)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a <= -2.5e-99) || ~((a <= 5.4e-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, -2.5e-99], N[Not[LessEqual[a, 5.4e-61]], $MachinePrecision]], N[(N[(x + y), $MachinePrecision] - N[(N[(y * z), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(z - a), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.5 \cdot 10^{-99} \lor \neg \left(a \leq 5.4 \cdot 10^{-61}\right):\\
\;\;\;\;\left(x + y\right) - \frac{y \cdot z}{a}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(z - a\right)}{t}\\
\end{array}
\end{array}
if a < -2.49999999999999985e-99 or 5.39999999999999987e-61 < a Initial program 77.8%
Taylor expanded in t around 0 79.1%
if -2.49999999999999985e-99 < a < 5.39999999999999987e-61Initial program 76.3%
Taylor expanded in t around inf 91.4%
associate--l+91.4%
distribute-lft-out--91.4%
div-sub91.4%
mul-1-neg91.4%
unsub-neg91.4%
*-commutative91.4%
distribute-lft-out--91.4%
Simplified91.4%
Final simplification84.0%
(FPCore (x y z t a) :precision binary64 (if (<= a -4.8e-106) (+ x y) (if (<= a -3.3e-300) (/ (* y z) t) (if (<= a 5.6e-201) x (+ x y)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -4.8e-106) {
tmp = x + y;
} else if (a <= -3.3e-300) {
tmp = (y * z) / t;
} else if (a <= 5.6e-201) {
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-106)) then
tmp = x + y
else if (a <= (-3.3d-300)) then
tmp = (y * z) / t
else if (a <= 5.6d-201) 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-106) {
tmp = x + y;
} else if (a <= -3.3e-300) {
tmp = (y * z) / t;
} else if (a <= 5.6e-201) {
tmp = x;
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -4.8e-106: tmp = x + y elif a <= -3.3e-300: tmp = (y * z) / t elif a <= 5.6e-201: tmp = x else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -4.8e-106) tmp = Float64(x + y); elseif (a <= -3.3e-300) tmp = Float64(Float64(y * z) / t); elseif (a <= 5.6e-201) 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-106) tmp = x + y; elseif (a <= -3.3e-300) tmp = (y * z) / t; elseif (a <= 5.6e-201) tmp = x; else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -4.8e-106], N[(x + y), $MachinePrecision], If[LessEqual[a, -3.3e-300], N[(N[(y * z), $MachinePrecision] / t), $MachinePrecision], If[LessEqual[a, 5.6e-201], x, N[(x + y), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -4.8 \cdot 10^{-106}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;a \leq -3.3 \cdot 10^{-300}:\\
\;\;\;\;\frac{y \cdot z}{t}\\
\mathbf{elif}\;a \leq 5.6 \cdot 10^{-201}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if a < -4.7999999999999995e-106 or 5.5999999999999998e-201 < a Initial program 78.1%
Taylor expanded in a around inf 67.9%
+-commutative67.9%
Simplified67.9%
if -4.7999999999999995e-106 < a < -3.3000000000000002e-300Initial program 74.1%
sub-neg74.1%
+-commutative74.1%
distribute-frac-neg74.1%
distribute-rgt-neg-out74.1%
associate-/l*79.2%
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 z around inf 68.5%
Taylor expanded in t around inf 60.7%
if -3.3000000000000002e-300 < a < 5.5999999999999998e-201Initial program 75.5%
Taylor expanded in x around inf 75.2%
Final simplification67.8%
(FPCore (x y z t a) :precision binary64 (if (<= a -5e-108) (+ x y) (if (<= a -1.62e-299) (* y (/ z t)) (if (<= a 2.3e-201) x (+ x y)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -5e-108) {
tmp = x + y;
} else if (a <= -1.62e-299) {
tmp = y * (z / t);
} else if (a <= 2.3e-201) {
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 <= (-5d-108)) then
tmp = x + y
else if (a <= (-1.62d-299)) then
tmp = y * (z / t)
else if (a <= 2.3d-201) 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 <= -5e-108) {
tmp = x + y;
} else if (a <= -1.62e-299) {
tmp = y * (z / t);
} else if (a <= 2.3e-201) {
tmp = x;
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -5e-108: tmp = x + y elif a <= -1.62e-299: tmp = y * (z / t) elif a <= 2.3e-201: tmp = x else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -5e-108) tmp = Float64(x + y); elseif (a <= -1.62e-299) tmp = Float64(y * Float64(z / t)); elseif (a <= 2.3e-201) 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 <= -5e-108) tmp = x + y; elseif (a <= -1.62e-299) tmp = y * (z / t); elseif (a <= 2.3e-201) tmp = x; else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -5e-108], N[(x + y), $MachinePrecision], If[LessEqual[a, -1.62e-299], N[(y * N[(z / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.3e-201], x, N[(x + y), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -5 \cdot 10^{-108}:\\
\;\;\;\;x + y\\
\mathbf{elif}\;a \leq -1.62 \cdot 10^{-299}:\\
\;\;\;\;y \cdot \frac{z}{t}\\
\mathbf{elif}\;a \leq 2.3 \cdot 10^{-201}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if a < -5e-108 or 2.29999999999999986e-201 < a Initial program 78.1%
Taylor expanded in a around inf 67.9%
+-commutative67.9%
Simplified67.9%
if -5e-108 < a < -1.6199999999999999e-299Initial program 74.1%
sub-neg74.1%
+-commutative74.1%
distribute-frac-neg74.1%
distribute-rgt-neg-out74.1%
associate-/l*79.2%
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 z around inf 68.5%
Taylor expanded in t around inf 60.7%
associate-/l*58.1%
Simplified58.1%
if -1.6199999999999999e-299 < a < 2.29999999999999986e-201Initial program 75.5%
Taylor expanded in x around inf 75.2%
Final simplification67.5%
(FPCore (x y z t a) :precision binary64 (if (<= t -1e+154) x (+ x y)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -1e+154) {
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 (t <= (-1d+154)) 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 (t <= -1e+154) {
tmp = x;
} else {
tmp = x + y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= -1e+154: tmp = x else: tmp = x + y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= -1e+154) tmp = x; else tmp = Float64(x + y); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= -1e+154) tmp = x; else tmp = x + y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -1e+154], x, N[(x + y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1 \cdot 10^{+154}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;x + y\\
\end{array}
\end{array}
if t < -1.00000000000000004e154Initial program 57.4%
Taylor expanded in x around inf 84.6%
if -1.00000000000000004e154 < t Initial program 80.4%
Taylor expanded in a around inf 59.6%
+-commutative59.6%
Simplified59.6%
Final simplification63.1%
(FPCore (x y z t a) :precision binary64 (if (<= y 2.9e+218) x y))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= 2.9e+218) {
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 <= 2.9d+218) 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 <= 2.9e+218) {
tmp = x;
} else {
tmp = y;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if y <= 2.9e+218: tmp = x else: tmp = y return tmp
function code(x, y, z, t, a) tmp = 0.0 if (y <= 2.9e+218) tmp = x; else tmp = y; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (y <= 2.9e+218) tmp = x; else tmp = y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[y, 2.9e+218], x, y]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 2.9 \cdot 10^{+218}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;y\\
\end{array}
\end{array}
if y < 2.8999999999999999e218Initial program 78.1%
Taylor expanded in x around inf 58.5%
if 2.8999999999999999e218 < y Initial program 64.0%
Taylor expanded in x around 0 64.0%
sub-neg64.0%
*-rgt-identity64.0%
associate-*r/88.1%
distribute-rgt-neg-in88.1%
mul-1-neg88.1%
distribute-lft-in88.1%
mul-1-neg88.1%
unsub-neg88.1%
Simplified88.1%
Taylor expanded in a around inf 35.1%
(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.2%
Taylor expanded in x around inf 55.4%
(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 2024108
(FPCore (x y z t a)
:name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTick from plot-0.2.3.4, B"
:precision binary64
:alt
(if (< (- (+ x y) (/ (* (- z t) y) (- a t))) -1.3664970889390727e-7) (- (+ y x) (* (* (- z t) (/ 1.0 (- a t))) y)) (if (< (- (+ x y) (/ (* (- z t) y) (- a t))) 1.4754293444577233e-239) (/ (- (* y (- a z)) (* x t)) (- a t)) (- (+ y x) (* (* (- z t) (/ 1.0 (- a t))) y))))
(- (+ x y) (/ (* (- z t) y) (- a t))))