
(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 20 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 (sqrt (+ t a))))
(if (<=
(+
(/ (* z t_1) t)
(* (- b c) (- (/ 2.0 (* t 3.0)) (+ a 0.8333333333333334))))
INFINITY)
(/
x
(fma
y
(pow
(exp 2.0)
(fma
z
(/ t_1 t)
(* (- b c) (- (- (/ 0.6666666666666666 t) 0.8333333333333334) a))))
x))
(/
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 = sqrt((t + a));
double tmp;
if ((((z * t_1) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334)))) <= ((double) INFINITY)) {
tmp = x / fma(y, pow(exp(2.0), fma(z, (t_1 / t), ((b - c) * (((0.6666666666666666 / t) - 0.8333333333333334) - a)))), x);
} else {
tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
}
return tmp;
}
function code(x, y, z, t, a, b, c) t_1 = sqrt(Float64(t + a)) tmp = 0.0 if (Float64(Float64(Float64(z * t_1) / t) + Float64(Float64(b - c) * Float64(Float64(2.0 / Float64(t * 3.0)) - Float64(a + 0.8333333333333334)))) <= Inf) tmp = Float64(x / fma(y, (exp(2.0) ^ fma(z, Float64(t_1 / t), Float64(Float64(b - c) * Float64(Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334) - a)))), x)); 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
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[N[(N[(N[(z * t$95$1), $MachinePrecision] / t), $MachinePrecision] + N[(N[(b - c), $MachinePrecision] * N[(N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(x / N[(y * N[Power[N[Exp[2.0], $MachinePrecision], N[(z * N[(t$95$1 / t), $MachinePrecision] + N[(N[(b - c), $MachinePrecision] * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision] - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] + x), $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 := \sqrt{t + a}\\
\mathbf{if}\;\frac{z \cdot t\_1}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 0.8333333333333334\right)\right) \leq \infty:\\
\;\;\;\;\frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(z, \frac{t\_1}{t}, \left(b - c\right) \cdot \left(\left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right) - a\right)\right)\right)}, x\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 98.4%
Simplified98.8%
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 86.2%
Final simplification98.4%
(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) (* (- b c) (- t_1 (+ a 0.8333333333333334))))
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) + ((b - c) * (t_1 - (a + 0.8333333333333334)))) <= ((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) + ((b - c) * (t_1 - (a + 0.8333333333333334)))) <= 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) + ((b - c) * (t_1 - (a + 0.8333333333333334)))) <= 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(b - c) * Float64(t_1 - Float64(a + 0.8333333333333334)))) <= 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) + ((b - c) * (t_1 - (a + 0.8333333333333334)))) <= 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[(b - c), $MachinePrecision] * N[(t$95$1 - N[(a + 0.8333333333333334), $MachinePrecision]), $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(b - c\right) \cdot \left(t\_1 - \left(a + 0.8333333333333334\right)\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 98.4%
exp-prod98.4%
Simplified98.8%
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 86.2%
Final simplification98.4%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(+
(/ (* z (sqrt (+ t a))) t)
(* (- b c) (- (/ 2.0 (* t 3.0)) (+ a 0.8333333333333334))))))
(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) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334)));
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) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334)));
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) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334))) 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(b - c) * Float64(Float64(2.0 / Float64(t * 3.0)) - Float64(a + 0.8333333333333334)))) 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) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334))); 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[(b - c), $MachinePrecision] * N[(N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $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(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 0.8333333333333334\right)\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 98.4%
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 86.2%
Final simplification98.1%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t 2.9e-31)
(/
x
(+
x
(*
y
(exp (* 2.0 (/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) 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 tmp;
if (t <= 2.9e-31) {
tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / 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) :: tmp
if (t <= 2.9d-31) then
tmp = x / (x + (y * exp((2.0d0 * (((z * sqrt(a)) + ((-0.6666666666666666d0) * (c - b))) / 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 tmp;
if (t <= 2.9e-31) {
tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / 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): tmp = 0 if t <= 2.9e-31: tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / 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) tmp = 0.0 if (t <= 2.9e-31) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(a)) + Float64(-0.6666666666666666 * Float64(c - b))) / 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) tmp = 0.0; if (t <= 2.9e-31) tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / 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_] := If[LessEqual[t, 2.9e-31], 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], 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}
\mathbf{if}\;t \leq 2.9 \cdot 10^{-31}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{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 < 2.9000000000000001e-31Initial program 94.6%
Taylor expanded in t around 0 80.9%
if 2.9000000000000001e-31 < t Initial program 96.9%
Taylor expanded in t around inf 96.2%
Final simplification88.5%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(/
x
(+
x
(*
y
(exp
(*
2.0
(*
b
(- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))))
(if (<= b -4.2e-10)
t_1
(if (<= b -2.7e-65)
(/ x (+ x (* y (exp (* 2.0 (/ (* c -0.6666666666666666) t))))))
(if (<= b 3.8e-50)
(/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))
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 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
double tmp;
if (b <= -4.2e-10) {
tmp = t_1;
} else if (b <= -2.7e-65) {
tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t)))));
} else if (b <= 3.8e-50) {
tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
} 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 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
if (b <= (-4.2d-10)) then
tmp = t_1
else if (b <= (-2.7d-65)) then
tmp = x / (x + (y * exp((2.0d0 * ((c * (-0.6666666666666666d0)) / t)))))
else if (b <= 3.8d-50) then
tmp = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
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 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
double tmp;
if (b <= -4.2e-10) {
tmp = t_1;
} else if (b <= -2.7e-65) {
tmp = x / (x + (y * Math.exp((2.0 * ((c * -0.6666666666666666) / t)))));
} else if (b <= 3.8e-50) {
tmp = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))) tmp = 0 if b <= -4.2e-10: tmp = t_1 elif b <= -2.7e-65: tmp = x / (x + (y * math.exp((2.0 * ((c * -0.6666666666666666) / t))))) elif b <= 3.8e-50: tmp = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) 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(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))))))) tmp = 0.0 if (b <= -4.2e-10) tmp = t_1; elseif (b <= -2.7e-65) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(c * -0.6666666666666666) / t)))))); elseif (b <= 3.8e-50) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))))))); 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 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))); tmp = 0.0; if (b <= -4.2e-10) tmp = t_1; elseif (b <= -2.7e-65) tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t))))); elseif (b <= 3.8e-50) tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); 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[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -4.2e-10], t$95$1, If[LessEqual[b, -2.7e-65], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(c * -0.6666666666666666), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.8e-50], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $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(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
\mathbf{if}\;b \leq -4.2 \cdot 10^{-10}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq -2.7 \cdot 10^{-65}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\
\mathbf{elif}\;b \leq 3.8 \cdot 10^{-50}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -4.2e-10 or 3.7999999999999999e-50 < b Initial program 96.6%
Taylor expanded in b around inf 85.9%
associate-*r/85.9%
metadata-eval85.9%
+-commutative85.9%
Simplified85.9%
if -4.2e-10 < b < -2.6999999999999999e-65Initial program 94.7%
Taylor expanded in t around 0 69.1%
Taylor expanded in c around inf 79.6%
*-commutative79.6%
Simplified79.6%
if -2.6999999999999999e-65 < b < 3.7999999999999999e-50Initial program 94.7%
Taylor expanded in c around inf 82.4%
+-commutative82.4%
associate-*r/82.4%
metadata-eval82.4%
Simplified82.4%
Taylor expanded in t around inf 70.0%
Final simplification79.6%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t -3.4e-103)
(/ x (+ x (* y (exp (* b (* a -2.0))))))
(if (<= t 2.1e+17)
(/ x (+ x (* y (exp (* 2.0 (/ (* c -0.6666666666666666) t))))))
(if (<= t 1.65e+55)
(/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))
(/ x (+ x (* y (exp (* 2.0 (* b (- -0.8333333333333334 a)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -3.4e-103) {
tmp = x / (x + (y * exp((b * (a * -2.0)))));
} else if (t <= 2.1e+17) {
tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t)))));
} else if (t <= 1.65e+55) {
tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - 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 <= (-3.4d-103)) then
tmp = x / (x + (y * exp((b * (a * (-2.0d0))))))
else if (t <= 2.1d+17) then
tmp = x / (x + (y * exp((2.0d0 * ((c * (-0.6666666666666666d0)) / t)))))
else if (t <= 1.65d+55) then
tmp = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
else
tmp = x / (x + (y * exp((2.0d0 * (b * ((-0.8333333333333334d0) - 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 <= -3.4e-103) {
tmp = x / (x + (y * Math.exp((b * (a * -2.0)))));
} else if (t <= 2.1e+17) {
tmp = x / (x + (y * Math.exp((2.0 * ((c * -0.6666666666666666) / t)))));
} else if (t <= 1.65e+55) {
tmp = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (b * (-0.8333333333333334 - a))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= -3.4e-103: tmp = x / (x + (y * math.exp((b * (a * -2.0))))) elif t <= 2.1e+17: tmp = x / (x + (y * math.exp((2.0 * ((c * -0.6666666666666666) / t))))) elif t <= 1.65e+55: tmp = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) else: tmp = x / (x + (y * math.exp((2.0 * (b * (-0.8333333333333334 - a)))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= -3.4e-103) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * Float64(a * -2.0)))))); elseif (t <= 2.1e+17) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(c * -0.6666666666666666) / t)))))); elseif (t <= 1.65e+55) 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(-0.8333333333333334 - a))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= -3.4e-103) tmp = x / (x + (y * exp((b * (a * -2.0))))); elseif (t <= 2.1e+17) tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t))))); elseif (t <= 1.65e+55) tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); else tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a)))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, -3.4e-103], N[(x / N[(x + N[(y * N[Exp[N[(b * N[(a * -2.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.1e+17], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(c * -0.6666666666666666), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.65e+55], 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[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.4 \cdot 10^{-103}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot \left(a \cdot -2\right)}}\\
\mathbf{elif}\;t \leq 2.1 \cdot 10^{+17}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\
\mathbf{elif}\;t \leq 1.65 \cdot 10^{+55}:\\
\;\;\;\;\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(-0.8333333333333334 - a\right)\right)}}\\
\end{array}
\end{array}
if t < -3.40000000000000003e-103Initial program 96.2%
Simplified100.0%
Taylor expanded in z around 0 96.3%
*-commutative96.3%
+-commutative96.3%
associate-*r/96.3%
metadata-eval96.3%
Simplified96.3%
Taylor expanded in a around inf 92.5%
*-commutative92.5%
Simplified92.5%
Taylor expanded in c around 0 74.0%
associate-*r*74.0%
Simplified74.0%
if -3.40000000000000003e-103 < t < 2.1e17Initial program 94.8%
Taylor expanded in t around 0 77.0%
Taylor expanded in c around inf 63.3%
*-commutative63.3%
Simplified63.3%
if 2.1e17 < t < 1.65e55Initial program 100.0%
Taylor expanded in c around inf 86.2%
+-commutative86.2%
associate-*r/86.2%
metadata-eval86.2%
Simplified86.2%
Taylor expanded in t around inf 86.2%
if 1.65e55 < t Initial program 96.1%
Taylor expanded in b around inf 81.3%
associate-*r/81.3%
metadata-eval81.3%
+-commutative81.3%
Simplified81.3%
Taylor expanded in t around inf 81.3%
mul-1-neg81.3%
+-commutative81.3%
distribute-rgt-neg-in81.3%
+-commutative81.3%
mul-1-neg81.3%
distribute-lft-in81.3%
metadata-eval81.3%
mul-1-neg81.3%
unsub-neg81.3%
Simplified81.3%
Final simplification72.7%
(FPCore (x y z t a b c)
:precision binary64
(if (or (<= b -70000000.0) (not (<= b 7.5e-50)))
(/
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 <= -70000000.0) || !(b <= 7.5e-50)) {
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 <= (-70000000.0d0)) .or. (.not. (b <= 7.5d-50))) 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 <= -70000000.0) || !(b <= 7.5e-50)) {
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 <= -70000000.0) or not (b <= 7.5e-50): 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 <= -70000000.0) || !(b <= 7.5e-50)) 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 <= -70000000.0) || ~((b <= 7.5e-50))) 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, -70000000.0], N[Not[LessEqual[b, 7.5e-50]], $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 -70000000 \lor \neg \left(b \leq 7.5 \cdot 10^{-50}\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 < -7e7 or 7.5e-50 < b Initial program 96.5%
Taylor expanded in b around inf 86.3%
associate-*r/86.3%
metadata-eval86.3%
+-commutative86.3%
Simplified86.3%
if -7e7 < b < 7.5e-50Initial program 94.8%
Taylor expanded in c around inf 82.4%
+-commutative82.4%
associate-*r/82.4%
metadata-eval82.4%
Simplified82.4%
Final simplification84.5%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -1.2e+44)
(/ x (+ x (* y (exp (* b -1.6666666666666667)))))
(if (<= b -2.25e-128)
(/ x (+ x (* y (exp (* b (* a -2.0))))))
(if (<= b 9e+113) (/ x (+ x (* y (exp (* 2.0 (* a c)))))) 1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.2e+44) {
tmp = x / (x + (y * exp((b * -1.6666666666666667))));
} else if (b <= -2.25e-128) {
tmp = x / (x + (y * exp((b * (a * -2.0)))));
} else if (b <= 9e+113) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} 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 (b <= (-1.2d+44)) then
tmp = x / (x + (y * exp((b * (-1.6666666666666667d0)))))
else if (b <= (-2.25d-128)) then
tmp = x / (x + (y * exp((b * (a * (-2.0d0))))))
else if (b <= 9d+113) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
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 (b <= -1.2e+44) {
tmp = x / (x + (y * Math.exp((b * -1.6666666666666667))));
} else if (b <= -2.25e-128) {
tmp = x / (x + (y * Math.exp((b * (a * -2.0)))));
} else if (b <= 9e+113) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.2e+44: tmp = x / (x + (y * math.exp((b * -1.6666666666666667)))) elif b <= -2.25e-128: tmp = x / (x + (y * math.exp((b * (a * -2.0))))) elif b <= 9e+113: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.2e+44) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * -1.6666666666666667))))); elseif (b <= -2.25e-128) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * Float64(a * -2.0)))))); elseif (b <= 9e+113) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -1.2e+44) tmp = x / (x + (y * exp((b * -1.6666666666666667)))); elseif (b <= -2.25e-128) tmp = x / (x + (y * exp((b * (a * -2.0))))); elseif (b <= 9e+113) tmp = x / (x + (y * exp((2.0 * (a * c))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.2e+44], N[(x / N[(x + N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -2.25e-128], N[(x / N[(x + N[(y * N[Exp[N[(b * N[(a * -2.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9e+113], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.2 \cdot 10^{+44}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{elif}\;b \leq -2.25 \cdot 10^{-128}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot \left(a \cdot -2\right)}}\\
\mathbf{elif}\;b \leq 9 \cdot 10^{+113}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.20000000000000007e44Initial program 93.9%
Taylor expanded in b around inf 88.1%
associate-*r/88.1%
metadata-eval88.1%
+-commutative88.1%
Simplified88.1%
Taylor expanded in t around inf 78.3%
mul-1-neg78.3%
+-commutative78.3%
distribute-rgt-neg-in78.3%
+-commutative78.3%
mul-1-neg78.3%
distribute-lft-in78.3%
metadata-eval78.3%
mul-1-neg78.3%
unsub-neg78.3%
Simplified78.3%
Taylor expanded in a around 0 76.3%
if -1.20000000000000007e44 < b < -2.25e-128Initial program 93.3%
Simplified93.4%
Taylor expanded in z around 0 84.9%
*-commutative84.9%
+-commutative84.9%
associate-*r/84.9%
metadata-eval84.9%
Simplified84.9%
Taylor expanded in a around inf 59.3%
*-commutative59.3%
Simplified59.3%
Taylor expanded in c around 0 60.7%
associate-*r*60.7%
Simplified60.7%
if -2.25e-128 < b < 9.0000000000000001e113Initial program 97.6%
Taylor expanded in c around inf 78.6%
+-commutative78.6%
associate-*r/78.6%
metadata-eval78.6%
Simplified78.6%
Taylor expanded in a around inf 63.6%
if 9.0000000000000001e113 < b Initial program 95.2%
Simplified100.0%
Taylor expanded in z around 0 97.6%
*-commutative97.6%
+-commutative97.6%
associate-*r/97.6%
metadata-eval97.6%
Simplified97.6%
Taylor expanded in a around inf 56.7%
*-commutative56.7%
Simplified56.7%
Taylor expanded in x around inf 73.4%
Final simplification67.0%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -3e-113)
(/ x (+ x (* y (exp (* 2.0 (* b (- -0.8333333333333334 a)))))))
(if (<= b 3e+183)
(/ 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 (b <= -3e-113) {
tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a))))));
} else if (b <= 3e+183) {
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 (b <= (-3d-113)) then
tmp = x / (x + (y * exp((2.0d0 * (b * ((-0.8333333333333334d0) - a))))))
else if (b <= 3d+183) 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 (b <= -3e-113) {
tmp = x / (x + (y * Math.exp((2.0 * (b * (-0.8333333333333334 - a))))));
} else if (b <= 3e+183) {
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 b <= -3e-113: tmp = x / (x + (y * math.exp((2.0 * (b * (-0.8333333333333334 - a)))))) elif b <= 3e+183: 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 (b <= -3e-113) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(-0.8333333333333334 - a))))))); elseif (b <= 3e+183) 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 (b <= -3e-113) tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a)))))); elseif (b <= 3e+183) 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[b, -3e-113], 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[LessEqual[b, 3e+183], 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}\;b \leq -3 \cdot 10^{-113}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\
\mathbf{elif}\;b \leq 3 \cdot 10^{+183}:\\
\;\;\;\;\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 b < -3.0000000000000001e-113Initial program 94.4%
Taylor expanded in b around inf 75.7%
associate-*r/75.7%
metadata-eval75.7%
+-commutative75.7%
Simplified75.7%
Taylor expanded in t around inf 69.2%
mul-1-neg69.2%
+-commutative69.2%
distribute-rgt-neg-in69.2%
+-commutative69.2%
mul-1-neg69.2%
distribute-lft-in69.2%
metadata-eval69.2%
mul-1-neg69.2%
unsub-neg69.2%
Simplified69.2%
if -3.0000000000000001e-113 < b < 2.99999999999999996e183Initial program 96.5%
Taylor expanded in c around inf 78.1%
+-commutative78.1%
associate-*r/78.1%
metadata-eval78.1%
Simplified78.1%
Taylor expanded in t around inf 71.3%
if 2.99999999999999996e183 < b Initial program 96.3%
Simplified100.0%
Taylor expanded in z around 0 100.0%
*-commutative100.0%
+-commutative100.0%
associate-*r/100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in a around inf 51.7%
*-commutative51.7%
Simplified51.7%
Taylor expanded in x around inf 73.9%
Final simplification70.8%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -1650000000000.0) (/ x (+ x (* y (exp (* b -1.6666666666666667))))) (if (<= b 1.35e+113) (/ x (+ x (* y (exp (* 2.0 (* a c)))))) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1650000000000.0) {
tmp = x / (x + (y * exp((b * -1.6666666666666667))));
} else if (b <= 1.35e+113) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} 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 (b <= (-1650000000000.0d0)) then
tmp = x / (x + (y * exp((b * (-1.6666666666666667d0)))))
else if (b <= 1.35d+113) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
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 (b <= -1650000000000.0) {
tmp = x / (x + (y * Math.exp((b * -1.6666666666666667))));
} else if (b <= 1.35e+113) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1650000000000.0: tmp = x / (x + (y * math.exp((b * -1.6666666666666667)))) elif b <= 1.35e+113: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1650000000000.0) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * -1.6666666666666667))))); elseif (b <= 1.35e+113) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -1650000000000.0) tmp = x / (x + (y * exp((b * -1.6666666666666667)))); elseif (b <= 1.35e+113) tmp = x / (x + (y * exp((2.0 * (a * c))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1650000000000.0], N[(x / N[(x + N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.35e+113], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1650000000000:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{elif}\;b \leq 1.35 \cdot 10^{+113}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.65e12Initial program 94.7%
Taylor expanded in b around inf 86.4%
associate-*r/86.4%
metadata-eval86.4%
+-commutative86.4%
Simplified86.4%
Taylor expanded in t around inf 74.5%
mul-1-neg74.5%
+-commutative74.5%
distribute-rgt-neg-in74.5%
+-commutative74.5%
mul-1-neg74.5%
distribute-lft-in74.5%
metadata-eval74.5%
mul-1-neg74.5%
unsub-neg74.5%
Simplified74.5%
Taylor expanded in a around 0 71.1%
if -1.65e12 < b < 1.35000000000000006e113Initial program 96.3%
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 61.1%
if 1.35000000000000006e113 < b Initial program 95.2%
Simplified100.0%
Taylor expanded in z around 0 97.6%
*-commutative97.6%
+-commutative97.6%
associate-*r/97.6%
metadata-eval97.6%
Simplified97.6%
Taylor expanded in a around inf 56.7%
*-commutative56.7%
Simplified56.7%
Taylor expanded in x around inf 73.4%
Final simplification65.3%
(FPCore (x y z t a b c) :precision binary64 (if (or (<= t -1.72e-164) (not (<= t 2.25e+32))) (/ x (+ x (* y (exp (* b -1.6666666666666667))))) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((t <= -1.72e-164) || !(t <= 2.25e+32)) {
tmp = x / (x + (y * exp((b * -1.6666666666666667))));
} 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 <= (-1.72d-164)) .or. (.not. (t <= 2.25d+32))) then
tmp = x / (x + (y * exp((b * (-1.6666666666666667d0)))))
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 <= -1.72e-164) || !(t <= 2.25e+32)) {
tmp = x / (x + (y * Math.exp((b * -1.6666666666666667))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (t <= -1.72e-164) or not (t <= 2.25e+32): tmp = x / (x + (y * math.exp((b * -1.6666666666666667)))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if ((t <= -1.72e-164) || !(t <= 2.25e+32)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * -1.6666666666666667))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if ((t <= -1.72e-164) || ~((t <= 2.25e+32))) tmp = x / (x + (y * exp((b * -1.6666666666666667)))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[t, -1.72e-164], N[Not[LessEqual[t, 2.25e+32]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.72 \cdot 10^{-164} \lor \neg \left(t \leq 2.25 \cdot 10^{+32}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if t < -1.72000000000000003e-164 or 2.2500000000000002e32 < t Initial program 96.6%
Taylor expanded in b around inf 77.0%
associate-*r/77.0%
metadata-eval77.0%
+-commutative77.0%
Simplified77.0%
Taylor expanded in t around inf 77.7%
mul-1-neg77.7%
+-commutative77.7%
distribute-rgt-neg-in77.7%
+-commutative77.7%
mul-1-neg77.7%
distribute-lft-in77.7%
metadata-eval77.7%
mul-1-neg77.7%
unsub-neg77.7%
Simplified77.7%
Taylor expanded in a around 0 71.1%
if -1.72000000000000003e-164 < t < 2.2500000000000002e32Initial program 94.6%
Simplified92.0%
Taylor expanded in z around 0 83.6%
*-commutative83.6%
+-commutative83.6%
associate-*r/83.6%
metadata-eval83.6%
Simplified83.6%
Taylor expanded in a around inf 44.8%
*-commutative44.8%
Simplified44.8%
Taylor expanded in x around inf 50.7%
Final simplification62.2%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -1.6e-6) (/ x (+ x (* y (exp (* b -1.6666666666666667))))) (if (<= b 4e+183) (/ x (+ x (* y (exp (* c 1.6666666666666667))))) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.6e-6) {
tmp = x / (x + (y * exp((b * -1.6666666666666667))));
} else if (b <= 4e+183) {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
} 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 (b <= (-1.6d-6)) then
tmp = x / (x + (y * exp((b * (-1.6666666666666667d0)))))
else if (b <= 4d+183) then
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
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 (b <= -1.6e-6) {
tmp = x / (x + (y * Math.exp((b * -1.6666666666666667))));
} else if (b <= 4e+183) {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.6e-6: tmp = x / (x + (y * math.exp((b * -1.6666666666666667)))) elif b <= 4e+183: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.6e-6) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * -1.6666666666666667))))); elseif (b <= 4e+183) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -1.6e-6) tmp = x / (x + (y * exp((b * -1.6666666666666667)))); elseif (b <= 4e+183) tmp = x / (x + (y * exp((c * 1.6666666666666667)))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.6e-6], N[(x / N[(x + N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4e+183], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.6 \cdot 10^{-6}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{elif}\;b \leq 4 \cdot 10^{+183}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.5999999999999999e-6Initial program 95.2%
Taylor expanded in b around inf 86.2%
associate-*r/86.2%
metadata-eval86.2%
+-commutative86.2%
Simplified86.2%
Taylor expanded in t around inf 73.9%
mul-1-neg73.9%
+-commutative73.9%
distribute-rgt-neg-in73.9%
+-commutative73.9%
mul-1-neg73.9%
distribute-lft-in73.9%
metadata-eval73.9%
mul-1-neg73.9%
unsub-neg73.9%
Simplified73.9%
Taylor expanded in a around 0 69.3%
if -1.5999999999999999e-6 < b < 3.99999999999999979e183Initial program 95.9%
Taylor expanded in c around inf 78.0%
+-commutative78.0%
associate-*r/78.0%
metadata-eval78.0%
Simplified78.0%
Taylor expanded in t around inf 67.7%
Taylor expanded in a around 0 59.3%
if 3.99999999999999979e183 < b Initial program 96.3%
Simplified100.0%
Taylor expanded in z around 0 100.0%
*-commutative100.0%
+-commutative100.0%
associate-*r/100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in a around inf 51.7%
*-commutative51.7%
Simplified51.7%
Taylor expanded in x around inf 73.9%
Final simplification63.3%
(FPCore (x y z t a b c) :precision binary64 (if (<= c 2.45e+16) (/ 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 tmp;
if (c <= 2.45e+16) {
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) :: tmp
if (c <= 2.45d+16) 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 tmp;
if (c <= 2.45e+16) {
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): tmp = 0 if c <= 2.45e+16: 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) tmp = 0.0 if (c <= 2.45e+16) 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) tmp = 0.0; if (c <= 2.45e+16) 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_] := If[LessEqual[c, 2.45e+16], 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}
\mathbf{if}\;c \leq 2.45 \cdot 10^{+16}:\\
\;\;\;\;\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 c < 2.45e16Initial program 96.1%
Taylor expanded in b around inf 73.8%
associate-*r/73.8%
metadata-eval73.8%
+-commutative73.8%
Simplified73.8%
Taylor expanded in t around inf 67.1%
mul-1-neg67.1%
+-commutative67.1%
distribute-rgt-neg-in67.1%
+-commutative67.1%
mul-1-neg67.1%
distribute-lft-in67.1%
metadata-eval67.1%
mul-1-neg67.1%
unsub-neg67.1%
Simplified67.1%
if 2.45e16 < c Initial program 94.5%
Taylor expanded in c around inf 78.9%
+-commutative78.9%
associate-*r/78.9%
metadata-eval78.9%
Simplified78.9%
Taylor expanded in t around inf 70.1%
Taylor expanded in a around 0 64.8%
Final simplification66.6%
(FPCore (x y z t a b c)
:precision binary64
(if (<= y -7.2e+30)
(/
x
(+
x
(-
y
(*
2.0
(*
c
(*
a
(-
(* y (/ (- (/ 0.6666666666666666 t) 0.8333333333333334) a))
y)))))))
(if (<= y 1.36e-30)
1.0
(if (<= y 3.8e+102)
(/
x
(+
x
(+
y
(*
2.0
(/
(+
(* -0.6666666666666666 (* c y))
(* c (* t (* (+ a 0.8333333333333334) y))))
t)))))
1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (y <= -7.2e+30) {
tmp = x / (x + (y - (2.0 * (c * (a * ((y * (((0.6666666666666666 / t) - 0.8333333333333334) / a)) - y))))));
} else if (y <= 1.36e-30) {
tmp = 1.0;
} else if (y <= 3.8e+102) {
tmp = x / (x + (y + (2.0 * (((-0.6666666666666666 * (c * y)) + (c * (t * ((a + 0.8333333333333334) * y)))) / t))));
} 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 (y <= (-7.2d+30)) then
tmp = x / (x + (y - (2.0d0 * (c * (a * ((y * (((0.6666666666666666d0 / t) - 0.8333333333333334d0) / a)) - y))))))
else if (y <= 1.36d-30) then
tmp = 1.0d0
else if (y <= 3.8d+102) then
tmp = x / (x + (y + (2.0d0 * ((((-0.6666666666666666d0) * (c * y)) + (c * (t * ((a + 0.8333333333333334d0) * y)))) / t))))
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 (y <= -7.2e+30) {
tmp = x / (x + (y - (2.0 * (c * (a * ((y * (((0.6666666666666666 / t) - 0.8333333333333334) / a)) - y))))));
} else if (y <= 1.36e-30) {
tmp = 1.0;
} else if (y <= 3.8e+102) {
tmp = x / (x + (y + (2.0 * (((-0.6666666666666666 * (c * y)) + (c * (t * ((a + 0.8333333333333334) * y)))) / t))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if y <= -7.2e+30: tmp = x / (x + (y - (2.0 * (c * (a * ((y * (((0.6666666666666666 / t) - 0.8333333333333334) / a)) - y)))))) elif y <= 1.36e-30: tmp = 1.0 elif y <= 3.8e+102: tmp = x / (x + (y + (2.0 * (((-0.6666666666666666 * (c * y)) + (c * (t * ((a + 0.8333333333333334) * y)))) / t)))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (y <= -7.2e+30) tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(c * Float64(a * Float64(Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334) / a)) - y))))))); elseif (y <= 1.36e-30) tmp = 1.0; elseif (y <= 3.8e+102) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(Float64(Float64(-0.6666666666666666 * Float64(c * y)) + Float64(c * Float64(t * Float64(Float64(a + 0.8333333333333334) * y)))) / t))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (y <= -7.2e+30) tmp = x / (x + (y - (2.0 * (c * (a * ((y * (((0.6666666666666666 / t) - 0.8333333333333334) / a)) - y)))))); elseif (y <= 1.36e-30) tmp = 1.0; elseif (y <= 3.8e+102) tmp = x / (x + (y + (2.0 * (((-0.6666666666666666 * (c * y)) + (c * (t * ((a + 0.8333333333333334) * y)))) / t)))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[y, -7.2e+30], N[(x / N[(x + N[(y - N[(2.0 * N[(c * N[(a * N[(N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.36e-30], 1.0, If[LessEqual[y, 3.8e+102], N[(x / N[(x + N[(y + N[(2.0 * N[(N[(N[(-0.6666666666666666 * N[(c * y), $MachinePrecision]), $MachinePrecision] + N[(c * N[(t * N[(N[(a + 0.8333333333333334), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -7.2 \cdot 10^{+30}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(c \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} - 0.8333333333333334}{a} - y\right)\right)\right)\right)}\\
\mathbf{elif}\;y \leq 1.36 \cdot 10^{-30}:\\
\;\;\;\;1\\
\mathbf{elif}\;y \leq 3.8 \cdot 10^{+102}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \frac{-0.6666666666666666 \cdot \left(c \cdot y\right) + c \cdot \left(t \cdot \left(\left(a + 0.8333333333333334\right) \cdot y\right)\right)}{t}\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if y < -7.2000000000000004e30Initial program 98.0%
Taylor expanded in c around inf 77.3%
+-commutative77.3%
associate-*r/77.3%
metadata-eval77.3%
Simplified77.3%
Taylor expanded in c around 0 62.2%
distribute-lft-out62.2%
+-commutative62.2%
associate-*r/62.2%
metadata-eval62.2%
unsub-neg62.2%
+-commutative62.2%
distribute-neg-frac62.2%
metadata-eval62.2%
+-commutative62.2%
associate-*r/62.2%
metadata-eval62.2%
unsub-neg62.2%
+-commutative62.2%
distribute-neg-frac62.2%
Simplified62.2%
Taylor expanded in c around 0 60.3%
associate--l+60.3%
associate-*r/60.3%
metadata-eval60.3%
Simplified60.3%
Taylor expanded in a around inf 62.1%
associate-/l*62.1%
associate-*r/62.1%
metadata-eval62.1%
Simplified62.1%
if -7.2000000000000004e30 < y < 1.36e-30 or 3.79999999999999979e102 < y Initial program 95.0%
Simplified96.6%
Taylor expanded in z around 0 90.2%
*-commutative90.2%
+-commutative90.2%
associate-*r/90.2%
metadata-eval90.2%
Simplified90.2%
Taylor expanded in a around inf 62.9%
*-commutative62.9%
Simplified62.9%
Taylor expanded in x around inf 58.4%
if 1.36e-30 < y < 3.79999999999999979e102Initial program 96.4%
Taylor expanded in c around inf 62.1%
+-commutative62.1%
associate-*r/62.1%
metadata-eval62.1%
Simplified62.1%
Taylor expanded in c around 0 56.9%
distribute-lft-out56.9%
+-commutative56.9%
associate-*r/56.9%
metadata-eval56.9%
unsub-neg56.9%
+-commutative56.9%
distribute-neg-frac56.9%
metadata-eval56.9%
+-commutative56.9%
associate-*r/56.9%
metadata-eval56.9%
unsub-neg56.9%
+-commutative56.9%
distribute-neg-frac56.9%
Simplified56.9%
Taylor expanded in c around 0 49.6%
associate--l+49.6%
associate-*r/49.6%
metadata-eval49.6%
Simplified49.6%
Taylor expanded in t around 0 59.9%
Final simplification59.3%
(FPCore (x y z t a b c)
:precision binary64
(if (<= y -1.48e+32)
(/
x
(+
x
(-
y
(*
2.0
(*
c
(*
a
(-
(* y (/ (- (/ 0.6666666666666666 t) 0.8333333333333334) a))
y)))))))
1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (y <= -1.48e+32) {
tmp = x / (x + (y - (2.0 * (c * (a * ((y * (((0.6666666666666666 / t) - 0.8333333333333334) / a)) - y))))));
} 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 (y <= (-1.48d+32)) then
tmp = x / (x + (y - (2.0d0 * (c * (a * ((y * (((0.6666666666666666d0 / t) - 0.8333333333333334d0) / a)) - y))))))
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 (y <= -1.48e+32) {
tmp = x / (x + (y - (2.0 * (c * (a * ((y * (((0.6666666666666666 / t) - 0.8333333333333334) / a)) - y))))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if y <= -1.48e+32: tmp = x / (x + (y - (2.0 * (c * (a * ((y * (((0.6666666666666666 / t) - 0.8333333333333334) / a)) - y)))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (y <= -1.48e+32) tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(c * Float64(a * Float64(Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334) / a)) - y))))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (y <= -1.48e+32) tmp = x / (x + (y - (2.0 * (c * (a * ((y * (((0.6666666666666666 / t) - 0.8333333333333334) / a)) - y)))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[y, -1.48e+32], N[(x / N[(x + N[(y - N[(2.0 * N[(c * N[(a * N[(N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.48 \cdot 10^{+32}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(c \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} - 0.8333333333333334}{a} - y\right)\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if y < -1.4799999999999999e32Initial program 98.0%
Taylor expanded in c around inf 77.3%
+-commutative77.3%
associate-*r/77.3%
metadata-eval77.3%
Simplified77.3%
Taylor expanded in c around 0 62.2%
distribute-lft-out62.2%
+-commutative62.2%
associate-*r/62.2%
metadata-eval62.2%
unsub-neg62.2%
+-commutative62.2%
distribute-neg-frac62.2%
metadata-eval62.2%
+-commutative62.2%
associate-*r/62.2%
metadata-eval62.2%
unsub-neg62.2%
+-commutative62.2%
distribute-neg-frac62.2%
Simplified62.2%
Taylor expanded in c around 0 60.3%
associate--l+60.3%
associate-*r/60.3%
metadata-eval60.3%
Simplified60.3%
Taylor expanded in a around inf 62.1%
associate-/l*62.1%
associate-*r/62.1%
metadata-eval62.1%
Simplified62.1%
if -1.4799999999999999e32 < y Initial program 95.2%
Simplified96.1%
Taylor expanded in z around 0 90.1%
*-commutative90.1%
+-commutative90.1%
associate-*r/90.1%
metadata-eval90.1%
Simplified90.1%
Taylor expanded in a around inf 62.8%
*-commutative62.8%
Simplified62.8%
Taylor expanded in x around inf 54.6%
Final simplification56.1%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -750000000.0) (/ x (- x (* y (- -1.0 (* (+ a 0.8333333333333334) (* b -2.0)))))) (if (<= b -3.2e-56) (/ x (* y (+ (+ (* 2.0 (* a c)) (/ x y)) 1.0))) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -750000000.0) {
tmp = x / (x - (y * (-1.0 - ((a + 0.8333333333333334) * (b * -2.0)))));
} else if (b <= -3.2e-56) {
tmp = x / (y * (((2.0 * (a * c)) + (x / y)) + 1.0));
} 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 (b <= (-750000000.0d0)) then
tmp = x / (x - (y * ((-1.0d0) - ((a + 0.8333333333333334d0) * (b * (-2.0d0))))))
else if (b <= (-3.2d-56)) then
tmp = x / (y * (((2.0d0 * (a * c)) + (x / y)) + 1.0d0))
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 (b <= -750000000.0) {
tmp = x / (x - (y * (-1.0 - ((a + 0.8333333333333334) * (b * -2.0)))));
} else if (b <= -3.2e-56) {
tmp = x / (y * (((2.0 * (a * c)) + (x / y)) + 1.0));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -750000000.0: tmp = x / (x - (y * (-1.0 - ((a + 0.8333333333333334) * (b * -2.0))))) elif b <= -3.2e-56: tmp = x / (y * (((2.0 * (a * c)) + (x / y)) + 1.0)) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -750000000.0) tmp = Float64(x / Float64(x - Float64(y * Float64(-1.0 - Float64(Float64(a + 0.8333333333333334) * Float64(b * -2.0)))))); elseif (b <= -3.2e-56) tmp = Float64(x / Float64(y * Float64(Float64(Float64(2.0 * Float64(a * c)) + Float64(x / y)) + 1.0))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -750000000.0) tmp = x / (x - (y * (-1.0 - ((a + 0.8333333333333334) * (b * -2.0))))); elseif (b <= -3.2e-56) tmp = x / (y * (((2.0 * (a * c)) + (x / y)) + 1.0)); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -750000000.0], N[(x / N[(x - N[(y * N[(-1.0 - N[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(b * -2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -3.2e-56], N[(x / N[(y * N[(N[(N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision] + N[(x / y), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -750000000:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - \left(a + 0.8333333333333334\right) \cdot \left(b \cdot -2\right)\right)}\\
\mathbf{elif}\;b \leq -3.2 \cdot 10^{-56}:\\
\;\;\;\;\frac{x}{y \cdot \left(\left(2 \cdot \left(a \cdot c\right) + \frac{x}{y}\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -7.5e8Initial program 94.9%
Taylor expanded in b around inf 86.9%
associate-*r/86.9%
metadata-eval86.9%
+-commutative86.9%
Simplified86.9%
Taylor expanded in t around inf 73.7%
mul-1-neg73.7%
+-commutative73.7%
distribute-rgt-neg-in73.7%
+-commutative73.7%
mul-1-neg73.7%
distribute-lft-in73.7%
metadata-eval73.7%
mul-1-neg73.7%
unsub-neg73.7%
Simplified73.7%
Taylor expanded in b around 0 51.6%
associate-*r*51.6%
Simplified51.6%
if -7.5e8 < b < -3.19999999999999986e-56Initial program 95.2%
Taylor expanded in c around inf 76.9%
+-commutative76.9%
associate-*r/76.9%
metadata-eval76.9%
Simplified76.9%
Taylor expanded in a around inf 49.4%
Taylor expanded in y around inf 67.6%
Taylor expanded in a around 0 67.8%
if -3.19999999999999986e-56 < b Initial program 96.1%
Simplified97.7%
Taylor expanded in z around 0 90.1%
*-commutative90.1%
+-commutative90.1%
associate-*r/90.1%
metadata-eval90.1%
Simplified90.1%
Taylor expanded in a around inf 64.9%
*-commutative64.9%
Simplified64.9%
Taylor expanded in x around inf 58.2%
Final simplification57.4%
(FPCore (x y z t a b c) :precision binary64 (if (<= y -1.45e+194) (/ x (+ (+ x y) (* 2.0 (* a (* c y))))) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (y <= -1.45e+194) {
tmp = x / ((x + y) + (2.0 * (a * (c * y))));
} 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 (y <= (-1.45d+194)) then
tmp = x / ((x + y) + (2.0d0 * (a * (c * y))))
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 (y <= -1.45e+194) {
tmp = x / ((x + y) + (2.0 * (a * (c * y))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if y <= -1.45e+194: tmp = x / ((x + y) + (2.0 * (a * (c * y)))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (y <= -1.45e+194) tmp = Float64(x / Float64(Float64(x + y) + Float64(2.0 * Float64(a * Float64(c * y))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (y <= -1.45e+194) tmp = x / ((x + y) + (2.0 * (a * (c * y)))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[y, -1.45e+194], N[(x / N[(N[(x + y), $MachinePrecision] + N[(2.0 * N[(a * N[(c * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.45 \cdot 10^{+194}:\\
\;\;\;\;\frac{x}{\left(x + y\right) + 2 \cdot \left(a \cdot \left(c \cdot y\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if y < -1.45e194Initial program 95.7%
Taylor expanded in c around inf 74.7%
+-commutative74.7%
associate-*r/74.7%
metadata-eval74.7%
Simplified74.7%
Taylor expanded in a around inf 66.7%
Taylor expanded in c around 0 70.9%
associate-+r+70.9%
Simplified70.9%
if -1.45e194 < y Initial program 95.8%
Simplified96.6%
Taylor expanded in z around 0 90.9%
*-commutative90.9%
+-commutative90.9%
associate-*r/90.9%
metadata-eval90.9%
Simplified90.9%
Taylor expanded in a around inf 61.9%
*-commutative61.9%
Simplified61.9%
Taylor expanded in x around inf 52.6%
(FPCore (x y z t a b c) :precision binary64 (if (<= y -1.28e+194) (/ x (+ x (+ y (* 2.0 (* c (* a y)))))) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (y <= -1.28e+194) {
tmp = x / (x + (y + (2.0 * (c * (a * y)))));
} 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 (y <= (-1.28d+194)) then
tmp = x / (x + (y + (2.0d0 * (c * (a * y)))))
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 (y <= -1.28e+194) {
tmp = x / (x + (y + (2.0 * (c * (a * y)))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if y <= -1.28e+194: tmp = x / (x + (y + (2.0 * (c * (a * y))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (y <= -1.28e+194) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(c * Float64(a * y)))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (y <= -1.28e+194) tmp = x / (x + (y + (2.0 * (c * (a * y))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[y, -1.28e+194], N[(x / N[(x + N[(y + N[(2.0 * N[(c * N[(a * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.28 \cdot 10^{+194}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(a \cdot y\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if y < -1.28000000000000005e194Initial program 95.7%
Taylor expanded in c around inf 74.7%
+-commutative74.7%
associate-*r/74.7%
metadata-eval74.7%
Simplified74.7%
Taylor expanded in c around 0 74.7%
distribute-lft-out74.7%
+-commutative74.7%
associate-*r/74.7%
metadata-eval74.7%
unsub-neg74.7%
+-commutative74.7%
distribute-neg-frac74.7%
metadata-eval74.7%
+-commutative74.7%
associate-*r/74.7%
metadata-eval74.7%
unsub-neg74.7%
+-commutative74.7%
distribute-neg-frac74.7%
Simplified74.7%
Taylor expanded in c around 0 70.5%
associate--l+70.5%
associate-*r/70.5%
metadata-eval70.5%
Simplified70.5%
Taylor expanded in a around inf 62.5%
if -1.28000000000000005e194 < y Initial program 95.8%
Simplified96.6%
Taylor expanded in z around 0 90.9%
*-commutative90.9%
+-commutative90.9%
associate-*r/90.9%
metadata-eval90.9%
Simplified90.9%
Taylor expanded in a around inf 61.9%
*-commutative61.9%
Simplified61.9%
Taylor expanded in x around inf 52.6%
(FPCore (x y z t a b c) :precision binary64 (if (<= y -1.8e+242) (* -0.75 (/ (* t x) (* c y))) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (y <= -1.8e+242) {
tmp = -0.75 * ((t * x) / (c * y));
} 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 (y <= (-1.8d+242)) then
tmp = (-0.75d0) * ((t * x) / (c * y))
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 (y <= -1.8e+242) {
tmp = -0.75 * ((t * x) / (c * y));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if y <= -1.8e+242: tmp = -0.75 * ((t * x) / (c * y)) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (y <= -1.8e+242) tmp = Float64(-0.75 * Float64(Float64(t * x) / Float64(c * y))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (y <= -1.8e+242) tmp = -0.75 * ((t * x) / (c * y)); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[y, -1.8e+242], N[(-0.75 * N[(N[(t * x), $MachinePrecision] / N[(c * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.8 \cdot 10^{+242}:\\
\;\;\;\;-0.75 \cdot \frac{t \cdot x}{c \cdot y}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if y < -1.79999999999999997e242Initial program 93.3%
Taylor expanded in c around inf 74.2%
+-commutative74.2%
associate-*r/74.2%
metadata-eval74.2%
Simplified74.2%
Taylor expanded in c around 0 80.6%
distribute-lft-out80.6%
+-commutative80.6%
associate-*r/80.6%
metadata-eval80.6%
unsub-neg80.6%
+-commutative80.6%
distribute-neg-frac80.6%
metadata-eval80.6%
+-commutative80.6%
associate-*r/80.6%
metadata-eval80.6%
unsub-neg80.6%
+-commutative80.6%
distribute-neg-frac80.6%
Simplified80.6%
Taylor expanded in c around 0 74.2%
associate--l+74.2%
associate-*r/74.2%
metadata-eval74.2%
Simplified74.2%
Taylor expanded in t around 0 54.8%
if -1.79999999999999997e242 < y Initial program 95.9%
Simplified96.7%
Taylor expanded in z around 0 90.4%
*-commutative90.4%
+-commutative90.4%
associate-*r/90.4%
metadata-eval90.4%
Simplified90.4%
Taylor expanded in a around inf 62.3%
*-commutative62.3%
Simplified62.3%
Taylor expanded in x around inf 52.2%
(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 95.7%
Simplified96.5%
Taylor expanded in z around 0 90.6%
*-commutative90.6%
+-commutative90.6%
associate-*r/90.6%
metadata-eval90.6%
Simplified90.6%
Taylor expanded in a around inf 63.1%
*-commutative63.1%
Simplified63.1%
Taylor expanded in x around inf 50.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 2024106
(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)))))))))))