
(FPCore (x y z t) :precision binary64 (* x (- (/ y z) (/ t (- 1.0 z)))))
double code(double x, double y, double z, double t) {
return x * ((y / z) - (t / (1.0 - z)));
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = x * ((y / z) - (t / (1.0d0 - z)))
end function
public static double code(double x, double y, double z, double t) {
return x * ((y / z) - (t / (1.0 - z)));
}
def code(x, y, z, t): return x * ((y / z) - (t / (1.0 - z)))
function code(x, y, z, t) return Float64(x * Float64(Float64(y / z) - Float64(t / Float64(1.0 - z)))) end
function tmp = code(x, y, z, t) tmp = x * ((y / z) - (t / (1.0 - z))); end
code[x_, y_, z_, t_] := N[(x * N[(N[(y / z), $MachinePrecision] - N[(t / N[(1.0 - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \left(\frac{y}{z} - \frac{t}{1 - z}\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 12 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (* x (- (/ y z) (/ t (- 1.0 z)))))
double code(double x, double y, double z, double t) {
return x * ((y / z) - (t / (1.0 - z)));
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = x * ((y / z) - (t / (1.0d0 - z)))
end function
public static double code(double x, double y, double z, double t) {
return x * ((y / z) - (t / (1.0 - z)));
}
def code(x, y, z, t): return x * ((y / z) - (t / (1.0 - z)))
function code(x, y, z, t) return Float64(x * Float64(Float64(y / z) - Float64(t / Float64(1.0 - z)))) end
function tmp = code(x, y, z, t) tmp = x * ((y / z) - (t / (1.0 - z))); end
code[x_, y_, z_, t_] := N[(x * N[(N[(y / z), $MachinePrecision] - N[(t / N[(1.0 - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \left(\frac{y}{z} - \frac{t}{1 - z}\right)
\end{array}
(FPCore (x y z t) :precision binary64 (let* ((t_1 (/ y (/ z x))) (t_2 (- (/ y z) (/ t (- 1.0 z))))) (if (<= t_2 (- INFINITY)) t_1 (if (<= t_2 4e+255) (* x t_2) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = y / (z / x);
double t_2 = (y / z) - (t / (1.0 - z));
double tmp;
if (t_2 <= -((double) INFINITY)) {
tmp = t_1;
} else if (t_2 <= 4e+255) {
tmp = x * t_2;
} else {
tmp = t_1;
}
return tmp;
}
public static double code(double x, double y, double z, double t) {
double t_1 = y / (z / x);
double t_2 = (y / z) - (t / (1.0 - z));
double tmp;
if (t_2 <= -Double.POSITIVE_INFINITY) {
tmp = t_1;
} else if (t_2 <= 4e+255) {
tmp = x * t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = y / (z / x) t_2 = (y / z) - (t / (1.0 - z)) tmp = 0 if t_2 <= -math.inf: tmp = t_1 elif t_2 <= 4e+255: tmp = x * t_2 else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(y / Float64(z / x)) t_2 = Float64(Float64(y / z) - Float64(t / Float64(1.0 - z))) tmp = 0.0 if (t_2 <= Float64(-Inf)) tmp = t_1; elseif (t_2 <= 4e+255) tmp = Float64(x * t_2); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = y / (z / x); t_2 = (y / z) - (t / (1.0 - z)); tmp = 0.0; if (t_2 <= -Inf) tmp = t_1; elseif (t_2 <= 4e+255) tmp = x * t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(y / N[(z / x), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y / z), $MachinePrecision] - N[(t / N[(1.0 - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, (-Infinity)], t$95$1, If[LessEqual[t$95$2, 4e+255], N[(x * t$95$2), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{y}{\frac{z}{x}}\\
t_2 := \frac{y}{z} - \frac{t}{1 - z}\\
\mathbf{if}\;t\_2 \leq -\infty:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t\_2 \leq 4 \cdot 10^{+255}:\\
\;\;\;\;x \cdot t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z))) < -inf.0 or 3.99999999999999995e255 < (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z))) Initial program 72.6%
Taylor expanded in y around inf
associate-/l*N/A
*-commutativeN/A
lower-*.f64N/A
lower-/.f6465.8
Applied rewrites65.8%
Applied rewrites99.8%
Applied rewrites100.0%
if -inf.0 < (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z))) < 3.99999999999999995e255Initial program 98.0%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (+ (+ (/ t z) y) t)))
(if (<= z -130000.0)
(* (/ x z) t_1)
(if (<= z 6.4e-7) (/ (* (- y (* t z)) x) z) (/ (* t_1 x) z)))))
double code(double x, double y, double z, double t) {
double t_1 = ((t / z) + y) + t;
double tmp;
if (z <= -130000.0) {
tmp = (x / z) * t_1;
} else if (z <= 6.4e-7) {
tmp = ((y - (t * z)) * x) / z;
} else {
tmp = (t_1 * x) / z;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = ((t / z) + y) + t
if (z <= (-130000.0d0)) then
tmp = (x / z) * t_1
else if (z <= 6.4d-7) then
tmp = ((y - (t * z)) * x) / z
else
tmp = (t_1 * x) / z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = ((t / z) + y) + t;
double tmp;
if (z <= -130000.0) {
tmp = (x / z) * t_1;
} else if (z <= 6.4e-7) {
tmp = ((y - (t * z)) * x) / z;
} else {
tmp = (t_1 * x) / z;
}
return tmp;
}
def code(x, y, z, t): t_1 = ((t / z) + y) + t tmp = 0 if z <= -130000.0: tmp = (x / z) * t_1 elif z <= 6.4e-7: tmp = ((y - (t * z)) * x) / z else: tmp = (t_1 * x) / z return tmp
function code(x, y, z, t) t_1 = Float64(Float64(Float64(t / z) + y) + t) tmp = 0.0 if (z <= -130000.0) tmp = Float64(Float64(x / z) * t_1); elseif (z <= 6.4e-7) tmp = Float64(Float64(Float64(y - Float64(t * z)) * x) / z); else tmp = Float64(Float64(t_1 * x) / z); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = ((t / z) + y) + t; tmp = 0.0; if (z <= -130000.0) tmp = (x / z) * t_1; elseif (z <= 6.4e-7) tmp = ((y - (t * z)) * x) / z; else tmp = (t_1 * x) / z; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(N[(t / z), $MachinePrecision] + y), $MachinePrecision] + t), $MachinePrecision]}, If[LessEqual[z, -130000.0], N[(N[(x / z), $MachinePrecision] * t$95$1), $MachinePrecision], If[LessEqual[z, 6.4e-7], N[(N[(N[(y - N[(t * z), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision] / z), $MachinePrecision], N[(N[(t$95$1 * x), $MachinePrecision] / z), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\frac{t}{z} + y\right) + t\\
\mathbf{if}\;z \leq -130000:\\
\;\;\;\;\frac{x}{z} \cdot t\_1\\
\mathbf{elif}\;z \leq 6.4 \cdot 10^{-7}:\\
\;\;\;\;\frac{\left(y - t \cdot z\right) \cdot x}{z}\\
\mathbf{else}:\\
\;\;\;\;\frac{t\_1 \cdot x}{z}\\
\end{array}
\end{array}
if z < -1.3e5Initial program 96.8%
Taylor expanded in z around inf
Applied rewrites82.0%
Applied rewrites91.5%
if -1.3e5 < z < 6.4000000000000001e-7Initial program 90.9%
Taylor expanded in z around 0
lower-/.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
associate-*r*N/A
*-commutativeN/A
associate-*l*N/A
distribute-lft-out--N/A
unsub-negN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-*.f6492.2
Applied rewrites92.2%
if 6.4000000000000001e-7 < z Initial program 96.8%
Taylor expanded in z around inf
Applied rewrites87.0%
Final simplification90.7%
(FPCore (x y z t) :precision binary64 (if (<= z -130000.0) (* (/ x z) (+ (+ (/ t z) y) t)) (if (<= z 2.45e-18) (/ (* (- y (* t z)) x) z) (/ (* (+ t y) x) z))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -130000.0) {
tmp = (x / z) * (((t / z) + y) + t);
} else if (z <= 2.45e-18) {
tmp = ((y - (t * z)) * x) / z;
} else {
tmp = ((t + y) * x) / z;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (z <= (-130000.0d0)) then
tmp = (x / z) * (((t / z) + y) + t)
else if (z <= 2.45d-18) then
tmp = ((y - (t * z)) * x) / z
else
tmp = ((t + y) * x) / z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= -130000.0) {
tmp = (x / z) * (((t / z) + y) + t);
} else if (z <= 2.45e-18) {
tmp = ((y - (t * z)) * x) / z;
} else {
tmp = ((t + y) * x) / z;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -130000.0: tmp = (x / z) * (((t / z) + y) + t) elif z <= 2.45e-18: tmp = ((y - (t * z)) * x) / z else: tmp = ((t + y) * x) / z return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -130000.0) tmp = Float64(Float64(x / z) * Float64(Float64(Float64(t / z) + y) + t)); elseif (z <= 2.45e-18) tmp = Float64(Float64(Float64(y - Float64(t * z)) * x) / z); else tmp = Float64(Float64(Float64(t + y) * x) / z); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -130000.0) tmp = (x / z) * (((t / z) + y) + t); elseif (z <= 2.45e-18) tmp = ((y - (t * z)) * x) / z; else tmp = ((t + y) * x) / z; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -130000.0], N[(N[(x / z), $MachinePrecision] * N[(N[(N[(t / z), $MachinePrecision] + y), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.45e-18], N[(N[(N[(y - N[(t * z), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision] / z), $MachinePrecision], N[(N[(N[(t + y), $MachinePrecision] * x), $MachinePrecision] / z), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -130000:\\
\;\;\;\;\frac{x}{z} \cdot \left(\left(\frac{t}{z} + y\right) + t\right)\\
\mathbf{elif}\;z \leq 2.45 \cdot 10^{-18}:\\
\;\;\;\;\frac{\left(y - t \cdot z\right) \cdot x}{z}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(t + y\right) \cdot x}{z}\\
\end{array}
\end{array}
if z < -1.3e5Initial program 96.8%
Taylor expanded in z around inf
Applied rewrites82.0%
Applied rewrites91.5%
if -1.3e5 < z < 2.4500000000000001e-18Initial program 90.8%
Taylor expanded in z around 0
lower-/.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
associate-*r*N/A
*-commutativeN/A
associate-*l*N/A
distribute-lft-out--N/A
unsub-negN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-*.f6492.2
Applied rewrites92.2%
if 2.4500000000000001e-18 < z Initial program 96.9%
Taylor expanded in z around inf
Applied rewrites86.7%
Taylor expanded in z around inf
Applied rewrites86.3%
Final simplification90.5%
(FPCore (x y z t) :precision binary64 (if (<= z -130000.0) (* (+ t y) (/ x z)) (if (<= z 2.45e-18) (/ (* (- y (* t z)) x) z) (/ (* (+ t y) x) z))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -130000.0) {
tmp = (t + y) * (x / z);
} else if (z <= 2.45e-18) {
tmp = ((y - (t * z)) * x) / z;
} else {
tmp = ((t + y) * x) / z;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (z <= (-130000.0d0)) then
tmp = (t + y) * (x / z)
else if (z <= 2.45d-18) then
tmp = ((y - (t * z)) * x) / z
else
tmp = ((t + y) * x) / z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= -130000.0) {
tmp = (t + y) * (x / z);
} else if (z <= 2.45e-18) {
tmp = ((y - (t * z)) * x) / z;
} else {
tmp = ((t + y) * x) / z;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -130000.0: tmp = (t + y) * (x / z) elif z <= 2.45e-18: tmp = ((y - (t * z)) * x) / z else: tmp = ((t + y) * x) / z return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -130000.0) tmp = Float64(Float64(t + y) * Float64(x / z)); elseif (z <= 2.45e-18) tmp = Float64(Float64(Float64(y - Float64(t * z)) * x) / z); else tmp = Float64(Float64(Float64(t + y) * x) / z); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -130000.0) tmp = (t + y) * (x / z); elseif (z <= 2.45e-18) tmp = ((y - (t * z)) * x) / z; else tmp = ((t + y) * x) / z; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -130000.0], N[(N[(t + y), $MachinePrecision] * N[(x / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.45e-18], N[(N[(N[(y - N[(t * z), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision] / z), $MachinePrecision], N[(N[(N[(t + y), $MachinePrecision] * x), $MachinePrecision] / z), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -130000:\\
\;\;\;\;\left(t + y\right) \cdot \frac{x}{z}\\
\mathbf{elif}\;z \leq 2.45 \cdot 10^{-18}:\\
\;\;\;\;\frac{\left(y - t \cdot z\right) \cdot x}{z}\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(t + y\right) \cdot x}{z}\\
\end{array}
\end{array}
if z < -1.3e5Initial program 96.8%
Taylor expanded in z around inf
Applied rewrites82.0%
Applied rewrites91.5%
Taylor expanded in z around inf
Applied rewrites91.5%
if -1.3e5 < z < 2.4500000000000001e-18Initial program 90.8%
Taylor expanded in z around 0
lower-/.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
associate-*r*N/A
*-commutativeN/A
associate-*l*N/A
distribute-lft-out--N/A
unsub-negN/A
mul-1-negN/A
lower-*.f64N/A
mul-1-negN/A
unsub-negN/A
lower--.f64N/A
lower-*.f6492.2
Applied rewrites92.2%
if 2.4500000000000001e-18 < z Initial program 96.9%
Taylor expanded in z around inf
Applied rewrites86.7%
Taylor expanded in z around inf
Applied rewrites86.3%
Final simplification90.5%
(FPCore (x y z t) :precision binary64 (let* ((t_1 (* (/ t (- z 1.0)) x))) (if (<= t -3.6e+15) t_1 (if (<= t 490000000.0) (/ x (/ z y)) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = (t / (z - 1.0)) * x;
double tmp;
if (t <= -3.6e+15) {
tmp = t_1;
} else if (t <= 490000000.0) {
tmp = x / (z / y);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = (t / (z - 1.0d0)) * x
if (t <= (-3.6d+15)) then
tmp = t_1
else if (t <= 490000000.0d0) then
tmp = x / (z / y)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = (t / (z - 1.0)) * x;
double tmp;
if (t <= -3.6e+15) {
tmp = t_1;
} else if (t <= 490000000.0) {
tmp = x / (z / y);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = (t / (z - 1.0)) * x tmp = 0 if t <= -3.6e+15: tmp = t_1 elif t <= 490000000.0: tmp = x / (z / y) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(Float64(t / Float64(z - 1.0)) * x) tmp = 0.0 if (t <= -3.6e+15) tmp = t_1; elseif (t <= 490000000.0) tmp = Float64(x / Float64(z / y)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = (t / (z - 1.0)) * x; tmp = 0.0; if (t <= -3.6e+15) tmp = t_1; elseif (t <= 490000000.0) tmp = x / (z / y); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(t / N[(z - 1.0), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[t, -3.6e+15], t$95$1, If[LessEqual[t, 490000000.0], N[(x / N[(z / y), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{t}{z - 1} \cdot x\\
\mathbf{if}\;t \leq -3.6 \cdot 10^{+15}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 490000000:\\
\;\;\;\;\frac{x}{\frac{z}{y}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -3.6e15 or 4.9e8 < t Initial program 95.5%
Taylor expanded in y around 0
mul-1-negN/A
distribute-neg-frac2N/A
lower-/.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-neg-inN/A
mul-1-negN/A
remove-double-negN/A
sub-negN/A
lower--.f6475.9
Applied rewrites75.9%
if -3.6e15 < t < 4.9e8Initial program 92.7%
Taylor expanded in y around inf
associate-/l*N/A
*-commutativeN/A
lower-*.f64N/A
lower-/.f6487.5
Applied rewrites87.5%
Applied rewrites88.1%
Final simplification82.9%
(FPCore (x y z t) :precision binary64 (let* ((t_1 (* (/ t (- z 1.0)) x))) (if (<= t -4.6e+15) t_1 (if (<= t 490000000.0) (* x (/ y z)) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = (t / (z - 1.0)) * x;
double tmp;
if (t <= -4.6e+15) {
tmp = t_1;
} else if (t <= 490000000.0) {
tmp = x * (y / z);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = (t / (z - 1.0d0)) * x
if (t <= (-4.6d+15)) then
tmp = t_1
else if (t <= 490000000.0d0) then
tmp = x * (y / z)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = (t / (z - 1.0)) * x;
double tmp;
if (t <= -4.6e+15) {
tmp = t_1;
} else if (t <= 490000000.0) {
tmp = x * (y / z);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = (t / (z - 1.0)) * x tmp = 0 if t <= -4.6e+15: tmp = t_1 elif t <= 490000000.0: tmp = x * (y / z) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(Float64(t / Float64(z - 1.0)) * x) tmp = 0.0 if (t <= -4.6e+15) tmp = t_1; elseif (t <= 490000000.0) tmp = Float64(x * Float64(y / z)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = (t / (z - 1.0)) * x; tmp = 0.0; if (t <= -4.6e+15) tmp = t_1; elseif (t <= 490000000.0) tmp = x * (y / z); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(t / N[(z - 1.0), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[t, -4.6e+15], t$95$1, If[LessEqual[t, 490000000.0], N[(x * N[(y / z), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{t}{z - 1} \cdot x\\
\mathbf{if}\;t \leq -4.6 \cdot 10^{+15}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 490000000:\\
\;\;\;\;x \cdot \frac{y}{z}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -4.6e15 or 4.9e8 < t Initial program 95.5%
Taylor expanded in y around 0
mul-1-negN/A
distribute-neg-frac2N/A
lower-/.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-neg-inN/A
mul-1-negN/A
remove-double-negN/A
sub-negN/A
lower--.f6475.9
Applied rewrites75.9%
if -4.6e15 < t < 4.9e8Initial program 92.7%
Taylor expanded in y around inf
associate-/l*N/A
*-commutativeN/A
lower-*.f64N/A
lower-/.f6487.5
Applied rewrites87.5%
Final simplification82.6%
(FPCore (x y z t) :precision binary64 (if (<= z -2.35e-151) (* (+ t y) (/ x z)) (if (<= z 2.45e-18) (* (/ x z) y) (/ (* (+ t y) x) z))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= -2.35e-151) {
tmp = (t + y) * (x / z);
} else if (z <= 2.45e-18) {
tmp = (x / z) * y;
} else {
tmp = ((t + y) * x) / z;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (z <= (-2.35d-151)) then
tmp = (t + y) * (x / z)
else if (z <= 2.45d-18) then
tmp = (x / z) * y
else
tmp = ((t + y) * x) / z
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= -2.35e-151) {
tmp = (t + y) * (x / z);
} else if (z <= 2.45e-18) {
tmp = (x / z) * y;
} else {
tmp = ((t + y) * x) / z;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= -2.35e-151: tmp = (t + y) * (x / z) elif z <= 2.45e-18: tmp = (x / z) * y else: tmp = ((t + y) * x) / z return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= -2.35e-151) tmp = Float64(Float64(t + y) * Float64(x / z)); elseif (z <= 2.45e-18) tmp = Float64(Float64(x / z) * y); else tmp = Float64(Float64(Float64(t + y) * x) / z); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= -2.35e-151) tmp = (t + y) * (x / z); elseif (z <= 2.45e-18) tmp = (x / z) * y; else tmp = ((t + y) * x) / z; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, -2.35e-151], N[(N[(t + y), $MachinePrecision] * N[(x / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.45e-18], N[(N[(x / z), $MachinePrecision] * y), $MachinePrecision], N[(N[(N[(t + y), $MachinePrecision] * x), $MachinePrecision] / z), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.35 \cdot 10^{-151}:\\
\;\;\;\;\left(t + y\right) \cdot \frac{x}{z}\\
\mathbf{elif}\;z \leq 2.45 \cdot 10^{-18}:\\
\;\;\;\;\frac{x}{z} \cdot y\\
\mathbf{else}:\\
\;\;\;\;\frac{\left(t + y\right) \cdot x}{z}\\
\end{array}
\end{array}
if z < -2.35000000000000014e-151Initial program 96.6%
Taylor expanded in z around inf
Applied rewrites69.9%
Applied rewrites75.5%
Taylor expanded in z around inf
Applied rewrites82.8%
if -2.35000000000000014e-151 < z < 2.4500000000000001e-18Initial program 89.4%
Taylor expanded in y around inf
associate-/l*N/A
*-commutativeN/A
lower-*.f64N/A
lower-/.f6467.7
Applied rewrites67.7%
Applied rewrites77.1%
if 2.4500000000000001e-18 < z Initial program 96.9%
Taylor expanded in z around inf
Applied rewrites86.7%
Taylor expanded in z around inf
Applied rewrites86.3%
Final simplification81.6%
(FPCore (x y z t) :precision binary64 (let* ((t_1 (* (+ t y) (/ x z)))) (if (<= z -2.35e-151) t_1 (if (<= z 2.45e-18) (* (/ x z) y) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = (t + y) * (x / z);
double tmp;
if (z <= -2.35e-151) {
tmp = t_1;
} else if (z <= 2.45e-18) {
tmp = (x / z) * y;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = (t + y) * (x / z)
if (z <= (-2.35d-151)) then
tmp = t_1
else if (z <= 2.45d-18) then
tmp = (x / z) * y
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = (t + y) * (x / z);
double tmp;
if (z <= -2.35e-151) {
tmp = t_1;
} else if (z <= 2.45e-18) {
tmp = (x / z) * y;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = (t + y) * (x / z) tmp = 0 if z <= -2.35e-151: tmp = t_1 elif z <= 2.45e-18: tmp = (x / z) * y else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(Float64(t + y) * Float64(x / z)) tmp = 0.0 if (z <= -2.35e-151) tmp = t_1; elseif (z <= 2.45e-18) tmp = Float64(Float64(x / z) * y); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = (t + y) * (x / z); tmp = 0.0; if (z <= -2.35e-151) tmp = t_1; elseif (z <= 2.45e-18) tmp = (x / z) * y; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(t + y), $MachinePrecision] * N[(x / z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.35e-151], t$95$1, If[LessEqual[z, 2.45e-18], N[(N[(x / z), $MachinePrecision] * y), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(t + y\right) \cdot \frac{x}{z}\\
\mathbf{if}\;z \leq -2.35 \cdot 10^{-151}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 2.45 \cdot 10^{-18}:\\
\;\;\;\;\frac{x}{z} \cdot y\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -2.35000000000000014e-151 or 2.4500000000000001e-18 < z Initial program 96.7%
Taylor expanded in z around inf
Applied rewrites77.0%
Applied rewrites79.5%
Taylor expanded in z around inf
Applied rewrites83.6%
if -2.35000000000000014e-151 < z < 2.4500000000000001e-18Initial program 89.4%
Taylor expanded in y around inf
associate-/l*N/A
*-commutativeN/A
lower-*.f64N/A
lower-/.f6467.7
Applied rewrites67.7%
Applied rewrites77.1%
Final simplification81.1%
(FPCore (x y z t) :precision binary64 (let* ((t_1 (* (/ x z) t))) (if (<= t -1.05e+16) t_1 (if (<= t 2.65e+101) (* x (/ y z)) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = (x / z) * t;
double tmp;
if (t <= -1.05e+16) {
tmp = t_1;
} else if (t <= 2.65e+101) {
tmp = x * (y / z);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = (x / z) * t
if (t <= (-1.05d+16)) then
tmp = t_1
else if (t <= 2.65d+101) then
tmp = x * (y / z)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = (x / z) * t;
double tmp;
if (t <= -1.05e+16) {
tmp = t_1;
} else if (t <= 2.65e+101) {
tmp = x * (y / z);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = (x / z) * t tmp = 0 if t <= -1.05e+16: tmp = t_1 elif t <= 2.65e+101: tmp = x * (y / z) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(Float64(x / z) * t) tmp = 0.0 if (t <= -1.05e+16) tmp = t_1; elseif (t <= 2.65e+101) tmp = Float64(x * Float64(y / z)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = (x / z) * t; tmp = 0.0; if (t <= -1.05e+16) tmp = t_1; elseif (t <= 2.65e+101) tmp = x * (y / z); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(x / z), $MachinePrecision] * t), $MachinePrecision]}, If[LessEqual[t, -1.05e+16], t$95$1, If[LessEqual[t, 2.65e+101], N[(x * N[(y / z), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{z} \cdot t\\
\mathbf{if}\;t \leq -1.05 \cdot 10^{+16}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 2.65 \cdot 10^{+101}:\\
\;\;\;\;x \cdot \frac{y}{z}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.05e16 or 2.65000000000000003e101 < t Initial program 95.6%
Taylor expanded in y around 0
mul-1-negN/A
distribute-neg-frac2N/A
lower-/.f64N/A
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-neg-inN/A
mul-1-negN/A
remove-double-negN/A
sub-negN/A
lower--.f6467.9
Applied rewrites67.9%
Taylor expanded in z around inf
Applied rewrites47.6%
if -1.05e16 < t < 2.65000000000000003e101Initial program 93.0%
Taylor expanded in y around inf
associate-/l*N/A
*-commutativeN/A
lower-*.f64N/A
lower-/.f6483.3
Applied rewrites83.3%
Final simplification70.7%
(FPCore (x y z t) :precision binary64 (let* ((t_1 (* (/ x z) t))) (if (<= t -5.2e+15) t_1 (if (<= t 3e+149) (* (/ x z) y) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = (x / z) * t;
double tmp;
if (t <= -5.2e+15) {
tmp = t_1;
} else if (t <= 3e+149) {
tmp = (x / z) * y;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: tmp
t_1 = (x / z) * t
if (t <= (-5.2d+15)) then
tmp = t_1
else if (t <= 3d+149) then
tmp = (x / z) * y
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = (x / z) * t;
double tmp;
if (t <= -5.2e+15) {
tmp = t_1;
} else if (t <= 3e+149) {
tmp = (x / z) * y;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = (x / z) * t tmp = 0 if t <= -5.2e+15: tmp = t_1 elif t <= 3e+149: tmp = (x / z) * y else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(Float64(x / z) * t) tmp = 0.0 if (t <= -5.2e+15) tmp = t_1; elseif (t <= 3e+149) tmp = Float64(Float64(x / z) * y); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = (x / z) * t; tmp = 0.0; if (t <= -5.2e+15) tmp = t_1; elseif (t <= 3e+149) tmp = (x / z) * y; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(x / z), $MachinePrecision] * t), $MachinePrecision]}, If[LessEqual[t, -5.2e+15], t$95$1, If[LessEqual[t, 3e+149], N[(N[(x / z), $MachinePrecision] * y), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{z} \cdot t\\
\mathbf{if}\;t \leq -5.2 \cdot 10^{+15}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 3 \cdot 10^{+149}:\\
\;\;\;\;\frac{x}{z} \cdot y\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -5.2e15 or 3.00000000000000003e149 < t Initial program 96.1%
Taylor expanded in y around 0
mul-1-negN/A
distribute-neg-frac2N/A
lower-/.f64N/A
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-neg-inN/A
mul-1-negN/A
remove-double-negN/A
sub-negN/A
lower--.f6470.6
Applied rewrites70.6%
Taylor expanded in z around inf
Applied rewrites46.3%
if -5.2e15 < t < 3.00000000000000003e149Initial program 92.9%
Taylor expanded in y around inf
associate-/l*N/A
*-commutativeN/A
lower-*.f64N/A
lower-/.f6480.6
Applied rewrites80.6%
Applied rewrites80.7%
(FPCore (x y z t) :precision binary64 (let* ((t_1 (* (/ x z) t))) (if (<= z -130000.0) t_1 (if (<= z 2.45e-18) (* (- t) (fma z x x)) t_1))))
double code(double x, double y, double z, double t) {
double t_1 = (x / z) * t;
double tmp;
if (z <= -130000.0) {
tmp = t_1;
} else if (z <= 2.45e-18) {
tmp = -t * fma(z, x, x);
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t) t_1 = Float64(Float64(x / z) * t) tmp = 0.0 if (z <= -130000.0) tmp = t_1; elseif (z <= 2.45e-18) tmp = Float64(Float64(-t) * fma(z, x, x)); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(x / z), $MachinePrecision] * t), $MachinePrecision]}, If[LessEqual[z, -130000.0], t$95$1, If[LessEqual[z, 2.45e-18], N[((-t) * N[(z * x + x), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{z} \cdot t\\
\mathbf{if}\;z \leq -130000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 2.45 \cdot 10^{-18}:\\
\;\;\;\;\left(-t\right) \cdot \mathsf{fma}\left(z, x, x\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -1.3e5 or 2.4500000000000001e-18 < z Initial program 96.8%
Taylor expanded in y around 0
mul-1-negN/A
distribute-neg-frac2N/A
lower-/.f64N/A
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-neg-inN/A
mul-1-negN/A
remove-double-negN/A
sub-negN/A
lower--.f6448.7
Applied rewrites48.7%
Taylor expanded in z around inf
Applied rewrites49.3%
if -1.3e5 < z < 2.4500000000000001e-18Initial program 90.8%
Taylor expanded in y around 0
mul-1-negN/A
distribute-neg-frac2N/A
lower-/.f64N/A
lower-*.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-neg-inN/A
mul-1-negN/A
remove-double-negN/A
sub-negN/A
lower--.f6434.9
Applied rewrites34.9%
Taylor expanded in z around 0
Applied rewrites34.1%
Final simplification41.9%
(FPCore (x y z t) :precision binary64 (* (- t) x))
double code(double x, double y, double z, double t) {
return -t * x;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = -t * x
end function
public static double code(double x, double y, double z, double t) {
return -t * x;
}
def code(x, y, z, t): return -t * x
function code(x, y, z, t) return Float64(Float64(-t) * x) end
function tmp = code(x, y, z, t) tmp = -t * x; end
code[x_, y_, z_, t_] := N[((-t) * x), $MachinePrecision]
\begin{array}{l}
\\
\left(-t\right) \cdot x
\end{array}
Initial program 93.9%
Taylor expanded in y around 0
mul-1-negN/A
distribute-neg-frac2N/A
lower-/.f64N/A
sub-negN/A
mul-1-negN/A
+-commutativeN/A
distribute-neg-inN/A
mul-1-negN/A
remove-double-negN/A
sub-negN/A
lower--.f6444.5
Applied rewrites44.5%
Taylor expanded in z around 0
Applied rewrites21.6%
Final simplification21.6%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* x (- (/ y z) (* t (/ 1.0 (- 1.0 z))))))
(t_2 (* x (- (/ y z) (/ t (- 1.0 z))))))
(if (< t_2 -7.623226303312042e-196)
t_1
(if (< t_2 1.4133944927702302e-211)
(+ (/ (* y x) z) (- (/ (* t x) (- 1.0 z))))
t_1))))
double code(double x, double y, double z, double t) {
double t_1 = x * ((y / z) - (t * (1.0 / (1.0 - z))));
double t_2 = x * ((y / z) - (t / (1.0 - z)));
double tmp;
if (t_2 < -7.623226303312042e-196) {
tmp = t_1;
} else if (t_2 < 1.4133944927702302e-211) {
tmp = ((y * x) / z) + -((t * x) / (1.0 - z));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x * ((y / z) - (t * (1.0d0 / (1.0d0 - z))))
t_2 = x * ((y / z) - (t / (1.0d0 - z)))
if (t_2 < (-7.623226303312042d-196)) then
tmp = t_1
else if (t_2 < 1.4133944927702302d-211) then
tmp = ((y * x) / z) + -((t * x) / (1.0d0 - z))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = x * ((y / z) - (t * (1.0 / (1.0 - z))));
double t_2 = x * ((y / z) - (t / (1.0 - z)));
double tmp;
if (t_2 < -7.623226303312042e-196) {
tmp = t_1;
} else if (t_2 < 1.4133944927702302e-211) {
tmp = ((y * x) / z) + -((t * x) / (1.0 - z));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x * ((y / z) - (t * (1.0 / (1.0 - z)))) t_2 = x * ((y / z) - (t / (1.0 - z))) tmp = 0 if t_2 < -7.623226303312042e-196: tmp = t_1 elif t_2 < 1.4133944927702302e-211: tmp = ((y * x) / z) + -((t * x) / (1.0 - z)) else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x * Float64(Float64(y / z) - Float64(t * Float64(1.0 / Float64(1.0 - z))))) t_2 = Float64(x * Float64(Float64(y / z) - Float64(t / Float64(1.0 - z)))) tmp = 0.0 if (t_2 < -7.623226303312042e-196) tmp = t_1; elseif (t_2 < 1.4133944927702302e-211) tmp = Float64(Float64(Float64(y * x) / z) + Float64(-Float64(Float64(t * x) / Float64(1.0 - z)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x * ((y / z) - (t * (1.0 / (1.0 - z)))); t_2 = x * ((y / z) - (t / (1.0 - z))); tmp = 0.0; if (t_2 < -7.623226303312042e-196) tmp = t_1; elseif (t_2 < 1.4133944927702302e-211) tmp = ((y * x) / z) + -((t * x) / (1.0 - z)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x * N[(N[(y / z), $MachinePrecision] - N[(t * N[(1.0 / N[(1.0 - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(y / z), $MachinePrecision] - N[(t / N[(1.0 - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[t$95$2, -7.623226303312042e-196], t$95$1, If[Less[t$95$2, 1.4133944927702302e-211], N[(N[(N[(y * x), $MachinePrecision] / z), $MachinePrecision] + (-N[(N[(t * x), $MachinePrecision] / N[(1.0 - z), $MachinePrecision]), $MachinePrecision])), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(\frac{y}{z} - t \cdot \frac{1}{1 - z}\right)\\
t_2 := x \cdot \left(\frac{y}{z} - \frac{t}{1 - z}\right)\\
\mathbf{if}\;t\_2 < -7.623226303312042 \cdot 10^{-196}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t\_2 < 1.4133944927702302 \cdot 10^{-211}:\\
\;\;\;\;\frac{y \cdot x}{z} + \left(-\frac{t \cdot x}{1 - z}\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
herbie shell --seed 2024296
(FPCore (x y z t)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, C"
:precision binary64
:alt
(! :herbie-platform default (if (< (* x (- (/ y z) (/ t (- 1 z)))) -3811613151656021/5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (* x (- (/ y z) (* t (/ 1 (- 1 z))))) (if (< (* x (- (/ y z) (/ t (- 1 z)))) 7066972463851151/50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (/ (* y x) z) (- (/ (* t x) (- 1 z)))) (* x (- (/ y z) (* t (/ 1 (- 1 z))))))))
(* x (- (/ y z) (/ t (- 1.0 z)))))