
(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 17 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c)
:precision binary64
(/
x
(+
x
(*
y
(exp
(*
2.0
(-
(/ (* z (sqrt (+ t a))) t)
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
return x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
code = x / (x + (y * exp((2.0d0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0d0 / 6.0d0)) - (2.0d0 / (t * 3.0d0)))))))))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
return x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
def code(x, y, z, t, a, b, c): return x / (x + (y * math.exp((2.0 * (((z * math.sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))))
function code(x, y, z, t, a, b, c) return Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0)))))))))) end
function tmp = code(x, y, z, t, a, b, c) tmp = x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0))))))))); end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}
\end{array}
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(+
(/ (* 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.6666666666666667 (- c b)))))))))
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.6666666666666667 * (c - b)))));
}
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.6666666666666667 * (c - b)))));
}
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.6666666666666667 * (c - b))))) 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.6666666666666667 * Float64(c - b)))))); 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.6666666666666667 * (c - b))))); 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.6666666666666667 * N[(c - b), $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.6666666666666667 \cdot \left(c - b\right)}}\\
\end{array}
\end{array}
if (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 5 6)) (/.f64 2 (*.f64 t 3))))) < +inf.0Initial program 99.2%
if +inf.0 < (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 5 6)) (/.f64 2 (*.f64 t 3))))) Initial program 0.0%
Taylor expanded in t around inf 82.9%
+-commutative82.9%
*-commutative82.9%
associate-*r*82.9%
neg-mul-182.9%
neg-sub082.9%
associate--r-82.9%
neg-sub082.9%
+-commutative82.9%
sub-neg82.9%
Simplified82.9%
Taylor expanded in a around 0 82.9%
Final simplification98.1%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(/
x
(+
x
(*
y
(exp
(*
2.0
(*
c
(+ a (+ 0.8333333333333334 (/ -0.6666666666666666 t)))))))))))
(if (<= t -3.1e-40)
(/ x (+ x (* y (pow (exp (* a 2.0)) (- c b)))))
(if (<= t 6.4e-164)
(/
x
(+
x
(*
y
(exp
(* 2.0 (/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) t))))))
(if (<= t 1.5e-55)
t_1
(if (<= t 0.14)
(/
x
(+
x
(*
y
(exp
(*
2.0
(*
b
(- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))
(if (<= t 43000000000.0)
t_1
(if (or (<= t 1e+139) (not (<= t 1.22e+278)))
(/
x
(+
x
(*
y
(exp
(*
2.0
(+
(* z (sqrt (/ 1.0 t)))
(* 0.8333333333333334 (- c b))))))))
(/
x
(+
x
(*
y
(exp (* 2.0 (* (+ a 0.8333333333333334) (- c b)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((2.0 * (c * (a + (0.8333333333333334 + (-0.6666666666666666 / t))))))));
double tmp;
if (t <= -3.1e-40) {
tmp = x / (x + (y * pow(exp((a * 2.0)), (c - b))));
} else if (t <= 6.4e-164) {
tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
} else if (t <= 1.5e-55) {
tmp = t_1;
} else if (t <= 0.14) {
tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
} else if (t <= 43000000000.0) {
tmp = t_1;
} else if ((t <= 1e+139) || !(t <= 1.22e+278)) {
tmp = x / (x + (y * exp((2.0 * ((z * sqrt((1.0 / t))) + (0.8333333333333334 * (c - b)))))));
} else {
tmp = x / (x + (y * exp((2.0 * ((a + 0.8333333333333334) * (c - b))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = x / (x + (y * exp((2.0d0 * (c * (a + (0.8333333333333334d0 + ((-0.6666666666666666d0) / t))))))))
if (t <= (-3.1d-40)) then
tmp = x / (x + (y * (exp((a * 2.0d0)) ** (c - b))))
else if (t <= 6.4d-164) then
tmp = x / (x + (y * exp((2.0d0 * (((z * sqrt(a)) + ((-0.6666666666666666d0) * (c - b))) / t)))))
else if (t <= 1.5d-55) then
tmp = t_1
else if (t <= 0.14d0) then
tmp = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
else if (t <= 43000000000.0d0) then
tmp = t_1
else if ((t <= 1d+139) .or. (.not. (t <= 1.22d+278))) then
tmp = x / (x + (y * exp((2.0d0 * ((z * sqrt((1.0d0 / t))) + (0.8333333333333334d0 * (c - b)))))))
else
tmp = x / (x + (y * exp((2.0d0 * ((a + 0.8333333333333334d0) * (c - b))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * Math.exp((2.0 * (c * (a + (0.8333333333333334 + (-0.6666666666666666 / t))))))));
double tmp;
if (t <= -3.1e-40) {
tmp = x / (x + (y * Math.pow(Math.exp((a * 2.0)), (c - b))));
} else if (t <= 6.4e-164) {
tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
} else if (t <= 1.5e-55) {
tmp = t_1;
} else if (t <= 0.14) {
tmp = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
} else if (t <= 43000000000.0) {
tmp = t_1;
} else if ((t <= 1e+139) || !(t <= 1.22e+278)) {
tmp = x / (x + (y * Math.exp((2.0 * ((z * Math.sqrt((1.0 / t))) + (0.8333333333333334 * (c - b)))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * ((a + 0.8333333333333334) * (c - b))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((2.0 * (c * (a + (0.8333333333333334 + (-0.6666666666666666 / t)))))))) tmp = 0 if t <= -3.1e-40: tmp = x / (x + (y * math.pow(math.exp((a * 2.0)), (c - b)))) elif t <= 6.4e-164: tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))) elif t <= 1.5e-55: tmp = t_1 elif t <= 0.14: tmp = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))) elif t <= 43000000000.0: tmp = t_1 elif (t <= 1e+139) or not (t <= 1.22e+278): tmp = x / (x + (y * math.exp((2.0 * ((z * math.sqrt((1.0 / t))) + (0.8333333333333334 * (c - b))))))) else: tmp = x / (x + (y * math.exp((2.0 * ((a + 0.8333333333333334) * (c - b)))))) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + Float64(0.8333333333333334 + Float64(-0.6666666666666666 / t))))))))) tmp = 0.0 if (t <= -3.1e-40) tmp = Float64(x / Float64(x + Float64(y * (exp(Float64(a * 2.0)) ^ Float64(c - b))))); elseif (t <= 6.4e-164) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(a)) + Float64(-0.6666666666666666 * Float64(c - b))) / t)))))); elseif (t <= 1.5e-55) tmp = t_1; elseif (t <= 0.14) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))))))); elseif (t <= 43000000000.0) tmp = t_1; elseif ((t <= 1e+139) || !(t <= 1.22e+278)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(z * sqrt(Float64(1.0 / t))) + Float64(0.8333333333333334 * Float64(c - b)))))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(a + 0.8333333333333334) * Float64(c - b))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((2.0 * (c * (a + (0.8333333333333334 + (-0.6666666666666666 / t)))))))); tmp = 0.0; if (t <= -3.1e-40) tmp = x / (x + (y * (exp((a * 2.0)) ^ (c - b)))); elseif (t <= 6.4e-164) tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))); elseif (t <= 1.5e-55) tmp = t_1; elseif (t <= 0.14) tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))); elseif (t <= 43000000000.0) tmp = t_1; elseif ((t <= 1e+139) || ~((t <= 1.22e+278))) tmp = x / (x + (y * exp((2.0 * ((z * sqrt((1.0 / t))) + (0.8333333333333334 * (c - b))))))); else tmp = x / (x + (y * exp((2.0 * ((a + 0.8333333333333334) * (c - b)))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + N[(0.8333333333333334 + N[(-0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.1e-40], N[(x / N[(x + N[(y * N[Power[N[Exp[N[(a * 2.0), $MachinePrecision]], $MachinePrecision], N[(c - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6.4e-164], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[a], $MachinePrecision]), $MachinePrecision] + N[(-0.6666666666666666 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.5e-55], t$95$1, If[LessEqual[t, 0.14], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 43000000000.0], t$95$1, If[Or[LessEqual[t, 1e+139], N[Not[LessEqual[t, 1.22e+278]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(z * N[Sqrt[N[(1.0 / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] + N[(0.8333333333333334 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)}}\\
\mathbf{if}\;t \leq -3.1 \cdot 10^{-40}:\\
\;\;\;\;\frac{x}{x + y \cdot {\left(e^{a \cdot 2}\right)}^{\left(c - b\right)}}\\
\mathbf{elif}\;t \leq 6.4 \cdot 10^{-164}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\mathbf{elif}\;t \leq 1.5 \cdot 10^{-55}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 0.14:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
\mathbf{elif}\;t \leq 43000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 10^{+139} \lor \neg \left(t \leq 1.22 \cdot 10^{+278}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + 0.8333333333333334 \cdot \left(c - b\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\
\end{array}
\end{array}
if t < -3.10000000000000011e-40Initial program 82.4%
Taylor expanded in a around inf 97.4%
associate-*r*97.4%
exp-prod100.0%
Applied egg-rr100.0%
if -3.10000000000000011e-40 < t < 6.4000000000000001e-164Initial program 85.9%
Taylor expanded in t around 0 93.1%
if 6.4000000000000001e-164 < t < 1.50000000000000008e-55 or 0.14000000000000001 < t < 4.3e10Initial program 97.5%
Taylor expanded in c around inf 85.5%
cancel-sign-sub-inv85.5%
+-commutative85.5%
metadata-eval85.5%
associate-*r/85.5%
metadata-eval85.5%
associate-+r+85.5%
Simplified85.5%
if 1.50000000000000008e-55 < t < 0.14000000000000001Initial program 99.9%
Taylor expanded in b around inf 77.7%
associate-*r/77.7%
metadata-eval77.7%
+-commutative77.7%
Simplified77.7%
if 4.3e10 < t < 1.00000000000000003e139 or 1.2200000000000001e278 < t Initial program 95.8%
Taylor expanded in a around 0 95.9%
*-commutative95.9%
*-commutative95.9%
cancel-sign-sub-inv95.9%
metadata-eval95.9%
associate-*r/95.9%
metadata-eval95.9%
Simplified95.9%
Taylor expanded in t around inf 95.9%
if 1.00000000000000003e139 < t < 1.2200000000000001e278Initial program 98.0%
Taylor expanded in t around inf 94.2%
+-commutative94.2%
*-commutative94.2%
associate-*r*94.2%
neg-mul-194.2%
neg-sub094.2%
associate--r-94.2%
neg-sub094.2%
+-commutative94.2%
sub-neg94.2%
Simplified94.2%
Final simplification92.1%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (* z (sqrt (/ 1.0 t)))))
(if (<= t -5e-19)
(/ x (+ x (* y (pow (exp (* a 2.0)) (- c b)))))
(if (<= t 5.2e-192)
(/
x
(+
x
(*
y
(exp
(* 2.0 (/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) t))))))
(if (<= t 5e+139)
(/
x
(+
x
(*
y
(exp
(*
2.0
(+
t_1
(*
(+ 0.8333333333333334 (/ -0.6666666666666666 t))
(- c b))))))))
(if (<= t 1.4e+278)
(/ x (+ x (* y (exp (* 2.0 (* (+ a 0.8333333333333334) (- c b)))))))
(/
x
(+
x
(* y (exp (* 2.0 (+ t_1 (* 0.8333333333333334 (- c b))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = z * sqrt((1.0 / t));
double tmp;
if (t <= -5e-19) {
tmp = x / (x + (y * pow(exp((a * 2.0)), (c - b))));
} else if (t <= 5.2e-192) {
tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
} else if (t <= 5e+139) {
tmp = x / (x + (y * exp((2.0 * (t_1 + ((0.8333333333333334 + (-0.6666666666666666 / t)) * (c - b)))))));
} else if (t <= 1.4e+278) {
tmp = x / (x + (y * exp((2.0 * ((a + 0.8333333333333334) * (c - b))))));
} else {
tmp = x / (x + (y * exp((2.0 * (t_1 + (0.8333333333333334 * (c - b)))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = z * sqrt((1.0d0 / t))
if (t <= (-5d-19)) then
tmp = x / (x + (y * (exp((a * 2.0d0)) ** (c - b))))
else if (t <= 5.2d-192) then
tmp = x / (x + (y * exp((2.0d0 * (((z * sqrt(a)) + ((-0.6666666666666666d0) * (c - b))) / t)))))
else if (t <= 5d+139) then
tmp = x / (x + (y * exp((2.0d0 * (t_1 + ((0.8333333333333334d0 + ((-0.6666666666666666d0) / t)) * (c - b)))))))
else if (t <= 1.4d+278) then
tmp = x / (x + (y * exp((2.0d0 * ((a + 0.8333333333333334d0) * (c - b))))))
else
tmp = x / (x + (y * exp((2.0d0 * (t_1 + (0.8333333333333334d0 * (c - b)))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = z * Math.sqrt((1.0 / t));
double tmp;
if (t <= -5e-19) {
tmp = x / (x + (y * Math.pow(Math.exp((a * 2.0)), (c - b))));
} else if (t <= 5.2e-192) {
tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
} else if (t <= 5e+139) {
tmp = x / (x + (y * Math.exp((2.0 * (t_1 + ((0.8333333333333334 + (-0.6666666666666666 / t)) * (c - b)))))));
} else if (t <= 1.4e+278) {
tmp = x / (x + (y * Math.exp((2.0 * ((a + 0.8333333333333334) * (c - b))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (t_1 + (0.8333333333333334 * (c - b)))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = z * math.sqrt((1.0 / t)) tmp = 0 if t <= -5e-19: tmp = x / (x + (y * math.pow(math.exp((a * 2.0)), (c - b)))) elif t <= 5.2e-192: tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))) elif t <= 5e+139: tmp = x / (x + (y * math.exp((2.0 * (t_1 + ((0.8333333333333334 + (-0.6666666666666666 / t)) * (c - b))))))) elif t <= 1.4e+278: tmp = x / (x + (y * math.exp((2.0 * ((a + 0.8333333333333334) * (c - b)))))) else: tmp = x / (x + (y * math.exp((2.0 * (t_1 + (0.8333333333333334 * (c - b))))))) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(z * sqrt(Float64(1.0 / t))) tmp = 0.0 if (t <= -5e-19) tmp = Float64(x / Float64(x + Float64(y * (exp(Float64(a * 2.0)) ^ Float64(c - b))))); elseif (t <= 5.2e-192) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(a)) + Float64(-0.6666666666666666 * Float64(c - b))) / t)))))); elseif (t <= 5e+139) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(t_1 + Float64(Float64(0.8333333333333334 + Float64(-0.6666666666666666 / t)) * Float64(c - b)))))))); elseif (t <= 1.4e+278) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(a + 0.8333333333333334) * Float64(c - b))))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(t_1 + Float64(0.8333333333333334 * Float64(c - b)))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = z * sqrt((1.0 / t)); tmp = 0.0; if (t <= -5e-19) tmp = x / (x + (y * (exp((a * 2.0)) ^ (c - b)))); elseif (t <= 5.2e-192) tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))); elseif (t <= 5e+139) tmp = x / (x + (y * exp((2.0 * (t_1 + ((0.8333333333333334 + (-0.6666666666666666 / t)) * (c - b))))))); elseif (t <= 1.4e+278) tmp = x / (x + (y * exp((2.0 * ((a + 0.8333333333333334) * (c - b)))))); else tmp = x / (x + (y * exp((2.0 * (t_1 + (0.8333333333333334 * (c - b))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(z * N[Sqrt[N[(1.0 / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -5e-19], N[(x / N[(x + N[(y * N[Power[N[Exp[N[(a * 2.0), $MachinePrecision]], $MachinePrecision], N[(c - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.2e-192], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[a], $MachinePrecision]), $MachinePrecision] + N[(-0.6666666666666666 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5e+139], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(t$95$1 + N[(N[(0.8333333333333334 + N[(-0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.4e+278], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(t$95$1 + N[(0.8333333333333334 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \sqrt{\frac{1}{t}}\\
\mathbf{if}\;t \leq -5 \cdot 10^{-19}:\\
\;\;\;\;\frac{x}{x + y \cdot {\left(e^{a \cdot 2}\right)}^{\left(c - b\right)}}\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{-192}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\mathbf{elif}\;t \leq 5 \cdot 10^{+139}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(t\_1 + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right) \cdot \left(c - b\right)\right)}}\\
\mathbf{elif}\;t \leq 1.4 \cdot 10^{+278}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(t\_1 + 0.8333333333333334 \cdot \left(c - b\right)\right)}}\\
\end{array}
\end{array}
if t < -5.0000000000000004e-19Initial program 82.4%
Taylor expanded in a around inf 97.4%
associate-*r*97.4%
exp-prod100.0%
Applied egg-rr100.0%
if -5.0000000000000004e-19 < t < 5.2000000000000003e-192Initial program 84.8%
Taylor expanded in t around 0 92.6%
if 5.2000000000000003e-192 < t < 5.0000000000000003e139Initial program 97.9%
Taylor expanded in a around 0 87.6%
*-commutative87.6%
*-commutative87.6%
cancel-sign-sub-inv87.6%
metadata-eval87.6%
associate-*r/87.6%
metadata-eval87.6%
Simplified87.6%
if 5.0000000000000003e139 < t < 1.4e278Initial program 98.0%
Taylor expanded in t around inf 94.2%
+-commutative94.2%
*-commutative94.2%
associate-*r*94.2%
neg-mul-194.2%
neg-sub094.2%
associate--r-94.2%
neg-sub094.2%
+-commutative94.2%
sub-neg94.2%
Simplified94.2%
if 1.4e278 < t Initial program 93.9%
Taylor expanded in a around 0 93.9%
*-commutative93.9%
*-commutative93.9%
cancel-sign-sub-inv93.9%
metadata-eval93.9%
associate-*r/93.9%
metadata-eval93.9%
Simplified93.9%
Taylor expanded in t around inf 93.9%
Final simplification91.6%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(/
x
(+
x
(*
y
(exp
(*
2.0
(*
c
(+ a (+ 0.8333333333333334 (/ -0.6666666666666666 t))))))))))
(t_2
(/
x
(+
x
(*
y
(exp
(*
2.0
(*
b
(- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))))
(if (<= c -7e-101)
t_1
(if (<= c 1.65e-273)
t_2
(if (<= c 9.2e-239)
(/
x
(+
x
(*
y
(exp
(*
2.0
(+ (* z (sqrt (/ 1.0 t))) (* 0.8333333333333334 (- c b))))))))
(if (<= c 2.3e+36) t_2 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 * (a + (0.8333333333333334 + (-0.6666666666666666 / t))))))));
double t_2 = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
double tmp;
if (c <= -7e-101) {
tmp = t_1;
} else if (c <= 1.65e-273) {
tmp = t_2;
} else if (c <= 9.2e-239) {
tmp = x / (x + (y * exp((2.0 * ((z * sqrt((1.0 / t))) + (0.8333333333333334 * (c - b)))))));
} else if (c <= 2.3e+36) {
tmp = t_2;
} 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) :: t_2
real(8) :: tmp
t_1 = x / (x + (y * exp((2.0d0 * (c * (a + (0.8333333333333334d0 + ((-0.6666666666666666d0) / t))))))))
t_2 = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
if (c <= (-7d-101)) then
tmp = t_1
else if (c <= 1.65d-273) then
tmp = t_2
else if (c <= 9.2d-239) then
tmp = x / (x + (y * exp((2.0d0 * ((z * sqrt((1.0d0 / t))) + (0.8333333333333334d0 * (c - b)))))))
else if (c <= 2.3d+36) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * Math.exp((2.0 * (c * (a + (0.8333333333333334 + (-0.6666666666666666 / t))))))));
double t_2 = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
double tmp;
if (c <= -7e-101) {
tmp = t_1;
} else if (c <= 1.65e-273) {
tmp = t_2;
} else if (c <= 9.2e-239) {
tmp = x / (x + (y * Math.exp((2.0 * ((z * Math.sqrt((1.0 / t))) + (0.8333333333333334 * (c - b)))))));
} else if (c <= 2.3e+36) {
tmp = t_2;
} 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 * (a + (0.8333333333333334 + (-0.6666666666666666 / t)))))))) t_2 = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))) tmp = 0 if c <= -7e-101: tmp = t_1 elif c <= 1.65e-273: tmp = t_2 elif c <= 9.2e-239: tmp = x / (x + (y * math.exp((2.0 * ((z * math.sqrt((1.0 / t))) + (0.8333333333333334 * (c - b))))))) elif c <= 2.3e+36: tmp = t_2 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(a + Float64(0.8333333333333334 + Float64(-0.6666666666666666 / t))))))))) t_2 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))))))) tmp = 0.0 if (c <= -7e-101) tmp = t_1; elseif (c <= 1.65e-273) tmp = t_2; elseif (c <= 9.2e-239) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(z * sqrt(Float64(1.0 / t))) + Float64(0.8333333333333334 * Float64(c - b)))))))); elseif (c <= 2.3e+36) tmp = t_2; 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 * (a + (0.8333333333333334 + (-0.6666666666666666 / t)))))))); t_2 = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))); tmp = 0.0; if (c <= -7e-101) tmp = t_1; elseif (c <= 1.65e-273) tmp = t_2; elseif (c <= 9.2e-239) tmp = x / (x + (y * exp((2.0 * ((z * sqrt((1.0 / t))) + (0.8333333333333334 * (c - b))))))); elseif (c <= 2.3e+36) tmp = t_2; 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[(a + N[(0.8333333333333334 + N[(-0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -7e-101], t$95$1, If[LessEqual[c, 1.65e-273], t$95$2, If[LessEqual[c, 9.2e-239], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(z * N[Sqrt[N[(1.0 / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] + N[(0.8333333333333334 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.3e+36], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)}}\\
t_2 := \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
\mathbf{if}\;c \leq -7 \cdot 10^{-101}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 1.65 \cdot 10^{-273}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;c \leq 9.2 \cdot 10^{-239}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + 0.8333333333333334 \cdot \left(c - b\right)\right)}}\\
\mathbf{elif}\;c \leq 2.3 \cdot 10^{+36}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -6.99999999999999989e-101 or 2.29999999999999996e36 < c Initial program 92.8%
Taylor expanded in c around inf 83.3%
cancel-sign-sub-inv83.3%
+-commutative83.3%
metadata-eval83.3%
associate-*r/83.3%
metadata-eval83.3%
associate-+r+83.3%
Simplified83.3%
if -6.99999999999999989e-101 < c < 1.64999999999999995e-273 or 9.1999999999999995e-239 < c < 2.29999999999999996e36Initial program 91.8%
Taylor expanded in b around inf 83.6%
associate-*r/83.6%
metadata-eval83.6%
+-commutative83.6%
Simplified83.6%
if 1.64999999999999995e-273 < c < 9.1999999999999995e-239Initial program 100.0%
Taylor expanded in a around 0 100.0%
*-commutative100.0%
*-commutative100.0%
cancel-sign-sub-inv100.0%
metadata-eval100.0%
associate-*r/100.0%
metadata-eval100.0%
Simplified100.0%
Taylor expanded in t around inf 100.0%
Final simplification83.9%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(/ x (+ x (* y (exp (* 2.0 (* (+ a 0.8333333333333334) (- c b)))))))))
(if (<= t -1.5e-271)
t_1
(if (<= t 1.45e-116)
(/ x (+ x (* y (exp (/ (* c -1.3333333333333333) t)))))
(if (<= t 0.1)
(/
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 * ((a + 0.8333333333333334) * (c - b))))));
double tmp;
if (t <= -1.5e-271) {
tmp = t_1;
} else if (t <= 1.45e-116) {
tmp = x / (x + (y * exp(((c * -1.3333333333333333) / t))));
} else if (t <= 0.1) {
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 * ((a + 0.8333333333333334d0) * (c - b))))))
if (t <= (-1.5d-271)) then
tmp = t_1
else if (t <= 1.45d-116) then
tmp = x / (x + (y * exp(((c * (-1.3333333333333333d0)) / t))))
else if (t <= 0.1d0) 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 * ((a + 0.8333333333333334) * (c - b))))));
double tmp;
if (t <= -1.5e-271) {
tmp = t_1;
} else if (t <= 1.45e-116) {
tmp = x / (x + (y * Math.exp(((c * -1.3333333333333333) / t))));
} else if (t <= 0.1) {
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 * ((a + 0.8333333333333334) * (c - b)))))) tmp = 0 if t <= -1.5e-271: tmp = t_1 elif t <= 1.45e-116: tmp = x / (x + (y * math.exp(((c * -1.3333333333333333) / t)))) elif t <= 0.1: 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(Float64(a + 0.8333333333333334) * Float64(c - b))))))) tmp = 0.0 if (t <= -1.5e-271) tmp = t_1; elseif (t <= 1.45e-116) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(c * -1.3333333333333333) / t))))); elseif (t <= 0.1) 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 * ((a + 0.8333333333333334) * (c - b)))))); tmp = 0.0; if (t <= -1.5e-271) tmp = t_1; elseif (t <= 1.45e-116) tmp = x / (x + (y * exp(((c * -1.3333333333333333) / t)))); elseif (t <= 0.1) 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[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.5e-271], t$95$1, If[LessEqual[t, 1.45e-116], N[(x / N[(x + N[(y * N[Exp[N[(N[(c * -1.3333333333333333), $MachinePrecision] / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.1], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(\left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\
\mathbf{if}\;t \leq -1.5 \cdot 10^{-271}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.45 \cdot 10^{-116}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{\frac{c \cdot -1.3333333333333333}{t}}}\\
\mathbf{elif}\;t \leq 0.1:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.50000000000000001e-271 or 0.10000000000000001 < t Initial program 93.5%
Taylor expanded in t around inf 85.3%
+-commutative85.3%
*-commutative85.3%
associate-*r*85.3%
neg-mul-185.3%
neg-sub085.3%
associate--r-85.3%
neg-sub085.3%
+-commutative85.3%
sub-neg85.3%
Simplified85.3%
if -1.50000000000000001e-271 < t < 1.4499999999999999e-116Initial program 86.9%
Taylor expanded in t around 0 83.8%
Taylor expanded in c around inf 79.3%
associate-*r/79.3%
Simplified79.3%
if 1.4499999999999999e-116 < t < 0.10000000000000001Initial program 97.5%
Taylor expanded in b around inf 70.5%
associate-*r/70.5%
metadata-eval70.5%
+-commutative70.5%
Simplified70.5%
Final simplification81.5%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ x (+ x (* y (exp (* 1.6666666666666667 (- c b))))))))
(if (<= t -5e-155)
t_1
(if (<= t 2.5e-225)
1.0
(if (<= t 7.5e-172)
(/ x (- x (* y (- -1.0 (* -1.3333333333333333 (/ c t))))))
(if (<= t 0.00074) 1.0 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((1.6666666666666667 * (c - b)))));
double tmp;
if (t <= -5e-155) {
tmp = t_1;
} else if (t <= 2.5e-225) {
tmp = 1.0;
} else if (t <= 7.5e-172) {
tmp = x / (x - (y * (-1.0 - (-1.3333333333333333 * (c / t)))));
} else if (t <= 0.00074) {
tmp = 1.0;
} 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((1.6666666666666667d0 * (c - b)))))
if (t <= (-5d-155)) then
tmp = t_1
else if (t <= 2.5d-225) then
tmp = 1.0d0
else if (t <= 7.5d-172) then
tmp = x / (x - (y * ((-1.0d0) - ((-1.3333333333333333d0) * (c / t)))))
else if (t <= 0.00074d0) then
tmp = 1.0d0
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((1.6666666666666667 * (c - b)))));
double tmp;
if (t <= -5e-155) {
tmp = t_1;
} else if (t <= 2.5e-225) {
tmp = 1.0;
} else if (t <= 7.5e-172) {
tmp = x / (x - (y * (-1.0 - (-1.3333333333333333 * (c / t)))));
} else if (t <= 0.00074) {
tmp = 1.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((1.6666666666666667 * (c - b))))) tmp = 0 if t <= -5e-155: tmp = t_1 elif t <= 2.5e-225: tmp = 1.0 elif t <= 7.5e-172: tmp = x / (x - (y * (-1.0 - (-1.3333333333333333 * (c / t))))) elif t <= 0.00074: tmp = 1.0 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(1.6666666666666667 * Float64(c - b)))))) tmp = 0.0 if (t <= -5e-155) tmp = t_1; elseif (t <= 2.5e-225) tmp = 1.0; elseif (t <= 7.5e-172) tmp = Float64(x / Float64(x - Float64(y * Float64(-1.0 - Float64(-1.3333333333333333 * Float64(c / t)))))); elseif (t <= 0.00074) tmp = 1.0; 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((1.6666666666666667 * (c - b))))); tmp = 0.0; if (t <= -5e-155) tmp = t_1; elseif (t <= 2.5e-225) tmp = 1.0; elseif (t <= 7.5e-172) tmp = x / (x - (y * (-1.0 - (-1.3333333333333333 * (c / t))))); elseif (t <= 0.00074) tmp = 1.0; 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[(1.6666666666666667 * N[(c - b), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -5e-155], t$95$1, If[LessEqual[t, 2.5e-225], 1.0, If[LessEqual[t, 7.5e-172], N[(x / N[(x - N[(y * N[(-1.0 - N[(-1.3333333333333333 * N[(c / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00074], 1.0, t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{1.6666666666666667 \cdot \left(c - b\right)}}\\
\mathbf{if}\;t \leq -5 \cdot 10^{-155}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 2.5 \cdot 10^{-225}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 7.5 \cdot 10^{-172}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - -1.3333333333333333 \cdot \frac{c}{t}\right)}\\
\mathbf{elif}\;t \leq 0.00074:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -4.9999999999999999e-155 or 7.3999999999999999e-4 < t Initial program 94.8%
Taylor expanded in t around inf 86.7%
+-commutative86.7%
*-commutative86.7%
associate-*r*86.7%
neg-mul-186.7%
neg-sub086.7%
associate--r-86.7%
neg-sub086.7%
+-commutative86.7%
sub-neg86.7%
Simplified86.7%
Taylor expanded in a around 0 77.9%
if -4.9999999999999999e-155 < t < 2.5e-225 or 7.4999999999999999e-172 < t < 7.3999999999999999e-4Initial program 90.6%
Taylor expanded in a around inf 52.1%
Taylor expanded in a around 0 42.3%
Taylor expanded in x around inf 63.4%
if 2.5e-225 < t < 7.4999999999999999e-172Initial program 87.5%
Taylor expanded in c around inf 93.9%
cancel-sign-sub-inv93.9%
+-commutative93.9%
metadata-eval93.9%
associate-*r/93.9%
metadata-eval93.9%
associate-+r+93.9%
Simplified93.9%
Taylor expanded in c around 0 74.2%
associate-*r*74.2%
associate-*r/74.2%
metadata-eval74.2%
Simplified74.2%
Taylor expanded in t around 0 74.2%
Final simplification71.7%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ x (+ x (* y (exp (* 1.6666666666666667 (- c b))))))))
(if (<= t -1.45e-257)
t_1
(if (<= t 2.06e-249)
(/ x (+ x (* y (exp (* (/ b t) 1.3333333333333333)))))
(if (<= t 8.5e-172)
(/ x (- x (* y (- -1.0 (* -1.3333333333333333 (/ c t))))))
(if (<= t 0.0002) 1.0 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((1.6666666666666667 * (c - b)))));
double tmp;
if (t <= -1.45e-257) {
tmp = t_1;
} else if (t <= 2.06e-249) {
tmp = x / (x + (y * exp(((b / t) * 1.3333333333333333))));
} else if (t <= 8.5e-172) {
tmp = x / (x - (y * (-1.0 - (-1.3333333333333333 * (c / t)))));
} else if (t <= 0.0002) {
tmp = 1.0;
} 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((1.6666666666666667d0 * (c - b)))))
if (t <= (-1.45d-257)) then
tmp = t_1
else if (t <= 2.06d-249) then
tmp = x / (x + (y * exp(((b / t) * 1.3333333333333333d0))))
else if (t <= 8.5d-172) then
tmp = x / (x - (y * ((-1.0d0) - ((-1.3333333333333333d0) * (c / t)))))
else if (t <= 0.0002d0) then
tmp = 1.0d0
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((1.6666666666666667 * (c - b)))));
double tmp;
if (t <= -1.45e-257) {
tmp = t_1;
} else if (t <= 2.06e-249) {
tmp = x / (x + (y * Math.exp(((b / t) * 1.3333333333333333))));
} else if (t <= 8.5e-172) {
tmp = x / (x - (y * (-1.0 - (-1.3333333333333333 * (c / t)))));
} else if (t <= 0.0002) {
tmp = 1.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((1.6666666666666667 * (c - b))))) tmp = 0 if t <= -1.45e-257: tmp = t_1 elif t <= 2.06e-249: tmp = x / (x + (y * math.exp(((b / t) * 1.3333333333333333)))) elif t <= 8.5e-172: tmp = x / (x - (y * (-1.0 - (-1.3333333333333333 * (c / t))))) elif t <= 0.0002: tmp = 1.0 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(1.6666666666666667 * Float64(c - b)))))) tmp = 0.0 if (t <= -1.45e-257) tmp = t_1; elseif (t <= 2.06e-249) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(b / t) * 1.3333333333333333))))); elseif (t <= 8.5e-172) tmp = Float64(x / Float64(x - Float64(y * Float64(-1.0 - Float64(-1.3333333333333333 * Float64(c / t)))))); elseif (t <= 0.0002) tmp = 1.0; 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((1.6666666666666667 * (c - b))))); tmp = 0.0; if (t <= -1.45e-257) tmp = t_1; elseif (t <= 2.06e-249) tmp = x / (x + (y * exp(((b / t) * 1.3333333333333333)))); elseif (t <= 8.5e-172) tmp = x / (x - (y * (-1.0 - (-1.3333333333333333 * (c / t))))); elseif (t <= 0.0002) tmp = 1.0; 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[(1.6666666666666667 * N[(c - b), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.45e-257], t$95$1, If[LessEqual[t, 2.06e-249], N[(x / N[(x + N[(y * N[Exp[N[(N[(b / t), $MachinePrecision] * 1.3333333333333333), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8.5e-172], N[(x / N[(x - N[(y * N[(-1.0 - N[(-1.3333333333333333 * N[(c / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.0002], 1.0, t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{1.6666666666666667 \cdot \left(c - b\right)}}\\
\mathbf{if}\;t \leq -1.45 \cdot 10^{-257}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 2.06 \cdot 10^{-249}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{\frac{b}{t} \cdot 1.3333333333333333}}\\
\mathbf{elif}\;t \leq 8.5 \cdot 10^{-172}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - -1.3333333333333333 \cdot \frac{c}{t}\right)}\\
\mathbf{elif}\;t \leq 0.0002:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.4500000000000001e-257 or 2.0000000000000001e-4 < t Initial program 94.1%
Taylor expanded in t around inf 84.5%
+-commutative84.5%
*-commutative84.5%
associate-*r*84.5%
neg-mul-184.5%
neg-sub084.5%
associate--r-84.5%
neg-sub084.5%
+-commutative84.5%
sub-neg84.5%
Simplified84.5%
Taylor expanded in a around 0 76.8%
if -1.4500000000000001e-257 < t < 2.0599999999999999e-249Initial program 86.4%
Taylor expanded in t around 0 95.5%
Taylor expanded in b around inf 73.6%
*-commutative73.6%
Simplified73.6%
if 2.0599999999999999e-249 < t < 8.49999999999999963e-172Initial program 79.3%
Taylor expanded in c around inf 69.9%
cancel-sign-sub-inv69.9%
+-commutative69.9%
metadata-eval69.9%
associate-*r/69.9%
metadata-eval69.9%
associate-+r+69.9%
Simplified69.9%
Taylor expanded in c around 0 59.1%
associate-*r*59.1%
associate-*r/59.1%
metadata-eval59.1%
Simplified59.1%
Taylor expanded in t around 0 62.4%
if 8.49999999999999963e-172 < t < 2.0000000000000001e-4Initial program 98.0%
Taylor expanded in a around inf 52.6%
Taylor expanded in a around 0 43.5%
Taylor expanded in x around inf 62.7%
Final simplification72.1%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(/ x (+ x (* y (exp (* 2.0 (* (+ a 0.8333333333333334) (- c b)))))))))
(if (<= t -1.35e-272)
t_1
(if (<= t 1.9e-61)
(/ x (+ x (* y (exp (/ (* c -1.3333333333333333) t)))))
(if (<= t 0.00185) 1.0 t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((2.0 * ((a + 0.8333333333333334) * (c - b))))));
double tmp;
if (t <= -1.35e-272) {
tmp = t_1;
} else if (t <= 1.9e-61) {
tmp = x / (x + (y * exp(((c * -1.3333333333333333) / t))));
} else if (t <= 0.00185) {
tmp = 1.0;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = x / (x + (y * exp((2.0d0 * ((a + 0.8333333333333334d0) * (c - b))))))
if (t <= (-1.35d-272)) then
tmp = t_1
else if (t <= 1.9d-61) then
tmp = x / (x + (y * exp(((c * (-1.3333333333333333d0)) / t))))
else if (t <= 0.00185d0) then
tmp = 1.0d0
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * Math.exp((2.0 * ((a + 0.8333333333333334) * (c - b))))));
double tmp;
if (t <= -1.35e-272) {
tmp = t_1;
} else if (t <= 1.9e-61) {
tmp = x / (x + (y * Math.exp(((c * -1.3333333333333333) / t))));
} else if (t <= 0.00185) {
tmp = 1.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((2.0 * ((a + 0.8333333333333334) * (c - b)))))) tmp = 0 if t <= -1.35e-272: tmp = t_1 elif t <= 1.9e-61: tmp = x / (x + (y * math.exp(((c * -1.3333333333333333) / t)))) elif t <= 0.00185: tmp = 1.0 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(Float64(a + 0.8333333333333334) * Float64(c - b))))))) tmp = 0.0 if (t <= -1.35e-272) tmp = t_1; elseif (t <= 1.9e-61) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(c * -1.3333333333333333) / t))))); elseif (t <= 0.00185) tmp = 1.0; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((2.0 * ((a + 0.8333333333333334) * (c - b)))))); tmp = 0.0; if (t <= -1.35e-272) tmp = t_1; elseif (t <= 1.9e-61) tmp = x / (x + (y * exp(((c * -1.3333333333333333) / t)))); elseif (t <= 0.00185) tmp = 1.0; 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[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.35e-272], t$95$1, If[LessEqual[t, 1.9e-61], N[(x / N[(x + N[(y * N[Exp[N[(N[(c * -1.3333333333333333), $MachinePrecision] / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00185], 1.0, t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(\left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\
\mathbf{if}\;t \leq -1.35 \cdot 10^{-272}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.9 \cdot 10^{-61}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{\frac{c \cdot -1.3333333333333333}{t}}}\\
\mathbf{elif}\;t \leq 0.00185:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.34999999999999996e-272 or 0.0018500000000000001 < t Initial program 93.6%
Taylor expanded in t around inf 84.8%
+-commutative84.8%
*-commutative84.8%
associate-*r*84.8%
neg-mul-184.8%
neg-sub084.8%
associate--r-84.8%
neg-sub084.8%
+-commutative84.8%
sub-neg84.8%
Simplified84.8%
if -1.34999999999999996e-272 < t < 1.8999999999999999e-61Initial program 88.9%
Taylor expanded in t around 0 76.8%
Taylor expanded in c around inf 74.9%
associate-*r/74.9%
Simplified74.9%
if 1.8999999999999999e-61 < t < 0.0018500000000000001Initial program 99.9%
Taylor expanded in a around inf 41.3%
Taylor expanded in a around 0 28.6%
Taylor expanded in x around inf 69.4%
Final simplification80.5%
(FPCore (x y z t a b c)
:precision binary64
(if (or (<= c -2.2e-97) (not (<= c 6.5e+31)))
(/
x
(+
x
(*
y
(exp
(* 2.0 (* c (+ a (+ 0.8333333333333334 (/ -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 <= -2.2e-97) || !(c <= 6.5e+31)) {
tmp = x / (x + (y * exp((2.0 * (c * (a + (0.8333333333333334 + (-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 <= (-2.2d-97)) .or. (.not. (c <= 6.5d+31))) then
tmp = x / (x + (y * exp((2.0d0 * (c * (a + (0.8333333333333334d0 + ((-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 <= -2.2e-97) || !(c <= 6.5e+31)) {
tmp = x / (x + (y * Math.exp((2.0 * (c * (a + (0.8333333333333334 + (-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 <= -2.2e-97) or not (c <= 6.5e+31): tmp = x / (x + (y * math.exp((2.0 * (c * (a + (0.8333333333333334 + (-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 <= -2.2e-97) || !(c <= 6.5e+31)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + Float64(0.8333333333333334 + 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 <= -2.2e-97) || ~((c <= 6.5e+31))) tmp = x / (x + (y * exp((2.0 * (c * (a + (0.8333333333333334 + (-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, -2.2e-97], N[Not[LessEqual[c, 6.5e+31]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + N[(0.8333333333333334 + 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 -2.2 \cdot 10^{-97} \lor \neg \left(c \leq 6.5 \cdot 10^{+31}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + \left(0.8333333333333334 + \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 < -2.1999999999999999e-97 or 6.5000000000000004e31 < c Initial program 92.8%
Taylor expanded in c around inf 83.3%
cancel-sign-sub-inv83.3%
+-commutative83.3%
metadata-eval83.3%
associate-*r/83.3%
metadata-eval83.3%
associate-+r+83.3%
Simplified83.3%
if -2.1999999999999999e-97 < c < 6.5000000000000004e31Initial program 92.3%
Taylor expanded in b around inf 79.8%
associate-*r/79.8%
metadata-eval79.8%
+-commutative79.8%
Simplified79.8%
Final simplification81.7%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ x (+ x (* y (exp (* 1.6666666666666667 (- c b))))))))
(if (<= t -6.2e-270)
t_1
(if (<= t 3.6e-63)
(/ x (+ x (* y (exp (/ (* c -1.3333333333333333) t)))))
(if (<= t 0.00036) 1.0 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((1.6666666666666667 * (c - b)))));
double tmp;
if (t <= -6.2e-270) {
tmp = t_1;
} else if (t <= 3.6e-63) {
tmp = x / (x + (y * exp(((c * -1.3333333333333333) / t))));
} else if (t <= 0.00036) {
tmp = 1.0;
} 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((1.6666666666666667d0 * (c - b)))))
if (t <= (-6.2d-270)) then
tmp = t_1
else if (t <= 3.6d-63) then
tmp = x / (x + (y * exp(((c * (-1.3333333333333333d0)) / t))))
else if (t <= 0.00036d0) then
tmp = 1.0d0
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((1.6666666666666667 * (c - b)))));
double tmp;
if (t <= -6.2e-270) {
tmp = t_1;
} else if (t <= 3.6e-63) {
tmp = x / (x + (y * Math.exp(((c * -1.3333333333333333) / t))));
} else if (t <= 0.00036) {
tmp = 1.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((1.6666666666666667 * (c - b))))) tmp = 0 if t <= -6.2e-270: tmp = t_1 elif t <= 3.6e-63: tmp = x / (x + (y * math.exp(((c * -1.3333333333333333) / t)))) elif t <= 0.00036: tmp = 1.0 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(1.6666666666666667 * Float64(c - b)))))) tmp = 0.0 if (t <= -6.2e-270) tmp = t_1; elseif (t <= 3.6e-63) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(c * -1.3333333333333333) / t))))); elseif (t <= 0.00036) tmp = 1.0; 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((1.6666666666666667 * (c - b))))); tmp = 0.0; if (t <= -6.2e-270) tmp = t_1; elseif (t <= 3.6e-63) tmp = x / (x + (y * exp(((c * -1.3333333333333333) / t)))); elseif (t <= 0.00036) tmp = 1.0; 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[(1.6666666666666667 * N[(c - b), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -6.2e-270], t$95$1, If[LessEqual[t, 3.6e-63], N[(x / N[(x + N[(y * N[Exp[N[(N[(c * -1.3333333333333333), $MachinePrecision] / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00036], 1.0, t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{1.6666666666666667 \cdot \left(c - b\right)}}\\
\mathbf{if}\;t \leq -6.2 \cdot 10^{-270}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 3.6 \cdot 10^{-63}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{\frac{c \cdot -1.3333333333333333}{t}}}\\
\mathbf{elif}\;t \leq 0.00036:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -6.2e-270 or 3.60000000000000023e-4 < t Initial program 93.6%
Taylor expanded in t around inf 84.7%
+-commutative84.7%
*-commutative84.7%
associate-*r*84.7%
neg-mul-184.7%
neg-sub084.7%
associate--r-84.7%
neg-sub084.7%
+-commutative84.7%
sub-neg84.7%
Simplified84.7%
Taylor expanded in a around 0 76.5%
if -6.2e-270 < t < 3.60000000000000008e-63Initial program 89.0%
Taylor expanded in t around 0 77.1%
Taylor expanded in c around inf 74.0%
associate-*r/74.0%
Simplified74.0%
if 3.60000000000000008e-63 < t < 3.60000000000000023e-4Initial program 99.9%
Taylor expanded in a around inf 41.3%
Taylor expanded in a around 0 28.6%
Taylor expanded in x around inf 69.4%
Final simplification75.2%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -2.8e+153) (/ x (* y (exp (* -2.0 (* a b))))) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -2.8e+153) {
tmp = x / (y * exp((-2.0 * (a * b))));
} 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 <= (-2.8d+153)) then
tmp = x / (y * exp(((-2.0d0) * (a * b))))
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 <= -2.8e+153) {
tmp = x / (y * Math.exp((-2.0 * (a * b))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -2.8e+153: tmp = x / (y * math.exp((-2.0 * (a * b)))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -2.8e+153) tmp = Float64(x / Float64(y * exp(Float64(-2.0 * Float64(a * b))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -2.8e+153) tmp = x / (y * exp((-2.0 * (a * b)))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.8e+153], N[(x / N[(y * N[Exp[N[(-2.0 * N[(a * b), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.8 \cdot 10^{+153}:\\
\;\;\;\;\frac{x}{y \cdot e^{-2 \cdot \left(a \cdot b\right)}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -2.79999999999999985e153Initial program 93.5%
Taylor expanded in a around inf 59.4%
Taylor expanded in c around 0 65.7%
*-commutative65.7%
*-commutative65.7%
Simplified65.7%
Taylor expanded in x around 0 62.3%
if -2.79999999999999985e153 < b Initial program 92.5%
Taylor expanded in a around inf 61.4%
Taylor expanded in a around 0 43.7%
Taylor expanded in x around inf 59.1%
Final simplification59.5%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -3.4e+138) (/ x (* y (exp (* 1.6666666666666667 (- c b))))) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -3.4e+138) {
tmp = x / (y * exp((1.6666666666666667 * (c - b))));
} 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 <= (-3.4d+138)) then
tmp = x / (y * exp((1.6666666666666667d0 * (c - b))))
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 <= -3.4e+138) {
tmp = x / (y * Math.exp((1.6666666666666667 * (c - b))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -3.4e+138: tmp = x / (y * math.exp((1.6666666666666667 * (c - b)))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -3.4e+138) tmp = Float64(x / Float64(y * exp(Float64(1.6666666666666667 * Float64(c - b))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -3.4e+138) tmp = x / (y * exp((1.6666666666666667 * (c - b)))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -3.4e+138], N[(x / N[(y * N[Exp[N[(1.6666666666666667 * N[(c - b), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.4 \cdot 10^{+138}:\\
\;\;\;\;\frac{x}{y \cdot e^{1.6666666666666667 \cdot \left(c - b\right)}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -3.40000000000000011e138Initial program 94.1%
Taylor expanded in t around inf 74.4%
+-commutative74.4%
*-commutative74.4%
associate-*r*74.4%
neg-mul-174.4%
neg-sub074.4%
associate--r-74.4%
neg-sub074.4%
+-commutative74.4%
sub-neg74.4%
Simplified74.4%
Taylor expanded in a around 0 71.5%
Taylor expanded in x around 0 71.4%
if -3.40000000000000011e138 < b Initial program 92.4%
Taylor expanded in a around inf 62.2%
Taylor expanded in a around 0 43.8%
Taylor expanded in x around inf 59.4%
Final simplification61.0%
(FPCore (x y z t a b c)
:precision binary64
(if (<= a 4e-212)
(/ x (+ x (* -1.3333333333333333 (/ c (/ t y)))))
(if (<= a 4.8e+204)
1.0
(if (<= a 1.26e+275) (/ x (- x (* y (- -1.0 (* c (* a 2.0)))))) 1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= 4e-212) {
tmp = x / (x + (-1.3333333333333333 * (c / (t / y))));
} else if (a <= 4.8e+204) {
tmp = 1.0;
} else if (a <= 1.26e+275) {
tmp = x / (x - (y * (-1.0 - (c * (a * 2.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 (a <= 4d-212) then
tmp = x / (x + ((-1.3333333333333333d0) * (c / (t / y))))
else if (a <= 4.8d+204) then
tmp = 1.0d0
else if (a <= 1.26d+275) then
tmp = x / (x - (y * ((-1.0d0) - (c * (a * 2.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 (a <= 4e-212) {
tmp = x / (x + (-1.3333333333333333 * (c / (t / y))));
} else if (a <= 4.8e+204) {
tmp = 1.0;
} else if (a <= 1.26e+275) {
tmp = x / (x - (y * (-1.0 - (c * (a * 2.0)))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if a <= 4e-212: tmp = x / (x + (-1.3333333333333333 * (c / (t / y)))) elif a <= 4.8e+204: tmp = 1.0 elif a <= 1.26e+275: tmp = x / (x - (y * (-1.0 - (c * (a * 2.0))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (a <= 4e-212) tmp = Float64(x / Float64(x + Float64(-1.3333333333333333 * Float64(c / Float64(t / y))))); elseif (a <= 4.8e+204) tmp = 1.0; elseif (a <= 1.26e+275) tmp = Float64(x / Float64(x - Float64(y * Float64(-1.0 - Float64(c * Float64(a * 2.0)))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (a <= 4e-212) tmp = x / (x + (-1.3333333333333333 * (c / (t / y)))); elseif (a <= 4.8e+204) tmp = 1.0; elseif (a <= 1.26e+275) tmp = x / (x - (y * (-1.0 - (c * (a * 2.0))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[a, 4e-212], N[(x / N[(x + N[(-1.3333333333333333 * N[(c / N[(t / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.8e+204], 1.0, If[LessEqual[a, 1.26e+275], N[(x / N[(x - N[(y * N[(-1.0 - N[(c * N[(a * 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq 4 \cdot 10^{-212}:\\
\;\;\;\;\frac{x}{x + -1.3333333333333333 \cdot \frac{c}{\frac{t}{y}}}\\
\mathbf{elif}\;a \leq 4.8 \cdot 10^{+204}:\\
\;\;\;\;1\\
\mathbf{elif}\;a \leq 1.26 \cdot 10^{+275}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 - c \cdot \left(a \cdot 2\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if a < 3.99999999999999982e-212Initial program 98.6%
Taylor expanded in c around inf 67.4%
cancel-sign-sub-inv67.4%
+-commutative67.4%
metadata-eval67.4%
associate-*r/67.4%
metadata-eval67.4%
associate-+r+67.4%
Simplified67.4%
Taylor expanded in c around 0 52.0%
associate-*r*52.0%
associate-*r/52.0%
metadata-eval52.0%
Simplified52.0%
Taylor expanded in t around 0 48.5%
associate-/l*50.1%
Simplified50.1%
if 3.99999999999999982e-212 < a < 4.7999999999999999e204 or 1.26000000000000002e275 < a Initial program 92.4%
Taylor expanded in a around inf 63.9%
Taylor expanded in a around 0 41.0%
Taylor expanded in x around inf 63.6%
if 4.7999999999999999e204 < a < 1.26000000000000002e275Initial program 73.9%
Taylor expanded in c around inf 62.4%
cancel-sign-sub-inv62.4%
+-commutative62.4%
metadata-eval62.4%
associate-*r/62.4%
metadata-eval62.4%
associate-+r+62.4%
Simplified62.4%
Taylor expanded in c around 0 70.9%
associate-*r*70.9%
associate-*r/70.9%
metadata-eval70.9%
Simplified70.9%
Taylor expanded in a around inf 70.9%
associate-*r*70.9%
Simplified70.9%
Final simplification60.2%
(FPCore (x y z t a b c)
:precision binary64
(if (<= a 4e-212)
(/ x (+ x (* -1.3333333333333333 (/ c (/ t y)))))
(if (<= a 7.5e+214)
1.0
(if (<= a 1.26e+275) (* 0.5 (/ x (* c (* a y)))) 1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= 4e-212) {
tmp = x / (x + (-1.3333333333333333 * (c / (t / y))));
} else if (a <= 7.5e+214) {
tmp = 1.0;
} else if (a <= 1.26e+275) {
tmp = 0.5 * (x / (c * (a * y)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (a <= 4d-212) then
tmp = x / (x + ((-1.3333333333333333d0) * (c / (t / y))))
else if (a <= 7.5d+214) then
tmp = 1.0d0
else if (a <= 1.26d+275) then
tmp = 0.5d0 * (x / (c * (a * y)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= 4e-212) {
tmp = x / (x + (-1.3333333333333333 * (c / (t / y))));
} else if (a <= 7.5e+214) {
tmp = 1.0;
} else if (a <= 1.26e+275) {
tmp = 0.5 * (x / (c * (a * y)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if a <= 4e-212: tmp = x / (x + (-1.3333333333333333 * (c / (t / y)))) elif a <= 7.5e+214: tmp = 1.0 elif a <= 1.26e+275: tmp = 0.5 * (x / (c * (a * y))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (a <= 4e-212) tmp = Float64(x / Float64(x + Float64(-1.3333333333333333 * Float64(c / Float64(t / y))))); elseif (a <= 7.5e+214) tmp = 1.0; elseif (a <= 1.26e+275) tmp = Float64(0.5 * Float64(x / Float64(c * Float64(a * y)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (a <= 4e-212) tmp = x / (x + (-1.3333333333333333 * (c / (t / y)))); elseif (a <= 7.5e+214) tmp = 1.0; elseif (a <= 1.26e+275) tmp = 0.5 * (x / (c * (a * y))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[a, 4e-212], N[(x / N[(x + N[(-1.3333333333333333 * N[(c / N[(t / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7.5e+214], 1.0, If[LessEqual[a, 1.26e+275], N[(0.5 * N[(x / N[(c * N[(a * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq 4 \cdot 10^{-212}:\\
\;\;\;\;\frac{x}{x + -1.3333333333333333 \cdot \frac{c}{\frac{t}{y}}}\\
\mathbf{elif}\;a \leq 7.5 \cdot 10^{+214}:\\
\;\;\;\;1\\
\mathbf{elif}\;a \leq 1.26 \cdot 10^{+275}:\\
\;\;\;\;0.5 \cdot \frac{x}{c \cdot \left(a \cdot y\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if a < 3.99999999999999982e-212Initial program 98.6%
Taylor expanded in c around inf 67.4%
cancel-sign-sub-inv67.4%
+-commutative67.4%
metadata-eval67.4%
associate-*r/67.4%
metadata-eval67.4%
associate-+r+67.4%
Simplified67.4%
Taylor expanded in c around 0 52.0%
associate-*r*52.0%
associate-*r/52.0%
metadata-eval52.0%
Simplified52.0%
Taylor expanded in t around 0 48.5%
associate-/l*50.1%
Simplified50.1%
if 3.99999999999999982e-212 < a < 7.4999999999999998e214 or 1.26000000000000002e275 < a Initial program 92.5%
Taylor expanded in a around inf 63.8%
Taylor expanded in a around 0 41.8%
Taylor expanded in x around inf 64.0%
if 7.4999999999999998e214 < a < 1.26000000000000002e275Initial program 71.4%
Taylor expanded in c around inf 63.4%
cancel-sign-sub-inv63.4%
+-commutative63.4%
metadata-eval63.4%
associate-*r/63.4%
metadata-eval63.4%
associate-+r+63.4%
Simplified63.4%
Taylor expanded in c around 0 68.1%
associate-*r*68.1%
associate-*r/68.1%
metadata-eval68.1%
Simplified68.1%
Taylor expanded in c around inf 67.8%
associate-*r/67.8%
metadata-eval67.8%
associate-+r-67.8%
Simplified67.8%
Taylor expanded in a around inf 67.8%
*-commutative67.8%
Simplified67.8%
Final simplification60.2%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -1.55e+140)
(/
x
(+
x
(*
y
(-
1.0
(* 2.0 (* b (- a (+ (/ 0.6666666666666666 t) -0.8333333333333334))))))))
1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.55e+140) {
tmp = x / (x + (y * (1.0 - (2.0 * (b * (a - ((0.6666666666666666 / t) + -0.8333333333333334)))))));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-1.55d+140)) then
tmp = x / (x + (y * (1.0d0 - (2.0d0 * (b * (a - ((0.6666666666666666d0 / t) + (-0.8333333333333334d0))))))))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.55e+140) {
tmp = x / (x + (y * (1.0 - (2.0 * (b * (a - ((0.6666666666666666 / t) + -0.8333333333333334)))))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.55e+140: tmp = x / (x + (y * (1.0 - (2.0 * (b * (a - ((0.6666666666666666 / t) + -0.8333333333333334))))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.55e+140) tmp = Float64(x / Float64(x + Float64(y * Float64(1.0 - Float64(2.0 * Float64(b * Float64(a - Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334)))))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -1.55e+140) tmp = x / (x + (y * (1.0 - (2.0 * (b * (a - ((0.6666666666666666 / t) + -0.8333333333333334))))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.55e+140], N[(x / N[(x + N[(y * N[(1.0 - N[(2.0 * N[(b * N[(a - N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.55 \cdot 10^{+140}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(1 - 2 \cdot \left(b \cdot \left(a - \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.55e140Initial program 94.1%
Taylor expanded in b around inf 91.5%
associate-*r/91.5%
metadata-eval91.5%
+-commutative91.5%
Simplified91.5%
Taylor expanded in b around 0 57.5%
associate-*r*57.5%
associate-*r/57.5%
metadata-eval57.5%
+-commutative57.5%
associate--r+57.5%
sub-neg57.5%
mul-1-neg57.5%
+-commutative57.5%
metadata-eval57.5%
associate-*r/57.5%
associate-*r*57.5%
associate-*r/57.5%
metadata-eval57.5%
+-commutative57.5%
mul-1-neg57.5%
sub-neg57.5%
associate--r+57.5%
+-commutative57.5%
Simplified57.5%
if -1.55e140 < b Initial program 92.4%
Taylor expanded in a around inf 62.2%
Taylor expanded in a around 0 43.8%
Taylor expanded in x around inf 59.4%
Final simplification59.2%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -3.2e+155) (/ x (+ x (+ y (* -2.0 (* a (* b y)))))) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -3.2e+155) {
tmp = x / (x + (y + (-2.0 * (a * (b * y)))));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-3.2d+155)) then
tmp = x / (x + (y + ((-2.0d0) * (a * (b * y)))))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -3.2e+155) {
tmp = x / (x + (y + (-2.0 * (a * (b * y)))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -3.2e+155: tmp = x / (x + (y + (-2.0 * (a * (b * y))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -3.2e+155) tmp = Float64(x / Float64(x + Float64(y + Float64(-2.0 * Float64(a * Float64(b * y)))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -3.2e+155) tmp = x / (x + (y + (-2.0 * (a * (b * y))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -3.2e+155], N[(x / N[(x + N[(y + N[(-2.0 * N[(a * N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.2 \cdot 10^{+155}:\\
\;\;\;\;\frac{x}{x + \left(y + -2 \cdot \left(a \cdot \left(b \cdot y\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -3.20000000000000012e155Initial program 93.3%
Taylor expanded in a around inf 58.1%
Taylor expanded in c around 0 64.5%
*-commutative64.5%
*-commutative64.5%
Simplified64.5%
Taylor expanded in b around 0 58.3%
if -3.20000000000000012e155 < b Initial program 92.5%
Taylor expanded in a around inf 61.6%
Taylor expanded in a around 0 43.5%
Taylor expanded in x around inf 58.8%
Final simplification58.8%
(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 92.6%
Taylor expanded in a around inf 61.2%
Taylor expanded in a around 0 41.1%
Taylor expanded in x around inf 55.0%
Final simplification55.0%
(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 2024036
(FPCore (x y z t a b c)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, I"
:precision binary64
:herbie-target
(if (< t -2.118326644891581e-50) (/ x (+ x (* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))))) (if (< t 5.196588770651547e-123) (/ x (+ x (* y (exp (* 2.0 (/ (- (* (* z (sqrt (+ t a))) (* (* 3.0 t) (- a (/ 5.0 6.0)))) (* (- (* (+ (/ 5.0 6.0) a) (* 3.0 t)) 2.0) (* (- a (/ 5.0 6.0)) (* (- b c) t)))) (* (* (* t t) 3.0) (- a (/ 5.0 6.0))))))))) (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))
(/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))