
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 32 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(+
(+
(+
(+
(-
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* x j) (* z k))))
(* (- (* c y0) (* a y1)) (- (* x y2) (* z y3))))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_1 INFINITY) t_1 (* b (* x (* y0 (- (* a (/ y y0)) j)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = b * (x * (y0 * ((a * (y / y0)) - j)));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = b * (x * (y0 * ((a * (y / y0)) - j)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = b * (x * (y0 * ((a * (y / y0)) - j))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) - Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(x * j) - Float64(z * k)))) + Float64(Float64(Float64(c * y0) - Float64(a * y1)) * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(b * Float64(x * Float64(y0 * Float64(Float64(a * Float64(y / y0)) - j)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = b * (x * (y0 * ((a * (y / y0)) - j))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(b * N[(x * N[(y0 * N[(N[(a * N[(y / y0), $MachinePrecision]), $MachinePrecision] - j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) - \left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right)\right) + \left(c \cdot y0 - a \cdot y1\right) \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y0 \cdot \left(a \cdot \frac{y}{y0} - j\right)\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 93.6%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
Taylor expanded in x around inf 21.2%
Taylor expanded in b around inf 38.2%
Taylor expanded in y0 around inf 40.5%
associate-/l*39.9%
Simplified39.9%
Final simplification58.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y0 y5) (* y1 y4))))
(if (<= x -6.3e+162)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -3.3e-57)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* j t_1) (* z (- (* a y1) (* c y0))))))
(if (<= x 2.05e-178)
(*
k
(-
(* z (- (* b y0) (* i y1)))
(+ (* y (- (* b y4) (* i y5))) (* y2 t_1))))
(if (<= x 1.4e+103)
(+
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j))))))
(* i (* x (- (* j y1) (* y c))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y5) - (y1 * y4);
double tmp;
if (x <= -6.3e+162) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -3.3e-57) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_1) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 2.05e-178) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1)));
} else if (x <= 1.4e+103) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (y0 * y5) - (y1 * y4)
if (x <= (-6.3d+162)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-3.3d-57)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_1) + (z * ((a * y1) - (c * y0)))))
else if (x <= 2.05d-178) then
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1)))
else if (x <= 1.4d+103) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))))
else
tmp = i * (x * ((j * y1) - (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y5) - (y1 * y4);
double tmp;
if (x <= -6.3e+162) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -3.3e-57) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_1) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 2.05e-178) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1)));
} else if (x <= 1.4e+103) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y0 * y5) - (y1 * y4) tmp = 0 if x <= -6.3e+162: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -3.3e-57: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_1) + (z * ((a * y1) - (c * y0))))) elif x <= 2.05e-178: tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1))) elif x <= 1.4e+103: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) tmp = 0.0 if (x <= -6.3e+162) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -3.3e-57) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * t_1) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))); elseif (x <= 2.05e-178) tmp = Float64(k * Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(y * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * t_1)))); elseif (x <= 1.4e+103) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y0 * y5) - (y1 * y4); tmp = 0.0; if (x <= -6.3e+162) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -3.3e-57) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_1) + (z * ((a * y1) - (c * y0))))); elseif (x <= 2.05e-178) tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1))); elseif (x <= 1.4e+103) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -6.3e+162], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3.3e-57], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * t$95$1), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.05e-178], N[(k * N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.4e+103], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot y5 - y1 \cdot y4\\
\mathbf{if}\;x \leq -6.3 \cdot 10^{+162}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -3.3 \cdot 10^{-57}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot t\_1 + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{elif}\;x \leq 2.05 \cdot 10^{-178}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(y \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot t\_1\right)\right)\\
\mathbf{elif}\;x \leq 1.4 \cdot 10^{+103}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -6.3000000000000001e162Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -6.3000000000000001e162 < x < -3.2999999999999998e-57Initial program 32.6%
Taylor expanded in y3 around -inf 51.4%
if -3.2999999999999998e-57 < x < 2.05e-178Initial program 33.6%
Taylor expanded in k around inf 45.7%
if 2.05e-178 < x < 1.40000000000000004e103Initial program 41.4%
Taylor expanded in b around inf 54.9%
if 1.40000000000000004e103 < x Initial program 26.8%
Taylor expanded in x around inf 44.0%
Taylor expanded in i around -inf 66.5%
mul-1-neg66.5%
Simplified66.5%
Final simplification56.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y a) (* j y0)))
(t_2 (- (* y1 y4) (* y0 y5)))
(t_3
(*
y2
(+
(+ (* k t_2) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4))))))
(t_4 (* (- (* k y2) (* j y3)) t_2))
(t_5 (+ t_4 (* x (* b t_1)))))
(if (<= x -4.65e+167)
(* b (* x t_1))
(if (<= x -1.65e+66)
t_3
(if (<= x -2.2e-104)
t_5
(if (<= x -2.4e-154)
t_3
(if (<= x 3e-15)
(- t_4 (* i (* k (* z y1))))
(if (<= x 7.5e+102) t_5 (* i (* x (- (* j y1) (* y c))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * a) - (j * y0);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
double t_4 = ((k * y2) - (j * y3)) * t_2;
double t_5 = t_4 + (x * (b * t_1));
double tmp;
if (x <= -4.65e+167) {
tmp = b * (x * t_1);
} else if (x <= -1.65e+66) {
tmp = t_3;
} else if (x <= -2.2e-104) {
tmp = t_5;
} else if (x <= -2.4e-154) {
tmp = t_3;
} else if (x <= 3e-15) {
tmp = t_4 - (i * (k * (z * y1)));
} else if (x <= 7.5e+102) {
tmp = t_5;
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = (y * a) - (j * y0)
t_2 = (y1 * y4) - (y0 * y5)
t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
t_4 = ((k * y2) - (j * y3)) * t_2
t_5 = t_4 + (x * (b * t_1))
if (x <= (-4.65d+167)) then
tmp = b * (x * t_1)
else if (x <= (-1.65d+66)) then
tmp = t_3
else if (x <= (-2.2d-104)) then
tmp = t_5
else if (x <= (-2.4d-154)) then
tmp = t_3
else if (x <= 3d-15) then
tmp = t_4 - (i * (k * (z * y1)))
else if (x <= 7.5d+102) then
tmp = t_5
else
tmp = i * (x * ((j * y1) - (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * a) - (j * y0);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
double t_4 = ((k * y2) - (j * y3)) * t_2;
double t_5 = t_4 + (x * (b * t_1));
double tmp;
if (x <= -4.65e+167) {
tmp = b * (x * t_1);
} else if (x <= -1.65e+66) {
tmp = t_3;
} else if (x <= -2.2e-104) {
tmp = t_5;
} else if (x <= -2.4e-154) {
tmp = t_3;
} else if (x <= 3e-15) {
tmp = t_4 - (i * (k * (z * y1)));
} else if (x <= 7.5e+102) {
tmp = t_5;
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * a) - (j * y0) t_2 = (y1 * y4) - (y0 * y5) t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) t_4 = ((k * y2) - (j * y3)) * t_2 t_5 = t_4 + (x * (b * t_1)) tmp = 0 if x <= -4.65e+167: tmp = b * (x * t_1) elif x <= -1.65e+66: tmp = t_3 elif x <= -2.2e-104: tmp = t_5 elif x <= -2.4e-154: tmp = t_3 elif x <= 3e-15: tmp = t_4 - (i * (k * (z * y1))) elif x <= 7.5e+102: tmp = t_5 else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y * a) - Float64(j * y0)) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_3 = Float64(y2 * Float64(Float64(Float64(k * t_2) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))) t_4 = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_2) t_5 = Float64(t_4 + Float64(x * Float64(b * t_1))) tmp = 0.0 if (x <= -4.65e+167) tmp = Float64(b * Float64(x * t_1)); elseif (x <= -1.65e+66) tmp = t_3; elseif (x <= -2.2e-104) tmp = t_5; elseif (x <= -2.4e-154) tmp = t_3; elseif (x <= 3e-15) tmp = Float64(t_4 - Float64(i * Float64(k * Float64(z * y1)))); elseif (x <= 7.5e+102) tmp = t_5; else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y * a) - (j * y0); t_2 = (y1 * y4) - (y0 * y5); t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); t_4 = ((k * y2) - (j * y3)) * t_2; t_5 = t_4 + (x * (b * t_1)); tmp = 0.0; if (x <= -4.65e+167) tmp = b * (x * t_1); elseif (x <= -1.65e+66) tmp = t_3; elseif (x <= -2.2e-104) tmp = t_5; elseif (x <= -2.4e-154) tmp = t_3; elseif (x <= 3e-15) tmp = t_4 - (i * (k * (z * y1))); elseif (x <= 7.5e+102) tmp = t_5; else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y2 * N[(N[(N[(k * t$95$2), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision]}, Block[{t$95$5 = N[(t$95$4 + N[(x * N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -4.65e+167], N[(b * N[(x * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.65e+66], t$95$3, If[LessEqual[x, -2.2e-104], t$95$5, If[LessEqual[x, -2.4e-154], t$95$3, If[LessEqual[x, 3e-15], N[(t$95$4 - N[(i * N[(k * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 7.5e+102], t$95$5, N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot a - j \cdot y0\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := y2 \cdot \left(\left(k \cdot t\_2 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_4 := \left(k \cdot y2 - j \cdot y3\right) \cdot t\_2\\
t_5 := t\_4 + x \cdot \left(b \cdot t\_1\right)\\
\mathbf{if}\;x \leq -4.65 \cdot 10^{+167}:\\
\;\;\;\;b \cdot \left(x \cdot t\_1\right)\\
\mathbf{elif}\;x \leq -1.65 \cdot 10^{+66}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;x \leq -2.2 \cdot 10^{-104}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;x \leq -2.4 \cdot 10^{-154}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;x \leq 3 \cdot 10^{-15}:\\
\;\;\;\;t\_4 - i \cdot \left(k \cdot \left(z \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq 7.5 \cdot 10^{+102}:\\
\;\;\;\;t\_5\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -4.6499999999999999e167Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -4.6499999999999999e167 < x < -1.6500000000000001e66 or -2.20000000000000012e-104 < x < -2.39999999999999987e-154Initial program 42.6%
Taylor expanded in y2 around inf 61.2%
if -1.6500000000000001e66 < x < -2.20000000000000012e-104 or 3e-15 < x < 7.5e102Initial program 38.4%
Taylor expanded in x around inf 33.7%
Taylor expanded in b around inf 52.2%
if -2.39999999999999987e-154 < x < 3e-15Initial program 31.7%
Taylor expanded in y1 around -inf 43.0%
associate-*r*43.0%
neg-mul-143.0%
*-commutative43.0%
*-commutative43.0%
*-commutative43.0%
Simplified43.0%
Taylor expanded in k around inf 44.6%
mul-1-neg44.6%
Simplified44.6%
if 7.5e102 < x Initial program 26.8%
Taylor expanded in x around inf 44.0%
Taylor expanded in i around -inf 66.5%
mul-1-neg66.5%
Simplified66.5%
Final simplification56.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* b y4) (* i y5))) (t_2 (- (* y0 y5) (* y1 y4))))
(if (<= x -6.8e+162)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -1.8e-56)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* j t_2) (* z (- (* a y1) (* c y0))))))
(if (<= x 2.15e-175)
(* k (- (* z (- (* b y0) (* i y1))) (+ (* y t_1) (* y2 t_2))))
(if (<= x 3.2e+102)
(+
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* j (+ (* t t_1) (* x (- (* i y1) (* b y0))))))
(* i (* x (- (* j y1) (* y c))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * y4) - (i * y5);
double t_2 = (y0 * y5) - (y1 * y4);
double tmp;
if (x <= -6.8e+162) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -1.8e-56) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_2) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 2.15e-175) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * t_1) + (y2 * t_2)));
} else if (x <= 3.2e+102) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (j * ((t * t_1) + (x * ((i * y1) - (b * y0)))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (b * y4) - (i * y5)
t_2 = (y0 * y5) - (y1 * y4)
if (x <= (-6.8d+162)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-1.8d-56)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_2) + (z * ((a * y1) - (c * y0)))))
else if (x <= 2.15d-175) then
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * t_1) + (y2 * t_2)))
else if (x <= 3.2d+102) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (j * ((t * t_1) + (x * ((i * y1) - (b * y0)))))
else
tmp = i * (x * ((j * y1) - (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * y4) - (i * y5);
double t_2 = (y0 * y5) - (y1 * y4);
double tmp;
if (x <= -6.8e+162) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -1.8e-56) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_2) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 2.15e-175) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * t_1) + (y2 * t_2)));
} else if (x <= 3.2e+102) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (j * ((t * t_1) + (x * ((i * y1) - (b * y0)))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (b * y4) - (i * y5) t_2 = (y0 * y5) - (y1 * y4) tmp = 0 if x <= -6.8e+162: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -1.8e-56: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_2) + (z * ((a * y1) - (c * y0))))) elif x <= 2.15e-175: tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * t_1) + (y2 * t_2))) elif x <= 3.2e+102: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (j * ((t * t_1) + (x * ((i * y1) - (b * y0))))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * y4) - Float64(i * y5)) t_2 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) tmp = 0.0 if (x <= -6.8e+162) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -1.8e-56) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * t_2) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))); elseif (x <= 2.15e-175) tmp = Float64(k * Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(y * t_1) + Float64(y2 * t_2)))); elseif (x <= 3.2e+102) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(j * Float64(Float64(t * t_1) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (b * y4) - (i * y5); t_2 = (y0 * y5) - (y1 * y4); tmp = 0.0; if (x <= -6.8e+162) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -1.8e-56) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_2) + (z * ((a * y1) - (c * y0))))); elseif (x <= 2.15e-175) tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * t_1) + (y2 * t_2))); elseif (x <= 3.2e+102) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (j * ((t * t_1) + (x * ((i * y1) - (b * y0))))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -6.8e+162], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.8e-56], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * t$95$2), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.15e-175], N[(k * N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * t$95$1), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.2e+102], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * t$95$1), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot y4 - i \cdot y5\\
t_2 := y0 \cdot y5 - y1 \cdot y4\\
\mathbf{if}\;x \leq -6.8 \cdot 10^{+162}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -1.8 \cdot 10^{-56}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot t\_2 + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{elif}\;x \leq 2.15 \cdot 10^{-175}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(y \cdot t\_1 + y2 \cdot t\_2\right)\right)\\
\mathbf{elif}\;x \leq 3.2 \cdot 10^{+102}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + j \cdot \left(t \cdot t\_1 + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -6.80000000000000006e162Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -6.80000000000000006e162 < x < -1.79999999999999989e-56Initial program 32.6%
Taylor expanded in y3 around -inf 51.4%
if -1.79999999999999989e-56 < x < 2.14999999999999999e-175Initial program 33.0%
Taylor expanded in k around inf 44.9%
if 2.14999999999999999e-175 < x < 3.1999999999999999e102Initial program 42.1%
Taylor expanded in j around inf 49.4%
*-commutative49.4%
Simplified49.4%
if 3.1999999999999999e102 < x Initial program 26.8%
Taylor expanded in x around inf 44.0%
Taylor expanded in i around -inf 66.5%
mul-1-neg66.5%
Simplified66.5%
Final simplification55.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))))
(if (<= j -1.15e-186)
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0)))))
(if (<= j 3.65e-152)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= j 3.5e+14)
(*
y0
(+
(+ (* c (- (* x y2) (* z y3))) (* y5 (- (* j y3) (* k y2))))
(* b (- (* z k) (* x j)))))
(if (<= j 3.45e+112)
(+ t_1 (* x (* b (- (* y a) (* j y0)))))
(+ t_1 (* y1 (- (* a (* z y3)) (* i (* z k)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
double tmp;
if (j <= -1.15e-186) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (j <= 3.65e-152) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 3.5e+14) {
tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
} else if (j <= 3.45e+112) {
tmp = t_1 + (x * (b * ((y * a) - (j * y0))));
} else {
tmp = t_1 + (y1 * ((a * (z * y3)) - (i * (z * k))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))
if (j <= (-1.15d-186)) then
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))))
else if (j <= 3.65d-152) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (j <= 3.5d+14) then
tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))))
else if (j <= 3.45d+112) then
tmp = t_1 + (x * (b * ((y * a) - (j * y0))))
else
tmp = t_1 + (y1 * ((a * (z * y3)) - (i * (z * k))))
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
double tmp;
if (j <= -1.15e-186) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (j <= 3.65e-152) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 3.5e+14) {
tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
} else if (j <= 3.45e+112) {
tmp = t_1 + (x * (b * ((y * a) - (j * y0))));
} else {
tmp = t_1 + (y1 * ((a * (z * y3)) - (i * (z * k))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)) tmp = 0 if j <= -1.15e-186: tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) elif j <= 3.65e-152: tmp = a * (x * ((y * b) - (y1 * y2))) elif j <= 3.5e+14: tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j)))) elif j <= 3.45e+112: tmp = t_1 + (x * (b * ((y * a) - (j * y0)))) else: tmp = t_1 + (y1 * ((a * (z * y3)) - (i * (z * k)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) tmp = 0.0 if (j <= -1.15e-186) tmp = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (j <= 3.65e-152) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (j <= 3.5e+14) tmp = Float64(y0 * Float64(Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (j <= 3.45e+112) tmp = Float64(t_1 + Float64(x * Float64(b * Float64(Float64(y * a) - Float64(j * y0))))); else tmp = Float64(t_1 + Float64(y1 * Float64(Float64(a * Float64(z * y3)) - Float64(i * Float64(z * k))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)); tmp = 0.0; if (j <= -1.15e-186) tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); elseif (j <= 3.65e-152) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (j <= 3.5e+14) tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j)))); elseif (j <= 3.45e+112) tmp = t_1 + (x * (b * ((y * a) - (j * y0)))); else tmp = t_1 + (y1 * ((a * (z * y3)) - (i * (z * k)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.15e-186], N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.65e-152], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.5e+14], N[(y0 * N[(N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.45e+112], N[(t$95$1 + N[(x * N[(b * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$1 + N[(y1 * N[(N[(a * N[(z * y3), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;j \leq -1.15 \cdot 10^{-186}:\\
\;\;\;\;j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq 3.65 \cdot 10^{-152}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 3.5 \cdot 10^{+14}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;j \leq 3.45 \cdot 10^{+112}:\\
\;\;\;\;t\_1 + x \cdot \left(b \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1 + y1 \cdot \left(a \cdot \left(z \cdot y3\right) - i \cdot \left(z \cdot k\right)\right)\\
\end{array}
\end{array}
if j < -1.15e-186Initial program 30.8%
Taylor expanded in j around inf 51.5%
if -1.15e-186 < j < 3.64999999999999991e-152Initial program 24.4%
Taylor expanded in x around inf 31.7%
Taylor expanded in a around inf 50.9%
if 3.64999999999999991e-152 < j < 3.5e14Initial program 41.2%
Taylor expanded in y0 around inf 48.3%
if 3.5e14 < j < 3.45e112Initial program 57.7%
Taylor expanded in x around inf 52.5%
Taylor expanded in b around inf 68.7%
if 3.45e112 < j Initial program 30.6%
Taylor expanded in y1 around -inf 42.0%
associate-*r*42.0%
neg-mul-142.0%
*-commutative42.0%
*-commutative42.0%
*-commutative42.0%
Simplified42.0%
Taylor expanded in x around 0 67.1%
mul-1-neg67.1%
distribute-lft-out--67.1%
Simplified67.1%
Final simplification54.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))))
(if (<= j -1.15e-186)
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0)))))
(if (<= j 1.38e-149)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= j 1.75e-67)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= j 1.82e+114)
(+ t_1 (* x (* b (- (* y a) (* j y0)))))
(+ t_1 (* y1 (- (* a (* z y3)) (* i (* z k)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
double tmp;
if (j <= -1.15e-186) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (j <= 1.38e-149) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 1.75e-67) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 1.82e+114) {
tmp = t_1 + (x * (b * ((y * a) - (j * y0))));
} else {
tmp = t_1 + (y1 * ((a * (z * y3)) - (i * (z * k))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))
if (j <= (-1.15d-186)) then
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))))
else if (j <= 1.38d-149) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (j <= 1.75d-67) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (j <= 1.82d+114) then
tmp = t_1 + (x * (b * ((y * a) - (j * y0))))
else
tmp = t_1 + (y1 * ((a * (z * y3)) - (i * (z * k))))
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
double tmp;
if (j <= -1.15e-186) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (j <= 1.38e-149) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 1.75e-67) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 1.82e+114) {
tmp = t_1 + (x * (b * ((y * a) - (j * y0))));
} else {
tmp = t_1 + (y1 * ((a * (z * y3)) - (i * (z * k))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)) tmp = 0 if j <= -1.15e-186: tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) elif j <= 1.38e-149: tmp = a * (x * ((y * b) - (y1 * y2))) elif j <= 1.75e-67: tmp = c * (y0 * ((x * y2) - (z * y3))) elif j <= 1.82e+114: tmp = t_1 + (x * (b * ((y * a) - (j * y0)))) else: tmp = t_1 + (y1 * ((a * (z * y3)) - (i * (z * k)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) tmp = 0.0 if (j <= -1.15e-186) tmp = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (j <= 1.38e-149) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (j <= 1.75e-67) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (j <= 1.82e+114) tmp = Float64(t_1 + Float64(x * Float64(b * Float64(Float64(y * a) - Float64(j * y0))))); else tmp = Float64(t_1 + Float64(y1 * Float64(Float64(a * Float64(z * y3)) - Float64(i * Float64(z * k))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)); tmp = 0.0; if (j <= -1.15e-186) tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); elseif (j <= 1.38e-149) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (j <= 1.75e-67) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (j <= 1.82e+114) tmp = t_1 + (x * (b * ((y * a) - (j * y0)))); else tmp = t_1 + (y1 * ((a * (z * y3)) - (i * (z * k)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.15e-186], N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.38e-149], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.75e-67], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.82e+114], N[(t$95$1 + N[(x * N[(b * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$1 + N[(y1 * N[(N[(a * N[(z * y3), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;j \leq -1.15 \cdot 10^{-186}:\\
\;\;\;\;j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq 1.38 \cdot 10^{-149}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 1.75 \cdot 10^{-67}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 1.82 \cdot 10^{+114}:\\
\;\;\;\;t\_1 + x \cdot \left(b \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1 + y1 \cdot \left(a \cdot \left(z \cdot y3\right) - i \cdot \left(z \cdot k\right)\right)\\
\end{array}
\end{array}
if j < -1.15e-186Initial program 30.8%
Taylor expanded in j around inf 51.5%
if -1.15e-186 < j < 1.3800000000000001e-149Initial program 24.4%
Taylor expanded in x around inf 31.7%
Taylor expanded in a around inf 50.9%
if 1.3800000000000001e-149 < j < 1.75e-67Initial program 43.7%
Taylor expanded in y0 around inf 55.0%
Taylor expanded in c around inf 52.9%
if 1.75e-67 < j < 1.81999999999999986e114Initial program 48.6%
Taylor expanded in x around inf 43.1%
Taylor expanded in b around inf 54.7%
if 1.81999999999999986e114 < j Initial program 30.6%
Taylor expanded in y1 around -inf 42.0%
associate-*r*42.0%
neg-mul-142.0%
*-commutative42.0%
*-commutative42.0%
*-commutative42.0%
Simplified42.0%
Taylor expanded in x around 0 67.1%
mul-1-neg67.1%
distribute-lft-out--67.1%
Simplified67.1%
Final simplification54.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y a) (* j y0))) (t_2 (- (* y0 y5) (* y1 y4))))
(if (<= x -1.28e+163)
(* b (* x t_1))
(if (<= x -2.4e-57)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* j t_2) (* z (- (* a y1) (* c y0))))))
(if (<= x 4.5e-174)
(*
k
(-
(* z (- (* b y0) (* i y1)))
(+ (* y (- (* b y4) (* i y5))) (* y2 t_2))))
(if (<= x 5.5e+102)
(+
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* x (* b t_1)))
(* i (* x (- (* j y1) (* y c))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * a) - (j * y0);
double t_2 = (y0 * y5) - (y1 * y4);
double tmp;
if (x <= -1.28e+163) {
tmp = b * (x * t_1);
} else if (x <= -2.4e-57) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_2) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 4.5e-174) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_2)));
} else if (x <= 5.5e+102) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (b * t_1));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (y * a) - (j * y0)
t_2 = (y0 * y5) - (y1 * y4)
if (x <= (-1.28d+163)) then
tmp = b * (x * t_1)
else if (x <= (-2.4d-57)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_2) + (z * ((a * y1) - (c * y0)))))
else if (x <= 4.5d-174) then
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_2)))
else if (x <= 5.5d+102) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (b * t_1))
else
tmp = i * (x * ((j * y1) - (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * a) - (j * y0);
double t_2 = (y0 * y5) - (y1 * y4);
double tmp;
if (x <= -1.28e+163) {
tmp = b * (x * t_1);
} else if (x <= -2.4e-57) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_2) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 4.5e-174) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_2)));
} else if (x <= 5.5e+102) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (b * t_1));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * a) - (j * y0) t_2 = (y0 * y5) - (y1 * y4) tmp = 0 if x <= -1.28e+163: tmp = b * (x * t_1) elif x <= -2.4e-57: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_2) + (z * ((a * y1) - (c * y0))))) elif x <= 4.5e-174: tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_2))) elif x <= 5.5e+102: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (b * t_1)) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y * a) - Float64(j * y0)) t_2 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) tmp = 0.0 if (x <= -1.28e+163) tmp = Float64(b * Float64(x * t_1)); elseif (x <= -2.4e-57) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * t_2) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))); elseif (x <= 4.5e-174) tmp = Float64(k * Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(y * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * t_2)))); elseif (x <= 5.5e+102) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(b * t_1))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y * a) - (j * y0); t_2 = (y0 * y5) - (y1 * y4); tmp = 0.0; if (x <= -1.28e+163) tmp = b * (x * t_1); elseif (x <= -2.4e-57) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_2) + (z * ((a * y1) - (c * y0))))); elseif (x <= 4.5e-174) tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_2))); elseif (x <= 5.5e+102) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (b * t_1)); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.28e+163], N[(b * N[(x * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.4e-57], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * t$95$2), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.5e-174], N[(k * N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.5e+102], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot a - j \cdot y0\\
t_2 := y0 \cdot y5 - y1 \cdot y4\\
\mathbf{if}\;x \leq -1.28 \cdot 10^{+163}:\\
\;\;\;\;b \cdot \left(x \cdot t\_1\right)\\
\mathbf{elif}\;x \leq -2.4 \cdot 10^{-57}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot t\_2 + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{elif}\;x \leq 4.5 \cdot 10^{-174}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(y \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot t\_2\right)\right)\\
\mathbf{elif}\;x \leq 5.5 \cdot 10^{+102}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(b \cdot t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -1.28e163Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -1.28e163 < x < -2.40000000000000006e-57Initial program 32.6%
Taylor expanded in y3 around -inf 51.4%
if -2.40000000000000006e-57 < x < 4.49999999999999964e-174Initial program 33.0%
Taylor expanded in k around inf 44.9%
if 4.49999999999999964e-174 < x < 5.49999999999999981e102Initial program 42.1%
Taylor expanded in x around inf 38.1%
Taylor expanded in b around inf 49.4%
if 5.49999999999999981e102 < x Initial program 26.8%
Taylor expanded in x around inf 44.0%
Taylor expanded in i around -inf 66.5%
mul-1-neg66.5%
Simplified66.5%
Final simplification55.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -6.3e+162)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -0.39)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* j (- (* y0 y5) (* y1 y4))) (* z (- (* a y1) (* c y0))))))
(if (<= x 1.2e+102)
(+
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* y1 (- (* a (* z y3)) (* i (* z k)))))
(* i (* x (- (* j y1) (* y c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -6.3e+162) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -0.39) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 1.2e+102) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y1 * ((a * (z * y3)) - (i * (z * k))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-6.3d+162)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-0.39d0)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))))
else if (x <= 1.2d+102) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y1 * ((a * (z * y3)) - (i * (z * k))))
else
tmp = i * (x * ((j * y1) - (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -6.3e+162) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -0.39) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
} else if (x <= 1.2e+102) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y1 * ((a * (z * y3)) - (i * (z * k))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -6.3e+162: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -0.39: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))) elif x <= 1.2e+102: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y1 * ((a * (z * y3)) - (i * (z * k)))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -6.3e+162) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -0.39) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))); elseif (x <= 1.2e+102) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y1 * Float64(Float64(a * Float64(z * y3)) - Float64(i * Float64(z * k))))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -6.3e+162) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -0.39) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))); elseif (x <= 1.2e+102) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y1 * ((a * (z * y3)) - (i * (z * k)))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -6.3e+162], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -0.39], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.2e+102], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(a * N[(z * y3), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -6.3 \cdot 10^{+162}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -0.39:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.2 \cdot 10^{+102}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y1 \cdot \left(a \cdot \left(z \cdot y3\right) - i \cdot \left(z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -6.3000000000000001e162Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -6.3000000000000001e162 < x < -0.39000000000000001Initial program 37.9%
Taylor expanded in y3 around -inf 53.0%
if -0.39000000000000001 < x < 1.19999999999999997e102Initial program 35.8%
Taylor expanded in y1 around -inf 40.2%
associate-*r*40.2%
neg-mul-140.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in x around 0 42.0%
mul-1-neg42.0%
distribute-lft-out--42.0%
Simplified42.0%
if 1.19999999999999997e102 < x Initial program 26.8%
Taylor expanded in x around inf 44.0%
Taylor expanded in i around -inf 66.5%
mul-1-neg66.5%
Simplified66.5%
Final simplification52.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y a) (* j y0))))
(if (<= x -6.5e+169)
(* b (* x t_1))
(if (<= x -2.5e+67)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= x 1.15e+102)
(+ (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))) (* x (* b t_1)))
(* i (* x (- (* j y1) (* y c)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * a) - (j * y0);
double tmp;
if (x <= -6.5e+169) {
tmp = b * (x * t_1);
} else if (x <= -2.5e+67) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (x <= 1.15e+102) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (b * t_1));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (y * a) - (j * y0)
if (x <= (-6.5d+169)) then
tmp = b * (x * t_1)
else if (x <= (-2.5d+67)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (x <= 1.15d+102) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (b * t_1))
else
tmp = i * (x * ((j * y1) - (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * a) - (j * y0);
double tmp;
if (x <= -6.5e+169) {
tmp = b * (x * t_1);
} else if (x <= -2.5e+67) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (x <= 1.15e+102) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (b * t_1));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * a) - (j * y0) tmp = 0 if x <= -6.5e+169: tmp = b * (x * t_1) elif x <= -2.5e+67: tmp = x * (y2 * ((c * y0) - (a * y1))) elif x <= 1.15e+102: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (b * t_1)) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y * a) - Float64(j * y0)) tmp = 0.0 if (x <= -6.5e+169) tmp = Float64(b * Float64(x * t_1)); elseif (x <= -2.5e+67) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (x <= 1.15e+102) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(b * t_1))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y * a) - (j * y0); tmp = 0.0; if (x <= -6.5e+169) tmp = b * (x * t_1); elseif (x <= -2.5e+67) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (x <= 1.15e+102) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (x * (b * t_1)); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -6.5e+169], N[(b * N[(x * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.5e+67], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.15e+102], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot a - j \cdot y0\\
\mathbf{if}\;x \leq -6.5 \cdot 10^{+169}:\\
\;\;\;\;b \cdot \left(x \cdot t\_1\right)\\
\mathbf{elif}\;x \leq -2.5 \cdot 10^{+67}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq 1.15 \cdot 10^{+102}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(b \cdot t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -6.4999999999999995e169Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -6.4999999999999995e169 < x < -2.49999999999999988e67Initial program 28.6%
Taylor expanded in y2 around inf 62.4%
Taylor expanded in x around inf 58.5%
if -2.49999999999999988e67 < x < 1.1499999999999999e102Initial program 37.4%
Taylor expanded in x around inf 31.5%
Taylor expanded in b around inf 40.6%
if 1.1499999999999999e102 < x Initial program 26.8%
Taylor expanded in x around inf 44.0%
Taylor expanded in i around -inf 66.5%
mul-1-neg66.5%
Simplified66.5%
Final simplification51.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -1.28e+163)
(* b (* x (- (* y a) (* j y0))))
(if (<= x 5.8e+102)
(+
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* y1 (- (* a (* z y3)) (* i (* z k)))))
(* i (* x (- (* j y1) (* y c)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -1.28e+163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= 5.8e+102) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y1 * ((a * (z * y3)) - (i * (z * k))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-1.28d+163)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= 5.8d+102) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y1 * ((a * (z * y3)) - (i * (z * k))))
else
tmp = i * (x * ((j * y1) - (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -1.28e+163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= 5.8e+102) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y1 * ((a * (z * y3)) - (i * (z * k))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -1.28e+163: tmp = b * (x * ((y * a) - (j * y0))) elif x <= 5.8e+102: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y1 * ((a * (z * y3)) - (i * (z * k)))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -1.28e+163) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= 5.8e+102) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y1 * Float64(Float64(a * Float64(z * y3)) - Float64(i * Float64(z * k))))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -1.28e+163) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= 5.8e+102) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (y1 * ((a * (z * y3)) - (i * (z * k)))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -1.28e+163], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.8e+102], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(a * N[(z * y3), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.28 \cdot 10^{+163}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq 5.8 \cdot 10^{+102}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y1 \cdot \left(a \cdot \left(z \cdot y3\right) - i \cdot \left(z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -1.28e163Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -1.28e163 < x < 5.8000000000000005e102Initial program 36.3%
Taylor expanded in y1 around -inf 39.4%
associate-*r*39.4%
neg-mul-139.4%
*-commutative39.4%
*-commutative39.4%
*-commutative39.4%
Simplified39.4%
Taylor expanded in x around 0 42.0%
mul-1-neg42.0%
distribute-lft-out--42.0%
Simplified42.0%
if 5.8000000000000005e102 < x Initial program 26.8%
Taylor expanded in x around inf 44.0%
Taylor expanded in i around -inf 66.5%
mul-1-neg66.5%
Simplified66.5%
Final simplification50.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= a -6.5e+225)
(* a (* y2 (- (* t y5) (* x y1))))
(if (<= a -7.4e-31)
(* b (* x (- (* y a) (* j y0))))
(if (<= a -7.2e-201)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= a 2e-8)
(* y1 (* y4 (- (* k y2) (* j y3))))
(if (<= a 8.8e+148)
(* j (* b (- (* t y4) (* x y0))))
(* y1 (* z (- (* a y3) (* i k))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -6.5e+225) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (a <= -7.4e-31) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (a <= -7.2e-201) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 2e-8) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (a <= 8.8e+148) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else {
tmp = y1 * (z * ((a * y3) - (i * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (a <= (-6.5d+225)) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else if (a <= (-7.4d-31)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (a <= (-7.2d-201)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (a <= 2d-8) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else if (a <= 8.8d+148) then
tmp = j * (b * ((t * y4) - (x * y0)))
else
tmp = y1 * (z * ((a * y3) - (i * k)))
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -6.5e+225) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (a <= -7.4e-31) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (a <= -7.2e-201) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 2e-8) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (a <= 8.8e+148) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else {
tmp = y1 * (z * ((a * y3) - (i * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -6.5e+225: tmp = a * (y2 * ((t * y5) - (x * y1))) elif a <= -7.4e-31: tmp = b * (x * ((y * a) - (j * y0))) elif a <= -7.2e-201: tmp = c * (y0 * ((x * y2) - (z * y3))) elif a <= 2e-8: tmp = y1 * (y4 * ((k * y2) - (j * y3))) elif a <= 8.8e+148: tmp = j * (b * ((t * y4) - (x * y0))) else: tmp = y1 * (z * ((a * y3) - (i * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (a <= -6.5e+225) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); elseif (a <= -7.4e-31) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (a <= -7.2e-201) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (a <= 2e-8) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (a <= 8.8e+148) tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = Float64(y1 * Float64(z * Float64(Float64(a * y3) - Float64(i * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (a <= -6.5e+225) tmp = a * (y2 * ((t * y5) - (x * y1))); elseif (a <= -7.4e-31) tmp = b * (x * ((y * a) - (j * y0))); elseif (a <= -7.2e-201) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (a <= 2e-8) tmp = y1 * (y4 * ((k * y2) - (j * y3))); elseif (a <= 8.8e+148) tmp = j * (b * ((t * y4) - (x * y0))); else tmp = y1 * (z * ((a * y3) - (i * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -6.5e+225], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -7.4e-31], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -7.2e-201], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2e-8], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.8e+148], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(z * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -6.5 \cdot 10^{+225}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{elif}\;a \leq -7.4 \cdot 10^{-31}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq -7.2 \cdot 10^{-201}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 2 \cdot 10^{-8}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 8.8 \cdot 10^{+148}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(z \cdot \left(a \cdot y3 - i \cdot k\right)\right)\\
\end{array}
\end{array}
if a < -6.5000000000000006e225Initial program 23.1%
Taylor expanded in y2 around inf 53.8%
Taylor expanded in a around -inf 84.6%
mul-1-neg84.6%
Simplified84.6%
if -6.5000000000000006e225 < a < -7.3999999999999996e-31Initial program 27.6%
Taylor expanded in x around inf 29.7%
Taylor expanded in b around inf 47.5%
if -7.3999999999999996e-31 < a < -7.20000000000000063e-201Initial program 43.5%
Taylor expanded in y0 around inf 59.2%
Taylor expanded in c around inf 52.5%
if -7.20000000000000063e-201 < a < 2e-8Initial program 44.9%
Taylor expanded in y1 around -inf 44.8%
associate-*r*44.8%
neg-mul-144.8%
*-commutative44.8%
*-commutative44.8%
*-commutative44.8%
Simplified44.8%
Taylor expanded in y4 around inf 41.9%
if 2e-8 < a < 8.7999999999999995e148Initial program 22.0%
Taylor expanded in j around inf 50.5%
Taylor expanded in b around inf 51.1%
if 8.7999999999999995e148 < a Initial program 18.6%
Taylor expanded in y1 around -inf 39.8%
associate-*r*39.8%
neg-mul-139.8%
*-commutative39.8%
*-commutative39.8%
*-commutative39.8%
Simplified39.8%
Taylor expanded in z around -inf 50.4%
Final simplification49.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -1.1e+169)
(* b (* x (- (* y a) (* j y0))))
(if (<= x 1.75e-5)
(- (* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))) (* i (* k (* z y1))))
(if (<= x 3e+56)
(* x (* y2 (* y0 (- c (/ (* a y1) y0)))))
(* i (* x (- (* j y1) (* y c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -1.1e+169) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= 1.75e-5) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (i * (k * (z * y1)));
} else if (x <= 3e+56) {
tmp = x * (y2 * (y0 * (c - ((a * y1) / y0))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-1.1d+169)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= 1.75d-5) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (i * (k * (z * y1)))
else if (x <= 3d+56) then
tmp = x * (y2 * (y0 * (c - ((a * y1) / y0))))
else
tmp = i * (x * ((j * y1) - (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -1.1e+169) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= 1.75e-5) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (i * (k * (z * y1)));
} else if (x <= 3e+56) {
tmp = x * (y2 * (y0 * (c - ((a * y1) / y0))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -1.1e+169: tmp = b * (x * ((y * a) - (j * y0))) elif x <= 1.75e-5: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (i * (k * (z * y1))) elif x <= 3e+56: tmp = x * (y2 * (y0 * (c - ((a * y1) / y0)))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -1.1e+169) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= 1.75e-5) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) - Float64(i * Float64(k * Float64(z * y1)))); elseif (x <= 3e+56) tmp = Float64(x * Float64(y2 * Float64(y0 * Float64(c - Float64(Float64(a * y1) / y0))))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -1.1e+169) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= 1.75e-5) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) - (i * (k * (z * y1))); elseif (x <= 3e+56) tmp = x * (y2 * (y0 * (c - ((a * y1) / y0)))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -1.1e+169], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.75e-5], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(k * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3e+56], N[(x * N[(y2 * N[(y0 * N[(c - N[(N[(a * y1), $MachinePrecision] / y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.1 \cdot 10^{+169}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq 1.75 \cdot 10^{-5}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - i \cdot \left(k \cdot \left(z \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq 3 \cdot 10^{+56}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(y0 \cdot \left(c - \frac{a \cdot y1}{y0}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -1.1e169Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -1.1e169 < x < 1.7499999999999998e-5Initial program 35.4%
Taylor expanded in y1 around -inf 39.0%
associate-*r*39.0%
neg-mul-139.0%
*-commutative39.0%
*-commutative39.0%
*-commutative39.0%
Simplified39.0%
Taylor expanded in k around inf 40.4%
mul-1-neg40.4%
Simplified40.4%
if 1.7499999999999998e-5 < x < 3.00000000000000006e56Initial program 46.0%
Taylor expanded in y2 around inf 30.8%
Taylor expanded in x around inf 47.9%
Taylor expanded in y0 around inf 55.3%
mul-1-neg55.3%
Simplified55.3%
if 3.00000000000000006e56 < x Initial program 28.9%
Taylor expanded in x around inf 44.5%
Taylor expanded in i around -inf 60.5%
mul-1-neg60.5%
Simplified60.5%
Final simplification50.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -1.95e+34)
(* y0 (* j (- (* y3 y5) (* x b))))
(if (<= j -8e-170)
(* i (* y1 (- (* x j) (* z k))))
(if (<= j 5.1e-152)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= j 2.8e-11)
(* c (* y0 (- (* x y2) (* z y3))))
(* y1 (* y4 (- (* k y2) (* j y3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -1.95e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -8e-170) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (j <= 5.1e-152) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 2.8e-11) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-1.95d+34)) then
tmp = y0 * (j * ((y3 * y5) - (x * b)))
else if (j <= (-8d-170)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (j <= 5.1d-152) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (j <= 2.8d-11) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -1.95e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= -8e-170) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (j <= 5.1e-152) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (j <= 2.8e-11) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -1.95e+34: tmp = y0 * (j * ((y3 * y5) - (x * b))) elif j <= -8e-170: tmp = i * (y1 * ((x * j) - (z * k))) elif j <= 5.1e-152: tmp = a * (x * ((y * b) - (y1 * y2))) elif j <= 2.8e-11: tmp = c * (y0 * ((x * y2) - (z * y3))) else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -1.95e+34) tmp = Float64(y0 * Float64(j * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (j <= -8e-170) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (j <= 5.1e-152) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (j <= 2.8e-11) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -1.95e+34) tmp = y0 * (j * ((y3 * y5) - (x * b))); elseif (j <= -8e-170) tmp = i * (y1 * ((x * j) - (z * k))); elseif (j <= 5.1e-152) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (j <= 2.8e-11) tmp = c * (y0 * ((x * y2) - (z * y3))); else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -1.95e+34], N[(y0 * N[(j * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -8e-170], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.1e-152], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.8e-11], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -1.95 \cdot 10^{+34}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;j \leq -8 \cdot 10^{-170}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;j \leq 5.1 \cdot 10^{-152}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 2.8 \cdot 10^{-11}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if j < -1.9500000000000001e34Initial program 18.3%
Taylor expanded in y0 around inf 43.6%
Taylor expanded in j around inf 55.9%
if -1.9500000000000001e34 < j < -7.99999999999999987e-170Initial program 46.6%
Taylor expanded in y1 around -inf 35.5%
associate-*r*35.5%
neg-mul-135.5%
*-commutative35.5%
*-commutative35.5%
*-commutative35.5%
Simplified35.5%
Taylor expanded in i around -inf 36.4%
if -7.99999999999999987e-170 < j < 5.1000000000000004e-152Initial program 25.7%
Taylor expanded in x around inf 31.1%
Taylor expanded in a around inf 50.1%
if 5.1000000000000004e-152 < j < 2.8e-11Initial program 40.3%
Taylor expanded in y0 around inf 48.0%
Taylor expanded in c around inf 38.5%
if 2.8e-11 < j Initial program 40.6%
Taylor expanded in y1 around -inf 44.3%
associate-*r*44.3%
neg-mul-144.3%
*-commutative44.3%
*-commutative44.3%
*-commutative44.3%
Simplified44.3%
Taylor expanded in y4 around inf 56.6%
Final simplification49.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -7e+51)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= y2 -6.5e-288)
(* x (* y (- (* a b) (* c i))))
(if (<= y2 2.05e-94)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y2 1.52e+117)
(* j (* b (- (* t y4) (* x y0))))
(* y0 (* (* k y2) (- y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -7e+51) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y2 <= -6.5e-288) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y2 <= 2.05e-94) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y2 <= 1.52e+117) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-7d+51)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (y2 <= (-6.5d-288)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (y2 <= 2.05d-94) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y2 <= 1.52d+117) then
tmp = j * (b * ((t * y4) - (x * y0)))
else
tmp = y0 * ((k * y2) * -y5)
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -7e+51) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y2 <= -6.5e-288) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y2 <= 2.05e-94) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y2 <= 1.52e+117) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -7e+51: tmp = x * (y2 * ((c * y0) - (a * y1))) elif y2 <= -6.5e-288: tmp = x * (y * ((a * b) - (c * i))) elif y2 <= 2.05e-94: tmp = j * (x * ((i * y1) - (b * y0))) elif y2 <= 1.52e+117: tmp = j * (b * ((t * y4) - (x * y0))) else: tmp = y0 * ((k * y2) * -y5) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -7e+51) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (y2 <= -6.5e-288) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (y2 <= 2.05e-94) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y2 <= 1.52e+117) tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = Float64(y0 * Float64(Float64(k * y2) * Float64(-y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -7e+51) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (y2 <= -6.5e-288) tmp = x * (y * ((a * b) - (c * i))); elseif (y2 <= 2.05e-94) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y2 <= 1.52e+117) tmp = j * (b * ((t * y4) - (x * y0))); else tmp = y0 * ((k * y2) * -y5); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -7e+51], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -6.5e-288], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.05e-94], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.52e+117], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(k * y2), $MachinePrecision] * (-y5)), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -7 \cdot 10^{+51}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq -6.5 \cdot 10^{-288}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;y2 \leq 2.05 \cdot 10^{-94}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.52 \cdot 10^{+117}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(k \cdot y2\right) \cdot \left(-y5\right)\right)\\
\end{array}
\end{array}
if y2 < -7e51Initial program 33.5%
Taylor expanded in y2 around inf 54.8%
Taylor expanded in x around inf 46.8%
if -7e51 < y2 < -6.4999999999999999e-288Initial program 38.0%
Taylor expanded in x around inf 33.1%
Taylor expanded in y around inf 37.5%
if -6.4999999999999999e-288 < y2 < 2.05e-94Initial program 36.3%
Taylor expanded in j around inf 43.9%
Taylor expanded in x around inf 47.6%
if 2.05e-94 < y2 < 1.52e117Initial program 26.4%
Taylor expanded in j around inf 40.8%
Taylor expanded in b around inf 43.5%
if 1.52e117 < y2 Initial program 25.6%
Taylor expanded in y0 around inf 43.7%
Taylor expanded in y5 around inf 61.8%
neg-mul-161.8%
distribute-lft-neg-in61.8%
Simplified61.8%
Taylor expanded in k around inf 59.3%
Final simplification46.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -3.5e+163)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -5.4e+75)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= x 1.6e+154)
(* y0 (* y5 (* y2 (- (/ (* j y3) y2) k))))
(* i (* x (- (* j y1) (* y c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -3.5e+163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -5.4e+75) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (x <= 1.6e+154) {
tmp = y0 * (y5 * (y2 * (((j * y3) / y2) - k)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-3.5d+163)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-5.4d+75)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (x <= 1.6d+154) then
tmp = y0 * (y5 * (y2 * (((j * y3) / y2) - k)))
else
tmp = i * (x * ((j * y1) - (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -3.5e+163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -5.4e+75) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (x <= 1.6e+154) {
tmp = y0 * (y5 * (y2 * (((j * y3) / y2) - k)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -3.5e+163: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -5.4e+75: tmp = x * (y2 * ((c * y0) - (a * y1))) elif x <= 1.6e+154: tmp = y0 * (y5 * (y2 * (((j * y3) / y2) - k))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -3.5e+163) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -5.4e+75) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (x <= 1.6e+154) tmp = Float64(y0 * Float64(y5 * Float64(y2 * Float64(Float64(Float64(j * y3) / y2) - k)))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -3.5e+163) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -5.4e+75) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (x <= 1.6e+154) tmp = y0 * (y5 * (y2 * (((j * y3) / y2) - k))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -3.5e+163], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.4e+75], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.6e+154], N[(y0 * N[(y5 * N[(y2 * N[(N[(N[(j * y3), $MachinePrecision] / y2), $MachinePrecision] - k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.5 \cdot 10^{+163}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -5.4 \cdot 10^{+75}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq 1.6 \cdot 10^{+154}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(y2 \cdot \left(\frac{j \cdot y3}{y2} - k\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -3.5000000000000003e163Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -3.5000000000000003e163 < x < -5.39999999999999996e75Initial program 31.6%
Taylor expanded in y2 around inf 58.4%
Taylor expanded in x around inf 58.9%
if -5.39999999999999996e75 < x < 1.6e154Initial program 36.6%
Taylor expanded in y0 around inf 38.5%
Taylor expanded in y5 around inf 33.0%
neg-mul-133.0%
distribute-lft-neg-in33.0%
Simplified33.0%
Taylor expanded in y2 around inf 38.1%
mul-1-neg38.1%
Simplified38.1%
if 1.6e154 < x Initial program 27.0%
Taylor expanded in x around inf 48.6%
Taylor expanded in i around -inf 70.8%
mul-1-neg70.8%
Simplified70.8%
Final simplification50.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -5.7e+170)
(* b (* x (- (* y a) (* j y0))))
(if (<= x -1.12e+64)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= x 1.25e+154)
(* y0 (* y5 (- (* j y3) (* k y2))))
(* i (* x (- (* j y1) (* y c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -5.7e+170) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -1.12e+64) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (x <= 1.25e+154) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-5.7d+170)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= (-1.12d+64)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (x <= 1.25d+154) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else
tmp = i * (x * ((j * y1) - (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -5.7e+170) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= -1.12e+64) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (x <= 1.25e+154) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -5.7e+170: tmp = b * (x * ((y * a) - (j * y0))) elif x <= -1.12e+64: tmp = x * (y2 * ((c * y0) - (a * y1))) elif x <= 1.25e+154: tmp = y0 * (y5 * ((j * y3) - (k * y2))) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -5.7e+170) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= -1.12e+64) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (x <= 1.25e+154) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -5.7e+170) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= -1.12e+64) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (x <= 1.25e+154) tmp = y0 * (y5 * ((j * y3) - (k * y2))); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -5.7e+170], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.12e+64], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.25e+154], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -5.7 \cdot 10^{+170}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -1.12 \cdot 10^{+64}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq 1.25 \cdot 10^{+154}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -5.69999999999999967e170Initial program 26.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in b around inf 68.0%
if -5.69999999999999967e170 < x < -1.11999999999999995e64Initial program 28.6%
Taylor expanded in y2 around inf 62.4%
Taylor expanded in x around inf 58.5%
if -1.11999999999999995e64 < x < 1.25000000000000001e154Initial program 37.1%
Taylor expanded in y0 around inf 38.3%
Taylor expanded in y5 around inf 32.7%
neg-mul-132.7%
distribute-lft-neg-in32.7%
Simplified32.7%
if 1.25000000000000001e154 < x Initial program 27.0%
Taylor expanded in x around inf 48.6%
Taylor expanded in i around -inf 70.8%
mul-1-neg70.8%
Simplified70.8%
Final simplification47.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -2.5e+34)
(* y0 (* j (- (* y3 y5) (* x b))))
(if (<= j 1.9e-105)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= j 6e-13)
(* y0 (* b (- (* z k) (* x j))))
(* y1 (* y4 (- (* k y2) (* j y3))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -2.5e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= 1.9e-105) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (j <= 6e-13) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-2.5d+34)) then
tmp = y0 * (j * ((y3 * y5) - (x * b)))
else if (j <= 1.9d-105) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (j <= 6d-13) then
tmp = y0 * (b * ((z * k) - (x * j)))
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -2.5e+34) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (j <= 1.9e-105) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (j <= 6e-13) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -2.5e+34: tmp = y0 * (j * ((y3 * y5) - (x * b))) elif j <= 1.9e-105: tmp = x * (y2 * ((c * y0) - (a * y1))) elif j <= 6e-13: tmp = y0 * (b * ((z * k) - (x * j))) else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -2.5e+34) tmp = Float64(y0 * Float64(j * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (j <= 1.9e-105) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (j <= 6e-13) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -2.5e+34) tmp = y0 * (j * ((y3 * y5) - (x * b))); elseif (j <= 1.9e-105) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (j <= 6e-13) tmp = y0 * (b * ((z * k) - (x * j))); else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -2.5e+34], N[(y0 * N[(j * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.9e-105], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6e-13], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -2.5 \cdot 10^{+34}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;j \leq 1.9 \cdot 10^{-105}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 6 \cdot 10^{-13}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if j < -2.4999999999999999e34Initial program 18.3%
Taylor expanded in y0 around inf 43.6%
Taylor expanded in j around inf 55.9%
if -2.4999999999999999e34 < j < 1.8999999999999999e-105Initial program 37.8%
Taylor expanded in y2 around inf 41.5%
Taylor expanded in x around inf 35.2%
if 1.8999999999999999e-105 < j < 5.99999999999999968e-13Initial program 25.5%
Taylor expanded in y0 around inf 46.1%
Taylor expanded in b around inf 41.1%
if 5.99999999999999968e-13 < j Initial program 40.6%
Taylor expanded in y1 around -inf 44.3%
associate-*r*44.3%
neg-mul-144.3%
*-commutative44.3%
*-commutative44.3%
*-commutative44.3%
Simplified44.3%
Taylor expanded in y4 around inf 56.6%
Final simplification45.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -1.25e+52)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= y2 -2.9e-122)
(* x (* y (- (* a b) (* c i))))
(if (<= y2 2.6e+123)
(* y0 (* j (- (* y3 y5) (* x b))))
(* y0 (* (* k y2) (- y5)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.25e+52) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y2 <= -2.9e-122) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y2 <= 2.6e+123) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-1.25d+52)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (y2 <= (-2.9d-122)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (y2 <= 2.6d+123) then
tmp = y0 * (j * ((y3 * y5) - (x * b)))
else
tmp = y0 * ((k * y2) * -y5)
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.25e+52) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y2 <= -2.9e-122) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y2 <= 2.6e+123) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -1.25e+52: tmp = x * (y2 * ((c * y0) - (a * y1))) elif y2 <= -2.9e-122: tmp = x * (y * ((a * b) - (c * i))) elif y2 <= 2.6e+123: tmp = y0 * (j * ((y3 * y5) - (x * b))) else: tmp = y0 * ((k * y2) * -y5) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -1.25e+52) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (y2 <= -2.9e-122) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (y2 <= 2.6e+123) tmp = Float64(y0 * Float64(j * Float64(Float64(y3 * y5) - Float64(x * b)))); else tmp = Float64(y0 * Float64(Float64(k * y2) * Float64(-y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -1.25e+52) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (y2 <= -2.9e-122) tmp = x * (y * ((a * b) - (c * i))); elseif (y2 <= 2.6e+123) tmp = y0 * (j * ((y3 * y5) - (x * b))); else tmp = y0 * ((k * y2) * -y5); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -1.25e+52], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.9e-122], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.6e+123], N[(y0 * N[(j * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(k * y2), $MachinePrecision] * (-y5)), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -1.25 \cdot 10^{+52}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq -2.9 \cdot 10^{-122}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;y2 \leq 2.6 \cdot 10^{+123}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(k \cdot y2\right) \cdot \left(-y5\right)\right)\\
\end{array}
\end{array}
if y2 < -1.25e52Initial program 33.5%
Taylor expanded in y2 around inf 54.8%
Taylor expanded in x around inf 46.8%
if -1.25e52 < y2 < -2.9000000000000002e-122Initial program 37.9%
Taylor expanded in x around inf 24.7%
Taylor expanded in y around inf 35.3%
if -2.9000000000000002e-122 < y2 < 2.59999999999999985e123Initial program 33.7%
Taylor expanded in y0 around inf 41.8%
Taylor expanded in j around inf 42.5%
if 2.59999999999999985e123 < y2 Initial program 25.0%
Taylor expanded in y0 around inf 44.5%
Taylor expanded in y5 around inf 61.3%
neg-mul-161.3%
distribute-lft-neg-in61.3%
Simplified61.3%
Taylor expanded in k around inf 61.4%
Final simplification45.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -3.1e+196)
(* c (* x (* y0 y2)))
(if (<= y2 -2.55e-200)
(* b (* y (* x a)))
(if (<= y2 3.4e+116)
(* b (* x (* y0 (- j))))
(* y0 (* (* k y2) (- y5)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.1e+196) {
tmp = c * (x * (y0 * y2));
} else if (y2 <= -2.55e-200) {
tmp = b * (y * (x * a));
} else if (y2 <= 3.4e+116) {
tmp = b * (x * (y0 * -j));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-3.1d+196)) then
tmp = c * (x * (y0 * y2))
else if (y2 <= (-2.55d-200)) then
tmp = b * (y * (x * a))
else if (y2 <= 3.4d+116) then
tmp = b * (x * (y0 * -j))
else
tmp = y0 * ((k * y2) * -y5)
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.1e+196) {
tmp = c * (x * (y0 * y2));
} else if (y2 <= -2.55e-200) {
tmp = b * (y * (x * a));
} else if (y2 <= 3.4e+116) {
tmp = b * (x * (y0 * -j));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -3.1e+196: tmp = c * (x * (y0 * y2)) elif y2 <= -2.55e-200: tmp = b * (y * (x * a)) elif y2 <= 3.4e+116: tmp = b * (x * (y0 * -j)) else: tmp = y0 * ((k * y2) * -y5) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -3.1e+196) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y2 <= -2.55e-200) tmp = Float64(b * Float64(y * Float64(x * a))); elseif (y2 <= 3.4e+116) tmp = Float64(b * Float64(x * Float64(y0 * Float64(-j)))); else tmp = Float64(y0 * Float64(Float64(k * y2) * Float64(-y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -3.1e+196) tmp = c * (x * (y0 * y2)); elseif (y2 <= -2.55e-200) tmp = b * (y * (x * a)); elseif (y2 <= 3.4e+116) tmp = b * (x * (y0 * -j)); else tmp = y0 * ((k * y2) * -y5); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -3.1e+196], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.55e-200], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.4e+116], N[(b * N[(x * N[(y0 * (-j)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(k * y2), $MachinePrecision] * (-y5)), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -3.1 \cdot 10^{+196}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq -2.55 \cdot 10^{-200}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\
\mathbf{elif}\;y2 \leq 3.4 \cdot 10^{+116}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y0 \cdot \left(-j\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(k \cdot y2\right) \cdot \left(-y5\right)\right)\\
\end{array}
\end{array}
if y2 < -3.1000000000000001e196Initial program 35.5%
Taylor expanded in y2 around inf 62.1%
Taylor expanded in x around inf 50.8%
Taylor expanded in c around inf 42.5%
if -3.1000000000000001e196 < y2 < -2.5499999999999999e-200Initial program 38.9%
Taylor expanded in x around inf 34.2%
Taylor expanded in b around inf 30.3%
Taylor expanded in a around inf 25.3%
associate-*r*27.9%
*-commutative27.9%
Simplified27.9%
if -2.5499999999999999e-200 < y2 < 3.40000000000000023e116Initial program 30.8%
Taylor expanded in x around inf 35.2%
Taylor expanded in b around inf 39.2%
Taylor expanded in a around 0 33.0%
neg-mul-133.0%
distribute-rgt-neg-in33.0%
Simplified33.0%
if 3.40000000000000023e116 < y2 Initial program 25.6%
Taylor expanded in y0 around inf 43.7%
Taylor expanded in y5 around inf 61.8%
neg-mul-161.8%
distribute-lft-neg-in61.8%
Simplified61.8%
Taylor expanded in k around inf 59.3%
Final simplification36.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -3.5e+197)
(* c (* x (* y0 y2)))
(if (<= y2 -1.85e-199)
(* b (* y (* x a)))
(if (<= y2 1.85e+27)
(* b (* x (* y0 (- j))))
(* y0 (* k (* y2 (- y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.5e+197) {
tmp = c * (x * (y0 * y2));
} else if (y2 <= -1.85e-199) {
tmp = b * (y * (x * a));
} else if (y2 <= 1.85e+27) {
tmp = b * (x * (y0 * -j));
} else {
tmp = y0 * (k * (y2 * -y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-3.5d+197)) then
tmp = c * (x * (y0 * y2))
else if (y2 <= (-1.85d-199)) then
tmp = b * (y * (x * a))
else if (y2 <= 1.85d+27) then
tmp = b * (x * (y0 * -j))
else
tmp = y0 * (k * (y2 * -y5))
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.5e+197) {
tmp = c * (x * (y0 * y2));
} else if (y2 <= -1.85e-199) {
tmp = b * (y * (x * a));
} else if (y2 <= 1.85e+27) {
tmp = b * (x * (y0 * -j));
} else {
tmp = y0 * (k * (y2 * -y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -3.5e+197: tmp = c * (x * (y0 * y2)) elif y2 <= -1.85e-199: tmp = b * (y * (x * a)) elif y2 <= 1.85e+27: tmp = b * (x * (y0 * -j)) else: tmp = y0 * (k * (y2 * -y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -3.5e+197) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y2 <= -1.85e-199) tmp = Float64(b * Float64(y * Float64(x * a))); elseif (y2 <= 1.85e+27) tmp = Float64(b * Float64(x * Float64(y0 * Float64(-j)))); else tmp = Float64(y0 * Float64(k * Float64(y2 * Float64(-y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -3.5e+197) tmp = c * (x * (y0 * y2)); elseif (y2 <= -1.85e-199) tmp = b * (y * (x * a)); elseif (y2 <= 1.85e+27) tmp = b * (x * (y0 * -j)); else tmp = y0 * (k * (y2 * -y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -3.5e+197], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.85e-199], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.85e+27], N[(b * N[(x * N[(y0 * (-j)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(k * N[(y2 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -3.5 \cdot 10^{+197}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq -1.85 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\
\mathbf{elif}\;y2 \leq 1.85 \cdot 10^{+27}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y0 \cdot \left(-j\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\
\end{array}
\end{array}
if y2 < -3.49999999999999999e197Initial program 35.5%
Taylor expanded in y2 around inf 62.1%
Taylor expanded in x around inf 50.8%
Taylor expanded in c around inf 42.5%
if -3.49999999999999999e197 < y2 < -1.85e-199Initial program 38.9%
Taylor expanded in x around inf 34.2%
Taylor expanded in b around inf 30.3%
Taylor expanded in a around inf 25.3%
associate-*r*27.9%
*-commutative27.9%
Simplified27.9%
if -1.85e-199 < y2 < 1.85000000000000001e27Initial program 31.0%
Taylor expanded in x around inf 34.4%
Taylor expanded in b around inf 40.8%
Taylor expanded in a around 0 34.5%
neg-mul-134.5%
distribute-rgt-neg-in34.5%
Simplified34.5%
if 1.85000000000000001e27 < y2 Initial program 26.9%
Taylor expanded in y0 around inf 42.4%
Taylor expanded in y5 around inf 53.3%
neg-mul-153.3%
distribute-lft-neg-in53.3%
Simplified53.3%
Taylor expanded in k around inf 42.7%
mul-1-neg42.7%
distribute-rgt-neg-in42.7%
distribute-rgt-neg-in42.7%
Simplified42.7%
Final simplification35.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -3.1e+196)
(* c (* x (* y0 y2)))
(if (<= y2 -4.2e-200)
(* b (* y (* x a)))
(if (<= y2 1.86e+115)
(* b (* x (* j (- y0))))
(* (* y2 (- y5)) (* k y0))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.1e+196) {
tmp = c * (x * (y0 * y2));
} else if (y2 <= -4.2e-200) {
tmp = b * (y * (x * a));
} else if (y2 <= 1.86e+115) {
tmp = b * (x * (j * -y0));
} else {
tmp = (y2 * -y5) * (k * y0);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-3.1d+196)) then
tmp = c * (x * (y0 * y2))
else if (y2 <= (-4.2d-200)) then
tmp = b * (y * (x * a))
else if (y2 <= 1.86d+115) then
tmp = b * (x * (j * -y0))
else
tmp = (y2 * -y5) * (k * y0)
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.1e+196) {
tmp = c * (x * (y0 * y2));
} else if (y2 <= -4.2e-200) {
tmp = b * (y * (x * a));
} else if (y2 <= 1.86e+115) {
tmp = b * (x * (j * -y0));
} else {
tmp = (y2 * -y5) * (k * y0);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -3.1e+196: tmp = c * (x * (y0 * y2)) elif y2 <= -4.2e-200: tmp = b * (y * (x * a)) elif y2 <= 1.86e+115: tmp = b * (x * (j * -y0)) else: tmp = (y2 * -y5) * (k * y0) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -3.1e+196) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y2 <= -4.2e-200) tmp = Float64(b * Float64(y * Float64(x * a))); elseif (y2 <= 1.86e+115) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(Float64(y2 * Float64(-y5)) * Float64(k * y0)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -3.1e+196) tmp = c * (x * (y0 * y2)); elseif (y2 <= -4.2e-200) tmp = b * (y * (x * a)); elseif (y2 <= 1.86e+115) tmp = b * (x * (j * -y0)); else tmp = (y2 * -y5) * (k * y0); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -3.1e+196], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -4.2e-200], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.86e+115], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y2 * (-y5)), $MachinePrecision] * N[(k * y0), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -3.1 \cdot 10^{+196}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq -4.2 \cdot 10^{-200}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\
\mathbf{elif}\;y2 \leq 1.86 \cdot 10^{+115}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(y2 \cdot \left(-y5\right)\right) \cdot \left(k \cdot y0\right)\\
\end{array}
\end{array}
if y2 < -3.1000000000000001e196Initial program 35.5%
Taylor expanded in y2 around inf 62.1%
Taylor expanded in x around inf 50.8%
Taylor expanded in c around inf 42.5%
if -3.1000000000000001e196 < y2 < -4.1999999999999998e-200Initial program 38.9%
Taylor expanded in x around inf 34.2%
Taylor expanded in b around inf 30.3%
Taylor expanded in a around inf 25.3%
associate-*r*27.9%
*-commutative27.9%
Simplified27.9%
if -4.1999999999999998e-200 < y2 < 1.86e115Initial program 30.8%
Taylor expanded in x around inf 35.2%
Taylor expanded in b around inf 39.2%
Taylor expanded in a around 0 33.0%
neg-mul-133.0%
distribute-rgt-neg-in33.0%
Simplified33.0%
if 1.86e115 < y2 Initial program 25.6%
Taylor expanded in y0 around inf 43.7%
Taylor expanded in y5 around inf 61.8%
neg-mul-161.8%
distribute-lft-neg-in61.8%
Simplified61.8%
Taylor expanded in k around inf 47.0%
mul-1-neg47.0%
associate-*r*47.1%
*-commutative47.1%
Simplified47.1%
Final simplification35.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -0.76)
(* b (* (* x y) a))
(if (<= y -5e-205)
(* (* y0 y2) (* x c))
(if (<= y 4.2e+74) (* y0 (* j (* y3 y5))) (* x (* a (* y b)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -0.76) {
tmp = b * ((x * y) * a);
} else if (y <= -5e-205) {
tmp = (y0 * y2) * (x * c);
} else if (y <= 4.2e+74) {
tmp = y0 * (j * (y3 * y5));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-0.76d0)) then
tmp = b * ((x * y) * a)
else if (y <= (-5d-205)) then
tmp = (y0 * y2) * (x * c)
else if (y <= 4.2d+74) then
tmp = y0 * (j * (y3 * y5))
else
tmp = x * (a * (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -0.76) {
tmp = b * ((x * y) * a);
} else if (y <= -5e-205) {
tmp = (y0 * y2) * (x * c);
} else if (y <= 4.2e+74) {
tmp = y0 * (j * (y3 * y5));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -0.76: tmp = b * ((x * y) * a) elif y <= -5e-205: tmp = (y0 * y2) * (x * c) elif y <= 4.2e+74: tmp = y0 * (j * (y3 * y5)) else: tmp = x * (a * (y * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -0.76) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -5e-205) tmp = Float64(Float64(y0 * y2) * Float64(x * c)); elseif (y <= 4.2e+74) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); else tmp = Float64(x * Float64(a * Float64(y * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -0.76) tmp = b * ((x * y) * a); elseif (y <= -5e-205) tmp = (y0 * y2) * (x * c); elseif (y <= 4.2e+74) tmp = y0 * (j * (y3 * y5)); else tmp = x * (a * (y * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -0.76], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -5e-205], N[(N[(y0 * y2), $MachinePrecision] * N[(x * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.2e+74], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(a * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -0.76:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -5 \cdot 10^{-205}:\\
\;\;\;\;\left(y0 \cdot y2\right) \cdot \left(x \cdot c\right)\\
\mathbf{elif}\;y \leq 4.2 \cdot 10^{+74}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b\right)\right)\\
\end{array}
\end{array}
if y < -0.76000000000000001Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -0.76000000000000001 < y < -5.00000000000000001e-205Initial program 40.6%
Taylor expanded in y2 around inf 47.7%
Taylor expanded in x around inf 43.5%
Taylor expanded in c around inf 29.9%
associate-*r*31.5%
*-commutative31.5%
Simplified31.5%
if -5.00000000000000001e-205 < y < 4.1999999999999998e74Initial program 39.7%
Taylor expanded in y0 around inf 45.3%
Taylor expanded in y5 around inf 36.8%
neg-mul-136.8%
distribute-lft-neg-in36.8%
Simplified36.8%
Taylor expanded in k around 0 24.3%
if 4.1999999999999998e74 < y Initial program 33.3%
Taylor expanded in x around inf 31.5%
Taylor expanded in y around inf 48.9%
Taylor expanded in a around inf 43.7%
Final simplification32.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -2600.0)
(* b (* (* x y) a))
(if (<= y -1.05e-240)
(* c (* x (* y0 y2)))
(if (<= y 1.3e+81) (* y0 (* j (* y3 y5))) (* x (* a (* y b)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -2600.0) {
tmp = b * ((x * y) * a);
} else if (y <= -1.05e-240) {
tmp = c * (x * (y0 * y2));
} else if (y <= 1.3e+81) {
tmp = y0 * (j * (y3 * y5));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-2600.0d0)) then
tmp = b * ((x * y) * a)
else if (y <= (-1.05d-240)) then
tmp = c * (x * (y0 * y2))
else if (y <= 1.3d+81) then
tmp = y0 * (j * (y3 * y5))
else
tmp = x * (a * (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -2600.0) {
tmp = b * ((x * y) * a);
} else if (y <= -1.05e-240) {
tmp = c * (x * (y0 * y2));
} else if (y <= 1.3e+81) {
tmp = y0 * (j * (y3 * y5));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -2600.0: tmp = b * ((x * y) * a) elif y <= -1.05e-240: tmp = c * (x * (y0 * y2)) elif y <= 1.3e+81: tmp = y0 * (j * (y3 * y5)) else: tmp = x * (a * (y * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -2600.0) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -1.05e-240) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y <= 1.3e+81) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); else tmp = Float64(x * Float64(a * Float64(y * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -2600.0) tmp = b * ((x * y) * a); elseif (y <= -1.05e-240) tmp = c * (x * (y0 * y2)); elseif (y <= 1.3e+81) tmp = y0 * (j * (y3 * y5)); else tmp = x * (a * (y * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -2600.0], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.05e-240], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.3e+81], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(a * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2600:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -1.05 \cdot 10^{-240}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 1.3 \cdot 10^{+81}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b\right)\right)\\
\end{array}
\end{array}
if y < -2600Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -2600 < y < -1.04999999999999997e-240Initial program 39.2%
Taylor expanded in y2 around inf 50.5%
Taylor expanded in x around inf 43.6%
Taylor expanded in c around inf 31.4%
if -1.04999999999999997e-240 < y < 1.29999999999999996e81Initial program 40.5%
Taylor expanded in y0 around inf 42.2%
Taylor expanded in y5 around inf 36.3%
neg-mul-136.3%
distribute-lft-neg-in36.3%
Simplified36.3%
Taylor expanded in k around 0 23.8%
if 1.29999999999999996e81 < y Initial program 33.3%
Taylor expanded in x around inf 31.5%
Taylor expanded in y around inf 48.9%
Taylor expanded in a around inf 43.7%
Final simplification32.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -3800.0)
(* b (* (* x y) a))
(if (<= y -4.4e-243)
(* c (* x (* y0 y2)))
(if (<= y 4.2e+79) (* j (* y0 (* y3 y5))) (* x (* a (* y b)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -3800.0) {
tmp = b * ((x * y) * a);
} else if (y <= -4.4e-243) {
tmp = c * (x * (y0 * y2));
} else if (y <= 4.2e+79) {
tmp = j * (y0 * (y3 * y5));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-3800.0d0)) then
tmp = b * ((x * y) * a)
else if (y <= (-4.4d-243)) then
tmp = c * (x * (y0 * y2))
else if (y <= 4.2d+79) then
tmp = j * (y0 * (y3 * y5))
else
tmp = x * (a * (y * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -3800.0) {
tmp = b * ((x * y) * a);
} else if (y <= -4.4e-243) {
tmp = c * (x * (y0 * y2));
} else if (y <= 4.2e+79) {
tmp = j * (y0 * (y3 * y5));
} else {
tmp = x * (a * (y * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -3800.0: tmp = b * ((x * y) * a) elif y <= -4.4e-243: tmp = c * (x * (y0 * y2)) elif y <= 4.2e+79: tmp = j * (y0 * (y3 * y5)) else: tmp = x * (a * (y * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -3800.0) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -4.4e-243) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y <= 4.2e+79) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); else tmp = Float64(x * Float64(a * Float64(y * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -3800.0) tmp = b * ((x * y) * a); elseif (y <= -4.4e-243) tmp = c * (x * (y0 * y2)); elseif (y <= 4.2e+79) tmp = j * (y0 * (y3 * y5)); else tmp = x * (a * (y * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -3800.0], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -4.4e-243], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.2e+79], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(a * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3800:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -4.4 \cdot 10^{-243}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 4.2 \cdot 10^{+79}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b\right)\right)\\
\end{array}
\end{array}
if y < -3800Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -3800 < y < -4.3999999999999998e-243Initial program 39.2%
Taylor expanded in y2 around inf 50.5%
Taylor expanded in x around inf 43.6%
Taylor expanded in c around inf 31.4%
if -4.3999999999999998e-243 < y < 4.20000000000000016e79Initial program 40.5%
Taylor expanded in y0 around inf 42.2%
Taylor expanded in y5 around inf 36.3%
neg-mul-136.3%
distribute-lft-neg-in36.3%
Simplified36.3%
Taylor expanded in k around 0 21.8%
if 4.20000000000000016e79 < y Initial program 33.3%
Taylor expanded in x around inf 31.5%
Taylor expanded in y around inf 48.9%
Taylor expanded in a around inf 43.7%
Final simplification31.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -245000.0)
(* b (* (* x y) a))
(if (<= y -7.2e-247)
(* c (* x (* y0 y2)))
(if (<= y 1.85e+96) (* j (* y0 (* y3 y5))) (* b (* x (* y a)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -245000.0) {
tmp = b * ((x * y) * a);
} else if (y <= -7.2e-247) {
tmp = c * (x * (y0 * y2));
} else if (y <= 1.85e+96) {
tmp = j * (y0 * (y3 * y5));
} else {
tmp = b * (x * (y * a));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-245000.0d0)) then
tmp = b * ((x * y) * a)
else if (y <= (-7.2d-247)) then
tmp = c * (x * (y0 * y2))
else if (y <= 1.85d+96) then
tmp = j * (y0 * (y3 * y5))
else
tmp = b * (x * (y * a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -245000.0) {
tmp = b * ((x * y) * a);
} else if (y <= -7.2e-247) {
tmp = c * (x * (y0 * y2));
} else if (y <= 1.85e+96) {
tmp = j * (y0 * (y3 * y5));
} else {
tmp = b * (x * (y * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -245000.0: tmp = b * ((x * y) * a) elif y <= -7.2e-247: tmp = c * (x * (y0 * y2)) elif y <= 1.85e+96: tmp = j * (y0 * (y3 * y5)) else: tmp = b * (x * (y * a)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -245000.0) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -7.2e-247) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y <= 1.85e+96) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); else tmp = Float64(b * Float64(x * Float64(y * a))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -245000.0) tmp = b * ((x * y) * a); elseif (y <= -7.2e-247) tmp = c * (x * (y0 * y2)); elseif (y <= 1.85e+96) tmp = j * (y0 * (y3 * y5)); else tmp = b * (x * (y * a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -245000.0], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -7.2e-247], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.85e+96], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -245000:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -7.2 \cdot 10^{-247}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 1.85 \cdot 10^{+96}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\end{array}
\end{array}
if y < -245000Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -245000 < y < -7.1999999999999994e-247Initial program 39.2%
Taylor expanded in y2 around inf 50.5%
Taylor expanded in x around inf 43.6%
Taylor expanded in c around inf 31.4%
if -7.1999999999999994e-247 < y < 1.84999999999999996e96Initial program 40.3%
Taylor expanded in y0 around inf 42.0%
Taylor expanded in y5 around inf 36.2%
neg-mul-136.2%
distribute-lft-neg-in36.2%
Simplified36.2%
Taylor expanded in k around 0 22.2%
if 1.84999999999999996e96 < y Initial program 33.3%
Taylor expanded in x around inf 28.7%
Taylor expanded in b around inf 37.1%
Taylor expanded in a around inf 37.0%
Final simplification30.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -2.05e-54)
(* c (* y2 (- (* x y0) (* t y4))))
(if (<= y2 9e+116)
(* b (* x (- (* y a) (* j y0))))
(* y0 (* (* k y2) (- y5))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.05e-54) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y2 <= 9e+116) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-2.05d-54)) then
tmp = c * (y2 * ((x * y0) - (t * y4)))
else if (y2 <= 9d+116) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = y0 * ((k * y2) * -y5)
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.05e-54) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y2 <= 9e+116) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -2.05e-54: tmp = c * (y2 * ((x * y0) - (t * y4))) elif y2 <= 9e+116: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = y0 * ((k * y2) * -y5) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -2.05e-54) tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))); elseif (y2 <= 9e+116) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(y0 * Float64(Float64(k * y2) * Float64(-y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -2.05e-54) tmp = c * (y2 * ((x * y0) - (t * y4))); elseif (y2 <= 9e+116) tmp = b * (x * ((y * a) - (j * y0))); else tmp = y0 * ((k * y2) * -y5); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -2.05e-54], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9e+116], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(k * y2), $MachinePrecision] * (-y5)), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2.05 \cdot 10^{-54}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 9 \cdot 10^{+116}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(k \cdot y2\right) \cdot \left(-y5\right)\right)\\
\end{array}
\end{array}
if y2 < -2.05e-54Initial program 33.4%
Taylor expanded in y2 around inf 47.7%
Taylor expanded in c around inf 41.5%
if -2.05e-54 < y2 < 9.00000000000000032e116Initial program 34.7%
Taylor expanded in x around inf 36.9%
Taylor expanded in b around inf 38.8%
if 9.00000000000000032e116 < y2 Initial program 25.6%
Taylor expanded in y0 around inf 43.7%
Taylor expanded in y5 around inf 61.8%
neg-mul-161.8%
distribute-lft-neg-in61.8%
Simplified61.8%
Taylor expanded in k around inf 59.3%
Final simplification42.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -6e-51)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y2 1.52e+117)
(* b (* x (- (* y a) (* j y0))))
(* y0 (* (* k y2) (- y5))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -6e-51) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y2 <= 1.52e+117) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-6d-51)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y2 <= 1.52d+117) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = y0 * ((k * y2) * -y5)
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -6e-51) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y2 <= 1.52e+117) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -6e-51: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y2 <= 1.52e+117: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = y0 * ((k * y2) * -y5) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -6e-51) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y2 <= 1.52e+117) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(y0 * Float64(Float64(k * y2) * Float64(-y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -6e-51) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y2 <= 1.52e+117) tmp = b * (x * ((y * a) - (j * y0))); else tmp = y0 * ((k * y2) * -y5); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -6e-51], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.52e+117], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(k * y2), $MachinePrecision] * (-y5)), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -6 \cdot 10^{-51}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 1.52 \cdot 10^{+117}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(k \cdot y2\right) \cdot \left(-y5\right)\right)\\
\end{array}
\end{array}
if y2 < -6.00000000000000005e-51Initial program 33.4%
Taylor expanded in y0 around inf 41.6%
Taylor expanded in c around inf 39.2%
if -6.00000000000000005e-51 < y2 < 1.52e117Initial program 34.7%
Taylor expanded in x around inf 36.9%
Taylor expanded in b around inf 38.8%
if 1.52e117 < y2 Initial program 25.6%
Taylor expanded in y0 around inf 43.7%
Taylor expanded in y5 around inf 61.8%
neg-mul-161.8%
distribute-lft-neg-in61.8%
Simplified61.8%
Taylor expanded in k around inf 59.3%
Final simplification42.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -2.9e+220)
(* y1 (* k (* y2 y4)))
(if (<= y2 2e+117)
(* b (* x (- (* y a) (* j y0))))
(* y0 (* (* k y2) (- y5))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.9e+220) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= 2e+117) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-2.9d+220)) then
tmp = y1 * (k * (y2 * y4))
else if (y2 <= 2d+117) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = y0 * ((k * y2) * -y5)
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.9e+220) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= 2e+117) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y0 * ((k * y2) * -y5);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -2.9e+220: tmp = y1 * (k * (y2 * y4)) elif y2 <= 2e+117: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = y0 * ((k * y2) * -y5) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -2.9e+220) tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); elseif (y2 <= 2e+117) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(y0 * Float64(Float64(k * y2) * Float64(-y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -2.9e+220) tmp = y1 * (k * (y2 * y4)); elseif (y2 <= 2e+117) tmp = b * (x * ((y * a) - (j * y0))); else tmp = y0 * ((k * y2) * -y5); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -2.9e+220], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2e+117], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(k * y2), $MachinePrecision] * (-y5)), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2.9 \cdot 10^{+220}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 2 \cdot 10^{+117}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(k \cdot y2\right) \cdot \left(-y5\right)\right)\\
\end{array}
\end{array}
if y2 < -2.89999999999999991e220Initial program 31.2%
Taylor expanded in y2 around inf 65.9%
Taylor expanded in y1 around inf 59.5%
Taylor expanded in a around 0 42.9%
if -2.89999999999999991e220 < y2 < 2.0000000000000001e117Initial program 34.7%
Taylor expanded in x around inf 36.0%
Taylor expanded in b around inf 36.3%
if 2.0000000000000001e117 < y2 Initial program 25.6%
Taylor expanded in y0 around inf 43.7%
Taylor expanded in y5 around inf 61.8%
neg-mul-161.8%
distribute-lft-neg-in61.8%
Simplified61.8%
Taylor expanded in k around inf 59.3%
Final simplification40.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= b -18000000.0) (not (<= b 9e+84))) (* a (* y (* x b))) (* a (* y1 (* z y3)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((b <= -18000000.0) || !(b <= 9e+84)) {
tmp = a * (y * (x * b));
} else {
tmp = a * (y1 * (z * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((b <= (-18000000.0d0)) .or. (.not. (b <= 9d+84))) then
tmp = a * (y * (x * b))
else
tmp = a * (y1 * (z * y3))
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((b <= -18000000.0) || !(b <= 9e+84)) {
tmp = a * (y * (x * b));
} else {
tmp = a * (y1 * (z * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (b <= -18000000.0) or not (b <= 9e+84): tmp = a * (y * (x * b)) else: tmp = a * (y1 * (z * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((b <= -18000000.0) || !(b <= 9e+84)) tmp = Float64(a * Float64(y * Float64(x * b))); else tmp = Float64(a * Float64(y1 * Float64(z * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((b <= -18000000.0) || ~((b <= 9e+84))) tmp = a * (y * (x * b)); else tmp = a * (y1 * (z * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[b, -18000000.0], N[Not[LessEqual[b, 9e+84]], $MachinePrecision]], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -18000000 \lor \neg \left(b \leq 9 \cdot 10^{+84}\right):\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\end{array}
\end{array}
if b < -1.8e7 or 8.9999999999999994e84 < b Initial program 29.7%
Taylor expanded in x around inf 34.4%
Taylor expanded in b around inf 48.6%
Taylor expanded in a around inf 26.8%
Taylor expanded in b around 0 31.6%
associate-*r*36.6%
Simplified36.6%
if -1.8e7 < b < 8.9999999999999994e84Initial program 35.5%
Taylor expanded in y1 around -inf 41.5%
associate-*r*41.5%
neg-mul-141.5%
*-commutative41.5%
*-commutative41.5%
*-commutative41.5%
Simplified41.5%
Taylor expanded in x around 0 43.2%
mul-1-neg43.2%
distribute-lft-out--43.2%
Simplified43.2%
Taylor expanded in a around inf 18.3%
Final simplification26.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= z -1.22e+92) (not (<= z 7.5e-73))) (* a (* y1 (* z y3))) (* a (* (* x y) b))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((z <= -1.22e+92) || !(z <= 7.5e-73)) {
tmp = a * (y1 * (z * y3));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((z <= (-1.22d+92)) .or. (.not. (z <= 7.5d-73))) then
tmp = a * (y1 * (z * y3))
else
tmp = a * ((x * y) * 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 i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((z <= -1.22e+92) || !(z <= 7.5e-73)) {
tmp = a * (y1 * (z * y3));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (z <= -1.22e+92) or not (z <= 7.5e-73): tmp = a * (y1 * (z * y3)) else: tmp = a * ((x * y) * b) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((z <= -1.22e+92) || !(z <= 7.5e-73)) tmp = Float64(a * Float64(y1 * Float64(z * y3))); else tmp = Float64(a * Float64(Float64(x * y) * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((z <= -1.22e+92) || ~((z <= 7.5e-73))) tmp = a * (y1 * (z * y3)); else tmp = a * ((x * y) * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[z, -1.22e+92], N[Not[LessEqual[z, 7.5e-73]], $MachinePrecision]], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.22 \cdot 10^{+92} \lor \neg \left(z \leq 7.5 \cdot 10^{-73}\right):\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if z < -1.22e92 or 7.5e-73 < z Initial program 30.2%
Taylor expanded in y1 around -inf 38.0%
associate-*r*38.0%
neg-mul-138.0%
*-commutative38.0%
*-commutative38.0%
*-commutative38.0%
Simplified38.0%
Taylor expanded in x around 0 39.9%
mul-1-neg39.9%
distribute-lft-out--39.9%
Simplified39.9%
Taylor expanded in a around inf 28.3%
if -1.22e92 < z < 7.5e-73Initial program 35.1%
Taylor expanded in x around inf 36.9%
Taylor expanded in b around inf 37.4%
Taylor expanded in a around inf 20.9%
Taylor expanded in b around 0 21.5%
Final simplification24.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y -5.2) (* b (* (* x y) a)) (if (<= y 2.05e+96) (* c (* x (* y0 y2))) (* b (* x (* y a))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -5.2) {
tmp = b * ((x * y) * a);
} else if (y <= 2.05e+96) {
tmp = c * (x * (y0 * y2));
} else {
tmp = b * (x * (y * a));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-5.2d0)) then
tmp = b * ((x * y) * a)
else if (y <= 2.05d+96) then
tmp = c * (x * (y0 * y2))
else
tmp = b * (x * (y * a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -5.2) {
tmp = b * ((x * y) * a);
} else if (y <= 2.05e+96) {
tmp = c * (x * (y0 * y2));
} else {
tmp = b * (x * (y * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -5.2: tmp = b * ((x * y) * a) elif y <= 2.05e+96: tmp = c * (x * (y0 * y2)) else: tmp = b * (x * (y * a)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -5.2) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= 2.05e+96) tmp = Float64(c * Float64(x * Float64(y0 * y2))); else tmp = Float64(b * Float64(x * Float64(y * a))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -5.2) tmp = b * ((x * y) * a); elseif (y <= 2.05e+96) tmp = c * (x * (y0 * y2)); else tmp = b * (x * (y * a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -5.2], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.05e+96], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -5.2:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq 2.05 \cdot 10^{+96}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\end{array}
\end{array}
if y < -5.20000000000000018Initial program 12.6%
Taylor expanded in x around inf 23.4%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 39.8%
if -5.20000000000000018 < y < 2.04999999999999999e96Initial program 39.9%
Taylor expanded in y2 around inf 41.4%
Taylor expanded in x around inf 34.1%
Taylor expanded in c around inf 22.7%
if 2.04999999999999999e96 < y Initial program 33.3%
Taylor expanded in x around inf 28.7%
Taylor expanded in b around inf 37.1%
Taylor expanded in a around inf 37.0%
Final simplification28.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* (* x y) b)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * ((x * y) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * ((x * y) * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(Float64(x * y) * b)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * ((x * y) * b); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Initial program 32.9%
Taylor expanded in x around inf 35.1%
Taylor expanded in b around inf 33.1%
Taylor expanded in a around inf 18.3%
Taylor expanded in b around 0 19.3%
Final simplification19.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y4 c) (* y5 a)))
(t_2 (- (* x y2) (* z y3)))
(t_3 (- (* y2 t) (* y3 y)))
(t_4 (- (* k y2) (* j y3)))
(t_5 (- (* y4 b) (* y5 i)))
(t_6 (* (- (* j t) (* k y)) t_5))
(t_7 (- (* b a) (* i c)))
(t_8 (* t_7 (- (* y x) (* t z))))
(t_9 (- (* j x) (* k z)))
(t_10 (* (- (* b y0) (* i y1)) t_9))
(t_11 (* t_9 (- (* y0 b) (* i y1))))
(t_12 (- (* y4 y1) (* y5 y0)))
(t_13 (* t_4 t_12))
(t_14 (* (- (* y2 k) (* y3 j)) t_12))
(t_15
(+
(-
(-
(- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
(* (* y5 t) (* i j)))
(- (* t_3 t_1) t_14))
(- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
(t_16
(+
(+
(- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
(+ (* (* y5 a) (* t y2)) t_13))
(-
(* t_2 (- (* c y0) (* a y1)))
(- t_10 (* (- (* y x) (* z t)) t_7)))))
(t_17 (- (* t y2) (* y y3))))
(if (< y4 -7.206256231996481e+60)
(- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
(if (< y4 -3.364603505246317e-66)
(+
(-
(- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
t_10)
(-
(* (- (* y0 c) (* a y1)) t_2)
(- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
(if (< y4 -1.2000065055686116e-105)
t_16
(if (< y4 6.718963124057495e-279)
t_15
(if (< y4 4.77962681403792e-222)
t_16
(if (< y4 2.2852241541266835e-175)
t_15
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(-
(* k (* i (* z y1)))
(+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
(-
(* z (* y3 (* a y1)))
(+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
(* (- (* t j) (* y k)) t_5))
(* t_17 t_1))
t_13)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
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), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_11
real(8) :: t_12
real(8) :: t_13
real(8) :: t_14
real(8) :: t_15
real(8) :: t_16
real(8) :: t_17
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (y4 * c) - (y5 * a)
t_2 = (x * y2) - (z * y3)
t_3 = (y2 * t) - (y3 * y)
t_4 = (k * y2) - (j * y3)
t_5 = (y4 * b) - (y5 * i)
t_6 = ((j * t) - (k * y)) * t_5
t_7 = (b * a) - (i * c)
t_8 = t_7 * ((y * x) - (t * z))
t_9 = (j * x) - (k * z)
t_10 = ((b * y0) - (i * y1)) * t_9
t_11 = t_9 * ((y0 * b) - (i * y1))
t_12 = (y4 * y1) - (y5 * y0)
t_13 = t_4 * t_12
t_14 = ((y2 * k) - (y3 * j)) * t_12
t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
t_17 = (t * y2) - (y * y3)
if (y4 < (-7.206256231996481d+60)) then
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
else if (y4 < (-3.364603505246317d-66)) then
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
else if (y4 < (-1.2000065055686116d-105)) then
tmp = t_16
else if (y4 < 6.718963124057495d-279) then
tmp = t_15
else if (y4 < 4.77962681403792d-222) then
tmp = t_16
else if (y4 < 2.2852241541266835d-175) then
tmp = t_15
else
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
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 j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y4 * c) - (y5 * a) t_2 = (x * y2) - (z * y3) t_3 = (y2 * t) - (y3 * y) t_4 = (k * y2) - (j * y3) t_5 = (y4 * b) - (y5 * i) t_6 = ((j * t) - (k * y)) * t_5 t_7 = (b * a) - (i * c) t_8 = t_7 * ((y * x) - (t * z)) t_9 = (j * x) - (k * z) t_10 = ((b * y0) - (i * y1)) * t_9 t_11 = t_9 * ((y0 * b) - (i * y1)) t_12 = (y4 * y1) - (y5 * y0) t_13 = t_4 * t_12 t_14 = ((y2 * k) - (y3 * j)) * t_12 t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))) t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))) t_17 = (t * y2) - (y * y3) tmp = 0 if y4 < -7.206256231996481e+60: tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14) elif y4 < -3.364603505246317e-66: tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))) elif y4 < -1.2000065055686116e-105: tmp = t_16 elif y4 < 6.718963124057495e-279: tmp = t_15 elif y4 < 4.77962681403792e-222: tmp = t_16 elif y4 < 2.2852241541266835e-175: tmp = t_15 else: tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y4 * c) - Float64(y5 * a)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(Float64(y2 * t) - Float64(y3 * y)) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) t_5 = Float64(Float64(y4 * b) - Float64(y5 * i)) t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5) t_7 = Float64(Float64(b * a) - Float64(i * c)) t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z))) t_9 = Float64(Float64(j * x) - Float64(k * z)) t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9) t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1))) t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0)) t_13 = Float64(t_4 * t_12) t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12) t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a)))))) t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7)))) t_17 = Float64(Float64(t * y2) - Float64(y * y3)) tmp = 0.0 if (y4 < -7.206256231996481e+60) tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14)); elseif (y4 < -3.364603505246317e-66) tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4)))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y4 * c) - (y5 * a); t_2 = (x * y2) - (z * y3); t_3 = (y2 * t) - (y3 * y); t_4 = (k * y2) - (j * y3); t_5 = (y4 * b) - (y5 * i); t_6 = ((j * t) - (k * y)) * t_5; t_7 = (b * a) - (i * c); t_8 = t_7 * ((y * x) - (t * z)); t_9 = (j * x) - (k * z); t_10 = ((b * y0) - (i * y1)) * t_9; t_11 = t_9 * ((y0 * b) - (i * y1)); t_12 = (y4 * y1) - (y5 * y0); t_13 = t_4 * t_12; t_14 = ((y2 * k) - (y3 * j)) * t_12; t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))); t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))); t_17 = (t * y2) - (y * y3); tmp = 0.0; if (y4 < -7.206256231996481e+60) tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14); elseif (y4 < -3.364603505246317e-66) tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot c - y5 \cdot a\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := y2 \cdot t - y3 \cdot y\\
t_4 := k \cdot y2 - j \cdot y3\\
t_5 := y4 \cdot b - y5 \cdot i\\
t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
t_7 := b \cdot a - i \cdot c\\
t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
t_9 := j \cdot x - k \cdot z\\
t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
t_12 := y4 \cdot y1 - y5 \cdot y0\\
t_13 := t\_4 \cdot t\_12\\
t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
t_17 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
\;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\
\mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
\;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\
\mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
\;\;\;\;t\_16\\
\mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
\;\;\;\;t\_15\\
\mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
\;\;\;\;t\_16\\
\mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
\;\;\;\;t\_15\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\
\end{array}
\end{array}
herbie shell --seed 2024137
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:name "Linear.Matrix:det44 from linear-1.19.1.3"
:precision binary64
:alt
(! :herbie-platform default (if (< y4 -7206256231996481000000000000000000000000000000000000000000000) (- (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))))) (- (/ (- (* y2 t) (* y3 y)) (/ 1 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3364603505246317/1000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x))) (* (- (* b y0) (* i y1)) (- (* j x) (* k z)))) (- (* (- (* y0 c) (* a y1)) (- (* x y2) (* z y3))) (- (* (- (* t y2) (* y y3)) (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) (- (* k y2) (* j y3)))))) (if (< y4 -3000016263921529/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 1343792624811499/200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (if (< y4 29872667587737/6250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 4570448308253367/20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (- (* k (* i (* z y1))) (+ (* j (* i (* x y1))) (* y0 (* k (* z b)))))) (- (* z (* y3 (* a y1))) (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3)))))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))))))))
(+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i)))) (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a)))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))