
(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 13 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) (/ t (+ z -1.0)))))
(if (<= t_1 (- INFINITY))
(/ (* y x) z)
(if (or (<= t_1 -4e-141) (not (<= t_1 0.0)))
(* t_1 x)
(* y (+ (* (/ t y) (/ x (+ z -1.0))) (/ x z)))))))
double code(double x, double y, double z, double t) {
double t_1 = (y / z) + (t / (z + -1.0));
double tmp;
if (t_1 <= -((double) INFINITY)) {
tmp = (y * x) / z;
} else if ((t_1 <= -4e-141) || !(t_1 <= 0.0)) {
tmp = t_1 * x;
} else {
tmp = y * (((t / y) * (x / (z + -1.0))) + (x / z));
}
return tmp;
}
public static double code(double x, double y, double z, double t) {
double t_1 = (y / z) + (t / (z + -1.0));
double tmp;
if (t_1 <= -Double.POSITIVE_INFINITY) {
tmp = (y * x) / z;
} else if ((t_1 <= -4e-141) || !(t_1 <= 0.0)) {
tmp = t_1 * x;
} else {
tmp = y * (((t / y) * (x / (z + -1.0))) + (x / z));
}
return tmp;
}
def code(x, y, z, t): t_1 = (y / z) + (t / (z + -1.0)) tmp = 0 if t_1 <= -math.inf: tmp = (y * x) / z elif (t_1 <= -4e-141) or not (t_1 <= 0.0): tmp = t_1 * x else: tmp = y * (((t / y) * (x / (z + -1.0))) + (x / z)) return tmp
function code(x, y, z, t) t_1 = Float64(Float64(y / z) + Float64(t / Float64(z + -1.0))) tmp = 0.0 if (t_1 <= Float64(-Inf)) tmp = Float64(Float64(y * x) / z); elseif ((t_1 <= -4e-141) || !(t_1 <= 0.0)) tmp = Float64(t_1 * x); else tmp = Float64(y * Float64(Float64(Float64(t / y) * Float64(x / Float64(z + -1.0))) + Float64(x / z))); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = (y / z) + (t / (z + -1.0)); tmp = 0.0; if (t_1 <= -Inf) tmp = (y * x) / z; elseif ((t_1 <= -4e-141) || ~((t_1 <= 0.0))) tmp = t_1 * x; else tmp = y * (((t / y) * (x / (z + -1.0))) + (x / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(y / z), $MachinePrecision] + N[(t / N[(z + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, (-Infinity)], N[(N[(y * x), $MachinePrecision] / z), $MachinePrecision], If[Or[LessEqual[t$95$1, -4e-141], N[Not[LessEqual[t$95$1, 0.0]], $MachinePrecision]], N[(t$95$1 * x), $MachinePrecision], N[(y * N[(N[(N[(t / y), $MachinePrecision] * N[(x / N[(z + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{y}{z} + \frac{t}{z + -1}\\
\mathbf{if}\;t\_1 \leq -\infty:\\
\;\;\;\;\frac{y \cdot x}{z}\\
\mathbf{elif}\;t\_1 \leq -4 \cdot 10^{-141} \lor \neg \left(t\_1 \leq 0\right):\\
\;\;\;\;t\_1 \cdot x\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(\frac{t}{y} \cdot \frac{x}{z + -1} + \frac{x}{z}\right)\\
\end{array}
\end{array}
if (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z))) < -inf.0Initial program 39.6%
Taylor expanded in y around inf 100.0%
if -inf.0 < (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z))) < -4.0000000000000002e-141 or 0.0 < (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z))) Initial program 97.9%
if -4.0000000000000002e-141 < (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z))) < 0.0Initial program 83.4%
Taylor expanded in y around inf 95.0%
mul-1-neg95.0%
times-frac97.8%
distribute-rgt-neg-in97.8%
distribute-neg-frac297.8%
neg-sub097.8%
associate--r-97.8%
metadata-eval97.8%
Simplified97.8%
Final simplification98.0%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* (+ (/ y z) (/ t (+ z -1.0))) x)))
(if (<= t_1 (- INFINITY))
(/ (* x (- y (* z t))) z)
(if (or (<= t_1 -5e-237) (not (<= t_1 0.0))) t_1 (/ (* x (+ y t)) z)))))
double code(double x, double y, double z, double t) {
double t_1 = ((y / z) + (t / (z + -1.0))) * x;
double tmp;
if (t_1 <= -((double) INFINITY)) {
tmp = (x * (y - (z * t))) / z;
} else if ((t_1 <= -5e-237) || !(t_1 <= 0.0)) {
tmp = t_1;
} else {
tmp = (x * (y + t)) / z;
}
return tmp;
}
public static double code(double x, double y, double z, double t) {
double t_1 = ((y / z) + (t / (z + -1.0))) * x;
double tmp;
if (t_1 <= -Double.POSITIVE_INFINITY) {
tmp = (x * (y - (z * t))) / z;
} else if ((t_1 <= -5e-237) || !(t_1 <= 0.0)) {
tmp = t_1;
} else {
tmp = (x * (y + t)) / z;
}
return tmp;
}
def code(x, y, z, t): t_1 = ((y / z) + (t / (z + -1.0))) * x tmp = 0 if t_1 <= -math.inf: tmp = (x * (y - (z * t))) / z elif (t_1 <= -5e-237) or not (t_1 <= 0.0): tmp = t_1 else: tmp = (x * (y + t)) / z return tmp
function code(x, y, z, t) t_1 = Float64(Float64(Float64(y / z) + Float64(t / Float64(z + -1.0))) * x) tmp = 0.0 if (t_1 <= Float64(-Inf)) tmp = Float64(Float64(x * Float64(y - Float64(z * t))) / z); elseif ((t_1 <= -5e-237) || !(t_1 <= 0.0)) tmp = t_1; else tmp = Float64(Float64(x * Float64(y + t)) / z); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = ((y / z) + (t / (z + -1.0))) * x; tmp = 0.0; if (t_1 <= -Inf) tmp = (x * (y - (z * t))) / z; elseif ((t_1 <= -5e-237) || ~((t_1 <= 0.0))) tmp = t_1; else tmp = (x * (y + t)) / z; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(N[(y / z), $MachinePrecision] + N[(t / N[(z + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[t$95$1, (-Infinity)], N[(N[(x * N[(y - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision], If[Or[LessEqual[t$95$1, -5e-237], N[Not[LessEqual[t$95$1, 0.0]], $MachinePrecision]], t$95$1, N[(N[(x * N[(y + t), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\frac{y}{z} + \frac{t}{z + -1}\right) \cdot x\\
\mathbf{if}\;t\_1 \leq -\infty:\\
\;\;\;\;\frac{x \cdot \left(y - z \cdot t\right)}{z}\\
\mathbf{elif}\;t\_1 \leq -5 \cdot 10^{-237} \lor \neg \left(t\_1 \leq 0\right):\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot \left(y + t\right)}{z}\\
\end{array}
\end{array}
if (*.f64 x (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z)))) < -inf.0Initial program 78.0%
clear-num78.0%
frac-sub78.0%
*-un-lft-identity78.0%
Applied egg-rr78.0%
div-sub61.7%
times-frac61.7%
*-inverses78.0%
*-lft-identity78.0%
remove-double-neg78.0%
distribute-frac-neg78.0%
*-rgt-identity78.0%
distribute-lft-neg-in78.0%
cancel-sign-sub78.0%
*-commutative78.0%
associate-/r*78.0%
*-inverses78.0%
*-rgt-identity78.0%
distribute-frac-neg78.0%
distribute-neg-frac278.0%
neg-sub078.0%
associate--r-78.0%
metadata-eval78.0%
Simplified78.0%
clear-num78.0%
inv-pow78.0%
+-commutative78.0%
Applied egg-rr78.0%
unpow-178.0%
Simplified78.0%
Taylor expanded in z around 0 92.3%
+-commutative92.3%
mul-1-neg92.3%
*-commutative92.3%
*-commutative92.3%
associate-*r*84.6%
*-commutative84.6%
distribute-rgt-neg-out84.6%
associate-*l*92.3%
distribute-rgt-neg-in92.3%
mul-1-neg92.3%
distribute-lft-out96.2%
mul-1-neg96.2%
unsub-neg96.2%
Simplified96.2%
if -inf.0 < (*.f64 x (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z)))) < -5.0000000000000002e-237 or -0.0 < (*.f64 x (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z)))) Initial program 95.9%
if -5.0000000000000002e-237 < (*.f64 x (-.f64 (/.f64 y z) (/.f64 t (-.f64 #s(literal 1 binary64) z)))) < -0.0Initial program 86.7%
clear-num86.7%
frac-sub49.0%
*-un-lft-identity49.0%
Applied egg-rr49.0%
div-sub49.0%
times-frac49.0%
*-inverses81.5%
*-lft-identity81.5%
remove-double-neg81.5%
distribute-frac-neg81.5%
*-rgt-identity81.5%
distribute-lft-neg-in81.5%
cancel-sign-sub81.5%
*-commutative81.5%
associate-/r*86.7%
*-inverses86.7%
*-rgt-identity86.7%
distribute-frac-neg86.7%
distribute-neg-frac286.7%
neg-sub086.7%
associate--r-86.7%
metadata-eval86.7%
Simplified86.7%
Taylor expanded in z around inf 97.3%
Final simplification96.1%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* y (/ x z))) (t_2 (* t (/ x (+ z -1.0)))))
(if (<= t -1.45e+91)
t_2
(if (<= t -0.0016)
t_1
(if (<= t -7.5e-9)
t_2
(if (<= t -1.5e-86) (* (/ y z) x) (if (<= t 8.8e+119) t_1 t_2)))))))
double code(double x, double y, double z, double t) {
double t_1 = y * (x / z);
double t_2 = t * (x / (z + -1.0));
double tmp;
if (t <= -1.45e+91) {
tmp = t_2;
} else if (t <= -0.0016) {
tmp = t_1;
} else if (t <= -7.5e-9) {
tmp = t_2;
} else if (t <= -1.5e-86) {
tmp = (y / z) * x;
} else if (t <= 8.8e+119) {
tmp = t_1;
} else {
tmp = t_2;
}
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 = y * (x / z)
t_2 = t * (x / (z + (-1.0d0)))
if (t <= (-1.45d+91)) then
tmp = t_2
else if (t <= (-0.0016d0)) then
tmp = t_1
else if (t <= (-7.5d-9)) then
tmp = t_2
else if (t <= (-1.5d-86)) then
tmp = (y / z) * x
else if (t <= 8.8d+119) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = y * (x / z);
double t_2 = t * (x / (z + -1.0));
double tmp;
if (t <= -1.45e+91) {
tmp = t_2;
} else if (t <= -0.0016) {
tmp = t_1;
} else if (t <= -7.5e-9) {
tmp = t_2;
} else if (t <= -1.5e-86) {
tmp = (y / z) * x;
} else if (t <= 8.8e+119) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t): t_1 = y * (x / z) t_2 = t * (x / (z + -1.0)) tmp = 0 if t <= -1.45e+91: tmp = t_2 elif t <= -0.0016: tmp = t_1 elif t <= -7.5e-9: tmp = t_2 elif t <= -1.5e-86: tmp = (y / z) * x elif t <= 8.8e+119: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t) t_1 = Float64(y * Float64(x / z)) t_2 = Float64(t * Float64(x / Float64(z + -1.0))) tmp = 0.0 if (t <= -1.45e+91) tmp = t_2; elseif (t <= -0.0016) tmp = t_1; elseif (t <= -7.5e-9) tmp = t_2; elseif (t <= -1.5e-86) tmp = Float64(Float64(y / z) * x); elseif (t <= 8.8e+119) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = y * (x / z); t_2 = t * (x / (z + -1.0)); tmp = 0.0; if (t <= -1.45e+91) tmp = t_2; elseif (t <= -0.0016) tmp = t_1; elseif (t <= -7.5e-9) tmp = t_2; elseif (t <= -1.5e-86) tmp = (y / z) * x; elseif (t <= 8.8e+119) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(y * N[(x / z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(x / N[(z + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.45e+91], t$95$2, If[LessEqual[t, -0.0016], t$95$1, If[LessEqual[t, -7.5e-9], t$95$2, If[LessEqual[t, -1.5e-86], N[(N[(y / z), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[t, 8.8e+119], t$95$1, t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \frac{x}{z}\\
t_2 := t \cdot \frac{x}{z + -1}\\
\mathbf{if}\;t \leq -1.45 \cdot 10^{+91}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq -0.0016:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -7.5 \cdot 10^{-9}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq -1.5 \cdot 10^{-86}:\\
\;\;\;\;\frac{y}{z} \cdot x\\
\mathbf{elif}\;t \leq 8.8 \cdot 10^{+119}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -1.45000000000000007e91 or -0.00160000000000000008 < t < -7.49999999999999933e-9 or 8.8000000000000005e119 < t Initial program 95.9%
Taylor expanded in y around 0 69.9%
mul-1-neg69.9%
associate-/l*70.0%
distribute-rgt-neg-in70.0%
distribute-neg-frac270.0%
neg-sub070.0%
associate--r-70.0%
metadata-eval70.0%
Simplified70.0%
if -1.45000000000000007e91 < t < -0.00160000000000000008 or -1.5e-86 < t < 8.8000000000000005e119Initial program 90.8%
clear-num90.5%
frac-sub75.4%
*-un-lft-identity75.4%
Applied egg-rr75.4%
div-sub68.4%
times-frac70.7%
*-inverses86.4%
*-lft-identity86.4%
remove-double-neg86.4%
distribute-frac-neg86.4%
*-rgt-identity86.4%
distribute-lft-neg-in86.4%
cancel-sign-sub86.4%
*-commutative86.4%
associate-/r*90.5%
*-inverses90.5%
*-rgt-identity90.5%
distribute-frac-neg90.5%
distribute-neg-frac290.5%
neg-sub090.5%
associate--r-90.5%
metadata-eval90.5%
Simplified90.5%
Taylor expanded in z around 0 76.1%
associate-*l/79.6%
*-commutative79.6%
Simplified79.6%
if -7.49999999999999933e-9 < t < -1.5e-86Initial program 98.7%
Taylor expanded in y around inf 87.4%
associate-*r/92.5%
Simplified92.5%
Final simplification77.8%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (/ (* x (- y (* z t))) z)))
(if (<= z -1020000.0)
(/ (* x (+ y t)) z)
(if (<= z -3.8e-248)
t_1
(if (<= z 1e-283)
(* x (- (/ y z) t))
(if (<= z 8e-8) t_1 (* (/ x z) (+ y t))))))))
double code(double x, double y, double z, double t) {
double t_1 = (x * (y - (z * t))) / z;
double tmp;
if (z <= -1020000.0) {
tmp = (x * (y + t)) / z;
} else if (z <= -3.8e-248) {
tmp = t_1;
} else if (z <= 1e-283) {
tmp = x * ((y / z) - t);
} else if (z <= 8e-8) {
tmp = t_1;
} else {
tmp = (x / z) * (y + t);
}
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 * (y - (z * t))) / z
if (z <= (-1020000.0d0)) then
tmp = (x * (y + t)) / z
else if (z <= (-3.8d-248)) then
tmp = t_1
else if (z <= 1d-283) then
tmp = x * ((y / z) - t)
else if (z <= 8d-8) then
tmp = t_1
else
tmp = (x / z) * (y + t)
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))) / z;
double tmp;
if (z <= -1020000.0) {
tmp = (x * (y + t)) / z;
} else if (z <= -3.8e-248) {
tmp = t_1;
} else if (z <= 1e-283) {
tmp = x * ((y / z) - t);
} else if (z <= 8e-8) {
tmp = t_1;
} else {
tmp = (x / z) * (y + t);
}
return tmp;
}
def code(x, y, z, t): t_1 = (x * (y - (z * t))) / z tmp = 0 if z <= -1020000.0: tmp = (x * (y + t)) / z elif z <= -3.8e-248: tmp = t_1 elif z <= 1e-283: tmp = x * ((y / z) - t) elif z <= 8e-8: tmp = t_1 else: tmp = (x / z) * (y + t) return tmp
function code(x, y, z, t) t_1 = Float64(Float64(x * Float64(y - Float64(z * t))) / z) tmp = 0.0 if (z <= -1020000.0) tmp = Float64(Float64(x * Float64(y + t)) / z); elseif (z <= -3.8e-248) tmp = t_1; elseif (z <= 1e-283) tmp = Float64(x * Float64(Float64(y / z) - t)); elseif (z <= 8e-8) tmp = t_1; else tmp = Float64(Float64(x / z) * Float64(y + t)); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = (x * (y - (z * t))) / z; tmp = 0.0; if (z <= -1020000.0) tmp = (x * (y + t)) / z; elseif (z <= -3.8e-248) tmp = t_1; elseif (z <= 1e-283) tmp = x * ((y / z) - t); elseif (z <= 8e-8) tmp = t_1; else tmp = (x / z) * (y + t); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(x * N[(y - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]}, If[LessEqual[z, -1020000.0], N[(N[(x * N[(y + t), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision], If[LessEqual[z, -3.8e-248], t$95$1, If[LessEqual[z, 1e-283], N[(x * N[(N[(y / z), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8e-8], t$95$1, N[(N[(x / z), $MachinePrecision] * N[(y + t), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x \cdot \left(y - z \cdot t\right)}{z}\\
\mathbf{if}\;z \leq -1020000:\\
\;\;\;\;\frac{x \cdot \left(y + t\right)}{z}\\
\mathbf{elif}\;z \leq -3.8 \cdot 10^{-248}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 10^{-283}:\\
\;\;\;\;x \cdot \left(\frac{y}{z} - t\right)\\
\mathbf{elif}\;z \leq 8 \cdot 10^{-8}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{z} \cdot \left(y + t\right)\\
\end{array}
\end{array}
if z < -1.02e6Initial program 94.5%
clear-num92.7%
frac-sub52.5%
*-un-lft-identity52.5%
Applied egg-rr52.5%
div-sub52.5%
times-frac62.1%
*-inverses87.0%
*-lft-identity87.0%
remove-double-neg87.0%
distribute-frac-neg87.0%
*-rgt-identity87.0%
distribute-lft-neg-in87.0%
cancel-sign-sub87.0%
*-commutative87.0%
associate-/r*92.7%
*-inverses92.7%
*-rgt-identity92.7%
distribute-frac-neg92.7%
distribute-neg-frac292.7%
neg-sub092.7%
associate--r-92.7%
metadata-eval92.7%
Simplified92.7%
Taylor expanded in z around inf 91.0%
if -1.02e6 < z < -3.7999999999999999e-248 or 9.99999999999999947e-284 < z < 8.0000000000000002e-8Initial program 88.8%
clear-num88.7%
frac-sub86.9%
*-un-lft-identity86.9%
Applied egg-rr86.9%
div-sub74.7%
times-frac76.5%
*-inverses88.7%
*-lft-identity88.7%
remove-double-neg88.7%
distribute-frac-neg88.7%
*-rgt-identity88.7%
distribute-lft-neg-in88.7%
cancel-sign-sub88.7%
*-commutative88.7%
associate-/r*88.7%
*-inverses88.7%
*-rgt-identity88.7%
distribute-frac-neg88.7%
distribute-neg-frac288.7%
neg-sub088.7%
associate--r-88.7%
metadata-eval88.7%
Simplified88.7%
clear-num88.7%
inv-pow88.7%
+-commutative88.7%
Applied egg-rr88.7%
unpow-188.7%
Simplified88.7%
Taylor expanded in z around 0 90.9%
+-commutative90.9%
mul-1-neg90.9%
*-commutative90.9%
*-commutative90.9%
associate-*r*89.1%
*-commutative89.1%
distribute-rgt-neg-out89.1%
associate-*l*93.9%
distribute-rgt-neg-in93.9%
mul-1-neg93.9%
distribute-lft-out93.9%
mul-1-neg93.9%
unsub-neg93.9%
Simplified93.9%
if -3.7999999999999999e-248 < z < 9.99999999999999947e-284Initial program 92.7%
Taylor expanded in z around 0 92.5%
mul-1-neg92.5%
unsub-neg92.5%
div-sub92.5%
associate-/l*92.7%
*-inverses92.7%
*-rgt-identity92.7%
Simplified92.7%
if 8.0000000000000002e-8 < z Initial program 97.1%
Taylor expanded in z around inf 83.2%
*-commutative83.2%
associate-/l*86.4%
cancel-sign-sub-inv86.4%
metadata-eval86.4%
*-lft-identity86.4%
+-commutative86.4%
Simplified86.4%
Final simplification91.0%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* x (- (/ y z) t))))
(if (<= z -1020000.0)
(/ (* x (+ y t)) z)
(if (<= z 3e-302)
t_1
(if (<= z 6.2e-149)
(* y (/ x z))
(if (<= z 1.3e-7) t_1 (* (/ x z) (+ y t))))))))
double code(double x, double y, double z, double t) {
double t_1 = x * ((y / z) - t);
double tmp;
if (z <= -1020000.0) {
tmp = (x * (y + t)) / z;
} else if (z <= 3e-302) {
tmp = t_1;
} else if (z <= 6.2e-149) {
tmp = y * (x / z);
} else if (z <= 1.3e-7) {
tmp = t_1;
} else {
tmp = (x / z) * (y + t);
}
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 * ((y / z) - t)
if (z <= (-1020000.0d0)) then
tmp = (x * (y + t)) / z
else if (z <= 3d-302) then
tmp = t_1
else if (z <= 6.2d-149) then
tmp = y * (x / z)
else if (z <= 1.3d-7) then
tmp = t_1
else
tmp = (x / z) * (y + t)
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);
double tmp;
if (z <= -1020000.0) {
tmp = (x * (y + t)) / z;
} else if (z <= 3e-302) {
tmp = t_1;
} else if (z <= 6.2e-149) {
tmp = y * (x / z);
} else if (z <= 1.3e-7) {
tmp = t_1;
} else {
tmp = (x / z) * (y + t);
}
return tmp;
}
def code(x, y, z, t): t_1 = x * ((y / z) - t) tmp = 0 if z <= -1020000.0: tmp = (x * (y + t)) / z elif z <= 3e-302: tmp = t_1 elif z <= 6.2e-149: tmp = y * (x / z) elif z <= 1.3e-7: tmp = t_1 else: tmp = (x / z) * (y + t) return tmp
function code(x, y, z, t) t_1 = Float64(x * Float64(Float64(y / z) - t)) tmp = 0.0 if (z <= -1020000.0) tmp = Float64(Float64(x * Float64(y + t)) / z); elseif (z <= 3e-302) tmp = t_1; elseif (z <= 6.2e-149) tmp = Float64(y * Float64(x / z)); elseif (z <= 1.3e-7) tmp = t_1; else tmp = Float64(Float64(x / z) * Float64(y + t)); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x * ((y / z) - t); tmp = 0.0; if (z <= -1020000.0) tmp = (x * (y + t)) / z; elseif (z <= 3e-302) tmp = t_1; elseif (z <= 6.2e-149) tmp = y * (x / z); elseif (z <= 1.3e-7) tmp = t_1; else tmp = (x / z) * (y + t); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x * N[(N[(y / z), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1020000.0], N[(N[(x * N[(y + t), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision], If[LessEqual[z, 3e-302], t$95$1, If[LessEqual[z, 6.2e-149], N[(y * N[(x / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.3e-7], t$95$1, N[(N[(x / z), $MachinePrecision] * N[(y + t), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(\frac{y}{z} - t\right)\\
\mathbf{if}\;z \leq -1020000:\\
\;\;\;\;\frac{x \cdot \left(y + t\right)}{z}\\
\mathbf{elif}\;z \leq 3 \cdot 10^{-302}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 6.2 \cdot 10^{-149}:\\
\;\;\;\;y \cdot \frac{x}{z}\\
\mathbf{elif}\;z \leq 1.3 \cdot 10^{-7}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{z} \cdot \left(y + t\right)\\
\end{array}
\end{array}
if z < -1.02e6Initial program 94.5%
clear-num92.7%
frac-sub52.5%
*-un-lft-identity52.5%
Applied egg-rr52.5%
div-sub52.5%
times-frac62.1%
*-inverses87.0%
*-lft-identity87.0%
remove-double-neg87.0%
distribute-frac-neg87.0%
*-rgt-identity87.0%
distribute-lft-neg-in87.0%
cancel-sign-sub87.0%
*-commutative87.0%
associate-/r*92.7%
*-inverses92.7%
*-rgt-identity92.7%
distribute-frac-neg92.7%
distribute-neg-frac292.7%
neg-sub092.7%
associate--r-92.7%
metadata-eval92.7%
Simplified92.7%
Taylor expanded in z around inf 91.0%
if -1.02e6 < z < 2.99999999999999989e-302 or 6.19999999999999974e-149 < z < 1.29999999999999999e-7Initial program 92.2%
Taylor expanded in z around 0 91.6%
mul-1-neg91.6%
unsub-neg91.6%
div-sub91.6%
associate-/l*91.6%
*-inverses91.6%
*-rgt-identity91.6%
Simplified91.6%
if 2.99999999999999989e-302 < z < 6.19999999999999974e-149Initial program 81.9%
clear-num81.8%
frac-sub81.8%
*-un-lft-identity81.8%
Applied egg-rr81.8%
div-sub55.9%
times-frac55.9%
*-inverses81.8%
*-lft-identity81.8%
remove-double-neg81.8%
distribute-frac-neg81.8%
*-rgt-identity81.8%
distribute-lft-neg-in81.8%
cancel-sign-sub81.8%
*-commutative81.8%
associate-/r*81.8%
*-inverses81.8%
*-rgt-identity81.8%
distribute-frac-neg81.8%
distribute-neg-frac281.8%
neg-sub081.8%
associate--r-81.8%
metadata-eval81.8%
Simplified81.8%
Taylor expanded in z around 0 79.6%
associate-*l/94.4%
*-commutative94.4%
Simplified94.4%
if 1.29999999999999999e-7 < z Initial program 97.0%
Taylor expanded in z around inf 84.2%
*-commutative84.2%
associate-/l*87.5%
cancel-sign-sub-inv87.5%
metadata-eval87.5%
*-lft-identity87.5%
+-commutative87.5%
Simplified87.5%
Final simplification90.7%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* x (- (/ y z) t))) (t_2 (* (/ x z) (+ y t))))
(if (<= z -1020000.0)
t_2
(if (<= z 2.9e-296)
t_1
(if (<= z 6.2e-149) (* y (/ x z)) (if (<= z 1.3e-7) t_1 t_2))))))
double code(double x, double y, double z, double t) {
double t_1 = x * ((y / z) - t);
double t_2 = (x / z) * (y + t);
double tmp;
if (z <= -1020000.0) {
tmp = t_2;
} else if (z <= 2.9e-296) {
tmp = t_1;
} else if (z <= 6.2e-149) {
tmp = y * (x / z);
} else if (z <= 1.3e-7) {
tmp = t_1;
} else {
tmp = t_2;
}
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)
t_2 = (x / z) * (y + t)
if (z <= (-1020000.0d0)) then
tmp = t_2
else if (z <= 2.9d-296) then
tmp = t_1
else if (z <= 6.2d-149) then
tmp = y * (x / z)
else if (z <= 1.3d-7) then
tmp = t_1
else
tmp = t_2
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);
double t_2 = (x / z) * (y + t);
double tmp;
if (z <= -1020000.0) {
tmp = t_2;
} else if (z <= 2.9e-296) {
tmp = t_1;
} else if (z <= 6.2e-149) {
tmp = y * (x / z);
} else if (z <= 1.3e-7) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t): t_1 = x * ((y / z) - t) t_2 = (x / z) * (y + t) tmp = 0 if z <= -1020000.0: tmp = t_2 elif z <= 2.9e-296: tmp = t_1 elif z <= 6.2e-149: tmp = y * (x / z) elif z <= 1.3e-7: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t) t_1 = Float64(x * Float64(Float64(y / z) - t)) t_2 = Float64(Float64(x / z) * Float64(y + t)) tmp = 0.0 if (z <= -1020000.0) tmp = t_2; elseif (z <= 2.9e-296) tmp = t_1; elseif (z <= 6.2e-149) tmp = Float64(y * Float64(x / z)); elseif (z <= 1.3e-7) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x * ((y / z) - t); t_2 = (x / z) * (y + t); tmp = 0.0; if (z <= -1020000.0) tmp = t_2; elseif (z <= 2.9e-296) tmp = t_1; elseif (z <= 6.2e-149) tmp = y * (x / z); elseif (z <= 1.3e-7) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x * N[(N[(y / z), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x / z), $MachinePrecision] * N[(y + t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1020000.0], t$95$2, If[LessEqual[z, 2.9e-296], t$95$1, If[LessEqual[z, 6.2e-149], N[(y * N[(x / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.3e-7], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(\frac{y}{z} - t\right)\\
t_2 := \frac{x}{z} \cdot \left(y + t\right)\\
\mathbf{if}\;z \leq -1020000:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;z \leq 2.9 \cdot 10^{-296}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 6.2 \cdot 10^{-149}:\\
\;\;\;\;y \cdot \frac{x}{z}\\
\mathbf{elif}\;z \leq 1.3 \cdot 10^{-7}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if z < -1.02e6 or 1.29999999999999999e-7 < z Initial program 95.8%
Taylor expanded in z around inf 87.6%
*-commutative87.6%
associate-/l*88.9%
cancel-sign-sub-inv88.9%
metadata-eval88.9%
*-lft-identity88.9%
+-commutative88.9%
Simplified88.9%
if -1.02e6 < z < 2.89999999999999983e-296 or 6.19999999999999974e-149 < z < 1.29999999999999999e-7Initial program 92.3%
Taylor expanded in z around 0 91.7%
mul-1-neg91.7%
unsub-neg91.7%
div-sub91.7%
associate-/l*91.7%
*-inverses91.7%
*-rgt-identity91.7%
Simplified91.7%
if 2.89999999999999983e-296 < z < 6.19999999999999974e-149Initial program 81.3%
clear-num81.2%
frac-sub81.2%
*-un-lft-identity81.2%
Applied egg-rr81.2%
div-sub54.5%
times-frac54.5%
*-inverses81.2%
*-lft-identity81.2%
remove-double-neg81.2%
distribute-frac-neg81.2%
*-rgt-identity81.2%
distribute-lft-neg-in81.2%
cancel-sign-sub81.2%
*-commutative81.2%
associate-/r*81.2%
*-inverses81.2%
*-rgt-identity81.2%
distribute-frac-neg81.2%
distribute-neg-frac281.2%
neg-sub081.2%
associate--r-81.2%
metadata-eval81.2%
Simplified81.2%
Taylor expanded in z around 0 82.1%
associate-*l/94.3%
*-commutative94.3%
Simplified94.3%
Final simplification90.5%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* y (/ x z))) (t_2 (* x (/ t (+ z -1.0)))))
(if (<= t -1.65e+92)
t_2
(if (<= t -4.6e+22)
t_1
(if (<= t -4.8e-70) (/ (* y x) z) (if (<= t 1.85e+31) t_1 t_2))))))
double code(double x, double y, double z, double t) {
double t_1 = y * (x / z);
double t_2 = x * (t / (z + -1.0));
double tmp;
if (t <= -1.65e+92) {
tmp = t_2;
} else if (t <= -4.6e+22) {
tmp = t_1;
} else if (t <= -4.8e-70) {
tmp = (y * x) / z;
} else if (t <= 1.85e+31) {
tmp = t_1;
} else {
tmp = t_2;
}
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 = y * (x / z)
t_2 = x * (t / (z + (-1.0d0)))
if (t <= (-1.65d+92)) then
tmp = t_2
else if (t <= (-4.6d+22)) then
tmp = t_1
else if (t <= (-4.8d-70)) then
tmp = (y * x) / z
else if (t <= 1.85d+31) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = y * (x / z);
double t_2 = x * (t / (z + -1.0));
double tmp;
if (t <= -1.65e+92) {
tmp = t_2;
} else if (t <= -4.6e+22) {
tmp = t_1;
} else if (t <= -4.8e-70) {
tmp = (y * x) / z;
} else if (t <= 1.85e+31) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t): t_1 = y * (x / z) t_2 = x * (t / (z + -1.0)) tmp = 0 if t <= -1.65e+92: tmp = t_2 elif t <= -4.6e+22: tmp = t_1 elif t <= -4.8e-70: tmp = (y * x) / z elif t <= 1.85e+31: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t) t_1 = Float64(y * Float64(x / z)) t_2 = Float64(x * Float64(t / Float64(z + -1.0))) tmp = 0.0 if (t <= -1.65e+92) tmp = t_2; elseif (t <= -4.6e+22) tmp = t_1; elseif (t <= -4.8e-70) tmp = Float64(Float64(y * x) / z); elseif (t <= 1.85e+31) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = y * (x / z); t_2 = x * (t / (z + -1.0)); tmp = 0.0; if (t <= -1.65e+92) tmp = t_2; elseif (t <= -4.6e+22) tmp = t_1; elseif (t <= -4.8e-70) tmp = (y * x) / z; elseif (t <= 1.85e+31) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(y * N[(x / z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(t / N[(z + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.65e+92], t$95$2, If[LessEqual[t, -4.6e+22], t$95$1, If[LessEqual[t, -4.8e-70], N[(N[(y * x), $MachinePrecision] / z), $MachinePrecision], If[LessEqual[t, 1.85e+31], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \frac{x}{z}\\
t_2 := x \cdot \frac{t}{z + -1}\\
\mathbf{if}\;t \leq -1.65 \cdot 10^{+92}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq -4.6 \cdot 10^{+22}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -4.8 \cdot 10^{-70}:\\
\;\;\;\;\frac{y \cdot x}{z}\\
\mathbf{elif}\;t \leq 1.85 \cdot 10^{+31}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -1.64999999999999987e92 or 1.8499999999999999e31 < t Initial program 95.6%
Taylor expanded in y around 0 68.8%
mul-1-neg68.8%
distribute-neg-frac268.8%
neg-sub068.8%
associate--r-68.8%
metadata-eval68.8%
Simplified68.8%
if -1.64999999999999987e92 < t < -4.6000000000000004e22 or -4.8000000000000002e-70 < t < 1.8499999999999999e31Initial program 90.8%
clear-num90.4%
frac-sub77.3%
*-un-lft-identity77.3%
Applied egg-rr77.3%
div-sub70.8%
times-frac70.7%
*-inverses85.8%
*-lft-identity85.8%
remove-double-neg85.8%
distribute-frac-neg85.8%
*-rgt-identity85.8%
distribute-lft-neg-in85.8%
cancel-sign-sub85.8%
*-commutative85.8%
associate-/r*90.4%
*-inverses90.4%
*-rgt-identity90.4%
distribute-frac-neg90.4%
distribute-neg-frac290.4%
neg-sub090.4%
associate--r-90.4%
metadata-eval90.4%
Simplified90.4%
Taylor expanded in z around 0 80.4%
associate-*l/83.7%
*-commutative83.7%
Simplified83.7%
if -4.6000000000000004e22 < t < -4.8000000000000002e-70Initial program 94.3%
Taylor expanded in y around inf 82.4%
Final simplification78.3%
(FPCore (x y z t)
:precision binary64
(if (or (<= z -1020000.0)
(and (not (<= z -2.6e-122)) (or (<= z -2.3e-261) (not (<= z 0.033)))))
(* t (/ x z))
(* x (- t))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -1020000.0) || (!(z <= -2.6e-122) && ((z <= -2.3e-261) || !(z <= 0.033)))) {
tmp = t * (x / z);
} else {
tmp = x * -t;
}
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 <= (-1020000.0d0)) .or. (.not. (z <= (-2.6d-122))) .and. (z <= (-2.3d-261)) .or. (.not. (z <= 0.033d0))) then
tmp = t * (x / z)
else
tmp = x * -t
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z <= -1020000.0) || (!(z <= -2.6e-122) && ((z <= -2.3e-261) || !(z <= 0.033)))) {
tmp = t * (x / z);
} else {
tmp = x * -t;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z <= -1020000.0) or (not (z <= -2.6e-122) and ((z <= -2.3e-261) or not (z <= 0.033))): tmp = t * (x / z) else: tmp = x * -t return tmp
function code(x, y, z, t) tmp = 0.0 if ((z <= -1020000.0) || (!(z <= -2.6e-122) && ((z <= -2.3e-261) || !(z <= 0.033)))) tmp = Float64(t * Float64(x / z)); else tmp = Float64(x * Float64(-t)); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z <= -1020000.0) || (~((z <= -2.6e-122)) && ((z <= -2.3e-261) || ~((z <= 0.033))))) tmp = t * (x / z); else tmp = x * -t; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[z, -1020000.0], And[N[Not[LessEqual[z, -2.6e-122]], $MachinePrecision], Or[LessEqual[z, -2.3e-261], N[Not[LessEqual[z, 0.033]], $MachinePrecision]]]], N[(t * N[(x / z), $MachinePrecision]), $MachinePrecision], N[(x * (-t)), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1020000 \lor \neg \left(z \leq -2.6 \cdot 10^{-122}\right) \land \left(z \leq -2.3 \cdot 10^{-261} \lor \neg \left(z \leq 0.033\right)\right):\\
\;\;\;\;t \cdot \frac{x}{z}\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(-t\right)\\
\end{array}
\end{array}
if z < -1.02e6 or -2.59999999999999975e-122 < z < -2.3e-261 or 0.033000000000000002 < z Initial program 94.1%
Taylor expanded in z around inf 84.1%
Taylor expanded in y around 0 44.9%
associate-/l*45.8%
Simplified45.8%
if -1.02e6 < z < -2.59999999999999975e-122 or -2.3e-261 < z < 0.033000000000000002Initial program 90.4%
Taylor expanded in z around 0 89.4%
mul-1-neg89.4%
unsub-neg89.4%
div-sub89.4%
associate-/l*89.4%
*-inverses89.4%
*-rgt-identity89.4%
Simplified89.4%
Taylor expanded in y around 0 30.5%
mul-1-neg30.5%
*-commutative30.5%
distribute-rgt-neg-in30.5%
Simplified30.5%
Final simplification40.3%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* x (/ t z))) (t_2 (* x (- t))))
(if (<= z -1060000.0)
t_1
(if (<= z -3.5e-122)
t_2
(if (<= z 3e-218) (* t (/ x z)) (if (<= z 8e-8) t_2 t_1))))))
double code(double x, double y, double z, double t) {
double t_1 = x * (t / z);
double t_2 = x * -t;
double tmp;
if (z <= -1060000.0) {
tmp = t_1;
} else if (z <= -3.5e-122) {
tmp = t_2;
} else if (z <= 3e-218) {
tmp = t * (x / z);
} else if (z <= 8e-8) {
tmp = t_2;
} 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 * (t / z)
t_2 = x * -t
if (z <= (-1060000.0d0)) then
tmp = t_1
else if (z <= (-3.5d-122)) then
tmp = t_2
else if (z <= 3d-218) then
tmp = t * (x / z)
else if (z <= 8d-8) then
tmp = t_2
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 * (t / z);
double t_2 = x * -t;
double tmp;
if (z <= -1060000.0) {
tmp = t_1;
} else if (z <= -3.5e-122) {
tmp = t_2;
} else if (z <= 3e-218) {
tmp = t * (x / z);
} else if (z <= 8e-8) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x * (t / z) t_2 = x * -t tmp = 0 if z <= -1060000.0: tmp = t_1 elif z <= -3.5e-122: tmp = t_2 elif z <= 3e-218: tmp = t * (x / z) elif z <= 8e-8: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x * Float64(t / z)) t_2 = Float64(x * Float64(-t)) tmp = 0.0 if (z <= -1060000.0) tmp = t_1; elseif (z <= -3.5e-122) tmp = t_2; elseif (z <= 3e-218) tmp = Float64(t * Float64(x / z)); elseif (z <= 8e-8) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x * (t / z); t_2 = x * -t; tmp = 0.0; if (z <= -1060000.0) tmp = t_1; elseif (z <= -3.5e-122) tmp = t_2; elseif (z <= 3e-218) tmp = t * (x / z); elseif (z <= 8e-8) tmp = t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x * N[(t / z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * (-t)), $MachinePrecision]}, If[LessEqual[z, -1060000.0], t$95$1, If[LessEqual[z, -3.5e-122], t$95$2, If[LessEqual[z, 3e-218], N[(t * N[(x / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8e-8], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \frac{t}{z}\\
t_2 := x \cdot \left(-t\right)\\
\mathbf{if}\;z \leq -1060000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -3.5 \cdot 10^{-122}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;z \leq 3 \cdot 10^{-218}:\\
\;\;\;\;t \cdot \frac{x}{z}\\
\mathbf{elif}\;z \leq 8 \cdot 10^{-8}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -1.06e6 or 8.0000000000000002e-8 < z Initial program 95.8%
Taylor expanded in z around inf 87.1%
Taylor expanded in y around 0 48.7%
*-commutative48.7%
*-lft-identity48.7%
times-frac51.4%
/-rgt-identity51.4%
Simplified51.4%
if -1.06e6 < z < -3.5000000000000001e-122 or 2.9999999999999998e-218 < z < 8.0000000000000002e-8Initial program 90.7%
Taylor expanded in z around 0 89.9%
mul-1-neg89.9%
unsub-neg89.9%
div-sub89.9%
associate-/l*90.0%
*-inverses90.0%
*-rgt-identity90.0%
Simplified90.0%
Taylor expanded in y around 0 34.3%
mul-1-neg34.3%
*-commutative34.3%
distribute-rgt-neg-in34.3%
Simplified34.3%
if -3.5000000000000001e-122 < z < 2.9999999999999998e-218Initial program 87.4%
Taylor expanded in z around inf 64.4%
Taylor expanded in y around 0 19.7%
associate-/l*21.4%
Simplified21.4%
(FPCore (x y z t)
:precision binary64
(if (<= t -5.3e+155)
(/ x (/ z t))
(if (<= t -2.6e-36)
(* y (/ x z))
(if (<= t 1.3e+90) (* (/ y z) x) (* x (/ t z))))))
double code(double x, double y, double z, double t) {
double tmp;
if (t <= -5.3e+155) {
tmp = x / (z / t);
} else if (t <= -2.6e-36) {
tmp = y * (x / z);
} else if (t <= 1.3e+90) {
tmp = (y / z) * x;
} else {
tmp = x * (t / 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 (t <= (-5.3d+155)) then
tmp = x / (z / t)
else if (t <= (-2.6d-36)) then
tmp = y * (x / z)
else if (t <= 1.3d+90) then
tmp = (y / z) * x
else
tmp = x * (t / z)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (t <= -5.3e+155) {
tmp = x / (z / t);
} else if (t <= -2.6e-36) {
tmp = y * (x / z);
} else if (t <= 1.3e+90) {
tmp = (y / z) * x;
} else {
tmp = x * (t / z);
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if t <= -5.3e+155: tmp = x / (z / t) elif t <= -2.6e-36: tmp = y * (x / z) elif t <= 1.3e+90: tmp = (y / z) * x else: tmp = x * (t / z) return tmp
function code(x, y, z, t) tmp = 0.0 if (t <= -5.3e+155) tmp = Float64(x / Float64(z / t)); elseif (t <= -2.6e-36) tmp = Float64(y * Float64(x / z)); elseif (t <= 1.3e+90) tmp = Float64(Float64(y / z) * x); else tmp = Float64(x * Float64(t / z)); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (t <= -5.3e+155) tmp = x / (z / t); elseif (t <= -2.6e-36) tmp = y * (x / z); elseif (t <= 1.3e+90) tmp = (y / z) * x; else tmp = x * (t / z); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[t, -5.3e+155], N[(x / N[(z / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.6e-36], N[(y * N[(x / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.3e+90], N[(N[(y / z), $MachinePrecision] * x), $MachinePrecision], N[(x * N[(t / z), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -5.3 \cdot 10^{+155}:\\
\;\;\;\;\frac{x}{\frac{z}{t}}\\
\mathbf{elif}\;t \leq -2.6 \cdot 10^{-36}:\\
\;\;\;\;y \cdot \frac{x}{z}\\
\mathbf{elif}\;t \leq 1.3 \cdot 10^{+90}:\\
\;\;\;\;\frac{y}{z} \cdot x\\
\mathbf{else}:\\
\;\;\;\;x \cdot \frac{t}{z}\\
\end{array}
\end{array}
if t < -5.29999999999999965e155Initial program 90.2%
Taylor expanded in z around inf 75.0%
Taylor expanded in y around 0 75.0%
*-commutative75.0%
*-lft-identity75.0%
times-frac74.9%
/-rgt-identity74.9%
Simplified74.9%
clear-num74.9%
un-div-inv75.1%
Applied egg-rr75.1%
if -5.29999999999999965e155 < t < -2.6e-36Initial program 89.5%
clear-num89.5%
frac-sub65.6%
*-un-lft-identity65.6%
Applied egg-rr65.6%
div-sub59.7%
times-frac67.2%
*-inverses86.5%
*-lft-identity86.5%
remove-double-neg86.5%
distribute-frac-neg86.5%
*-rgt-identity86.5%
distribute-lft-neg-in86.5%
cancel-sign-sub86.5%
*-commutative86.5%
associate-/r*89.5%
*-inverses89.5%
*-rgt-identity89.5%
distribute-frac-neg89.5%
distribute-neg-frac289.5%
neg-sub089.5%
associate--r-89.5%
metadata-eval89.5%
Simplified89.5%
Taylor expanded in z around 0 54.2%
associate-*l/59.8%
*-commutative59.8%
Simplified59.8%
if -2.6e-36 < t < 1.2999999999999999e90Initial program 92.6%
Taylor expanded in y around inf 80.0%
associate-*r/82.1%
Simplified82.1%
if 1.2999999999999999e90 < t Initial program 97.6%
Taylor expanded in z around inf 53.8%
Taylor expanded in y around 0 40.4%
*-commutative40.4%
*-lft-identity40.4%
times-frac48.9%
/-rgt-identity48.9%
Simplified48.9%
Final simplification72.6%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (* x (/ t z))))
(if (<= t -3.6e+156)
t_1
(if (<= t -1.55e-37)
(* y (/ x z))
(if (<= t 1.06e+88) (* (/ y z) x) t_1)))))
double code(double x, double y, double z, double t) {
double t_1 = x * (t / z);
double tmp;
if (t <= -3.6e+156) {
tmp = t_1;
} else if (t <= -1.55e-37) {
tmp = y * (x / z);
} else if (t <= 1.06e+88) {
tmp = (y / z) * x;
} 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 * (t / z)
if (t <= (-3.6d+156)) then
tmp = t_1
else if (t <= (-1.55d-37)) then
tmp = y * (x / z)
else if (t <= 1.06d+88) then
tmp = (y / z) * x
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 * (t / z);
double tmp;
if (t <= -3.6e+156) {
tmp = t_1;
} else if (t <= -1.55e-37) {
tmp = y * (x / z);
} else if (t <= 1.06e+88) {
tmp = (y / z) * x;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t): t_1 = x * (t / z) tmp = 0 if t <= -3.6e+156: tmp = t_1 elif t <= -1.55e-37: tmp = y * (x / z) elif t <= 1.06e+88: tmp = (y / z) * x else: tmp = t_1 return tmp
function code(x, y, z, t) t_1 = Float64(x * Float64(t / z)) tmp = 0.0 if (t <= -3.6e+156) tmp = t_1; elseif (t <= -1.55e-37) tmp = Float64(y * Float64(x / z)); elseif (t <= 1.06e+88) tmp = Float64(Float64(y / z) * x); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = x * (t / z); tmp = 0.0; if (t <= -3.6e+156) tmp = t_1; elseif (t <= -1.55e-37) tmp = y * (x / z); elseif (t <= 1.06e+88) tmp = (y / z) * x; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x * N[(t / z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.6e+156], t$95$1, If[LessEqual[t, -1.55e-37], N[(y * N[(x / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.06e+88], N[(N[(y / z), $MachinePrecision] * x), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \frac{t}{z}\\
\mathbf{if}\;t \leq -3.6 \cdot 10^{+156}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -1.55 \cdot 10^{-37}:\\
\;\;\;\;y \cdot \frac{x}{z}\\
\mathbf{elif}\;t \leq 1.06 \cdot 10^{+88}:\\
\;\;\;\;\frac{y}{z} \cdot x\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -3.59999999999999979e156 or 1.06000000000000001e88 < t Initial program 95.3%
Taylor expanded in z around inf 60.4%
Taylor expanded in y around 0 51.2%
*-commutative51.2%
*-lft-identity51.2%
times-frac57.0%
/-rgt-identity57.0%
Simplified57.0%
if -3.59999999999999979e156 < t < -1.54999999999999997e-37Initial program 89.5%
clear-num89.5%
frac-sub65.6%
*-un-lft-identity65.6%
Applied egg-rr65.6%
div-sub59.7%
times-frac67.2%
*-inverses86.5%
*-lft-identity86.5%
remove-double-neg86.5%
distribute-frac-neg86.5%
*-rgt-identity86.5%
distribute-lft-neg-in86.5%
cancel-sign-sub86.5%
*-commutative86.5%
associate-/r*89.5%
*-inverses89.5%
*-rgt-identity89.5%
distribute-frac-neg89.5%
distribute-neg-frac289.5%
neg-sub089.5%
associate--r-89.5%
metadata-eval89.5%
Simplified89.5%
Taylor expanded in z around 0 54.2%
associate-*l/59.8%
*-commutative59.8%
Simplified59.8%
if -1.54999999999999997e-37 < t < 1.06000000000000001e88Initial program 92.6%
Taylor expanded in y around inf 80.0%
associate-*r/82.1%
Simplified82.1%
Final simplification72.6%
(FPCore (x y z t) :precision binary64 (if (or (<= t -2.95e+153) (not (<= t 2.2e+148))) (* x (/ t z)) (* (/ y z) x)))
double code(double x, double y, double z, double t) {
double tmp;
if ((t <= -2.95e+153) || !(t <= 2.2e+148)) {
tmp = x * (t / z);
} else {
tmp = (y / z) * x;
}
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 ((t <= (-2.95d+153)) .or. (.not. (t <= 2.2d+148))) then
tmp = x * (t / z)
else
tmp = (y / z) * x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((t <= -2.95e+153) || !(t <= 2.2e+148)) {
tmp = x * (t / z);
} else {
tmp = (y / z) * x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (t <= -2.95e+153) or not (t <= 2.2e+148): tmp = x * (t / z) else: tmp = (y / z) * x return tmp
function code(x, y, z, t) tmp = 0.0 if ((t <= -2.95e+153) || !(t <= 2.2e+148)) tmp = Float64(x * Float64(t / z)); else tmp = Float64(Float64(y / z) * x); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((t <= -2.95e+153) || ~((t <= 2.2e+148))) tmp = x * (t / z); else tmp = (y / z) * x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[t, -2.95e+153], N[Not[LessEqual[t, 2.2e+148]], $MachinePrecision]], N[(x * N[(t / z), $MachinePrecision]), $MachinePrecision], N[(N[(y / z), $MachinePrecision] * x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.95 \cdot 10^{+153} \lor \neg \left(t \leq 2.2 \cdot 10^{+148}\right):\\
\;\;\;\;x \cdot \frac{t}{z}\\
\mathbf{else}:\\
\;\;\;\;\frac{y}{z} \cdot x\\
\end{array}
\end{array}
if t < -2.9500000000000001e153 or 2.1999999999999999e148 < t Initial program 95.9%
Taylor expanded in z around inf 64.2%
Taylor expanded in y around 0 58.2%
*-commutative58.2%
*-lft-identity58.2%
times-frac65.9%
/-rgt-identity65.9%
Simplified65.9%
if -2.9500000000000001e153 < t < 2.1999999999999999e148Initial program 92.1%
Taylor expanded in y around inf 73.0%
associate-*r/73.8%
Simplified73.8%
Final simplification72.2%
(FPCore (x y z t) :precision binary64 (* x (- t)))
double code(double x, double y, double z, double t) {
return x * -t;
}
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 * -t
end function
public static double code(double x, double y, double z, double t) {
return x * -t;
}
def code(x, y, z, t): return x * -t
function code(x, y, z, t) return Float64(x * Float64(-t)) end
function tmp = code(x, y, z, t) tmp = x * -t; end
code[x_, y_, z_, t_] := N[(x * (-t)), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \left(-t\right)
\end{array}
Initial program 92.8%
Taylor expanded in z around 0 64.6%
mul-1-neg64.6%
unsub-neg64.6%
div-sub64.6%
associate-/l*64.7%
*-inverses64.7%
*-rgt-identity64.7%
Simplified64.7%
Taylor expanded in y around 0 20.9%
mul-1-neg20.9%
*-commutative20.9%
distribute-rgt-neg-in20.9%
Simplified20.9%
(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 2024107
(FPCore (x y z t)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, C"
:precision binary64
:alt
(if (< (* x (- (/ y z) (/ t (- 1.0 z)))) -7.623226303312042e-196) (* x (- (/ y z) (* t (/ 1.0 (- 1.0 z))))) (if (< (* x (- (/ y z) (/ t (- 1.0 z)))) 1.4133944927702302e-211) (+ (/ (* y x) z) (- (/ (* t x) (- 1.0 z)))) (* x (- (/ y z) (* t (/ 1.0 (- 1.0 z)))))))
(* x (- (/ y z) (/ t (- 1.0 z)))))