
(FPCore (x y z t a b c i) :precision binary64 (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
code = ((((((((x * y) + z) * y) + 27464.7644705d0) * y) + 230661.510616d0) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
}
def code(x, y, z, t, a, b, c, i): return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
function code(x, y, z, t, a, b, c, i) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)) end
function tmp = code(x, y, z, t, a, b, c, i) tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i); end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision] * y), $MachinePrecision] + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] + 230661.510616), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 16 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i) :precision binary64 (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
code = ((((((((x * y) + z) * y) + 27464.7644705d0) * y) + 230661.510616d0) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
}
def code(x, y, z, t, a, b, c, i): return ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
function code(x, y, z, t, a, b, c, i) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)) end
function tmp = code(x, y, z, t, a, b, c, i) tmp = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i); end
code[x_, y_, z_, t_, a_, b_, c_, i_] := N[(N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision] * y), $MachinePrecision] + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] + 230661.510616), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}
\end{array}
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ i (* y (+ c (* y (+ b (* y (+ y a))))))))
(t_2 (/ t t_1))
(t_3
(/
(+
(* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y)
t)
(+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))))
(if (<= t_3 (- INFINITY))
(+
t_2
(* z (/ (* y (* y y)) (+ i (* y (+ c (* y (+ b (* y (+ a y))))))))))
(if (<= t_3 INFINITY)
(+
t_2
(*
(+ 230661.510616 (* y (+ 27464.7644705 (* y (+ z (* y x))))))
(/ y t_1)))
(+ (+ (/ z y) (/ 27464.7644705 (* y y))) x)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = i + (y * (c + (y * (b + (y * (y + a))))));
double t_2 = t / t_1;
double t_3 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
double tmp;
if (t_3 <= -((double) INFINITY)) {
tmp = t_2 + (z * ((y * (y * y)) / (i + (y * (c + (y * (b + (y * (a + y)))))))));
} else if (t_3 <= ((double) INFINITY)) {
tmp = t_2 + ((230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))) * (y / t_1));
} else {
tmp = ((z / y) + (27464.7644705 / (y * y))) + x;
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = i + (y * (c + (y * (b + (y * (y + a))))));
double t_2 = t / t_1;
double t_3 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
double tmp;
if (t_3 <= -Double.POSITIVE_INFINITY) {
tmp = t_2 + (z * ((y * (y * y)) / (i + (y * (c + (y * (b + (y * (a + y)))))))));
} else if (t_3 <= Double.POSITIVE_INFINITY) {
tmp = t_2 + ((230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))) * (y / t_1));
} else {
tmp = ((z / y) + (27464.7644705 / (y * y))) + x;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = i + (y * (c + (y * (b + (y * (y + a)))))) t_2 = t / t_1 t_3 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i) tmp = 0 if t_3 <= -math.inf: tmp = t_2 + (z * ((y * (y * y)) / (i + (y * (c + (y * (b + (y * (a + y))))))))) elif t_3 <= math.inf: tmp = t_2 + ((230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))) * (y / t_1)) else: tmp = ((z / y) + (27464.7644705 / (y * y))) + x return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a))))))) t_2 = Float64(t / t_1) t_3 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)) tmp = 0.0 if (t_3 <= Float64(-Inf)) tmp = Float64(t_2 + Float64(z * Float64(Float64(y * Float64(y * y)) / Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(a + y)))))))))); elseif (t_3 <= Inf) tmp = Float64(t_2 + Float64(Float64(230661.510616 + Float64(y * Float64(27464.7644705 + Float64(y * Float64(z + Float64(y * x)))))) * Float64(y / t_1))); else tmp = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = i + (y * (c + (y * (b + (y * (y + a)))))); t_2 = t / t_1; t_3 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i); tmp = 0.0; if (t_3 <= -Inf) tmp = t_2 + (z * ((y * (y * y)) / (i + (y * (c + (y * (b + (y * (a + y))))))))); elseif (t_3 <= Inf) tmp = t_2 + ((230661.510616 + (y * (27464.7644705 + (y * (z + (y * x)))))) * (y / t_1)); else tmp = ((z / y) + (27464.7644705 / (y * y))) + x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t / t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision] * y), $MachinePrecision] + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] + 230661.510616), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, (-Infinity)], N[(t$95$2 + N[(z * N[(N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(a + y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, Infinity], N[(t$95$2 + N[(N[(230661.510616 + N[(y * N[(27464.7644705 + N[(y * N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(y / t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)\\
t_2 := \frac{t}{t\_1}\\
t_3 := \frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\
\mathbf{if}\;t\_3 \leq -\infty:\\
\;\;\;\;t\_2 + z \cdot \frac{y \cdot \left(y \cdot y\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\\
\mathbf{elif}\;t\_3 \leq \infty:\\
\;\;\;\;t\_2 + \left(230661.510616 + y \cdot \left(27464.7644705 + y \cdot \left(z + y \cdot x\right)\right)\right) \cdot \frac{y}{t\_1}\\
\mathbf{else}:\\
\;\;\;\;\left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < -inf.0Initial program 21.9%
Taylor expanded in t around 0 0
Simplified0
Taylor expanded in z around inf 0
Simplified0
Taylor expanded in z around inf 0
Simplified0
if -inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 94.9%
Taylor expanded in t around 0 0
Simplified0
Applied egg-rr0
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1
(/
(+
(* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y)
t)
(+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))))
(if (<= t_1 (- INFINITY))
(+
(/ t (+ i (* y (+ c (* y (+ b (* y (+ y a))))))))
(* z (/ (* y (* y y)) (+ i (* y (+ c (* y (+ b (* y (+ a y))))))))))
(if (<= t_1 INFINITY) t_1 (+ (+ (/ z y) (/ 27464.7644705 (* y y))) x)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
double tmp;
if (t_1 <= -((double) INFINITY)) {
tmp = (t / (i + (y * (c + (y * (b + (y * (y + a)))))))) + (z * ((y * (y * y)) / (i + (y * (c + (y * (b + (y * (a + y)))))))));
} else if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = ((z / y) + (27464.7644705 / (y * y))) + x;
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
double tmp;
if (t_1 <= -Double.POSITIVE_INFINITY) {
tmp = (t / (i + (y * (c + (y * (b + (y * (y + a)))))))) + (z * ((y * (y * y)) / (i + (y * (c + (y * (b + (y * (a + y)))))))));
} else if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = ((z / y) + (27464.7644705 / (y * y))) + x;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i) tmp = 0 if t_1 <= -math.inf: tmp = (t / (i + (y * (c + (y * (b + (y * (y + a)))))))) + (z * ((y * (y * y)) / (i + (y * (c + (y * (b + (y * (a + y))))))))) elif t_1 <= math.inf: tmp = t_1 else: tmp = ((z / y) + (27464.7644705 / (y * y))) + x return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)) tmp = 0.0 if (t_1 <= Float64(-Inf)) tmp = Float64(Float64(t / Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(y + a)))))))) + Float64(z * Float64(Float64(y * Float64(y * y)) / Float64(i + Float64(y * Float64(c + Float64(y * Float64(b + Float64(y * Float64(a + y)))))))))); elseif (t_1 <= Inf) tmp = t_1; else tmp = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i); tmp = 0.0; if (t_1 <= -Inf) tmp = (t / (i + (y * (c + (y * (b + (y * (y + a)))))))) + (z * ((y * (y * y)) / (i + (y * (c + (y * (b + (y * (a + y))))))))); elseif (t_1 <= Inf) tmp = t_1; else tmp = ((z / y) + (27464.7644705 / (y * y))) + x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision] * y), $MachinePrecision] + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] + 230661.510616), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, (-Infinity)], N[(N[(t / N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(y + a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(y * N[(c + N[(y * N[(b + N[(y * N[(a + y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, Infinity], t$95$1, N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\
\mathbf{if}\;t\_1 \leq -\infty:\\
\;\;\;\;\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(y + a\right)\right)\right)} + z \cdot \frac{y \cdot \left(y \cdot y\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\\
\mathbf{elif}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < -inf.0Initial program 21.9%
Taylor expanded in t around 0 0
Simplified0
Taylor expanded in z around inf 0
Simplified0
Taylor expanded in z around inf 0
Simplified0
if -inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 94.9%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1
(/
(+
(* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y)
t)
(+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))))
(if (<= t_1 INFINITY) t_1 (+ (+ (/ z y) (/ 27464.7644705 (* y y))) x))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = ((z / y) + (27464.7644705 / (y * y))) + x;
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = ((z / y) + (27464.7644705 / (y * y))) + x;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = ((z / y) + (27464.7644705 / (y * y))) + x return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = ((((((((x * y) + z) * y) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = ((z / y) + (27464.7644705 / (y * y))) + x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision] * y), $MachinePrecision] + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] + 230661.510616), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
\end{array}
\end{array}
if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < +inf.0Initial program 90.2%
if +inf.0 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) Initial program 0.0%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ (+ (/ z y) (/ 27464.7644705 (* y y))) x)))
(if (<= y -6.5e+61)
t_1
(if (<= y 2.8e+16)
(/
(+ (* (+ (* (+ (* y (* y x)) 27464.7644705) y) 230661.510616) y) t)
(+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))
t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -6.5e+61) {
tmp = t_1;
} else if (y <= 2.8e+16) {
tmp = ((((((y * (y * x)) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = ((z / y) + (27464.7644705d0 / (y * y))) + x
if (y <= (-6.5d+61)) then
tmp = t_1
else if (y <= 2.8d+16) then
tmp = ((((((y * (y * x)) + 27464.7644705d0) * y) + 230661.510616d0) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
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 i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -6.5e+61) {
tmp = t_1;
} else if (y <= 2.8e+16) {
tmp = ((((((y * (y * x)) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = ((z / y) + (27464.7644705 / (y * y))) + x tmp = 0 if y <= -6.5e+61: tmp = t_1 elif y <= 2.8e+16: tmp = ((((((y * (y * x)) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x) tmp = 0.0 if (y <= -6.5e+61) tmp = t_1; elseif (y <= 2.8e+16) tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(y * Float64(y * x)) + 27464.7644705) * y) + 230661.510616) * y) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = ((z / y) + (27464.7644705 / (y * y))) + x; tmp = 0.0; if (y <= -6.5e+61) tmp = t_1; elseif (y <= 2.8e+16) tmp = ((((((y * (y * x)) + 27464.7644705) * y) + 230661.510616) * y) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -6.5e+61], t$95$1, If[LessEqual[y, 2.8e+16], N[(N[(N[(N[(N[(N[(N[(y * N[(y * x), $MachinePrecision]), $MachinePrecision] + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] + 230661.510616), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
\mathbf{if}\;y \leq -6.5 \cdot 10^{+61}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 2.8 \cdot 10^{+16}:\\
\;\;\;\;\frac{\left(\left(y \cdot \left(y \cdot x\right) + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -6.4999999999999996e61 or 2.8e16 < y Initial program 3.5%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
if -6.4999999999999996e61 < y < 2.8e16Initial program 95.4%
Taylor expanded in x around inf 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ (+ (/ z y) (/ 27464.7644705 (* y y))) x)))
(if (<= y -1.04e+29)
t_1
(if (<= y 1.25e+52)
(/
(+ (/ y (/ 1.0 (+ (* (* y y) z) 230661.510616))) t)
(+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))
t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -1.04e+29) {
tmp = t_1;
} else if (y <= 1.25e+52) {
tmp = ((y / (1.0 / (((y * y) * z) + 230661.510616))) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = ((z / y) + (27464.7644705d0 / (y * y))) + x
if (y <= (-1.04d+29)) then
tmp = t_1
else if (y <= 1.25d+52) then
tmp = ((y / (1.0d0 / (((y * y) * z) + 230661.510616d0))) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
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 i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -1.04e+29) {
tmp = t_1;
} else if (y <= 1.25e+52) {
tmp = ((y / (1.0 / (((y * y) * z) + 230661.510616))) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = ((z / y) + (27464.7644705 / (y * y))) + x tmp = 0 if y <= -1.04e+29: tmp = t_1 elif y <= 1.25e+52: tmp = ((y / (1.0 / (((y * y) * z) + 230661.510616))) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x) tmp = 0.0 if (y <= -1.04e+29) tmp = t_1; elseif (y <= 1.25e+52) tmp = Float64(Float64(Float64(y / Float64(1.0 / Float64(Float64(Float64(y * y) * z) + 230661.510616))) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = ((z / y) + (27464.7644705 / (y * y))) + x; tmp = 0.0; if (y <= -1.04e+29) tmp = t_1; elseif (y <= 1.25e+52) tmp = ((y / (1.0 / (((y * y) * z) + 230661.510616))) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -1.04e+29], t$95$1, If[LessEqual[y, 1.25e+52], N[(N[(N[(y / N[(1.0 / N[(N[(N[(y * y), $MachinePrecision] * z), $MachinePrecision] + 230661.510616), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
\mathbf{if}\;y \leq -1.04 \cdot 10^{+29}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 1.25 \cdot 10^{+52}:\\
\;\;\;\;\frac{\frac{y}{\frac{1}{\left(y \cdot y\right) \cdot z + 230661.510616}} + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.0400000000000001e29 or 1.25e52 < y Initial program 7.3%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
if -1.0400000000000001e29 < y < 1.25e52Initial program 95.3%
Applied egg-rr0
Taylor expanded in z around inf 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ (+ (/ z y) (/ 27464.7644705 (* y y))) x))
(t_2 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))
(if (<= y -6.2e+60)
t_1
(if (<= y -5.4e-46)
(/ (+ (* (* x (* y (* y y))) y) t) t_2)
(if (<= y 2.4e+16) (/ (+ (* y 230661.510616) t) t_2) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double t_2 = ((((((y + a) * y) + b) * y) + c) * y) + i;
double tmp;
if (y <= -6.2e+60) {
tmp = t_1;
} else if (y <= -5.4e-46) {
tmp = (((x * (y * (y * y))) * y) + t) / t_2;
} else if (y <= 2.4e+16) {
tmp = ((y * 230661.510616) + t) / t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = ((z / y) + (27464.7644705d0 / (y * y))) + x
t_2 = ((((((y + a) * y) + b) * y) + c) * y) + i
if (y <= (-6.2d+60)) then
tmp = t_1
else if (y <= (-5.4d-46)) then
tmp = (((x * (y * (y * y))) * y) + t) / t_2
else if (y <= 2.4d+16) then
tmp = ((y * 230661.510616d0) + t) / t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double t_2 = ((((((y + a) * y) + b) * y) + c) * y) + i;
double tmp;
if (y <= -6.2e+60) {
tmp = t_1;
} else if (y <= -5.4e-46) {
tmp = (((x * (y * (y * y))) * y) + t) / t_2;
} else if (y <= 2.4e+16) {
tmp = ((y * 230661.510616) + t) / t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = ((z / y) + (27464.7644705 / (y * y))) + x t_2 = ((((((y + a) * y) + b) * y) + c) * y) + i tmp = 0 if y <= -6.2e+60: tmp = t_1 elif y <= -5.4e-46: tmp = (((x * (y * (y * y))) * y) + t) / t_2 elif y <= 2.4e+16: tmp = ((y * 230661.510616) + t) / t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x) t_2 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i) tmp = 0.0 if (y <= -6.2e+60) tmp = t_1; elseif (y <= -5.4e-46) tmp = Float64(Float64(Float64(Float64(x * Float64(y * Float64(y * y))) * y) + t) / t_2); elseif (y <= 2.4e+16) tmp = Float64(Float64(Float64(y * 230661.510616) + t) / t_2); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = ((z / y) + (27464.7644705 / (y * y))) + x; t_2 = ((((((y + a) * y) + b) * y) + c) * y) + i; tmp = 0.0; if (y <= -6.2e+60) tmp = t_1; elseif (y <= -5.4e-46) tmp = (((x * (y * (y * y))) * y) + t) / t_2; elseif (y <= 2.4e+16) tmp = ((y * 230661.510616) + t) / t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]}, If[LessEqual[y, -6.2e+60], t$95$1, If[LessEqual[y, -5.4e-46], N[(N[(N[(N[(x * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] + t), $MachinePrecision] / t$95$2), $MachinePrecision], If[LessEqual[y, 2.4e+16], N[(N[(N[(y * 230661.510616), $MachinePrecision] + t), $MachinePrecision] / t$95$2), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
t_2 := \left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\\
\mathbf{if}\;y \leq -6.2 \cdot 10^{+60}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -5.4 \cdot 10^{-46}:\\
\;\;\;\;\frac{\left(x \cdot \left(y \cdot \left(y \cdot y\right)\right)\right) \cdot y + t}{t\_2}\\
\mathbf{elif}\;y \leq 2.4 \cdot 10^{+16}:\\
\;\;\;\;\frac{y \cdot 230661.510616 + t}{t\_2}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -6.2000000000000001e60 or 2.4e16 < y Initial program 3.5%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
if -6.2000000000000001e60 < y < -5.4e-46Initial program 77.4%
Taylor expanded in x around inf 0
Simplified0
if -5.4e-46 < y < 2.4e16Initial program 99.0%
Taylor expanded in y around 0 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ (+ (/ z y) (/ 27464.7644705 (* y y))) x)))
(if (<= y -5.5e+24)
t_1
(if (<= y 2.7e+16)
(/
(+ (* y 230661.510616) t)
(+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))
t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -5.5e+24) {
tmp = t_1;
} else if (y <= 2.7e+16) {
tmp = ((y * 230661.510616) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = ((z / y) + (27464.7644705d0 / (y * y))) + x
if (y <= (-5.5d+24)) then
tmp = t_1
else if (y <= 2.7d+16) then
tmp = ((y * 230661.510616d0) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i)
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 i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -5.5e+24) {
tmp = t_1;
} else if (y <= 2.7e+16) {
tmp = ((y * 230661.510616) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = ((z / y) + (27464.7644705 / (y * y))) + x tmp = 0 if y <= -5.5e+24: tmp = t_1 elif y <= 2.7e+16: tmp = ((y * 230661.510616) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x) tmp = 0.0 if (y <= -5.5e+24) tmp = t_1; elseif (y <= 2.7e+16) tmp = Float64(Float64(Float64(y * 230661.510616) + t) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(y + a) * y) + b) * y) + c) * y) + i)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = ((z / y) + (27464.7644705 / (y * y))) + x; tmp = 0.0; if (y <= -5.5e+24) tmp = t_1; elseif (y <= 2.7e+16) tmp = ((y * 230661.510616) + t) / (((((((y + a) * y) + b) * y) + c) * y) + i); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -5.5e+24], t$95$1, If[LessEqual[y, 2.7e+16], N[(N[(N[(y * 230661.510616), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(y + a), $MachinePrecision] * y), $MachinePrecision] + b), $MachinePrecision] * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
\mathbf{if}\;y \leq -5.5 \cdot 10^{+24}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 2.7 \cdot 10^{+16}:\\
\;\;\;\;\frac{y \cdot 230661.510616 + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -5.5000000000000002e24 or 2.7e16 < y Initial program 7.1%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
if -5.5000000000000002e24 < y < 2.7e16Initial program 97.2%
Taylor expanded in y around 0 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ (+ (/ z y) (/ 27464.7644705 (* y y))) x)))
(if (<= y -7.1e+24)
t_1
(if (<= y 1.8e+16)
(/ (+ (* y 230661.510616) t) (+ (* (+ (* b y) c) y) i))
t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -7.1e+24) {
tmp = t_1;
} else if (y <= 1.8e+16) {
tmp = ((y * 230661.510616) + t) / ((((b * y) + c) * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = ((z / y) + (27464.7644705d0 / (y * y))) + x
if (y <= (-7.1d+24)) then
tmp = t_1
else if (y <= 1.8d+16) then
tmp = ((y * 230661.510616d0) + t) / ((((b * y) + c) * y) + i)
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 i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -7.1e+24) {
tmp = t_1;
} else if (y <= 1.8e+16) {
tmp = ((y * 230661.510616) + t) / ((((b * y) + c) * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = ((z / y) + (27464.7644705 / (y * y))) + x tmp = 0 if y <= -7.1e+24: tmp = t_1 elif y <= 1.8e+16: tmp = ((y * 230661.510616) + t) / ((((b * y) + c) * y) + i) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x) tmp = 0.0 if (y <= -7.1e+24) tmp = t_1; elseif (y <= 1.8e+16) tmp = Float64(Float64(Float64(y * 230661.510616) + t) / Float64(Float64(Float64(Float64(b * y) + c) * y) + i)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = ((z / y) + (27464.7644705 / (y * y))) + x; tmp = 0.0; if (y <= -7.1e+24) tmp = t_1; elseif (y <= 1.8e+16) tmp = ((y * 230661.510616) + t) / ((((b * y) + c) * y) + i); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -7.1e+24], t$95$1, If[LessEqual[y, 1.8e+16], N[(N[(N[(y * 230661.510616), $MachinePrecision] + t), $MachinePrecision] / N[(N[(N[(N[(b * y), $MachinePrecision] + c), $MachinePrecision] * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
\mathbf{if}\;y \leq -7.1 \cdot 10^{+24}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 1.8 \cdot 10^{+16}:\\
\;\;\;\;\frac{y \cdot 230661.510616 + t}{\left(b \cdot y + c\right) \cdot y + i}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -7.09999999999999951e24 or 1.8e16 < y Initial program 7.1%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
if -7.09999999999999951e24 < y < 1.8e16Initial program 97.2%
Taylor expanded in y around 0 0
Simplified0
Taylor expanded in y around 0 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ (+ (/ z y) (/ 27464.7644705 (* y y))) x)))
(if (<= y -4.8e+21)
t_1
(if (<= y 70000000000000.0)
(/ (+ (* y 230661.510616) t) (+ (* c y) i))
t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -4.8e+21) {
tmp = t_1;
} else if (y <= 70000000000000.0) {
tmp = ((y * 230661.510616) + t) / ((c * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = ((z / y) + (27464.7644705d0 / (y * y))) + x
if (y <= (-4.8d+21)) then
tmp = t_1
else if (y <= 70000000000000.0d0) then
tmp = ((y * 230661.510616d0) + t) / ((c * y) + i)
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 i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -4.8e+21) {
tmp = t_1;
} else if (y <= 70000000000000.0) {
tmp = ((y * 230661.510616) + t) / ((c * y) + i);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = ((z / y) + (27464.7644705 / (y * y))) + x tmp = 0 if y <= -4.8e+21: tmp = t_1 elif y <= 70000000000000.0: tmp = ((y * 230661.510616) + t) / ((c * y) + i) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x) tmp = 0.0 if (y <= -4.8e+21) tmp = t_1; elseif (y <= 70000000000000.0) tmp = Float64(Float64(Float64(y * 230661.510616) + t) / Float64(Float64(c * y) + i)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = ((z / y) + (27464.7644705 / (y * y))) + x; tmp = 0.0; if (y <= -4.8e+21) tmp = t_1; elseif (y <= 70000000000000.0) tmp = ((y * 230661.510616) + t) / ((c * y) + i); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -4.8e+21], t$95$1, If[LessEqual[y, 70000000000000.0], N[(N[(N[(y * 230661.510616), $MachinePrecision] + t), $MachinePrecision] / N[(N[(c * y), $MachinePrecision] + i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
\mathbf{if}\;y \leq -4.8 \cdot 10^{+21}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 70000000000000:\\
\;\;\;\;\frac{y \cdot 230661.510616 + t}{c \cdot y + i}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -4.8e21 or 7e13 < y Initial program 9.6%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
if -4.8e21 < y < 7e13Initial program 97.1%
Taylor expanded in y around 0 0
Simplified0
Taylor expanded in y around 0 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ (+ (/ z y) (/ 27464.7644705 (* y y))) x)))
(if (<= y -1.06e+40)
t_1
(if (<= y 24000000000000.0)
(/ (+ t (* y (+ 230661.510616 (* 27464.7644705 y)))) i)
t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -1.06e+40) {
tmp = t_1;
} else if (y <= 24000000000000.0) {
tmp = (t + (y * (230661.510616 + (27464.7644705 * y)))) / i;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = ((z / y) + (27464.7644705d0 / (y * y))) + x
if (y <= (-1.06d+40)) then
tmp = t_1
else if (y <= 24000000000000.0d0) then
tmp = (t + (y * (230661.510616d0 + (27464.7644705d0 * y)))) / i
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 i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -1.06e+40) {
tmp = t_1;
} else if (y <= 24000000000000.0) {
tmp = (t + (y * (230661.510616 + (27464.7644705 * y)))) / i;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = ((z / y) + (27464.7644705 / (y * y))) + x tmp = 0 if y <= -1.06e+40: tmp = t_1 elif y <= 24000000000000.0: tmp = (t + (y * (230661.510616 + (27464.7644705 * y)))) / i else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x) tmp = 0.0 if (y <= -1.06e+40) tmp = t_1; elseif (y <= 24000000000000.0) tmp = Float64(Float64(t + Float64(y * Float64(230661.510616 + Float64(27464.7644705 * y)))) / i); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = ((z / y) + (27464.7644705 / (y * y))) + x; tmp = 0.0; if (y <= -1.06e+40) tmp = t_1; elseif (y <= 24000000000000.0) tmp = (t + (y * (230661.510616 + (27464.7644705 * y)))) / i; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -1.06e+40], t$95$1, If[LessEqual[y, 24000000000000.0], N[(N[(t + N[(y * N[(230661.510616 + N[(27464.7644705 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / i), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
\mathbf{if}\;y \leq -1.06 \cdot 10^{+40}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 24000000000000:\\
\;\;\;\;\frac{t + y \cdot \left(230661.510616 + 27464.7644705 \cdot y\right)}{i}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.05999999999999996e40 or 2.4e13 < y Initial program 5.4%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
if -1.05999999999999996e40 < y < 2.4e13Initial program 96.6%
Taylor expanded in y around 0 0
Simplified0
Taylor expanded in i around inf 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ (+ (/ z y) (/ 27464.7644705 (* y y))) x)))
(if (<= y -1.05e+29)
t_1
(if (<= y 7000000000000.0) (+ (/ (* 230661.510616 y) i) (/ t i)) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -1.05e+29) {
tmp = t_1;
} else if (y <= 7000000000000.0) {
tmp = ((230661.510616 * y) / i) + (t / i);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = ((z / y) + (27464.7644705d0 / (y * y))) + x
if (y <= (-1.05d+29)) then
tmp = t_1
else if (y <= 7000000000000.0d0) then
tmp = ((230661.510616d0 * y) / i) + (t / i)
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 i) {
double t_1 = ((z / y) + (27464.7644705 / (y * y))) + x;
double tmp;
if (y <= -1.05e+29) {
tmp = t_1;
} else if (y <= 7000000000000.0) {
tmp = ((230661.510616 * y) / i) + (t / i);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = ((z / y) + (27464.7644705 / (y * y))) + x tmp = 0 if y <= -1.05e+29: tmp = t_1 elif y <= 7000000000000.0: tmp = ((230661.510616 * y) / i) + (t / i) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(Float64(Float64(z / y) + Float64(27464.7644705 / Float64(y * y))) + x) tmp = 0.0 if (y <= -1.05e+29) tmp = t_1; elseif (y <= 7000000000000.0) tmp = Float64(Float64(Float64(230661.510616 * y) / i) + Float64(t / i)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = ((z / y) + (27464.7644705 / (y * y))) + x; tmp = 0.0; if (y <= -1.05e+29) tmp = t_1; elseif (y <= 7000000000000.0) tmp = ((230661.510616 * y) / i) + (t / i); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(z / y), $MachinePrecision] + N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -1.05e+29], t$95$1, If[LessEqual[y, 7000000000000.0], N[(N[(N[(230661.510616 * y), $MachinePrecision] / i), $MachinePrecision] + N[(t / i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\frac{z}{y} + \frac{27464.7644705}{y \cdot y}\right) + x\\
\mathbf{if}\;y \leq -1.05 \cdot 10^{+29}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 7000000000000:\\
\;\;\;\;\frac{230661.510616 \cdot y}{i} + \frac{t}{i}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -1.0500000000000001e29 or 7e12 < y Initial program 7.1%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
if -1.0500000000000001e29 < y < 7e12Initial program 96.6%
Taylor expanded in t around 0 0
Simplified0
Taylor expanded in i around inf 0
Simplified0
Taylor expanded in y around 0 0
Simplified0
(FPCore (x y z t a b c i)
:precision binary64
(let* ((t_1 (+ x (- (/ z y) (/ (* a x) y)))))
(if (<= y -8.5e+19)
t_1
(if (<= y 2.5e+15) (+ (/ (* 230661.510616 y) i) (/ t i)) t_1))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double t_1 = x + ((z / y) - ((a * x) / y));
double tmp;
if (y <= -8.5e+19) {
tmp = t_1;
} else if (y <= 2.5e+15) {
tmp = ((230661.510616 * y) / i) + (t / i);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: t_1
real(8) :: tmp
t_1 = x + ((z / y) - ((a * x) / y))
if (y <= (-8.5d+19)) then
tmp = t_1
else if (y <= 2.5d+15) then
tmp = ((230661.510616d0 * y) / i) + (t / i)
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 i) {
double t_1 = x + ((z / y) - ((a * x) / y));
double tmp;
if (y <= -8.5e+19) {
tmp = t_1;
} else if (y <= 2.5e+15) {
tmp = ((230661.510616 * y) / i) + (t / i);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): t_1 = x + ((z / y) - ((a * x) / y)) tmp = 0 if y <= -8.5e+19: tmp = t_1 elif y <= 2.5e+15: tmp = ((230661.510616 * y) / i) + (t / i) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i) t_1 = Float64(x + Float64(Float64(z / y) - Float64(Float64(a * x) / y))) tmp = 0.0 if (y <= -8.5e+19) tmp = t_1; elseif (y <= 2.5e+15) tmp = Float64(Float64(Float64(230661.510616 * y) / i) + Float64(t / i)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) t_1 = x + ((z / y) - ((a * x) / y)); tmp = 0.0; if (y <= -8.5e+19) tmp = t_1; elseif (y <= 2.5e+15) tmp = ((230661.510616 * y) / i) + (t / i); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(x + N[(N[(z / y), $MachinePrecision] - N[(N[(a * x), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -8.5e+19], t$95$1, If[LessEqual[y, 2.5e+15], N[(N[(N[(230661.510616 * y), $MachinePrecision] / i), $MachinePrecision] + N[(t / i), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \left(\frac{z}{y} - \frac{a \cdot x}{y}\right)\\
\mathbf{if}\;y \leq -8.5 \cdot 10^{+19}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 2.5 \cdot 10^{+15}:\\
\;\;\;\;\frac{230661.510616 \cdot y}{i} + \frac{t}{i}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -8.5e19 or 2.5e15 < y Initial program 10.4%
Taylor expanded in y around inf 0
Simplified0
if -8.5e19 < y < 2.5e15Initial program 97.8%
Taylor expanded in t around 0 0
Simplified0
Taylor expanded in i around inf 0
Simplified0
Taylor expanded in y around 0 0
Simplified0
(FPCore (x y z t a b c i) :precision binary64 (if (<= y -2.4e-28) x (if (<= y 8.2e+15) (+ (/ (* 230661.510616 y) i) (/ t i)) x)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (y <= -2.4e-28) {
tmp = x;
} else if (y <= 8.2e+15) {
tmp = ((230661.510616 * y) / i) + (t / i);
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: tmp
if (y <= (-2.4d-28)) then
tmp = x
else if (y <= 8.2d+15) then
tmp = ((230661.510616d0 * y) / i) + (t / i)
else
tmp = x
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 i) {
double tmp;
if (y <= -2.4e-28) {
tmp = x;
} else if (y <= 8.2e+15) {
tmp = ((230661.510616 * y) / i) + (t / i);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if y <= -2.4e-28: tmp = x elif y <= 8.2e+15: tmp = ((230661.510616 * y) / i) + (t / i) else: tmp = x return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (y <= -2.4e-28) tmp = x; elseif (y <= 8.2e+15) tmp = Float64(Float64(Float64(230661.510616 * y) / i) + Float64(t / i)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (y <= -2.4e-28) tmp = x; elseif (y <= 8.2e+15) tmp = ((230661.510616 * y) / i) + (t / i); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[y, -2.4e-28], x, If[LessEqual[y, 8.2e+15], N[(N[(N[(230661.510616 * y), $MachinePrecision] / i), $MachinePrecision] + N[(t / i), $MachinePrecision]), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.4 \cdot 10^{-28}:\\
\;\;\;\;x\\
\mathbf{elif}\;y \leq 8.2 \cdot 10^{+15}:\\
\;\;\;\;\frac{230661.510616 \cdot y}{i} + \frac{t}{i}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -2.4000000000000002e-28 or 8.2e15 < y Initial program 16.9%
Taylor expanded in y around inf 0
Simplified0
if -2.4000000000000002e-28 < y < 8.2e15Initial program 99.0%
Taylor expanded in t around 0 0
Simplified0
Taylor expanded in i around inf 0
Simplified0
Taylor expanded in y around 0 0
Simplified0
(FPCore (x y z t a b c i) :precision binary64 (if (<= y -2.4e-28) x (if (<= y 1.3e+14) (/ (+ (* y 230661.510616) t) i) x)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (y <= -2.4e-28) {
tmp = x;
} else if (y <= 1.3e+14) {
tmp = ((y * 230661.510616) + t) / i;
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: tmp
if (y <= (-2.4d-28)) then
tmp = x
else if (y <= 1.3d+14) then
tmp = ((y * 230661.510616d0) + t) / i
else
tmp = x
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 i) {
double tmp;
if (y <= -2.4e-28) {
tmp = x;
} else if (y <= 1.3e+14) {
tmp = ((y * 230661.510616) + t) / i;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if y <= -2.4e-28: tmp = x elif y <= 1.3e+14: tmp = ((y * 230661.510616) + t) / i else: tmp = x return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (y <= -2.4e-28) tmp = x; elseif (y <= 1.3e+14) tmp = Float64(Float64(Float64(y * 230661.510616) + t) / i); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (y <= -2.4e-28) tmp = x; elseif (y <= 1.3e+14) tmp = ((y * 230661.510616) + t) / i; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[y, -2.4e-28], x, If[LessEqual[y, 1.3e+14], N[(N[(N[(y * 230661.510616), $MachinePrecision] + t), $MachinePrecision] / i), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.4 \cdot 10^{-28}:\\
\;\;\;\;x\\
\mathbf{elif}\;y \leq 1.3 \cdot 10^{+14}:\\
\;\;\;\;\frac{y \cdot 230661.510616 + t}{i}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -2.4000000000000002e-28 or 1.3e14 < y Initial program 16.9%
Taylor expanded in y around inf 0
Simplified0
if -2.4000000000000002e-28 < y < 1.3e14Initial program 99.0%
Taylor expanded in y around 0 0
Simplified0
Taylor expanded in y around 0 0
Simplified0
(FPCore (x y z t a b c i) :precision binary64 (if (<= y -1.35e-7) x (if (<= y 2.4e+15) (/ t i) x)))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
double tmp;
if (y <= -1.35e-7) {
tmp = x;
} else if (y <= 2.4e+15) {
tmp = t / i;
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
real(8) :: tmp
if (y <= (-1.35d-7)) then
tmp = x
else if (y <= 2.4d+15) then
tmp = t / i
else
tmp = x
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 i) {
double tmp;
if (y <= -1.35e-7) {
tmp = x;
} else if (y <= 2.4e+15) {
tmp = t / i;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i): tmp = 0 if y <= -1.35e-7: tmp = x elif y <= 2.4e+15: tmp = t / i else: tmp = x return tmp
function code(x, y, z, t, a, b, c, i) tmp = 0.0 if (y <= -1.35e-7) tmp = x; elseif (y <= 2.4e+15) tmp = Float64(t / i); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i) tmp = 0.0; if (y <= -1.35e-7) tmp = x; elseif (y <= 2.4e+15) tmp = t / i; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[y, -1.35e-7], x, If[LessEqual[y, 2.4e+15], N[(t / i), $MachinePrecision], x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.35 \cdot 10^{-7}:\\
\;\;\;\;x\\
\mathbf{elif}\;y \leq 2.4 \cdot 10^{+15}:\\
\;\;\;\;\frac{t}{i}\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -1.35000000000000004e-7 or 2.4e15 < y Initial program 14.8%
Taylor expanded in y around inf 0
Simplified0
if -1.35000000000000004e-7 < y < 2.4e15Initial program 99.0%
Taylor expanded in y around 0 0
Simplified0
(FPCore (x y z t a b c i) :precision binary64 x)
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return x;
}
real(8) function code(x, y, z, t, a, b, c, i)
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), intent (in) :: i
code = x
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return x;
}
def code(x, y, z, t, a, b, c, i): return x
function code(x, y, z, t, a, b, c, i) return x end
function tmp = code(x, y, z, t, a, b, c, i) tmp = x; end
code[x_, y_, z_, t_, a_, b_, c_, i_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 59.9%
Taylor expanded in y around inf 0
Simplified0
herbie shell --seed 2024110
(FPCore (x y z t a b c i)
:name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2"
:precision binary64
(/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))