
(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
(let* ((t_1
(+
(/ (* z (sqrt (+ t a))) t)
(* (- b c) (- (/ 2.0 (* t 3.0)) (+ a 0.8333333333333334))))))
(if (<= t_1 INFINITY)
(/ x (+ x (* y (exp (* 2.0 t_1)))))
(/
x
(+
x
(*
y
(exp
(*
2.0
(* c (- (+ a 0.8333333333333334) (/ 0.6666666666666666 t)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = ((z * sqrt((t + a))) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334)));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = x / (x + (y * exp((2.0 * t_1))));
} else {
tmp = x / (x + (y * exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t)))))));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = ((z * Math.sqrt((t + a))) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334)));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = x / (x + (y * Math.exp((2.0 * t_1))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t)))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = ((z * math.sqrt((t + a))) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334))) tmp = 0 if t_1 <= math.inf: tmp = x / (x + (y * math.exp((2.0 * t_1)))) else: tmp = x / (x + (y * math.exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t))))))) return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) + Float64(Float64(b - c) * Float64(Float64(2.0 / Float64(t * 3.0)) - Float64(a + 0.8333333333333334)))) tmp = 0.0 if (t_1 <= Inf) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * t_1))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(Float64(a + 0.8333333333333334) - Float64(0.6666666666666666 / t)))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = ((z * sqrt((t + a))) / t) + ((b - c) * ((2.0 / (t * 3.0)) - (a + 0.8333333333333334))); tmp = 0.0; if (t_1 <= Inf) tmp = x / (x + (y * exp((2.0 * t_1)))); else tmp = x / (x + (y * exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] + N[(N[(b - c), $MachinePrecision] * N[(N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * t$95$1), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(N[(a + 0.8333333333333334), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{z \cdot \sqrt{t + a}}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 0.8333333333333334\right)\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot t\_1}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}\\
\end{array}
\end{array}
if (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))) < +inf.0Initial program 99.2%
if +inf.0 < (-.f64 (/.f64 (*.f64 z (sqrt.f64 (+.f64 t a))) t) (*.f64 (-.f64 b c) (-.f64 (+.f64 a (/.f64 #s(literal 5 binary64) #s(literal 6 binary64))) (/.f64 #s(literal 2 binary64) (*.f64 t #s(literal 3 binary64)))))) Initial program 0.0%
Taylor expanded in c around inf 75.8%
+-commutative75.8%
associate-*r/75.8%
metadata-eval75.8%
Simplified75.8%
Final simplification98.5%
(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 96.1%
Simplified98.1%
Final simplification98.1%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(/
x
(+
x
(*
y
(exp
(*
2.0
(+
(* z (sqrt (/ 1.0 t)))
(* (+ a 0.8333333333333334) (- c b))))))))))
(if (<= t -5e+20)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= t 2.6e-142)
(/
x
(+
x
(*
y
(exp
(* 2.0 (/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) t))))))
(if (<= t 2e-70)
t_1
(if (<= t 1.45e-45)
1.0
(if (<= t 0.55)
(/
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 * ((z * sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
double tmp;
if (t <= -5e+20) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (t <= 2.6e-142) {
tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
} else if (t <= 2e-70) {
tmp = t_1;
} else if (t <= 1.45e-45) {
tmp = 1.0;
} else if (t <= 0.55) {
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 * ((z * sqrt((1.0d0 / t))) + ((a + 0.8333333333333334d0) * (c - b)))))))
if (t <= (-5d+20)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (t <= 2.6d-142) then
tmp = x / (x + (y * exp((2.0d0 * (((z * sqrt(a)) + ((-0.6666666666666666d0) * (c - b))) / t)))))
else if (t <= 2d-70) then
tmp = t_1
else if (t <= 1.45d-45) then
tmp = 1.0d0
else if (t <= 0.55d0) 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 * ((z * Math.sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
double tmp;
if (t <= -5e+20) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (t <= 2.6e-142) {
tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
} else if (t <= 2e-70) {
tmp = t_1;
} else if (t <= 1.45e-45) {
tmp = 1.0;
} else if (t <= 0.55) {
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 * ((z * math.sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b))))))) tmp = 0 if t <= -5e+20: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif t <= 2.6e-142: tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))) elif t <= 2e-70: tmp = t_1 elif t <= 1.45e-45: tmp = 1.0 elif t <= 0.55: 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(z * sqrt(Float64(1.0 / t))) + Float64(Float64(a + 0.8333333333333334) * Float64(c - b)))))))) tmp = 0.0 if (t <= -5e+20) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (t <= 2.6e-142) 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 <= 2e-70) tmp = t_1; elseif (t <= 1.45e-45) tmp = 1.0; elseif (t <= 0.55) 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 * ((z * sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b))))))); tmp = 0.0; if (t <= -5e+20) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (t <= 2.6e-142) tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))); elseif (t <= 2e-70) tmp = t_1; elseif (t <= 1.45e-45) tmp = 1.0; elseif (t <= 0.55) 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[(z * N[Sqrt[N[(1.0 / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] + N[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -5e+20], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.6e-142], 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, 2e-70], t$95$1, If[LessEqual[t, 1.45e-45], 1.0, If[LessEqual[t, 0.55], 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(z \cdot \sqrt{\frac{1}{t}} + \left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\
\mathbf{if}\;t \leq -5 \cdot 10^{+20}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;t \leq 2.6 \cdot 10^{-142}:\\
\;\;\;\;\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 2 \cdot 10^{-70}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.45 \cdot 10^{-45}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 0.55:\\
\;\;\;\;\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 < -5e20Initial program 93.9%
Taylor expanded in c around inf 87.9%
+-commutative87.9%
associate-*r/87.9%
metadata-eval87.9%
Simplified87.9%
Taylor expanded in a around inf 87.9%
if -5e20 < t < 2.6e-142Initial program 94.6%
Taylor expanded in t around 0 90.5%
if 2.6e-142 < t < 1.99999999999999999e-70 or 0.55000000000000004 < t Initial program 97.6%
Taylor expanded in t around inf 96.1%
if 1.99999999999999999e-70 < t < 1.45e-45Initial program 90.0%
Taylor expanded in c around inf 71.1%
+-commutative71.1%
associate-*r/71.1%
metadata-eval71.1%
Simplified71.1%
Taylor expanded in x around inf 90.3%
if 1.45e-45 < t < 0.55000000000000004Initial program 100.0%
Taylor expanded in b around inf 95.8%
associate-*r/95.8%
metadata-eval95.8%
+-commutative95.8%
Simplified95.8%
Final simplification93.3%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t -1.16e-197)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= t 1.4e-148)
(/ x (+ x (* y (exp (* (/ c t) -1.3333333333333333)))))
(if (<= t 3.8e-77)
(/
x
(+
x
(+
y
(*
2.0
(*
b
(*
a
(-
(* y (/ (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))
y)))))))
(if (<= t 2e-5)
1.0
(if (<= t 1.45e+128)
(/ x (+ x (* y (exp (* c 1.6666666666666667)))))
(/ x (+ x (* y (exp (- (* 2.0 (* a b)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -1.16e-197) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (t <= 1.4e-148) {
tmp = x / (x + (y * exp(((c / t) * -1.3333333333333333))));
} else if (t <= 3.8e-77) {
tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
} else if (t <= 2e-5) {
tmp = 1.0;
} else if (t <= 1.45e+128) {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
} else {
tmp = x / (x + (y * exp(-(2.0 * (a * b)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= (-1.16d-197)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (t <= 1.4d-148) then
tmp = x / (x + (y * exp(((c / t) * (-1.3333333333333333d0)))))
else if (t <= 3.8d-77) then
tmp = x / (x + (y + (2.0d0 * (b * (a * ((y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) / a)) - y))))))
else if (t <= 2d-5) then
tmp = 1.0d0
else if (t <= 1.45d+128) then
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
else
tmp = x / (x + (y * exp(-(2.0d0 * (a * b)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -1.16e-197) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (t <= 1.4e-148) {
tmp = x / (x + (y * Math.exp(((c / t) * -1.3333333333333333))));
} else if (t <= 3.8e-77) {
tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
} else if (t <= 2e-5) {
tmp = 1.0;
} else if (t <= 1.45e+128) {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
} else {
tmp = x / (x + (y * Math.exp(-(2.0 * (a * b)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= -1.16e-197: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif t <= 1.4e-148: tmp = x / (x + (y * math.exp(((c / t) * -1.3333333333333333)))) elif t <= 3.8e-77: tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))) elif t <= 2e-5: tmp = 1.0 elif t <= 1.45e+128: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) else: tmp = x / (x + (y * math.exp(-(2.0 * (a * b))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= -1.16e-197) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (t <= 1.4e-148) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(c / t) * -1.3333333333333333))))); elseif (t <= 3.8e-77) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(a * Float64(Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))))); elseif (t <= 2e-5) tmp = 1.0; elseif (t <= 1.45e+128) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(-Float64(2.0 * Float64(a * b))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= -1.16e-197) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (t <= 1.4e-148) tmp = x / (x + (y * exp(((c / t) * -1.3333333333333333)))); elseif (t <= 3.8e-77) tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))); elseif (t <= 2e-5) tmp = 1.0; elseif (t <= 1.45e+128) tmp = x / (x + (y * exp((c * 1.6666666666666667)))); else tmp = x / (x + (y * exp(-(2.0 * (a * b))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, -1.16e-197], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.4e-148], N[(x / N[(x + N[(y * N[Exp[N[(N[(c / t), $MachinePrecision] * -1.3333333333333333), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.8e-77], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(a * N[(N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2e-5], 1.0, If[LessEqual[t, 1.45e+128], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[(-N[(2.0 * N[(a * b), $MachinePrecision]), $MachinePrecision])], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.16 \cdot 10^{-197}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;t \leq 1.4 \cdot 10^{-148}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{\frac{c}{t} \cdot -1.3333333333333333}}\\
\mathbf{elif}\;t \leq 3.8 \cdot 10^{-77}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\
\mathbf{elif}\;t \leq 2 \cdot 10^{-5}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 1.45 \cdot 10^{+128}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(a \cdot b\right)}}\\
\end{array}
\end{array}
if t < -1.16e-197Initial program 95.4%
Taylor expanded in c around inf 68.6%
+-commutative68.6%
associate-*r/68.6%
metadata-eval68.6%
Simplified68.6%
Taylor expanded in a around inf 70.9%
if -1.16e-197 < t < 1.4e-148Initial program 93.5%
Taylor expanded in t around 0 90.5%
Taylor expanded in z around 0 87.5%
Taylor expanded in b around 0 67.3%
*-commutative67.3%
Simplified67.3%
if 1.4e-148 < t < 3.7999999999999999e-77Initial program 95.8%
Taylor expanded in b around inf 47.6%
associate-*r/47.6%
metadata-eval47.6%
+-commutative47.6%
Simplified47.6%
Taylor expanded in b around 0 43.4%
Taylor expanded in a around -inf 47.5%
associate-*r*47.5%
mul-1-neg47.5%
mul-1-neg47.5%
associate-/l*67.7%
sub-neg67.7%
associate-*r/67.7%
metadata-eval67.7%
metadata-eval67.7%
Simplified67.7%
if 3.7999999999999999e-77 < t < 2.00000000000000016e-5Initial program 95.5%
Taylor expanded in c around inf 67.2%
+-commutative67.2%
associate-*r/67.2%
metadata-eval67.2%
Simplified67.2%
Taylor expanded in x around inf 78.1%
if 2.00000000000000016e-5 < t < 1.45e128Initial program 97.8%
Taylor expanded in c around inf 80.0%
+-commutative80.0%
associate-*r/80.0%
metadata-eval80.0%
Simplified80.0%
Taylor expanded in t around inf 77.9%
*-commutative77.9%
Simplified77.9%
Taylor expanded in a around 0 73.4%
if 1.45e128 < t Initial program 98.3%
Taylor expanded in b around inf 81.8%
associate-*r/81.8%
metadata-eval81.8%
+-commutative81.8%
Simplified81.8%
Taylor expanded in a around inf 70.5%
associate-*r*70.5%
mul-1-neg70.5%
Simplified70.5%
Final simplification70.7%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ x (+ x (* y (exp (* c 1.6666666666666667)))))))
(if (<= t -96000000.0)
t_1
(if (<= t 2.2e-171)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ b t))))))
(if (<= t 3.8e-77)
(/
x
(+
x
(+
y
(*
2.0
(*
b
(*
a
(-
(* y (/ (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))
y)))))))
(if (<= t 0.00038) 1.0 (if (<= t 5.2e+189) t_1 1.0)))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((c * 1.6666666666666667))));
double tmp;
if (t <= -96000000.0) {
tmp = t_1;
} else if (t <= 2.2e-171) {
tmp = x / (x + (y * exp((1.3333333333333333 * (b / t)))));
} else if (t <= 3.8e-77) {
tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
} else if (t <= 0.00038) {
tmp = 1.0;
} else if (t <= 5.2e+189) {
tmp = t_1;
} 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 = x / (x + (y * exp((c * 1.6666666666666667d0))))
if (t <= (-96000000.0d0)) then
tmp = t_1
else if (t <= 2.2d-171) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * (b / t)))))
else if (t <= 3.8d-77) then
tmp = x / (x + (y + (2.0d0 * (b * (a * ((y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) / a)) - y))))))
else if (t <= 0.00038d0) then
tmp = 1.0d0
else if (t <= 5.2d+189) then
tmp = t_1
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 = x / (x + (y * Math.exp((c * 1.6666666666666667))));
double tmp;
if (t <= -96000000.0) {
tmp = t_1;
} else if (t <= 2.2e-171) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * (b / t)))));
} else if (t <= 3.8e-77) {
tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
} else if (t <= 0.00038) {
tmp = 1.0;
} else if (t <= 5.2e+189) {
tmp = t_1;
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((c * 1.6666666666666667)))) tmp = 0 if t <= -96000000.0: tmp = t_1 elif t <= 2.2e-171: tmp = x / (x + (y * math.exp((1.3333333333333333 * (b / t))))) elif t <= 3.8e-77: tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))) elif t <= 0.00038: tmp = 1.0 elif t <= 5.2e+189: tmp = t_1 else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))) tmp = 0.0 if (t <= -96000000.0) tmp = t_1; elseif (t <= 2.2e-171) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(b / t)))))); elseif (t <= 3.8e-77) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(a * Float64(Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))))); elseif (t <= 0.00038) tmp = 1.0; elseif (t <= 5.2e+189) tmp = t_1; else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((c * 1.6666666666666667)))); tmp = 0.0; if (t <= -96000000.0) tmp = t_1; elseif (t <= 2.2e-171) tmp = x / (x + (y * exp((1.3333333333333333 * (b / t))))); elseif (t <= 3.8e-77) tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))); elseif (t <= 0.00038) tmp = 1.0; elseif (t <= 5.2e+189) tmp = t_1; else tmp = 1.0; 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[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -96000000.0], t$95$1, If[LessEqual[t, 2.2e-171], N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(b / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.8e-77], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(a * N[(N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00038], 1.0, If[LessEqual[t, 5.2e+189], t$95$1, 1.0]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{if}\;t \leq -96000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 2.2 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b}{t}}}\\
\mathbf{elif}\;t \leq 3.8 \cdot 10^{-77}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\
\mathbf{elif}\;t \leq 0.00038:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{+189}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if t < -9.6e7 or 3.8000000000000002e-4 < t < 5.19999999999999963e189Initial program 97.6%
Taylor expanded in c around inf 79.4%
+-commutative79.4%
associate-*r/79.4%
metadata-eval79.4%
Simplified79.4%
Taylor expanded in t around inf 78.2%
*-commutative78.2%
Simplified78.2%
Taylor expanded in a around 0 67.4%
if -9.6e7 < t < 2.2000000000000001e-171Initial program 93.8%
Taylor expanded in t around 0 95.1%
Taylor expanded in z around 0 85.8%
Taylor expanded in b around inf 63.1%
if 2.2000000000000001e-171 < t < 3.7999999999999999e-77Initial program 96.6%
Taylor expanded in b around inf 49.9%
associate-*r/49.9%
metadata-eval49.9%
+-commutative49.9%
Simplified49.9%
Taylor expanded in b around 0 49.9%
Taylor expanded in a around -inf 53.2%
associate-*r*53.2%
mul-1-neg53.2%
mul-1-neg53.2%
associate-/l*66.5%
sub-neg66.5%
associate-*r/66.5%
metadata-eval66.5%
metadata-eval66.5%
Simplified66.5%
if 3.7999999999999999e-77 < t < 3.8000000000000002e-4 or 5.19999999999999963e189 < t Initial program 96.9%
Taylor expanded in c around inf 69.1%
+-commutative69.1%
associate-*r/69.1%
metadata-eval69.1%
Simplified69.1%
Taylor expanded in x around inf 75.9%
Final simplification68.0%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t -4.7e-185)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= t 1.5e-170)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ b t))))))
(if (<= t 3.8e-77)
(/
x
(+
x
(+
y
(*
2.0
(*
b
(*
a
(-
(* y (/ (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))
y)))))))
(if (<= t 0.00125)
1.0
(if (<= t 6.8e+189)
(/ 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 (t <= -4.7e-185) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (t <= 1.5e-170) {
tmp = x / (x + (y * exp((1.3333333333333333 * (b / t)))));
} else if (t <= 3.8e-77) {
tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
} else if (t <= 0.00125) {
tmp = 1.0;
} else if (t <= 6.8e+189) {
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 (t <= (-4.7d-185)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (t <= 1.5d-170) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * (b / t)))))
else if (t <= 3.8d-77) then
tmp = x / (x + (y + (2.0d0 * (b * (a * ((y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) / a)) - y))))))
else if (t <= 0.00125d0) then
tmp = 1.0d0
else if (t <= 6.8d+189) 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 (t <= -4.7e-185) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (t <= 1.5e-170) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * (b / t)))));
} else if (t <= 3.8e-77) {
tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
} else if (t <= 0.00125) {
tmp = 1.0;
} else if (t <= 6.8e+189) {
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 t <= -4.7e-185: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif t <= 1.5e-170: tmp = x / (x + (y * math.exp((1.3333333333333333 * (b / t))))) elif t <= 3.8e-77: tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))) elif t <= 0.00125: tmp = 1.0 elif t <= 6.8e+189: 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 (t <= -4.7e-185) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (t <= 1.5e-170) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(b / t)))))); elseif (t <= 3.8e-77) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(a * Float64(Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))))); elseif (t <= 0.00125) tmp = 1.0; elseif (t <= 6.8e+189) 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 (t <= -4.7e-185) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (t <= 1.5e-170) tmp = x / (x + (y * exp((1.3333333333333333 * (b / t))))); elseif (t <= 3.8e-77) tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))); elseif (t <= 0.00125) tmp = 1.0; elseif (t <= 6.8e+189) 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[t, -4.7e-185], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.5e-170], N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(b / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.8e-77], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(a * N[(N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00125], 1.0, If[LessEqual[t, 6.8e+189], 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}\;t \leq -4.7 \cdot 10^{-185}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;t \leq 1.5 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b}{t}}}\\
\mathbf{elif}\;t \leq 3.8 \cdot 10^{-77}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\
\mathbf{elif}\;t \leq 0.00125:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 6.8 \cdot 10^{+189}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if t < -4.7000000000000002e-185Initial program 95.2%
Taylor expanded in c around inf 71.7%
+-commutative71.7%
associate-*r/71.7%
metadata-eval71.7%
Simplified71.7%
Taylor expanded in a around inf 71.8%
if -4.7000000000000002e-185 < t < 1.50000000000000007e-170Initial program 93.2%
Taylor expanded in t around 0 95.0%
Taylor expanded in z around 0 90.2%
Taylor expanded in b around inf 65.5%
if 1.50000000000000007e-170 < t < 3.7999999999999999e-77Initial program 96.6%
Taylor expanded in b around inf 49.9%
associate-*r/49.9%
metadata-eval49.9%
+-commutative49.9%
Simplified49.9%
Taylor expanded in b around 0 49.9%
Taylor expanded in a around -inf 53.2%
associate-*r*53.2%
mul-1-neg53.2%
mul-1-neg53.2%
associate-/l*66.5%
sub-neg66.5%
associate-*r/66.5%
metadata-eval66.5%
metadata-eval66.5%
Simplified66.5%
if 3.7999999999999999e-77 < t < 0.00125000000000000003 or 6.79999999999999966e189 < t Initial program 96.9%
Taylor expanded in c around inf 69.1%
+-commutative69.1%
associate-*r/69.1%
metadata-eval69.1%
Simplified69.1%
Taylor expanded in x around inf 75.9%
if 0.00125000000000000003 < t < 6.79999999999999966e189Initial program 98.4%
Taylor expanded in c around inf 77.8%
+-commutative77.8%
associate-*r/77.8%
metadata-eval77.8%
Simplified77.8%
Taylor expanded in t around inf 76.2%
*-commutative76.2%
Simplified76.2%
Taylor expanded in a around 0 69.8%
Final simplification70.3%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t -1.05e-197)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= t 5e-150)
(/ x (+ x (* y (exp (* (/ c t) -1.3333333333333333)))))
(if (<= t 3.8e-77)
(/
x
(+
x
(+
y
(*
2.0
(*
b
(*
a
(-
(* y (/ (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))
y)))))))
(if (<= t 0.0038)
1.0
(if (<= t 7e+189)
(/ 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 (t <= -1.05e-197) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (t <= 5e-150) {
tmp = x / (x + (y * exp(((c / t) * -1.3333333333333333))));
} else if (t <= 3.8e-77) {
tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
} else if (t <= 0.0038) {
tmp = 1.0;
} else if (t <= 7e+189) {
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 (t <= (-1.05d-197)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (t <= 5d-150) then
tmp = x / (x + (y * exp(((c / t) * (-1.3333333333333333d0)))))
else if (t <= 3.8d-77) then
tmp = x / (x + (y + (2.0d0 * (b * (a * ((y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) / a)) - y))))))
else if (t <= 0.0038d0) then
tmp = 1.0d0
else if (t <= 7d+189) 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 (t <= -1.05e-197) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (t <= 5e-150) {
tmp = x / (x + (y * Math.exp(((c / t) * -1.3333333333333333))));
} else if (t <= 3.8e-77) {
tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
} else if (t <= 0.0038) {
tmp = 1.0;
} else if (t <= 7e+189) {
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 t <= -1.05e-197: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif t <= 5e-150: tmp = x / (x + (y * math.exp(((c / t) * -1.3333333333333333)))) elif t <= 3.8e-77: tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))) elif t <= 0.0038: tmp = 1.0 elif t <= 7e+189: 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 (t <= -1.05e-197) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (t <= 5e-150) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(Float64(c / t) * -1.3333333333333333))))); elseif (t <= 3.8e-77) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(a * Float64(Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))))); elseif (t <= 0.0038) tmp = 1.0; elseif (t <= 7e+189) 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 (t <= -1.05e-197) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (t <= 5e-150) tmp = x / (x + (y * exp(((c / t) * -1.3333333333333333)))); elseif (t <= 3.8e-77) tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))); elseif (t <= 0.0038) tmp = 1.0; elseif (t <= 7e+189) 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[t, -1.05e-197], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5e-150], N[(x / N[(x + N[(y * N[Exp[N[(N[(c / t), $MachinePrecision] * -1.3333333333333333), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.8e-77], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(a * N[(N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.0038], 1.0, If[LessEqual[t, 7e+189], 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}\;t \leq -1.05 \cdot 10^{-197}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;t \leq 5 \cdot 10^{-150}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{\frac{c}{t} \cdot -1.3333333333333333}}\\
\mathbf{elif}\;t \leq 3.8 \cdot 10^{-77}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\
\mathbf{elif}\;t \leq 0.0038:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 7 \cdot 10^{+189}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if t < -1.05e-197Initial program 95.4%
Taylor expanded in c around inf 68.6%
+-commutative68.6%
associate-*r/68.6%
metadata-eval68.6%
Simplified68.6%
Taylor expanded in a around inf 70.9%
if -1.05e-197 < t < 4.9999999999999999e-150Initial program 93.5%
Taylor expanded in t around 0 90.5%
Taylor expanded in z around 0 87.5%
Taylor expanded in b around 0 67.3%
*-commutative67.3%
Simplified67.3%
if 4.9999999999999999e-150 < t < 3.7999999999999999e-77Initial program 95.8%
Taylor expanded in b around inf 47.6%
associate-*r/47.6%
metadata-eval47.6%
+-commutative47.6%
Simplified47.6%
Taylor expanded in b around 0 43.4%
Taylor expanded in a around -inf 47.5%
associate-*r*47.5%
mul-1-neg47.5%
mul-1-neg47.5%
associate-/l*67.7%
sub-neg67.7%
associate-*r/67.7%
metadata-eval67.7%
metadata-eval67.7%
Simplified67.7%
if 3.7999999999999999e-77 < t < 0.00379999999999999999 or 6.99999999999999991e189 < t Initial program 96.9%
Taylor expanded in c around inf 69.1%
+-commutative69.1%
associate-*r/69.1%
metadata-eval69.1%
Simplified69.1%
Taylor expanded in x around inf 75.9%
if 0.00379999999999999999 < t < 6.99999999999999991e189Initial program 98.4%
Taylor expanded in c around inf 77.8%
+-commutative77.8%
associate-*r/77.8%
metadata-eval77.8%
Simplified77.8%
Taylor expanded in t around inf 76.2%
*-commutative76.2%
Simplified76.2%
Taylor expanded in a around 0 69.8%
Final simplification70.7%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t -3.1e+93)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= t 3e-93)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
(if (<= t 0.00062)
1.0
(if (<= t 8.4e+185)
(/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))
(/ x (+ x (* y (exp (* 2.0 (* b (- -0.8333333333333334 a))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -3.1e+93) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (t <= 3e-93) {
tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 0.00062) {
tmp = 1.0;
} else if (t <= 8.4e+185) {
tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= (-3.1d+93)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (t <= 3d-93) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
else if (t <= 0.00062d0) then
tmp = 1.0d0
else if (t <= 8.4d+185) then
tmp = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
else
tmp = x / (x + (y * exp((2.0d0 * (b * ((-0.8333333333333334d0) - a))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -3.1e+93) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (t <= 3e-93) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 0.00062) {
tmp = 1.0;
} else if (t <= 8.4e+185) {
tmp = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (b * (-0.8333333333333334 - a))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= -3.1e+93: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif t <= 3e-93: tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) elif t <= 0.00062: tmp = 1.0 elif t <= 8.4e+185: tmp = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) else: tmp = x / (x + (y * math.exp((2.0 * (b * (-0.8333333333333334 - a)))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= -3.1e+93) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (t <= 3e-93) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t)))))); elseif (t <= 0.00062) tmp = 1.0; elseif (t <= 8.4e+185) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(-0.8333333333333334 - a))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= -3.1e+93) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (t <= 3e-93) tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); elseif (t <= 0.00062) tmp = 1.0; elseif (t <= 8.4e+185) tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); else tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a)))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, -3.1e+93], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3e-93], N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(N[(b - c), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.00062], 1.0, If[LessEqual[t, 8.4e+185], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.1 \cdot 10^{+93}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;t \leq 3 \cdot 10^{-93}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{elif}\;t \leq 0.00062:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 8.4 \cdot 10^{+185}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\
\end{array}
\end{array}
if t < -3.10000000000000019e93Initial program 90.3%
Taylor expanded in c around inf 90.3%
+-commutative90.3%
associate-*r/90.3%
metadata-eval90.3%
Simplified90.3%
Taylor expanded in a around inf 90.3%
if -3.10000000000000019e93 < t < 3.0000000000000001e-93Initial program 94.7%
Taylor expanded in t around 0 87.1%
Taylor expanded in z around 0 80.5%
if 3.0000000000000001e-93 < t < 6.2e-4Initial program 96.3%
Taylor expanded in c around inf 69.7%
+-commutative69.7%
associate-*r/69.7%
metadata-eval69.7%
Simplified69.7%
Taylor expanded in x around inf 71.4%
if 6.2e-4 < t < 8.4e185Initial program 98.3%
Taylor expanded in c around inf 78.6%
+-commutative78.6%
associate-*r/78.6%
metadata-eval78.6%
Simplified78.6%
Taylor expanded in t around inf 77.0%
*-commutative77.0%
Simplified77.0%
if 8.4e185 < t Initial program 97.8%
Taylor expanded in b around inf 84.8%
associate-*r/84.8%
metadata-eval84.8%
+-commutative84.8%
Simplified84.8%
Taylor expanded in t around inf 84.8%
mul-1-neg84.8%
distribute-rgt-neg-in84.8%
mul-1-neg84.8%
distribute-lft-in84.8%
metadata-eval84.8%
mul-1-neg84.8%
unsub-neg84.8%
Simplified84.8%
Final simplification79.9%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t -4.8e+96)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= t 1e-141)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
(if (<= t 0.192)
(/
x
(+
x
(*
y
(exp
(*
2.0
(* b (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))
(if (<= t 3.6e+185)
(/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))
(/ x (+ x (* y (exp (* 2.0 (* b (- -0.8333333333333334 a))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -4.8e+96) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (t <= 1e-141) {
tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 0.192) {
tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
} else if (t <= 3.6e+185) {
tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= (-4.8d+96)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (t <= 1d-141) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
else if (t <= 0.192d0) then
tmp = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
else if (t <= 3.6d+185) then
tmp = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
else
tmp = x / (x + (y * exp((2.0d0 * (b * ((-0.8333333333333334d0) - a))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -4.8e+96) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (t <= 1e-141) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 0.192) {
tmp = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
} else if (t <= 3.6e+185) {
tmp = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (b * (-0.8333333333333334 - a))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= -4.8e+96: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif t <= 1e-141: tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) elif t <= 0.192: tmp = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))) elif t <= 3.6e+185: tmp = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) else: tmp = x / (x + (y * math.exp((2.0 * (b * (-0.8333333333333334 - a)))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= -4.8e+96) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (t <= 1e-141) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t)))))); elseif (t <= 0.192) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))))))); elseif (t <= 3.6e+185) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(-0.8333333333333334 - a))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= -4.8e+96) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (t <= 1e-141) tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); elseif (t <= 0.192) tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))); elseif (t <= 3.6e+185) tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); else tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a)))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, -4.8e+96], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1e-141], 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, 0.192], 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, 3.6e+185], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4.8 \cdot 10^{+96}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;t \leq 10^{-141}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{elif}\;t \leq 0.192:\\
\;\;\;\;\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 3.6 \cdot 10^{+185}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\
\end{array}
\end{array}
if t < -4.79999999999999986e96Initial program 90.3%
Taylor expanded in c around inf 90.3%
+-commutative90.3%
associate-*r/90.3%
metadata-eval90.3%
Simplified90.3%
Taylor expanded in a around inf 90.3%
if -4.79999999999999986e96 < t < 1e-141Initial program 95.0%
Taylor expanded in t around 0 90.3%
Taylor expanded in z around 0 84.7%
if 1e-141 < t < 0.192Initial program 95.1%
Taylor expanded in b around inf 68.2%
associate-*r/68.2%
metadata-eval68.2%
+-commutative68.2%
Simplified68.2%
if 0.192 < t < 3.60000000000000029e185Initial program 98.3%
Taylor expanded in c around inf 78.3%
+-commutative78.3%
associate-*r/78.3%
metadata-eval78.3%
Simplified78.3%
Taylor expanded in t around inf 78.3%
*-commutative78.3%
Simplified78.3%
if 3.60000000000000029e185 < t Initial program 97.8%
Taylor expanded in b around inf 84.8%
associate-*r/84.8%
metadata-eval84.8%
+-commutative84.8%
Simplified84.8%
Taylor expanded in t around inf 84.8%
mul-1-neg84.8%
distribute-rgt-neg-in84.8%
mul-1-neg84.8%
distribute-lft-in84.8%
metadata-eval84.8%
mul-1-neg84.8%
unsub-neg84.8%
Simplified84.8%
Final simplification80.8%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t -3.1e+93)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= t 1.85e-93)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
(if (<= t 0.0045)
1.0
(if (<= t 2.3e+128)
(/ x (+ x (* y (exp (* c 1.6666666666666667)))))
(/ x (+ x (* y (exp (- (* 2.0 (* a b))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -3.1e+93) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (t <= 1.85e-93) {
tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 0.0045) {
tmp = 1.0;
} else if (t <= 2.3e+128) {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
} else {
tmp = x / (x + (y * exp(-(2.0 * (a * b)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= (-3.1d+93)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (t <= 1.85d-93) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
else if (t <= 0.0045d0) then
tmp = 1.0d0
else if (t <= 2.3d+128) then
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
else
tmp = x / (x + (y * exp(-(2.0d0 * (a * b)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -3.1e+93) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (t <= 1.85e-93) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 0.0045) {
tmp = 1.0;
} else if (t <= 2.3e+128) {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
} else {
tmp = x / (x + (y * Math.exp(-(2.0 * (a * b)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= -3.1e+93: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif t <= 1.85e-93: tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) elif t <= 0.0045: tmp = 1.0 elif t <= 2.3e+128: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) else: tmp = x / (x + (y * math.exp(-(2.0 * (a * b))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= -3.1e+93) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (t <= 1.85e-93) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t)))))); elseif (t <= 0.0045) tmp = 1.0; elseif (t <= 2.3e+128) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(-Float64(2.0 * Float64(a * b))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= -3.1e+93) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (t <= 1.85e-93) tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); elseif (t <= 0.0045) tmp = 1.0; elseif (t <= 2.3e+128) tmp = x / (x + (y * exp((c * 1.6666666666666667)))); else tmp = x / (x + (y * exp(-(2.0 * (a * b))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, -3.1e+93], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.85e-93], N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(N[(b - c), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.0045], 1.0, If[LessEqual[t, 2.3e+128], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[(-N[(2.0 * N[(a * b), $MachinePrecision]), $MachinePrecision])], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.1 \cdot 10^{+93}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;t \leq 1.85 \cdot 10^{-93}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{elif}\;t \leq 0.0045:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 2.3 \cdot 10^{+128}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(a \cdot b\right)}}\\
\end{array}
\end{array}
if t < -3.10000000000000019e93Initial program 90.3%
Taylor expanded in c around inf 90.3%
+-commutative90.3%
associate-*r/90.3%
metadata-eval90.3%
Simplified90.3%
Taylor expanded in a around inf 90.3%
if -3.10000000000000019e93 < t < 1.85000000000000001e-93Initial program 94.7%
Taylor expanded in t around 0 87.1%
Taylor expanded in z around 0 80.5%
if 1.85000000000000001e-93 < t < 0.00449999999999999966Initial program 96.3%
Taylor expanded in c around inf 69.7%
+-commutative69.7%
associate-*r/69.7%
metadata-eval69.7%
Simplified69.7%
Taylor expanded in x around inf 71.4%
if 0.00449999999999999966 < t < 2.29999999999999998e128Initial program 97.8%
Taylor expanded in c around inf 80.0%
+-commutative80.0%
associate-*r/80.0%
metadata-eval80.0%
Simplified80.0%
Taylor expanded in t around inf 77.9%
*-commutative77.9%
Simplified77.9%
Taylor expanded in a around 0 73.4%
if 2.29999999999999998e128 < t Initial program 98.3%
Taylor expanded in b around inf 81.8%
associate-*r/81.8%
metadata-eval81.8%
+-commutative81.8%
Simplified81.8%
Taylor expanded in a around inf 70.5%
associate-*r*70.5%
mul-1-neg70.5%
Simplified70.5%
Final simplification76.4%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t -3.1e+93)
(/ x (+ x (* y (exp (* 2.0 (* a c))))))
(if (<= t 5e-97)
(/ x (+ x (* y (exp (* 1.3333333333333333 (/ (- b c) t))))))
(if (<= t 5.8e-7)
1.0
(/ x (+ x (* y (exp (* 2.0 (* b (- -0.8333333333333334 a)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -3.1e+93) {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
} else if (t <= 5e-97) {
tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 5.8e-7) {
tmp = 1.0;
} else {
tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= (-3.1d+93)) then
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
else if (t <= 5d-97) then
tmp = x / (x + (y * exp((1.3333333333333333d0 * ((b - c) / t)))))
else if (t <= 5.8d-7) then
tmp = 1.0d0
else
tmp = x / (x + (y * exp((2.0d0 * (b * ((-0.8333333333333334d0) - a))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -3.1e+93) {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
} else if (t <= 5e-97) {
tmp = x / (x + (y * Math.exp((1.3333333333333333 * ((b - c) / t)))));
} else if (t <= 5.8e-7) {
tmp = 1.0;
} else {
tmp = x / (x + (y * Math.exp((2.0 * (b * (-0.8333333333333334 - a))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= -3.1e+93: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) elif t <= 5e-97: tmp = x / (x + (y * math.exp((1.3333333333333333 * ((b - c) / t))))) elif t <= 5.8e-7: tmp = 1.0 else: tmp = x / (x + (y * math.exp((2.0 * (b * (-0.8333333333333334 - a)))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= -3.1e+93) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); elseif (t <= 5e-97) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(1.3333333333333333 * Float64(Float64(b - c) / t)))))); elseif (t <= 5.8e-7) tmp = 1.0; else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(-0.8333333333333334 - a))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= -3.1e+93) tmp = x / (x + (y * exp((2.0 * (a * c))))); elseif (t <= 5e-97) tmp = x / (x + (y * exp((1.3333333333333333 * ((b - c) / t))))); elseif (t <= 5.8e-7) tmp = 1.0; else tmp = x / (x + (y * exp((2.0 * (b * (-0.8333333333333334 - a)))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, -3.1e+93], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5e-97], N[(x / N[(x + N[(y * N[Exp[N[(1.3333333333333333 * N[(N[(b - c), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.8e-7], 1.0, N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.1 \cdot 10^{+93}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{elif}\;t \leq 5 \cdot 10^{-97}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{elif}\;t \leq 5.8 \cdot 10^{-7}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(-0.8333333333333334 - a\right)\right)}}\\
\end{array}
\end{array}
if t < -3.10000000000000019e93Initial program 90.3%
Taylor expanded in c around inf 90.3%
+-commutative90.3%
associate-*r/90.3%
metadata-eval90.3%
Simplified90.3%
Taylor expanded in a around inf 90.3%
if -3.10000000000000019e93 < t < 4.9999999999999995e-97Initial program 94.7%
Taylor expanded in t around 0 87.1%
Taylor expanded in z around 0 80.5%
if 4.9999999999999995e-97 < t < 5.7999999999999995e-7Initial program 96.3%
Taylor expanded in c around inf 69.7%
+-commutative69.7%
associate-*r/69.7%
metadata-eval69.7%
Simplified69.7%
Taylor expanded in x around inf 71.4%
if 5.7999999999999995e-7 < t Initial program 98.1%
Taylor expanded in b around inf 76.1%
associate-*r/76.1%
metadata-eval76.1%
+-commutative76.1%
Simplified76.1%
Taylor expanded in t around inf 75.2%
mul-1-neg75.2%
distribute-rgt-neg-in75.2%
mul-1-neg75.2%
distribute-lft-in75.2%
metadata-eval75.2%
mul-1-neg75.2%
unsub-neg75.2%
Simplified75.2%
Final simplification77.8%
(FPCore (x y z t a b c)
:precision binary64
(if (or (<= c -4.3e-87) (not (<= c 2.6e-34)))
(/
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 <= -4.3e-87) || !(c <= 2.6e-34)) {
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 <= (-4.3d-87)) .or. (.not. (c <= 2.6d-34))) 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 <= -4.3e-87) || !(c <= 2.6e-34)) {
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 <= -4.3e-87) or not (c <= 2.6e-34): 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 <= -4.3e-87) || !(c <= 2.6e-34)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(Float64(a + 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 <= -4.3e-87) || ~((c <= 2.6e-34))) 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, -4.3e-87], N[Not[LessEqual[c, 2.6e-34]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(N[(a + 0.8333333333333334), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 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 -4.3 \cdot 10^{-87} \lor \neg \left(c \leq 2.6 \cdot 10^{-34}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\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 < -4.29999999999999995e-87 or 2.5999999999999999e-34 < c Initial program 94.9%
Taylor expanded in c around inf 85.8%
+-commutative85.8%
associate-*r/85.8%
metadata-eval85.8%
Simplified85.8%
if -4.29999999999999995e-87 < c < 2.5999999999999999e-34Initial program 97.5%
Taylor expanded in b around inf 83.6%
associate-*r/83.6%
metadata-eval83.6%
+-commutative83.6%
Simplified83.6%
Final simplification84.7%
(FPCore (x y z t a b c)
:precision binary64
(if (<= (- b c) -3e+191)
(/ x (+ x (- y (* 2.0 (/ (* a (* b (* y t))) t)))))
(if (<= (- b c) -5e+82)
(/ x (+ x (+ y (* 1.3333333333333333 (/ (* y (- b c)) t)))))
(if (<= (- b c) -1e-54)
(/
x
(-
x
(-
(*
2.0
(* (- (+ a 0.8333333333333334) (/ 0.6666666666666666 t)) (* y b)))
y)))
1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b - c) <= -3e+191) {
tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))));
} else if ((b - c) <= -5e+82) {
tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
} else if ((b - c) <= -1e-54) {
tmp = x / (x - ((2.0 * (((a + 0.8333333333333334) - (0.6666666666666666 / t)) * (y * 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 - c) <= (-3d+191)) then
tmp = x / (x + (y - (2.0d0 * ((a * (b * (y * t))) / t))))
else if ((b - c) <= (-5d+82)) then
tmp = x / (x + (y + (1.3333333333333333d0 * ((y * (b - c)) / t))))
else if ((b - c) <= (-1d-54)) then
tmp = x / (x - ((2.0d0 * (((a + 0.8333333333333334d0) - (0.6666666666666666d0 / t)) * (y * 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 - c) <= -3e+191) {
tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))));
} else if ((b - c) <= -5e+82) {
tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
} else if ((b - c) <= -1e-54) {
tmp = x / (x - ((2.0 * (((a + 0.8333333333333334) - (0.6666666666666666 / t)) * (y * b))) - y));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (b - c) <= -3e+191: tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t)))) elif (b - c) <= -5e+82: tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t)))) elif (b - c) <= -1e-54: tmp = x / (x - ((2.0 * (((a + 0.8333333333333334) - (0.6666666666666666 / t)) * (y * b))) - y)) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (Float64(b - c) <= -3e+191) tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(Float64(a * Float64(b * Float64(y * t))) / t))))); elseif (Float64(b - c) <= -5e+82) tmp = Float64(x / Float64(x + Float64(y + Float64(1.3333333333333333 * Float64(Float64(y * Float64(b - c)) / t))))); elseif (Float64(b - c) <= -1e-54) tmp = Float64(x / Float64(x - Float64(Float64(2.0 * Float64(Float64(Float64(a + 0.8333333333333334) - Float64(0.6666666666666666 / t)) * Float64(y * 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 - c) <= -3e+191) tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t)))); elseif ((b - c) <= -5e+82) tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t)))); elseif ((b - c) <= -1e-54) tmp = x / (x - ((2.0 * (((a + 0.8333333333333334) - (0.6666666666666666 / t)) * (y * b))) - y)); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[N[(b - c), $MachinePrecision], -3e+191], N[(x / N[(x + N[(y - N[(2.0 * N[(N[(a * N[(b * N[(y * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -5e+82], N[(x / N[(x + N[(y + N[(1.3333333333333333 * N[(N[(y * N[(b - c), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -1e-54], N[(x / N[(x - N[(N[(2.0 * N[(N[(N[(a + 0.8333333333333334), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b - c \leq -3 \cdot 10^{+191}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \frac{a \cdot \left(b \cdot \left(y \cdot t\right)\right)}{t}\right)}\\
\mathbf{elif}\;b - c \leq -5 \cdot 10^{+82}:\\
\;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\
\mathbf{elif}\;b - c \leq -1 \cdot 10^{-54}:\\
\;\;\;\;\frac{x}{x - \left(2 \cdot \left(\left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right) \cdot \left(y \cdot b\right)\right) - y\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if (-.f64 b c) < -2.9999999999999997e191Initial program 88.6%
Taylor expanded in b around inf 75.1%
associate-*r/75.1%
metadata-eval75.1%
+-commutative75.1%
Simplified75.1%
Taylor expanded in b around 0 42.2%
Taylor expanded in t around 0 55.9%
Taylor expanded in a around inf 58.8%
associate-*r*58.8%
mul-1-neg58.8%
Simplified58.8%
if -2.9999999999999997e191 < (-.f64 b c) < -5.00000000000000015e82Initial program 96.4%
Taylor expanded in t around 0 40.3%
Taylor expanded in z around 0 51.7%
Taylor expanded in t around inf 52.1%
if -5.00000000000000015e82 < (-.f64 b c) < -1e-54Initial program 99.9%
Taylor expanded in b around inf 71.7%
associate-*r/71.7%
metadata-eval71.7%
+-commutative71.7%
Simplified71.7%
Taylor expanded in b around 0 51.7%
associate-*r*50.4%
associate-*r/50.4%
metadata-eval50.4%
Simplified50.4%
if -1e-54 < (-.f64 b c) Initial program 97.1%
Taylor expanded in c around inf 67.1%
+-commutative67.1%
associate-*r/67.1%
metadata-eval67.1%
Simplified67.1%
Taylor expanded in x around inf 63.9%
Final simplification60.7%
(FPCore (x y z t a b c)
:precision binary64
(if (<= (- b c) -3e+191)
(/
x
(-
x
(-
(*
2.0
(/
(* y (- (* b (* t (+ a 0.8333333333333334))) (* 0.6666666666666666 b)))
t))
y)))
(if (<= (- b c) -1e-54)
(/
x
(+
x
(+
y
(*
2.0
(*
b
(*
a
(-
(* y (/ (+ (/ 0.6666666666666666 t) -0.8333333333333334) a))
y)))))))
1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b - c) <= -3e+191) {
tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y));
} else if ((b - c) <= -1e-54) {
tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if ((b - c) <= (-3d+191)) then
tmp = x / (x - ((2.0d0 * ((y * ((b * (t * (a + 0.8333333333333334d0))) - (0.6666666666666666d0 * b))) / t)) - y))
else if ((b - c) <= (-1d-54)) then
tmp = x / (x + (y + (2.0d0 * (b * (a * ((y * (((0.6666666666666666d0 / t) + (-0.8333333333333334d0)) / a)) - y))))))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b - c) <= -3e+191) {
tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y));
} else if ((b - c) <= -1e-54) {
tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (b - c) <= -3e+191: tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y)) elif (b - c) <= -1e-54: tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (Float64(b - c) <= -3e+191) tmp = Float64(x / Float64(x - Float64(Float64(2.0 * Float64(Float64(y * Float64(Float64(b * Float64(t * Float64(a + 0.8333333333333334))) - Float64(0.6666666666666666 * b))) / t)) - y))); elseif (Float64(b - c) <= -1e-54) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(a * Float64(Float64(y * Float64(Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334) / a)) - y))))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if ((b - c) <= -3e+191) tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y)); elseif ((b - c) <= -1e-54) tmp = x / (x + (y + (2.0 * (b * (a * ((y * (((0.6666666666666666 / t) + -0.8333333333333334) / a)) - y)))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[N[(b - c), $MachinePrecision], -3e+191], N[(x / N[(x - N[(N[(2.0 * N[(N[(y * N[(N[(b * N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(0.6666666666666666 * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -1e-54], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(a * N[(N[(y * N[(N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b - c \leq -3 \cdot 10^{+191}:\\
\;\;\;\;\frac{x}{x - \left(2 \cdot \frac{y \cdot \left(b \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right) - 0.6666666666666666 \cdot b\right)}{t} - y\right)}\\
\mathbf{elif}\;b - c \leq -1 \cdot 10^{-54}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(a \cdot \left(y \cdot \frac{\frac{0.6666666666666666}{t} + -0.8333333333333334}{a} - y\right)\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if (-.f64 b c) < -2.9999999999999997e191Initial program 88.6%
Taylor expanded in b around inf 75.1%
associate-*r/75.1%
metadata-eval75.1%
+-commutative75.1%
Simplified75.1%
Taylor expanded in b around 0 42.2%
Taylor expanded in t around 0 55.9%
Taylor expanded in y around 0 61.4%
+-commutative61.4%
mul-1-neg61.4%
unsub-neg61.4%
*-commutative61.4%
Simplified61.4%
if -2.9999999999999997e191 < (-.f64 b c) < -1e-54Initial program 98.0%
Taylor expanded in b around inf 62.8%
associate-*r/62.8%
metadata-eval62.8%
+-commutative62.8%
Simplified62.8%
Taylor expanded in b around 0 49.9%
Taylor expanded in a around -inf 51.8%
associate-*r*51.8%
mul-1-neg51.8%
mul-1-neg51.8%
associate-/l*53.6%
sub-neg53.6%
associate-*r/53.6%
metadata-eval53.6%
metadata-eval53.6%
Simplified53.6%
if -1e-54 < (-.f64 b c) Initial program 97.1%
Taylor expanded in c around inf 67.1%
+-commutative67.1%
associate-*r/67.1%
metadata-eval67.1%
Simplified67.1%
Taylor expanded in x around inf 63.9%
Final simplification61.5%
(FPCore (x y z t a b c)
:precision binary64
(if (<= (- b c) -3e+191)
(/ x (+ x (- y (* 2.0 (/ (* a (* b (* y t))) t)))))
(if (<= (- b c) -5e+51)
(/ x (+ x (+ y (* 1.3333333333333333 (/ (* y (- b c)) t)))))
(if (<= (- b c) -1e-54)
(/ x (+ x (+ y (* 2.0 (* c (* y (+ a 0.8333333333333334)))))))
1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b - c) <= -3e+191) {
tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))));
} else if ((b - c) <= -5e+51) {
tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
} else if ((b - c) <= -1e-54) {
tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if ((b - c) <= (-3d+191)) then
tmp = x / (x + (y - (2.0d0 * ((a * (b * (y * t))) / t))))
else if ((b - c) <= (-5d+51)) then
tmp = x / (x + (y + (1.3333333333333333d0 * ((y * (b - c)) / t))))
else if ((b - c) <= (-1d-54)) then
tmp = x / (x + (y + (2.0d0 * (c * (y * (a + 0.8333333333333334d0))))))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b - c) <= -3e+191) {
tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t))));
} else if ((b - c) <= -5e+51) {
tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
} else if ((b - c) <= -1e-54) {
tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (b - c) <= -3e+191: tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t)))) elif (b - c) <= -5e+51: tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t)))) elif (b - c) <= -1e-54: tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334)))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (Float64(b - c) <= -3e+191) tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(Float64(a * Float64(b * Float64(y * t))) / t))))); elseif (Float64(b - c) <= -5e+51) tmp = Float64(x / Float64(x + Float64(y + Float64(1.3333333333333333 * Float64(Float64(y * Float64(b - c)) / t))))); elseif (Float64(b - c) <= -1e-54) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(c * Float64(y * Float64(a + 0.8333333333333334))))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if ((b - c) <= -3e+191) tmp = x / (x + (y - (2.0 * ((a * (b * (y * t))) / t)))); elseif ((b - c) <= -5e+51) tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t)))); elseif ((b - c) <= -1e-54) tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334)))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[N[(b - c), $MachinePrecision], -3e+191], N[(x / N[(x + N[(y - N[(2.0 * N[(N[(a * N[(b * N[(y * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -5e+51], N[(x / N[(x + N[(y + N[(1.3333333333333333 * N[(N[(y * N[(b - c), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -1e-54], N[(x / N[(x + N[(y + N[(2.0 * N[(c * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b - c \leq -3 \cdot 10^{+191}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \frac{a \cdot \left(b \cdot \left(y \cdot t\right)\right)}{t}\right)}\\
\mathbf{elif}\;b - c \leq -5 \cdot 10^{+51}:\\
\;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\
\mathbf{elif}\;b - c \leq -1 \cdot 10^{-54}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if (-.f64 b c) < -2.9999999999999997e191Initial program 88.6%
Taylor expanded in b around inf 75.1%
associate-*r/75.1%
metadata-eval75.1%
+-commutative75.1%
Simplified75.1%
Taylor expanded in b around 0 42.2%
Taylor expanded in t around 0 55.9%
Taylor expanded in a around inf 58.8%
associate-*r*58.8%
mul-1-neg58.8%
Simplified58.8%
if -2.9999999999999997e191 < (-.f64 b c) < -5e51Initial program 97.1%
Taylor expanded in t around 0 46.5%
Taylor expanded in z around 0 58.7%
Taylor expanded in t around inf 55.0%
if -5e51 < (-.f64 b c) < -1e-54Initial program 99.9%
Taylor expanded in c around inf 77.2%
+-commutative77.2%
associate-*r/77.2%
metadata-eval77.2%
Simplified77.2%
Taylor expanded in t around inf 60.1%
*-commutative60.1%
Simplified60.1%
Taylor expanded in c around 0 43.3%
if -1e-54 < (-.f64 b c) Initial program 97.1%
Taylor expanded in c around inf 67.1%
+-commutative67.1%
associate-*r/67.1%
metadata-eval67.1%
Simplified67.1%
Taylor expanded in x around inf 63.9%
Final simplification60.6%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (* y (+ a 0.8333333333333334))))
(if (<= (- b c) -3e+191)
(/ x (+ x (- y (* 2.0 (/ (* (* t b) t_1) t)))))
(if (<= (- b c) -5e+51)
(/ x (+ x (+ y (* 1.3333333333333333 (/ (* y (- b c)) t)))))
(if (<= (- b c) -1e-54) (/ x (+ x (+ y (* 2.0 (* c t_1))))) 1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = y * (a + 0.8333333333333334);
double tmp;
if ((b - c) <= -3e+191) {
tmp = x / (x + (y - (2.0 * (((t * b) * t_1) / t))));
} else if ((b - c) <= -5e+51) {
tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
} else if ((b - c) <= -1e-54) {
tmp = x / (x + (y + (2.0 * (c * t_1))));
} 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 = y * (a + 0.8333333333333334d0)
if ((b - c) <= (-3d+191)) then
tmp = x / (x + (y - (2.0d0 * (((t * b) * t_1) / t))))
else if ((b - c) <= (-5d+51)) then
tmp = x / (x + (y + (1.3333333333333333d0 * ((y * (b - c)) / t))))
else if ((b - c) <= (-1d-54)) then
tmp = x / (x + (y + (2.0d0 * (c * t_1))))
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 = y * (a + 0.8333333333333334);
double tmp;
if ((b - c) <= -3e+191) {
tmp = x / (x + (y - (2.0 * (((t * b) * t_1) / t))));
} else if ((b - c) <= -5e+51) {
tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t))));
} else if ((b - c) <= -1e-54) {
tmp = x / (x + (y + (2.0 * (c * t_1))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = y * (a + 0.8333333333333334) tmp = 0 if (b - c) <= -3e+191: tmp = x / (x + (y - (2.0 * (((t * b) * t_1) / t)))) elif (b - c) <= -5e+51: tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t)))) elif (b - c) <= -1e-54: tmp = x / (x + (y + (2.0 * (c * t_1)))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(y * Float64(a + 0.8333333333333334)) tmp = 0.0 if (Float64(b - c) <= -3e+191) tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(Float64(Float64(t * b) * t_1) / t))))); elseif (Float64(b - c) <= -5e+51) tmp = Float64(x / Float64(x + Float64(y + Float64(1.3333333333333333 * Float64(Float64(y * Float64(b - c)) / t))))); elseif (Float64(b - c) <= -1e-54) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(c * t_1))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = y * (a + 0.8333333333333334); tmp = 0.0; if ((b - c) <= -3e+191) tmp = x / (x + (y - (2.0 * (((t * b) * t_1) / t)))); elseif ((b - c) <= -5e+51) tmp = x / (x + (y + (1.3333333333333333 * ((y * (b - c)) / t)))); elseif ((b - c) <= -1e-54) tmp = x / (x + (y + (2.0 * (c * t_1)))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(b - c), $MachinePrecision], -3e+191], N[(x / N[(x + N[(y - N[(2.0 * N[(N[(N[(t * b), $MachinePrecision] * t$95$1), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -5e+51], N[(x / N[(x + N[(y + N[(1.3333333333333333 * N[(N[(y * N[(b - c), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(b - c), $MachinePrecision], -1e-54], N[(x / N[(x + N[(y + N[(2.0 * N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(a + 0.8333333333333334\right)\\
\mathbf{if}\;b - c \leq -3 \cdot 10^{+191}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \frac{\left(t \cdot b\right) \cdot t\_1}{t}\right)}\\
\mathbf{elif}\;b - c \leq -5 \cdot 10^{+51}:\\
\;\;\;\;\frac{x}{x + \left(y + 1.3333333333333333 \cdot \frac{y \cdot \left(b - c\right)}{t}\right)}\\
\mathbf{elif}\;b - c \leq -1 \cdot 10^{-54}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot t\_1\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if (-.f64 b c) < -2.9999999999999997e191Initial program 88.6%
Taylor expanded in b around inf 75.1%
associate-*r/75.1%
metadata-eval75.1%
+-commutative75.1%
Simplified75.1%
Taylor expanded in b around 0 42.2%
Taylor expanded in t around 0 55.9%
Taylor expanded in t around inf 58.8%
mul-1-neg58.8%
associate-*r*58.8%
*-commutative58.8%
distribute-rgt-neg-in58.8%
*-commutative58.8%
Simplified58.8%
if -2.9999999999999997e191 < (-.f64 b c) < -5e51Initial program 97.1%
Taylor expanded in t around 0 46.5%
Taylor expanded in z around 0 58.7%
Taylor expanded in t around inf 55.0%
if -5e51 < (-.f64 b c) < -1e-54Initial program 99.9%
Taylor expanded in c around inf 77.2%
+-commutative77.2%
associate-*r/77.2%
metadata-eval77.2%
Simplified77.2%
Taylor expanded in t around inf 60.1%
*-commutative60.1%
Simplified60.1%
Taylor expanded in c around 0 43.3%
if -1e-54 < (-.f64 b c) Initial program 97.1%
Taylor expanded in c around inf 67.1%
+-commutative67.1%
associate-*r/67.1%
metadata-eval67.1%
Simplified67.1%
Taylor expanded in x around inf 63.9%
Final simplification60.6%
(FPCore (x y z t a b c)
:precision binary64
(if (<= (- b c) -1e-54)
(/
x
(-
x
(-
(*
2.0
(/
(* y (- (* b (* t (+ a 0.8333333333333334))) (* 0.6666666666666666 b)))
t))
y)))
1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b - c) <= -1e-54) {
tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - 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 - c) <= (-1d-54)) then
tmp = x / (x - ((2.0d0 * ((y * ((b * (t * (a + 0.8333333333333334d0))) - (0.6666666666666666d0 * b))) / t)) - 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 - c) <= -1e-54) {
tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (b - c) <= -1e-54: tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y)) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (Float64(b - c) <= -1e-54) tmp = Float64(x / Float64(x - Float64(Float64(2.0 * Float64(Float64(y * Float64(Float64(b * Float64(t * Float64(a + 0.8333333333333334))) - Float64(0.6666666666666666 * b))) / t)) - 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 - c) <= -1e-54) tmp = x / (x - ((2.0 * ((y * ((b * (t * (a + 0.8333333333333334))) - (0.6666666666666666 * b))) / t)) - y)); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[N[(b - c), $MachinePrecision], -1e-54], N[(x / N[(x - N[(N[(2.0 * N[(N[(y * N[(N[(b * N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(0.6666666666666666 * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b - c \leq -1 \cdot 10^{-54}:\\
\;\;\;\;\frac{x}{x - \left(2 \cdot \frac{y \cdot \left(b \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right) - 0.6666666666666666 \cdot b\right)}{t} - y\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if (-.f64 b c) < -1e-54Initial program 94.2%
Taylor expanded in b around inf 67.8%
associate-*r/67.8%
metadata-eval67.8%
+-commutative67.8%
Simplified67.8%
Taylor expanded in b around 0 46.8%
Taylor expanded in t around 0 48.4%
Taylor expanded in y around 0 51.9%
+-commutative51.9%
mul-1-neg51.9%
unsub-neg51.9%
*-commutative51.9%
Simplified51.9%
if -1e-54 < (-.f64 b c) Initial program 97.1%
Taylor expanded in c around inf 67.1%
+-commutative67.1%
associate-*r/67.1%
metadata-eval67.1%
Simplified67.1%
Taylor expanded in x around inf 63.9%
Final simplification59.8%
(FPCore (x y z t a b c)
:precision binary64
(if (<= x 3.4e-246)
1.0
(if (<= x 1.65e-169)
(/ x (+ x (+ y (* -2.0 (* b (* y (+ a 0.8333333333333334)))))))
(if (<= x 5.6e+187) 1.0 (/ x (- x (- (* 2.0 (* b (* y a))) y)))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (x <= 3.4e-246) {
tmp = 1.0;
} else if (x <= 1.65e-169) {
tmp = x / (x + (y + (-2.0 * (b * (y * (a + 0.8333333333333334))))));
} else if (x <= 5.6e+187) {
tmp = 1.0;
} else {
tmp = x / (x - ((2.0 * (b * (y * a))) - y));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (x <= 3.4d-246) then
tmp = 1.0d0
else if (x <= 1.65d-169) then
tmp = x / (x + (y + ((-2.0d0) * (b * (y * (a + 0.8333333333333334d0))))))
else if (x <= 5.6d+187) then
tmp = 1.0d0
else
tmp = x / (x - ((2.0d0 * (b * (y * a))) - y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (x <= 3.4e-246) {
tmp = 1.0;
} else if (x <= 1.65e-169) {
tmp = x / (x + (y + (-2.0 * (b * (y * (a + 0.8333333333333334))))));
} else if (x <= 5.6e+187) {
tmp = 1.0;
} else {
tmp = x / (x - ((2.0 * (b * (y * a))) - y));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if x <= 3.4e-246: tmp = 1.0 elif x <= 1.65e-169: tmp = x / (x + (y + (-2.0 * (b * (y * (a + 0.8333333333333334)))))) elif x <= 5.6e+187: tmp = 1.0 else: tmp = x / (x - ((2.0 * (b * (y * a))) - y)) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (x <= 3.4e-246) tmp = 1.0; elseif (x <= 1.65e-169) tmp = Float64(x / Float64(x + Float64(y + Float64(-2.0 * Float64(b * Float64(y * Float64(a + 0.8333333333333334))))))); elseif (x <= 5.6e+187) tmp = 1.0; else tmp = Float64(x / Float64(x - Float64(Float64(2.0 * Float64(b * Float64(y * a))) - y))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (x <= 3.4e-246) tmp = 1.0; elseif (x <= 1.65e-169) tmp = x / (x + (y + (-2.0 * (b * (y * (a + 0.8333333333333334)))))); elseif (x <= 5.6e+187) tmp = 1.0; else tmp = x / (x - ((2.0 * (b * (y * a))) - y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[x, 3.4e-246], 1.0, If[LessEqual[x, 1.65e-169], N[(x / N[(x + N[(y + N[(-2.0 * N[(b * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.6e+187], 1.0, N[(x / N[(x - N[(N[(2.0 * N[(b * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 3.4 \cdot 10^{-246}:\\
\;\;\;\;1\\
\mathbf{elif}\;x \leq 1.65 \cdot 10^{-169}:\\
\;\;\;\;\frac{x}{x + \left(y + -2 \cdot \left(b \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\
\mathbf{elif}\;x \leq 5.6 \cdot 10^{+187}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x - \left(2 \cdot \left(b \cdot \left(y \cdot a\right)\right) - y\right)}\\
\end{array}
\end{array}
if x < 3.4000000000000001e-246 or 1.65000000000000013e-169 < x < 5.59999999999999979e187Initial program 96.1%
Taylor expanded in c around inf 69.2%
+-commutative69.2%
associate-*r/69.2%
metadata-eval69.2%
Simplified69.2%
Taylor expanded in x around inf 59.4%
if 3.4000000000000001e-246 < x < 1.65000000000000013e-169Initial program 85.7%
Taylor expanded in b around inf 72.4%
associate-*r/72.4%
metadata-eval72.4%
+-commutative72.4%
Simplified72.4%
Taylor expanded in b around 0 58.5%
Taylor expanded in t around inf 65.5%
*-commutative65.5%
Simplified65.5%
if 5.59999999999999979e187 < x Initial program 100.0%
Taylor expanded in b around inf 63.4%
associate-*r/63.4%
metadata-eval63.4%
+-commutative63.4%
Simplified63.4%
Taylor expanded in b around 0 52.9%
Taylor expanded in a around inf 55.5%
associate-*r*55.5%
mul-1-neg55.5%
Simplified55.5%
Final simplification59.2%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t -1.46e-261)
1.0
(if (<= t 1.65e-279)
(/ x (+ x (- y (* 1.3333333333333333 (* y (/ (- c b) t))))))
1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -1.46e-261) {
tmp = 1.0;
} else if (t <= 1.65e-279) {
tmp = x / (x + (y - (1.3333333333333333 * (y * ((c - b) / 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 (t <= (-1.46d-261)) then
tmp = 1.0d0
else if (t <= 1.65d-279) then
tmp = x / (x + (y - (1.3333333333333333d0 * (y * ((c - b) / 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 (t <= -1.46e-261) {
tmp = 1.0;
} else if (t <= 1.65e-279) {
tmp = x / (x + (y - (1.3333333333333333 * (y * ((c - b) / t)))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= -1.46e-261: tmp = 1.0 elif t <= 1.65e-279: tmp = x / (x + (y - (1.3333333333333333 * (y * ((c - b) / t))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= -1.46e-261) tmp = 1.0; elseif (t <= 1.65e-279) tmp = Float64(x / Float64(x + Float64(y - Float64(1.3333333333333333 * Float64(y * Float64(Float64(c - b) / t)))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= -1.46e-261) tmp = 1.0; elseif (t <= 1.65e-279) tmp = x / (x + (y - (1.3333333333333333 * (y * ((c - b) / t))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, -1.46e-261], 1.0, If[LessEqual[t, 1.65e-279], N[(x / N[(x + N[(y - N[(1.3333333333333333 * N[(y * N[(N[(c - b), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.46 \cdot 10^{-261}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 1.65 \cdot 10^{-279}:\\
\;\;\;\;\frac{x}{x + \left(y - 1.3333333333333333 \cdot \left(y \cdot \frac{c - b}{t}\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if t < -1.4599999999999999e-261 or 1.65e-279 < t Initial program 96.3%
Taylor expanded in c around inf 68.8%
+-commutative68.8%
associate-*r/68.8%
metadata-eval68.8%
Simplified68.8%
Taylor expanded in x around inf 57.0%
if -1.4599999999999999e-261 < t < 1.65e-279Initial program 92.3%
Taylor expanded in t around 0 100.0%
Taylor expanded in z around 0 100.0%
Taylor expanded in t around inf 77.9%
associate-/l*77.9%
Simplified77.9%
Final simplification58.1%
(FPCore (x y z t a b c) :precision binary64 (if (<= a 5.5e+264) 1.0 (if (<= a 2e+273) (* -0.5 (/ x (* b (* y (+ a 0.8333333333333334))))) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= 5.5e+264) {
tmp = 1.0;
} else if (a <= 2e+273) {
tmp = -0.5 * (x / (b * (y * (a + 0.8333333333333334))));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (a <= 5.5d+264) then
tmp = 1.0d0
else if (a <= 2d+273) then
tmp = (-0.5d0) * (x / (b * (y * (a + 0.8333333333333334d0))))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= 5.5e+264) {
tmp = 1.0;
} else if (a <= 2e+273) {
tmp = -0.5 * (x / (b * (y * (a + 0.8333333333333334))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if a <= 5.5e+264: tmp = 1.0 elif a <= 2e+273: tmp = -0.5 * (x / (b * (y * (a + 0.8333333333333334)))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (a <= 5.5e+264) tmp = 1.0; elseif (a <= 2e+273) tmp = Float64(-0.5 * Float64(x / Float64(b * Float64(y * Float64(a + 0.8333333333333334))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (a <= 5.5e+264) tmp = 1.0; elseif (a <= 2e+273) tmp = -0.5 * (x / (b * (y * (a + 0.8333333333333334)))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[a, 5.5e+264], 1.0, If[LessEqual[a, 2e+273], N[(-0.5 * N[(x / N[(b * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq 5.5 \cdot 10^{+264}:\\
\;\;\;\;1\\
\mathbf{elif}\;a \leq 2 \cdot 10^{+273}:\\
\;\;\;\;-0.5 \cdot \frac{x}{b \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if a < 5.4999999999999997e264 or 1.99999999999999989e273 < a Initial program 96.0%
Taylor expanded in c around inf 69.6%
+-commutative69.6%
associate-*r/69.6%
metadata-eval69.6%
Simplified69.6%
Taylor expanded in x around inf 56.7%
if 5.4999999999999997e264 < a < 1.99999999999999989e273Initial program 100.0%
Taylor expanded in b around inf 80.6%
associate-*r/80.6%
metadata-eval80.6%
+-commutative80.6%
Simplified80.6%
Taylor expanded in b around 0 80.7%
Taylor expanded in t around inf 80.7%
*-commutative80.7%
Simplified80.7%
Taylor expanded in b around inf 80.7%
Final simplification57.7%
(FPCore (x y z t a b c) :precision binary64 (if (<= t -8.6e-298) 1.0 (if (<= t 6.2e-282) (* 0.75 (/ (* x t) (* y b))) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= -8.6e-298) {
tmp = 1.0;
} else if (t <= 6.2e-282) {
tmp = 0.75 * ((x * t) / (y * 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 (t <= (-8.6d-298)) then
tmp = 1.0d0
else if (t <= 6.2d-282) then
tmp = 0.75d0 * ((x * t) / (y * 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 (t <= -8.6e-298) {
tmp = 1.0;
} else if (t <= 6.2e-282) {
tmp = 0.75 * ((x * t) / (y * b));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= -8.6e-298: tmp = 1.0 elif t <= 6.2e-282: tmp = 0.75 * ((x * t) / (y * b)) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= -8.6e-298) tmp = 1.0; elseif (t <= 6.2e-282) tmp = Float64(0.75 * Float64(Float64(x * t) / Float64(y * b))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= -8.6e-298) tmp = 1.0; elseif (t <= 6.2e-282) tmp = 0.75 * ((x * t) / (y * b)); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, -8.6e-298], 1.0, If[LessEqual[t, 6.2e-282], N[(0.75 * N[(N[(x * t), $MachinePrecision] / N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -8.6 \cdot 10^{-298}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 6.2 \cdot 10^{-282}:\\
\;\;\;\;0.75 \cdot \frac{x \cdot t}{y \cdot b}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if t < -8.600000000000001e-298 or 6.20000000000000027e-282 < t Initial program 96.4%
Taylor expanded in c around inf 69.4%
+-commutative69.4%
associate-*r/69.4%
metadata-eval69.4%
Simplified69.4%
Taylor expanded in x around inf 56.7%
if -8.600000000000001e-298 < t < 6.20000000000000027e-282Initial program 87.5%
Taylor expanded in b around inf 87.9%
associate-*r/87.9%
metadata-eval87.9%
+-commutative87.9%
Simplified87.9%
Taylor expanded in b around 0 76.2%
Taylor expanded in t around 0 75.9%
Final simplification57.3%
(FPCore (x y z t a b c) :precision binary64 (if (<= a 5.5e+264) 1.0 (/ x (* y (+ (* -2.0 (* b (+ a 0.8333333333333334))) 1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= 5.5e+264) {
tmp = 1.0;
} else {
tmp = x / (y * ((-2.0 * (b * (a + 0.8333333333333334))) + 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 <= 5.5d+264) then
tmp = 1.0d0
else
tmp = x / (y * (((-2.0d0) * (b * (a + 0.8333333333333334d0))) + 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 <= 5.5e+264) {
tmp = 1.0;
} else {
tmp = x / (y * ((-2.0 * (b * (a + 0.8333333333333334))) + 1.0));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if a <= 5.5e+264: tmp = 1.0 else: tmp = x / (y * ((-2.0 * (b * (a + 0.8333333333333334))) + 1.0)) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (a <= 5.5e+264) tmp = 1.0; else tmp = Float64(x / Float64(y * Float64(Float64(-2.0 * Float64(b * Float64(a + 0.8333333333333334))) + 1.0))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (a <= 5.5e+264) tmp = 1.0; else tmp = x / (y * ((-2.0 * (b * (a + 0.8333333333333334))) + 1.0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[a, 5.5e+264], 1.0, N[(x / N[(y * N[(N[(-2.0 * N[(b * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq 5.5 \cdot 10^{+264}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot \left(-2 \cdot \left(b \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\
\end{array}
\end{array}
if a < 5.4999999999999997e264Initial program 96.6%
Taylor expanded in c around inf 69.3%
+-commutative69.3%
associate-*r/69.3%
metadata-eval69.3%
Simplified69.3%
Taylor expanded in x around inf 57.0%
if 5.4999999999999997e264 < a Initial program 90.9%
Taylor expanded in b around inf 69.2%
associate-*r/69.2%
metadata-eval69.2%
+-commutative69.2%
Simplified69.2%
Taylor expanded in b around 0 56.3%
Taylor expanded in t around inf 56.3%
*-commutative56.3%
Simplified56.3%
Taylor expanded in y around inf 56.0%
Final simplification56.9%
(FPCore (x y z t a b c) :precision binary64 (if (<= a 2.4e+260) 1.0 (/ x (- x (- (* 2.0 (* b (* y a))) y)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= 2.4e+260) {
tmp = 1.0;
} else {
tmp = x / (x - ((2.0 * (b * (y * a))) - y));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (a <= 2.4d+260) then
tmp = 1.0d0
else
tmp = x / (x - ((2.0d0 * (b * (y * a))) - y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= 2.4e+260) {
tmp = 1.0;
} else {
tmp = x / (x - ((2.0 * (b * (y * a))) - y));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if a <= 2.4e+260: tmp = 1.0 else: tmp = x / (x - ((2.0 * (b * (y * a))) - y)) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (a <= 2.4e+260) tmp = 1.0; else tmp = Float64(x / Float64(x - Float64(Float64(2.0 * Float64(b * Float64(y * a))) - y))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (a <= 2.4e+260) tmp = 1.0; else tmp = x / (x - ((2.0 * (b * (y * a))) - y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[a, 2.4e+260], 1.0, N[(x / N[(x - N[(N[(2.0 * N[(b * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq 2.4 \cdot 10^{+260}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x - \left(2 \cdot \left(b \cdot \left(y \cdot a\right)\right) - y\right)}\\
\end{array}
\end{array}
if a < 2.4000000000000001e260Initial program 96.6%
Taylor expanded in c around inf 69.1%
+-commutative69.1%
associate-*r/69.1%
metadata-eval69.1%
Simplified69.1%
Taylor expanded in x around inf 56.8%
if 2.4000000000000001e260 < a Initial program 91.3%
Taylor expanded in b around inf 66.3%
associate-*r/66.3%
metadata-eval66.3%
+-commutative66.3%
Simplified66.3%
Taylor expanded in b around 0 58.2%
Taylor expanded in a around inf 58.2%
associate-*r*58.2%
mul-1-neg58.2%
Simplified58.2%
Final simplification56.9%
(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 96.1%
Taylor expanded in c around inf 70.0%
+-commutative70.0%
associate-*r/70.0%
metadata-eval70.0%
Simplified70.0%
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 2024079
(FPCore (x y z t a b c)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, I"
:precision binary64
:alt
(if (< t -2.118326644891581e-50) (/ x (+ x (* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))))) (if (< t 5.196588770651547e-123) (/ x (+ x (* y (exp (* 2.0 (/ (- (* (* z (sqrt (+ t a))) (* (* 3.0 t) (- a (/ 5.0 6.0)))) (* (- (* (+ (/ 5.0 6.0) a) (* 3.0 t)) 2.0) (* (- a (/ 5.0 6.0)) (* (- b c) t)))) (* (* (* t t) 3.0) (- a (/ 5.0 6.0))))))))) (/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))))
(/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))