
(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 30 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))))))))))
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))))));
}
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))))));
}
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)))))) 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(a + 0.8333333333333334))))))); 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)))))); 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[(a + 0.8333333333333334), $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(a + 0.8333333333333334\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 100.0%
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 60.1%
+-commutative60.1%
associate-*r/60.1%
metadata-eval60.1%
Simplified60.1%
Taylor expanded in t around inf 71.5%
*-commutative71.5%
Simplified71.5%
Final simplification98.1%
(FPCore (x y z t a b c)
:precision binary64
(if (<= t 1.46e-52)
(/
x
(+
x
(*
y
(exp (* 2.0 (/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) t))))))
(/
x
(+
x
(*
y
(exp
(*
2.0
(+ (* z (sqrt (/ 1.0 t))) (* (+ a 0.8333333333333334) (- c b))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 1.46e-52) {
tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
} else {
tmp = x / (x + (y * exp((2.0 * ((z * sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (t <= 1.46d-52) then
tmp = x / (x + (y * exp((2.0d0 * (((z * sqrt(a)) + ((-0.6666666666666666d0) * (c - b))) / t)))))
else
tmp = x / (x + (y * exp((2.0d0 * ((z * sqrt((1.0d0 / t))) + ((a + 0.8333333333333334d0) * (c - b)))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 1.46e-52) {
tmp = x / (x + (y * Math.exp((2.0 * (((z * Math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * ((z * Math.sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b)))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if t <= 1.46e-52: tmp = x / (x + (y * math.exp((2.0 * (((z * math.sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))) else: tmp = x / (x + (y * math.exp((2.0 * ((z * math.sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b))))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (t <= 1.46e-52) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(a)) + Float64(-0.6666666666666666 * Float64(c - b))) / t)))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(z * sqrt(Float64(1.0 / t))) + Float64(Float64(a + 0.8333333333333334) * Float64(c - b)))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (t <= 1.46e-52) tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t))))); else tmp = x / (x + (y * exp((2.0 * ((z * sqrt((1.0 / t))) + ((a + 0.8333333333333334) * (c - b))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, 1.46e-52], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[a], $MachinePrecision]), $MachinePrecision] + N[(-0.6666666666666666 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(z * N[Sqrt[N[(1.0 / t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] + N[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 1.46 \cdot 10^{-52}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(a + 0.8333333333333334\right) \cdot \left(c - b\right)\right)}}\\
\end{array}
\end{array}
if t < 1.46000000000000003e-52Initial program 90.5%
Taylor expanded in t around 0 79.0%
if 1.46000000000000003e-52 < t Initial program 96.2%
Taylor expanded in t around inf 96.3%
Final simplification87.8%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ x (+ x (* y (exp (* 2.0 (/ (* b 0.6666666666666666) t))))))))
(if (<= t -1.46e-273)
t_1
(if (<= t 6.5e-190)
(/
x
(+
x
(*
y
(+
(*
2.0
(*
a
(+
c
(* c (/ (- 0.8333333333333334 (/ 0.6666666666666666 t)) a)))))
1.0))))
(if (<= t 5.8e-102)
t_1
(if (<= t 1.15e-42)
(/ x (+ x (* y (exp (* 2.0 (/ (* c -0.6666666666666666) t))))))
(if (<= t 1.08e+30)
(/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))
(/
x
(+ x (* y (exp (* (+ a 0.8333333333333334) (* b -2.0)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((2.0 * ((b * 0.6666666666666666) / t)))));
double tmp;
if (t <= -1.46e-273) {
tmp = t_1;
} else if (t <= 6.5e-190) {
tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
} else if (t <= 5.8e-102) {
tmp = t_1;
} else if (t <= 1.15e-42) {
tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t)))));
} else if (t <= 1.08e+30) {
tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = x / (x + (y * exp(((a + 0.8333333333333334) * (b * -2.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((2.0d0 * ((b * 0.6666666666666666d0) / t)))))
if (t <= (-1.46d-273)) then
tmp = t_1
else if (t <= 6.5d-190) then
tmp = x / (x + (y * ((2.0d0 * (a * (c + (c * ((0.8333333333333334d0 - (0.6666666666666666d0 / t)) / a))))) + 1.0d0)))
else if (t <= 5.8d-102) then
tmp = t_1
else if (t <= 1.15d-42) then
tmp = x / (x + (y * exp((2.0d0 * ((c * (-0.6666666666666666d0)) / t)))))
else if (t <= 1.08d+30) then
tmp = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
else
tmp = x / (x + (y * exp(((a + 0.8333333333333334d0) * (b * (-2.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((2.0 * ((b * 0.6666666666666666) / t)))));
double tmp;
if (t <= -1.46e-273) {
tmp = t_1;
} else if (t <= 6.5e-190) {
tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
} else if (t <= 5.8e-102) {
tmp = t_1;
} else if (t <= 1.15e-42) {
tmp = x / (x + (y * Math.exp((2.0 * ((c * -0.6666666666666666) / t)))));
} else if (t <= 1.08e+30) {
tmp = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
} else {
tmp = x / (x + (y * Math.exp(((a + 0.8333333333333334) * (b * -2.0)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((2.0 * ((b * 0.6666666666666666) / t))))) tmp = 0 if t <= -1.46e-273: tmp = t_1 elif t <= 6.5e-190: tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0))) elif t <= 5.8e-102: tmp = t_1 elif t <= 1.15e-42: tmp = x / (x + (y * math.exp((2.0 * ((c * -0.6666666666666666) / t))))) elif t <= 1.08e+30: tmp = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) else: tmp = x / (x + (y * math.exp(((a + 0.8333333333333334) * (b * -2.0))))) 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(b * 0.6666666666666666) / t)))))) tmp = 0.0 if (t <= -1.46e-273) tmp = t_1; elseif (t <= 6.5e-190) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * Float64(c + Float64(c * Float64(Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)) / a))))) + 1.0)))); elseif (t <= 5.8e-102) tmp = t_1; elseif (t <= 1.15e-42) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(c * -0.6666666666666666) / t)))))); elseif (t <= 1.08e+30) 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(Float64(a + 0.8333333333333334) * Float64(b * -2.0)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((2.0 * ((b * 0.6666666666666666) / t))))); tmp = 0.0; if (t <= -1.46e-273) tmp = t_1; elseif (t <= 6.5e-190) tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0))); elseif (t <= 5.8e-102) tmp = t_1; elseif (t <= 1.15e-42) tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t))))); elseif (t <= 1.08e+30) tmp = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); else tmp = x / (x + (y * exp(((a + 0.8333333333333334) * (b * -2.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[(2.0 * N[(N[(b * 0.6666666666666666), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.46e-273], t$95$1, If[LessEqual[t, 6.5e-190], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * N[(c + N[(c * N[(N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.8e-102], t$95$1, If[LessEqual[t, 1.15e-42], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(c * -0.6666666666666666), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.08e+30], 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[(N[(a + 0.8333333333333334), $MachinePrecision] * N[(b * -2.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \frac{b \cdot 0.6666666666666666}{t}}}\\
\mathbf{if}\;t \leq -1.46 \cdot 10^{-273}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 6.5 \cdot 10^{-190}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\
\mathbf{elif}\;t \leq 5.8 \cdot 10^{-102}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.15 \cdot 10^{-42}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\
\mathbf{elif}\;t \leq 1.08 \cdot 10^{+30}:\\
\;\;\;\;\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^{\left(a + 0.8333333333333334\right) \cdot \left(b \cdot -2\right)}}\\
\end{array}
\end{array}
if t < -1.45999999999999993e-273 or 6.4999999999999997e-190 < t < 5.79999999999999973e-102Initial program 91.9%
Taylor expanded in b around inf 74.7%
associate-*r/74.7%
metadata-eval74.7%
+-commutative74.7%
Simplified74.7%
Taylor expanded in t around 0 70.9%
associate-*r/70.9%
*-commutative70.9%
Simplified70.9%
if -1.45999999999999993e-273 < t < 6.4999999999999997e-190Initial program 85.7%
Taylor expanded in c around inf 69.6%
+-commutative69.6%
associate-*r/69.6%
metadata-eval69.6%
Simplified69.6%
Taylor expanded in c around 0 50.8%
associate-*r*50.8%
+-commutative50.8%
associate-*r/50.8%
metadata-eval50.8%
associate-+r-50.8%
associate-*r*50.8%
Simplified50.8%
Taylor expanded in a around inf 61.5%
associate-/l*67.0%
associate-*r/67.0%
metadata-eval67.0%
Simplified67.0%
if 5.79999999999999973e-102 < t < 1.15000000000000002e-42Initial program 91.7%
Taylor expanded in t around 0 67.3%
Taylor expanded in c around inf 67.8%
*-commutative67.8%
Simplified67.8%
if 1.15000000000000002e-42 < t < 1.08e30Initial program 95.7%
Taylor expanded in c around inf 70.5%
+-commutative70.5%
associate-*r/70.5%
metadata-eval70.5%
Simplified70.5%
Taylor expanded in t around inf 66.2%
*-commutative66.2%
Simplified66.2%
if 1.08e30 < t Initial program 97.0%
Taylor expanded in b around inf 75.0%
associate-*r/75.0%
metadata-eval75.0%
+-commutative75.0%
Simplified75.0%
Taylor expanded in t around inf 75.0%
associate-*r*75.0%
Simplified75.0%
Final simplification71.2%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1
(/
x
(+
x
(*
y
(exp
(*
2.0
(* b (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334)))))))))
(t_2 (/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))))
(if (<= c -1.95e+163)
t_2
(if (<= c 1.25e+27)
t_1
(if (<= c 2.2e+156)
(/ x (+ x (* y (exp (* c 1.6666666666666667)))))
(if (<= c 3e+216) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
double t_2 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
double tmp;
if (c <= -1.95e+163) {
tmp = t_2;
} else if (c <= 1.25e+27) {
tmp = t_1;
} else if (c <= 2.2e+156) {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
} else if (c <= 3e+216) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
t_2 = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
if (c <= (-1.95d+163)) then
tmp = t_2
else if (c <= 1.25d+27) then
tmp = t_1
else if (c <= 2.2d+156) then
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
else if (c <= 3d+216) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
double t_2 = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
double tmp;
if (c <= -1.95e+163) {
tmp = t_2;
} else if (c <= 1.25e+27) {
tmp = t_1;
} else if (c <= 2.2e+156) {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
} else if (c <= 3e+216) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))) t_2 = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) tmp = 0 if c <= -1.95e+163: tmp = t_2 elif c <= 1.25e+27: tmp = t_1 elif c <= 2.2e+156: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) elif c <= 3e+216: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))))))) t_2 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))))))) tmp = 0.0 if (c <= -1.95e+163) tmp = t_2; elseif (c <= 1.25e+27) tmp = t_1; elseif (c <= 2.2e+156) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); elseif (c <= 3e+216) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))); t_2 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); tmp = 0.0; if (c <= -1.95e+163) tmp = t_2; elseif (c <= 1.25e+27) tmp = t_1; elseif (c <= 2.2e+156) tmp = x / (x + (y * exp((c * 1.6666666666666667)))); elseif (c <= 3e+216) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.95e+163], t$95$2, If[LessEqual[c, 1.25e+27], t$95$1, If[LessEqual[c, 2.2e+156], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3e+216], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
t_2 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{if}\;c \leq -1.95 \cdot 10^{+163}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;c \leq 1.25 \cdot 10^{+27}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 2.2 \cdot 10^{+156}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if c < -1.95000000000000012e163 or 2.9999999999999998e216 < c Initial program 89.1%
Taylor expanded in c around inf 89.5%
+-commutative89.5%
associate-*r/89.5%
metadata-eval89.5%
Simplified89.5%
Taylor expanded in t around inf 68.4%
*-commutative68.4%
Simplified68.4%
if -1.95000000000000012e163 < c < 1.24999999999999995e27 or 2.20000000000000004e156 < c < 2.9999999999999998e216Initial program 94.2%
Taylor expanded in b around inf 77.3%
associate-*r/77.3%
metadata-eval77.3%
+-commutative77.3%
Simplified77.3%
if 1.24999999999999995e27 < c < 2.20000000000000004e156Initial program 95.2%
Taylor expanded in c around inf 76.9%
+-commutative76.9%
associate-*r/76.9%
metadata-eval76.9%
Simplified76.9%
Taylor expanded in t around inf 95.4%
*-commutative95.4%
Simplified95.4%
Taylor expanded in a around 0 95.4%
Final simplification77.2%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))))
(if (<= c -3e+52)
t_1
(if (<= c 4.1e+34)
(/ x (+ x (* y (exp (* 2.0 (* a (- b)))))))
(if (<= c 7e+153)
(/ x (+ x (* y (exp (* c 1.6666666666666667)))))
(if (<= c 3e+216)
(/ x (+ x (* y (exp (* 2.0 (/ (* c -0.6666666666666666) t))))))
t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
double tmp;
if (c <= -3e+52) {
tmp = t_1;
} else if (c <= 4.1e+34) {
tmp = x / (x + (y * exp((2.0 * (a * -b)))));
} else if (c <= 7e+153) {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
} else if (c <= 3e+216) {
tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t)))));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
if (c <= (-3d+52)) then
tmp = t_1
else if (c <= 4.1d+34) then
tmp = x / (x + (y * exp((2.0d0 * (a * -b)))))
else if (c <= 7d+153) then
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
else if (c <= 3d+216) then
tmp = x / (x + (y * exp((2.0d0 * ((c * (-0.6666666666666666d0)) / t)))))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
double tmp;
if (c <= -3e+52) {
tmp = t_1;
} else if (c <= 4.1e+34) {
tmp = x / (x + (y * Math.exp((2.0 * (a * -b)))));
} else if (c <= 7e+153) {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
} else if (c <= 3e+216) {
tmp = x / (x + (y * Math.exp((2.0 * ((c * -0.6666666666666666) / t)))));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) tmp = 0 if c <= -3e+52: tmp = t_1 elif c <= 4.1e+34: tmp = x / (x + (y * math.exp((2.0 * (a * -b))))) elif c <= 7e+153: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) elif c <= 3e+216: tmp = x / (x + (y * math.exp((2.0 * ((c * -0.6666666666666666) / t))))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))))))) tmp = 0.0 if (c <= -3e+52) tmp = t_1; elseif (c <= 4.1e+34) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * Float64(-b))))))); elseif (c <= 7e+153) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); elseif (c <= 3e+216) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(c * -0.6666666666666666) / t)))))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); tmp = 0.0; if (c <= -3e+52) tmp = t_1; elseif (c <= 4.1e+34) tmp = x / (x + (y * exp((2.0 * (a * -b))))); elseif (c <= 7e+153) tmp = x / (x + (y * exp((c * 1.6666666666666667)))); elseif (c <= 3e+216) tmp = x / (x + (y * exp((2.0 * ((c * -0.6666666666666666) / t))))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -3e+52], t$95$1, If[LessEqual[c, 4.1e+34], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * (-b)), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7e+153], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3e+216], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(c * -0.6666666666666666), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{if}\;c \leq -3 \cdot 10^{+52}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 4.1 \cdot 10^{+34}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\
\mathbf{elif}\;c \leq 7 \cdot 10^{+153}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{c \cdot -0.6666666666666666}{t}}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -3e52 or 2.9999999999999998e216 < c Initial program 89.3%
Taylor expanded in c around inf 79.3%
+-commutative79.3%
associate-*r/79.3%
metadata-eval79.3%
Simplified79.3%
Taylor expanded in t around inf 62.5%
*-commutative62.5%
Simplified62.5%
if -3e52 < c < 4.0999999999999998e34Initial program 95.1%
Taylor expanded in b around inf 79.7%
associate-*r/79.7%
metadata-eval79.7%
+-commutative79.7%
Simplified79.7%
Taylor expanded in a around inf 65.0%
associate-*r*65.0%
mul-1-neg65.0%
Simplified65.0%
if 4.0999999999999998e34 < c < 6.9999999999999998e153Initial program 95.0%
Taylor expanded in c around inf 75.8%
+-commutative75.8%
associate-*r/75.8%
metadata-eval75.8%
Simplified75.8%
Taylor expanded in t around inf 95.2%
*-commutative95.2%
Simplified95.2%
Taylor expanded in a around 0 95.2%
if 6.9999999999999998e153 < c < 2.9999999999999998e216Initial program 94.4%
Taylor expanded in t around 0 56.4%
Taylor expanded in c around inf 73.2%
*-commutative73.2%
Simplified73.2%
Final simplification67.2%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ x (+ x (* y (exp (* 2.0 (* c (+ a 0.8333333333333334)))))))))
(if (<= c -2.65e+52)
t_1
(if (<= c 1.85e+22)
(/ x (+ x (* y (exp (* 2.0 (* a (- b)))))))
(if (<= c 2e+198)
(/ x (+ x (* y (exp (* c 1.6666666666666667)))))
(if (<= c 3e+216) 1.0 t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334))))));
double tmp;
if (c <= -2.65e+52) {
tmp = t_1;
} else if (c <= 1.85e+22) {
tmp = x / (x + (y * exp((2.0 * (a * -b)))));
} else if (c <= 2e+198) {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
} else if (c <= 3e+216) {
tmp = 1.0;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = x / (x + (y * exp((2.0d0 * (c * (a + 0.8333333333333334d0))))))
if (c <= (-2.65d+52)) then
tmp = t_1
else if (c <= 1.85d+22) then
tmp = x / (x + (y * exp((2.0d0 * (a * -b)))))
else if (c <= 2d+198) then
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
else if (c <= 3d+216) then
tmp = 1.0d0
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * Math.exp((2.0 * (c * (a + 0.8333333333333334))))));
double tmp;
if (c <= -2.65e+52) {
tmp = t_1;
} else if (c <= 1.85e+22) {
tmp = x / (x + (y * Math.exp((2.0 * (a * -b)))));
} else if (c <= 2e+198) {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
} else if (c <= 3e+216) {
tmp = 1.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((2.0 * (c * (a + 0.8333333333333334)))))) tmp = 0 if c <= -2.65e+52: tmp = t_1 elif c <= 1.85e+22: tmp = x / (x + (y * math.exp((2.0 * (a * -b))))) elif c <= 2e+198: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) elif c <= 3e+216: tmp = 1.0 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))))))) tmp = 0.0 if (c <= -2.65e+52) tmp = t_1; elseif (c <= 1.85e+22) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * Float64(-b))))))); elseif (c <= 2e+198) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); elseif (c <= 3e+216) tmp = 1.0; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((2.0 * (c * (a + 0.8333333333333334)))))); tmp = 0.0; if (c <= -2.65e+52) tmp = t_1; elseif (c <= 1.85e+22) tmp = x / (x + (y * exp((2.0 * (a * -b))))); elseif (c <= 2e+198) tmp = x / (x + (y * exp((c * 1.6666666666666667)))); elseif (c <= 3e+216) tmp = 1.0; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.65e+52], t$95$1, If[LessEqual[c, 1.85e+22], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * (-b)), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2e+198], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3e+216], 1.0, t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right)}}\\
\mathbf{if}\;c \leq -2.65 \cdot 10^{+52}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 1.85 \cdot 10^{+22}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\
\mathbf{elif}\;c \leq 2 \cdot 10^{+198}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -2.64999999999999998e52 or 2.9999999999999998e216 < c Initial program 89.3%
Taylor expanded in c around inf 79.3%
+-commutative79.3%
associate-*r/79.3%
metadata-eval79.3%
Simplified79.3%
Taylor expanded in t around inf 62.5%
*-commutative62.5%
Simplified62.5%
if -2.64999999999999998e52 < c < 1.8499999999999999e22Initial program 95.1%
Taylor expanded in b around inf 79.7%
associate-*r/79.7%
metadata-eval79.7%
+-commutative79.7%
Simplified79.7%
Taylor expanded in a around inf 65.0%
associate-*r*65.0%
mul-1-neg65.0%
Simplified65.0%
if 1.8499999999999999e22 < c < 2.00000000000000004e198Initial program 96.9%
Taylor expanded in c around inf 75.8%
+-commutative75.8%
associate-*r/75.8%
metadata-eval75.8%
Simplified75.8%
Taylor expanded in t around inf 81.8%
*-commutative81.8%
Simplified81.8%
Taylor expanded in a around 0 81.8%
if 2.00000000000000004e198 < c < 2.9999999999999998e216Initial program 83.3%
Taylor expanded in b around inf 67.7%
associate-*r/67.7%
metadata-eval67.7%
+-commutative67.7%
Simplified67.7%
Taylor expanded in b around 0 34.9%
Taylor expanded in x around inf 100.0%
Final simplification67.2%
(FPCore (x y z t a b c)
:precision binary64
(let* ((t_1 (/ x (+ x (* y (exp (* 2.0 (* a c))))))))
(if (<= c -2.9e+40)
t_1
(if (<= c 2e+22)
(/ x (+ x (* y (exp (* 2.0 (* a (- b)))))))
(if (<= c 2.15e+198)
(/ x (+ x (* y (exp (* c 1.6666666666666667)))))
(if (<= c 2.65e+212) 1.0 t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * exp((2.0 * (a * c)))));
double tmp;
if (c <= -2.9e+40) {
tmp = t_1;
} else if (c <= 2e+22) {
tmp = x / (x + (y * exp((2.0 * (a * -b)))));
} else if (c <= 2.15e+198) {
tmp = x / (x + (y * exp((c * 1.6666666666666667))));
} else if (c <= 2.65e+212) {
tmp = 1.0;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: t_1
real(8) :: tmp
t_1 = x / (x + (y * exp((2.0d0 * (a * c)))))
if (c <= (-2.9d+40)) then
tmp = t_1
else if (c <= 2d+22) then
tmp = x / (x + (y * exp((2.0d0 * (a * -b)))))
else if (c <= 2.15d+198) then
tmp = x / (x + (y * exp((c * 1.6666666666666667d0))))
else if (c <= 2.65d+212) then
tmp = 1.0d0
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double t_1 = x / (x + (y * Math.exp((2.0 * (a * c)))));
double tmp;
if (c <= -2.9e+40) {
tmp = t_1;
} else if (c <= 2e+22) {
tmp = x / (x + (y * Math.exp((2.0 * (a * -b)))));
} else if (c <= 2.15e+198) {
tmp = x / (x + (y * Math.exp((c * 1.6666666666666667))));
} else if (c <= 2.65e+212) {
tmp = 1.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c): t_1 = x / (x + (y * math.exp((2.0 * (a * c))))) tmp = 0 if c <= -2.9e+40: tmp = t_1 elif c <= 2e+22: tmp = x / (x + (y * math.exp((2.0 * (a * -b))))) elif c <= 2.15e+198: tmp = x / (x + (y * math.exp((c * 1.6666666666666667)))) elif c <= 2.65e+212: tmp = 1.0 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c) t_1 = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))) tmp = 0.0 if (c <= -2.9e+40) tmp = t_1; elseif (c <= 2e+22) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * Float64(-b))))))); elseif (c <= 2.15e+198) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(c * 1.6666666666666667))))); elseif (c <= 2.65e+212) tmp = 1.0; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) t_1 = x / (x + (y * exp((2.0 * (a * c))))); tmp = 0.0; if (c <= -2.9e+40) tmp = t_1; elseif (c <= 2e+22) tmp = x / (x + (y * exp((2.0 * (a * -b))))); elseif (c <= 2.15e+198) tmp = x / (x + (y * exp((c * 1.6666666666666667)))); elseif (c <= 2.65e+212) tmp = 1.0; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := Block[{t$95$1 = N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.9e+40], t$95$1, If[LessEqual[c, 2e+22], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * (-b)), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.15e+198], N[(x / N[(x + N[(y * N[Exp[N[(c * 1.6666666666666667), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.65e+212], 1.0, t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\mathbf{if}\;c \leq -2.9 \cdot 10^{+40}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 2 \cdot 10^{+22}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(-b\right)\right)}}\\
\mathbf{elif}\;c \leq 2.15 \cdot 10^{+198}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{c \cdot 1.6666666666666667}}\\
\mathbf{elif}\;c \leq 2.65 \cdot 10^{+212}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -2.90000000000000017e40 or 2.64999999999999997e212 < c Initial program 88.6%
Taylor expanded in c around inf 79.2%
+-commutative79.2%
associate-*r/79.2%
metadata-eval79.2%
Simplified79.2%
Taylor expanded in a around inf 59.5%
if -2.90000000000000017e40 < c < 2e22Initial program 95.7%
Taylor expanded in b around inf 80.6%
associate-*r/80.6%
metadata-eval80.6%
+-commutative80.6%
Simplified80.6%
Taylor expanded in a around inf 65.6%
associate-*r*65.6%
mul-1-neg65.6%
Simplified65.6%
if 2e22 < c < 2.14999999999999991e198Initial program 96.9%
Taylor expanded in c around inf 75.8%
+-commutative75.8%
associate-*r/75.8%
metadata-eval75.8%
Simplified75.8%
Taylor expanded in t around inf 81.8%
*-commutative81.8%
Simplified81.8%
Taylor expanded in a around 0 81.8%
if 2.14999999999999991e198 < c < 2.64999999999999997e212Initial program 80.0%
Taylor expanded in b around inf 61.3%
associate-*r/61.3%
metadata-eval61.3%
+-commutative61.3%
Simplified61.3%
Taylor expanded in b around 0 21.9%
Taylor expanded in x around inf 100.0%
Final simplification66.4%
(FPCore (x y z t a b c)
:precision binary64
(if (<= a -2.4e-103)
(/
x
(+
x
(*
y
(+
(*
2.0
(/
(+ (* c -0.6666666666666666) (* c (* t (+ a 0.8333333333333334))))
t))
1.0))))
(if (<= a 2.6e-46)
(/
x
(+
x
(+
y
(*
2.0
(*
a
(-
(/ (* (* b y) (+ (/ 0.6666666666666666 t) -0.8333333333333334)) a)
(* b y)))))))
(if (<= a 6.4e+76)
(/
x
(+
x
(*
c
(-
(/ y c)
(*
-2.0
(* y (+ a (+ 0.8333333333333334 (/ -0.6666666666666666 t)))))))))
(if (<= a 4.2e+94)
(/ x (+ x y))
(/ x (+ x (* y (exp (* 2.0 (* a c)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= -2.4e-103) {
tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)));
} else if (a <= 2.6e-46) {
tmp = x / (x + (y + (2.0 * (a * ((((b * y) * ((0.6666666666666666 / t) + -0.8333333333333334)) / a) - (b * y))))));
} else if (a <= 6.4e+76) {
tmp = x / (x + (c * ((y / c) - (-2.0 * (y * (a + (0.8333333333333334 + (-0.6666666666666666 / t))))))));
} else if (a <= 4.2e+94) {
tmp = x / (x + y);
} else {
tmp = x / (x + (y * exp((2.0 * (a * c)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (a <= (-2.4d-103)) then
tmp = x / (x + (y * ((2.0d0 * (((c * (-0.6666666666666666d0)) + (c * (t * (a + 0.8333333333333334d0)))) / t)) + 1.0d0)))
else if (a <= 2.6d-46) then
tmp = x / (x + (y + (2.0d0 * (a * ((((b * y) * ((0.6666666666666666d0 / t) + (-0.8333333333333334d0))) / a) - (b * y))))))
else if (a <= 6.4d+76) then
tmp = x / (x + (c * ((y / c) - ((-2.0d0) * (y * (a + (0.8333333333333334d0 + ((-0.6666666666666666d0) / t))))))))
else if (a <= 4.2d+94) then
tmp = x / (x + y)
else
tmp = x / (x + (y * exp((2.0d0 * (a * c)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= -2.4e-103) {
tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)));
} else if (a <= 2.6e-46) {
tmp = x / (x + (y + (2.0 * (a * ((((b * y) * ((0.6666666666666666 / t) + -0.8333333333333334)) / a) - (b * y))))));
} else if (a <= 6.4e+76) {
tmp = x / (x + (c * ((y / c) - (-2.0 * (y * (a + (0.8333333333333334 + (-0.6666666666666666 / t))))))));
} else if (a <= 4.2e+94) {
tmp = x / (x + y);
} else {
tmp = x / (x + (y * Math.exp((2.0 * (a * c)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if a <= -2.4e-103: tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0))) elif a <= 2.6e-46: tmp = x / (x + (y + (2.0 * (a * ((((b * y) * ((0.6666666666666666 / t) + -0.8333333333333334)) / a) - (b * y)))))) elif a <= 6.4e+76: tmp = x / (x + (c * ((y / c) - (-2.0 * (y * (a + (0.8333333333333334 + (-0.6666666666666666 / t)))))))) elif a <= 4.2e+94: tmp = x / (x + y) else: tmp = x / (x + (y * math.exp((2.0 * (a * c))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (a <= -2.4e-103) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(Float64(Float64(c * -0.6666666666666666) + Float64(c * Float64(t * Float64(a + 0.8333333333333334)))) / t)) + 1.0)))); elseif (a <= 2.6e-46) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(a * Float64(Float64(Float64(Float64(b * y) * Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334)) / a) - Float64(b * y))))))); elseif (a <= 6.4e+76) tmp = Float64(x / Float64(x + Float64(c * Float64(Float64(y / c) - Float64(-2.0 * Float64(y * Float64(a + Float64(0.8333333333333334 + Float64(-0.6666666666666666 / t))))))))); elseif (a <= 4.2e+94) tmp = Float64(x / Float64(x + y)); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(a * c)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (a <= -2.4e-103) tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0))); elseif (a <= 2.6e-46) tmp = x / (x + (y + (2.0 * (a * ((((b * y) * ((0.6666666666666666 / t) + -0.8333333333333334)) / a) - (b * y)))))); elseif (a <= 6.4e+76) tmp = x / (x + (c * ((y / c) - (-2.0 * (y * (a + (0.8333333333333334 + (-0.6666666666666666 / t)))))))); elseif (a <= 4.2e+94) tmp = x / (x + y); else tmp = x / (x + (y * exp((2.0 * (a * c))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[a, -2.4e-103], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(N[(N[(c * -0.6666666666666666), $MachinePrecision] + N[(c * N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.6e-46], N[(x / N[(x + N[(y + N[(2.0 * N[(a * N[(N[(N[(N[(b * y), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision] - N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.4e+76], N[(x / N[(x + N[(c * N[(N[(y / c), $MachinePrecision] - N[(-2.0 * N[(y * N[(a + N[(0.8333333333333334 + N[(-0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.2e+94], N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.4 \cdot 10^{-103}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \frac{c \cdot -0.6666666666666666 + c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)}{t} + 1\right)}\\
\mathbf{elif}\;a \leq 2.6 \cdot 10^{-46}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(a \cdot \left(\frac{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)}{a} - b \cdot y\right)\right)\right)}\\
\mathbf{elif}\;a \leq 6.4 \cdot 10^{+76}:\\
\;\;\;\;\frac{x}{x + c \cdot \left(\frac{y}{c} - -2 \cdot \left(y \cdot \left(a + \left(0.8333333333333334 + \frac{-0.6666666666666666}{t}\right)\right)\right)\right)}\\
\mathbf{elif}\;a \leq 4.2 \cdot 10^{+94}:\\
\;\;\;\;\frac{x}{x + y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot c\right)}}\\
\end{array}
\end{array}
if a < -2.4000000000000002e-103Initial program 92.0%
Taylor expanded in c around inf 65.0%
+-commutative65.0%
associate-*r/65.0%
metadata-eval65.0%
Simplified65.0%
Taylor expanded in c around 0 38.0%
associate-*r*38.0%
+-commutative38.0%
associate-*r/38.0%
metadata-eval38.0%
associate-+r-38.0%
associate-*r*38.0%
Simplified38.0%
Taylor expanded in t around 0 57.3%
if -2.4000000000000002e-103 < a < 2.6000000000000002e-46Initial program 97.8%
Taylor expanded in b around inf 76.3%
associate-*r/76.3%
metadata-eval76.3%
+-commutative76.3%
Simplified76.3%
Taylor expanded in b around 0 58.0%
Taylor expanded in a around inf 60.8%
+-commutative60.8%
mul-1-neg60.8%
unsub-neg60.8%
associate-*r*61.3%
sub-neg61.3%
associate-*r/61.3%
metadata-eval61.3%
metadata-eval61.3%
Simplified61.3%
if 2.6000000000000002e-46 < a < 6.39999999999999953e76Initial program 95.5%
Taylor expanded in c around inf 54.3%
+-commutative54.3%
associate-*r/54.3%
metadata-eval54.3%
Simplified54.3%
Taylor expanded in c around 0 44.5%
associate-*r*44.5%
+-commutative44.5%
associate-*r/44.5%
metadata-eval44.5%
associate-+r-44.5%
associate-*r*44.5%
Simplified44.5%
Taylor expanded in c around -inf 53.1%
associate-*r*53.1%
mul-1-neg53.1%
mul-1-neg53.1%
unsub-neg53.1%
+-commutative53.1%
associate-*r/53.1%
metadata-eval53.1%
associate-+r-53.1%
sub-neg53.1%
distribute-neg-frac53.1%
metadata-eval53.1%
Simplified53.1%
if 6.39999999999999953e76 < a < 4.19999999999999979e94Initial program 100.0%
Taylor expanded in b around inf 83.9%
associate-*r/83.9%
metadata-eval83.9%
+-commutative83.9%
Simplified83.9%
Taylor expanded in b around 0 100.0%
if 4.19999999999999979e94 < a Initial program 87.8%
Taylor expanded in c around inf 68.9%
+-commutative68.9%
associate-*r/68.9%
metadata-eval68.9%
Simplified68.9%
Taylor expanded in a around inf 66.7%
Final simplification62.3%
(FPCore (x y z t a b c)
:precision binary64
(if (or (<= b -2.4e+106) (not (<= b 1.4e+35)))
(/
x
(+
x
(*
y
(exp
(* 2.0 (* b (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))))))
(/
x
(+
x
(*
y
(exp
(*
2.0
(* c (- (+ a 0.8333333333333334) (/ 0.6666666666666666 t))))))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b <= -2.4e+106) || !(b <= 1.4e+35)) {
tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
} else {
tmp = x / (x + (y * exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t)))))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if ((b <= (-2.4d+106)) .or. (.not. (b <= 1.4d+35))) then
tmp = x / (x + (y * exp((2.0d0 * (b * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))))))
else
tmp = x / (x + (y * exp((2.0d0 * (c * ((a + 0.8333333333333334d0) - (0.6666666666666666d0 / t)))))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if ((b <= -2.4e+106) || !(b <= 1.4e+35)) {
tmp = x / (x + (y * Math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))));
} else {
tmp = x / (x + (y * Math.exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t)))))));
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if (b <= -2.4e+106) or not (b <= 1.4e+35): tmp = x / (x + (y * math.exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))) else: tmp = x / (x + (y * math.exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t))))))) return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if ((b <= -2.4e+106) || !(b <= 1.4e+35)) tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(b * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))))))); else tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(c * Float64(Float64(a + 0.8333333333333334) - Float64(0.6666666666666666 / t)))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if ((b <= -2.4e+106) || ~((b <= 1.4e+35))) tmp = x / (x + (y * exp((2.0 * (b * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))))); else tmp = x / (x + (y * exp((2.0 * (c * ((a + 0.8333333333333334) - (0.6666666666666666 / t))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[Or[LessEqual[b, -2.4e+106], N[Not[LessEqual[b, 1.4e+35]], $MachinePrecision]], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(b * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(c * N[(N[(a + 0.8333333333333334), $MachinePrecision] - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.4 \cdot 10^{+106} \lor \neg \left(b \leq 1.4 \cdot 10^{+35}\right):\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(c \cdot \left(\left(a + 0.8333333333333334\right) - \frac{0.6666666666666666}{t}\right)\right)}}\\
\end{array}
\end{array}
if b < -2.4000000000000001e106 or 1.39999999999999999e35 < b Initial program 87.6%
Taylor expanded in b around inf 88.9%
associate-*r/88.9%
metadata-eval88.9%
+-commutative88.9%
Simplified88.9%
if -2.4000000000000001e106 < b < 1.39999999999999999e35Initial program 97.4%
Taylor expanded in c around inf 75.8%
+-commutative75.8%
associate-*r/75.8%
metadata-eval75.8%
Simplified75.8%
Final simplification81.2%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -1.16e-52)
(/
x
(+
x
(+
y
(*
2.0
(*
b
(/
(- (* y 0.6666666666666666) (* t (* y (+ a 0.8333333333333334))))
t))))))
(if (or (<= b -5.4e-223) (and (not (<= b 8e-303)) (<= b 2.1e-215)))
(/
x
(+
x
(*
y
(+
(*
2.0
(*
a
(+ c (* c (/ (- 0.8333333333333334 (/ 0.6666666666666666 t)) a)))))
1.0))))
1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.16e-52) {
tmp = x / (x + (y + (2.0 * (b * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t)))));
} else if ((b <= -5.4e-223) || (!(b <= 8e-303) && (b <= 2.1e-215))) {
tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-1.16d-52)) then
tmp = x / (x + (y + (2.0d0 * (b * (((y * 0.6666666666666666d0) - (t * (y * (a + 0.8333333333333334d0)))) / t)))))
else if ((b <= (-5.4d-223)) .or. (.not. (b <= 8d-303)) .and. (b <= 2.1d-215)) then
tmp = x / (x + (y * ((2.0d0 * (a * (c + (c * ((0.8333333333333334d0 - (0.6666666666666666d0 / t)) / a))))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.16e-52) {
tmp = x / (x + (y + (2.0 * (b * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t)))));
} else if ((b <= -5.4e-223) || (!(b <= 8e-303) && (b <= 2.1e-215))) {
tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.16e-52: tmp = x / (x + (y + (2.0 * (b * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t))))) elif (b <= -5.4e-223) or (not (b <= 8e-303) and (b <= 2.1e-215)): tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.16e-52) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(Float64(Float64(y * 0.6666666666666666) - Float64(t * Float64(y * Float64(a + 0.8333333333333334)))) / t)))))); elseif ((b <= -5.4e-223) || (!(b <= 8e-303) && (b <= 2.1e-215))) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * Float64(c + Float64(c * Float64(Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)) / a))))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -1.16e-52) tmp = x / (x + (y + (2.0 * (b * (((y * 0.6666666666666666) - (t * (y * (a + 0.8333333333333334)))) / t))))); elseif ((b <= -5.4e-223) || (~((b <= 8e-303)) && (b <= 2.1e-215))) tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.16e-52], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(N[(N[(y * 0.6666666666666666), $MachinePrecision] - N[(t * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[b, -5.4e-223], And[N[Not[LessEqual[b, 8e-303]], $MachinePrecision], LessEqual[b, 2.1e-215]]], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * N[(c + N[(c * N[(N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.16 \cdot 10^{-52}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \frac{y \cdot 0.6666666666666666 - t \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)}{t}\right)\right)}\\
\mathbf{elif}\;b \leq -5.4 \cdot 10^{-223} \lor \neg \left(b \leq 8 \cdot 10^{-303}\right) \land b \leq 2.1 \cdot 10^{-215}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.1599999999999999e-52Initial program 90.1%
Taylor expanded in b around inf 78.5%
associate-*r/78.5%
metadata-eval78.5%
+-commutative78.5%
Simplified78.5%
Taylor expanded in b around 0 61.7%
Taylor expanded in t around 0 63.2%
if -1.1599999999999999e-52 < b < -5.39999999999999977e-223 or 7.99999999999999944e-303 < b < 2.1e-215Initial program 95.1%
Taylor expanded in c around inf 81.1%
+-commutative81.1%
associate-*r/81.1%
metadata-eval81.1%
Simplified81.1%
Taylor expanded in c around 0 58.2%
associate-*r*58.2%
+-commutative58.2%
associate-*r/58.2%
metadata-eval58.2%
associate-+r-58.2%
associate-*r*58.2%
Simplified58.2%
Taylor expanded in a around inf 62.9%
associate-/l*66.1%
associate-*r/66.1%
metadata-eval66.1%
Simplified66.1%
if -5.39999999999999977e-223 < b < 7.99999999999999944e-303 or 2.1e-215 < b Initial program 94.7%
Taylor expanded in b around inf 71.5%
associate-*r/71.5%
metadata-eval71.5%
+-commutative71.5%
Simplified71.5%
Taylor expanded in b around 0 34.7%
Taylor expanded in x around inf 56.1%
Final simplification60.7%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -4.4e-57)
(/
x
(+
x
(+
y
(*
2.0
(*
b
(*
y
(- (* (/ 1.0 t) 0.6666666666666666) (+ a 0.8333333333333334))))))))
(if (or (<= b -1.56e-221) (and (not (<= b 3.1e-303)) (<= b 2.5e-211)))
(/
x
(+
x
(*
y
(+
(*
2.0
(*
a
(+ c (* c (/ (- 0.8333333333333334 (/ 0.6666666666666666 t)) a)))))
1.0))))
1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -4.4e-57) {
tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))));
} else if ((b <= -1.56e-221) || (!(b <= 3.1e-303) && (b <= 2.5e-211))) {
tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-4.4d-57)) then
tmp = x / (x + (y + (2.0d0 * (b * (y * (((1.0d0 / t) * 0.6666666666666666d0) - (a + 0.8333333333333334d0)))))))
else if ((b <= (-1.56d-221)) .or. (.not. (b <= 3.1d-303)) .and. (b <= 2.5d-211)) then
tmp = x / (x + (y * ((2.0d0 * (a * (c + (c * ((0.8333333333333334d0 - (0.6666666666666666d0 / t)) / a))))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -4.4e-57) {
tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))));
} else if ((b <= -1.56e-221) || (!(b <= 3.1e-303) && (b <= 2.5e-211))) {
tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -4.4e-57: tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334))))))) elif (b <= -1.56e-221) or (not (b <= 3.1e-303) and (b <= 2.5e-211)): tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -4.4e-57) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(y * Float64(Float64(Float64(1.0 / t) * 0.6666666666666666) - Float64(a + 0.8333333333333334)))))))); elseif ((b <= -1.56e-221) || (!(b <= 3.1e-303) && (b <= 2.5e-211))) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * Float64(c + Float64(c * Float64(Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)) / a))))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -4.4e-57) tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334))))))); elseif ((b <= -1.56e-221) || (~((b <= 3.1e-303)) && (b <= 2.5e-211))) tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -4.4e-57], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(y * N[(N[(N[(1.0 / t), $MachinePrecision] * 0.6666666666666666), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[b, -1.56e-221], And[N[Not[LessEqual[b, 3.1e-303]], $MachinePrecision], LessEqual[b, 2.5e-211]]], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * N[(c + N[(c * N[(N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.4 \cdot 10^{-57}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right)\right)\right)}\\
\mathbf{elif}\;b \leq -1.56 \cdot 10^{-221} \lor \neg \left(b \leq 3.1 \cdot 10^{-303}\right) \land b \leq 2.5 \cdot 10^{-211}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -4.39999999999999997e-57Initial program 90.1%
Taylor expanded in b around inf 78.5%
associate-*r/78.5%
metadata-eval78.5%
+-commutative78.5%
Simplified78.5%
Taylor expanded in b around 0 61.7%
if -4.39999999999999997e-57 < b < -1.56e-221 or 3.1000000000000001e-303 < b < 2.5000000000000001e-211Initial program 95.0%
Taylor expanded in c around inf 80.8%
+-commutative80.8%
associate-*r/80.8%
metadata-eval80.8%
Simplified80.8%
Taylor expanded in c around 0 59.1%
associate-*r*59.1%
+-commutative59.1%
associate-*r/59.1%
metadata-eval59.1%
associate-+r-59.1%
associate-*r*59.1%
Simplified59.1%
Taylor expanded in a around inf 63.9%
associate-/l*67.1%
associate-*r/67.1%
metadata-eval67.1%
Simplified67.1%
if -1.56e-221 < b < 3.1000000000000001e-303 or 2.5000000000000001e-211 < b Initial program 94.8%
Taylor expanded in b around inf 71.8%
associate-*r/71.8%
metadata-eval71.8%
+-commutative71.8%
Simplified71.8%
Taylor expanded in b around 0 34.4%
Taylor expanded in x around inf 55.6%
Final simplification60.2%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -2.1e+59)
(/
x
(+
x
(+
y
(*
2.0
(* (* b y) (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334)))))))
(if (<= b -8.5e-171)
(/
x
(+
x
(*
y
(+
(*
2.0
(/
(+ (* c -0.6666666666666666) (* c (* t (+ a 0.8333333333333334))))
t))
1.0))))
(if (<= b 2.55e-303)
1.0
(if (<= b 1.7e-213)
(/
x
(+
x
(*
y
(+
(*
2.0
(*
a
(+
c
(* c (/ (- 0.8333333333333334 (/ 0.6666666666666666 t)) a)))))
1.0))))
1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -2.1e+59) {
tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))));
} else if (b <= -8.5e-171) {
tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)));
} else if (b <= 2.55e-303) {
tmp = 1.0;
} else if (b <= 1.7e-213) {
tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-2.1d+59)) then
tmp = x / (x + (y + (2.0d0 * ((b * y) * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0))))))
else if (b <= (-8.5d-171)) then
tmp = x / (x + (y * ((2.0d0 * (((c * (-0.6666666666666666d0)) + (c * (t * (a + 0.8333333333333334d0)))) / t)) + 1.0d0)))
else if (b <= 2.55d-303) then
tmp = 1.0d0
else if (b <= 1.7d-213) then
tmp = x / (x + (y * ((2.0d0 * (a * (c + (c * ((0.8333333333333334d0 - (0.6666666666666666d0 / t)) / a))))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -2.1e+59) {
tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))));
} else if (b <= -8.5e-171) {
tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0)));
} else if (b <= 2.55e-303) {
tmp = 1.0;
} else if (b <= 1.7e-213) {
tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -2.1e+59: tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))) elif b <= -8.5e-171: tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0))) elif b <= 2.55e-303: tmp = 1.0 elif b <= 1.7e-213: tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -2.1e+59) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(Float64(b * y) * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334))))))); elseif (b <= -8.5e-171) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(Float64(Float64(c * -0.6666666666666666) + Float64(c * Float64(t * Float64(a + 0.8333333333333334)))) / t)) + 1.0)))); elseif (b <= 2.55e-303) tmp = 1.0; elseif (b <= 1.7e-213) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * Float64(c + Float64(c * Float64(Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)) / a))))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -2.1e+59) tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))); elseif (b <= -8.5e-171) tmp = x / (x + (y * ((2.0 * (((c * -0.6666666666666666) + (c * (t * (a + 0.8333333333333334)))) / t)) + 1.0))); elseif (b <= 2.55e-303) tmp = 1.0; elseif (b <= 1.7e-213) tmp = x / (x + (y * ((2.0 * (a * (c + (c * ((0.8333333333333334 - (0.6666666666666666 / t)) / a))))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.1e+59], N[(x / N[(x + N[(y + N[(2.0 * N[(N[(b * y), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -8.5e-171], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(N[(N[(c * -0.6666666666666666), $MachinePrecision] + N[(c * N[(t * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.55e-303], 1.0, If[LessEqual[b, 1.7e-213], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * N[(c + N[(c * N[(N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.1 \cdot 10^{+59}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)\right)}\\
\mathbf{elif}\;b \leq -8.5 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \frac{c \cdot -0.6666666666666666 + c \cdot \left(t \cdot \left(a + 0.8333333333333334\right)\right)}{t} + 1\right)}\\
\mathbf{elif}\;b \leq 2.55 \cdot 10^{-303}:\\
\;\;\;\;1\\
\mathbf{elif}\;b \leq 1.7 \cdot 10^{-213}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot \left(c + c \cdot \frac{0.8333333333333334 - \frac{0.6666666666666666}{t}}{a}\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -2.09999999999999984e59Initial program 86.4%
Taylor expanded in b around inf 81.9%
associate-*r/81.9%
metadata-eval81.9%
+-commutative81.9%
Simplified81.9%
Taylor expanded in b around 0 64.1%
associate-*r*64.1%
associate-*r/64.1%
metadata-eval64.1%
Simplified64.1%
if -2.09999999999999984e59 < b < -8.50000000000000032e-171Initial program 100.0%
Taylor expanded in c around inf 76.9%
+-commutative76.9%
associate-*r/76.9%
metadata-eval76.9%
Simplified76.9%
Taylor expanded in c around 0 58.6%
associate-*r*58.6%
+-commutative58.6%
associate-*r/58.6%
metadata-eval58.6%
associate-+r-58.6%
associate-*r*58.6%
Simplified58.6%
Taylor expanded in t around 0 64.3%
if -8.50000000000000032e-171 < b < 2.55e-303 or 1.7000000000000001e-213 < b Initial program 94.4%
Taylor expanded in b around inf 70.7%
associate-*r/70.7%
metadata-eval70.7%
+-commutative70.7%
Simplified70.7%
Taylor expanded in b around 0 33.7%
Taylor expanded in x around inf 54.9%
if 2.55e-303 < b < 1.7000000000000001e-213Initial program 91.3%
Taylor expanded in c around inf 83.6%
+-commutative83.6%
associate-*r/83.6%
metadata-eval83.6%
Simplified83.6%
Taylor expanded in c around 0 62.5%
associate-*r*62.5%
+-commutative62.5%
associate-*r/62.5%
metadata-eval62.5%
associate-+r-62.5%
associate-*r*62.5%
Simplified62.5%
Taylor expanded in a around inf 66.6%
associate-/l*70.8%
associate-*r/70.8%
metadata-eval70.8%
Simplified70.8%
Final simplification60.3%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -1.55e+202)
(/
(* x 0.5)
(* (* b y) (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))
(if (<= b -9.2e+108)
(/ x (+ x (- y (* 2.0 (* y (* a b))))))
(if (<= b -1.62e-170)
(/ x (+ x (+ y (* 2.0 (* c (* y (+ a 0.8333333333333334)))))))
(if (<= b 5.3e-303)
1.0
(if (<= b 1.3e-210)
(/
x
(+
x
(*
y
(+
(* 2.0 (* c (- 0.8333333333333334 (/ 0.6666666666666666 t))))
1.0))))
1.0))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.55e+202) {
tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)));
} else if (b <= -9.2e+108) {
tmp = x / (x + (y - (2.0 * (y * (a * b)))));
} else if (b <= -1.62e-170) {
tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
} else if (b <= 5.3e-303) {
tmp = 1.0;
} else if (b <= 1.3e-210) {
tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-1.55d+202)) then
tmp = (x * 0.5d0) / ((b * y) * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))
else if (b <= (-9.2d+108)) then
tmp = x / (x + (y - (2.0d0 * (y * (a * b)))))
else if (b <= (-1.62d-170)) then
tmp = x / (x + (y + (2.0d0 * (c * (y * (a + 0.8333333333333334d0))))))
else if (b <= 5.3d-303) then
tmp = 1.0d0
else if (b <= 1.3d-210) then
tmp = x / (x + (y * ((2.0d0 * (c * (0.8333333333333334d0 - (0.6666666666666666d0 / t)))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.55e+202) {
tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)));
} else if (b <= -9.2e+108) {
tmp = x / (x + (y - (2.0 * (y * (a * b)))));
} else if (b <= -1.62e-170) {
tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
} else if (b <= 5.3e-303) {
tmp = 1.0;
} else if (b <= 1.3e-210) {
tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.55e+202: tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))) elif b <= -9.2e+108: tmp = x / (x + (y - (2.0 * (y * (a * b))))) elif b <= -1.62e-170: tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334)))))) elif b <= 5.3e-303: tmp = 1.0 elif b <= 1.3e-210: tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.55e+202) tmp = Float64(Float64(x * 0.5) / Float64(Float64(b * y) * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))); elseif (b <= -9.2e+108) tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(y * Float64(a * b)))))); elseif (b <= -1.62e-170) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(c * Float64(y * Float64(a + 0.8333333333333334))))))); elseif (b <= 5.3e-303) tmp = 1.0; elseif (b <= 1.3e-210) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -1.55e+202) tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))); elseif (b <= -9.2e+108) tmp = x / (x + (y - (2.0 * (y * (a * b))))); elseif (b <= -1.62e-170) tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334)))))); elseif (b <= 5.3e-303) tmp = 1.0; elseif (b <= 1.3e-210) tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.55e+202], N[(N[(x * 0.5), $MachinePrecision] / N[(N[(b * y), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9.2e+108], N[(x / N[(x + N[(y - N[(2.0 * N[(y * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.62e-170], N[(x / N[(x + N[(y + N[(2.0 * N[(c * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 5.3e-303], 1.0, If[LessEqual[b, 1.3e-210], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.55 \cdot 10^{+202}:\\
\;\;\;\;\frac{x \cdot 0.5}{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}\\
\mathbf{elif}\;b \leq -9.2 \cdot 10^{+108}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(y \cdot \left(a \cdot b\right)\right)\right)}\\
\mathbf{elif}\;b \leq -1.62 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\
\mathbf{elif}\;b \leq 5.3 \cdot 10^{-303}:\\
\;\;\;\;1\\
\mathbf{elif}\;b \leq 1.3 \cdot 10^{-210}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.54999999999999996e202Initial program 85.2%
Taylor expanded in b around inf 89.2%
associate-*r/89.2%
metadata-eval89.2%
+-commutative89.2%
Simplified89.2%
Taylor expanded in b around 0 75.0%
Taylor expanded in b around inf 75.0%
associate-*r/75.0%
associate-*r*75.0%
associate-*r/75.0%
metadata-eval75.0%
Simplified75.0%
if -1.54999999999999996e202 < b < -9.1999999999999996e108Initial program 83.3%
Taylor expanded in b around inf 79.8%
associate-*r/79.8%
metadata-eval79.8%
+-commutative79.8%
Simplified79.8%
Taylor expanded in b around 0 52.0%
Taylor expanded in a around inf 51.9%
mul-1-neg51.9%
associate-*r*63.9%
distribute-rgt-neg-in63.9%
*-commutative63.9%
Simplified63.9%
if -9.1999999999999996e108 < b < -1.62e-170Initial program 100.0%
Taylor expanded in c around inf 76.8%
+-commutative76.8%
associate-*r/76.8%
metadata-eval76.8%
Simplified76.8%
Taylor expanded in t around inf 63.5%
*-commutative63.5%
Simplified63.5%
Taylor expanded in c around 0 57.0%
if -1.62e-170 < b < 5.2999999999999999e-303 or 1.2999999999999999e-210 < b Initial program 94.4%
Taylor expanded in b around inf 70.7%
associate-*r/70.7%
metadata-eval70.7%
+-commutative70.7%
Simplified70.7%
Taylor expanded in b around 0 33.7%
Taylor expanded in x around inf 54.9%
if 5.2999999999999999e-303 < b < 1.2999999999999999e-210Initial program 91.3%
Taylor expanded in c around inf 83.6%
+-commutative83.6%
associate-*r/83.6%
metadata-eval83.6%
Simplified83.6%
Taylor expanded in c around 0 62.5%
associate-*r*62.5%
+-commutative62.5%
associate-*r/62.5%
metadata-eval62.5%
associate-+r-62.5%
associate-*r*62.5%
Simplified62.5%
Taylor expanded in a around 0 62.6%
sub-neg62.6%
associate-*r/62.6%
metadata-eval62.6%
sub-neg62.6%
Simplified62.6%
Final simplification59.1%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -1.12e+203)
(/
(* x 0.5)
(* (* b y) (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334))))
(if (<= b -4e+108)
(/ x (+ x (- y (* 2.0 (* y (* a b))))))
(if (<= b -4.5e-171)
(/ x (+ x (+ y (* 2.0 (* c (* y (+ a 0.8333333333333334)))))))
(if (<= b 3.8e-303)
1.0
(if (<= b 5.6e-217)
(/ x (+ x (* y (+ (* 2.0 (* c (+ a 0.8333333333333334))) 1.0))))
1.0))))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.12e+203) {
tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)));
} else if (b <= -4e+108) {
tmp = x / (x + (y - (2.0 * (y * (a * b)))));
} else if (b <= -4.5e-171) {
tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
} else if (b <= 3.8e-303) {
tmp = 1.0;
} else if (b <= 5.6e-217) {
tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-1.12d+203)) then
tmp = (x * 0.5d0) / ((b * y) * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0)))
else if (b <= (-4d+108)) then
tmp = x / (x + (y - (2.0d0 * (y * (a * b)))))
else if (b <= (-4.5d-171)) then
tmp = x / (x + (y + (2.0d0 * (c * (y * (a + 0.8333333333333334d0))))))
else if (b <= 3.8d-303) then
tmp = 1.0d0
else if (b <= 5.6d-217) then
tmp = x / (x + (y * ((2.0d0 * (c * (a + 0.8333333333333334d0))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.12e+203) {
tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)));
} else if (b <= -4e+108) {
tmp = x / (x + (y - (2.0 * (y * (a * b)))));
} else if (b <= -4.5e-171) {
tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334))))));
} else if (b <= 3.8e-303) {
tmp = 1.0;
} else if (b <= 5.6e-217) {
tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.12e+203: tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))) elif b <= -4e+108: tmp = x / (x + (y - (2.0 * (y * (a * b))))) elif b <= -4.5e-171: tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334)))))) elif b <= 3.8e-303: tmp = 1.0 elif b <= 5.6e-217: tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.12e+203) tmp = Float64(Float64(x * 0.5) / Float64(Float64(b * y) * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334)))); elseif (b <= -4e+108) tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * Float64(y * Float64(a * b)))))); elseif (b <= -4.5e-171) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(c * Float64(y * Float64(a + 0.8333333333333334))))))); elseif (b <= 3.8e-303) tmp = 1.0; elseif (b <= 5.6e-217) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -1.12e+203) tmp = (x * 0.5) / ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))); elseif (b <= -4e+108) tmp = x / (x + (y - (2.0 * (y * (a * b))))); elseif (b <= -4.5e-171) tmp = x / (x + (y + (2.0 * (c * (y * (a + 0.8333333333333334)))))); elseif (b <= 3.8e-303) tmp = 1.0; elseif (b <= 5.6e-217) tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.12e+203], N[(N[(x * 0.5), $MachinePrecision] / N[(N[(b * y), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4e+108], N[(x / N[(x + N[(y - N[(2.0 * N[(y * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4.5e-171], N[(x / N[(x + N[(y + N[(2.0 * N[(c * N[(y * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.8e-303], 1.0, If[LessEqual[b, 5.6e-217], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.12 \cdot 10^{+203}:\\
\;\;\;\;\frac{x \cdot 0.5}{\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)}\\
\mathbf{elif}\;b \leq -4 \cdot 10^{+108}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(y \cdot \left(a \cdot b\right)\right)\right)}\\
\mathbf{elif}\;b \leq -4.5 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a + 0.8333333333333334\right)\right)\right)\right)}\\
\mathbf{elif}\;b \leq 3.8 \cdot 10^{-303}:\\
\;\;\;\;1\\
\mathbf{elif}\;b \leq 5.6 \cdot 10^{-217}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.12000000000000006e203Initial program 85.2%
Taylor expanded in b around inf 89.2%
associate-*r/89.2%
metadata-eval89.2%
+-commutative89.2%
Simplified89.2%
Taylor expanded in b around 0 75.0%
Taylor expanded in b around inf 75.0%
associate-*r/75.0%
associate-*r*75.0%
associate-*r/75.0%
metadata-eval75.0%
Simplified75.0%
if -1.12000000000000006e203 < b < -4.0000000000000001e108Initial program 83.3%
Taylor expanded in b around inf 79.8%
associate-*r/79.8%
metadata-eval79.8%
+-commutative79.8%
Simplified79.8%
Taylor expanded in b around 0 52.0%
Taylor expanded in a around inf 51.9%
mul-1-neg51.9%
associate-*r*63.9%
distribute-rgt-neg-in63.9%
*-commutative63.9%
Simplified63.9%
if -4.0000000000000001e108 < b < -4.5000000000000004e-171Initial program 100.0%
Taylor expanded in c around inf 76.8%
+-commutative76.8%
associate-*r/76.8%
metadata-eval76.8%
Simplified76.8%
Taylor expanded in t around inf 63.5%
*-commutative63.5%
Simplified63.5%
Taylor expanded in c around 0 57.0%
if -4.5000000000000004e-171 < b < 3.80000000000000009e-303 or 5.6e-217 < b Initial program 94.4%
Taylor expanded in b around inf 70.7%
associate-*r/70.7%
metadata-eval70.7%
+-commutative70.7%
Simplified70.7%
Taylor expanded in b around 0 33.7%
Taylor expanded in x around inf 54.9%
if 3.80000000000000009e-303 < b < 5.6e-217Initial program 91.3%
Taylor expanded in c around inf 83.6%
+-commutative83.6%
associate-*r/83.6%
metadata-eval83.6%
Simplified83.6%
Taylor expanded in t around inf 58.3%
*-commutative58.3%
Simplified58.3%
Taylor expanded in c around 0 62.5%
Final simplification59.0%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -1.15e+110)
(/
x
(*
y
(+
(*
2.0
(* b (- (* (/ 1.0 t) 0.6666666666666666) (+ a 0.8333333333333334))))
1.0)))
(if (<= b -1.15e-170)
(/
x
(+
x
(+
y
(*
2.0
(* c (* y (- a (- (/ 0.6666666666666666 t) 0.8333333333333334))))))))
(if (<= b 1.2e-302)
1.0
(if (<= b 6.2e-210)
(/
x
(+
x
(*
y
(+
(* 2.0 (* c (- 0.8333333333333334 (/ 0.6666666666666666 t))))
1.0))))
1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.15e+110) {
tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
} else if (b <= -1.15e-170) {
tmp = x / (x + (y + (2.0 * (c * (y * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))))));
} else if (b <= 1.2e-302) {
tmp = 1.0;
} else if (b <= 6.2e-210) {
tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-1.15d+110)) then
tmp = x / (y * ((2.0d0 * (b * (((1.0d0 / t) * 0.6666666666666666d0) - (a + 0.8333333333333334d0)))) + 1.0d0))
else if (b <= (-1.15d-170)) then
tmp = x / (x + (y + (2.0d0 * (c * (y * (a - ((0.6666666666666666d0 / t) - 0.8333333333333334d0)))))))
else if (b <= 1.2d-302) then
tmp = 1.0d0
else if (b <= 6.2d-210) then
tmp = x / (x + (y * ((2.0d0 * (c * (0.8333333333333334d0 - (0.6666666666666666d0 / t)))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.15e+110) {
tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
} else if (b <= -1.15e-170) {
tmp = x / (x + (y + (2.0 * (c * (y * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))))));
} else if (b <= 1.2e-302) {
tmp = 1.0;
} else if (b <= 6.2e-210) {
tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.15e+110: tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0)) elif b <= -1.15e-170: tmp = x / (x + (y + (2.0 * (c * (y * (a - ((0.6666666666666666 / t) - 0.8333333333333334))))))) elif b <= 1.2e-302: tmp = 1.0 elif b <= 6.2e-210: tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.15e+110) tmp = Float64(x / Float64(y * Float64(Float64(2.0 * Float64(b * Float64(Float64(Float64(1.0 / t) * 0.6666666666666666) - Float64(a + 0.8333333333333334)))) + 1.0))); elseif (b <= -1.15e-170) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(c * Float64(y * Float64(a - Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334)))))))); elseif (b <= 1.2e-302) tmp = 1.0; elseif (b <= 6.2e-210) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -1.15e+110) tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0)); elseif (b <= -1.15e-170) tmp = x / (x + (y + (2.0 * (c * (y * (a - ((0.6666666666666666 / t) - 0.8333333333333334))))))); elseif (b <= 1.2e-302) tmp = 1.0; elseif (b <= 6.2e-210) tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.15e+110], N[(x / N[(y * N[(N[(2.0 * N[(b * N[(N[(N[(1.0 / t), $MachinePrecision] * 0.6666666666666666), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.15e-170], N[(x / N[(x + N[(y + N[(2.0 * N[(c * N[(y * N[(a - N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.2e-302], 1.0, If[LessEqual[b, 6.2e-210], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.15 \cdot 10^{+110}:\\
\;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\
\mathbf{elif}\;b \leq -1.15 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(c \cdot \left(y \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right)\right)\right)}\\
\mathbf{elif}\;b \leq 1.2 \cdot 10^{-302}:\\
\;\;\;\;1\\
\mathbf{elif}\;b \leq 6.2 \cdot 10^{-210}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.15e110Initial program 84.3%
Taylor expanded in b around inf 84.8%
associate-*r/84.8%
metadata-eval84.8%
+-commutative84.8%
Simplified84.8%
Taylor expanded in b around 0 64.2%
Taylor expanded in y around inf 64.0%
if -1.15e110 < b < -1.14999999999999993e-170Initial program 100.0%
Taylor expanded in c around inf 76.8%
+-commutative76.8%
associate-*r/76.8%
metadata-eval76.8%
Simplified76.8%
Taylor expanded in c around 0 61.1%
+-commutative61.1%
associate-*r/61.1%
metadata-eval61.1%
associate-+r-61.1%
Simplified61.1%
if -1.14999999999999993e-170 < b < 1.20000000000000011e-302 or 6.19999999999999973e-210 < b Initial program 94.4%
Taylor expanded in b around inf 70.7%
associate-*r/70.7%
metadata-eval70.7%
+-commutative70.7%
Simplified70.7%
Taylor expanded in b around 0 33.7%
Taylor expanded in x around inf 54.9%
if 1.20000000000000011e-302 < b < 6.19999999999999973e-210Initial program 91.3%
Taylor expanded in c around inf 83.6%
+-commutative83.6%
associate-*r/83.6%
metadata-eval83.6%
Simplified83.6%
Taylor expanded in c around 0 62.5%
associate-*r*62.5%
+-commutative62.5%
associate-*r/62.5%
metadata-eval62.5%
associate-+r-62.5%
associate-*r*62.5%
Simplified62.5%
Taylor expanded in a around 0 62.6%
sub-neg62.6%
associate-*r/62.6%
metadata-eval62.6%
sub-neg62.6%
Simplified62.6%
Final simplification58.8%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -6.8e+136)
(/
x
(*
y
(+
(*
2.0
(* b (- (* (/ 1.0 t) 0.6666666666666666) (+ a 0.8333333333333334))))
1.0)))
(if (<= b -8.1e-171)
(/
x
(+
x
(*
y
(+
(* 2.0 (* c (- a (- (/ 0.6666666666666666 t) 0.8333333333333334))))
1.0))))
(if (<= b 4.9e-303)
1.0
(if (<= b 1.3e-214)
(/
x
(+
x
(*
y
(+
(* 2.0 (* c (- 0.8333333333333334 (/ 0.6666666666666666 t))))
1.0))))
1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -6.8e+136) {
tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
} else if (b <= -8.1e-171) {
tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)));
} else if (b <= 4.9e-303) {
tmp = 1.0;
} else if (b <= 1.3e-214) {
tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-6.8d+136)) then
tmp = x / (y * ((2.0d0 * (b * (((1.0d0 / t) * 0.6666666666666666d0) - (a + 0.8333333333333334d0)))) + 1.0d0))
else if (b <= (-8.1d-171)) then
tmp = x / (x + (y * ((2.0d0 * (c * (a - ((0.6666666666666666d0 / t) - 0.8333333333333334d0)))) + 1.0d0)))
else if (b <= 4.9d-303) then
tmp = 1.0d0
else if (b <= 1.3d-214) then
tmp = x / (x + (y * ((2.0d0 * (c * (0.8333333333333334d0 - (0.6666666666666666d0 / t)))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -6.8e+136) {
tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
} else if (b <= -8.1e-171) {
tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)));
} else if (b <= 4.9e-303) {
tmp = 1.0;
} else if (b <= 1.3e-214) {
tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -6.8e+136: tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0)) elif b <= -8.1e-171: tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0))) elif b <= 4.9e-303: tmp = 1.0 elif b <= 1.3e-214: tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -6.8e+136) tmp = Float64(x / Float64(y * Float64(Float64(2.0 * Float64(b * Float64(Float64(Float64(1.0 / t) * 0.6666666666666666) - Float64(a + 0.8333333333333334)))) + 1.0))); elseif (b <= -8.1e-171) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(a - Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)))); elseif (b <= 4.9e-303) tmp = 1.0; elseif (b <= 1.3e-214) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -6.8e+136) tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0)); elseif (b <= -8.1e-171) tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0))); elseif (b <= 4.9e-303) tmp = 1.0; elseif (b <= 1.3e-214) tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -6.8e+136], N[(x / N[(y * N[(N[(2.0 * N[(b * N[(N[(N[(1.0 / t), $MachinePrecision] * 0.6666666666666666), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -8.1e-171], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(a - N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.9e-303], 1.0, If[LessEqual[b, 1.3e-214], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -6.8 \cdot 10^{+136}:\\
\;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\
\mathbf{elif}\;b \leq -8.1 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right) + 1\right)}\\
\mathbf{elif}\;b \leq 4.9 \cdot 10^{-303}:\\
\;\;\;\;1\\
\mathbf{elif}\;b \leq 1.3 \cdot 10^{-214}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -6.79999999999999993e136Initial program 85.4%
Taylor expanded in b around inf 85.8%
associate-*r/85.8%
metadata-eval85.8%
+-commutative85.8%
Simplified85.8%
Taylor expanded in b around 0 67.1%
Taylor expanded in y around inf 69.3%
if -6.79999999999999993e136 < b < -8.1e-171Initial program 97.1%
Taylor expanded in c around inf 71.7%
+-commutative71.7%
associate-*r/71.7%
metadata-eval71.7%
Simplified71.7%
Taylor expanded in c around 0 57.0%
associate-*r*57.0%
+-commutative57.0%
associate-*r/57.0%
metadata-eval57.0%
associate-+r-57.0%
associate-*r*57.0%
Simplified57.0%
if -8.1e-171 < b < 4.9e-303 or 1.3e-214 < b Initial program 94.4%
Taylor expanded in b around inf 70.7%
associate-*r/70.7%
metadata-eval70.7%
+-commutative70.7%
Simplified70.7%
Taylor expanded in b around 0 33.7%
Taylor expanded in x around inf 54.9%
if 4.9e-303 < b < 1.3e-214Initial program 91.3%
Taylor expanded in c around inf 83.6%
+-commutative83.6%
associate-*r/83.6%
metadata-eval83.6%
Simplified83.6%
Taylor expanded in c around 0 62.5%
associate-*r*62.5%
+-commutative62.5%
associate-*r/62.5%
metadata-eval62.5%
associate-+r-62.5%
associate-*r*62.5%
Simplified62.5%
Taylor expanded in a around 0 62.6%
sub-neg62.6%
associate-*r/62.6%
metadata-eval62.6%
sub-neg62.6%
Simplified62.6%
Final simplification58.5%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -2.8e+138)
(/
x
(*
y
(+
(*
2.0
(* b (- (* (/ 1.0 t) 0.6666666666666666) (+ a 0.8333333333333334))))
1.0)))
(if (<= b -8.2e-171)
(/ x (+ x (* y (+ (* 2.0 (* c (+ a 0.8333333333333334))) 1.0))))
(if (<= b 8.6e-303)
1.0
(if (<= b 2.1e-216)
(/
x
(+
x
(*
y
(+
(* 2.0 (* c (- 0.8333333333333334 (/ 0.6666666666666666 t))))
1.0))))
1.0)))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -2.8e+138) {
tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
} else if (b <= -8.2e-171) {
tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
} else if (b <= 8.6e-303) {
tmp = 1.0;
} else if (b <= 2.1e-216) {
tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-2.8d+138)) then
tmp = x / (y * ((2.0d0 * (b * (((1.0d0 / t) * 0.6666666666666666d0) - (a + 0.8333333333333334d0)))) + 1.0d0))
else if (b <= (-8.2d-171)) then
tmp = x / (x + (y * ((2.0d0 * (c * (a + 0.8333333333333334d0))) + 1.0d0)))
else if (b <= 8.6d-303) then
tmp = 1.0d0
else if (b <= 2.1d-216) then
tmp = x / (x + (y * ((2.0d0 * (c * (0.8333333333333334d0 - (0.6666666666666666d0 / t)))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -2.8e+138) {
tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0));
} else if (b <= -8.2e-171) {
tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
} else if (b <= 8.6e-303) {
tmp = 1.0;
} else if (b <= 2.1e-216) {
tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -2.8e+138: tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0)) elif b <= -8.2e-171: tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0))) elif b <= 8.6e-303: tmp = 1.0 elif b <= 2.1e-216: tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -2.8e+138) tmp = Float64(x / Float64(y * Float64(Float64(2.0 * Float64(b * Float64(Float64(Float64(1.0 / t) * 0.6666666666666666) - Float64(a + 0.8333333333333334)))) + 1.0))); elseif (b <= -8.2e-171) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))) + 1.0)))); elseif (b <= 8.6e-303) tmp = 1.0; elseif (b <= 2.1e-216) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -2.8e+138) tmp = x / (y * ((2.0 * (b * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))) + 1.0)); elseif (b <= -8.2e-171) tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0))); elseif (b <= 8.6e-303) tmp = 1.0; elseif (b <= 2.1e-216) tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.8e+138], N[(x / N[(y * N[(N[(2.0 * N[(b * N[(N[(N[(1.0 / t), $MachinePrecision] * 0.6666666666666666), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -8.2e-171], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 8.6e-303], 1.0, If[LessEqual[b, 2.1e-216], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.8 \cdot 10^{+138}:\\
\;\;\;\;\frac{x}{y \cdot \left(2 \cdot \left(b \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right) + 1\right)}\\
\mathbf{elif}\;b \leq -8.2 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\
\mathbf{elif}\;b \leq 8.6 \cdot 10^{-303}:\\
\;\;\;\;1\\
\mathbf{elif}\;b \leq 2.1 \cdot 10^{-216}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -2.8000000000000001e138Initial program 85.4%
Taylor expanded in b around inf 85.8%
associate-*r/85.8%
metadata-eval85.8%
+-commutative85.8%
Simplified85.8%
Taylor expanded in b around 0 67.1%
Taylor expanded in y around inf 69.3%
if -2.8000000000000001e138 < b < -8.2e-171Initial program 97.1%
Taylor expanded in c around inf 71.7%
+-commutative71.7%
associate-*r/71.7%
metadata-eval71.7%
Simplified71.7%
Taylor expanded in t around inf 61.7%
*-commutative61.7%
Simplified61.7%
Taylor expanded in c around 0 54.9%
if -8.2e-171 < b < 8.59999999999999963e-303 or 2.1000000000000002e-216 < b Initial program 94.4%
Taylor expanded in b around inf 70.7%
associate-*r/70.7%
metadata-eval70.7%
+-commutative70.7%
Simplified70.7%
Taylor expanded in b around 0 33.7%
Taylor expanded in x around inf 54.9%
if 8.59999999999999963e-303 < b < 2.1000000000000002e-216Initial program 91.3%
Taylor expanded in c around inf 83.6%
+-commutative83.6%
associate-*r/83.6%
metadata-eval83.6%
Simplified83.6%
Taylor expanded in c around 0 62.5%
associate-*r*62.5%
+-commutative62.5%
associate-*r/62.5%
metadata-eval62.5%
associate-+r-62.5%
associate-*r*62.5%
Simplified62.5%
Taylor expanded in a around 0 62.6%
sub-neg62.6%
associate-*r/62.6%
metadata-eval62.6%
sub-neg62.6%
Simplified62.6%
Final simplification57.9%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -5.8e+139)
(*
(/ 0.5 b)
(/ (/ x y) (+ (/ 0.6666666666666666 t) (- -0.8333333333333334 a))))
(if (or (<= b -7.5e-171) (and (not (<= b 6e-303)) (<= b 2.15e-213)))
(/ x (+ x (* y (+ (* 2.0 (* c (+ a 0.8333333333333334))) 1.0))))
1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -5.8e+139) {
tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)));
} else if ((b <= -7.5e-171) || (!(b <= 6e-303) && (b <= 2.15e-213))) {
tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-5.8d+139)) then
tmp = (0.5d0 / b) * ((x / y) / ((0.6666666666666666d0 / t) + ((-0.8333333333333334d0) - a)))
else if ((b <= (-7.5d-171)) .or. (.not. (b <= 6d-303)) .and. (b <= 2.15d-213)) then
tmp = x / (x + (y * ((2.0d0 * (c * (a + 0.8333333333333334d0))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -5.8e+139) {
tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)));
} else if ((b <= -7.5e-171) || (!(b <= 6e-303) && (b <= 2.15e-213))) {
tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -5.8e+139: tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a))) elif (b <= -7.5e-171) or (not (b <= 6e-303) and (b <= 2.15e-213)): tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -5.8e+139) tmp = Float64(Float64(0.5 / b) * Float64(Float64(x / y) / Float64(Float64(0.6666666666666666 / t) + Float64(-0.8333333333333334 - a)))); elseif ((b <= -7.5e-171) || (!(b <= 6e-303) && (b <= 2.15e-213))) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(a + 0.8333333333333334))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -5.8e+139) tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a))); elseif ((b <= -7.5e-171) || (~((b <= 6e-303)) && (b <= 2.15e-213))) tmp = x / (x + (y * ((2.0 * (c * (a + 0.8333333333333334))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -5.8e+139], N[(N[(0.5 / b), $MachinePrecision] * N[(N[(x / y), $MachinePrecision] / N[(N[(0.6666666666666666 / t), $MachinePrecision] + N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[b, -7.5e-171], And[N[Not[LessEqual[b, 6e-303]], $MachinePrecision], LessEqual[b, 2.15e-213]]], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -5.8 \cdot 10^{+139}:\\
\;\;\;\;\frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)}\\
\mathbf{elif}\;b \leq -7.5 \cdot 10^{-171} \lor \neg \left(b \leq 6 \cdot 10^{-303}\right) \land b \leq 2.15 \cdot 10^{-213}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a + 0.8333333333333334\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -5.7999999999999998e139Initial program 85.4%
Taylor expanded in b around inf 85.8%
associate-*r/85.8%
metadata-eval85.8%
+-commutative85.8%
Simplified85.8%
Taylor expanded in b around 0 67.1%
Taylor expanded in b around inf 67.0%
associate-*r/67.0%
sub-neg67.0%
associate-*r/67.0%
metadata-eval67.0%
+-commutative67.0%
sub-neg67.0%
times-frac62.6%
metadata-eval62.6%
associate-*r/62.6%
+-commutative62.6%
associate-/r*62.6%
sub-neg62.6%
associate-*r/62.6%
metadata-eval62.6%
Simplified62.6%
if -5.7999999999999998e139 < b < -7.50000000000000033e-171 or 6.00000000000000055e-303 < b < 2.1500000000000001e-213Initial program 95.6%
Taylor expanded in c around inf 74.7%
+-commutative74.7%
associate-*r/74.7%
metadata-eval74.7%
Simplified74.7%
Taylor expanded in t around inf 60.9%
*-commutative60.9%
Simplified60.9%
Taylor expanded in c around 0 56.8%
if -7.50000000000000033e-171 < b < 6.00000000000000055e-303 or 2.1500000000000001e-213 < b Initial program 94.4%
Taylor expanded in b around inf 70.7%
associate-*r/70.7%
metadata-eval70.7%
+-commutative70.7%
Simplified70.7%
Taylor expanded in b around 0 33.7%
Taylor expanded in x around inf 54.9%
Final simplification56.8%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -4.3e-176)
(/
x
(+
x
(+
y
(*
2.0
(*
b
(*
y
(- (* (/ 1.0 t) 0.6666666666666666) (+ a 0.8333333333333334))))))))
(if (<= b 1.08e-302)
1.0
(if (<= b 1.75e-211)
(/
x
(+
x
(*
y
(+
(* 2.0 (* c (- 0.8333333333333334 (/ 0.6666666666666666 t))))
1.0))))
1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -4.3e-176) {
tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))));
} else if (b <= 1.08e-302) {
tmp = 1.0;
} else if (b <= 1.75e-211) {
tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-4.3d-176)) then
tmp = x / (x + (y + (2.0d0 * (b * (y * (((1.0d0 / t) * 0.6666666666666666d0) - (a + 0.8333333333333334d0)))))))
else if (b <= 1.08d-302) then
tmp = 1.0d0
else if (b <= 1.75d-211) then
tmp = x / (x + (y * ((2.0d0 * (c * (0.8333333333333334d0 - (0.6666666666666666d0 / t)))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -4.3e-176) {
tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334)))))));
} else if (b <= 1.08e-302) {
tmp = 1.0;
} else if (b <= 1.75e-211) {
tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -4.3e-176: tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334))))))) elif b <= 1.08e-302: tmp = 1.0 elif b <= 1.75e-211: tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -4.3e-176) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(b * Float64(y * Float64(Float64(Float64(1.0 / t) * 0.6666666666666666) - Float64(a + 0.8333333333333334)))))))); elseif (b <= 1.08e-302) tmp = 1.0; elseif (b <= 1.75e-211) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(0.8333333333333334 - Float64(0.6666666666666666 / t)))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -4.3e-176) tmp = x / (x + (y + (2.0 * (b * (y * (((1.0 / t) * 0.6666666666666666) - (a + 0.8333333333333334))))))); elseif (b <= 1.08e-302) tmp = 1.0; elseif (b <= 1.75e-211) tmp = x / (x + (y * ((2.0 * (c * (0.8333333333333334 - (0.6666666666666666 / t)))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -4.3e-176], N[(x / N[(x + N[(y + N[(2.0 * N[(b * N[(y * N[(N[(N[(1.0 / t), $MachinePrecision] * 0.6666666666666666), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.08e-302], 1.0, If[LessEqual[b, 1.75e-211], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(0.8333333333333334 - N[(0.6666666666666666 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.3 \cdot 10^{-176}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(b \cdot \left(y \cdot \left(\frac{1}{t} \cdot 0.6666666666666666 - \left(a + 0.8333333333333334\right)\right)\right)\right)\right)}\\
\mathbf{elif}\;b \leq 1.08 \cdot 10^{-302}:\\
\;\;\;\;1\\
\mathbf{elif}\;b \leq 1.75 \cdot 10^{-211}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(0.8333333333333334 - \frac{0.6666666666666666}{t}\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -4.30000000000000012e-176Initial program 92.8%
Taylor expanded in b around inf 74.7%
associate-*r/74.7%
metadata-eval74.7%
+-commutative74.7%
Simplified74.7%
Taylor expanded in b around 0 59.9%
if -4.30000000000000012e-176 < b < 1.07999999999999994e-302 or 1.75e-211 < b Initial program 94.3%
Taylor expanded in b around inf 70.2%
associate-*r/70.2%
metadata-eval70.2%
+-commutative70.2%
Simplified70.2%
Taylor expanded in b around 0 33.4%
Taylor expanded in x around inf 55.0%
if 1.07999999999999994e-302 < b < 1.75e-211Initial program 91.3%
Taylor expanded in c around inf 83.6%
+-commutative83.6%
associate-*r/83.6%
metadata-eval83.6%
Simplified83.6%
Taylor expanded in c around 0 62.5%
associate-*r*62.5%
+-commutative62.5%
associate-*r/62.5%
metadata-eval62.5%
associate-+r-62.5%
associate-*r*62.5%
Simplified62.5%
Taylor expanded in a around 0 62.6%
sub-neg62.6%
associate-*r/62.6%
metadata-eval62.6%
sub-neg62.6%
Simplified62.6%
Final simplification57.8%
(FPCore (x y z t a b c)
:precision binary64
(if (<= b -1.12e+139)
(*
(/ 0.5 b)
(/ (/ x y) (+ (/ 0.6666666666666666 t) (- -0.8333333333333334 a))))
(if (<= b 6.2e-237)
(/ x (+ x (* y (+ (* 2.0 (* a c)) 1.0))))
(if (<= b 1.15e-157)
(/ x (+ x (* a (+ (* -2.0 (* b y)) (/ y a)))))
1.0))))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.12e+139) {
tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)));
} else if (b <= 6.2e-237) {
tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)));
} else if (b <= 1.15e-157) {
tmp = x / (x + (a * ((-2.0 * (b * y)) + (y / a))));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-1.12d+139)) then
tmp = (0.5d0 / b) * ((x / y) / ((0.6666666666666666d0 / t) + ((-0.8333333333333334d0) - a)))
else if (b <= 6.2d-237) then
tmp = x / (x + (y * ((2.0d0 * (a * c)) + 1.0d0)))
else if (b <= 1.15d-157) then
tmp = x / (x + (a * (((-2.0d0) * (b * y)) + (y / a))))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.12e+139) {
tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a)));
} else if (b <= 6.2e-237) {
tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)));
} else if (b <= 1.15e-157) {
tmp = x / (x + (a * ((-2.0 * (b * y)) + (y / a))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.12e+139: tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a))) elif b <= 6.2e-237: tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0))) elif b <= 1.15e-157: tmp = x / (x + (a * ((-2.0 * (b * y)) + (y / a)))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.12e+139) tmp = Float64(Float64(0.5 / b) * Float64(Float64(x / y) / Float64(Float64(0.6666666666666666 / t) + Float64(-0.8333333333333334 - a)))); elseif (b <= 6.2e-237) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * c)) + 1.0)))); elseif (b <= 1.15e-157) tmp = Float64(x / Float64(x + Float64(a * Float64(Float64(-2.0 * Float64(b * y)) + Float64(y / a))))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -1.12e+139) tmp = (0.5 / b) * ((x / y) / ((0.6666666666666666 / t) + (-0.8333333333333334 - a))); elseif (b <= 6.2e-237) tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0))); elseif (b <= 1.15e-157) tmp = x / (x + (a * ((-2.0 * (b * y)) + (y / a)))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.12e+139], N[(N[(0.5 / b), $MachinePrecision] * N[(N[(x / y), $MachinePrecision] / N[(N[(0.6666666666666666 / t), $MachinePrecision] + N[(-0.8333333333333334 - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 6.2e-237], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.15e-157], N[(x / N[(x + N[(a * N[(N[(-2.0 * N[(b * y), $MachinePrecision]), $MachinePrecision] + N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.12 \cdot 10^{+139}:\\
\;\;\;\;\frac{0.5}{b} \cdot \frac{\frac{x}{y}}{\frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right)}\\
\mathbf{elif}\;b \leq 6.2 \cdot 10^{-237}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot c\right) + 1\right)}\\
\mathbf{elif}\;b \leq 1.15 \cdot 10^{-157}:\\
\;\;\;\;\frac{x}{x + a \cdot \left(-2 \cdot \left(b \cdot y\right) + \frac{y}{a}\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.12e139Initial program 85.4%
Taylor expanded in b around inf 85.8%
associate-*r/85.8%
metadata-eval85.8%
+-commutative85.8%
Simplified85.8%
Taylor expanded in b around 0 67.1%
Taylor expanded in b around inf 67.0%
associate-*r/67.0%
sub-neg67.0%
associate-*r/67.0%
metadata-eval67.0%
+-commutative67.0%
sub-neg67.0%
times-frac62.6%
metadata-eval62.6%
associate-*r/62.6%
+-commutative62.6%
associate-/r*62.6%
sub-neg62.6%
associate-*r/62.6%
metadata-eval62.6%
Simplified62.6%
if -1.12e139 < b < 6.1999999999999997e-237Initial program 95.3%
Taylor expanded in c around inf 73.8%
+-commutative73.8%
associate-*r/73.8%
metadata-eval73.8%
Simplified73.8%
Taylor expanded in a around inf 59.8%
Taylor expanded in a around 0 50.8%
*-commutative50.8%
Simplified50.8%
if 6.1999999999999997e-237 < b < 1.14999999999999994e-157Initial program 100.0%
Taylor expanded in b around inf 42.2%
associate-*r/42.2%
metadata-eval42.2%
+-commutative42.2%
Simplified42.2%
Taylor expanded in b around 0 55.1%
Taylor expanded in a around inf 49.0%
mul-1-neg49.0%
associate-*r*49.0%
distribute-rgt-neg-in49.0%
*-commutative49.0%
Simplified49.0%
Taylor expanded in a around inf 61.6%
if 1.14999999999999994e-157 < b Initial program 93.6%
Taylor expanded in b around inf 75.3%
associate-*r/75.3%
metadata-eval75.3%
+-commutative75.3%
Simplified75.3%
Taylor expanded in b around 0 30.6%
Taylor expanded in x around inf 53.7%
Final simplification54.4%
(FPCore (x y z t a b c)
:precision binary64
(if (<= a 1.8e+85)
(/
x
(+
x
(+
y
(*
2.0
(* (* b y) (- (/ 0.6666666666666666 t) (+ a 0.8333333333333334)))))))
(if (<= a 2.6e+171)
(/
x
(+
x
(*
y
(+
(* 2.0 (* c (- a (- (/ 0.6666666666666666 t) 0.8333333333333334))))
1.0))))
1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= 1.8e+85) {
tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))));
} else if (a <= 2.6e+171) {
tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (a <= 1.8d+85) then
tmp = x / (x + (y + (2.0d0 * ((b * y) * ((0.6666666666666666d0 / t) - (a + 0.8333333333333334d0))))))
else if (a <= 2.6d+171) then
tmp = x / (x + (y * ((2.0d0 * (c * (a - ((0.6666666666666666d0 / t) - 0.8333333333333334d0)))) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (a <= 1.8e+85) {
tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334))))));
} else if (a <= 2.6e+171) {
tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if a <= 1.8e+85: tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))) elif a <= 2.6e+171: tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (a <= 1.8e+85) tmp = Float64(x / Float64(x + Float64(y + Float64(2.0 * Float64(Float64(b * y) * Float64(Float64(0.6666666666666666 / t) - Float64(a + 0.8333333333333334))))))); elseif (a <= 2.6e+171) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(c * Float64(a - Float64(Float64(0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (a <= 1.8e+85) tmp = x / (x + (y + (2.0 * ((b * y) * ((0.6666666666666666 / t) - (a + 0.8333333333333334)))))); elseif (a <= 2.6e+171) tmp = x / (x + (y * ((2.0 * (c * (a - ((0.6666666666666666 / t) - 0.8333333333333334)))) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[a, 1.8e+85], N[(x / N[(x + N[(y + N[(2.0 * N[(N[(b * y), $MachinePrecision] * N[(N[(0.6666666666666666 / t), $MachinePrecision] - N[(a + 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.6e+171], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(c * N[(a - N[(N[(0.6666666666666666 / t), $MachinePrecision] - 0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq 1.8 \cdot 10^{+85}:\\
\;\;\;\;\frac{x}{x + \left(y + 2 \cdot \left(\left(b \cdot y\right) \cdot \left(\frac{0.6666666666666666}{t} - \left(a + 0.8333333333333334\right)\right)\right)\right)}\\
\mathbf{elif}\;a \leq 2.6 \cdot 10^{+171}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(c \cdot \left(a - \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if a < 1.7999999999999999e85Initial program 96.3%
Taylor expanded in b around inf 69.6%
associate-*r/69.6%
metadata-eval69.6%
+-commutative69.6%
Simplified69.6%
Taylor expanded in b around 0 51.1%
associate-*r*51.9%
associate-*r/51.9%
metadata-eval51.9%
Simplified51.9%
if 1.7999999999999999e85 < a < 2.6e171Initial program 93.5%
Taylor expanded in c around inf 65.8%
+-commutative65.8%
associate-*r/65.8%
metadata-eval65.8%
Simplified65.8%
Taylor expanded in c around 0 61.1%
associate-*r*61.1%
+-commutative61.1%
associate-*r/61.1%
metadata-eval61.1%
associate-+r-61.1%
associate-*r*61.1%
Simplified61.1%
if 2.6e171 < a Initial program 85.5%
Taylor expanded in b around inf 70.2%
associate-*r/70.2%
metadata-eval70.2%
+-commutative70.2%
Simplified70.2%
Taylor expanded in b around 0 28.3%
Taylor expanded in x around inf 53.1%
Final simplification53.3%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -1.1e+138) (* (/ -0.5 a) (/ x (* b y))) (if (<= b -5.8e-171) (/ x (+ x (* y (+ (* 2.0 (* a c)) 1.0)))) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.1e+138) {
tmp = (-0.5 / a) * (x / (b * y));
} else if (b <= -5.8e-171) {
tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-1.1d+138)) then
tmp = ((-0.5d0) / a) * (x / (b * y))
else if (b <= (-5.8d-171)) then
tmp = x / (x + (y * ((2.0d0 * (a * c)) + 1.0d0)))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -1.1e+138) {
tmp = (-0.5 / a) * (x / (b * y));
} else if (b <= -5.8e-171) {
tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0)));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.1e+138: tmp = (-0.5 / a) * (x / (b * y)) elif b <= -5.8e-171: tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.1e+138) tmp = Float64(Float64(-0.5 / a) * Float64(x / Float64(b * y))); elseif (b <= -5.8e-171) tmp = Float64(x / Float64(x + Float64(y * Float64(Float64(2.0 * Float64(a * c)) + 1.0)))); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -1.1e+138) tmp = (-0.5 / a) * (x / (b * y)); elseif (b <= -5.8e-171) tmp = x / (x + (y * ((2.0 * (a * c)) + 1.0))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.1e+138], N[(N[(-0.5 / a), $MachinePrecision] * N[(x / N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -5.8e-171], N[(x / N[(x + N[(y * N[(N[(2.0 * N[(a * c), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.1 \cdot 10^{+138}:\\
\;\;\;\;\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}\\
\mathbf{elif}\;b \leq -5.8 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(2 \cdot \left(a \cdot c\right) + 1\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.1e138Initial program 85.4%
Taylor expanded in b around inf 85.8%
associate-*r/85.8%
metadata-eval85.8%
+-commutative85.8%
Simplified85.8%
Taylor expanded in b around 0 67.1%
Taylor expanded in a around inf 59.8%
associate-*r/59.8%
times-frac62.1%
Simplified62.1%
if -1.1e138 < b < -5.7999999999999997e-171Initial program 97.1%
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 61.9%
Taylor expanded in a around 0 52.2%
*-commutative52.2%
Simplified52.2%
if -5.7999999999999997e-171 < b Initial program 93.9%
Taylor expanded in b around inf 65.6%
associate-*r/65.6%
metadata-eval65.6%
+-commutative65.6%
Simplified65.6%
Taylor expanded in b around 0 34.4%
Taylor expanded in x around inf 51.4%
Final simplification53.3%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -1.55e-170) (/ x (+ x (- y (* 2.0 (* 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 (b <= -1.55e-170) {
tmp = x / (x + (y - (2.0 * (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 (b <= (-1.55d-170)) then
tmp = x / (x + (y - (2.0d0 * (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 (b <= -1.55e-170) {
tmp = x / (x + (y - (2.0 * (b * (y * (a - -0.8333333333333334))))));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -1.55e-170: tmp = x / (x + (y - (2.0 * (b * (y * (a - -0.8333333333333334)))))) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -1.55e-170) tmp = Float64(x / Float64(x + Float64(y - Float64(2.0 * 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 (b <= -1.55e-170) tmp = x / (x + (y - (2.0 * (b * (y * (a - -0.8333333333333334)))))); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -1.55e-170], N[(x / N[(x + N[(y - N[(2.0 * N[(b * N[(y * N[(a - -0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.55 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \left(b \cdot \left(y \cdot \left(a - -0.8333333333333334\right)\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -1.54999999999999993e-170Initial program 92.7%
Taylor expanded in b around inf 74.2%
associate-*r/74.2%
metadata-eval74.2%
+-commutative74.2%
Simplified74.2%
Taylor expanded in b around 0 60.1%
Taylor expanded in t around inf 55.8%
mul-1-neg55.8%
+-commutative55.8%
distribute-rgt-neg-in55.8%
+-commutative55.8%
distribute-neg-in55.8%
metadata-eval55.8%
unsub-neg55.8%
Simplified55.8%
if -1.54999999999999993e-170 < b Initial program 93.9%
Taylor expanded in b around inf 65.6%
associate-*r/65.6%
metadata-eval65.6%
+-commutative65.6%
Simplified65.6%
Taylor expanded in b around 0 34.4%
Taylor expanded in x around inf 51.4%
Final simplification53.3%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -8.5e-171) (/ x (- x (- (* 2.0 (* y (* a b))) y))) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -8.5e-171) {
tmp = x / (x - ((2.0 * (y * (a * b))) - y));
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-8.5d-171)) then
tmp = x / (x - ((2.0d0 * (y * (a * b))) - y))
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -8.5e-171) {
tmp = x / (x - ((2.0 * (y * (a * b))) - y));
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -8.5e-171: tmp = x / (x - ((2.0 * (y * (a * b))) - y)) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -8.5e-171) tmp = Float64(x / Float64(x - Float64(Float64(2.0 * Float64(y * Float64(a * 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 <= -8.5e-171) tmp = x / (x - ((2.0 * (y * (a * b))) - y)); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -8.5e-171], N[(x / N[(x - N[(N[(2.0 * N[(y * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -8.5 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x - \left(2 \cdot \left(y \cdot \left(a \cdot b\right)\right) - y\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -8.50000000000000032e-171Initial program 92.7%
Taylor expanded in b around inf 74.2%
associate-*r/74.2%
metadata-eval74.2%
+-commutative74.2%
Simplified74.2%
Taylor expanded in b around 0 60.1%
Taylor expanded in a around inf 53.9%
mul-1-neg53.9%
associate-*r*54.0%
distribute-rgt-neg-in54.0%
*-commutative54.0%
Simplified54.0%
if -8.50000000000000032e-171 < b Initial program 93.9%
Taylor expanded in b around inf 65.6%
associate-*r/65.6%
metadata-eval65.6%
+-commutative65.6%
Simplified65.6%
Taylor expanded in b around 0 34.4%
Taylor expanded in x around inf 51.4%
Final simplification52.5%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -3.7e+138) (* (/ -0.5 a) (/ x (* b y))) (if (<= b -1.08e-170) (/ x (+ x y)) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -3.7e+138) {
tmp = (-0.5 / a) * (x / (b * y));
} else if (b <= -1.08e-170) {
tmp = x / (x + y);
} else {
tmp = 1.0;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8) :: tmp
if (b <= (-3.7d+138)) then
tmp = ((-0.5d0) / a) * (x / (b * y))
else if (b <= (-1.08d-170)) then
tmp = x / (x + y)
else
tmp = 1.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -3.7e+138) {
tmp = (-0.5 / a) * (x / (b * y));
} else if (b <= -1.08e-170) {
tmp = x / (x + y);
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -3.7e+138: tmp = (-0.5 / a) * (x / (b * y)) elif b <= -1.08e-170: tmp = x / (x + y) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -3.7e+138) tmp = Float64(Float64(-0.5 / a) * Float64(x / Float64(b * y))); elseif (b <= -1.08e-170) tmp = Float64(x / Float64(x + y)); else tmp = 1.0; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (b <= -3.7e+138) tmp = (-0.5 / a) * (x / (b * y)); elseif (b <= -1.08e-170) tmp = x / (x + y); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -3.7e+138], N[(N[(-0.5 / a), $MachinePrecision] * N[(x / N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.08e-170], N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.7 \cdot 10^{+138}:\\
\;\;\;\;\frac{-0.5}{a} \cdot \frac{x}{b \cdot y}\\
\mathbf{elif}\;b \leq -1.08 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + y}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -3.69999999999999979e138Initial program 85.4%
Taylor expanded in b around inf 85.8%
associate-*r/85.8%
metadata-eval85.8%
+-commutative85.8%
Simplified85.8%
Taylor expanded in b around 0 67.1%
Taylor expanded in a around inf 59.8%
associate-*r/59.8%
times-frac62.1%
Simplified62.1%
if -3.69999999999999979e138 < b < -1.08000000000000006e-170Initial program 97.1%
Taylor expanded in b around inf 67.2%
associate-*r/67.2%
metadata-eval67.2%
+-commutative67.2%
Simplified67.2%
Taylor expanded in b around 0 43.7%
if -1.08000000000000006e-170 < b Initial program 93.9%
Taylor expanded in b around inf 65.6%
associate-*r/65.6%
metadata-eval65.6%
+-commutative65.6%
Simplified65.6%
Taylor expanded in b around 0 34.4%
Taylor expanded in x around inf 51.4%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -3e+139) (* -0.5 (/ (/ x a) (* b y))) (if (<= b -6.5e-171) (/ x (+ x y)) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -3e+139) {
tmp = -0.5 * ((x / a) / (b * y));
} else if (b <= -6.5e-171) {
tmp = x / (x + 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 <= (-3d+139)) then
tmp = (-0.5d0) * ((x / a) / (b * y))
else if (b <= (-6.5d-171)) then
tmp = x / (x + 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 <= -3e+139) {
tmp = -0.5 * ((x / a) / (b * y));
} else if (b <= -6.5e-171) {
tmp = x / (x + y);
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -3e+139: tmp = -0.5 * ((x / a) / (b * y)) elif b <= -6.5e-171: tmp = x / (x + y) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -3e+139) tmp = Float64(-0.5 * Float64(Float64(x / a) / Float64(b * y))); elseif (b <= -6.5e-171) tmp = Float64(x / Float64(x + 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 <= -3e+139) tmp = -0.5 * ((x / a) / (b * y)); elseif (b <= -6.5e-171) tmp = x / (x + y); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -3e+139], N[(-0.5 * N[(N[(x / a), $MachinePrecision] / N[(b * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -6.5e-171], N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -3 \cdot 10^{+139}:\\
\;\;\;\;-0.5 \cdot \frac{\frac{x}{a}}{b \cdot y}\\
\mathbf{elif}\;b \leq -6.5 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -3e139Initial program 85.4%
Taylor expanded in b around inf 85.8%
associate-*r/85.8%
metadata-eval85.8%
+-commutative85.8%
Simplified85.8%
Taylor expanded in b around 0 67.1%
Taylor expanded in a around inf 60.0%
mul-1-neg60.0%
associate-*r*55.4%
distribute-rgt-neg-in55.4%
*-commutative55.4%
Simplified55.4%
Taylor expanded in b around inf 59.8%
associate-/r*57.4%
Simplified57.4%
if -3e139 < b < -6.5000000000000004e-171Initial program 97.1%
Taylor expanded in b around inf 67.2%
associate-*r/67.2%
metadata-eval67.2%
+-commutative67.2%
Simplified67.2%
Taylor expanded in b around 0 43.7%
if -6.5000000000000004e-171 < b Initial program 93.9%
Taylor expanded in b around inf 65.6%
associate-*r/65.6%
metadata-eval65.6%
+-commutative65.6%
Simplified65.6%
Taylor expanded in b around 0 34.4%
Taylor expanded in x around inf 51.4%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -2.05e+201) (* -0.75 (* t (/ (/ x c) y))) (if (<= b -6.8e-171) (/ x (+ x y)) 1.0)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -2.05e+201) {
tmp = -0.75 * (t * ((x / c) / y));
} else if (b <= -6.8e-171) {
tmp = x / (x + 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 <= (-2.05d+201)) then
tmp = (-0.75d0) * (t * ((x / c) / y))
else if (b <= (-6.8d-171)) then
tmp = x / (x + 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 <= -2.05e+201) {
tmp = -0.75 * (t * ((x / c) / y));
} else if (b <= -6.8e-171) {
tmp = x / (x + y);
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -2.05e+201: tmp = -0.75 * (t * ((x / c) / y)) elif b <= -6.8e-171: tmp = x / (x + y) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -2.05e+201) tmp = Float64(-0.75 * Float64(t * Float64(Float64(x / c) / y))); elseif (b <= -6.8e-171) tmp = Float64(x / Float64(x + 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 <= -2.05e+201) tmp = -0.75 * (t * ((x / c) / y)); elseif (b <= -6.8e-171) tmp = x / (x + y); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.05e+201], N[(-0.75 * N[(t * N[(N[(x / c), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -6.8e-171], N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision], 1.0]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.05 \cdot 10^{+201}:\\
\;\;\;\;-0.75 \cdot \left(t \cdot \frac{\frac{x}{c}}{y}\right)\\
\mathbf{elif}\;b \leq -6.8 \cdot 10^{-171}:\\
\;\;\;\;\frac{x}{x + y}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -2.0500000000000001e201Initial program 85.7%
Taylor expanded in c around inf 44.8%
+-commutative44.8%
associate-*r/44.8%
metadata-eval44.8%
Simplified44.8%
Taylor expanded in c around 0 59.8%
associate-*r*59.8%
+-commutative59.8%
associate-*r/59.8%
metadata-eval59.8%
associate-+r-59.8%
associate-*r*59.8%
Simplified59.8%
Taylor expanded in t around 0 24.5%
associate-/l*34.5%
associate-/r*44.5%
Simplified44.5%
if -2.0500000000000001e201 < b < -6.7999999999999997e-171Initial program 95.1%
Taylor expanded in b around inf 68.9%
associate-*r/68.9%
metadata-eval68.9%
+-commutative68.9%
Simplified68.9%
Taylor expanded in b around 0 42.1%
if -6.7999999999999997e-171 < b Initial program 93.9%
Taylor expanded in b around inf 65.6%
associate-*r/65.6%
metadata-eval65.6%
+-commutative65.6%
Simplified65.6%
Taylor expanded in b around 0 34.4%
Taylor expanded in x around inf 51.4%
(FPCore (x y z t a b c) :precision binary64 (if (<= b -2.35e-170) (/ x (+ x y)) 1.0))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (b <= -2.35e-170) {
tmp = x / (x + 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 <= (-2.35d-170)) then
tmp = x / (x + 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 <= -2.35e-170) {
tmp = x / (x + y);
} else {
tmp = 1.0;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if b <= -2.35e-170: tmp = x / (x + y) else: tmp = 1.0 return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (b <= -2.35e-170) tmp = Float64(x / Float64(x + 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 <= -2.35e-170) tmp = x / (x + y); else tmp = 1.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[b, -2.35e-170], N[(x / N[(x + y), $MachinePrecision]), $MachinePrecision], 1.0]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.35 \cdot 10^{-170}:\\
\;\;\;\;\frac{x}{x + y}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\end{array}
if b < -2.3500000000000001e-170Initial program 92.7%
Taylor expanded in b around inf 74.2%
associate-*r/74.2%
metadata-eval74.2%
+-commutative74.2%
Simplified74.2%
Taylor expanded in b around 0 38.5%
if -2.3500000000000001e-170 < b Initial program 93.9%
Taylor expanded in b around inf 65.6%
associate-*r/65.6%
metadata-eval65.6%
+-commutative65.6%
Simplified65.6%
Taylor expanded in b around 0 34.4%
Taylor expanded in x around inf 51.4%
(FPCore (x y z t a b c) :precision binary64 (if (<= y 1.55e+179) 1.0 (/ x y)))
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (y <= 1.55e+179) {
tmp = 1.0;
} else {
tmp = x / 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 (y <= 1.55d+179) then
tmp = 1.0d0
else
tmp = x / 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 (y <= 1.55e+179) {
tmp = 1.0;
} else {
tmp = x / y;
}
return tmp;
}
def code(x, y, z, t, a, b, c): tmp = 0 if y <= 1.55e+179: tmp = 1.0 else: tmp = x / y return tmp
function code(x, y, z, t, a, b, c) tmp = 0.0 if (y <= 1.55e+179) tmp = 1.0; else tmp = Float64(x / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c) tmp = 0.0; if (y <= 1.55e+179) tmp = 1.0; else tmp = x / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[y, 1.55e+179], 1.0, N[(x / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 1.55 \cdot 10^{+179}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y}\\
\end{array}
\end{array}
if y < 1.55e179Initial program 94.1%
Taylor expanded in b around inf 70.3%
associate-*r/70.3%
metadata-eval70.3%
+-commutative70.3%
Simplified70.3%
Taylor expanded in b around 0 34.8%
Taylor expanded in x around inf 42.7%
if 1.55e179 < y Initial program 85.0%
Taylor expanded in b around inf 56.8%
associate-*r/56.8%
metadata-eval56.8%
+-commutative56.8%
Simplified56.8%
Taylor expanded in b around 0 52.5%
Taylor expanded in x around 0 52.5%
(FPCore (x y z t a b c) :precision binary64 1.0)
double code(double x, double y, double z, double t, double a, double b, double c) {
return 1.0;
}
real(8) function code(x, y, z, t, a, b, c)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
code = 1.0d0
end function
public static double code(double x, double y, double z, double t, double a, double b, double c) {
return 1.0;
}
def code(x, y, z, t, a, b, c): return 1.0
function code(x, y, z, t, a, b, c) return 1.0 end
function tmp = code(x, y, z, t, a, b, c) tmp = 1.0; end
code[x_, y_, z_, t_, a_, b_, c_] := 1.0
\begin{array}{l}
\\
1
\end{array}
Initial program 93.4%
Taylor expanded in b around inf 69.3%
associate-*r/69.3%
metadata-eval69.3%
+-commutative69.3%
Simplified69.3%
Taylor expanded in b around 0 36.1%
Taylor expanded in x around inf 41.1%
(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 2024086
(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)))))))))))