
(FPCore (x y z t a b c)
:precision binary64
(/
x
(+
x
(*
y
(exp
(*
2.0
(-
(/ (* z (sqrt (+ t a))) t)
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
return x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
code = x / (x + (y * exp((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
return x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
def code(x, y, z, t, a, b, c): return x / (x + (y * math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))))
function code(x, y, z, t, a, b, c) return Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0)))))))))) end
function tmp = code(x, y, z, t, a, b, c) tmp = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))))); end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 19 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c)
:precision binary64
(/
x
(+
x
(*
y
(exp
(*
2.0
(-
(/ (* z (sqrt (+ t a))) t)
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
return x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
code = x / (x + (y * exp((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
return x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
def code(x, y, z, t, a, b, c): return x / (x + (y * math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))))
function code(x, y, z, t, a, b, c) return Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0)))))))))) end
function tmp = code(x, y, z, t, a, b, c) tmp = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))))); end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}
\end{array}
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ 2.0 (* t 3.0))) (t_2 (sqrt (+ t a))))
(if (<=
(+ (/ (* z t_2) t) (* (- (+ a 0.8333333333333334) t_1) (- c b)))
INFINITY)
(/
x
(+
x
(*
y
(pow
(exp 2.0)
(+ (* z (/ t_2 t)) (* (- b c) (- (- t_1 0.8333333333333334) a)))))))
(/
x
(+
x
(*
y
(exp
(*
2.0
(/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) t)))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = 2.0 / (t * 3.0);
double t_2 = sqrt((t + a));
double tmp;
if ((((z * t_2) / t) + (((a + 0.8333333333333334) - t_1) * (c - b))) <= ((double) INFINITY)) {
tmp = x / (x + (y * pow(exp(2.0), ((z * (t_2 / t)) + ((b - c) * ((t_1 - 0.8333333333333334) - a))))));
} else {
tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = 2.0 / (t * 3.0);
double t_2 = Math.sqrt((t + a));
double tmp;
if ((((z * t_2) / t) + (((a + 0.8333333333333334) - t_1) * (c - b))) <= Double.POSITIVE_INFINITY) {
tmp = x / (x + (y * Math.pow(Math.exp(2.0), ((z * (t_2 / t)) + ((b - c) * ((t_1 - 0.8333333333333334) - a))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = 2.0 / (t * 3.0) t_2 = math.sqrt((t + a)) tmp = 0 if (((z * t_2) / t) + (((a + 0.8333333333333334) - t_1) * (c - b))) <= math.inf: tmp = x / (x + (y * math.pow(math.exp(2.0), ((z * (t_2 / t)) + ((b - c) * ((t_1 - 0.8333333333333334) - a)))))) else: tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(2.0 / Float64(t * 3.0)) t_2 = sqrt(Float64(t + a)) tmp = 0.0 if (Float64(Float64(Float64(z * t_2) / t) + Float64(Float64(Float64(a + 0.8333333333333334) - t_1) * Float64(c - b))) <= Inf) tmp = Float64(x / Float64(x + Float64(y * (exp(2.0) ^ Float64(Float64(z * Float64(t_2 / t)) + Float64(Float64(b - c) * Float64(Float64(t_1 - 0.8333333333333334) - a))))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(a)) + Float64(-0.6666666666666666 * Float64(c - b))) / t)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = 2.0 / (t * 3.0); t_2 = sqrt((t + a)); tmp = 0.0; if ((((z * t_2) / t) + (((a + 0.8333333333333334) - t_1) * (c - b))) <= Inf) tmp = x / (x + (y * (exp(2.0) ^ ((z * (t_2 / t)) + ((b - c) * ((t_1 - 0.8333333333333334) - a)))))); else tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[N[(N[(N[(z * t$95$2), $MachinePrecision] / t), $MachinePrecision] + N[(N[(N[(a + 0.8333333333333334), $MachinePrecision] - t$95$1), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(x / N[(x + N[(y * N[Power[N[Exp[2.0], $MachinePrecision], N[(N[(z * N[(t$95$2 / t), $MachinePrecision]), $MachinePrecision] + N[(N[(b - c), $MachinePrecision] * N[(N[(t$95$1 - 0.8333333333333334), $MachinePrecision] - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[a], $MachinePrecision]), $MachinePrecision] + N[(-0.6666666666666666 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{2}{t \cdot 3}\\
t_2 := \sqrt{t + a}\\
\mathbf{if}\;\frac{z \cdot t\_2}{t} + \left(\left(a + 0.8333333333333334\right) - t\_1\right) \cdot \left(c - b\right) \leq \infty:\\
\;\;\;\;\frac{x}{x + y \cdot {\left(e^{2}\right)}^{\left(z \cdot \frac{t\_2}{t} + \left(b - c\right) \cdot \left(\left(t\_1 - 0.8333333333333334\right) - a\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\end{array}
\end{array}
if (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))) < +inf.0Initial program 99.2%
exp-prod99.2%
Simplified99.6%
if +inf.0 < (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))) Initial program 0.0%
Taylor expanded in t around 0 79.2%
Final simplification98.5%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(+
(/ (* z (sqrt (+ t a))) t)
(* (- (+ a 0.8333333333333334) (/ 2.0 (* t 3.0))) (- c b)))))
(if (<= t_1 INFINITY)
(/ x (+ x (* y (exp (* 2.0 t_1)))))
(/
x
(+
x
(*
y
(exp
(*
2.0
(/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) t)))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = ((z * sqrt((t + a))) / t) + (((a + 0.8333333333333334) - (2.0 / (t * 3.0))) * (c - b));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = x / (x + (y * exp((2.0 * t_1))));
} else {
tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = ((z * Math.sqrt((t + a))) / t) + (((a + 0.8333333333333334) - (2.0 / (t * 3.0))) * (c - b));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = x / (x + (y * Math.exp((2.0 * t_1))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = ((z * math.sqrt((t + a))) / t) + (((a + 0.8333333333333334) - (2.0 / (t * 3.0))) * (c - b)) tmp = 0 if t_1 <= math.inf: tmp = x / (x + (y * math.exp((2.0 * t_1)))) else: tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) + Float64(Float64(Float64(a + 0.8333333333333334) - Float64(2.0 / Float64(t * 3.0))) * Float64(c - b))) tmp = 0.0 if (t_1 <= Inf) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * t_1))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(a)) + Float64(-0.6666666666666666 * Float64(c - b))) / t)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = ((z * sqrt((t + a))) / t) + (((a + 0.8333333333333334) - (2.0 / (t * 3.0))) * (c - b)); tmp = 0.0; if (t_1 <= Inf) tmp = x / (x + (y * exp((2.0 * t_1)))); else tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] + N[(N[(N[(a + 0.8333333333333334), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * t$95$1), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[a], $MachinePrecision]), $MachinePrecision] + N[(-0.6666666666666666 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{z \cdot \sqrt{t + a}}{t} + \left(\left(a + 0.8333333333333334\right) - \frac{2}{t \cdot 3}\right) \cdot \left(c - b\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot t\_1}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\end{array}
\end{array}
if (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))) < +inf.0Initial program 99.2%
if +inf.0 < (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))) Initial program 0.0%
Taylor expanded in t around 0 79.2%
Final simplification98.1%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(/
x
(+
x
(*
y
(exp
(*
2.0
(/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) t))))))))
(if (<= t 4e-173)
t_1
(if (<= t 3.8e-126)
(/
x
(+
x
(*
y
(exp (* 2.0 (* a (+ c (* -0.6666666666666666 (/ c (* t a))))))))))
(if (<= t 5e-91)
t_1
(if (<= t 4.1e-76)
1.0
(if (<= t 7.2e-45)
t_1
(if (<= t 1e-14)
(log (exp (/ x (+ x y))))
(if (<= t 0.00088)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
(/
x
(+
x
(*
y
(exp
(*
2.0
(+
(* z (sqrt (/ 1.0 t)))
(* (+ a 0.8333333333333334) (- c b)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
double tmp;
if (t <= 4e-173) {
tmp = t_1;
} else if (t <= 3.8e-126) {
tmp = x / (x + (y * exp((2.0 * (a * (c + (-0.6666666666666666 * (c / (t * a)))))))));
} else if (t <= 5e-91) {
tmp = t_1;
} else if (t <= 4.1e-76) {
tmp = 1.0;
} else if (t <= 7.2e-45) {
tmp = t_1;
} else if (t <= 1e-14) {
tmp = log(exp((x / (x + y))));
} else if (t <= 0.00088) {
tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
} else {
tmp = x / (x + (y * exp((2.0 * ((z * sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = x / (x + (y * exp((2.0d0 * (((z * sqrt(a)) + ((-0.6666666666666666d0) * (c - b))) / t)))))
if (t <= 4d-173) then
tmp = t_1
else if (t <= 3.8d-126) then
tmp = x / (x + (y * exp((2.0d0 * (a * (c + ((-0.6666666666666666d0) * (c / (t * a)))))))))
else if (t <= 5d-91) then
tmp = t_1
else if (t <= 4.1d-76) then
tmp = 1.0d0
else if (t <= 7.2d-45) then
tmp = t_1
else if (t <= 1d-14) then
tmp = log(exp((x / (x + y))))
else if (t <= 0.00088d0) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
else
tmp = x / (x + (y * exp((2.0d0 * ((z * sqrt((1.0d0 / t))) + ((a + 0.8333333333333334d0) * (c - b)))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
double tmp;
if (t <= 4e-173) {
tmp = t_1;
} else if (t <= 3.8e-126) {
tmp = x / (x + (y * Math.exp((2.0 * (a * (c + (-0.6666666666666666 * (c / (t * a)))))))));
} else if (t <= 5e-91) {
tmp = t_1;
} else if (t <= 4.1e-76) {
tmp = 1.0;
} else if (t <= 7.2e-45) {
tmp = t_1;
} else if (t <= 1e-14) {
tmp = Math.log(Math.exp((x / (x + y))));
} else if (t <= 0.00088) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * ((z * Math.sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((2.0 * (((z * math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))) tmp = 0 if t <= 4e-173: tmp = t_1 elif t <= 3.8e-126: tmp = x / (x + (y * math.exp((2.0 * (a * (c + (-0.6666666666666666 * (c / (t * a))))))))) elif t <= 5e-91: tmp = t_1 elif t <= 4.1e-76: tmp = 1.0 elif t <= 7.2e-45: tmp = t_1 elif t <= 1e-14: tmp = math.log(math.exp((x / (x + y)))) elif t <= 0.00088: tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) else: tmp = x / (x + (y * math.exp((2.0 * ((z * math.sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b))))))) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(a)) + Float64(-0.6666666666666666 * Float64(c - b))) / t)))))) tmp = 0.0 if (t <= 4e-173) tmp = t_1; elseif (t <= 3.8e-126) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * Float64(c + Float64(-0.6666666666666666 * Float64(c / Float64(t * a)))))))))); elseif (t <= 5e-91) tmp = t_1; elseif (t <= 4.1e-76) tmp = 1.0; elseif (t <= 7.2e-45) tmp = t_1; elseif (t <= 1e-14) tmp = log(exp(Float64(x / Float64(x + y)))); elseif (t <= 0.00088) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t)))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(z * sqrt(Float64(1.0 / t))) + Float64(Float64(a + 0.8333333333333334) * Float64(c - b)))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))); tmp = 0.0; if (t <= 4e-173) tmp = t_1; elseif (t <= 3.8e-126) tmp = x / (x + (y * exp((2.0 * (a * (c + (-0.6666666666666666 * (c / (t * a))))))))); elseif (t <= 5e-91) tmp = t_1; elseif (t <= 4.1e-76) tmp = 1.0; elseif (t <= 7.2e-45) tmp = t_1; elseif (t <= 1e-14) tmp = log(exp((x / (x + y)))); elseif (t <= 0.00088) tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); else tmp = x / (x + (y * exp((2.0 * ((z * sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[a], $MachinePrecision]), $MachinePrecision] + N[(-0.6666666666666666 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, 4e-173], t$95$1, If[LessEqual[t, 3.8e-126], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * N[(c + N[(-0.6666666666666666 * N[(c / N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5e-91], t$95$1, If[LessEqual[t, 4.1e-76], 1.0, If[LessEqual[t, 7.2e-45], t$95$1, If[LessEqual[t, 1e-14], N[Log[N[Exp[N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]], $MachinePrecision], If[LessEqual[t, 0.00088], N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(N[(b - c), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(z * N[Sqrt[N[(1.0 / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] + N[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\mathbf{if}\;t \leq 4 \cdot 10^{-173}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 3.8 \cdot 10^{-126}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c + -0.6666666666666666 \cdot \frac{c}{t \cdot a}\right)\right)}}\\
\mathbf{elif}\;t \leq 5 \cdot 10^{-91}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 4.1 \cdot 10^{-76}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 7.2 \cdot 10^{-45}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 10^{-14}:\\
\;\;\;\;\log \left(e^{\frac{x}{x + y}}\right)\\
\mathbf{elif}\;t \leq 0.00088:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\
\end{array}
\end{array}
if t < 4.0000000000000002e-173 or 3.7999999999999999e-126 < t < 4.99999999999999997e-91 or 4.0999999999999998e-76 < t < 7.20000000000000001e-45Initial program 85.7%
Taylor expanded in t around 0 89.1%
if 4.0000000000000002e-173 < t < 3.7999999999999999e-126Initial program 100.0%
Taylor expanded in c around inf 78.7%
+-commutative78.7%
associate-*r/78.7%
metadata-eval78.7%
Simplified78.7%
Taylor expanded in a around inf 73.3%
associate-/l*84.1%
associate-*r/84.1%
metadata-eval84.1%
sub-neg84.1%
distribute-neg-frac84.1%
metadata-eval84.1%
Simplified84.1%
Taylor expanded in t around 0 84.1%
*-commutative84.1%
Simplified84.1%
if 4.99999999999999997e-91 < t < 4.0999999999999998e-76Initial program 100.0%
Taylor expanded in c around inf 46.9%
+-commutative46.9%
associate-*r/46.9%
metadata-eval46.9%
Simplified46.9%
Taylor expanded in a around inf 46.9%
associate-/l*46.9%
associate-*r/46.9%
metadata-eval46.9%
sub-neg46.9%
distribute-neg-frac46.9%
metadata-eval46.9%
Simplified46.9%
Taylor expanded in x around inf 100.0%
if 7.20000000000000001e-45 < t < 9.99999999999999999e-15Initial program 100.0%
Taylor expanded in b around inf 83.9%
associate-*r/83.9%
metadata-eval83.9%
+-commutative83.9%
Simplified83.9%
Taylor expanded in b around 0 51.9%
add-log-exp100.0%
Applied egg-rr100.0%
if 9.99999999999999999e-15 < t < 8.80000000000000031e-4Initial program 100.0%
Taylor expanded in t around 0 60.0%
Taylor expanded in z around 0 100.0%
if 8.80000000000000031e-4 < t Initial program 98.4%
Taylor expanded in t around inf 100.0%
Final simplification94.7%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ x (+ x (* y (exp (* 2.0 (* a c))))))))
(if (<= t -6.5e+91)
t_1
(if (<= t 3.8e-93)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
(if (<= t 8.2e-49)
1.0
(if (<= t 1000000000.0)
t_1
(if (<= t 1.15e+26)
(/
x
(+
x
(+
y
(*
c
(+
(* y 1.6666666666666667)
(*
c
(+
(* 0.7716049382716049 (* c y))
(* y 1.3888888888888888))))))))
(if (<= t 4.1e+127)
1.0
(if (<= t 2e+236)
(/ x (+ x (* y (exp (* c 1.6666666666666667)))))
t_1)))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((2.0 * (a * c)))));
double tmp;
if (t <= -6.5e+91) {
tmp = t_1;
} else if (t <= 3.8e-93) {
tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 8.2e-49) {
tmp = 1.0;
} else if (t <= 1000000000.0) {
tmp = t_1;
} else if (t <= 1.15e+26) {
tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888)))))));
} else if (t <= 4.1e+127) {
tmp = 1.0;
} else if (t <= 2e+236) {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = x / (x + (y * exp((2.0d0 * (a * c)))))
if (t <= (-6.5d+91)) then
tmp = t_1
else if (t <= 3.8d-93) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
else if (t <= 8.2d-49) then
tmp = 1.0d0
else if (t <= 1000000000.0d0) then
tmp = t_1
else if (t <= 1.15d+26) then
tmp = x / (x + (y + (c * ((y * 1.6666666666666667d0) + (c * ((0.7716049382716049d0 * (c * y)) + (y * 1.3888888888888888d0)))))))
else if (t <= 4.1d+127) then
tmp = 1.0d0
else if (t <= 2d+236) then
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
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 b, double c) {
double t_1 = x / (x + (y * Math.exp((2.0 * (a * c)))));
double tmp;
if (t <= -6.5e+91) {
tmp = t_1;
} else if (t <= 3.8e-93) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 8.2e-49) {
tmp = 1.0;
} else if (t <= 1000000000.0) {
tmp = t_1;
} else if (t <= 1.15e+26) {
tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888)))))));
} else if (t <= 4.1e+127) {
tmp = 1.0;
} else if (t <= 2e+236) {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((2.0 * (a * c))))) tmp = 0 if t <= -6.5e+91: tmp = t_1 elif t <= 3.8e-93: tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) elif t <= 8.2e-49: tmp = 1.0 elif t <= 1000000000.0: tmp = t_1 elif t <= 1.15e+26: tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888))))))) elif t <= 4.1e+127: tmp = 1.0 elif t <= 2e+236: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))) tmp = 0.0 if (t <= -6.5e+91) tmp = t_1; elseif (t <= 3.8e-93) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t)))))); elseif (t <= 8.2e-49) tmp = 1.0; elseif (t <= 1000000000.0) tmp = t_1; elseif (t <= 1.15e+26) tmp = Float64(x / Float64(x + Float64(y + Float64(c * Float64(Float64(y * 1.6666666666666667) + Float64(c * Float64(Float64(0.7716049382716049 * Float64(c * y)) + Float64(y * 1.3888888888888888)))))))); elseif (t <= 4.1e+127) tmp = 1.0; elseif (t <= 2e+236) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((2.0 * (a * c))))); tmp = 0.0; if (t <= -6.5e+91) tmp = t_1; elseif (t <= 3.8e-93) tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); elseif (t <= 8.2e-49) tmp = 1.0; elseif (t <= 1000000000.0) tmp = t_1; elseif (t <= 1.15e+26) tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888))))))); elseif (t <= 4.1e+127) tmp = 1.0; elseif (t <= 2e+236) tmp = x / (x + (y * exp((c * 1.6666666666666667)))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -6.5e+91], t$95$1, If[LessEqual[t, 3.8e-93], N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(N[(b - c), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8.2e-49], 1.0, If[LessEqual[t, 1000000000.0], t$95$1, If[LessEqual[t, 1.15e+26], N[(x / N[(x + N[(y + N[(c * N[(N[(y * 1.6666666666666667), $MachinePrecision] + N[(c * N[(N[(0.7716049382716049 * N[(c * y), $MachinePrecision]), $MachinePrecision] + N[(y * 1.3888888888888888), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.1e+127], 1.0, If[LessEqual[t, 2e+236], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{if}\;t \leq -6.5 \cdot 10^{+91}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 3.8 \cdot 10^{-93}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{elif}\;t \leq 8.2 \cdot 10^{-49}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 1000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.15 \cdot 10^{+26}:\\
\;\;\;\;\frac{x}{x + \left(y + c \cdot \left(y \cdot 1.6666666666666667 + c \cdot \left(0.7716049382716049 \cdot \left(c \cdot y\right) + y \cdot 1.3888888888888888\right)\right)\right)}\\
\mathbf{elif}\;t \leq 4.1 \cdot 10^{+127}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 2 \cdot 10^{+236}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -6.4999999999999997e91 or 8.2000000000000003e-49 < t < 1e9 or 2.00000000000000011e236 < t Initial program 100.0%
Taylor expanded in c around inf 82.6%
+-commutative82.6%
associate-*r/82.6%
metadata-eval82.6%
Simplified82.6%
Taylor expanded in a around inf 75.9%
if -6.4999999999999997e91 < t < 3.7999999999999999e-93Initial program 85.4%
Taylor expanded in t around 0 84.6%
Taylor expanded in z around 0 73.8%
if 3.7999999999999999e-93 < t < 8.2000000000000003e-49 or 1.15e26 < t < 4.09999999999999983e127Initial program 100.0%
Taylor expanded in c around inf 52.0%
+-commutative52.0%
associate-*r/52.0%
metadata-eval52.0%
Simplified52.0%
Taylor expanded in a around inf 49.9%
associate-/l*52.0%
associate-*r/52.0%
metadata-eval52.0%
sub-neg52.0%
distribute-neg-frac52.0%
metadata-eval52.0%
Simplified52.0%
Taylor expanded in x around inf 72.7%
if 1e9 < t < 1.15e26Initial program 100.0%
Taylor expanded in c around inf 63.7%
+-commutative63.7%
associate-*r/63.7%
metadata-eval63.7%
Simplified63.7%
Taylor expanded in t around inf 63.7%
Taylor expanded in a around 0 63.7%
Taylor expanded in c around 0 76.6%
if 4.09999999999999983e127 < t < 2.00000000000000011e236Initial program 96.0%
Taylor expanded in c around inf 75.8%
+-commutative75.8%
associate-*r/75.8%
metadata-eval75.8%
Simplified75.8%
Taylor expanded in t around inf 75.8%
Taylor expanded in a around 0 67.7%
Final simplification73.0%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))))
(if (<= t -5.2e+91)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= t 7.5e-93)
t_1
(if (<= t 1.55e-39)
1.0
(if (<= t 0.024)
t_1
(if (or (<= t 4.2e+162) (not (<= t 5.8e+218)))
(/ x (+ x (* y (exp (* 2.0 (* b (- -0.8333333333333334 a)))))))
(/ x (+ x (* y (exp (* c 1.6666666666666667))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
double tmp;
if (t <= -5.2e+91) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (t <= 7.5e-93) {
tmp = t_1;
} else if (t <= 1.55e-39) {
tmp = 1.0;
} else if (t <= 0.024) {
tmp = t_1;
} else if ((t <= 4.2e+162) || !(t <= 5.8e+218)) {
tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a))))));
} else {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
if (t <= (-5.2d+91)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (t <= 7.5d-93) then
tmp = t_1
else if (t <= 1.55d-39) then
tmp = 1.0d0
else if (t <= 0.024d0) then
tmp = t_1
else if ((t <= 4.2d+162) .or. (.not. (t <= 5.8d+218))) then
tmp = x / (x + (y * exp((2.0d0 * (b * ((-0.8333333333333334d0) - a))))))
else
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
double tmp;
if (t <= -5.2e+91) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (t <= 7.5e-93) {
tmp = t_1;
} else if (t <= 1.55e-39) {
tmp = 1.0;
} else if (t <= 0.024) {
tmp = t_1;
} else if ((t <= 4.2e+162) || !(t <= 5.8e+218)) {
tmp = x / (x + (y * Math.exp((2.0 * (b * (-0.8333333333333334 - a))))));
} else {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) tmp = 0 if t <= -5.2e+91: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif t <= 7.5e-93: tmp = t_1 elif t <= 1.55e-39: tmp = 1.0 elif t <= 0.024: tmp = t_1 elif (t <= 4.2e+162) or not (t <= 5.8e+218): tmp = x / (x + (y * math.exp((2.0 * (b * (-0.8333333333333334 - a)))))) else: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t)))))) tmp = 0.0 if (t <= -5.2e+91) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (t <= 7.5e-93) tmp = t_1; elseif (t <= 1.55e-39) tmp = 1.0; elseif (t <= 0.024) tmp = t_1; elseif ((t <= 4.2e+162) || !(t <= 5.8e+218)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(-0.8333333333333334 - a))))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); tmp = 0.0; if (t <= -5.2e+91) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (t <= 7.5e-93) tmp = t_1; elseif (t <= 1.55e-39) tmp = 1.0; elseif (t <= 0.024) tmp = t_1; elseif ((t <= 4.2e+162) || ~((t <= 5.8e+218))) tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a)))))); else tmp = x / (x + (y * exp((c * 1.6666666666666667)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(N[(b - c), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -5.2e+91], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 7.5e-93], t$95$1, If[LessEqual[t, 1.55e-39], 1.0, If[LessEqual[t, 0.024], t$95$1, If[Or[LessEqual[t, 4.2e+162], N[Not[LessEqual[t, 5.8e+218]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{if}\;t \leq -5.2 \cdot 10^{+91}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;t \leq 7.5 \cdot 10^{-93}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.55 \cdot 10^{-39}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 0.024:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 4.2 \cdot 10^{+162} \lor \neg \left(t \leq 5.8 \cdot 10^{+218}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\end{array}
\end{array}
if t < -5.2000000000000001e91Initial program 100.0%
Taylor expanded in c around inf 92.5%
+-commutative92.5%
associate-*r/92.5%
metadata-eval92.5%
Simplified92.5%
Taylor expanded in a around inf 92.5%
if -5.2000000000000001e91 < t < 7.50000000000000034e-93 or 1.54999999999999985e-39 < t < 0.024Initial program 86.7%
Taylor expanded in t around 0 81.3%
Taylor expanded in z around 0 73.2%
if 7.50000000000000034e-93 < t < 1.54999999999999985e-39Initial program 100.0%
Taylor expanded in c around inf 47.0%
+-commutative47.0%
associate-*r/47.0%
metadata-eval47.0%
Simplified47.0%
Taylor expanded in a around inf 41.6%
associate-/l*47.0%
associate-*r/47.0%
metadata-eval47.0%
sub-neg47.0%
distribute-neg-frac47.0%
metadata-eval47.0%
Simplified47.0%
Taylor expanded in x around inf 78.5%
if 0.024 < t < 4.2000000000000001e162 or 5.7999999999999999e218 < t Initial program 98.1%
Taylor expanded in b around inf 67.3%
associate-*r/67.3%
metadata-eval67.3%
+-commutative67.3%
Simplified67.3%
Taylor expanded in t around inf 67.3%
mul-1-neg67.3%
+-commutative67.3%
distribute-rgt-neg-in67.3%
+-commutative67.3%
mul-1-neg67.3%
distribute-lft-in67.3%
metadata-eval67.3%
mul-1-neg67.3%
unsub-neg67.3%
Simplified67.3%
if 4.2000000000000001e162 < t < 5.7999999999999999e218Initial program 100.0%
Taylor expanded in c around inf 94.6%
+-commutative94.6%
associate-*r/94.6%
metadata-eval94.6%
Simplified94.6%
Taylor expanded in t around inf 94.6%
Taylor expanded in a around 0 89.2%
Final simplification73.4%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t -7.8e+86)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= t 7.4e-93)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
(if (<= t 1.2e-38)
1.0
(if (<= t 115000000000.0)
(/ x (+ x (* y (exp (* 2.0 (* b (- -0.8333333333333334 a)))))))
(if (or (<= t 1.45e+88) (not (<= t 6.4e+126)))
(/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))
1.0))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -7.8e+86) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (t <= 7.4e-93) {
tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 1.2e-38) {
tmp = 1.0;
} else if (t <= 115000000000.0) {
tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a))))));
} else if ((t <= 1.45e+88) || !(t <= 6.4e+126)) {
tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= (-7.8d+86)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (t <= 7.4d-93) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
else if (t <= 1.2d-38) then
tmp = 1.0d0
else if (t <= 115000000000.0d0) then
tmp = x / (x + (y * exp((2.0d0 * (b * ((-0.8333333333333334d0) - a))))))
else if ((t <= 1.45d+88) .or. (.not. (t <= 6.4d+126))) then
tmp = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -7.8e+86) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (t <= 7.4e-93) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 1.2e-38) {
tmp = 1.0;
} else if (t <= 115000000000.0) {
tmp = x / (x + (y * Math.exp((2.0 * (b * (-0.8333333333333334 - a))))));
} else if ((t <= 1.45e+88) || !(t <= 6.4e+126)) {
tmp = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= -7.8e+86: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif t <= 7.4e-93: tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) elif t <= 1.2e-38: tmp = 1.0 elif t <= 115000000000.0: tmp = x / (x + (y * math.exp((2.0 * (b * (-0.8333333333333334 - a)))))) elif (t <= 1.45e+88) or not (t <= 6.4e+126): tmp = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= -7.8e+86) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (t <= 7.4e-93) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t)))))); elseif (t <= 1.2e-38) tmp = 1.0; elseif (t <= 115000000000.0) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(-0.8333333333333334 - a))))))); elseif ((t <= 1.45e+88) || !(t <= 6.4e+126)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= -7.8e+86) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (t <= 7.4e-93) tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); elseif (t <= 1.2e-38) tmp = 1.0; elseif (t <= 115000000000.0) tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a)))))); elseif ((t <= 1.45e+88) || ~((t <= 6.4e+126))) tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, -7.8e+86], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 7.4e-93], N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(N[(b - c), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.2e-38], 1.0, If[LessEqual[t, 115000000000.0], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[t, 1.45e+88], N[Not[LessEqual[t, 6.4e+126]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -7.8 \cdot 10^{+86}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;t \leq 7.4 \cdot 10^{-93}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{elif}\;t \leq 1.2 \cdot 10^{-38}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 115000000000:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\
\mathbf{elif}\;t \leq 1.45 \cdot 10^{+88} \lor \neg \left(t \leq 6.4 \cdot 10^{+126}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if t < -7.8000000000000004e86Initial program 100.0%
Taylor expanded in c around inf 92.5%
+-commutative92.5%
associate-*r/92.5%
metadata-eval92.5%
Simplified92.5%
Taylor expanded in a around inf 92.5%
if -7.8000000000000004e86 < t < 7.40000000000000005e-93Initial program 85.4%
Taylor expanded in t around 0 84.6%
Taylor expanded in z around 0 73.8%
if 7.40000000000000005e-93 < t < 1.20000000000000011e-38 or 1.45e88 < t < 6.3999999999999995e126Initial program 100.0%
Taylor expanded in c around inf 47.2%
+-commutative47.2%
associate-*r/47.2%
metadata-eval47.2%
Simplified47.2%
Taylor expanded in a around inf 44.1%
associate-/l*47.2%
associate-*r/47.2%
metadata-eval47.2%
sub-neg47.2%
distribute-neg-frac47.2%
metadata-eval47.2%
Simplified47.2%
Taylor expanded in x around inf 84.4%
if 1.20000000000000011e-38 < t < 1.15e11Initial program 100.0%
Taylor expanded in b around inf 93.1%
associate-*r/93.1%
metadata-eval93.1%
+-commutative93.1%
Simplified93.1%
Taylor expanded in t around inf 72.3%
mul-1-neg72.3%
+-commutative72.3%
distribute-rgt-neg-in72.3%
+-commutative72.3%
mul-1-neg72.3%
distribute-lft-in72.3%
metadata-eval72.3%
mul-1-neg72.3%
unsub-neg72.3%
Simplified72.3%
if 1.15e11 < t < 1.45e88 or 6.3999999999999995e126 < t Initial program 98.1%
Taylor expanded in c around inf 75.9%
+-commutative75.9%
associate-*r/75.9%
metadata-eval75.9%
Simplified75.9%
Taylor expanded in t around inf 75.9%
Final simplification76.8%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c -8.5e-166)
1.0
(if (<= c 7.8e-221)
(/
x
(+
x
(+
y
(*
(* b 2.0)
(* y (- (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))))))
(if (<= c 4.9e+36)
1.0
(if (<= c 1.75e+53)
(/ x (* y (exp (* 2.0 (* a c)))))
(if (<= c 4e+98)
1.0
(/
x
(+
x
(+
y
(*
c
(+
(* y 1.6666666666666667)
(*
c
(+
(* 0.7716049382716049 (* c y))
(* y 1.3888888888888888))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -8.5e-166) {
tmp = 1.0;
} else if (c <= 7.8e-221) {
tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a)))));
} else if (c <= 4.9e+36) {
tmp = 1.0;
} else if (c <= 1.75e+53) {
tmp = x / (y * exp((2.0 * (a * c))));
} else if (c <= 4e+98) {
tmp = 1.0;
} else {
tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888)))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (c <= (-8.5d-166)) then
tmp = 1.0d0
else if (c <= 7.8d-221) then
tmp = x / (x + (y + ((b * 2.0d0) * (y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) - a)))))
else if (c <= 4.9d+36) then
tmp = 1.0d0
else if (c <= 1.75d+53) then
tmp = x / (y * exp((2.0d0 * (a * c))))
else if (c <= 4d+98) then
tmp = 1.0d0
else
tmp = x / (x + (y + (c * ((y * 1.6666666666666667d0) + (c * ((0.7716049382716049d0 * (c * y)) + (y * 1.3888888888888888d0)))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -8.5e-166) {
tmp = 1.0;
} else if (c <= 7.8e-221) {
tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a)))));
} else if (c <= 4.9e+36) {
tmp = 1.0;
} else if (c <= 1.75e+53) {
tmp = x / (y * Math.exp((2.0 * (a * c))));
} else if (c <= 4e+98) {
tmp = 1.0;
} else {
tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888)))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= -8.5e-166: tmp = 1.0 elif c <= 7.8e-221: tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a))))) elif c <= 4.9e+36: tmp = 1.0 elif c <= 1.75e+53: tmp = x / (y * math.exp((2.0 * (a * c)))) elif c <= 4e+98: tmp = 1.0 else: tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888))))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= -8.5e-166) tmp = 1.0; elseif (c <= 7.8e-221) tmp = Float64(x / Float64(x + Float64(y + Float64(Float64(b * 2.0) * Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) - a)))))); elseif (c <= 4.9e+36) tmp = 1.0; elseif (c <= 1.75e+53) tmp = Float64(x / Float64(y * exp(Float64(2.0 * Float64(a * c))))); elseif (c <= 4e+98) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(y + Float64(c * Float64(Float64(y * 1.6666666666666667) + Float64(c * Float64(Float64(0.7716049382716049 * Float64(c * y)) + Float64(y * 1.3888888888888888)))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= -8.5e-166) tmp = 1.0; elseif (c <= 7.8e-221) tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a))))); elseif (c <= 4.9e+36) tmp = 1.0; elseif (c <= 1.75e+53) tmp = x / (y * exp((2.0 * (a * c)))); elseif (c <= 4e+98) tmp = 1.0; else tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, -8.5e-166], 1.0, If[LessEqual[c, 7.8e-221], N[(x / N[(x + N[(y + N[(N[(b * 2.0), $MachinePrecision] * N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.9e+36], 1.0, If[LessEqual[c, 1.75e+53], N[(x / N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4e+98], 1.0, N[(x / N[(x + N[(y + N[(c * N[(N[(y * 1.6666666666666667), $MachinePrecision] + N[(c * N[(N[(0.7716049382716049 * N[(c * y), $MachinePrecision]), $MachinePrecision] + N[(y * 1.3888888888888888), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -8.5 \cdot 10^{-166}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 7.8 \cdot 10^{-221}:\\
\;\;\;\;\frac{x}{x + \left(y + \left(b \cdot 2\right) \cdot \left(y \cdot \left(\left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right) - a\right)\right)\right)}\\
\mathbf{elif}\;c \leq 4.9 \cdot 10^{+36}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 1.75 \cdot 10^{+53}:\\
\;\;\;\;\frac{x}{y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;c \leq 4 \cdot 10^{+98}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + \left(y + c \cdot \left(y \cdot 1.6666666666666667 + c \cdot \left(0.7716049382716049 \cdot \left(c \cdot y\right) + y \cdot 1.3888888888888888\right)\right)\right)}\\
\end{array}
\end{array}
if c < -8.5e-166 or 7.7999999999999997e-221 < c < 4.89999999999999981e36 or 1.75000000000000009e53 < c < 3.99999999999999999e98Initial program 96.2%
Taylor expanded in c around inf 69.8%
+-commutative69.8%
associate-*r/69.8%
metadata-eval69.8%
Simplified69.8%
Taylor expanded in a around inf 68.0%
associate-/l*69.8%
associate-*r/69.8%
metadata-eval69.8%
sub-neg69.8%
distribute-neg-frac69.8%
metadata-eval69.8%
Simplified69.8%
Taylor expanded in x around inf 61.8%
if -8.5e-166 < c < 7.7999999999999997e-221Initial program 98.2%
Taylor expanded in b around inf 83.9%
associate-*r/83.9%
metadata-eval83.9%
+-commutative83.9%
Simplified83.9%
Taylor expanded in b around 0 70.5%
associate-*r*70.5%
associate--r+70.5%
sub-neg70.5%
associate-*r/70.5%
metadata-eval70.5%
metadata-eval70.5%
Simplified70.5%
if 4.89999999999999981e36 < c < 1.75000000000000009e53Initial program 87.5%
Taylor expanded in c around inf 63.7%
+-commutative63.7%
associate-*r/63.7%
metadata-eval63.7%
Simplified63.7%
Taylor expanded in a around inf 75.8%
Taylor expanded in x around 0 75.6%
if 3.99999999999999999e98 < c Initial program 76.6%
Taylor expanded in c around inf 71.5%
+-commutative71.5%
associate-*r/71.5%
metadata-eval71.5%
Simplified71.5%
Taylor expanded in t around inf 63.0%
Taylor expanded in a around 0 63.0%
Taylor expanded in c around 0 60.2%
Final simplification63.9%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c -3.1e+127)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= c -4e-165)
1.0
(if (<= c 6.5e-222)
(/
x
(+
x
(+
y
(*
(* b 2.0)
(* y (- (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))))))
(if (<= c 2e+22)
1.0
(/ x (+ x (* y (exp (* c 1.6666666666666667))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -3.1e+127) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (c <= -4e-165) {
tmp = 1.0;
} else if (c <= 6.5e-222) {
tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a)))));
} else if (c <= 2e+22) {
tmp = 1.0;
} else {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (c <= (-3.1d+127)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (c <= (-4d-165)) then
tmp = 1.0d0
else if (c <= 6.5d-222) then
tmp = x / (x + (y + ((b * 2.0d0) * (y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) - a)))))
else if (c <= 2d+22) then
tmp = 1.0d0
else
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -3.1e+127) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (c <= -4e-165) {
tmp = 1.0;
} else if (c <= 6.5e-222) {
tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a)))));
} else if (c <= 2e+22) {
tmp = 1.0;
} else {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= -3.1e+127: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif c <= -4e-165: tmp = 1.0 elif c <= 6.5e-222: tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a))))) elif c <= 2e+22: tmp = 1.0 else: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= -3.1e+127) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (c <= -4e-165) tmp = 1.0; elseif (c <= 6.5e-222) tmp = Float64(x / Float64(x + Float64(y + Float64(Float64(b * 2.0) * Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) - a)))))); elseif (c <= 2e+22) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= -3.1e+127) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (c <= -4e-165) tmp = 1.0; elseif (c <= 6.5e-222) tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a))))); elseif (c <= 2e+22) tmp = 1.0; else tmp = x / (x + (y * exp((c * 1.6666666666666667)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, -3.1e+127], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -4e-165], 1.0, If[LessEqual[c, 6.5e-222], N[(x / N[(x + N[(y + N[(N[(b * 2.0), $MachinePrecision] * N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2e+22], 1.0, N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -3.1 \cdot 10^{+127}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;c \leq -4 \cdot 10^{-165}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 6.5 \cdot 10^{-222}:\\
\;\;\;\;\frac{x}{x + \left(y + \left(b \cdot 2\right) \cdot \left(y \cdot \left(\left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right) - a\right)\right)\right)}\\
\mathbf{elif}\;c \leq 2 \cdot 10^{+22}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\end{array}
\end{array}
if c < -3.1000000000000002e127Initial program 93.2%
Taylor expanded in c around inf 89.0%
+-commutative89.0%
associate-*r/89.0%
metadata-eval89.0%
Simplified89.0%
Taylor expanded in a around inf 67.1%
if -3.1000000000000002e127 < c < -4e-165 or 6.5000000000000005e-222 < c < 2e22Initial program 97.0%
Taylor expanded in c around inf 59.4%
+-commutative59.4%
associate-*r/59.4%
metadata-eval59.4%
Simplified59.4%
Taylor expanded in a around inf 59.4%
associate-/l*59.4%
associate-*r/59.4%
metadata-eval59.4%
sub-neg59.4%
distribute-neg-frac59.4%
metadata-eval59.4%
Simplified59.4%
Taylor expanded in x around inf 65.2%
if -4e-165 < c < 6.5000000000000005e-222Initial program 98.2%
Taylor expanded in b around inf 83.9%
associate-*r/83.9%
metadata-eval83.9%
+-commutative83.9%
Simplified83.9%
Taylor expanded in b around 0 70.5%
associate-*r*70.5%
associate--r+70.5%
sub-neg70.5%
associate-*r/70.5%
metadata-eval70.5%
metadata-eval70.5%
Simplified70.5%
if 2e22 < c Initial program 83.7%
Taylor expanded in c around inf 73.6%
+-commutative73.6%
associate-*r/73.6%
metadata-eval73.6%
Simplified73.6%
Taylor expanded in t around inf 66.5%
Taylor expanded in a around 0 61.3%
Final simplification65.9%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c -3.7e+126)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= c -3.2e-160)
1.0
(if (<= c 1.72e+22)
(/ x (+ x (* y (exp (* (* a b) (- 2.0))))))
(/ x (+ x (* y (exp (* c 1.6666666666666667)))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -3.7e+126) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (c <= -3.2e-160) {
tmp = 1.0;
} else if (c <= 1.72e+22) {
tmp = x / (x + (y * exp(((a * b) * -2.0))));
} else {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (c <= (-3.7d+126)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (c <= (-3.2d-160)) then
tmp = 1.0d0
else if (c <= 1.72d+22) then
tmp = x / (x + (y * exp(((a * b) * -2.0d0))))
else
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -3.7e+126) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (c <= -3.2e-160) {
tmp = 1.0;
} else if (c <= 1.72e+22) {
tmp = x / (x + (y * Math.exp(((a * b) * -2.0))));
} else {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= -3.7e+126: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif c <= -3.2e-160: tmp = 1.0 elif c <= 1.72e+22: tmp = x / (x + (y * math.exp(((a * b) * -2.0)))) else: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= -3.7e+126) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (c <= -3.2e-160) tmp = 1.0; elseif (c <= 1.72e+22) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(a * b) * Float64(-2.0)))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= -3.7e+126) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (c <= -3.2e-160) tmp = 1.0; elseif (c <= 1.72e+22) tmp = x / (x + (y * exp(((a * b) * -2.0)))); else tmp = x / (x + (y * exp((c * 1.6666666666666667)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, -3.7e+126], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -3.2e-160], 1.0, If[LessEqual[c, 1.72e+22], N[(x / N[(x + N[(y * N[Exp[N[(N[(a * b), $MachinePrecision] * (-2.0)), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -3.7 \cdot 10^{+126}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;c \leq -3.2 \cdot 10^{-160}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 1.72 \cdot 10^{+22}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{\left(a \cdot b\right) \cdot \left(-2\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\end{array}
\end{array}
if c < -3.6999999999999998e126Initial program 93.2%
Taylor expanded in c around inf 89.0%
+-commutative89.0%
associate-*r/89.0%
metadata-eval89.0%
Simplified89.0%
Taylor expanded in a around inf 67.1%
if -3.6999999999999998e126 < c < -3.20000000000000009e-160Initial program 96.5%
Taylor expanded in c around inf 66.1%
+-commutative66.1%
associate-*r/66.1%
metadata-eval66.1%
Simplified66.1%
Taylor expanded in a around inf 66.1%
associate-/l*66.1%
associate-*r/66.1%
metadata-eval66.1%
sub-neg66.1%
distribute-neg-frac66.1%
metadata-eval66.1%
Simplified66.1%
Taylor expanded in x around inf 64.3%
if -3.20000000000000009e-160 < c < 1.72e22Initial program 98.0%
Taylor expanded in b around inf 79.2%
associate-*r/79.2%
metadata-eval79.2%
+-commutative79.2%
Simplified79.2%
Taylor expanded in a around inf 64.9%
associate-*r*64.9%
mul-1-neg64.9%
Simplified64.9%
if 1.72e22 < c Initial program 83.7%
Taylor expanded in c around inf 73.6%
+-commutative73.6%
associate-*r/73.6%
metadata-eval73.6%
Simplified73.6%
Taylor expanded in t around inf 66.5%
Taylor expanded in a around 0 61.3%
Final simplification64.4%
(FPCore (x y z t a b c)
:precision binary64
(if (or (<= c -1.6e-31) (not (<= c 4.6e+25)))
(/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))
(/
x
(+
x
(*
y
(exp
(*
2.0
(* b (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((c <= -1.6e-31) || !(c <= 4.6e+25)) {
tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if ((c <= (-1.6d-31)) .or. (.not. (c <= 4.6d+25))) then
tmp = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
else
tmp = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((c <= -1.6e-31) || !(c <= 4.6e+25)) {
tmp = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (c <= -1.6e-31) or not (c <= 4.6e+25): tmp = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) else: tmp = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if ((c <= -1.6e-31) || !(c <= 4.6e+25)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if ((c <= -1.6e-31) || ~((c <= 4.6e+25))) tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); else tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[c, -1.6e-31], N[Not[LessEqual[c, 4.6e+25]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -1.6 \cdot 10^{-31} \lor \neg \left(c \leq 4.6 \cdot 10^{+25}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
\end{array}
\end{array}
if c < -1.60000000000000009e-31 or 4.5999999999999996e25 < c Initial program 91.0%
Taylor expanded in c around inf 76.7%
+-commutative76.7%
associate-*r/76.7%
metadata-eval76.7%
Simplified76.7%
Taylor expanded in t around inf 69.4%
if -1.60000000000000009e-31 < c < 4.5999999999999996e25Initial program 96.8%
Taylor expanded in b around inf 79.1%
associate-*r/79.1%
metadata-eval79.1%
+-commutative79.1%
Simplified79.1%
Final simplification74.1%
(FPCore (x y z t a b c)
:precision binary64
(if (or (<= b -4.1e+107) (not (<= b 105.0)))
(/
x
(+
x
(*
y
(exp
(* 2.0 (* b (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))
(/
x
(+
x
(*
y
(exp
(*
2.0
(* c (- (+ a 0.8333333333333334) (/ 0.6666666666666666 t))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b <= -4.1e+107) || !(b <= 105.0)) {
tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
} else {
tmp = x / (x + (y * exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t)))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if ((b <= (-4.1d+107)) .or. (.not. (b <= 105.0d0))) then
tmp = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
else
tmp = x / (x + (y * exp((2.0d0 * (c * ((a + 0.8333333333333334d0) - (0.6666666666666666d0 / t)))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b <= -4.1e+107) || !(b <= 105.0)) {
tmp = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t)))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (b <= -4.1e+107) or not (b <= 105.0): tmp = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))) else: tmp = x / (x + (y * math.exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t))))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if ((b <= -4.1e+107) || !(b <= 105.0)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(Float64(a + 0.8333333333333334) - Float64(0.6666666666666666 / t)))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if ((b <= -4.1e+107) || ~((b <= 105.0))) tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))); else tmp = x / (x + (y * exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[b, -4.1e+107], N[Not[LessEqual[b, 105.0]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(N[(a + 0.8333333333333334), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.1 \cdot 10^{+107} \lor \neg \left(b \leq 105\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}\\
\end{array}
\end{array}
if b < -4.0999999999999999e107 or 105 < b Initial program 92.6%
Taylor expanded in b around inf 89.1%
associate-*r/89.1%
metadata-eval89.1%
+-commutative89.1%
Simplified89.1%
if -4.0999999999999999e107 < b < 105Initial program 94.7%
Taylor expanded in c around inf 74.5%
+-commutative74.5%
associate-*r/74.5%
metadata-eval74.5%
Simplified74.5%
Final simplification80.6%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c -4.9e-166)
1.0
(if (<= c 1.3e-221)
(/
x
(+
x
(+
y
(*
(* b 2.0)
(* y (- (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))))))
(if (<= c 1.45e+23)
1.0
(/ x (+ x (* y (exp (* c 1.6666666666666667)))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -4.9e-166) {
tmp = 1.0;
} else if (c <= 1.3e-221) {
tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a)))));
} else if (c <= 1.45e+23) {
tmp = 1.0;
} else {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (c <= (-4.9d-166)) then
tmp = 1.0d0
else if (c <= 1.3d-221) then
tmp = x / (x + (y + ((b * 2.0d0) * (y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) - a)))))
else if (c <= 1.45d+23) then
tmp = 1.0d0
else
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -4.9e-166) {
tmp = 1.0;
} else if (c <= 1.3e-221) {
tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a)))));
} else if (c <= 1.45e+23) {
tmp = 1.0;
} else {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= -4.9e-166: tmp = 1.0 elif c <= 1.3e-221: tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a))))) elif c <= 1.45e+23: tmp = 1.0 else: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= -4.9e-166) tmp = 1.0; elseif (c <= 1.3e-221) tmp = Float64(x / Float64(x + Float64(y + Float64(Float64(b * 2.0) * Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) - a)))))); elseif (c <= 1.45e+23) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= -4.9e-166) tmp = 1.0; elseif (c <= 1.3e-221) tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a))))); elseif (c <= 1.45e+23) tmp = 1.0; else tmp = x / (x + (y * exp((c * 1.6666666666666667)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, -4.9e-166], 1.0, If[LessEqual[c, 1.3e-221], N[(x / N[(x + N[(y + N[(N[(b * 2.0), $MachinePrecision] * N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.45e+23], 1.0, N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -4.9 \cdot 10^{-166}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 1.3 \cdot 10^{-221}:\\
\;\;\;\;\frac{x}{x + \left(y + \left(b \cdot 2\right) \cdot \left(y \cdot \left(\left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right) - a\right)\right)\right)}\\
\mathbf{elif}\;c \leq 1.45 \cdot 10^{+23}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\end{array}
\end{array}
if c < -4.8999999999999999e-166 or 1.3000000000000001e-221 < c < 1.45000000000000006e23Initial program 95.9%
Taylor expanded in c around inf 68.5%
+-commutative68.5%
associate-*r/68.5%
metadata-eval68.5%
Simplified68.5%
Taylor expanded in a around inf 66.4%
associate-/l*68.5%
associate-*r/68.5%
metadata-eval68.5%
sub-neg68.5%
distribute-neg-frac68.5%
metadata-eval68.5%
Simplified68.5%
Taylor expanded in x around inf 61.7%
if -4.8999999999999999e-166 < c < 1.3000000000000001e-221Initial program 98.2%
Taylor expanded in b around inf 83.9%
associate-*r/83.9%
metadata-eval83.9%
+-commutative83.9%
Simplified83.9%
Taylor expanded in b around 0 70.5%
associate-*r*70.5%
associate--r+70.5%
sub-neg70.5%
associate-*r/70.5%
metadata-eval70.5%
metadata-eval70.5%
Simplified70.5%
if 1.45000000000000006e23 < c Initial program 83.7%
Taylor expanded in c around inf 73.6%
+-commutative73.6%
associate-*r/73.6%
metadata-eval73.6%
Simplified73.6%
Taylor expanded in t around inf 66.5%
Taylor expanded in a around 0 61.3%
Final simplification63.6%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c -5.2e-166)
1.0
(if (<= c 1.75e-221)
(/
x
(+
x
(+
y
(*
(* b 2.0)
(* y (- (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))))))
(if (<= c 2.7e+98)
1.0
(/
x
(+
x
(+
y
(*
c
(+
(* y 1.6666666666666667)
(*
c
(+
(* 0.7716049382716049 (* c y))
(* y 1.3888888888888888))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -5.2e-166) {
tmp = 1.0;
} else if (c <= 1.75e-221) {
tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a)))));
} else if (c <= 2.7e+98) {
tmp = 1.0;
} else {
tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888)))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (c <= (-5.2d-166)) then
tmp = 1.0d0
else if (c <= 1.75d-221) then
tmp = x / (x + (y + ((b * 2.0d0) * (y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) - a)))))
else if (c <= 2.7d+98) then
tmp = 1.0d0
else
tmp = x / (x + (y + (c * ((y * 1.6666666666666667d0) + (c * ((0.7716049382716049d0 * (c * y)) + (y * 1.3888888888888888d0)))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -5.2e-166) {
tmp = 1.0;
} else if (c <= 1.75e-221) {
tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a)))));
} else if (c <= 2.7e+98) {
tmp = 1.0;
} else {
tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888)))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= -5.2e-166: tmp = 1.0 elif c <= 1.75e-221: tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a))))) elif c <= 2.7e+98: tmp = 1.0 else: tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888))))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= -5.2e-166) tmp = 1.0; elseif (c <= 1.75e-221) tmp = Float64(x / Float64(x + Float64(y + Float64(Float64(b * 2.0) * Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) - a)))))); elseif (c <= 2.7e+98) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(y + Float64(c * Float64(Float64(y * 1.6666666666666667) + Float64(c * Float64(Float64(0.7716049382716049 * Float64(c * y)) + Float64(y * 1.3888888888888888)))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= -5.2e-166) tmp = 1.0; elseif (c <= 1.75e-221) tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a))))); elseif (c <= 2.7e+98) tmp = 1.0; else tmp = x / (x + (y + (c * ((y * 1.6666666666666667) + (c * ((0.7716049382716049 * (c * y)) + (y * 1.3888888888888888))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, -5.2e-166], 1.0, If[LessEqual[c, 1.75e-221], N[(x / N[(x + N[(y + N[(N[(b * 2.0), $MachinePrecision] * N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.7e+98], 1.0, N[(x / N[(x + N[(y + N[(c * N[(N[(y * 1.6666666666666667), $MachinePrecision] + N[(c * N[(N[(0.7716049382716049 * N[(c * y), $MachinePrecision]), $MachinePrecision] + N[(y * 1.3888888888888888), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -5.2 \cdot 10^{-166}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 1.75 \cdot 10^{-221}:\\
\;\;\;\;\frac{x}{x + \left(y + \left(b \cdot 2\right) \cdot \left(y \cdot \left(\left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right) - a\right)\right)\right)}\\
\mathbf{elif}\;c \leq 2.7 \cdot 10^{+98}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + \left(y + c \cdot \left(y \cdot 1.6666666666666667 + c \cdot \left(0.7716049382716049 \cdot \left(c \cdot y\right) + y \cdot 1.3888888888888888\right)\right)\right)}\\
\end{array}
\end{array}
if c < -5.19999999999999979e-166 or 1.7499999999999999e-221 < c < 2.7e98Initial program 95.8%
Taylor expanded in c around inf 69.5%
+-commutative69.5%
associate-*r/69.5%
metadata-eval69.5%
Simplified69.5%
Taylor expanded in a around inf 67.8%
associate-/l*69.5%
associate-*r/69.5%
metadata-eval69.5%
sub-neg69.5%
distribute-neg-frac69.5%
metadata-eval69.5%
Simplified69.5%
Taylor expanded in x around inf 59.5%
if -5.19999999999999979e-166 < c < 1.7499999999999999e-221Initial program 98.2%
Taylor expanded in b around inf 83.9%
associate-*r/83.9%
metadata-eval83.9%
+-commutative83.9%
Simplified83.9%
Taylor expanded in b around 0 70.5%
associate-*r*70.5%
associate--r+70.5%
sub-neg70.5%
associate-*r/70.5%
metadata-eval70.5%
metadata-eval70.5%
Simplified70.5%
if 2.7e98 < c Initial program 76.6%
Taylor expanded in c around inf 71.5%
+-commutative71.5%
associate-*r/71.5%
metadata-eval71.5%
Simplified71.5%
Taylor expanded in t around inf 63.0%
Taylor expanded in a around 0 63.0%
Taylor expanded in c around 0 60.2%
Final simplification62.1%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c -2.8e-166)
1.0
(if (<= c 7.2e-221)
(/
x
(+
x
(+
y
(*
(* b 2.0)
(* y (- (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))))))
(if (<= c 1.2e+178)
1.0
(/
x
(+
x
(*
y
(+
(* (* c 2.0) (+ 0.8333333333333334 (* c 0.6944444444444444)))
1.0))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -2.8e-166) {
tmp = 1.0;
} else if (c <= 7.2e-221) {
tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a)))));
} else if (c <= 1.2e+178) {
tmp = 1.0;
} else {
tmp = x / (x + (y * (((c * 2.0) * (0.8333333333333334 + (c * 0.6944444444444444))) + 1.0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (c <= (-2.8d-166)) then
tmp = 1.0d0
else if (c <= 7.2d-221) then
tmp = x / (x + (y + ((b * 2.0d0) * (y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) - a)))))
else if (c <= 1.2d+178) then
tmp = 1.0d0
else
tmp = x / (x + (y * (((c * 2.0d0) * (0.8333333333333334d0 + (c * 0.6944444444444444d0))) + 1.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -2.8e-166) {
tmp = 1.0;
} else if (c <= 7.2e-221) {
tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a)))));
} else if (c <= 1.2e+178) {
tmp = 1.0;
} else {
tmp = x / (x + (y * (((c * 2.0) * (0.8333333333333334 + (c * 0.6944444444444444))) + 1.0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= -2.8e-166: tmp = 1.0 elif c <= 7.2e-221: tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a))))) elif c <= 1.2e+178: tmp = 1.0 else: tmp = x / (x + (y * (((c * 2.0) * (0.8333333333333334 + (c * 0.6944444444444444))) + 1.0))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= -2.8e-166) tmp = 1.0; elseif (c <= 7.2e-221) tmp = Float64(x / Float64(x + Float64(y + Float64(Float64(b * 2.0) * Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) - a)))))); elseif (c <= 1.2e+178) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(Float64(c * 2.0) * Float64(0.8333333333333334 + Float64(c * 0.6944444444444444))) + 1.0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= -2.8e-166) tmp = 1.0; elseif (c <= 7.2e-221) tmp = x / (x + (y + ((b * 2.0) * (y * (((0.6666666666666666 / t) + -0.8333333333333334) - a))))); elseif (c <= 1.2e+178) tmp = 1.0; else tmp = x / (x + (y * (((c * 2.0) * (0.8333333333333334 + (c * 0.6944444444444444))) + 1.0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, -2.8e-166], 1.0, If[LessEqual[c, 7.2e-221], N[(x / N[(x + N[(y + N[(N[(b * 2.0), $MachinePrecision] * N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.2e+178], 1.0, N[(x / N[(x + N[(y * N[(N[(N[(c * 2.0), $MachinePrecision] * N[(0.8333333333333334 + N[(c * 0.6944444444444444), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -2.8 \cdot 10^{-166}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 7.2 \cdot 10^{-221}:\\
\;\;\;\;\frac{x}{x + \left(y + \left(b \cdot 2\right) \cdot \left(y \cdot \left(\left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right) - a\right)\right)\right)}\\
\mathbf{elif}\;c \leq 1.2 \cdot 10^{+178}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(\left(c \cdot 2\right) \cdot \left(0.8333333333333334 + c \cdot 0.6944444444444444\right) + 1\right)}\\
\end{array}
\end{array}
if c < -2.7999999999999999e-166 or 7.20000000000000022e-221 < c < 1.2e178Initial program 93.3%
Taylor expanded in c around inf 69.6%
+-commutative69.6%
associate-*r/69.6%
metadata-eval69.6%
Simplified69.6%
Taylor expanded in a around inf 67.9%
associate-/l*69.6%
associate-*r/69.6%
metadata-eval69.6%
sub-neg69.6%
distribute-neg-frac69.6%
metadata-eval69.6%
Simplified69.6%
Taylor expanded in x around inf 58.1%
if -2.7999999999999999e-166 < c < 7.20000000000000022e-221Initial program 98.2%
Taylor expanded in b around inf 83.9%
associate-*r/83.9%
metadata-eval83.9%
+-commutative83.9%
Simplified83.9%
Taylor expanded in b around 0 70.5%
associate-*r*70.5%
associate--r+70.5%
sub-neg70.5%
associate-*r/70.5%
metadata-eval70.5%
metadata-eval70.5%
Simplified70.5%
if 1.2e178 < c Initial program 85.7%
Taylor expanded in c around inf 72.3%
+-commutative72.3%
associate-*r/72.3%
metadata-eval72.3%
Simplified72.3%
Taylor expanded in t around inf 63.1%
Taylor expanded in c around 0 63.1%
distribute-lft-out63.1%
Simplified63.1%
Taylor expanded in a around 0 63.1%
associate-*r*63.1%
*-commutative63.1%
Simplified63.1%
Final simplification61.3%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t 1.65e-23)
1.0
(if (<= t 1e+27)
(/
x
(+
x
(*
y
(+
(* (* c 2.0) (+ 0.8333333333333334 (* c 0.6944444444444444)))
1.0))))
(if (<= t 4.6e+235) 1.0 (/ x (+ x (* a (+ (* 2.0 (* c y)) (/ y a)))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 1.65e-23) {
tmp = 1.0;
} else if (t <= 1e+27) {
tmp = x / (x + (y * (((c * 2.0) * (0.8333333333333334 + (c * 0.6944444444444444))) + 1.0)));
} else if (t <= 4.6e+235) {
tmp = 1.0;
} else {
tmp = x / (x + (a * ((2.0 * (c * y)) + (y / a))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= 1.65d-23) then
tmp = 1.0d0
else if (t <= 1d+27) then
tmp = x / (x + (y * (((c * 2.0d0) * (0.8333333333333334d0 + (c * 0.6944444444444444d0))) + 1.0d0)))
else if (t <= 4.6d+235) then
tmp = 1.0d0
else
tmp = x / (x + (a * ((2.0d0 * (c * y)) + (y / a))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 1.65e-23) {
tmp = 1.0;
} else if (t <= 1e+27) {
tmp = x / (x + (y * (((c * 2.0) * (0.8333333333333334 + (c * 0.6944444444444444))) + 1.0)));
} else if (t <= 4.6e+235) {
tmp = 1.0;
} else {
tmp = x / (x + (a * ((2.0 * (c * y)) + (y / a))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= 1.65e-23: tmp = 1.0 elif t <= 1e+27: tmp = x / (x + (y * (((c * 2.0) * (0.8333333333333334 + (c * 0.6944444444444444))) + 1.0))) elif t <= 4.6e+235: tmp = 1.0 else: tmp = x / (x + (a * ((2.0 * (c * y)) + (y / a)))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= 1.65e-23) tmp = 1.0; elseif (t <= 1e+27) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(Float64(c * 2.0) * Float64(0.8333333333333334 + Float64(c * 0.6944444444444444))) + 1.0)))); elseif (t <= 4.6e+235) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(a * Float64(Float64(2.0 * Float64(c * y)) + Float64(y / a))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= 1.65e-23) tmp = 1.0; elseif (t <= 1e+27) tmp = x / (x + (y * (((c * 2.0) * (0.8333333333333334 + (c * 0.6944444444444444))) + 1.0))); elseif (t <= 4.6e+235) tmp = 1.0; else tmp = x / (x + (a * ((2.0 * (c * y)) + (y / a)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, 1.65e-23], 1.0, If[LessEqual[t, 1e+27], N[(x / N[(x + N[(y * N[(N[(N[(c * 2.0), $MachinePrecision] * N[(0.8333333333333334 + N[(c * 0.6944444444444444), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.6e+235], 1.0, N[(x / N[(x + N[(a * N[(N[(2.0 * N[(c * y), $MachinePrecision]), $MachinePrecision] + N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 1.65 \cdot 10^{-23}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 10^{+27}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(\left(c \cdot 2\right) \cdot \left(0.8333333333333334 + c \cdot 0.6944444444444444\right) + 1\right)}\\
\mathbf{elif}\;t \leq 4.6 \cdot 10^{+235}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + a \cdot \left(2 \cdot \left(c \cdot y\right) + \frac{y}{a}\right)}\\
\end{array}
\end{array}
if t < 1.6500000000000001e-23 or 1e27 < t < 4.6e235Initial program 92.3%
Taylor expanded in c around inf 64.1%
+-commutative64.1%
associate-*r/64.1%
metadata-eval64.1%
Simplified64.1%
Taylor expanded in a around inf 62.3%
associate-/l*64.2%
associate-*r/64.2%
metadata-eval64.2%
sub-neg64.2%
distribute-neg-frac64.2%
metadata-eval64.2%
Simplified64.2%
Taylor expanded in x around inf 59.3%
if 1.6500000000000001e-23 < t < 1e27Initial program 100.0%
Taylor expanded in c around inf 62.5%
+-commutative62.5%
associate-*r/62.5%
metadata-eval62.5%
Simplified62.5%
Taylor expanded in t around inf 62.5%
Taylor expanded in c around 0 57.6%
distribute-lft-out57.6%
Simplified57.6%
Taylor expanded in a around 0 52.2%
associate-*r*52.2%
*-commutative52.2%
Simplified52.2%
if 4.6e235 < t Initial program 100.0%
Taylor expanded in c around inf 86.1%
+-commutative86.1%
associate-*r/86.1%
metadata-eval86.1%
Simplified86.1%
Taylor expanded in a around inf 70.5%
Taylor expanded in c around 0 60.7%
Taylor expanded in a around inf 65.2%
Final simplification59.5%
(FPCore (x y z t a b c) :precision binary64 (if (<= t 4.2e+234) 1.0 (/ x (+ x (* a (+ (* 2.0 (* c y)) (/ y a)))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 4.2e+234) {
tmp = 1.0;
} else {
tmp = x / (x + (a * ((2.0 * (c * y)) + (y / a))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= 4.2d+234) then
tmp = 1.0d0
else
tmp = x / (x + (a * ((2.0d0 * (c * y)) + (y / a))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 4.2e+234) {
tmp = 1.0;
} else {
tmp = x / (x + (a * ((2.0 * (c * y)) + (y / a))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= 4.2e+234: tmp = 1.0 else: tmp = x / (x + (a * ((2.0 * (c * y)) + (y / a)))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= 4.2e+234) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(a * Float64(Float64(2.0 * Float64(c * y)) + Float64(y / a))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= 4.2e+234) tmp = 1.0; else tmp = x / (x + (a * ((2.0 * (c * y)) + (y / a)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, 4.2e+234], 1.0, N[(x / N[(x + N[(a * N[(N[(2.0 * N[(c * y), $MachinePrecision]), $MachinePrecision] + N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 4.2 \cdot 10^{+234}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + a \cdot \left(2 \cdot \left(c \cdot y\right) + \frac{y}{a}\right)}\\
\end{array}
\end{array}
if t < 4.2e234Initial program 92.9%
Taylor expanded in c around inf 64.0%
+-commutative64.0%
associate-*r/64.0%
metadata-eval64.0%
Simplified64.0%
Taylor expanded in a around inf 62.3%
associate-/l*64.0%
associate-*r/64.0%
metadata-eval64.0%
sub-neg64.0%
distribute-neg-frac64.0%
metadata-eval64.0%
Simplified64.0%
Taylor expanded in x around inf 56.6%
if 4.2e234 < t Initial program 100.0%
Taylor expanded in c around inf 86.1%
+-commutative86.1%
associate-*r/86.1%
metadata-eval86.1%
Simplified86.1%
Taylor expanded in a around inf 70.5%
Taylor expanded in c around 0 60.7%
Taylor expanded in a around inf 65.2%
Final simplification57.6%
(FPCore (x y z t a b c) :precision binary64 (if (<= t 2.8e+235) 1.0 (/ x (+ x (+ y (* 2.0 (* a (* c y))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 2.8e+235) {
tmp = 1.0;
} else {
tmp = x / (x + (y + (2.0 * (a * (c * y)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= 2.8d+235) then
tmp = 1.0d0
else
tmp = x / (x + (y + (2.0d0 * (a * (c * y)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 2.8e+235) {
tmp = 1.0;
} else {
tmp = x / (x + (y + (2.0 * (a * (c * y)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= 2.8e+235: tmp = 1.0 else: tmp = x / (x + (y + (2.0 * (a * (c * y))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= 2.8e+235) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(a * Float64(c * y)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= 2.8e+235) tmp = 1.0; else tmp = x / (x + (y + (2.0 * (a * (c * y))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, 2.8e+235], 1.0, N[(x / N[(x + N[(y + N[(2.0 * N[(a * N[(c * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 2.8 \cdot 10^{+235}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(c \cdot y\right)\right)\right)}\\
\end{array}
\end{array}
if t < 2.80000000000000026e235Initial program 92.9%
Taylor expanded in c around inf 64.0%
+-commutative64.0%
associate-*r/64.0%
metadata-eval64.0%
Simplified64.0%
Taylor expanded in a around inf 62.3%
associate-/l*64.0%
associate-*r/64.0%
metadata-eval64.0%
sub-neg64.0%
distribute-neg-frac64.0%
metadata-eval64.0%
Simplified64.0%
Taylor expanded in x around inf 56.6%
if 2.80000000000000026e235 < t Initial program 100.0%
Taylor expanded in c around inf 86.1%
+-commutative86.1%
associate-*r/86.1%
metadata-eval86.1%
Simplified86.1%
Taylor expanded in a around inf 70.5%
Taylor expanded in c around 0 60.7%
Final simplification57.1%
(FPCore (x y z t a b c) :precision binary64 (if (<= t 5.4e+235) 1.0 (/ x (+ x (* y (+ (* c 1.6666666666666667) 1.0))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 5.4e+235) {
tmp = 1.0;
} else {
tmp = x / (x + (y * ((c * 1.6666666666666667) + 1.0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= 5.4d+235) then
tmp = 1.0d0
else
tmp = x / (x + (y * ((c * 1.6666666666666667d0) + 1.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 5.4e+235) {
tmp = 1.0;
} else {
tmp = x / (x + (y * ((c * 1.6666666666666667) + 1.0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= 5.4e+235: tmp = 1.0 else: tmp = x / (x + (y * ((c * 1.6666666666666667) + 1.0))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= 5.4e+235) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(c * 1.6666666666666667) + 1.0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= 5.4e+235) tmp = 1.0; else tmp = x / (x + (y * ((c * 1.6666666666666667) + 1.0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, 5.4e+235], 1.0, N[(x / N[(x + N[(y * N[(N[(c * 1.6666666666666667), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 5.4 \cdot 10^{+235}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(c \cdot 1.6666666666666667 + 1\right)}\\
\end{array}
\end{array}
if t < 5.3999999999999995e235Initial program 92.9%
Taylor expanded in c around inf 64.0%
+-commutative64.0%
associate-*r/64.0%
metadata-eval64.0%
Simplified64.0%
Taylor expanded in a around inf 62.3%
associate-/l*64.0%
associate-*r/64.0%
metadata-eval64.0%
sub-neg64.0%
distribute-neg-frac64.0%
metadata-eval64.0%
Simplified64.0%
Taylor expanded in x around inf 56.6%
if 5.3999999999999995e235 < t Initial program 100.0%
Taylor expanded in c around inf 86.1%
+-commutative86.1%
associate-*r/86.1%
metadata-eval86.1%
Simplified86.1%
Taylor expanded in t around inf 86.1%
Taylor expanded in a around 0 54.9%
Taylor expanded in c around 0 58.0%
*-lft-identity58.0%
associate-*r*58.0%
distribute-rgt-in58.0%
*-commutative58.0%
Simplified58.0%
Final simplification56.7%
(FPCore (x y z t a b c) :precision binary64 1.0)
double code(double x, double y, double z, double t, double a, double b, double c) {
return 1.0;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
code = 1.0d0
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
return 1.0;
}
def code(x, y, z, t, a, b, c): return 1.0
function code(x, y, z, t, a, b, c) return 1.0 end
function tmp = code(x, y, z, t, a, b, c) tmp = 1.0; end
code[x_, y_, z_, t_, a_, b_, c_] := 1.0
\begin{array}{l}
\\
1
\end{array}
Initial program 93.8%
Taylor expanded in c around inf 66.7%
+-commutative66.7%
associate-*r/66.7%
metadata-eval66.7%
Simplified66.7%
Taylor expanded in a around inf 65.2%
associate-/l*66.7%
associate-*r/66.7%
metadata-eval66.7%
sub-neg66.7%
distribute-neg-frac66.7%
metadata-eval66.7%
Simplified66.7%
Taylor expanded in x around inf 54.4%
Final simplification54.4%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (* z (sqrt (+ t a)))) (t_2 (- a (/ 5.0 6.0))))
(if (< t -2.118326644891581e-50)
(/
x
(+
x
(* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))))
(if (< t 5.196588770651547e-123)
(/
x
(+
x
(*
y
(exp
(*
2.0
(/
(-
(* t_1 (* (* 3.0 t) t_2))
(*
(- (* (+ (/ 5.0 6.0) a) (* 3.0 t)) 2.0)
(* t_2 (* (- b c) t))))
(* (* (* t t) 3.0) t_2)))))))
(/
x
(+
x
(*
y
(exp
(*
2.0
(-
(/ t_1 t)
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = z * sqrt((t + a));
double t_2 = a - (5.0 / 6.0);
double tmp;
if (t < -2.118326644891581e-50) {
tmp = x / (x + (y * exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b))))));
} else if (t < 5.196588770651547e-123) {
tmp = x / (x + (y * exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2))))));
} else {
tmp = x / (x + (y * exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
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), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = z * sqrt((t + a))
t_2 = a - (5.0d0 / 6.0d0)
if (t < (-2.118326644891581d-50)) then
tmp = x / (x + (y * exp((2.0d0 * (((a * c) + (0.8333333333333334d0 * c)) - (a * b))))))
else if (t < 5.196588770651547d-123) then
tmp = x / (x + (y * exp((2.0d0 * (((t_1 * ((3.0d0 * t) * t_2)) - (((((5.0d0 / 6.0d0) + a) * (3.0d0 * t)) - 2.0d0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0d0) * t_2))))))
else
tmp = x / (x + (y * exp((2.0d0 * ((t_1 / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = z * Math.sqrt((t + a));
double t_2 = a - (5.0 / 6.0);
double tmp;
if (t < -2.118326644891581e-50) {
tmp = x / (x + (y * Math.exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b))))));
} else if (t < 5.196588770651547e-123) {
tmp = x / (x + (y * Math.exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = z * math.sqrt((t + a)) t_2 = a - (5.0 / 6.0) tmp = 0 if t < -2.118326644891581e-50: tmp = x / (x + (y * math.exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b)))))) elif t < 5.196588770651547e-123: tmp = x / (x + (y * math.exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2)))))) else: tmp = x / (x + (y * math.exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))))) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(z * sqrt(Float64(t + a))) t_2 = Float64(a - Float64(5.0 / 6.0)) tmp = 0.0 if (t < -2.118326644891581e-50) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(a * c) + Float64(0.8333333333333334 * c)) - Float64(a * b))))))); elseif (t < 5.196588770651547e-123) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(t_1 * Float64(Float64(3.0 * t) * t_2)) - Float64(Float64(Float64(Float64(Float64(5.0 / 6.0) + a) * Float64(3.0 * t)) - 2.0) * Float64(t_2 * Float64(Float64(b - c) * t)))) / Float64(Float64(Float64(t * t) * 3.0) * t_2))))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(t_1 / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0)))))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = z * sqrt((t + a)); t_2 = a - (5.0 / 6.0); tmp = 0.0; if (t < -2.118326644891581e-50) tmp = x / (x + (y * exp((2.0 * (((a * c) + (0.8333333333333334 * c)) - (a * b)))))); elseif (t < 5.196588770651547e-123) tmp = x / (x + (y * exp((2.0 * (((t_1 * ((3.0 * t) * t_2)) - (((((5.0 / 6.0) + a) * (3.0 * t)) - 2.0) * (t_2 * ((b - c) * t)))) / (((t * t) * 3.0) * t_2)))))); else tmp = x / (x + (y * exp((2.0 * ((t_1 / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a - N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision]}, If[Less[t, -2.118326644891581e-50], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(a * c), $MachinePrecision] + N[(0.8333333333333334 * c), $MachinePrecision]), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[t, 5.196588770651547e-123], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(t$95$1 * N[(N[(3.0 * t), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(N[(N[(5.0 / 6.0), $MachinePrecision] + a), $MachinePrecision] * N[(3.0 * t), $MachinePrecision]), $MachinePrecision] - 2.0), $MachinePrecision] * N[(t$95$2 * N[(N[(b - c), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(t * t), $MachinePrecision] * 3.0), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(t$95$1 / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \sqrt{t + a}\\
t_2 := a - \frac{5}{6}\\
\mathbf{if}\;t < -2.118326644891581 \cdot 10^{-50}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(a \cdot c + 0.8333333333333334 \cdot c\right) - a \cdot b\right)}}\\
\mathbf{elif}\;t < 5.196588770651547 \cdot 10^{-123}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{t\_1 \cdot \left(\left(3 \cdot t\right) \cdot t\_2\right) - \left(\left(\frac{5}{6} + a\right) \cdot \left(3 \cdot t\right) - 2\right) \cdot \left(t\_2 \cdot \left(\left(b - c\right) \cdot t\right)\right)}{\left(\left(t \cdot t\right) \cdot 3\right) \cdot t\_2}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{t\_1}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}\\
\end{array}
\end{array}
herbie shell --seed 2024072
(FPCore (x y z t a b c)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, I"
:precision binary64
:alt
(if (< t -2.118326644891581e-50) (/ x (+ x (* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))))) (if (< t 5.196588770651547e-123) (/ x (+ x (* y (exp (* 2.0 (/ (- (* (* z (sqrt (+ t a))) (* (* 3.0 t) (- a (/ 5.0 6.0)))) (* (- (* (+ (/ 5.0 6.0) a) (* 3.0 t)) 2.0) (* (- a (/ 5.0 6.0)) (* (- b c) t)))) (* (* (* t t) 3.0) (- a (/ 5.0 6.0))))))))) (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))
(/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))