
(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 24 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
(/
x
(fma
y
(pow
(exp 2.0)
(fma
z
(/ (sqrt (+ t a)) t)
(* (- b c) (- (- (/ 0.6666666666666666 t) 0.8333333333333334) a))))
x)))
double code(double x, double y, double z, double t, double a, double b, double c) {
return x / fma(y, pow(exp(2.0), fma(z, (sqrt((t + a)) / t), ((b - c) * (((0.6666666666666666 / t) - 0.8333333333333334) - a)))), x);
}
function code(x, y, z, t, a, b, c) return Float64(x / fma(y, (exp(2.0) ^ fma(z, Float64(sqrt(Float64(t + a)) / t), Float64(Float64(b - c) * Float64(Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334) - a)))), x)) end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x / N[(y * N[Power[N[Exp[2.0], $MachinePrecision], N[(z * N[(N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision] / 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]
\begin{array}{l}
\\
\frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(z, \frac{\sqrt{t + a}}{t}, \left(b - c\right) \cdot \left(\left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right) - a\right)\right)\right)}, x\right)}
\end{array}
Initial program 89.9%
Simplified96.9%
Final simplification96.9%
(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 (* 1.3333333333333333 (/ (- b c) 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((1.3333333333333333 * ((b - c) / 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((1.3333333333333333 * ((b - c) / 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((1.3333333333333333 * ((b - c) / 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(1.3333333333333333 * Float64(Float64(b - c) / 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((1.3333333333333333 * ((b - c) / 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[(1.3333333333333333 * N[(N[(b - c), $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^{1.3333333333333333 \cdot \frac{b - c}{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 96.7%
exp-prod96.7%
Simplified99.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 61.8%
Taylor expanded in z around 0 62.4%
Final simplification96.6%
(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 (* 1.3333333333333333 (/ (- b c) 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((1.3333333333333333 * ((b - c) / 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((1.3333333333333333 * ((b - c) / 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((1.3333333333333333 * ((b - c) / 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(1.3333333333333333 * Float64(Float64(b - c) / 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((1.3333333333333333 * ((b - c) / 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[(1.3333333333333333 * N[(N[(b - c), $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^{1.3333333333333333 \cdot \frac{b - c}{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 96.7%
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 61.8%
Taylor expanded in z around 0 62.4%
Final simplification94.3%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(/
x
(+
x
(*
y
(exp
(*
2.0
(*
c
(+ 0.8333333333333334 (- a (/ 0.6666666666666666 t)))))))))))
(if (<= c -4.3e-28)
t_1
(if (<= c -1.5e-288)
(/
x
(+ x (* y (exp (* 2.0 (+ (/ (* z (sqrt (+ t a))) t) (* a (- c b))))))))
(if (<= c 5.5e-10)
(/
x
(+
x
(*
y
(exp
(*
2.0
(* b (- (/ 0.6666666666666666 t) (+ 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 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t))))))));
double tmp;
if (c <= -4.3e-28) {
tmp = t_1;
} else if (c <= -1.5e-288) {
tmp = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) + (a * (c - b)))))));
} else if (c <= 5.5e-10) {
tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (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 * (c * (0.8333333333333334d0 + (a - (0.6666666666666666d0 / t))))))))
if (c <= (-4.3d-28)) then
tmp = t_1
else if (c <= (-1.5d-288)) then
tmp = x / (x + (y * exp((2.0d0 * (((z * sqrt((t + a))) / t) + (a * (c - b)))))))
else if (c <= 5.5d-10) then
tmp = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (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 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t))))))));
double tmp;
if (c <= -4.3e-28) {
tmp = t_1;
} else if (c <= -1.5e-288) {
tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) + (a * (c - b)))))));
} else if (c <= 5.5e-10) {
tmp = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (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 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t)))))))) tmp = 0 if c <= -4.3e-28: tmp = t_1 elif c <= -1.5e-288: tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt((t + a))) / t) + (a * (c - b))))))) elif c <= 5.5e-10: tmp = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (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(c * Float64(0.8333333333333334 + Float64(a - Float64(0.6666666666666666 / t))))))))) tmp = 0.0 if (c <= -4.3e-28) tmp = t_1; elseif (c <= -1.5e-288) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) + Float64(a * Float64(c - b)))))))); elseif (c <= 5.5e-10) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - 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 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t)))))))); tmp = 0.0; if (c <= -4.3e-28) tmp = t_1; elseif (c <= -1.5e-288) tmp = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) + (a * (c - b))))))); elseif (c <= 5.5e-10) tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (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[(c * N[(0.8333333333333334 + N[(a - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -4.3e-28], t$95$1, If[LessEqual[c, -1.5e-288], 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[(a * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.5e-10], 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], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(a - \frac{0.6666666666666666}{t}\right)\right)\right)}}\\
\mathbf{if}\;c \leq -4.3 \cdot 10^{-28}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -1.5 \cdot 10^{-288}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} + a \cdot \left(c - b\right)\right)}}\\
\mathbf{elif}\;c \leq 5.5 \cdot 10^{-10}:\\
\;\;\;\;\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}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -4.3e-28 or 5.4999999999999996e-10 < c Initial program 88.1%
Taylor expanded in c around inf 85.0%
associate--l+85.0%
associate-*r/85.0%
metadata-eval85.0%
Simplified85.0%
if -4.3e-28 < c < -1.5e-288Initial program 96.5%
Taylor expanded in a around inf 87.9%
if -1.5e-288 < c < 5.4999999999999996e-10Initial program 88.0%
Taylor expanded in b around inf 93.4%
associate-*r/93.4%
metadata-eval93.4%
Simplified93.4%
Final simplification87.5%
(FPCore (x y z t a b c)
:precision binary64
(if (or (<= c -1.66e-21) (not (<= c 1.05e-10)))
(/
x
(+
x
(*
y
(exp
(* 2.0 (* c (+ 0.8333333333333334 (- a (/ 0.6666666666666666 t)))))))))
(/
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.66e-21) || !(c <= 1.05e-10)) {
tmp = x / (x + (y * exp((2.0 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t))))))));
} 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.66d-21)) .or. (.not. (c <= 1.05d-10))) then
tmp = x / (x + (y * exp((2.0d0 * (c * (0.8333333333333334d0 + (a - (0.6666666666666666d0 / t))))))))
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.66e-21) || !(c <= 1.05e-10)) {
tmp = x / (x + (y * Math.exp((2.0 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t))))))));
} 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.66e-21) or not (c <= 1.05e-10): tmp = x / (x + (y * math.exp((2.0 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t)))))))) 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.66e-21) || !(c <= 1.05e-10)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(0.8333333333333334 + Float64(a - Float64(0.6666666666666666 / t))))))))); 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.66e-21) || ~((c <= 1.05e-10))) tmp = x / (x + (y * exp((2.0 * (c * (0.8333333333333334 + (a - (0.6666666666666666 / t)))))))); 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.66e-21], N[Not[LessEqual[c, 1.05e-10]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(0.8333333333333334 + N[(a - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $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.66 \cdot 10^{-21} \lor \neg \left(c \leq 1.05 \cdot 10^{-10}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(0.8333333333333334 + \left(a - \frac{0.6666666666666666}{t}\right)\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.65999999999999993e-21 or 1.05e-10 < c Initial program 89.4%
Taylor expanded in c around inf 85.5%
associate--l+85.5%
associate-*r/85.5%
metadata-eval85.5%
Simplified85.5%
if -1.65999999999999993e-21 < c < 1.05e-10Initial program 90.6%
Taylor expanded in b around inf 80.9%
associate-*r/80.9%
metadata-eval80.9%
Simplified80.9%
Final simplification83.4%
(FPCore (x y z t a b c)
:precision binary64
(if (or (<= b -4.8e-53) (not (<= b 1.65e-61)))
(/
x
(+
x
(*
y
(exp
(* 2.0 (* b (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))
(/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b <= -4.8e-53) || !(b <= 1.65e-61)) {
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))))));
}
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.8d-53)) .or. (.not. (b <= 1.65d-61))) 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))))))
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.8e-53) || !(b <= 1.65e-61)) {
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))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (b <= -4.8e-53) or not (b <= 1.65e-61): 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)))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if ((b <= -4.8e-53) || !(b <= 1.65e-61)) 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(a + 0.8333333333333334))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if ((b <= -4.8e-53) || ~((b <= 1.65e-61))) 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)))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[b, -4.8e-53], N[Not[LessEqual[b, 1.65e-61]], $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[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.8 \cdot 10^{-53} \lor \neg \left(b \leq 1.65 \cdot 10^{-61}\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(a + 0.8333333333333334\right)\right)}}\\
\end{array}
\end{array}
if b < -4.80000000000000015e-53 or 1.64999999999999998e-61 < b Initial program 86.8%
Taylor expanded in b around inf 81.3%
associate-*r/81.3%
metadata-eval81.3%
Simplified81.3%
if -4.80000000000000015e-53 < b < 1.64999999999999998e-61Initial program 94.4%
Taylor expanded in c around inf 84.5%
associate--l+84.5%
associate-*r/84.5%
metadata-eval84.5%
Simplified84.5%
Taylor expanded in t around inf 71.8%
+-commutative71.8%
Simplified71.8%
Final simplification77.3%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t 0.0068)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
(if (<= t 2e+156)
(/ x (+ x (* y (exp (* 2.0 (* b (- -0.8333333333333334 a)))))))
(/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 0.0068) {
tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 2e+156) {
tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a))))));
} else {
tmp = x / (x + (y * exp((2.0 * (c * (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 (t <= 0.0068d0) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
else if (t <= 2d+156) then
tmp = x / (x + (y * exp((2.0d0 * (b * ((-0.8333333333333334d0) - a))))))
else
tmp = x / (x + (y * exp((2.0d0 * (c * (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 (t <= 0.0068) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 2e+156) {
tmp = x / (x + (y * Math.exp((2.0 * (b * (-0.8333333333333334 - a))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= 0.0068: tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) elif t <= 2e+156: tmp = x / (x + (y * math.exp((2.0 * (b * (-0.8333333333333334 - a)))))) else: tmp = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= 0.0068) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t)))))); elseif (t <= 2e+156) 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(2.0 * Float64(c * Float64(a + 0.8333333333333334))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= 0.0068) tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); elseif (t <= 2e+156) tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a)))))); else tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, 0.0068], 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, 2e+156], 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[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 0.0068:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{elif}\;t \leq 2 \cdot 10^{+156}:\\
\;\;\;\;\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^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\end{array}
\end{array}
if t < 0.00679999999999999962Initial program 88.7%
Taylor expanded in t around 0 76.3%
Taylor expanded in z around 0 75.2%
if 0.00679999999999999962 < t < 2e156Initial program 100.0%
Taylor expanded in b around inf 82.9%
associate-*r/82.9%
metadata-eval82.9%
Simplified82.9%
Taylor expanded in t around inf 82.9%
mul-1-neg82.9%
+-commutative82.9%
distribute-rgt-neg-in82.9%
+-commutative82.9%
distribute-neg-in82.9%
unsub-neg82.9%
metadata-eval82.9%
Simplified82.9%
if 2e156 < t Initial program 85.0%
Taylor expanded in c around inf 71.8%
associate--l+71.8%
associate-*r/71.8%
metadata-eval71.8%
Simplified71.8%
Taylor expanded in t around inf 71.8%
+-commutative71.8%
Simplified71.8%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -1.6e+14) (/ x (* y (exp (* b -1.6666666666666667)))) (if (<= b 2e-18) (/ 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.6e+14) {
tmp = x / (y * exp((b * -1.6666666666666667)));
} else if (b <= 2e-18) {
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.6d+14)) then
tmp = x / (y * exp((b * (-1.6666666666666667d0))))
else if (b <= 2d-18) 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.6e+14) {
tmp = x / (y * Math.exp((b * -1.6666666666666667)));
} else if (b <= 2e-18) {
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.6e+14: tmp = x / (y * math.exp((b * -1.6666666666666667))) elif b <= 2e-18: 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.6e+14) tmp = Float64(x / Float64(y * exp(Float64(b * -1.6666666666666667)))); elseif (b <= 2e-18) 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.6e+14) tmp = x / (y * exp((b * -1.6666666666666667))); elseif (b <= 2e-18) 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.6e+14], N[(x / N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2e-18], 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.6 \cdot 10^{+14}:\\
\;\;\;\;\frac{x}{y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{elif}\;b \leq 2 \cdot 10^{-18}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.6e14Initial program 85.9%
Taylor expanded in b around inf 81.5%
associate-*r/81.5%
metadata-eval81.5%
Simplified81.5%
Taylor expanded in t around inf 69.2%
mul-1-neg69.2%
+-commutative69.2%
distribute-rgt-neg-in69.2%
+-commutative69.2%
distribute-neg-in69.2%
unsub-neg69.2%
metadata-eval69.2%
Simplified69.2%
Taylor expanded in a around 0 67.7%
*-commutative67.7%
Simplified67.7%
Taylor expanded in x around 0 67.7%
if -1.6e14 < b < 2.0000000000000001e-18Initial program 94.7%
Taylor expanded in c around inf 79.7%
associate--l+79.7%
associate-*r/79.7%
metadata-eval79.7%
Simplified79.7%
Taylor expanded in a around inf 64.2%
if 2.0000000000000001e-18 < b Initial program 84.2%
Simplified93.8%
Taylor expanded in x around inf 73.9%
Final simplification67.4%
(FPCore (x y z t a b c) :precision binary64 (if (or (<= b -6.6e-9) (not (<= b 1.72e-37))) (/ x (+ x (* y (exp (* b -1.6666666666666667))))) (/ 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 ((b <= -6.6e-9) || !(b <= 1.72e-37)) {
tmp = x / (x + (y * exp((b * -1.6666666666666667))));
} 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 ((b <= (-6.6d-9)) .or. (.not. (b <= 1.72d-37))) then
tmp = x / (x + (y * exp((b * (-1.6666666666666667d0)))))
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 ((b <= -6.6e-9) || !(b <= 1.72e-37)) {
tmp = x / (x + (y * Math.exp((b * -1.6666666666666667))));
} else {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (b <= -6.6e-9) or not (b <= 1.72e-37): tmp = x / (x + (y * math.exp((b * -1.6666666666666667)))) 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 ((b <= -6.6e-9) || !(b <= 1.72e-37)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * -1.6666666666666667))))); 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 ((b <= -6.6e-9) || ~((b <= 1.72e-37))) tmp = x / (x + (y * exp((b * -1.6666666666666667)))); else tmp = x / (x + (y * exp((c * 1.6666666666666667)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[b, -6.6e-9], N[Not[LessEqual[b, 1.72e-37]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(b * -1.6666666666666667), $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}\;b \leq -6.6 \cdot 10^{-9} \lor \neg \left(b \leq 1.72 \cdot 10^{-37}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\end{array}
\end{array}
if b < -6.60000000000000037e-9 or 1.72000000000000008e-37 < b Initial program 85.3%
Taylor expanded in b around inf 81.3%
associate-*r/81.3%
metadata-eval81.3%
Simplified81.3%
Taylor expanded in t around inf 72.8%
mul-1-neg72.8%
+-commutative72.8%
distribute-rgt-neg-in72.8%
+-commutative72.8%
distribute-neg-in72.8%
unsub-neg72.8%
metadata-eval72.8%
Simplified72.8%
Taylor expanded in a around 0 69.2%
*-commutative69.2%
Simplified69.2%
if -6.60000000000000037e-9 < b < 1.72000000000000008e-37Initial program 95.1%
Taylor expanded in c around inf 80.9%
associate--l+80.9%
associate-*r/80.9%
metadata-eval80.9%
Simplified80.9%
Taylor expanded in t around inf 69.8%
+-commutative69.8%
Simplified69.8%
Taylor expanded in a around 0 64.2%
Final simplification66.8%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t 56000.0)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
(if (<= t 1.8e+156)
(/ x (+ x (* y (exp (* b -1.6666666666666667)))))
(/ 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 (t <= 56000.0) {
tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 1.8e+156) {
tmp = x / (x + (y * exp((b * -1.6666666666666667))));
} 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 (t <= 56000.0d0) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
else if (t <= 1.8d+156) then
tmp = x / (x + (y * exp((b * (-1.6666666666666667d0)))))
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 (t <= 56000.0) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 1.8e+156) {
tmp = x / (x + (y * Math.exp((b * -1.6666666666666667))));
} else {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= 56000.0: tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) elif t <= 1.8e+156: tmp = x / (x + (y * math.exp((b * -1.6666666666666667)))) 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 (t <= 56000.0) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t)))))); elseif (t <= 1.8e+156) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(b * -1.6666666666666667))))); 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 (t <= 56000.0) tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); elseif (t <= 1.8e+156) tmp = x / (x + (y * exp((b * -1.6666666666666667)))); else tmp = x / (x + (y * exp((c * 1.6666666666666667)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, 56000.0], 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.8e+156], N[(x / N[(x + N[(y * N[Exp[N[(b * -1.6666666666666667), $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}\;t \leq 56000:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{elif}\;t \leq 1.8 \cdot 10^{+156}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\end{array}
\end{array}
if t < 56000Initial program 88.9%
Taylor expanded in t around 0 75.2%
Taylor expanded in z around 0 74.2%
if 56000 < t < 1.79999999999999989e156Initial program 100.0%
Taylor expanded in b around inf 84.3%
associate-*r/84.3%
metadata-eval84.3%
Simplified84.3%
Taylor expanded in t around inf 84.3%
mul-1-neg84.3%
+-commutative84.3%
distribute-rgt-neg-in84.3%
+-commutative84.3%
distribute-neg-in84.3%
unsub-neg84.3%
metadata-eval84.3%
Simplified84.3%
Taylor expanded in a around 0 76.5%
*-commutative76.5%
Simplified76.5%
if 1.79999999999999989e156 < t Initial program 85.0%
Taylor expanded in c around inf 71.8%
associate--l+71.8%
associate-*r/71.8%
metadata-eval71.8%
Simplified71.8%
Taylor expanded in t around inf 71.8%
+-commutative71.8%
Simplified71.8%
Taylor expanded in a around 0 59.7%
Final simplification70.6%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -31500000000.0) (/ x (* y (exp (* b -1.6666666666666667)))) (if (<= b 9.5e-19) (/ 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 <= -31500000000.0) {
tmp = x / (y * exp((b * -1.6666666666666667)));
} else if (b <= 9.5e-19) {
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 <= (-31500000000.0d0)) then
tmp = x / (y * exp((b * (-1.6666666666666667d0))))
else if (b <= 9.5d-19) 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 <= -31500000000.0) {
tmp = x / (y * Math.exp((b * -1.6666666666666667)));
} else if (b <= 9.5e-19) {
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 <= -31500000000.0: tmp = x / (y * math.exp((b * -1.6666666666666667))) elif b <= 9.5e-19: 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 <= -31500000000.0) tmp = Float64(x / Float64(y * exp(Float64(b * -1.6666666666666667)))); elseif (b <= 9.5e-19) 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 <= -31500000000.0) tmp = x / (y * exp((b * -1.6666666666666667))); elseif (b <= 9.5e-19) 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, -31500000000.0], N[(x / N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9.5e-19], 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 -31500000000:\\
\;\;\;\;\frac{x}{y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{elif}\;b \leq 9.5 \cdot 10^{-19}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -3.15e10Initial program 84.6%
Taylor expanded in b around inf 81.8%
associate-*r/81.8%
metadata-eval81.8%
Simplified81.8%
Taylor expanded in t around inf 69.7%
mul-1-neg69.7%
+-commutative69.7%
distribute-rgt-neg-in69.7%
+-commutative69.7%
distribute-neg-in69.7%
unsub-neg69.7%
metadata-eval69.7%
Simplified69.7%
Taylor expanded in a around 0 68.2%
*-commutative68.2%
Simplified68.2%
Taylor expanded in x around 0 68.2%
if -3.15e10 < b < 9.4999999999999995e-19Initial program 95.4%
Taylor expanded in c around inf 79.6%
associate--l+79.6%
associate-*r/79.6%
metadata-eval79.6%
Simplified79.6%
Taylor expanded in t around inf 68.4%
+-commutative68.4%
Simplified68.4%
Taylor expanded in a around 0 62.4%
if 9.4999999999999995e-19 < b Initial program 84.2%
Simplified93.8%
Taylor expanded in x around inf 73.9%
Final simplification66.7%
(FPCore (x y z t a b c) :precision binary64 (if (<= t 2.6e-9) (/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t)))))) (/ 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 <= 2.6e-9) {
tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
} 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 <= 2.6d-9) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
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 <= 2.6e-9) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
} 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 <= 2.6e-9: tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) 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 <= 2.6e-9) 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(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 <= 2.6e-9) tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); 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, 2.6e-9], 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[(b * N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 2.6 \cdot 10^{-9}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\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 < 2.6000000000000001e-9Initial program 88.7%
Taylor expanded in t around 0 76.3%
Taylor expanded in z around 0 75.2%
if 2.6000000000000001e-9 < t Initial program 91.2%
Taylor expanded in b around inf 71.0%
associate-*r/71.0%
metadata-eval71.0%
Simplified71.0%
Taylor expanded in t around inf 71.0%
mul-1-neg71.0%
+-commutative71.0%
distribute-rgt-neg-in71.0%
+-commutative71.0%
distribute-neg-in71.0%
unsub-neg71.0%
metadata-eval71.0%
Simplified71.0%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -1.1e+23)
(/ x (* y (exp (* b -1.6666666666666667))))
(if (<= b -1.08e-231)
(/
x
(+
x
(*
y
(+
1.0
(/
(+
(* c -1.3333333333333333)
(* 2.0 (* c (* t (+ a 0.8333333333333334)))))
t)))))
1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.1e+23) {
tmp = x / (y * exp((b * -1.6666666666666667)));
} else if (b <= -1.08e-231) {
tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * (t * (a + 0.8333333333333334))))) / 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 (b <= (-1.1d+23)) then
tmp = x / (y * exp((b * (-1.6666666666666667d0))))
else if (b <= (-1.08d-231)) then
tmp = x / (x + (y * (1.0d0 + (((c * (-1.3333333333333333d0)) + (2.0d0 * (c * (t * (a + 0.8333333333333334d0))))) / 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 (b <= -1.1e+23) {
tmp = x / (y * Math.exp((b * -1.6666666666666667)));
} else if (b <= -1.08e-231) {
tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * (t * (a + 0.8333333333333334))))) / t))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.1e+23: tmp = x / (y * math.exp((b * -1.6666666666666667))) elif b <= -1.08e-231: tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * (t * (a + 0.8333333333333334))))) / t)))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.1e+23) tmp = Float64(x / Float64(y * exp(Float64(b * -1.6666666666666667)))); elseif (b <= -1.08e-231) tmp = Float64(x / Float64(x + Float64(y * Float64(1.0 + Float64(Float64(Float64(c * -1.3333333333333333) + Float64(2.0 * Float64(c * Float64(t * Float64(a + 0.8333333333333334))))) / t))))); 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.1e+23) tmp = x / (y * exp((b * -1.6666666666666667))); elseif (b <= -1.08e-231) tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * (t * (a + 0.8333333333333334))))) / t)))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.1e+23], N[(x / N[(y * N[Exp[N[(b * -1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.08e-231], N[(x / N[(x + N[(y * N[(1.0 + N[(N[(N[(c * -1.3333333333333333), $MachinePrecision] + N[(2.0 * N[(c * N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.1 \cdot 10^{+23}:\\
\;\;\;\;\frac{x}{y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{elif}\;b \leq -1.08 \cdot 10^{-231}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(1 + \frac{c \cdot -1.3333333333333333 + 2 \cdot \left(c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)\right)}{t}\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.10000000000000004e23Initial program 87.2%
Taylor expanded in b around inf 81.3%
associate-*r/81.3%
metadata-eval81.3%
Simplified81.3%
Taylor expanded in t around inf 68.8%
mul-1-neg68.8%
+-commutative68.8%
distribute-rgt-neg-in68.8%
+-commutative68.8%
distribute-neg-in68.8%
unsub-neg68.8%
metadata-eval68.8%
Simplified68.8%
Taylor expanded in a around 0 67.2%
*-commutative67.2%
Simplified67.2%
Taylor expanded in x around 0 67.2%
if -1.10000000000000004e23 < b < -1.08e-231Initial program 91.4%
Taylor expanded in c around inf 82.6%
associate--l+82.6%
associate-*r/82.6%
metadata-eval82.6%
Simplified82.6%
Taylor expanded in c around 0 43.4%
associate-*r*43.4%
associate-*r/43.4%
metadata-eval43.4%
associate-+r-43.4%
*-commutative43.4%
associate-+r-43.4%
+-commutative43.4%
associate--l+43.4%
sub-neg43.4%
distribute-neg-frac43.4%
metadata-eval43.4%
Simplified43.4%
Taylor expanded in t around 0 55.1%
if -1.08e-231 < b Initial program 90.6%
Simplified97.1%
Taylor expanded in x around inf 62.3%
Final simplification61.9%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c 3.3e-261)
1.0
(if (<= c 1.1e+67)
(/
x
(+
x
(+
y
(*
(* 2.0 b)
(/
(- (* y 0.6666666666666666) (* t (* y (+ a 0.8333333333333334))))
t)))))
(if (<= c 4.45e+167)
1.0
(/
x
(+
x
(*
y
(+
1.0
(/
(+
(* c -1.3333333333333333)
(* 2.0 (* c (* t (+ a 0.8333333333333334)))))
t)))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= 3.3e-261) {
tmp = 1.0;
} else if (c <= 1.1e+67) {
tmp = x / (x + (y + ((2.0 * b) * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t))));
} else if (c <= 4.45e+167) {
tmp = 1.0;
} else {
tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * (t * (a + 0.8333333333333334))))) / 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 (c <= 3.3d-261) then
tmp = 1.0d0
else if (c <= 1.1d+67) then
tmp = x / (x + (y + ((2.0d0 * b) * (((y * 0.6666666666666666d0) - (t * (y * (a + 0.8333333333333334d0)))) / t))))
else if (c <= 4.45d+167) then
tmp = 1.0d0
else
tmp = x / (x + (y * (1.0d0 + (((c * (-1.3333333333333333d0)) + (2.0d0 * (c * (t * (a + 0.8333333333333334d0))))) / 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 (c <= 3.3e-261) {
tmp = 1.0;
} else if (c <= 1.1e+67) {
tmp = x / (x + (y + ((2.0 * b) * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t))));
} else if (c <= 4.45e+167) {
tmp = 1.0;
} else {
tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * (t * (a + 0.8333333333333334))))) / t))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= 3.3e-261: tmp = 1.0 elif c <= 1.1e+67: tmp = x / (x + (y + ((2.0 * b) * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t)))) elif c <= 4.45e+167: tmp = 1.0 else: tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * (t * (a + 0.8333333333333334))))) / t)))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= 3.3e-261) tmp = 1.0; elseif (c <= 1.1e+67) tmp = Float64(x / Float64(x + Float64(y + Float64(Float64(2.0 * b) * Float64(Float64(Float64(y * 0.6666666666666666) - Float64(t * Float64(y * Float64(a + 0.8333333333333334)))) / t))))); elseif (c <= 4.45e+167) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(y * Float64(1.0 + Float64(Float64(Float64(c * -1.3333333333333333) + Float64(2.0 * Float64(c * Float64(t * Float64(a + 0.8333333333333334))))) / t))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= 3.3e-261) tmp = 1.0; elseif (c <= 1.1e+67) tmp = x / (x + (y + ((2.0 * b) * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t)))); elseif (c <= 4.45e+167) tmp = 1.0; else tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * (t * (a + 0.8333333333333334))))) / t)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, 3.3e-261], 1.0, If[LessEqual[c, 1.1e+67], N[(x / N[(x + N[(y + N[(N[(2.0 * b), $MachinePrecision] * N[(N[(N[(y * 0.6666666666666666), $MachinePrecision] - N[(t * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.45e+167], 1.0, N[(x / N[(x + N[(y * N[(1.0 + N[(N[(N[(c * -1.3333333333333333), $MachinePrecision] + N[(2.0 * N[(c * N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq 3.3 \cdot 10^{-261}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 1.1 \cdot 10^{+67}:\\
\;\;\;\;\frac{x}{x + \left(y + \left(2 \cdot b\right) \cdot \frac{y \cdot 0.6666666666666666 - t \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}{t}\right)}\\
\mathbf{elif}\;c \leq 4.45 \cdot 10^{+167}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(1 + \frac{c \cdot -1.3333333333333333 + 2 \cdot \left(c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)\right)}{t}\right)}\\
\end{array}
\end{array}
if c < 3.2999999999999998e-261 or 1.1e67 < c < 4.4500000000000003e167Initial program 90.0%
Simplified97.5%
Taylor expanded in x around inf 60.8%
if 3.2999999999999998e-261 < c < 1.1e67Initial program 90.6%
Taylor expanded in b around inf 81.7%
associate-*r/81.7%
metadata-eval81.7%
Simplified81.7%
Taylor expanded in b around 0 56.6%
associate-*r*56.6%
associate--r+56.6%
sub-neg56.6%
associate-*r/56.6%
metadata-eval56.6%
metadata-eval56.6%
Simplified56.6%
Taylor expanded in t around 0 62.7%
+-commutative62.7%
mul-1-neg62.7%
unsub-neg62.7%
*-commutative62.7%
*-commutative62.7%
*-commutative62.7%
Simplified62.7%
if 4.4500000000000003e167 < c Initial program 88.7%
Taylor expanded in c around inf 88.9%
associate--l+88.9%
associate-*r/88.9%
metadata-eval88.9%
Simplified88.9%
Taylor expanded in c around 0 61.4%
associate-*r*61.4%
associate-*r/61.4%
metadata-eval61.4%
associate-+r-61.4%
*-commutative61.4%
associate-+r-61.4%
+-commutative61.4%
associate--l+61.4%
sub-neg61.4%
distribute-neg-frac61.4%
metadata-eval61.4%
Simplified61.4%
Taylor expanded in t around 0 66.8%
Final simplification62.1%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (* t (+ a 0.8333333333333334))))
(if (<= c -7.2e-281)
1.0
(if (<= c 5.2e+67)
(/ x (+ x (+ y (* (* 2.0 b) (* y (/ (- 0.6666666666666666 t_1) t))))))
(if (<= c 4.45e+167)
1.0
(/
x
(+
x
(*
y
(+
1.0
(/ (+ (* c -1.3333333333333333) (* 2.0 (* c t_1))) t))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = t * (a + 0.8333333333333334);
double tmp;
if (c <= -7.2e-281) {
tmp = 1.0;
} else if (c <= 5.2e+67) {
tmp = x / (x + (y + ((2.0 * b) * (y * ((0.6666666666666666 - t_1) / t)))));
} else if (c <= 4.45e+167) {
tmp = 1.0;
} else {
tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * t_1))) / 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) :: t_1
real(8) :: tmp
t_1 = t * (a + 0.8333333333333334d0)
if (c <= (-7.2d-281)) then
tmp = 1.0d0
else if (c <= 5.2d+67) then
tmp = x / (x + (y + ((2.0d0 * b) * (y * ((0.6666666666666666d0 - t_1) / t)))))
else if (c <= 4.45d+167) then
tmp = 1.0d0
else
tmp = x / (x + (y * (1.0d0 + (((c * (-1.3333333333333333d0)) + (2.0d0 * (c * t_1))) / 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 t_1 = t * (a + 0.8333333333333334);
double tmp;
if (c <= -7.2e-281) {
tmp = 1.0;
} else if (c <= 5.2e+67) {
tmp = x / (x + (y + ((2.0 * b) * (y * ((0.6666666666666666 - t_1) / t)))));
} else if (c <= 4.45e+167) {
tmp = 1.0;
} else {
tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * t_1))) / t))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = t * (a + 0.8333333333333334) tmp = 0 if c <= -7.2e-281: tmp = 1.0 elif c <= 5.2e+67: tmp = x / (x + (y + ((2.0 * b) * (y * ((0.6666666666666666 - t_1) / t))))) elif c <= 4.45e+167: tmp = 1.0 else: tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * t_1))) / t)))) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(t * Float64(a + 0.8333333333333334)) tmp = 0.0 if (c <= -7.2e-281) tmp = 1.0; elseif (c <= 5.2e+67) tmp = Float64(x / Float64(x + Float64(y + Float64(Float64(2.0 * b) * Float64(y * Float64(Float64(0.6666666666666666 - t_1) / t)))))); elseif (c <= 4.45e+167) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(y * Float64(1.0 + Float64(Float64(Float64(c * -1.3333333333333333) + Float64(2.0 * Float64(c * t_1))) / t))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = t * (a + 0.8333333333333334); tmp = 0.0; if (c <= -7.2e-281) tmp = 1.0; elseif (c <= 5.2e+67) tmp = x / (x + (y + ((2.0 * b) * (y * ((0.6666666666666666 - t_1) / t))))); elseif (c <= 4.45e+167) tmp = 1.0; else tmp = x / (x + (y * (1.0 + (((c * -1.3333333333333333) + (2.0 * (c * t_1))) / t)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -7.2e-281], 1.0, If[LessEqual[c, 5.2e+67], N[(x / N[(x + N[(y + N[(N[(2.0 * b), $MachinePrecision] * N[(y * N[(N[(0.6666666666666666 - t$95$1), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.45e+167], 1.0, N[(x / N[(x + N[(y * N[(1.0 + N[(N[(N[(c * -1.3333333333333333), $MachinePrecision] + N[(2.0 * N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(a + 0.8333333333333334\right)\\
\mathbf{if}\;c \leq -7.2 \cdot 10^{-281}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 5.2 \cdot 10^{+67}:\\
\;\;\;\;\frac{x}{x + \left(y + \left(2 \cdot b\right) \cdot \left(y \cdot \frac{0.6666666666666666 - t\_1}{t}\right)\right)}\\
\mathbf{elif}\;c \leq 4.45 \cdot 10^{+167}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(1 + \frac{c \cdot -1.3333333333333333 + 2 \cdot \left(c \cdot t\_1\right)}{t}\right)}\\
\end{array}
\end{array}
if c < -7.20000000000000013e-281 or 5.2000000000000001e67 < c < 4.4500000000000003e167Initial program 90.9%
Simplified97.9%
Taylor expanded in x around inf 63.2%
if -7.20000000000000013e-281 < c < 5.2000000000000001e67Initial program 88.7%
Taylor expanded in b around inf 81.8%
associate-*r/81.8%
metadata-eval81.8%
Simplified81.8%
Taylor expanded in b around 0 51.9%
associate-*r*51.9%
associate--r+51.9%
sub-neg51.9%
associate-*r/51.9%
metadata-eval51.9%
metadata-eval51.9%
Simplified51.9%
Taylor expanded in t around 0 56.8%
mul-1-neg56.8%
unsub-neg56.8%
*-commutative56.8%
Simplified56.8%
if 4.4500000000000003e167 < c Initial program 88.7%
Taylor expanded in c around inf 88.9%
associate--l+88.9%
associate-*r/88.9%
metadata-eval88.9%
Simplified88.9%
Taylor expanded in c around 0 61.4%
associate-*r*61.4%
associate-*r/61.4%
metadata-eval61.4%
associate-+r-61.4%
*-commutative61.4%
associate-+r-61.4%
+-commutative61.4%
associate--l+61.4%
sub-neg61.4%
distribute-neg-frac61.4%
metadata-eval61.4%
Simplified61.4%
Taylor expanded in t around 0 66.8%
Final simplification61.7%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c -1.95e-280)
1.0
(if (<= c 1.8e+66)
(/
x
(+
x
(+
y
(*
(* 2.0 b)
(* y (/ (- 0.6666666666666666 (* t (+ a 0.8333333333333334))) t))))))
(if (<= c 3.6e+167)
1.0
(/
x
(-
x
(*
y
(-
-1.0
(*
(+ a (+ 0.8333333333333334 (/ -0.6666666666666666 t)))
(* 2.0 c))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= -1.95e-280) {
tmp = 1.0;
} else if (c <= 1.8e+66) {
tmp = x / (x + (y + ((2.0 * b) * (y * ((0.6666666666666666 - (t * (a + 0.8333333333333334))) / t)))));
} else if (c <= 3.6e+167) {
tmp = 1.0;
} else {
tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c)))));
}
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.95d-280)) then
tmp = 1.0d0
else if (c <= 1.8d+66) then
tmp = x / (x + (y + ((2.0d0 * b) * (y * ((0.6666666666666666d0 - (t * (a + 0.8333333333333334d0))) / t)))))
else if (c <= 3.6d+167) then
tmp = 1.0d0
else
tmp = x / (x - (y * ((-1.0d0) - ((a + (0.8333333333333334d0 + ((-0.6666666666666666d0) / t))) * (2.0d0 * c)))))
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.95e-280) {
tmp = 1.0;
} else if (c <= 1.8e+66) {
tmp = x / (x + (y + ((2.0 * b) * (y * ((0.6666666666666666 - (t * (a + 0.8333333333333334))) / t)))));
} else if (c <= 3.6e+167) {
tmp = 1.0;
} else {
tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= -1.95e-280: tmp = 1.0 elif c <= 1.8e+66: tmp = x / (x + (y + ((2.0 * b) * (y * ((0.6666666666666666 - (t * (a + 0.8333333333333334))) / t))))) elif c <= 3.6e+167: tmp = 1.0 else: tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= -1.95e-280) tmp = 1.0; elseif (c <= 1.8e+66) tmp = Float64(x / Float64(x + Float64(y + Float64(Float64(2.0 * b) * Float64(y * Float64(Float64(0.6666666666666666 - Float64(t * Float64(a + 0.8333333333333334))) / t)))))); elseif (c <= 3.6e+167) tmp = 1.0; else tmp = Float64(x / Float64(x - Float64(y * Float64(-1.0 - Float64(Float64(a + Float64(0.8333333333333334 + Float64(-0.6666666666666666 / t))) * Float64(2.0 * c)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= -1.95e-280) tmp = 1.0; elseif (c <= 1.8e+66) tmp = x / (x + (y + ((2.0 * b) * (y * ((0.6666666666666666 - (t * (a + 0.8333333333333334))) / t))))); elseif (c <= 3.6e+167) tmp = 1.0; else tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, -1.95e-280], 1.0, If[LessEqual[c, 1.8e+66], N[(x / N[(x + N[(y + N[(N[(2.0 * b), $MachinePrecision] * N[(y * N[(N[(0.6666666666666666 - N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.6e+167], 1.0, N[(x / N[(x - N[(y * N[(-1.0 - N[(N[(a + N[(0.8333333333333334 + N[(-0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(2.0 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -1.95 \cdot 10^{-280}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 1.8 \cdot 10^{+66}:\\
\;\;\;\;\frac{x}{x + \left(y + \left(2 \cdot b\right) \cdot \left(y \cdot \frac{0.6666666666666666 - t \cdot \left(a + 0.8333333333333334\right)}{t}\right)\right)}\\
\mathbf{elif}\;c \leq 3.6 \cdot 10^{+167}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right) \cdot \left(2 \cdot c\right)\right)}\\
\end{array}
\end{array}
if c < -1.94999999999999999e-280 or 1.8e66 < c < 3.60000000000000024e167Initial program 90.9%
Simplified97.9%
Taylor expanded in x around inf 63.2%
if -1.94999999999999999e-280 < c < 1.8e66Initial program 88.7%
Taylor expanded in b around inf 81.8%
associate-*r/81.8%
metadata-eval81.8%
Simplified81.8%
Taylor expanded in b around 0 51.9%
associate-*r*51.9%
associate--r+51.9%
sub-neg51.9%
associate-*r/51.9%
metadata-eval51.9%
metadata-eval51.9%
Simplified51.9%
Taylor expanded in t around 0 56.8%
mul-1-neg56.8%
unsub-neg56.8%
*-commutative56.8%
Simplified56.8%
if 3.60000000000000024e167 < c Initial program 88.7%
Taylor expanded in c around inf 88.9%
associate--l+88.9%
associate-*r/88.9%
metadata-eval88.9%
Simplified88.9%
Taylor expanded in c around 0 61.4%
associate-*r*61.4%
associate-*r/61.4%
metadata-eval61.4%
associate-+r-61.4%
*-commutative61.4%
associate-+r-61.4%
+-commutative61.4%
associate--l+61.4%
sub-neg61.4%
distribute-neg-frac61.4%
metadata-eval61.4%
Simplified61.4%
Final simplification61.0%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c 7.6e-262)
1.0
(if (<= c 1.7e+72)
(/
x
(+
x
(-
y
(*
(* b (* y 2.0))
(- (- a -0.8333333333333334) (/ 0.6666666666666666 t))))))
(if (<= c 2.5e+167)
1.0
(/
x
(-
x
(*
y
(-
-1.0
(*
(+ a (+ 0.8333333333333334 (/ -0.6666666666666666 t)))
(* 2.0 c))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= 7.6e-262) {
tmp = 1.0;
} else if (c <= 1.7e+72) {
tmp = x / (x + (y - ((b * (y * 2.0)) * ((a - -0.8333333333333334) - (0.6666666666666666 / t)))));
} else if (c <= 2.5e+167) {
tmp = 1.0;
} else {
tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c)))));
}
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 <= 7.6d-262) then
tmp = 1.0d0
else if (c <= 1.7d+72) then
tmp = x / (x + (y - ((b * (y * 2.0d0)) * ((a - (-0.8333333333333334d0)) - (0.6666666666666666d0 / t)))))
else if (c <= 2.5d+167) then
tmp = 1.0d0
else
tmp = x / (x - (y * ((-1.0d0) - ((a + (0.8333333333333334d0 + ((-0.6666666666666666d0) / t))) * (2.0d0 * c)))))
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 <= 7.6e-262) {
tmp = 1.0;
} else if (c <= 1.7e+72) {
tmp = x / (x + (y - ((b * (y * 2.0)) * ((a - -0.8333333333333334) - (0.6666666666666666 / t)))));
} else if (c <= 2.5e+167) {
tmp = 1.0;
} else {
tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= 7.6e-262: tmp = 1.0 elif c <= 1.7e+72: tmp = x / (x + (y - ((b * (y * 2.0)) * ((a - -0.8333333333333334) - (0.6666666666666666 / t))))) elif c <= 2.5e+167: tmp = 1.0 else: tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= 7.6e-262) tmp = 1.0; elseif (c <= 1.7e+72) tmp = Float64(x / Float64(x + Float64(y - Float64(Float64(b * Float64(y * 2.0)) * Float64(Float64(a - -0.8333333333333334) - Float64(0.6666666666666666 / t)))))); elseif (c <= 2.5e+167) tmp = 1.0; else tmp = Float64(x / Float64(x - Float64(y * Float64(-1.0 - Float64(Float64(a + Float64(0.8333333333333334 + Float64(-0.6666666666666666 / t))) * Float64(2.0 * c)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= 7.6e-262) tmp = 1.0; elseif (c <= 1.7e+72) tmp = x / (x + (y - ((b * (y * 2.0)) * ((a - -0.8333333333333334) - (0.6666666666666666 / t))))); elseif (c <= 2.5e+167) tmp = 1.0; else tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, 7.6e-262], 1.0, If[LessEqual[c, 1.7e+72], N[(x / N[(x + N[(y - N[(N[(b * N[(y * 2.0), $MachinePrecision]), $MachinePrecision] * N[(N[(a - -0.8333333333333334), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.5e+167], 1.0, N[(x / N[(x - N[(y * N[(-1.0 - N[(N[(a + N[(0.8333333333333334 + N[(-0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(2.0 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq 7.6 \cdot 10^{-262}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 1.7 \cdot 10^{+72}:\\
\;\;\;\;\frac{x}{x + \left(y - \left(b \cdot \left(y \cdot 2\right)\right) \cdot \left(\left(a - -0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}\\
\mathbf{elif}\;c \leq 2.5 \cdot 10^{+167}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right) \cdot \left(2 \cdot c\right)\right)}\\
\end{array}
\end{array}
if c < 7.6000000000000004e-262 or 1.6999999999999999e72 < c < 2.4999999999999998e167Initial program 90.0%
Simplified97.5%
Taylor expanded in x around inf 60.8%
if 7.6000000000000004e-262 < c < 1.6999999999999999e72Initial program 90.6%
Taylor expanded in b around inf 81.7%
associate-*r/81.7%
metadata-eval81.7%
Simplified81.7%
Taylor expanded in b around 0 56.6%
associate-*r*56.6%
associate--r+56.6%
sub-neg56.6%
associate-*r/56.6%
metadata-eval56.6%
metadata-eval56.6%
Simplified56.6%
Taylor expanded in b around 0 56.6%
associate-*r*56.6%
*-commutative56.6%
associate--r+56.6%
sub-neg56.6%
metadata-eval56.6%
associate-*r/56.6%
metadata-eval56.6%
associate-+r-56.6%
associate-*l*56.6%
*-commutative56.6%
associate-*l*56.6%
Simplified56.6%
if 2.4999999999999998e167 < c Initial program 88.7%
Taylor expanded in c around inf 88.9%
associate--l+88.9%
associate-*r/88.9%
metadata-eval88.9%
Simplified88.9%
Taylor expanded in c around 0 61.4%
associate-*r*61.4%
associate-*r/61.4%
metadata-eval61.4%
associate-+r-61.4%
*-commutative61.4%
associate-+r-61.4%
+-commutative61.4%
associate--l+61.4%
sub-neg61.4%
distribute-neg-frac61.4%
metadata-eval61.4%
Simplified61.4%
Final simplification59.8%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c 1.28e-259)
1.0
(if (<= c 2.4e+70)
(/
x
(+
x
(-
y
(*
(* 2.0 b)
(* y (- a (+ (/ 0.6666666666666666 t) -0.8333333333333334)))))))
(if (<= c 2.35e+167)
1.0
(/
x
(-
x
(*
y
(-
-1.0
(*
(+ a (+ 0.8333333333333334 (/ -0.6666666666666666 t)))
(* 2.0 c))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= 1.28e-259) {
tmp = 1.0;
} else if (c <= 2.4e+70) {
tmp = x / (x + (y - ((2.0 * b) * (y * (a - ((0.6666666666666666 / t) + -0.8333333333333334))))));
} else if (c <= 2.35e+167) {
tmp = 1.0;
} else {
tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c)))));
}
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.28d-259) then
tmp = 1.0d0
else if (c <= 2.4d+70) then
tmp = x / (x + (y - ((2.0d0 * b) * (y * (a - ((0.6666666666666666d0 / t) + (-0.8333333333333334d0)))))))
else if (c <= 2.35d+167) then
tmp = 1.0d0
else
tmp = x / (x - (y * ((-1.0d0) - ((a + (0.8333333333333334d0 + ((-0.6666666666666666d0) / t))) * (2.0d0 * c)))))
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.28e-259) {
tmp = 1.0;
} else if (c <= 2.4e+70) {
tmp = x / (x + (y - ((2.0 * b) * (y * (a - ((0.6666666666666666 / t) + -0.8333333333333334))))));
} else if (c <= 2.35e+167) {
tmp = 1.0;
} else {
tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= 1.28e-259: tmp = 1.0 elif c <= 2.4e+70: tmp = x / (x + (y - ((2.0 * b) * (y * (a - ((0.6666666666666666 / t) + -0.8333333333333334)))))) elif c <= 2.35e+167: tmp = 1.0 else: tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= 1.28e-259) tmp = 1.0; elseif (c <= 2.4e+70) tmp = Float64(x / Float64(x + Float64(y - Float64(Float64(2.0 * b) * Float64(y * Float64(a - Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334))))))); elseif (c <= 2.35e+167) tmp = 1.0; else tmp = Float64(x / Float64(x - Float64(y * Float64(-1.0 - Float64(Float64(a + Float64(0.8333333333333334 + Float64(-0.6666666666666666 / t))) * Float64(2.0 * c)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= 1.28e-259) tmp = 1.0; elseif (c <= 2.4e+70) tmp = x / (x + (y - ((2.0 * b) * (y * (a - ((0.6666666666666666 / t) + -0.8333333333333334)))))); elseif (c <= 2.35e+167) tmp = 1.0; else tmp = x / (x - (y * (-1.0 - ((a + (0.8333333333333334 + (-0.6666666666666666 / t))) * (2.0 * c))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, 1.28e-259], 1.0, If[LessEqual[c, 2.4e+70], N[(x / N[(x + N[(y - N[(N[(2.0 * b), $MachinePrecision] * N[(y * N[(a - N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.35e+167], 1.0, N[(x / N[(x - N[(y * N[(-1.0 - N[(N[(a + N[(0.8333333333333334 + N[(-0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(2.0 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq 1.28 \cdot 10^{-259}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 2.4 \cdot 10^{+70}:\\
\;\;\;\;\frac{x}{x + \left(y - \left(2 \cdot b\right) \cdot \left(y \cdot \left(a - \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)\right)\right)\right)}\\
\mathbf{elif}\;c \leq 2.35 \cdot 10^{+167}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right) \cdot \left(2 \cdot c\right)\right)}\\
\end{array}
\end{array}
if c < 1.27999999999999998e-259 or 2.39999999999999987e70 < c < 2.35000000000000006e167Initial program 90.0%
Simplified97.5%
Taylor expanded in x around inf 60.8%
if 1.27999999999999998e-259 < c < 2.39999999999999987e70Initial program 90.6%
Taylor expanded in b around inf 81.7%
associate-*r/81.7%
metadata-eval81.7%
Simplified81.7%
Taylor expanded in b around 0 56.6%
associate-*r*56.6%
associate--r+56.6%
sub-neg56.6%
associate-*r/56.6%
metadata-eval56.6%
metadata-eval56.6%
Simplified56.6%
if 2.35000000000000006e167 < c Initial program 88.7%
Taylor expanded in c around inf 88.9%
associate--l+88.9%
associate-*r/88.9%
metadata-eval88.9%
Simplified88.9%
Taylor expanded in c around 0 61.4%
associate-*r*61.4%
associate-*r/61.4%
metadata-eval61.4%
associate-+r-61.4%
*-commutative61.4%
associate-+r-61.4%
+-commutative61.4%
associate--l+61.4%
sub-neg61.4%
distribute-neg-frac61.4%
metadata-eval61.4%
Simplified61.4%
Final simplification59.8%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c 1.45e-261)
1.0
(if (<= c 1.95e-62)
(/ x (+ x (* y (+ 1.0 (* b (* a -2.0))))))
(if (<= c 6.2e+167) 1.0 (/ x (- x (* y (- -1.0 (* a (* 2.0 c))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= 1.45e-261) {
tmp = 1.0;
} else if (c <= 1.95e-62) {
tmp = x / (x + (y * (1.0 + (b * (a * -2.0)))));
} else if (c <= 6.2e+167) {
tmp = 1.0;
} else {
tmp = x / (x - (y * (-1.0 - (a * (2.0 * c)))));
}
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.45d-261) then
tmp = 1.0d0
else if (c <= 1.95d-62) then
tmp = x / (x + (y * (1.0d0 + (b * (a * (-2.0d0))))))
else if (c <= 6.2d+167) then
tmp = 1.0d0
else
tmp = x / (x - (y * ((-1.0d0) - (a * (2.0d0 * c)))))
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.45e-261) {
tmp = 1.0;
} else if (c <= 1.95e-62) {
tmp = x / (x + (y * (1.0 + (b * (a * -2.0)))));
} else if (c <= 6.2e+167) {
tmp = 1.0;
} else {
tmp = x / (x - (y * (-1.0 - (a * (2.0 * c)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= 1.45e-261: tmp = 1.0 elif c <= 1.95e-62: tmp = x / (x + (y * (1.0 + (b * (a * -2.0))))) elif c <= 6.2e+167: tmp = 1.0 else: tmp = x / (x - (y * (-1.0 - (a * (2.0 * c))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= 1.45e-261) tmp = 1.0; elseif (c <= 1.95e-62) tmp = Float64(x / Float64(x + Float64(y * Float64(1.0 + Float64(b * Float64(a * -2.0)))))); elseif (c <= 6.2e+167) tmp = 1.0; else tmp = Float64(x / Float64(x - Float64(y * Float64(-1.0 - Float64(a * Float64(2.0 * c)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= 1.45e-261) tmp = 1.0; elseif (c <= 1.95e-62) tmp = x / (x + (y * (1.0 + (b * (a * -2.0))))); elseif (c <= 6.2e+167) tmp = 1.0; else tmp = x / (x - (y * (-1.0 - (a * (2.0 * c))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, 1.45e-261], 1.0, If[LessEqual[c, 1.95e-62], N[(x / N[(x + N[(y * N[(1.0 + N[(b * N[(a * -2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.2e+167], 1.0, N[(x / N[(x - N[(y * N[(-1.0 - N[(a * N[(2.0 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq 1.45 \cdot 10^{-261}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 1.95 \cdot 10^{-62}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(1 + b \cdot \left(a \cdot -2\right)\right)}\\
\mathbf{elif}\;c \leq 6.2 \cdot 10^{+167}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - a \cdot \left(2 \cdot c\right)\right)}\\
\end{array}
\end{array}
if c < 1.44999999999999993e-261 or 1.9500000000000002e-62 < c < 6.1999999999999999e167Initial program 89.8%
Simplified97.3%
Taylor expanded in x around inf 57.1%
if 1.44999999999999993e-261 < c < 1.9500000000000002e-62Initial program 91.8%
Taylor expanded in b around inf 100.0%
associate-*r/100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in a around inf 83.9%
associate-*r*83.9%
neg-mul-183.9%
Simplified83.9%
Taylor expanded in a around 0 68.0%
associate-*r*68.0%
*-commutative68.0%
Simplified68.0%
if 6.1999999999999999e167 < c Initial program 88.7%
Taylor expanded in c around inf 88.9%
associate--l+88.9%
associate-*r/88.9%
metadata-eval88.9%
Simplified88.9%
Taylor expanded in c around 0 61.4%
associate-*r*61.4%
associate-*r/61.4%
metadata-eval61.4%
associate-+r-61.4%
*-commutative61.4%
associate-+r-61.4%
+-commutative61.4%
associate--l+61.4%
sub-neg61.4%
distribute-neg-frac61.4%
metadata-eval61.4%
Simplified61.4%
Taylor expanded in a around inf 50.5%
Final simplification57.7%
(FPCore (x y z t a b c)
:precision binary64
(if (<= c 6.2e-259)
1.0
(if (<= c 3.55e+87)
(/ x (+ x (* y (+ (* b -1.6666666666666667) 1.0))))
(if (<= c 5.3e+167) 1.0 (/ x (- x (* y (- -1.0 (* a (* 2.0 c))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (c <= 6.2e-259) {
tmp = 1.0;
} else if (c <= 3.55e+87) {
tmp = x / (x + (y * ((b * -1.6666666666666667) + 1.0)));
} else if (c <= 5.3e+167) {
tmp = 1.0;
} else {
tmp = x / (x - (y * (-1.0 - (a * (2.0 * c)))));
}
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 <= 6.2d-259) then
tmp = 1.0d0
else if (c <= 3.55d+87) then
tmp = x / (x + (y * ((b * (-1.6666666666666667d0)) + 1.0d0)))
else if (c <= 5.3d+167) then
tmp = 1.0d0
else
tmp = x / (x - (y * ((-1.0d0) - (a * (2.0d0 * c)))))
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 <= 6.2e-259) {
tmp = 1.0;
} else if (c <= 3.55e+87) {
tmp = x / (x + (y * ((b * -1.6666666666666667) + 1.0)));
} else if (c <= 5.3e+167) {
tmp = 1.0;
} else {
tmp = x / (x - (y * (-1.0 - (a * (2.0 * c)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if c <= 6.2e-259: tmp = 1.0 elif c <= 3.55e+87: tmp = x / (x + (y * ((b * -1.6666666666666667) + 1.0))) elif c <= 5.3e+167: tmp = 1.0 else: tmp = x / (x - (y * (-1.0 - (a * (2.0 * c))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (c <= 6.2e-259) tmp = 1.0; elseif (c <= 3.55e+87) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(b * -1.6666666666666667) + 1.0)))); elseif (c <= 5.3e+167) tmp = 1.0; else tmp = Float64(x / Float64(x - Float64(y * Float64(-1.0 - Float64(a * Float64(2.0 * c)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (c <= 6.2e-259) tmp = 1.0; elseif (c <= 3.55e+87) tmp = x / (x + (y * ((b * -1.6666666666666667) + 1.0))); elseif (c <= 5.3e+167) tmp = 1.0; else tmp = x / (x - (y * (-1.0 - (a * (2.0 * c))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[c, 6.2e-259], 1.0, If[LessEqual[c, 3.55e+87], N[(x / N[(x + N[(y * N[(N[(b * -1.6666666666666667), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.3e+167], 1.0, N[(x / N[(x - N[(y * N[(-1.0 - N[(a * N[(2.0 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq 6.2 \cdot 10^{-259}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 3.55 \cdot 10^{+87}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(b \cdot -1.6666666666666667 + 1\right)}\\
\mathbf{elif}\;c \leq 5.3 \cdot 10^{+167}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - a \cdot \left(2 \cdot c\right)\right)}\\
\end{array}
\end{array}
if c < 6.1999999999999995e-259 or 3.5499999999999999e87 < c < 5.2999999999999997e167Initial program 89.8%
Simplified97.5%
Taylor expanded in x around inf 60.9%
if 6.1999999999999995e-259 < c < 3.5499999999999999e87Initial program 90.9%
Taylor expanded in b around inf 82.3%
associate-*r/82.3%
metadata-eval82.3%
Simplified82.3%
Taylor expanded in t around inf 73.4%
mul-1-neg73.4%
+-commutative73.4%
distribute-rgt-neg-in73.4%
+-commutative73.4%
distribute-neg-in73.4%
unsub-neg73.4%
metadata-eval73.4%
Simplified73.4%
Taylor expanded in a around 0 68.9%
*-commutative68.9%
Simplified68.9%
Taylor expanded in b around 0 53.7%
if 5.2999999999999997e167 < c Initial program 88.7%
Taylor expanded in c around inf 88.9%
associate--l+88.9%
associate-*r/88.9%
metadata-eval88.9%
Simplified88.9%
Taylor expanded in c around 0 61.4%
associate-*r*61.4%
associate-*r/61.4%
metadata-eval61.4%
associate-+r-61.4%
*-commutative61.4%
associate-+r-61.4%
+-commutative61.4%
associate--l+61.4%
sub-neg61.4%
distribute-neg-frac61.4%
metadata-eval61.4%
Simplified61.4%
Taylor expanded in a around inf 50.5%
Final simplification57.6%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (+ 1.0 (/ x y))))
(if (<= x -2.7e+246)
(/ x (* y t_1))
(if (<= x -6.2e-132) 1.0 (if (<= x 3.9e-258) (+ t_1 -1.0) 1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = 1.0 + (x / y);
double tmp;
if (x <= -2.7e+246) {
tmp = x / (y * t_1);
} else if (x <= -6.2e-132) {
tmp = 1.0;
} else if (x <= 3.9e-258) {
tmp = t_1 + -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) :: t_1
real(8) :: tmp
t_1 = 1.0d0 + (x / y)
if (x <= (-2.7d+246)) then
tmp = x / (y * t_1)
else if (x <= (-6.2d-132)) then
tmp = 1.0d0
else if (x <= 3.9d-258) then
tmp = t_1 + (-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 t_1 = 1.0 + (x / y);
double tmp;
if (x <= -2.7e+246) {
tmp = x / (y * t_1);
} else if (x <= -6.2e-132) {
tmp = 1.0;
} else if (x <= 3.9e-258) {
tmp = t_1 + -1.0;
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = 1.0 + (x / y) tmp = 0 if x <= -2.7e+246: tmp = x / (y * t_1) elif x <= -6.2e-132: tmp = 1.0 elif x <= 3.9e-258: tmp = t_1 + -1.0 else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(1.0 + Float64(x / y)) tmp = 0.0 if (x <= -2.7e+246) tmp = Float64(x / Float64(y * t_1)); elseif (x <= -6.2e-132) tmp = 1.0; elseif (x <= 3.9e-258) tmp = Float64(t_1 + -1.0); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = 1.0 + (x / y); tmp = 0.0; if (x <= -2.7e+246) tmp = x / (y * t_1); elseif (x <= -6.2e-132) tmp = 1.0; elseif (x <= 3.9e-258) tmp = t_1 + -1.0; else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(1.0 + N[(x / y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.7e+246], N[(x / N[(y * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -6.2e-132], 1.0, If[LessEqual[x, 3.9e-258], N[(t$95$1 + -1.0), $MachinePrecision], 1.0]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 1 + \frac{x}{y}\\
\mathbf{if}\;x \leq -2.7 \cdot 10^{+246}:\\
\;\;\;\;\frac{x}{y \cdot t\_1}\\
\mathbf{elif}\;x \leq -6.2 \cdot 10^{-132}:\\
\;\;\;\;1\\
\mathbf{elif}\;x \leq 3.9 \cdot 10^{-258}:\\
\;\;\;\;t\_1 + -1\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if x < -2.7e246Initial program 90.3%
Taylor expanded in b around inf 61.3%
associate-*r/61.3%
metadata-eval61.3%
Simplified61.3%
Taylor expanded in b around 0 22.2%
Taylor expanded in y around inf 70.6%
if -2.7e246 < x < -6.20000000000000016e-132 or 3.90000000000000004e-258 < x Initial program 89.8%
Simplified97.1%
Taylor expanded in x around inf 57.1%
if -6.20000000000000016e-132 < x < 3.90000000000000004e-258Initial program 90.5%
Taylor expanded in b around inf 56.4%
associate-*r/56.4%
metadata-eval56.4%
Simplified56.4%
Taylor expanded in b around 0 20.6%
Taylor expanded in x around 0 20.6%
expm1-log1p-u20.4%
log1p-define56.4%
expm1-undefine56.4%
add-exp-log56.6%
+-commutative56.6%
Applied egg-rr56.6%
Final simplification57.6%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -9.5e+118)
(/
x
(+ x (* y (+ 1.0 (* b (- (* b 1.3888888888888888) 1.6666666666666667))))))
1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -9.5e+118) {
tmp = x / (x + (y * (1.0 + (b * ((b * 1.3888888888888888) - 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 <= (-9.5d+118)) then
tmp = x / (x + (y * (1.0d0 + (b * ((b * 1.3888888888888888d0) - 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 <= -9.5e+118) {
tmp = x / (x + (y * (1.0 + (b * ((b * 1.3888888888888888) - 1.6666666666666667)))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -9.5e+118: tmp = x / (x + (y * (1.0 + (b * ((b * 1.3888888888888888) - 1.6666666666666667))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -9.5e+118) tmp = Float64(x / Float64(x + Float64(y * Float64(1.0 + Float64(b * Float64(Float64(b * 1.3888888888888888) - 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 <= -9.5e+118) tmp = x / (x + (y * (1.0 + (b * ((b * 1.3888888888888888) - 1.6666666666666667))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -9.5e+118], N[(x / N[(x + N[(y * N[(1.0 + N[(b * N[(N[(b * 1.3888888888888888), $MachinePrecision] - 1.6666666666666667), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -9.5 \cdot 10^{+118}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(1 + b \cdot \left(b \cdot 1.3888888888888888 - 1.6666666666666667\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -9.49999999999999974e118Initial program 85.9%
Taylor expanded in b around inf 90.8%
associate-*r/90.8%
metadata-eval90.8%
Simplified90.8%
Taylor expanded in t around inf 72.3%
mul-1-neg72.3%
+-commutative72.3%
distribute-rgt-neg-in72.3%
+-commutative72.3%
distribute-neg-in72.3%
unsub-neg72.3%
metadata-eval72.3%
Simplified72.3%
Taylor expanded in a around 0 67.7%
*-commutative67.7%
Simplified67.7%
Taylor expanded in b around 0 63.3%
if -9.49999999999999974e118 < b Initial program 90.7%
Simplified97.7%
Taylor expanded in x around inf 55.1%
Final simplification56.4%
(FPCore (x y z t a b c) :precision binary64 (if (<= x -3.4e-130) 1.0 (if (<= x 3.3e-258) (+ (+ 1.0 (/ 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 (x <= -3.4e-130) {
tmp = 1.0;
} else if (x <= 3.3e-258) {
tmp = (1.0 + (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 (x <= (-3.4d-130)) then
tmp = 1.0d0
else if (x <= 3.3d-258) then
tmp = (1.0d0 + (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 (x <= -3.4e-130) {
tmp = 1.0;
} else if (x <= 3.3e-258) {
tmp = (1.0 + (x / y)) + -1.0;
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if x <= -3.4e-130: tmp = 1.0 elif x <= 3.3e-258: tmp = (1.0 + (x / y)) + -1.0 else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (x <= -3.4e-130) tmp = 1.0; elseif (x <= 3.3e-258) tmp = Float64(Float64(1.0 + 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 (x <= -3.4e-130) tmp = 1.0; elseif (x <= 3.3e-258) tmp = (1.0 + (x / y)) + -1.0; else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[x, -3.4e-130], 1.0, If[LessEqual[x, 3.3e-258], N[(N[(1.0 + N[(x / y), $MachinePrecision]), $MachinePrecision] + -1.0), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.4 \cdot 10^{-130}:\\
\;\;\;\;1\\
\mathbf{elif}\;x \leq 3.3 \cdot 10^{-258}:\\
\;\;\;\;\left(1 + \frac{x}{y}\right) + -1\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if x < -3.40000000000000005e-130 or 3.3e-258 < x Initial program 89.8%
Simplified97.2%
Taylor expanded in x around inf 55.5%
if -3.40000000000000005e-130 < x < 3.3e-258Initial program 90.5%
Taylor expanded in b around inf 56.4%
associate-*r/56.4%
metadata-eval56.4%
Simplified56.4%
Taylor expanded in b around 0 20.6%
Taylor expanded in x around 0 20.6%
expm1-log1p-u20.4%
log1p-define56.4%
expm1-undefine56.4%
add-exp-log56.6%
+-commutative56.6%
Applied egg-rr56.6%
Final simplification55.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 89.9%
Simplified96.9%
Taylor expanded in x around inf 51.8%
(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 2024146
(FPCore (x y z t a b c)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, I"
:precision binary64
:alt
(! :herbie-platform default (if (< t -2118326644891581/100000000000000000000000000000000000000000000000000000000000000000) (/ x (+ x (* y (exp (* 2 (- (+ (* a c) (* 4166666666666667/5000000000000000 c)) (* a b))))))) (if (< t 5196588770651547/1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (/ x (+ x (* y (exp (* 2 (/ (- (* (* z (sqrt (+ t a))) (* (* 3 t) (- a (/ 5 6)))) (* (- (* (+ (/ 5 6) a) (* 3 t)) 2) (* (- a (/ 5 6)) (* (- b c) t)))) (* (* (* t t) 3) (- a (/ 5 6))))))))) (/ x (+ x (* y (exp (* 2 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5 6)) (/ 2 (* t 3)))))))))))))
(/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))