
(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 34 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)))
(t_2 (- (* t j) (* y k)))
(t_3 (- (* x y) (* z t)))
(t_4 (- (* z k) (* x j)))
(t_5 (- (* c i) (* a b)))
(t_6
(*
z
(+
(* k (- (* b y0) (* i y1)))
(+ (* y3 (- (* a y1) (* c y0))) (* t t_5)))))
(t_7 (- (* k y2) (* j y3)))
(t_8 (* b (+ (+ (* a t_3) (* y4 t_2)) (* y0 t_4))))
(t_9 (- (* y1 y4) (* y0 y5))))
(if (<= i -2.6e+172)
(*
i
(+ (* y1 (- (* x j) (* z k))) (- (* y5 (- (* y k) (* t j))) (* c t_3))))
(if (<= i -1.16e+96)
t_8
(if (<= i -1.9e+56)
(*
t
(+
(+ (* z t_5) (* j (- (* b y4) (* i y5))))
(* y2 (- (* a y5) (* c y4)))))
(if (<= i -7400000.0)
(*
x
(+
(+ (* y t_1) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= i -3.3e-46)
t_6
(if (<= i -1.35e-209)
(* y4 (+ (+ (* b t_2) (* y1 t_7)) (* c (- (* y y3) (* t y2)))))
(if (<= i -1.58e-282)
(* y2 (- (* k t_9) (* c (* t y4))))
(if (<= i 4.7e-282)
(*
y0
(+
(+
(* y5 (- (* j y3) (* k y2)))
(* c (- (* x y2) (* z y3))))
(* b t_4)))
(if (<= i 2.75e-163)
t_6
(if (<= i 4.3e-100)
(*
y
(+
(+ (* k (- (* i y5) (* b y4))) (* x t_1))
(* y3 (- (* c y4) (* a y5)))))
(if (<= i 3.3e-47)
(* b (* z (- (* k y0) (* t a))))
(if (<= i 5.4e-24)
(+ (* t_7 t_9) (* c (* y (* y3 y4))))
(if (<= i 1.15e+126)
t_8
(if (<= i 1e+223)
(* c (* t (- (* z i) (* y2 y4))))
(* z (* k (* i (- y1))))))))))))))))))))
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);
double t_2 = (t * j) - (y * k);
double t_3 = (x * y) - (z * t);
double t_4 = (z * k) - (x * j);
double t_5 = (c * i) - (a * b);
double t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)));
double t_7 = (k * y2) - (j * y3);
double t_8 = b * (((a * t_3) + (y4 * t_2)) + (y0 * t_4));
double t_9 = (y1 * y4) - (y0 * y5);
double tmp;
if (i <= -2.6e+172) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_3)));
} else if (i <= -1.16e+96) {
tmp = t_8;
} else if (i <= -1.9e+56) {
tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
} else if (i <= -7400000.0) {
tmp = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (i <= -3.3e-46) {
tmp = t_6;
} else if (i <= -1.35e-209) {
tmp = y4 * (((b * t_2) + (y1 * t_7)) + (c * ((y * y3) - (t * y2))));
} else if (i <= -1.58e-282) {
tmp = y2 * ((k * t_9) - (c * (t * y4)));
} else if (i <= 4.7e-282) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_4));
} else if (i <= 2.75e-163) {
tmp = t_6;
} else if (i <= 4.3e-100) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))));
} else if (i <= 3.3e-47) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (i <= 5.4e-24) {
tmp = (t_7 * t_9) + (c * (y * (y3 * y4)));
} else if (i <= 1.15e+126) {
tmp = t_8;
} else if (i <= 1e+223) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
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) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (a * b) - (c * i)
t_2 = (t * j) - (y * k)
t_3 = (x * y) - (z * t)
t_4 = (z * k) - (x * j)
t_5 = (c * i) - (a * b)
t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)))
t_7 = (k * y2) - (j * y3)
t_8 = b * (((a * t_3) + (y4 * t_2)) + (y0 * t_4))
t_9 = (y1 * y4) - (y0 * y5)
if (i <= (-2.6d+172)) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_3)))
else if (i <= (-1.16d+96)) then
tmp = t_8
else if (i <= (-1.9d+56)) then
tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))))
else if (i <= (-7400000.0d0)) then
tmp = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (i <= (-3.3d-46)) then
tmp = t_6
else if (i <= (-1.35d-209)) then
tmp = y4 * (((b * t_2) + (y1 * t_7)) + (c * ((y * y3) - (t * y2))))
else if (i <= (-1.58d-282)) then
tmp = y2 * ((k * t_9) - (c * (t * y4)))
else if (i <= 4.7d-282) then
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_4))
else if (i <= 2.75d-163) then
tmp = t_6
else if (i <= 4.3d-100) then
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))))
else if (i <= 3.3d-47) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (i <= 5.4d-24) then
tmp = (t_7 * t_9) + (c * (y * (y3 * y4)))
else if (i <= 1.15d+126) then
tmp = t_8
else if (i <= 1d+223) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else
tmp = z * (k * (i * -y1))
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 = (a * b) - (c * i);
double t_2 = (t * j) - (y * k);
double t_3 = (x * y) - (z * t);
double t_4 = (z * k) - (x * j);
double t_5 = (c * i) - (a * b);
double t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)));
double t_7 = (k * y2) - (j * y3);
double t_8 = b * (((a * t_3) + (y4 * t_2)) + (y0 * t_4));
double t_9 = (y1 * y4) - (y0 * y5);
double tmp;
if (i <= -2.6e+172) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_3)));
} else if (i <= -1.16e+96) {
tmp = t_8;
} else if (i <= -1.9e+56) {
tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
} else if (i <= -7400000.0) {
tmp = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (i <= -3.3e-46) {
tmp = t_6;
} else if (i <= -1.35e-209) {
tmp = y4 * (((b * t_2) + (y1 * t_7)) + (c * ((y * y3) - (t * y2))));
} else if (i <= -1.58e-282) {
tmp = y2 * ((k * t_9) - (c * (t * y4)));
} else if (i <= 4.7e-282) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_4));
} else if (i <= 2.75e-163) {
tmp = t_6;
} else if (i <= 4.3e-100) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))));
} else if (i <= 3.3e-47) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (i <= 5.4e-24) {
tmp = (t_7 * t_9) + (c * (y * (y3 * y4)));
} else if (i <= 1.15e+126) {
tmp = t_8;
} else if (i <= 1e+223) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
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) t_2 = (t * j) - (y * k) t_3 = (x * y) - (z * t) t_4 = (z * k) - (x * j) t_5 = (c * i) - (a * b) t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5))) t_7 = (k * y2) - (j * y3) t_8 = b * (((a * t_3) + (y4 * t_2)) + (y0 * t_4)) t_9 = (y1 * y4) - (y0 * y5) tmp = 0 if i <= -2.6e+172: tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_3))) elif i <= -1.16e+96: tmp = t_8 elif i <= -1.9e+56: tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4)))) elif i <= -7400000.0: tmp = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif i <= -3.3e-46: tmp = t_6 elif i <= -1.35e-209: tmp = y4 * (((b * t_2) + (y1 * t_7)) + (c * ((y * y3) - (t * y2)))) elif i <= -1.58e-282: tmp = y2 * ((k * t_9) - (c * (t * y4))) elif i <= 4.7e-282: tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_4)) elif i <= 2.75e-163: tmp = t_6 elif i <= 4.3e-100: tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5)))) elif i <= 3.3e-47: tmp = b * (z * ((k * y0) - (t * a))) elif i <= 5.4e-24: tmp = (t_7 * t_9) + (c * (y * (y3 * y4))) elif i <= 1.15e+126: tmp = t_8 elif i <= 1e+223: tmp = c * (t * ((z * i) - (y2 * y4))) else: tmp = z * (k * (i * -y1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(a * b) - Float64(c * i)) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = Float64(Float64(x * y) - Float64(z * t)) t_4 = Float64(Float64(z * k) - Float64(x * j)) t_5 = Float64(Float64(c * i) - Float64(a * b)) t_6 = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * t_5)))) t_7 = Float64(Float64(k * y2) - Float64(j * y3)) t_8 = Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * t_2)) + Float64(y0 * t_4))) t_9 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) tmp = 0.0 if (i <= -2.6e+172) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * t_3)))); elseif (i <= -1.16e+96) tmp = t_8; elseif (i <= -1.9e+56) tmp = Float64(t * Float64(Float64(Float64(z * t_5) + Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (i <= -7400000.0) tmp = Float64(x * Float64(Float64(Float64(y * t_1) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (i <= -3.3e-46) tmp = t_6; elseif (i <= -1.35e-209) tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * t_7)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (i <= -1.58e-282) tmp = Float64(y2 * Float64(Float64(k * t_9) - Float64(c * Float64(t * y4)))); elseif (i <= 4.7e-282) tmp = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * t_4))); elseif (i <= 2.75e-163) tmp = t_6; elseif (i <= 4.3e-100) tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * t_1)) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (i <= 3.3e-47) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (i <= 5.4e-24) tmp = Float64(Float64(t_7 * t_9) + Float64(c * Float64(y * Float64(y3 * y4)))); elseif (i <= 1.15e+126) tmp = t_8; elseif (i <= 1e+223) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); else tmp = Float64(z * Float64(k * Float64(i * Float64(-y1)))); 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); t_2 = (t * j) - (y * k); t_3 = (x * y) - (z * t); t_4 = (z * k) - (x * j); t_5 = (c * i) - (a * b); t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5))); t_7 = (k * y2) - (j * y3); t_8 = b * (((a * t_3) + (y4 * t_2)) + (y0 * t_4)); t_9 = (y1 * y4) - (y0 * y5); tmp = 0.0; if (i <= -2.6e+172) tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_3))); elseif (i <= -1.16e+96) tmp = t_8; elseif (i <= -1.9e+56) tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4)))); elseif (i <= -7400000.0) tmp = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (i <= -3.3e-46) tmp = t_6; elseif (i <= -1.35e-209) tmp = y4 * (((b * t_2) + (y1 * t_7)) + (c * ((y * y3) - (t * y2)))); elseif (i <= -1.58e-282) tmp = y2 * ((k * t_9) - (c * (t * y4))); elseif (i <= 4.7e-282) tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_4)); elseif (i <= 2.75e-163) tmp = t_6; elseif (i <= 4.3e-100) tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5)))); elseif (i <= 3.3e-47) tmp = b * (z * ((k * y0) - (t * a))); elseif (i <= 5.4e-24) tmp = (t_7 * t_9) + (c * (y * (y3 * y4))); elseif (i <= 1.15e+126) tmp = t_8; elseif (i <= 1e+223) tmp = c * (t * ((z * i) - (y2 * y4))); else tmp = z * (k * (i * -y1)); 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[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2.6e+172], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.16e+96], t$95$8, If[LessEqual[i, -1.9e+56], N[(t * N[(N[(N[(z * t$95$5), $MachinePrecision] + N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -7400000.0], N[(x * N[(N[(N[(y * t$95$1), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.3e-46], t$95$6, If[LessEqual[i, -1.35e-209], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * t$95$7), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.58e-282], N[(y2 * N[(N[(k * t$95$9), $MachinePrecision] - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.7e-282], N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.75e-163], t$95$6, If[LessEqual[i, 4.3e-100], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.3e-47], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 5.4e-24], N[(N[(t$95$7 * t$95$9), $MachinePrecision] + N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.15e+126], t$95$8, If[LessEqual[i, 1e+223], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot b - c \cdot i\\
t_2 := t \cdot j - y \cdot k\\
t_3 := x \cdot y - z \cdot t\\
t_4 := z \cdot k - x \cdot j\\
t_5 := c \cdot i - a \cdot b\\
t_6 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot t\_5\right)\right)\\
t_7 := k \cdot y2 - j \cdot y3\\
t_8 := b \cdot \left(\left(a \cdot t\_3 + y4 \cdot t\_2\right) + y0 \cdot t\_4\right)\\
t_9 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;i \leq -2.6 \cdot 10^{+172}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot t\_3\right)\right)\\
\mathbf{elif}\;i \leq -1.16 \cdot 10^{+96}:\\
\;\;\;\;t\_8\\
\mathbf{elif}\;i \leq -1.9 \cdot 10^{+56}:\\
\;\;\;\;t \cdot \left(\left(z \cdot t\_5 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq -7400000:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_1 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq -3.3 \cdot 10^{-46}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;i \leq -1.35 \cdot 10^{-209}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot t\_7\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq -1.58 \cdot 10^{-282}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_9 - c \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq 4.7 \cdot 10^{-282}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot t\_4\right)\\
\mathbf{elif}\;i \leq 2.75 \cdot 10^{-163}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;i \leq 4.3 \cdot 10^{-100}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot t\_1\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq 3.3 \cdot 10^{-47}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;i \leq 5.4 \cdot 10^{-24}:\\
\;\;\;\;t\_7 \cdot t\_9 + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq 1.15 \cdot 10^{+126}:\\
\;\;\;\;t\_8\\
\mathbf{elif}\;i \leq 10^{+223}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\end{array}
\end{array}
if i < -2.6e172Initial program 31.0%
Taylor expanded in i around -inf 72.8%
if -2.6e172 < i < -1.16000000000000005e96 or 5.40000000000000014e-24 < i < 1.15e126Initial program 34.8%
Taylor expanded in b around inf 65.5%
if -1.16000000000000005e96 < i < -1.89999999999999998e56Initial program 35.6%
Taylor expanded in t around inf 72.3%
if -1.89999999999999998e56 < i < -7.4e6Initial program 44.4%
Taylor expanded in x around inf 77.9%
if -7.4e6 < i < -3.30000000000000013e-46 or 4.7e-282 < i < 2.7499999999999999e-163Initial program 41.6%
Taylor expanded in z around -inf 63.1%
if -3.30000000000000013e-46 < i < -1.34999999999999999e-209Initial program 38.8%
Taylor expanded in y4 around inf 53.5%
if -1.34999999999999999e-209 < i < -1.5800000000000001e-282Initial program 21.4%
Taylor expanded in y4 around inf 36.2%
Taylor expanded in y2 around inf 64.6%
if -1.5800000000000001e-282 < i < 4.7e-282Initial program 55.6%
Taylor expanded in y0 around inf 88.9%
if 2.7499999999999999e-163 < i < 4.29999999999999998e-100Initial program 30.8%
Taylor expanded in y around inf 69.3%
if 4.29999999999999998e-100 < i < 3.30000000000000004e-47Initial program 11.1%
Taylor expanded in b around inf 44.9%
Taylor expanded in z around -inf 68.0%
mul-1-neg68.0%
Simplified68.0%
if 3.30000000000000004e-47 < i < 5.40000000000000014e-24Initial program 0.8%
Taylor expanded in y4 around inf 63.3%
Taylor expanded in y3 around inf 75.8%
if 1.15e126 < i < 1.00000000000000005e223Initial program 15.8%
Taylor expanded in t around inf 36.9%
Taylor expanded in c around inf 58.2%
if 1.00000000000000005e223 < i Initial program 16.7%
Taylor expanded in z around -inf 33.5%
Taylor expanded in k around inf 42.0%
Taylor expanded in i around inf 59.4%
Final simplification65.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t j) (* y k)))
(t_2 (- (* x y) (* z t)))
(t_3
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) t_2)
(* (- (* x j) (* z k)) (- (* i y1) (* b y0))))
(* (- (* c y0) (* a y1)) (- (* x y2) (* z y3))))
(* t_1 (- (* b y4) (* i y5))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_3 INFINITY)
t_3
(* b (+ (+ (* a t_2) (* y4 t_1)) (* y0 (- (* z k) (* x 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 = (t * j) - (y * k);
double t_2 = (x * y) - (z * t);
double t_3 = (((((((a * b) - (c * i)) * t_2) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= ((double) INFINITY)) {
tmp = t_3;
} else {
tmp = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * 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 = (t * j) - (y * k);
double t_2 = (x * y) - (z * t);
double t_3 = (((((((a * b) - (c * i)) * t_2) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= Double.POSITIVE_INFINITY) {
tmp = t_3;
} else {
tmp = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * j) - (y * k) t_2 = (x * y) - (z * t) t_3 = (((((((a * b) - (c * i)) * t_2) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_3 <= math.inf: tmp = t_3 else: tmp = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * 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(t * j) - Float64(y * k)) t_2 = Float64(Float64(x * y) - Float64(z * t)) t_3 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * t_2) + Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(i * y1) - Float64(b * y0)))) + Float64(Float64(Float64(c * y0) - Float64(a * y1)) * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(t_1 * Float64(Float64(b * y4) - Float64(i * y5)))) + 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_3 <= Inf) tmp = t_3; else tmp = Float64(b * Float64(Float64(Float64(a * t_2) + Float64(y4 * t_1)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * 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 = (t * j) - (y * k); t_2 = (x * y) - (z * t); t_3 = (((((((a * b) - (c * i)) * t_2) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (t_1 * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_3 <= Inf) tmp = t_3; else tmp = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * 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[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] + N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $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[(t$95$1 * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $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$3, Infinity], t$95$3, N[(b * N[(N[(N[(a * t$95$2), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot j - y \cdot k\\
t_2 := x \cdot y - z \cdot t\\
t_3 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot t\_2 + \left(x \cdot j - z \cdot k\right) \cdot \left(i \cdot y1 - b \cdot y0\right)\right) + \left(c \cdot y0 - a \cdot y1\right) \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + t\_1 \cdot \left(b \cdot y4 - i \cdot y5\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\_3 \leq \infty:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t\_2 + y4 \cdot t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\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 94.3%
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 b around inf 39.8%
Final simplification58.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y4 (- (* t j) (* y k))))
(t_2 (- (* c y0) (* a y1)))
(t_3 (* k (- (* y1 y4) (* y0 y5))))
(t_4 (- (* a y5) (* c y4)))
(t_5 (* t (- (* c i) (* a b))))
(t_6 (- (* x y) (* z t)))
(t_7 (* y2 (+ (+ t_3 (* x t_2)) (* t t_4))))
(t_8 (- (* a b) (* c i))))
(if (<= y2 -7.5e+132)
t_7
(if (<= y2 -1.76e-197)
(*
z
(+ (* k (- (* b y0) (* i y1))) (+ (* y3 (- (* a y1) (* c y0))) t_5)))
(if (<= y2 -1.45e-242)
(* (* a y3) (- (* z y1) (* y y5)))
(if (<= y2 -2.1e-276)
(*
y
(+
(+ (* k (- (* i y5) (* b y4))) (* x t_8))
(* y3 (- (* c y4) (* a y5)))))
(if (<= y2 7e-192)
(* b (+ (+ (* a t_6) t_1) (* y0 (- (* z k) (* x j)))))
(if (<= y2 8.5e-110)
(+
(+
(* b t_1)
(+
(* y1 (* y4 (- (* k y2) (* j y3))))
(+ (* t_8 t_6) (* t_2 (- (* x y2) (* z y3))))))
(+
(* (- (* x j) (* z k)) (- (* i y1) (* b y0)))
(* c (* y4 (- (* y y3) (* t y2))))))
(if (<= y2 2.5e-8)
(* y2 (- t_3 (* c (* t y4))))
(if (<= y2 2.2e+171)
(*
z
(+
(* b (* k y0))
(- (+ (* y1 (- (* a y3) (* i k))) t_5) (* c (* y0 y3)))))
(if (<= y2 7.2e+251) t_7 (* t (* y2 t_4)))))))))))))
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 * ((t * j) - (y * k));
double t_2 = (c * y0) - (a * y1);
double t_3 = k * ((y1 * y4) - (y0 * y5));
double t_4 = (a * y5) - (c * y4);
double t_5 = t * ((c * i) - (a * b));
double t_6 = (x * y) - (z * t);
double t_7 = y2 * ((t_3 + (x * t_2)) + (t * t_4));
double t_8 = (a * b) - (c * i);
double tmp;
if (y2 <= -7.5e+132) {
tmp = t_7;
} else if (y2 <= -1.76e-197) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + t_5));
} else if (y2 <= -1.45e-242) {
tmp = (a * y3) * ((z * y1) - (y * y5));
} else if (y2 <= -2.1e-276) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_8)) + (y3 * ((c * y4) - (a * y5))));
} else if (y2 <= 7e-192) {
tmp = b * (((a * t_6) + t_1) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 8.5e-110) {
tmp = ((b * t_1) + ((y1 * (y4 * ((k * y2) - (j * y3)))) + ((t_8 * t_6) + (t_2 * ((x * y2) - (z * y3)))))) + ((((x * j) - (z * k)) * ((i * y1) - (b * y0))) + (c * (y4 * ((y * y3) - (t * y2)))));
} else if (y2 <= 2.5e-8) {
tmp = y2 * (t_3 - (c * (t * y4)));
} else if (y2 <= 2.2e+171) {
tmp = z * ((b * (k * y0)) + (((y1 * ((a * y3) - (i * k))) + t_5) - (c * (y0 * y3))));
} else if (y2 <= 7.2e+251) {
tmp = t_7;
} else {
tmp = t * (y2 * t_4);
}
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) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: tmp
t_1 = y4 * ((t * j) - (y * k))
t_2 = (c * y0) - (a * y1)
t_3 = k * ((y1 * y4) - (y0 * y5))
t_4 = (a * y5) - (c * y4)
t_5 = t * ((c * i) - (a * b))
t_6 = (x * y) - (z * t)
t_7 = y2 * ((t_3 + (x * t_2)) + (t * t_4))
t_8 = (a * b) - (c * i)
if (y2 <= (-7.5d+132)) then
tmp = t_7
else if (y2 <= (-1.76d-197)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + t_5))
else if (y2 <= (-1.45d-242)) then
tmp = (a * y3) * ((z * y1) - (y * y5))
else if (y2 <= (-2.1d-276)) then
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_8)) + (y3 * ((c * y4) - (a * y5))))
else if (y2 <= 7d-192) then
tmp = b * (((a * t_6) + t_1) + (y0 * ((z * k) - (x * j))))
else if (y2 <= 8.5d-110) then
tmp = ((b * t_1) + ((y1 * (y4 * ((k * y2) - (j * y3)))) + ((t_8 * t_6) + (t_2 * ((x * y2) - (z * y3)))))) + ((((x * j) - (z * k)) * ((i * y1) - (b * y0))) + (c * (y4 * ((y * y3) - (t * y2)))))
else if (y2 <= 2.5d-8) then
tmp = y2 * (t_3 - (c * (t * y4)))
else if (y2 <= 2.2d+171) then
tmp = z * ((b * (k * y0)) + (((y1 * ((a * y3) - (i * k))) + t_5) - (c * (y0 * y3))))
else if (y2 <= 7.2d+251) then
tmp = t_7
else
tmp = t * (y2 * t_4)
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 * ((t * j) - (y * k));
double t_2 = (c * y0) - (a * y1);
double t_3 = k * ((y1 * y4) - (y0 * y5));
double t_4 = (a * y5) - (c * y4);
double t_5 = t * ((c * i) - (a * b));
double t_6 = (x * y) - (z * t);
double t_7 = y2 * ((t_3 + (x * t_2)) + (t * t_4));
double t_8 = (a * b) - (c * i);
double tmp;
if (y2 <= -7.5e+132) {
tmp = t_7;
} else if (y2 <= -1.76e-197) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + t_5));
} else if (y2 <= -1.45e-242) {
tmp = (a * y3) * ((z * y1) - (y * y5));
} else if (y2 <= -2.1e-276) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_8)) + (y3 * ((c * y4) - (a * y5))));
} else if (y2 <= 7e-192) {
tmp = b * (((a * t_6) + t_1) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 8.5e-110) {
tmp = ((b * t_1) + ((y1 * (y4 * ((k * y2) - (j * y3)))) + ((t_8 * t_6) + (t_2 * ((x * y2) - (z * y3)))))) + ((((x * j) - (z * k)) * ((i * y1) - (b * y0))) + (c * (y4 * ((y * y3) - (t * y2)))));
} else if (y2 <= 2.5e-8) {
tmp = y2 * (t_3 - (c * (t * y4)));
} else if (y2 <= 2.2e+171) {
tmp = z * ((b * (k * y0)) + (((y1 * ((a * y3) - (i * k))) + t_5) - (c * (y0 * y3))));
} else if (y2 <= 7.2e+251) {
tmp = t_7;
} else {
tmp = t * (y2 * t_4);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y4 * ((t * j) - (y * k)) t_2 = (c * y0) - (a * y1) t_3 = k * ((y1 * y4) - (y0 * y5)) t_4 = (a * y5) - (c * y4) t_5 = t * ((c * i) - (a * b)) t_6 = (x * y) - (z * t) t_7 = y2 * ((t_3 + (x * t_2)) + (t * t_4)) t_8 = (a * b) - (c * i) tmp = 0 if y2 <= -7.5e+132: tmp = t_7 elif y2 <= -1.76e-197: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + t_5)) elif y2 <= -1.45e-242: tmp = (a * y3) * ((z * y1) - (y * y5)) elif y2 <= -2.1e-276: tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_8)) + (y3 * ((c * y4) - (a * y5)))) elif y2 <= 7e-192: tmp = b * (((a * t_6) + t_1) + (y0 * ((z * k) - (x * j)))) elif y2 <= 8.5e-110: tmp = ((b * t_1) + ((y1 * (y4 * ((k * y2) - (j * y3)))) + ((t_8 * t_6) + (t_2 * ((x * y2) - (z * y3)))))) + ((((x * j) - (z * k)) * ((i * y1) - (b * y0))) + (c * (y4 * ((y * y3) - (t * y2))))) elif y2 <= 2.5e-8: tmp = y2 * (t_3 - (c * (t * y4))) elif y2 <= 2.2e+171: tmp = z * ((b * (k * y0)) + (((y1 * ((a * y3) - (i * k))) + t_5) - (c * (y0 * y3)))) elif y2 <= 7.2e+251: tmp = t_7 else: tmp = t * (y2 * t_4) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y4 * Float64(Float64(t * j) - Float64(y * k))) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) t_4 = Float64(Float64(a * y5) - Float64(c * y4)) t_5 = Float64(t * Float64(Float64(c * i) - Float64(a * b))) t_6 = Float64(Float64(x * y) - Float64(z * t)) t_7 = Float64(y2 * Float64(Float64(t_3 + Float64(x * t_2)) + Float64(t * t_4))) t_8 = Float64(Float64(a * b) - Float64(c * i)) tmp = 0.0 if (y2 <= -7.5e+132) tmp = t_7; elseif (y2 <= -1.76e-197) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + t_5))); elseif (y2 <= -1.45e-242) tmp = Float64(Float64(a * y3) * Float64(Float64(z * y1) - Float64(y * y5))); elseif (y2 <= -2.1e-276) tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * t_8)) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (y2 <= 7e-192) tmp = Float64(b * Float64(Float64(Float64(a * t_6) + t_1) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y2 <= 8.5e-110) tmp = Float64(Float64(Float64(b * t_1) + Float64(Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(Float64(t_8 * t_6) + Float64(t_2 * Float64(Float64(x * y2) - Float64(z * y3)))))) + Float64(Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(i * y1) - Float64(b * y0))) + Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))))); elseif (y2 <= 2.5e-8) tmp = Float64(y2 * Float64(t_3 - Float64(c * Float64(t * y4)))); elseif (y2 <= 2.2e+171) tmp = Float64(z * Float64(Float64(b * Float64(k * y0)) + Float64(Float64(Float64(y1 * Float64(Float64(a * y3) - Float64(i * k))) + t_5) - Float64(c * Float64(y0 * y3))))); elseif (y2 <= 7.2e+251) tmp = t_7; else tmp = Float64(t * Float64(y2 * t_4)); 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 * ((t * j) - (y * k)); t_2 = (c * y0) - (a * y1); t_3 = k * ((y1 * y4) - (y0 * y5)); t_4 = (a * y5) - (c * y4); t_5 = t * ((c * i) - (a * b)); t_6 = (x * y) - (z * t); t_7 = y2 * ((t_3 + (x * t_2)) + (t * t_4)); t_8 = (a * b) - (c * i); tmp = 0.0; if (y2 <= -7.5e+132) tmp = t_7; elseif (y2 <= -1.76e-197) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + t_5)); elseif (y2 <= -1.45e-242) tmp = (a * y3) * ((z * y1) - (y * y5)); elseif (y2 <= -2.1e-276) tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_8)) + (y3 * ((c * y4) - (a * y5)))); elseif (y2 <= 7e-192) tmp = b * (((a * t_6) + t_1) + (y0 * ((z * k) - (x * j)))); elseif (y2 <= 8.5e-110) tmp = ((b * t_1) + ((y1 * (y4 * ((k * y2) - (j * y3)))) + ((t_8 * t_6) + (t_2 * ((x * y2) - (z * y3)))))) + ((((x * j) - (z * k)) * ((i * y1) - (b * y0))) + (c * (y4 * ((y * y3) - (t * y2))))); elseif (y2 <= 2.5e-8) tmp = y2 * (t_3 - (c * (t * y4))); elseif (y2 <= 2.2e+171) tmp = z * ((b * (k * y0)) + (((y1 * ((a * y3) - (i * k))) + t_5) - (c * (y0 * y3)))); elseif (y2 <= 7.2e+251) tmp = t_7; else tmp = t * (y2 * t_4); 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[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(y2 * N[(N[(t$95$3 + N[(x * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -7.5e+132], t$95$7, If[LessEqual[y2, -1.76e-197], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.45e-242], N[(N[(a * y3), $MachinePrecision] * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.1e-276], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$8), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7e-192], N[(b * N[(N[(N[(a * t$95$6), $MachinePrecision] + t$95$1), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8.5e-110], N[(N[(N[(b * t$95$1), $MachinePrecision] + N[(N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$8 * t$95$6), $MachinePrecision] + N[(t$95$2 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.5e-8], N[(y2 * N[(t$95$3 - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.2e+171], N[(z * N[(N[(b * N[(k * y0), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$5), $MachinePrecision] - N[(c * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.2e+251], t$95$7, N[(t * N[(y2 * t$95$4), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot \left(t \cdot j - y \cdot k\right)\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
t_4 := a \cdot y5 - c \cdot y4\\
t_5 := t \cdot \left(c \cdot i - a \cdot b\right)\\
t_6 := x \cdot y - z \cdot t\\
t_7 := y2 \cdot \left(\left(t\_3 + x \cdot t\_2\right) + t \cdot t\_4\right)\\
t_8 := a \cdot b - c \cdot i\\
\mathbf{if}\;y2 \leq -7.5 \cdot 10^{+132}:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;y2 \leq -1.76 \cdot 10^{-197}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t\_5\right)\right)\\
\mathbf{elif}\;y2 \leq -1.45 \cdot 10^{-242}:\\
\;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\
\mathbf{elif}\;y2 \leq -2.1 \cdot 10^{-276}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot t\_8\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 7 \cdot 10^{-192}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t\_6 + t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 8.5 \cdot 10^{-110}:\\
\;\;\;\;\left(b \cdot t\_1 + \left(y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + \left(t\_8 \cdot t\_6 + t\_2 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\right)\right) + \left(\left(x \cdot j - z \cdot k\right) \cdot \left(i \cdot y1 - b \cdot y0\right) + c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq 2.5 \cdot 10^{-8}:\\
\;\;\;\;y2 \cdot \left(t\_3 - c \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 2.2 \cdot 10^{+171}:\\
\;\;\;\;z \cdot \left(b \cdot \left(k \cdot y0\right) + \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) + t\_5\right) - c \cdot \left(y0 \cdot y3\right)\right)\right)\\
\mathbf{elif}\;y2 \leq 7.2 \cdot 10^{+251}:\\
\;\;\;\;t\_7\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y2 \cdot t\_4\right)\\
\end{array}
\end{array}
if y2 < -7.50000000000000017e132 or 2.1999999999999999e171 < y2 < 7.19999999999999994e251Initial program 28.4%
Taylor expanded in y2 around inf 68.0%
if -7.50000000000000017e132 < y2 < -1.76e-197Initial program 42.4%
Taylor expanded in z around -inf 54.5%
if -1.76e-197 < y2 < -1.45e-242Initial program 21.3%
Taylor expanded in y3 around -inf 42.8%
Taylor expanded in a around inf 51.1%
associate-*r*57.7%
distribute-lft-out--57.7%
Simplified57.7%
if -1.45e-242 < y2 < -2.1e-276Initial program 11.1%
Taylor expanded in y around inf 79.0%
if -2.1e-276 < y2 < 7.00000000000000029e-192Initial program 21.6%
Taylor expanded in b around inf 50.3%
if 7.00000000000000029e-192 < y2 < 8.50000000000000029e-110Initial program 66.4%
Taylor expanded in y5 around 0 72.0%
if 8.50000000000000029e-110 < y2 < 2.4999999999999999e-8Initial program 38.5%
Taylor expanded in y4 around inf 54.7%
Taylor expanded in y2 around inf 55.4%
if 2.4999999999999999e-8 < y2 < 2.1999999999999999e171Initial program 27.8%
Taylor expanded in z around -inf 55.8%
Taylor expanded in y1 around 0 58.6%
if 7.19999999999999994e251 < y2 Initial program 9.1%
Taylor expanded in t around inf 45.5%
Taylor expanded in y2 around inf 90.9%
Final simplification61.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c i) (* a b)))
(t_2
(*
z
(+
(* k (- (* b y0) (* i y1)))
(+ (* y3 (- (* a y1) (* c y0))) (* t t_1)))))
(t_3 (- (* t j) (* y k)))
(t_4 (- (* x y) (* z t)))
(t_5 (- (* z k) (* x j)))
(t_6 (* b (+ (+ (* a t_4) (* y4 t_3)) (* y0 t_5)))))
(if (<= i -6.6e+174)
(*
i
(+ (* y1 (- (* x j) (* z k))) (- (* y5 (- (* y k) (* t j))) (* c t_4))))
(if (<= i -5e+99)
t_6
(if (<= i -3.8e+55)
(*
t
(+
(+ (* z t_1) (* j (- (* b y4) (* i y5))))
(* y2 (- (* a y5) (* c y4)))))
(if (<= i -2050000.0)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= i -1.25e-44)
t_2
(if (<= i -2.8e-217)
(*
y4
(+
(+ (* b t_3) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= i -1.65e-282)
(* y2 (- (* k (- (* y1 y4) (* y0 y5))) (* c (* t y4))))
(if (<= i 8e-281)
(*
y0
(+
(+
(* y5 (- (* j y3) (* k y2)))
(* c (- (* x y2) (* z y3))))
(* b t_5)))
(if (<= i 1.32e-176)
t_2
(if (<= i 6.8e-38)
(* b (* j (- (* t y4) (* x y0))))
(if (<= i 1.25e+123)
t_6
(if (<= i 1.1e+229)
(* c (* t (- (* z i) (* y2 y4))))
(* z (* k (* i (- y1))))))))))))))))))
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 = (c * i) - (a * b);
double t_2 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)));
double t_3 = (t * j) - (y * k);
double t_4 = (x * y) - (z * t);
double t_5 = (z * k) - (x * j);
double t_6 = b * (((a * t_4) + (y4 * t_3)) + (y0 * t_5));
double tmp;
if (i <= -6.6e+174) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_4)));
} else if (i <= -5e+99) {
tmp = t_6;
} else if (i <= -3.8e+55) {
tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
} else if (i <= -2050000.0) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (i <= -1.25e-44) {
tmp = t_2;
} else if (i <= -2.8e-217) {
tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (i <= -1.65e-282) {
tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) - (c * (t * y4)));
} else if (i <= 8e-281) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_5));
} else if (i <= 1.32e-176) {
tmp = t_2;
} else if (i <= 6.8e-38) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (i <= 1.25e+123) {
tmp = t_6;
} else if (i <= 1.1e+229) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
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) :: t_6
real(8) :: tmp
t_1 = (c * i) - (a * b)
t_2 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)))
t_3 = (t * j) - (y * k)
t_4 = (x * y) - (z * t)
t_5 = (z * k) - (x * j)
t_6 = b * (((a * t_4) + (y4 * t_3)) + (y0 * t_5))
if (i <= (-6.6d+174)) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_4)))
else if (i <= (-5d+99)) then
tmp = t_6
else if (i <= (-3.8d+55)) then
tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))))
else if (i <= (-2050000.0d0)) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (i <= (-1.25d-44)) then
tmp = t_2
else if (i <= (-2.8d-217)) then
tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (i <= (-1.65d-282)) then
tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) - (c * (t * y4)))
else if (i <= 8d-281) then
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_5))
else if (i <= 1.32d-176) then
tmp = t_2
else if (i <= 6.8d-38) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (i <= 1.25d+123) then
tmp = t_6
else if (i <= 1.1d+229) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else
tmp = z * (k * (i * -y1))
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 = (c * i) - (a * b);
double t_2 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1)));
double t_3 = (t * j) - (y * k);
double t_4 = (x * y) - (z * t);
double t_5 = (z * k) - (x * j);
double t_6 = b * (((a * t_4) + (y4 * t_3)) + (y0 * t_5));
double tmp;
if (i <= -6.6e+174) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_4)));
} else if (i <= -5e+99) {
tmp = t_6;
} else if (i <= -3.8e+55) {
tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
} else if (i <= -2050000.0) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (i <= -1.25e-44) {
tmp = t_2;
} else if (i <= -2.8e-217) {
tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (i <= -1.65e-282) {
tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) - (c * (t * y4)));
} else if (i <= 8e-281) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_5));
} else if (i <= 1.32e-176) {
tmp = t_2;
} else if (i <= 6.8e-38) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (i <= 1.25e+123) {
tmp = t_6;
} else if (i <= 1.1e+229) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (c * i) - (a * b) t_2 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1))) t_3 = (t * j) - (y * k) t_4 = (x * y) - (z * t) t_5 = (z * k) - (x * j) t_6 = b * (((a * t_4) + (y4 * t_3)) + (y0 * t_5)) tmp = 0 if i <= -6.6e+174: tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_4))) elif i <= -5e+99: tmp = t_6 elif i <= -3.8e+55: tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4)))) elif i <= -2050000.0: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif i <= -1.25e-44: tmp = t_2 elif i <= -2.8e-217: tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif i <= -1.65e-282: tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) - (c * (t * y4))) elif i <= 8e-281: tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_5)) elif i <= 1.32e-176: tmp = t_2 elif i <= 6.8e-38: tmp = b * (j * ((t * y4) - (x * y0))) elif i <= 1.25e+123: tmp = t_6 elif i <= 1.1e+229: tmp = c * (t * ((z * i) - (y2 * y4))) else: tmp = z * (k * (i * -y1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * i) - Float64(a * b)) t_2 = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * t_1)))) t_3 = Float64(Float64(t * j) - Float64(y * k)) t_4 = Float64(Float64(x * y) - Float64(z * t)) t_5 = Float64(Float64(z * k) - Float64(x * j)) t_6 = Float64(b * Float64(Float64(Float64(a * t_4) + Float64(y4 * t_3)) + Float64(y0 * t_5))) tmp = 0.0 if (i <= -6.6e+174) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * t_4)))); elseif (i <= -5e+99) tmp = t_6; elseif (i <= -3.8e+55) tmp = Float64(t * Float64(Float64(Float64(z * t_1) + Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (i <= -2050000.0) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (i <= -1.25e-44) tmp = t_2; elseif (i <= -2.8e-217) tmp = Float64(y4 * Float64(Float64(Float64(b * t_3) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (i <= -1.65e-282) tmp = Float64(y2 * Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) - Float64(c * Float64(t * y4)))); elseif (i <= 8e-281) tmp = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * t_5))); elseif (i <= 1.32e-176) tmp = t_2; elseif (i <= 6.8e-38) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (i <= 1.25e+123) tmp = t_6; elseif (i <= 1.1e+229) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); else tmp = Float64(z * Float64(k * Float64(i * Float64(-y1)))); 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 = (c * i) - (a * b); t_2 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_1))); t_3 = (t * j) - (y * k); t_4 = (x * y) - (z * t); t_5 = (z * k) - (x * j); t_6 = b * (((a * t_4) + (y4 * t_3)) + (y0 * t_5)); tmp = 0.0; if (i <= -6.6e+174) tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * t_4))); elseif (i <= -5e+99) tmp = t_6; elseif (i <= -3.8e+55) tmp = t * (((z * t_1) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4)))); elseif (i <= -2050000.0) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (i <= -1.25e-44) tmp = t_2; elseif (i <= -2.8e-217) tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (i <= -1.65e-282) tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) - (c * (t * y4))); elseif (i <= 8e-281) tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_5)); elseif (i <= 1.32e-176) tmp = t_2; elseif (i <= 6.8e-38) tmp = b * (j * ((t * y4) - (x * y0))); elseif (i <= 1.25e+123) tmp = t_6; elseif (i <= 1.1e+229) tmp = c * (t * ((z * i) - (y2 * y4))); else tmp = z * (k * (i * -y1)); 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[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(b * N[(N[(N[(a * t$95$4), $MachinePrecision] + N[(y4 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -6.6e+174], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -5e+99], t$95$6, If[LessEqual[i, -3.8e+55], N[(t * N[(N[(N[(z * t$95$1), $MachinePrecision] + N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2050000.0], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.25e-44], t$95$2, If[LessEqual[i, -2.8e-217], N[(y4 * N[(N[(N[(b * t$95$3), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.65e-282], N[(y2 * N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8e-281], N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.32e-176], t$95$2, If[LessEqual[i, 6.8e-38], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.25e+123], t$95$6, If[LessEqual[i, 1.1e+229], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot i - a \cdot b\\
t_2 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot t\_1\right)\right)\\
t_3 := t \cdot j - y \cdot k\\
t_4 := x \cdot y - z \cdot t\\
t_5 := z \cdot k - x \cdot j\\
t_6 := b \cdot \left(\left(a \cdot t\_4 + y4 \cdot t\_3\right) + y0 \cdot t\_5\right)\\
\mathbf{if}\;i \leq -6.6 \cdot 10^{+174}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot t\_4\right)\right)\\
\mathbf{elif}\;i \leq -5 \cdot 10^{+99}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;i \leq -3.8 \cdot 10^{+55}:\\
\;\;\;\;t \cdot \left(\left(z \cdot t\_1 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq -2050000:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq -1.25 \cdot 10^{-44}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;i \leq -2.8 \cdot 10^{-217}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_3 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq -1.65 \cdot 10^{-282}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) - c \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq 8 \cdot 10^{-281}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot t\_5\right)\\
\mathbf{elif}\;i \leq 1.32 \cdot 10^{-176}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;i \leq 6.8 \cdot 10^{-38}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+123}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;i \leq 1.1 \cdot 10^{+229}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\end{array}
\end{array}
if i < -6.6000000000000001e174Initial program 31.0%
Taylor expanded in i around -inf 72.8%
if -6.6000000000000001e174 < i < -5.00000000000000008e99 or 6.8000000000000004e-38 < i < 1.24999999999999994e123Initial program 31.9%
Taylor expanded in b around inf 66.3%
if -5.00000000000000008e99 < i < -3.8e55Initial program 35.6%
Taylor expanded in t around inf 72.3%
if -3.8e55 < i < -2.05e6Initial program 44.4%
Taylor expanded in x around inf 77.9%
if -2.05e6 < i < -1.2500000000000001e-44 or 8.0000000000000001e-281 < i < 1.32e-176Initial program 42.3%
Taylor expanded in z around -inf 62.7%
if -1.2500000000000001e-44 < i < -2.8e-217Initial program 38.8%
Taylor expanded in y4 around inf 53.5%
if -2.8e-217 < i < -1.65e-282Initial program 21.4%
Taylor expanded in y4 around inf 36.2%
Taylor expanded in y2 around inf 64.6%
if -1.65e-282 < i < 8.0000000000000001e-281Initial program 55.6%
Taylor expanded in y0 around inf 88.9%
if 1.32e-176 < i < 6.8000000000000004e-38Initial program 20.9%
Taylor expanded in b around inf 34.9%
Taylor expanded in j around inf 49.6%
if 1.24999999999999994e123 < i < 1.10000000000000002e229Initial program 15.8%
Taylor expanded in t around inf 36.9%
Taylor expanded in c around inf 58.2%
if 1.10000000000000002e229 < i Initial program 16.7%
Taylor expanded in z around -inf 33.5%
Taylor expanded in k around inf 42.0%
Taylor expanded in i around inf 59.4%
Final simplification63.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y k) (* t j)))
(t_2 (- (* t j) (* y k)))
(t_3 (- (* x y) (* z t)))
(t_4
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i t_1) (* y0 (- (* j y3) (* k y2)))))))
(t_5 (* b (+ (+ (* a t_3) (* y4 t_2)) (* y0 (- (* z k) (* x j)))))))
(if (<= i -9e+177)
(* i (+ (* y1 (- (* x j) (* z k))) (- (* y5 t_1) (* c t_3))))
(if (<= i -3.4e+98)
t_5
(if (<= i -1.2e+57)
t_4
(if (<= i -1350000.0)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= i -1.8e-35)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* z (- (* a y1) (* c y0))) (* j (- (* y0 y5) (* y1 y4))))))
(if (<= i -1.75e-203)
(*
y4
(+
(+ (* b t_2) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= i 2.1e-189)
t_4
(if (<= i 6.4e-38)
(* b (* j (- (* t y4) (* x y0))))
(if (<= i 1.25e+123)
t_5
(if (<= i 7e+231)
(* c (* t (- (* z i) (* y2 y4))))
(* z (* k (* i (- y1))))))))))))))))
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 * k) - (t * j);
double t_2 = (t * j) - (y * k);
double t_3 = (x * y) - (z * t);
double t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))));
double t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
double tmp;
if (i <= -9e+177) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)));
} else if (i <= -3.4e+98) {
tmp = t_5;
} else if (i <= -1.2e+57) {
tmp = t_4;
} else if (i <= -1350000.0) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (i <= -1.8e-35) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (i <= -1.75e-203) {
tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (i <= 2.1e-189) {
tmp = t_4;
} else if (i <= 6.4e-38) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (i <= 1.25e+123) {
tmp = t_5;
} else if (i <= 7e+231) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
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 * k) - (t * j)
t_2 = (t * j) - (y * k)
t_3 = (x * y) - (z * t)
t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))))
t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))))
if (i <= (-9d+177)) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)))
else if (i <= (-3.4d+98)) then
tmp = t_5
else if (i <= (-1.2d+57)) then
tmp = t_4
else if (i <= (-1350000.0d0)) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (i <= (-1.8d-35)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (i <= (-1.75d-203)) then
tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (i <= 2.1d-189) then
tmp = t_4
else if (i <= 6.4d-38) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (i <= 1.25d+123) then
tmp = t_5
else if (i <= 7d+231) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else
tmp = z * (k * (i * -y1))
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 * k) - (t * j);
double t_2 = (t * j) - (y * k);
double t_3 = (x * y) - (z * t);
double t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))));
double t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
double tmp;
if (i <= -9e+177) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)));
} else if (i <= -3.4e+98) {
tmp = t_5;
} else if (i <= -1.2e+57) {
tmp = t_4;
} else if (i <= -1350000.0) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (i <= -1.8e-35) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (i <= -1.75e-203) {
tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (i <= 2.1e-189) {
tmp = t_4;
} else if (i <= 6.4e-38) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (i <= 1.25e+123) {
tmp = t_5;
} else if (i <= 7e+231) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * k) - (t * j) t_2 = (t * j) - (y * k) t_3 = (x * y) - (z * t) t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2))))) t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j)))) tmp = 0 if i <= -9e+177: tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3))) elif i <= -3.4e+98: tmp = t_5 elif i <= -1.2e+57: tmp = t_4 elif i <= -1350000.0: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif i <= -1.8e-35: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif i <= -1.75e-203: tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif i <= 2.1e-189: tmp = t_4 elif i <= 6.4e-38: tmp = b * (j * ((t * y4) - (x * y0))) elif i <= 1.25e+123: tmp = t_5 elif i <= 7e+231: tmp = c * (t * ((z * i) - (y2 * y4))) else: tmp = z * (k * (i * -y1)) 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 * k) - Float64(t * j)) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = Float64(Float64(x * y) - Float64(z * t)) t_4 = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * t_1) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))) t_5 = Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * t_2)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))) tmp = 0.0 if (i <= -9e+177) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * t_1) - Float64(c * t_3)))); elseif (i <= -3.4e+98) tmp = t_5; elseif (i <= -1.2e+57) tmp = t_4; elseif (i <= -1350000.0) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (i <= -1.8e-35) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))))); elseif (i <= -1.75e-203) tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (i <= 2.1e-189) tmp = t_4; elseif (i <= 6.4e-38) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (i <= 1.25e+123) tmp = t_5; elseif (i <= 7e+231) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); else tmp = Float64(z * Float64(k * Float64(i * Float64(-y1)))); 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 * k) - (t * j); t_2 = (t * j) - (y * k); t_3 = (x * y) - (z * t); t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2))))); t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j)))); tmp = 0.0; if (i <= -9e+177) tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3))); elseif (i <= -3.4e+98) tmp = t_5; elseif (i <= -1.2e+57) tmp = t_4; elseif (i <= -1350000.0) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (i <= -1.8e-35) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (i <= -1.75e-203) tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (i <= 2.1e-189) tmp = t_4; elseif (i <= 6.4e-38) tmp = b * (j * ((t * y4) - (x * y0))); elseif (i <= 1.25e+123) tmp = t_5; elseif (i <= 7e+231) tmp = c * (t * ((z * i) - (y2 * y4))); else tmp = z * (k * (i * -y1)); 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 * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * t$95$1), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -9e+177], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * t$95$1), $MachinePrecision] - N[(c * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.4e+98], t$95$5, If[LessEqual[i, -1.2e+57], t$95$4, If[LessEqual[i, -1350000.0], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.8e-35], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.75e-203], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.1e-189], t$95$4, If[LessEqual[i, 6.4e-38], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.25e+123], t$95$5, If[LessEqual[i, 7e+231], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot k - t \cdot j\\
t_2 := t \cdot j - y \cdot k\\
t_3 := x \cdot y - z \cdot t\\
t_4 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot t\_1 + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
t_5 := b \cdot \left(\left(a \cdot t\_3 + y4 \cdot t\_2\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;i \leq -9 \cdot 10^{+177}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot t\_1 - c \cdot t\_3\right)\right)\\
\mathbf{elif}\;i \leq -3.4 \cdot 10^{+98}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;i \leq -1.2 \cdot 10^{+57}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;i \leq -1350000:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq -1.8 \cdot 10^{-35}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\right)\\
\mathbf{elif}\;i \leq -1.75 \cdot 10^{-203}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 2.1 \cdot 10^{-189}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;i \leq 6.4 \cdot 10^{-38}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+123}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;i \leq 7 \cdot 10^{+231}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\end{array}
\end{array}
if i < -8.9999999999999994e177Initial program 31.0%
Taylor expanded in i around -inf 72.8%
if -8.9999999999999994e177 < i < -3.39999999999999972e98 or 6.39999999999999955e-38 < i < 1.24999999999999994e123Initial program 31.9%
Taylor expanded in b around inf 66.3%
if -3.39999999999999972e98 < i < -1.20000000000000002e57 or -1.7500000000000001e-203 < i < 2.10000000000000016e-189Initial program 32.9%
Taylor expanded in y5 around -inf 54.8%
if -1.20000000000000002e57 < i < -1.35e6Initial program 44.4%
Taylor expanded in x around inf 77.9%
if -1.35e6 < i < -1.80000000000000009e-35Initial program 63.4%
Taylor expanded in y3 around -inf 61.2%
if -1.80000000000000009e-35 < i < -1.7500000000000001e-203Initial program 39.4%
Taylor expanded in y4 around inf 53.3%
if 2.10000000000000016e-189 < i < 6.39999999999999955e-38Initial program 23.5%
Taylor expanded in b around inf 33.7%
Taylor expanded in j around inf 48.0%
if 1.24999999999999994e123 < i < 6.9999999999999997e231Initial program 15.8%
Taylor expanded in t around inf 36.9%
Taylor expanded in c around inf 58.2%
if 6.9999999999999997e231 < i Initial program 16.7%
Taylor expanded in z around -inf 33.5%
Taylor expanded in k around inf 42.0%
Taylor expanded in i around inf 59.4%
Final simplification59.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y k) (* t j)))
(t_2 (- (* t j) (* y k)))
(t_3 (- (* x y) (* z t)))
(t_4
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i t_1) (* y0 (- (* j y3) (* k y2)))))))
(t_5 (* b (+ (+ (* a t_3) (* y4 t_2)) (* y0 (- (* z k) (* x j)))))))
(if (<= i -5.5e+176)
(* i (+ (* y1 (- (* x j) (* z k))) (- (* y5 t_1) (* c t_3))))
(if (<= i -2e+97)
t_5
(if (<= i -1.15e+57)
t_4
(if (<= i -6000000.0)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= i -1.2e-46)
(*
z
(+
(* k (- (* b y0) (* i y1)))
(+ (* y3 (- (* a y1) (* c y0))) (* t (- (* c i) (* a b))))))
(if (<= i -6.5e-209)
(*
y4
(+
(+ (* b t_2) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= i 2.2e-182)
t_4
(if (<= i 2.3e-34)
(* b (* j (- (* t y4) (* x y0))))
(if (<= i 1.75e+129)
t_5
(if (<= i 1.15e+229)
(* c (* t (- (* z i) (* y2 y4))))
(* z (* k (* i (- y1))))))))))))))))
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 * k) - (t * j);
double t_2 = (t * j) - (y * k);
double t_3 = (x * y) - (z * t);
double t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))));
double t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
double tmp;
if (i <= -5.5e+176) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)));
} else if (i <= -2e+97) {
tmp = t_5;
} else if (i <= -1.15e+57) {
tmp = t_4;
} else if (i <= -6000000.0) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (i <= -1.2e-46) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
} else if (i <= -6.5e-209) {
tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (i <= 2.2e-182) {
tmp = t_4;
} else if (i <= 2.3e-34) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (i <= 1.75e+129) {
tmp = t_5;
} else if (i <= 1.15e+229) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
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 * k) - (t * j)
t_2 = (t * j) - (y * k)
t_3 = (x * y) - (z * t)
t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))))
t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))))
if (i <= (-5.5d+176)) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)))
else if (i <= (-2d+97)) then
tmp = t_5
else if (i <= (-1.15d+57)) then
tmp = t_4
else if (i <= (-6000000.0d0)) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (i <= (-1.2d-46)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))))
else if (i <= (-6.5d-209)) then
tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (i <= 2.2d-182) then
tmp = t_4
else if (i <= 2.3d-34) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (i <= 1.75d+129) then
tmp = t_5
else if (i <= 1.15d+229) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else
tmp = z * (k * (i * -y1))
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 * k) - (t * j);
double t_2 = (t * j) - (y * k);
double t_3 = (x * y) - (z * t);
double t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2)))));
double t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
double tmp;
if (i <= -5.5e+176) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3)));
} else if (i <= -2e+97) {
tmp = t_5;
} else if (i <= -1.15e+57) {
tmp = t_4;
} else if (i <= -6000000.0) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (i <= -1.2e-46) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
} else if (i <= -6.5e-209) {
tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (i <= 2.2e-182) {
tmp = t_4;
} else if (i <= 2.3e-34) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (i <= 1.75e+129) {
tmp = t_5;
} else if (i <= 1.15e+229) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * k) - (t * j) t_2 = (t * j) - (y * k) t_3 = (x * y) - (z * t) t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2))))) t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j)))) tmp = 0 if i <= -5.5e+176: tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3))) elif i <= -2e+97: tmp = t_5 elif i <= -1.15e+57: tmp = t_4 elif i <= -6000000.0: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif i <= -1.2e-46: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b))))) elif i <= -6.5e-209: tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif i <= 2.2e-182: tmp = t_4 elif i <= 2.3e-34: tmp = b * (j * ((t * y4) - (x * y0))) elif i <= 1.75e+129: tmp = t_5 elif i <= 1.15e+229: tmp = c * (t * ((z * i) - (y2 * y4))) else: tmp = z * (k * (i * -y1)) 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 * k) - Float64(t * j)) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = Float64(Float64(x * y) - Float64(z * t)) t_4 = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * t_1) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))) t_5 = Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * t_2)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))) tmp = 0.0 if (i <= -5.5e+176) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * t_1) - Float64(c * t_3)))); elseif (i <= -2e+97) tmp = t_5; elseif (i <= -1.15e+57) tmp = t_4; elseif (i <= -6000000.0) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (i <= -1.2e-46) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))))); elseif (i <= -6.5e-209) tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (i <= 2.2e-182) tmp = t_4; elseif (i <= 2.3e-34) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (i <= 1.75e+129) tmp = t_5; elseif (i <= 1.15e+229) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); else tmp = Float64(z * Float64(k * Float64(i * Float64(-y1)))); 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 * k) - (t * j); t_2 = (t * j) - (y * k); t_3 = (x * y) - (z * t); t_4 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_1) + (y0 * ((j * y3) - (k * y2))))); t_5 = b * (((a * t_3) + (y4 * t_2)) + (y0 * ((z * k) - (x * j)))); tmp = 0.0; if (i <= -5.5e+176) tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_1) - (c * t_3))); elseif (i <= -2e+97) tmp = t_5; elseif (i <= -1.15e+57) tmp = t_4; elseif (i <= -6000000.0) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (i <= -1.2e-46) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b))))); elseif (i <= -6.5e-209) tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (i <= 2.2e-182) tmp = t_4; elseif (i <= 2.3e-34) tmp = b * (j * ((t * y4) - (x * y0))); elseif (i <= 1.75e+129) tmp = t_5; elseif (i <= 1.15e+229) tmp = c * (t * ((z * i) - (y2 * y4))); else tmp = z * (k * (i * -y1)); 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 * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * t$95$1), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -5.5e+176], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * t$95$1), $MachinePrecision] - N[(c * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2e+97], t$95$5, If[LessEqual[i, -1.15e+57], t$95$4, If[LessEqual[i, -6000000.0], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.2e-46], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -6.5e-209], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.2e-182], t$95$4, If[LessEqual[i, 2.3e-34], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.75e+129], t$95$5, If[LessEqual[i, 1.15e+229], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot k - t \cdot j\\
t_2 := t \cdot j - y \cdot k\\
t_3 := x \cdot y - z \cdot t\\
t_4 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot t\_1 + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
t_5 := b \cdot \left(\left(a \cdot t\_3 + y4 \cdot t\_2\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;i \leq -5.5 \cdot 10^{+176}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot t\_1 - c \cdot t\_3\right)\right)\\
\mathbf{elif}\;i \leq -2 \cdot 10^{+97}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;i \leq -1.15 \cdot 10^{+57}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;i \leq -6000000:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq -1.2 \cdot 10^{-46}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\
\mathbf{elif}\;i \leq -6.5 \cdot 10^{-209}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 2.2 \cdot 10^{-182}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;i \leq 2.3 \cdot 10^{-34}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.75 \cdot 10^{+129}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;i \leq 1.15 \cdot 10^{+229}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\end{array}
\end{array}
if i < -5.4999999999999995e176Initial program 31.0%
Taylor expanded in i around -inf 72.8%
if -5.4999999999999995e176 < i < -2.0000000000000001e97 or 2.30000000000000011e-34 < i < 1.7499999999999999e129Initial program 31.9%
Taylor expanded in b around inf 66.3%
if -2.0000000000000001e97 < i < -1.1499999999999999e57 or -6.50000000000000042e-209 < i < 2.2e-182Initial program 32.9%
Taylor expanded in y5 around -inf 54.8%
if -1.1499999999999999e57 < i < -6e6Initial program 44.4%
Taylor expanded in x around inf 77.9%
if -6e6 < i < -1.20000000000000007e-46Initial program 61.3%
Taylor expanded in z around -inf 74.7%
if -1.20000000000000007e-46 < i < -6.50000000000000042e-209Initial program 38.8%
Taylor expanded in y4 around inf 53.5%
if 2.2e-182 < i < 2.30000000000000011e-34Initial program 23.5%
Taylor expanded in b around inf 33.7%
Taylor expanded in j around inf 48.0%
if 1.7499999999999999e129 < i < 1.15e229Initial program 15.8%
Taylor expanded in t around inf 36.9%
Taylor expanded in c around inf 58.2%
if 1.15e229 < i Initial program 16.7%
Taylor expanded in z around -inf 33.5%
Taylor expanded in k around inf 42.0%
Taylor expanded in i around inf 59.4%
Final simplification60.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t j) (* y k)))
(t_2 (- (* x y) (* z t)))
(t_3 (* b (+ (+ (* a t_2) (* y4 t_1)) (* y0 (- (* z k) (* x j))))))
(t_4 (- (* y k) (* t j)))
(t_5 (- (* c i) (* a b))))
(if (<= i -8.6e+178)
(* i (+ (* y1 (- (* x j) (* z k))) (- (* y5 t_4) (* c t_2))))
(if (<= i -3.7e+96)
t_3
(if (<= i -1.4e+55)
(*
t
(+
(+ (* z t_5) (* j (- (* b y4) (* i y5))))
(* y2 (- (* a y5) (* c y4)))))
(if (<= i -1550000.0)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= i -1.72e-46)
(*
z
(+
(* k (- (* b y0) (* i y1)))
(+ (* y3 (- (* a y1) (* c y0))) (* t t_5))))
(if (<= i -2.7e-213)
(*
y4
(+
(+ (* b t_1) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= i 1.55e-185)
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i t_4) (* y0 (- (* j y3) (* k y2))))))
(if (<= i 1.55e-37)
(* b (* j (- (* t y4) (* x y0))))
(if (<= i 1.66e+128)
t_3
(if (<= i 1.45e+221)
(* c (* t (- (* z i) (* y2 y4))))
(* z (* k (* i (- y1))))))))))))))))
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 = (t * j) - (y * k);
double t_2 = (x * y) - (z * t);
double t_3 = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
double t_4 = (y * k) - (t * j);
double t_5 = (c * i) - (a * b);
double tmp;
if (i <= -8.6e+178) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_4) - (c * t_2)));
} else if (i <= -3.7e+96) {
tmp = t_3;
} else if (i <= -1.4e+55) {
tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
} else if (i <= -1550000.0) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (i <= -1.72e-46) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)));
} else if (i <= -2.7e-213) {
tmp = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (i <= 1.55e-185) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_4) + (y0 * ((j * y3) - (k * y2)))));
} else if (i <= 1.55e-37) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (i <= 1.66e+128) {
tmp = t_3;
} else if (i <= 1.45e+221) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
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 = (t * j) - (y * k)
t_2 = (x * y) - (z * t)
t_3 = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))
t_4 = (y * k) - (t * j)
t_5 = (c * i) - (a * b)
if (i <= (-8.6d+178)) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_4) - (c * t_2)))
else if (i <= (-3.7d+96)) then
tmp = t_3
else if (i <= (-1.4d+55)) then
tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))))
else if (i <= (-1550000.0d0)) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (i <= (-1.72d-46)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)))
else if (i <= (-2.7d-213)) then
tmp = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (i <= 1.55d-185) then
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_4) + (y0 * ((j * y3) - (k * y2)))))
else if (i <= 1.55d-37) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (i <= 1.66d+128) then
tmp = t_3
else if (i <= 1.45d+221) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else
tmp = z * (k * (i * -y1))
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 = (t * j) - (y * k);
double t_2 = (x * y) - (z * t);
double t_3 = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
double t_4 = (y * k) - (t * j);
double t_5 = (c * i) - (a * b);
double tmp;
if (i <= -8.6e+178) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_4) - (c * t_2)));
} else if (i <= -3.7e+96) {
tmp = t_3;
} else if (i <= -1.4e+55) {
tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4))));
} else if (i <= -1550000.0) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (i <= -1.72e-46) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5)));
} else if (i <= -2.7e-213) {
tmp = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (i <= 1.55e-185) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_4) + (y0 * ((j * y3) - (k * y2)))));
} else if (i <= 1.55e-37) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (i <= 1.66e+128) {
tmp = t_3;
} else if (i <= 1.45e+221) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * j) - (y * k) t_2 = (x * y) - (z * t) t_3 = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j)))) t_4 = (y * k) - (t * j) t_5 = (c * i) - (a * b) tmp = 0 if i <= -8.6e+178: tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_4) - (c * t_2))) elif i <= -3.7e+96: tmp = t_3 elif i <= -1.4e+55: tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4)))) elif i <= -1550000.0: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif i <= -1.72e-46: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5))) elif i <= -2.7e-213: tmp = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif i <= 1.55e-185: tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_4) + (y0 * ((j * y3) - (k * y2))))) elif i <= 1.55e-37: tmp = b * (j * ((t * y4) - (x * y0))) elif i <= 1.66e+128: tmp = t_3 elif i <= 1.45e+221: tmp = c * (t * ((z * i) - (y2 * y4))) else: tmp = z * (k * (i * -y1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * j) - Float64(y * k)) t_2 = Float64(Float64(x * y) - Float64(z * t)) t_3 = Float64(b * Float64(Float64(Float64(a * t_2) + Float64(y4 * t_1)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))) t_4 = Float64(Float64(y * k) - Float64(t * j)) t_5 = Float64(Float64(c * i) - Float64(a * b)) tmp = 0.0 if (i <= -8.6e+178) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * t_4) - Float64(c * t_2)))); elseif (i <= -3.7e+96) tmp = t_3; elseif (i <= -1.4e+55) tmp = Float64(t * Float64(Float64(Float64(z * t_5) + Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (i <= -1550000.0) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (i <= -1.72e-46) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * t_5)))); elseif (i <= -2.7e-213) tmp = Float64(y4 * Float64(Float64(Float64(b * t_1) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (i <= 1.55e-185) tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * t_4) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))); elseif (i <= 1.55e-37) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (i <= 1.66e+128) tmp = t_3; elseif (i <= 1.45e+221) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); else tmp = Float64(z * Float64(k * Float64(i * Float64(-y1)))); 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 = (t * j) - (y * k); t_2 = (x * y) - (z * t); t_3 = b * (((a * t_2) + (y4 * t_1)) + (y0 * ((z * k) - (x * j)))); t_4 = (y * k) - (t * j); t_5 = (c * i) - (a * b); tmp = 0.0; if (i <= -8.6e+178) tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * t_4) - (c * t_2))); elseif (i <= -3.7e+96) tmp = t_3; elseif (i <= -1.4e+55) tmp = t * (((z * t_5) + (j * ((b * y4) - (i * y5)))) + (y2 * ((a * y5) - (c * y4)))); elseif (i <= -1550000.0) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (i <= -1.72e-46) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) + (t * t_5))); elseif (i <= -2.7e-213) tmp = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (i <= 1.55e-185) tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * t_4) + (y0 * ((j * y3) - (k * y2))))); elseif (i <= 1.55e-37) tmp = b * (j * ((t * y4) - (x * y0))); elseif (i <= 1.66e+128) tmp = t_3; elseif (i <= 1.45e+221) tmp = c * (t * ((z * i) - (y2 * y4))); else tmp = z * (k * (i * -y1)); 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[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(b * N[(N[(N[(a * t$95$2), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -8.6e+178], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * t$95$4), $MachinePrecision] - N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.7e+96], t$95$3, If[LessEqual[i, -1.4e+55], N[(t * N[(N[(N[(z * t$95$5), $MachinePrecision] + N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1550000.0], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.72e-46], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.7e-213], N[(y4 * N[(N[(N[(b * t$95$1), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.55e-185], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * t$95$4), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.55e-37], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.66e+128], t$95$3, If[LessEqual[i, 1.45e+221], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot j - y \cdot k\\
t_2 := x \cdot y - z \cdot t\\
t_3 := b \cdot \left(\left(a \cdot t\_2 + y4 \cdot t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_4 := y \cdot k - t \cdot j\\
t_5 := c \cdot i - a \cdot b\\
\mathbf{if}\;i \leq -8.6 \cdot 10^{+178}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot t\_4 - c \cdot t\_2\right)\right)\\
\mathbf{elif}\;i \leq -3.7 \cdot 10^{+96}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq -1.4 \cdot 10^{+55}:\\
\;\;\;\;t \cdot \left(\left(z \cdot t\_5 + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq -1550000:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq -1.72 \cdot 10^{-46}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot t\_5\right)\right)\\
\mathbf{elif}\;i \leq -2.7 \cdot 10^{-213}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_1 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 1.55 \cdot 10^{-185}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot t\_4 + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
\mathbf{elif}\;i \leq 1.55 \cdot 10^{-37}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.66 \cdot 10^{+128}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq 1.45 \cdot 10^{+221}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\end{array}
\end{array}
if i < -8.6000000000000004e178Initial program 31.0%
Taylor expanded in i around -inf 72.8%
if -8.6000000000000004e178 < i < -3.69999999999999991e96 or 1.54999999999999997e-37 < i < 1.6599999999999999e128Initial program 31.9%
Taylor expanded in b around inf 66.3%
if -3.69999999999999991e96 < i < -1.4e55Initial program 35.6%
Taylor expanded in t around inf 72.3%
if -1.4e55 < i < -1.55e6Initial program 44.4%
Taylor expanded in x around inf 77.9%
if -1.55e6 < i < -1.7199999999999999e-46Initial program 61.3%
Taylor expanded in z around -inf 74.7%
if -1.7199999999999999e-46 < i < -2.7000000000000001e-213Initial program 38.8%
Taylor expanded in y4 around inf 53.5%
if -2.7000000000000001e-213 < i < 1.5499999999999998e-185Initial program 32.1%
Taylor expanded in y5 around -inf 53.9%
if 1.5499999999999998e-185 < i < 1.54999999999999997e-37Initial program 23.5%
Taylor expanded in b around inf 33.7%
Taylor expanded in j around inf 48.0%
if 1.6599999999999999e128 < i < 1.4499999999999999e221Initial program 15.8%
Taylor expanded in t around inf 36.9%
Taylor expanded in c around inf 58.2%
if 1.4499999999999999e221 < i Initial program 16.7%
Taylor expanded in z around -inf 33.5%
Taylor expanded in k around inf 42.0%
Taylor expanded in i around inf 59.4%
Final simplification61.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t j) (* y k)))
(t_2 (* k (- (* b y0) (* i y1))))
(t_3 (- (* k y2) (* j y3)))
(t_4
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))))
(if (<= t -2.35e+154)
(*
b
(+ (+ (* a (- (* x y) (* z t))) (* y4 t_1)) (* y0 (- (* z k) (* x j)))))
(if (<= t -1.8e+87)
(+ (* t_3 (- (* y1 y4) (* y0 y5))) (* c (* y (* y3 y4))))
(if (<= t -1.66e-12)
(*
z
(+ t_2 (+ (* y3 (- (* a y1) (* c y0))) (* t (- (* c i) (* a b))))))
(if (<= t -3.2e-36)
(* y4 (+ (+ (* b t_1) (* y1 t_3)) (* c (- (* y y3) (* t y2)))))
(if (<= t -9.5e-117)
t_4
(if (<= t -2.2e-204)
(* z t_2)
(if (<= t 9.4e-203)
t_4
(if (<= t 2.3e-92)
(*
y1
(+
(+ (* y4 t_3) (* a (- (* z y3) (* x y2))))
(* i (- (* x j) (* z k)))))
(if (<= t 8e+154)
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+
(* i (- (* y k) (* t j)))
(* y0 (- (* j y3) (* k y2))))))
(* b (* a (* z (- t)))))))))))))))
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 = (t * j) - (y * k);
double t_2 = k * ((b * y0) - (i * y1));
double t_3 = (k * y2) - (j * y3);
double t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (t <= -2.35e+154) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
} else if (t <= -1.8e+87) {
tmp = (t_3 * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)));
} else if (t <= -1.66e-12) {
tmp = z * (t_2 + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
} else if (t <= -3.2e-36) {
tmp = y4 * (((b * t_1) + (y1 * t_3)) + (c * ((y * y3) - (t * y2))));
} else if (t <= -9.5e-117) {
tmp = t_4;
} else if (t <= -2.2e-204) {
tmp = z * t_2;
} else if (t <= 9.4e-203) {
tmp = t_4;
} else if (t <= 2.3e-92) {
tmp = y1 * (((y4 * t_3) + (a * ((z * y3) - (x * y2)))) + (i * ((x * j) - (z * k))));
} else if (t <= 8e+154) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else {
tmp = b * (a * (z * -t));
}
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) :: tmp
t_1 = (t * j) - (y * k)
t_2 = k * ((b * y0) - (i * y1))
t_3 = (k * y2) - (j * y3)
t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
if (t <= (-2.35d+154)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))
else if (t <= (-1.8d+87)) then
tmp = (t_3 * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)))
else if (t <= (-1.66d-12)) then
tmp = z * (t_2 + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))))
else if (t <= (-3.2d-36)) then
tmp = y4 * (((b * t_1) + (y1 * t_3)) + (c * ((y * y3) - (t * y2))))
else if (t <= (-9.5d-117)) then
tmp = t_4
else if (t <= (-2.2d-204)) then
tmp = z * t_2
else if (t <= 9.4d-203) then
tmp = t_4
else if (t <= 2.3d-92) then
tmp = y1 * (((y4 * t_3) + (a * ((z * y3) - (x * y2)))) + (i * ((x * j) - (z * k))))
else if (t <= 8d+154) then
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
else
tmp = b * (a * (z * -t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * j) - (y * k);
double t_2 = k * ((b * y0) - (i * y1));
double t_3 = (k * y2) - (j * y3);
double t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (t <= -2.35e+154) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
} else if (t <= -1.8e+87) {
tmp = (t_3 * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)));
} else if (t <= -1.66e-12) {
tmp = z * (t_2 + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))));
} else if (t <= -3.2e-36) {
tmp = y4 * (((b * t_1) + (y1 * t_3)) + (c * ((y * y3) - (t * y2))));
} else if (t <= -9.5e-117) {
tmp = t_4;
} else if (t <= -2.2e-204) {
tmp = z * t_2;
} else if (t <= 9.4e-203) {
tmp = t_4;
} else if (t <= 2.3e-92) {
tmp = y1 * (((y4 * t_3) + (a * ((z * y3) - (x * y2)))) + (i * ((x * j) - (z * k))));
} else if (t <= 8e+154) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else {
tmp = b * (a * (z * -t));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * j) - (y * k) t_2 = k * ((b * y0) - (i * y1)) t_3 = (k * y2) - (j * y3) t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) tmp = 0 if t <= -2.35e+154: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j)))) elif t <= -1.8e+87: tmp = (t_3 * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4))) elif t <= -1.66e-12: tmp = z * (t_2 + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b))))) elif t <= -3.2e-36: tmp = y4 * (((b * t_1) + (y1 * t_3)) + (c * ((y * y3) - (t * y2)))) elif t <= -9.5e-117: tmp = t_4 elif t <= -2.2e-204: tmp = z * t_2 elif t <= 9.4e-203: tmp = t_4 elif t <= 2.3e-92: tmp = y1 * (((y4 * t_3) + (a * ((z * y3) - (x * y2)))) + (i * ((x * j) - (z * k)))) elif t <= 8e+154: tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) else: tmp = b * (a * (z * -t)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * j) - Float64(y * k)) t_2 = Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) t_3 = Float64(Float64(k * y2) - Float64(j * y3)) t_4 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (t <= -2.35e+154) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_1)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (t <= -1.8e+87) tmp = Float64(Float64(t_3 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(c * Float64(y * Float64(y3 * y4)))); elseif (t <= -1.66e-12) tmp = Float64(z * Float64(t_2 + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))))); elseif (t <= -3.2e-36) tmp = Float64(y4 * Float64(Float64(Float64(b * t_1) + Float64(y1 * t_3)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (t <= -9.5e-117) tmp = t_4; elseif (t <= -2.2e-204) tmp = Float64(z * t_2); elseif (t <= 9.4e-203) tmp = t_4; elseif (t <= 2.3e-92) tmp = Float64(y1 * Float64(Float64(Float64(y4 * t_3) + Float64(a * Float64(Float64(z * y3) - Float64(x * y2)))) + Float64(i * Float64(Float64(x * j) - Float64(z * k))))); elseif (t <= 8e+154) tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))); else tmp = Float64(b * Float64(a * Float64(z * Float64(-t)))); 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 = (t * j) - (y * k); t_2 = k * ((b * y0) - (i * y1)); t_3 = (k * y2) - (j * y3); t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); tmp = 0.0; if (t <= -2.35e+154) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j)))); elseif (t <= -1.8e+87) tmp = (t_3 * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4))); elseif (t <= -1.66e-12) tmp = z * (t_2 + ((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b))))); elseif (t <= -3.2e-36) tmp = y4 * (((b * t_1) + (y1 * t_3)) + (c * ((y * y3) - (t * y2)))); elseif (t <= -9.5e-117) tmp = t_4; elseif (t <= -2.2e-204) tmp = z * t_2; elseif (t <= 9.4e-203) tmp = t_4; elseif (t <= 2.3e-92) tmp = y1 * (((y4 * t_3) + (a * ((z * y3) - (x * y2)))) + (i * ((x * j) - (z * k)))); elseif (t <= 8e+154) tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); else tmp = b * (a * (z * -t)); 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[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.35e+154], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.8e+87], N[(N[(t$95$3 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.66e-12], N[(z * N[(t$95$2 + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.2e-36], N[(y4 * N[(N[(N[(b * t$95$1), $MachinePrecision] + N[(y1 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -9.5e-117], t$95$4, If[LessEqual[t, -2.2e-204], N[(z * t$95$2), $MachinePrecision], If[LessEqual[t, 9.4e-203], t$95$4, If[LessEqual[t, 2.3e-92], N[(y1 * N[(N[(N[(y4 * t$95$3), $MachinePrecision] + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8e+154], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(a * N[(z * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot j - y \cdot k\\
t_2 := k \cdot \left(b \cdot y0 - i \cdot y1\right)\\
t_3 := k \cdot y2 - j \cdot y3\\
t_4 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;t \leq -2.35 \cdot 10^{+154}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;t \leq -1.8 \cdot 10^{+87}:\\
\;\;\;\;t\_3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq -1.66 \cdot 10^{-12}:\\
\;\;\;\;z \cdot \left(t\_2 + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right)\right)\\
\mathbf{elif}\;t \leq -3.2 \cdot 10^{-36}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_1 + y1 \cdot t\_3\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;t \leq -9.5 \cdot 10^{-117}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;t \leq -2.2 \cdot 10^{-204}:\\
\;\;\;\;z \cdot t\_2\\
\mathbf{elif}\;t \leq 9.4 \cdot 10^{-203}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;t \leq 2.3 \cdot 10^{-92}:\\
\;\;\;\;y1 \cdot \left(\left(y4 \cdot t\_3 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right) + i \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;t \leq 8 \cdot 10^{+154}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot \left(z \cdot \left(-t\right)\right)\right)\\
\end{array}
\end{array}
if t < -2.34999999999999992e154Initial program 15.4%
Taylor expanded in b around inf 61.8%
if -2.34999999999999992e154 < t < -1.79999999999999997e87Initial program 41.7%
Taylor expanded in y4 around inf 51.0%
Taylor expanded in y3 around inf 75.7%
if -1.79999999999999997e87 < t < -1.65999999999999999e-12Initial program 26.1%
Taylor expanded in z around -inf 61.4%
if -1.65999999999999999e-12 < t < -3.20000000000000021e-36Initial program 25.0%
Taylor expanded in y4 around inf 87.5%
if -3.20000000000000021e-36 < t < -9.5000000000000004e-117 or -2.1999999999999998e-204 < t < 9.40000000000000012e-203Initial program 32.3%
Taylor expanded in x around inf 58.6%
if -9.5000000000000004e-117 < t < -2.1999999999999998e-204Initial program 55.6%
Taylor expanded in z around -inf 67.2%
Taylor expanded in k around inf 67.4%
if 9.40000000000000012e-203 < t < 2.30000000000000016e-92Initial program 33.7%
Taylor expanded in y1 around inf 78.2%
if 2.30000000000000016e-92 < t < 8.0000000000000003e154Initial program 33.9%
Taylor expanded in y5 around -inf 49.1%
if 8.0000000000000003e154 < t Initial program 30.3%
Taylor expanded in b around inf 39.5%
Taylor expanded in a around inf 48.8%
Taylor expanded in x around 0 52.2%
mul-1-neg52.2%
distribute-lft-neg-out52.2%
*-commutative52.2%
Simplified52.2%
Final simplification60.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* t (* y2 (- (* a y5) (* c y4)))))
(t_2
(*
z
(+ (- (* y1 (- (* a y3) (* i k))) (* c (* y0 y3))) (* b (* k y0))))))
(if (<= c -7.8e+198)
(* (* a y3) (- (* z y1) (* y y5)))
(if (<= c -2.35e+142)
t_1
(if (<= c -2.35e-66)
t_2
(if (<= c -7.5e-183)
(* b (* y (- (* x a) (* k y4))))
(if (<= c -1e-223)
(* i (* y1 (- (* x j) (* z k))))
(if (<= c 5e-263)
(* b (* j (- (* t y4) (* x y0))))
(if (<= c 1.4e-190)
t_2
(if (<= c 3.25e-153)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= c 1.25e-67)
(+
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(* c (* y (* y3 y4))))
(if (<= c 1.62e+99)
(* b (* a (- (* x y) (* z t))))
(if (<= c 1.32e+191)
(* y (* y4 (- (* c y3) (* b k))))
(if (<= c 2.1e+234)
(* c (* i (- (* z t) (* x y))))
t_1))))))))))))))
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 = t * (y2 * ((a * y5) - (c * y4)));
double t_2 = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
double tmp;
if (c <= -7.8e+198) {
tmp = (a * y3) * ((z * y1) - (y * y5));
} else if (c <= -2.35e+142) {
tmp = t_1;
} else if (c <= -2.35e-66) {
tmp = t_2;
} else if (c <= -7.5e-183) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (c <= -1e-223) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (c <= 5e-263) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (c <= 1.4e-190) {
tmp = t_2;
} else if (c <= 3.25e-153) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (c <= 1.25e-67) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)));
} else if (c <= 1.62e+99) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (c <= 1.32e+191) {
tmp = y * (y4 * ((c * y3) - (b * k)));
} else if (c <= 2.1e+234) {
tmp = c * (i * ((z * t) - (x * y)));
} else {
tmp = t_1;
}
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 = t * (y2 * ((a * y5) - (c * y4)))
t_2 = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)))
if (c <= (-7.8d+198)) then
tmp = (a * y3) * ((z * y1) - (y * y5))
else if (c <= (-2.35d+142)) then
tmp = t_1
else if (c <= (-2.35d-66)) then
tmp = t_2
else if (c <= (-7.5d-183)) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (c <= (-1d-223)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (c <= 5d-263) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (c <= 1.4d-190) then
tmp = t_2
else if (c <= 3.25d-153) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (c <= 1.25d-67) then
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)))
else if (c <= 1.62d+99) then
tmp = b * (a * ((x * y) - (z * t)))
else if (c <= 1.32d+191) then
tmp = y * (y4 * ((c * y3) - (b * k)))
else if (c <= 2.1d+234) then
tmp = c * (i * ((z * t) - (x * y)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = t * (y2 * ((a * y5) - (c * y4)));
double t_2 = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
double tmp;
if (c <= -7.8e+198) {
tmp = (a * y3) * ((z * y1) - (y * y5));
} else if (c <= -2.35e+142) {
tmp = t_1;
} else if (c <= -2.35e-66) {
tmp = t_2;
} else if (c <= -7.5e-183) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (c <= -1e-223) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (c <= 5e-263) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (c <= 1.4e-190) {
tmp = t_2;
} else if (c <= 3.25e-153) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (c <= 1.25e-67) {
tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4)));
} else if (c <= 1.62e+99) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (c <= 1.32e+191) {
tmp = y * (y4 * ((c * y3) - (b * k)));
} else if (c <= 2.1e+234) {
tmp = c * (i * ((z * t) - (x * y)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = t * (y2 * ((a * y5) - (c * y4))) t_2 = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0))) tmp = 0 if c <= -7.8e+198: tmp = (a * y3) * ((z * y1) - (y * y5)) elif c <= -2.35e+142: tmp = t_1 elif c <= -2.35e-66: tmp = t_2 elif c <= -7.5e-183: tmp = b * (y * ((x * a) - (k * y4))) elif c <= -1e-223: tmp = i * (y1 * ((x * j) - (z * k))) elif c <= 5e-263: tmp = b * (j * ((t * y4) - (x * y0))) elif c <= 1.4e-190: tmp = t_2 elif c <= 3.25e-153: tmp = a * (t * ((y2 * y5) - (z * b))) elif c <= 1.25e-67: tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4))) elif c <= 1.62e+99: tmp = b * (a * ((x * y) - (z * t))) elif c <= 1.32e+191: tmp = y * (y4 * ((c * y3) - (b * k))) elif c <= 2.1e+234: tmp = c * (i * ((z * t) - (x * y))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))) t_2 = Float64(z * Float64(Float64(Float64(y1 * Float64(Float64(a * y3) - Float64(i * k))) - Float64(c * Float64(y0 * y3))) + Float64(b * Float64(k * y0)))) tmp = 0.0 if (c <= -7.8e+198) tmp = Float64(Float64(a * y3) * Float64(Float64(z * y1) - Float64(y * y5))); elseif (c <= -2.35e+142) tmp = t_1; elseif (c <= -2.35e-66) tmp = t_2; elseif (c <= -7.5e-183) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (c <= -1e-223) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (c <= 5e-263) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (c <= 1.4e-190) tmp = t_2; elseif (c <= 3.25e-153) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (c <= 1.25e-67) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(c * Float64(y * Float64(y3 * y4)))); elseif (c <= 1.62e+99) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (c <= 1.32e+191) tmp = Float64(y * Float64(y4 * Float64(Float64(c * y3) - Float64(b * k)))); elseif (c <= 2.1e+234) tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); else tmp = t_1; 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 = t * (y2 * ((a * y5) - (c * y4))); t_2 = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0))); tmp = 0.0; if (c <= -7.8e+198) tmp = (a * y3) * ((z * y1) - (y * y5)); elseif (c <= -2.35e+142) tmp = t_1; elseif (c <= -2.35e-66) tmp = t_2; elseif (c <= -7.5e-183) tmp = b * (y * ((x * a) - (k * y4))); elseif (c <= -1e-223) tmp = i * (y1 * ((x * j) - (z * k))); elseif (c <= 5e-263) tmp = b * (j * ((t * y4) - (x * y0))); elseif (c <= 1.4e-190) tmp = t_2; elseif (c <= 3.25e-153) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (c <= 1.25e-67) tmp = (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) + (c * (y * (y3 * y4))); elseif (c <= 1.62e+99) tmp = b * (a * ((x * y) - (z * t))); elseif (c <= 1.32e+191) tmp = y * (y4 * ((c * y3) - (b * k))); elseif (c <= 2.1e+234) tmp = c * (i * ((z * t) - (x * y))); else tmp = t_1; 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[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -7.8e+198], N[(N[(a * y3), $MachinePrecision] * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -2.35e+142], t$95$1, If[LessEqual[c, -2.35e-66], t$95$2, If[LessEqual[c, -7.5e-183], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1e-223], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5e-263], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.4e-190], t$95$2, If[LessEqual[c, 3.25e-153], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.25e-67], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.62e+99], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.32e+191], N[(y * N[(y4 * N[(N[(c * y3), $MachinePrecision] - N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.1e+234], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_2 := z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\
\mathbf{if}\;c \leq -7.8 \cdot 10^{+198}:\\
\;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\
\mathbf{elif}\;c \leq -2.35 \cdot 10^{+142}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -2.35 \cdot 10^{-66}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;c \leq -7.5 \cdot 10^{-183}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq -1 \cdot 10^{-223}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;c \leq 5 \cdot 10^{-263}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 1.4 \cdot 10^{-190}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;c \leq 3.25 \cdot 10^{-153}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;c \leq 1.25 \cdot 10^{-67}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq 1.62 \cdot 10^{+99}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;c \leq 1.32 \cdot 10^{+191}:\\
\;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\
\mathbf{elif}\;c \leq 2.1 \cdot 10^{+234}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -7.8e198Initial program 21.4%
Taylor expanded in y3 around -inf 52.6%
Taylor expanded in a around inf 57.7%
associate-*r*57.7%
distribute-lft-out--57.7%
Simplified57.7%
if -7.8e198 < c < -2.35e142 or 2.1e234 < c Initial program 14.3%
Taylor expanded in t around inf 29.0%
Taylor expanded in y2 around inf 68.2%
if -2.35e142 < c < -2.35e-66 or 5.00000000000000006e-263 < c < 1.40000000000000003e-190Initial program 38.6%
Taylor expanded in z around -inf 48.8%
Taylor expanded in y1 around 0 53.7%
Taylor expanded in t around 0 49.1%
if -2.35e-66 < c < -7.5000000000000004e-183Initial program 35.0%
Taylor expanded in b around inf 21.9%
Taylor expanded in y around inf 46.5%
if -7.5000000000000004e-183 < c < -9.9999999999999997e-224Initial program 11.9%
Taylor expanded in i around -inf 34.2%
Taylor expanded in y1 around inf 78.2%
if -9.9999999999999997e-224 < c < 5.00000000000000006e-263Initial program 38.3%
Taylor expanded in b around inf 43.5%
Taylor expanded in j around inf 53.2%
if 1.40000000000000003e-190 < c < 3.25000000000000016e-153Initial program 0.0%
Taylor expanded in t around inf 38.6%
Taylor expanded in a around -inf 75.2%
mul-1-neg75.2%
Simplified75.2%
if 3.25000000000000016e-153 < c < 1.25e-67Initial program 39.9%
Taylor expanded in y4 around inf 64.9%
Taylor expanded in y3 around inf 68.8%
if 1.25e-67 < c < 1.61999999999999988e99Initial program 42.1%
Taylor expanded in b around inf 42.5%
Taylor expanded in a around inf 46.0%
if 1.61999999999999988e99 < c < 1.32e191Initial program 47.6%
Taylor expanded in y4 around inf 43.3%
Taylor expanded in y around -inf 48.7%
mul-1-neg48.7%
Simplified48.7%
if 1.32e191 < c < 2.1e234Initial program 12.5%
Taylor expanded in i around -inf 62.5%
Taylor expanded in c around inf 88.1%
Final simplification56.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y1 y4) (* y0 y5)))
(t_2 (+ (* (- (* k y2) (* j y3)) t_1) (* c (* y (* y3 y4))))))
(if (<= y0 -4e+95)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y0 -4.8e-20)
t_2
(if (<= y0 -1.5e-163)
(* (* x y) (- (* a b) (* c i)))
(if (<= y0 3e-297)
(* y2 (- (* k t_1) (* c (* t y4))))
(if (<= y0 2.9e-212)
(* t (* z (- (* c i) (* a b))))
(if (<= y0 3.6e-108)
(* (* a y3) (- (* z y1) (* y y5)))
(if (<= y0 4e-73)
(* b (* z (- (* k y0) (* t a))))
(if (<= y0 2.85e+100)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y0 2.7e+167)
(* b (* y (- (* x a) (* k y4))))
t_2)))))))))))
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 = (y1 * y4) - (y0 * y5);
double t_2 = (((k * y2) - (j * y3)) * t_1) + (c * (y * (y3 * y4)));
double tmp;
if (y0 <= -4e+95) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -4.8e-20) {
tmp = t_2;
} else if (y0 <= -1.5e-163) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 3e-297) {
tmp = y2 * ((k * t_1) - (c * (t * y4)));
} else if (y0 <= 2.9e-212) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y0 <= 3.6e-108) {
tmp = (a * y3) * ((z * y1) - (y * y5));
} else if (y0 <= 4e-73) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y0 <= 2.85e+100) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 2.7e+167) {
tmp = b * (y * ((x * a) - (k * y4)));
} else {
tmp = t_2;
}
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 = (y1 * y4) - (y0 * y5)
t_2 = (((k * y2) - (j * y3)) * t_1) + (c * (y * (y3 * y4)))
if (y0 <= (-4d+95)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y0 <= (-4.8d-20)) then
tmp = t_2
else if (y0 <= (-1.5d-163)) then
tmp = (x * y) * ((a * b) - (c * i))
else if (y0 <= 3d-297) then
tmp = y2 * ((k * t_1) - (c * (t * y4)))
else if (y0 <= 2.9d-212) then
tmp = t * (z * ((c * i) - (a * b)))
else if (y0 <= 3.6d-108) then
tmp = (a * y3) * ((z * y1) - (y * y5))
else if (y0 <= 4d-73) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (y0 <= 2.85d+100) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y0 <= 2.7d+167) then
tmp = b * (y * ((x * a) - (k * y4)))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double t_2 = (((k * y2) - (j * y3)) * t_1) + (c * (y * (y3 * y4)));
double tmp;
if (y0 <= -4e+95) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -4.8e-20) {
tmp = t_2;
} else if (y0 <= -1.5e-163) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 3e-297) {
tmp = y2 * ((k * t_1) - (c * (t * y4)));
} else if (y0 <= 2.9e-212) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y0 <= 3.6e-108) {
tmp = (a * y3) * ((z * y1) - (y * y5));
} else if (y0 <= 4e-73) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y0 <= 2.85e+100) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 2.7e+167) {
tmp = b * (y * ((x * a) - (k * y4)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y1 * y4) - (y0 * y5) t_2 = (((k * y2) - (j * y3)) * t_1) + (c * (y * (y3 * y4))) tmp = 0 if y0 <= -4e+95: tmp = b * (y0 * ((z * k) - (x * j))) elif y0 <= -4.8e-20: tmp = t_2 elif y0 <= -1.5e-163: tmp = (x * y) * ((a * b) - (c * i)) elif y0 <= 3e-297: tmp = y2 * ((k * t_1) - (c * (t * y4))) elif y0 <= 2.9e-212: tmp = t * (z * ((c * i) - (a * b))) elif y0 <= 3.6e-108: tmp = (a * y3) * ((z * y1) - (y * y5)) elif y0 <= 4e-73: tmp = b * (z * ((k * y0) - (t * a))) elif y0 <= 2.85e+100: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y0 <= 2.7e+167: tmp = b * (y * ((x * a) - (k * y4))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_2 = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_1) + Float64(c * Float64(y * Float64(y3 * y4)))) tmp = 0.0 if (y0 <= -4e+95) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y0 <= -4.8e-20) tmp = t_2; elseif (y0 <= -1.5e-163) tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i))); elseif (y0 <= 3e-297) tmp = Float64(y2 * Float64(Float64(k * t_1) - Float64(c * Float64(t * y4)))); elseif (y0 <= 2.9e-212) tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b)))); elseif (y0 <= 3.6e-108) tmp = Float64(Float64(a * y3) * Float64(Float64(z * y1) - Float64(y * y5))); elseif (y0 <= 4e-73) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (y0 <= 2.85e+100) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y0 <= 2.7e+167) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); else tmp = t_2; 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 = (y1 * y4) - (y0 * y5); t_2 = (((k * y2) - (j * y3)) * t_1) + (c * (y * (y3 * y4))); tmp = 0.0; if (y0 <= -4e+95) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y0 <= -4.8e-20) tmp = t_2; elseif (y0 <= -1.5e-163) tmp = (x * y) * ((a * b) - (c * i)); elseif (y0 <= 3e-297) tmp = y2 * ((k * t_1) - (c * (t * y4))); elseif (y0 <= 2.9e-212) tmp = t * (z * ((c * i) - (a * b))); elseif (y0 <= 3.6e-108) tmp = (a * y3) * ((z * y1) - (y * y5)); elseif (y0 <= 4e-73) tmp = b * (z * ((k * y0) - (t * a))); elseif (y0 <= 2.85e+100) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y0 <= 2.7e+167) tmp = b * (y * ((x * a) - (k * y4))); else tmp = t_2; 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[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$1), $MachinePrecision] + N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4e+95], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -4.8e-20], t$95$2, If[LessEqual[y0, -1.5e-163], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3e-297], N[(y2 * N[(N[(k * t$95$1), $MachinePrecision] - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.9e-212], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.6e-108], N[(N[(a * y3), $MachinePrecision] * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4e-73], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.85e+100], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.7e+167], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \cdot y5\\
t_2 := \left(k \cdot y2 - j \cdot y3\right) \cdot t\_1 + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{if}\;y0 \leq -4 \cdot 10^{+95}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq -4.8 \cdot 10^{-20}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq -1.5 \cdot 10^{-163}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\
\mathbf{elif}\;y0 \leq 3 \cdot 10^{-297}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_1 - c \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 2.9 \cdot 10^{-212}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;y0 \leq 3.6 \cdot 10^{-108}:\\
\;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\
\mathbf{elif}\;y0 \leq 4 \cdot 10^{-73}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;y0 \leq 2.85 \cdot 10^{+100}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+167}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y0 < -4.00000000000000008e95Initial program 22.9%
Taylor expanded in b around inf 51.0%
Taylor expanded in y0 around inf 53.7%
if -4.00000000000000008e95 < y0 < -4.79999999999999986e-20 or 2.70000000000000005e167 < y0 Initial program 32.1%
Taylor expanded in y4 around inf 40.1%
Taylor expanded in y3 around inf 56.2%
if -4.79999999999999986e-20 < y0 < -1.5000000000000001e-163Initial program 34.4%
Taylor expanded in x around inf 62.6%
Taylor expanded in y around inf 56.7%
associate-*r*50.7%
Simplified50.7%
if -1.5000000000000001e-163 < y0 < 2.99999999999999995e-297Initial program 36.4%
Taylor expanded in y4 around inf 55.4%
Taylor expanded in y2 around inf 51.4%
if 2.99999999999999995e-297 < y0 < 2.8999999999999999e-212Initial program 43.8%
Taylor expanded in t around inf 44.1%
Taylor expanded in z around inf 63.5%
mul-1-neg63.5%
Simplified63.5%
if 2.8999999999999999e-212 < y0 < 3.6000000000000001e-108Initial program 45.8%
Taylor expanded in y3 around -inf 53.5%
Taylor expanded in a around inf 56.1%
associate-*r*47.2%
distribute-lft-out--47.2%
Simplified47.2%
if 3.6000000000000001e-108 < y0 < 3.99999999999999999e-73Initial program 42.1%
Taylor expanded in b around inf 59.4%
Taylor expanded in z around -inf 59.4%
mul-1-neg59.4%
Simplified59.4%
if 3.99999999999999999e-73 < y0 < 2.84999999999999992e100Initial program 33.3%
Taylor expanded in t around inf 45.2%
Taylor expanded in y2 around inf 39.9%
if 2.84999999999999992e100 < y0 < 2.70000000000000005e167Initial program 0.0%
Taylor expanded in b around inf 58.8%
Taylor expanded in y around inf 58.9%
Final simplification52.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
(t_2 (* b (* y0 (- (* z k) (* x j)))))
(t_3 (* t (* y2 (- (* a y5) (* c y4)))))
(t_4 (- (* x y) (* z t))))
(if (<= y0 -1.9e+85)
t_2
(if (<= y0 -5.6e-20)
t_1
(if (<= y0 -1e-150)
(* (* x y) (- (* a b) (* c i)))
(if (<= y0 1.32e-298)
t_3
(if (<= y0 9.6e-158)
(* t (* z (- (* c i) (* a b))))
(if (<= y0 1.7e-105)
t_3
(if (<= y0 1.35e+60)
(* b (* a t_4))
(if (<= y0 3.5e+100)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y0 2.9e+161)
(* (* a b) t_4)
(if (<= y0 4.7e+219)
t_2
(if (<= y0 2.1e+296)
t_1
(* j (* t (- (* b y4) (* i 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 t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = t * (y2 * ((a * y5) - (c * y4)));
double t_4 = (x * y) - (z * t);
double tmp;
if (y0 <= -1.9e+85) {
tmp = t_2;
} else if (y0 <= -5.6e-20) {
tmp = t_1;
} else if (y0 <= -1e-150) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 1.32e-298) {
tmp = t_3;
} else if (y0 <= 9.6e-158) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y0 <= 1.7e-105) {
tmp = t_3;
} else if (y0 <= 1.35e+60) {
tmp = b * (a * t_4);
} else if (y0 <= 3.5e+100) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y0 <= 2.9e+161) {
tmp = (a * b) * t_4;
} else if (y0 <= 4.7e+219) {
tmp = t_2;
} else if (y0 <= 2.1e+296) {
tmp = t_1;
} else {
tmp = j * (t * ((b * y4) - (i * 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) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
t_2 = b * (y0 * ((z * k) - (x * j)))
t_3 = t * (y2 * ((a * y5) - (c * y4)))
t_4 = (x * y) - (z * t)
if (y0 <= (-1.9d+85)) then
tmp = t_2
else if (y0 <= (-5.6d-20)) then
tmp = t_1
else if (y0 <= (-1d-150)) then
tmp = (x * y) * ((a * b) - (c * i))
else if (y0 <= 1.32d-298) then
tmp = t_3
else if (y0 <= 9.6d-158) then
tmp = t * (z * ((c * i) - (a * b)))
else if (y0 <= 1.7d-105) then
tmp = t_3
else if (y0 <= 1.35d+60) then
tmp = b * (a * t_4)
else if (y0 <= 3.5d+100) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y0 <= 2.9d+161) then
tmp = (a * b) * t_4
else if (y0 <= 4.7d+219) then
tmp = t_2
else if (y0 <= 2.1d+296) then
tmp = t_1
else
tmp = j * (t * ((b * y4) - (i * 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 t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = t * (y2 * ((a * y5) - (c * y4)));
double t_4 = (x * y) - (z * t);
double tmp;
if (y0 <= -1.9e+85) {
tmp = t_2;
} else if (y0 <= -5.6e-20) {
tmp = t_1;
} else if (y0 <= -1e-150) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 1.32e-298) {
tmp = t_3;
} else if (y0 <= 9.6e-158) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y0 <= 1.7e-105) {
tmp = t_3;
} else if (y0 <= 1.35e+60) {
tmp = b * (a * t_4);
} else if (y0 <= 3.5e+100) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y0 <= 2.9e+161) {
tmp = (a * b) * t_4;
} else if (y0 <= 4.7e+219) {
tmp = t_2;
} else if (y0 <= 2.1e+296) {
tmp = t_1;
} else {
tmp = j * (t * ((b * y4) - (i * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) t_2 = b * (y0 * ((z * k) - (x * j))) t_3 = t * (y2 * ((a * y5) - (c * y4))) t_4 = (x * y) - (z * t) tmp = 0 if y0 <= -1.9e+85: tmp = t_2 elif y0 <= -5.6e-20: tmp = t_1 elif y0 <= -1e-150: tmp = (x * y) * ((a * b) - (c * i)) elif y0 <= 1.32e-298: tmp = t_3 elif y0 <= 9.6e-158: tmp = t * (z * ((c * i) - (a * b))) elif y0 <= 1.7e-105: tmp = t_3 elif y0 <= 1.35e+60: tmp = b * (a * t_4) elif y0 <= 3.5e+100: tmp = x * (y0 * ((c * y2) - (b * j))) elif y0 <= 2.9e+161: tmp = (a * b) * t_4 elif y0 <= 4.7e+219: tmp = t_2 elif y0 <= 2.1e+296: tmp = t_1 else: tmp = j * (t * ((b * y4) - (i * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_3 = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))) t_4 = Float64(Float64(x * y) - Float64(z * t)) tmp = 0.0 if (y0 <= -1.9e+85) tmp = t_2; elseif (y0 <= -5.6e-20) tmp = t_1; elseif (y0 <= -1e-150) tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i))); elseif (y0 <= 1.32e-298) tmp = t_3; elseif (y0 <= 9.6e-158) tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b)))); elseif (y0 <= 1.7e-105) tmp = t_3; elseif (y0 <= 1.35e+60) tmp = Float64(b * Float64(a * t_4)); elseif (y0 <= 3.5e+100) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y0 <= 2.9e+161) tmp = Float64(Float64(a * b) * t_4); elseif (y0 <= 4.7e+219) tmp = t_2; elseif (y0 <= 2.1e+296) tmp = t_1; else tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * 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) t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))); t_2 = b * (y0 * ((z * k) - (x * j))); t_3 = t * (y2 * ((a * y5) - (c * y4))); t_4 = (x * y) - (z * t); tmp = 0.0; if (y0 <= -1.9e+85) tmp = t_2; elseif (y0 <= -5.6e-20) tmp = t_1; elseif (y0 <= -1e-150) tmp = (x * y) * ((a * b) - (c * i)); elseif (y0 <= 1.32e-298) tmp = t_3; elseif (y0 <= 9.6e-158) tmp = t * (z * ((c * i) - (a * b))); elseif (y0 <= 1.7e-105) tmp = t_3; elseif (y0 <= 1.35e+60) tmp = b * (a * t_4); elseif (y0 <= 3.5e+100) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y0 <= 2.9e+161) tmp = (a * b) * t_4; elseif (y0 <= 4.7e+219) tmp = t_2; elseif (y0 <= 2.1e+296) tmp = t_1; else tmp = j * (t * ((b * y4) - (i * y5))); 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.9e+85], t$95$2, If[LessEqual[y0, -5.6e-20], t$95$1, If[LessEqual[y0, -1e-150], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.32e-298], t$95$3, If[LessEqual[y0, 9.6e-158], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.7e-105], t$95$3, If[LessEqual[y0, 1.35e+60], N[(b * N[(a * t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.5e+100], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.9e+161], N[(N[(a * b), $MachinePrecision] * t$95$4), $MachinePrecision], If[LessEqual[y0, 4.7e+219], t$95$2, If[LessEqual[y0, 2.1e+296], t$95$1, N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_4 := x \cdot y - z \cdot t\\
\mathbf{if}\;y0 \leq -1.9 \cdot 10^{+85}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq -5.6 \cdot 10^{-20}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -1 \cdot 10^{-150}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\
\mathbf{elif}\;y0 \leq 1.32 \cdot 10^{-298}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y0 \leq 9.6 \cdot 10^{-158}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-105}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y0 \leq 1.35 \cdot 10^{+60}:\\
\;\;\;\;b \cdot \left(a \cdot t\_4\right)\\
\mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+100}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq 2.9 \cdot 10^{+161}:\\
\;\;\;\;\left(a \cdot b\right) \cdot t\_4\\
\mathbf{elif}\;y0 \leq 4.7 \cdot 10^{+219}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+296}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if y0 < -1.89999999999999996e85 or 2.90000000000000016e161 < y0 < 4.70000000000000013e219Initial program 23.8%
Taylor expanded in b around inf 54.9%
Taylor expanded in y0 around inf 55.5%
if -1.89999999999999996e85 < y0 < -5.6000000000000005e-20 or 4.70000000000000013e219 < y0 < 2.10000000000000005e296Initial program 34.1%
Taylor expanded in y4 around inf 34.9%
Taylor expanded in y3 around inf 58.6%
Taylor expanded in y3 around 0 50.9%
if -5.6000000000000005e-20 < y0 < -1.00000000000000001e-150Initial program 32.1%
Taylor expanded in x around inf 60.9%
Taylor expanded in y around inf 57.7%
associate-*r*50.8%
Simplified50.8%
if -1.00000000000000001e-150 < y0 < 1.3200000000000001e-298 or 9.6000000000000003e-158 < y0 < 1.69999999999999996e-105Initial program 39.7%
Taylor expanded in t around inf 35.0%
Taylor expanded in y2 around inf 45.9%
if 1.3200000000000001e-298 < y0 < 9.6000000000000003e-158Initial program 48.1%
Taylor expanded in t around inf 34.1%
Taylor expanded in z around inf 53.1%
mul-1-neg53.1%
Simplified53.1%
if 1.69999999999999996e-105 < y0 < 1.35e60Initial program 27.6%
Taylor expanded in b around inf 38.4%
Taylor expanded in a around inf 38.7%
if 1.35e60 < y0 < 3.49999999999999976e100Initial program 71.2%
Taylor expanded in x around inf 76.1%
Taylor expanded in y0 around inf 76.1%
if 3.49999999999999976e100 < y0 < 2.90000000000000016e161Initial program 0.0%
Taylor expanded in b around inf 55.1%
Taylor expanded in a around inf 46.9%
Taylor expanded in b around 0 55.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
if 2.10000000000000005e296 < y0 Initial program 25.0%
Taylor expanded in t around inf 25.3%
Taylor expanded in j around inf 75.4%
Final simplification50.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0))))))
(t_2 (* b (* z (- (* k y0) (* t a)))))
(t_3 (- (* y1 y4) (* y0 y5))))
(if (<= y5 -2.4e+234)
(* i (* k (- (* y y5) (* z y1))))
(if (<= y5 -9.5e+159)
(* z (+ (- (* y1 (- (* a y3) (* i k))) (* c (* y0 y3))) (* b (* k y0))))
(if (<= y5 -170000.0)
t_2
(if (<= y5 -2.35e-28)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y5 3.9e-237)
t_1
(if (<= y5 9.5e-172)
t_2
(if (<= y5 3.8e-57)
t_1
(if (<= y5 3.3e+97)
(+ (* (- (* k y2) (* j y3)) t_3) (* c (* y (* y3 y4))))
(if (<= y5 2.35e+209)
(* y2 (- (* k t_3) (* c (* t y4))))
(if (<= y5 5.4e+224)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y5 3.3e+275)
(* y3 (* z (- (* a y1) (* c y0))))
(* t (* y5 (- (* a y2) (* i 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 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double t_2 = b * (z * ((k * y0) - (t * a)));
double t_3 = (y1 * y4) - (y0 * y5);
double tmp;
if (y5 <= -2.4e+234) {
tmp = i * (k * ((y * y5) - (z * y1)));
} else if (y5 <= -9.5e+159) {
tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
} else if (y5 <= -170000.0) {
tmp = t_2;
} else if (y5 <= -2.35e-28) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y5 <= 3.9e-237) {
tmp = t_1;
} else if (y5 <= 9.5e-172) {
tmp = t_2;
} else if (y5 <= 3.8e-57) {
tmp = t_1;
} else if (y5 <= 3.3e+97) {
tmp = (((k * y2) - (j * y3)) * t_3) + (c * (y * (y3 * y4)));
} else if (y5 <= 2.35e+209) {
tmp = y2 * ((k * t_3) - (c * (t * y4)));
} else if (y5 <= 5.4e+224) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y5 <= 3.3e+275) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else {
tmp = t * (y5 * ((a * y2) - (i * j)));
}
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) :: tmp
t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
t_2 = b * (z * ((k * y0) - (t * a)))
t_3 = (y1 * y4) - (y0 * y5)
if (y5 <= (-2.4d+234)) then
tmp = i * (k * ((y * y5) - (z * y1)))
else if (y5 <= (-9.5d+159)) then
tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)))
else if (y5 <= (-170000.0d0)) then
tmp = t_2
else if (y5 <= (-2.35d-28)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y5 <= 3.9d-237) then
tmp = t_1
else if (y5 <= 9.5d-172) then
tmp = t_2
else if (y5 <= 3.8d-57) then
tmp = t_1
else if (y5 <= 3.3d+97) then
tmp = (((k * y2) - (j * y3)) * t_3) + (c * (y * (y3 * y4)))
else if (y5 <= 2.35d+209) then
tmp = y2 * ((k * t_3) - (c * (t * y4)))
else if (y5 <= 5.4d+224) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y5 <= 3.3d+275) then
tmp = y3 * (z * ((a * y1) - (c * y0)))
else
tmp = t * (y5 * ((a * y2) - (i * j)))
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 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double t_2 = b * (z * ((k * y0) - (t * a)));
double t_3 = (y1 * y4) - (y0 * y5);
double tmp;
if (y5 <= -2.4e+234) {
tmp = i * (k * ((y * y5) - (z * y1)));
} else if (y5 <= -9.5e+159) {
tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
} else if (y5 <= -170000.0) {
tmp = t_2;
} else if (y5 <= -2.35e-28) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y5 <= 3.9e-237) {
tmp = t_1;
} else if (y5 <= 9.5e-172) {
tmp = t_2;
} else if (y5 <= 3.8e-57) {
tmp = t_1;
} else if (y5 <= 3.3e+97) {
tmp = (((k * y2) - (j * y3)) * t_3) + (c * (y * (y3 * y4)));
} else if (y5 <= 2.35e+209) {
tmp = y2 * ((k * t_3) - (c * (t * y4)));
} else if (y5 <= 5.4e+224) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y5 <= 3.3e+275) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else {
tmp = t * (y5 * ((a * y2) - (i * j)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) t_2 = b * (z * ((k * y0) - (t * a))) t_3 = (y1 * y4) - (y0 * y5) tmp = 0 if y5 <= -2.4e+234: tmp = i * (k * ((y * y5) - (z * y1))) elif y5 <= -9.5e+159: tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0))) elif y5 <= -170000.0: tmp = t_2 elif y5 <= -2.35e-28: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y5 <= 3.9e-237: tmp = t_1 elif y5 <= 9.5e-172: tmp = t_2 elif y5 <= 3.8e-57: tmp = t_1 elif y5 <= 3.3e+97: tmp = (((k * y2) - (j * y3)) * t_3) + (c * (y * (y3 * y4))) elif y5 <= 2.35e+209: tmp = y2 * ((k * t_3) - (c * (t * y4))) elif y5 <= 5.4e+224: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y5 <= 3.3e+275: tmp = y3 * (z * ((a * y1) - (c * y0))) else: tmp = t * (y5 * ((a * y2) - (i * j))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) t_2 = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))) t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) tmp = 0.0 if (y5 <= -2.4e+234) tmp = Float64(i * Float64(k * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (y5 <= -9.5e+159) tmp = Float64(z * Float64(Float64(Float64(y1 * Float64(Float64(a * y3) - Float64(i * k))) - Float64(c * Float64(y0 * y3))) + Float64(b * Float64(k * y0)))); elseif (y5 <= -170000.0) tmp = t_2; elseif (y5 <= -2.35e-28) tmp = 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))))); elseif (y5 <= 3.9e-237) tmp = t_1; elseif (y5 <= 9.5e-172) tmp = t_2; elseif (y5 <= 3.8e-57) tmp = t_1; elseif (y5 <= 3.3e+97) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_3) + Float64(c * Float64(y * Float64(y3 * y4)))); elseif (y5 <= 2.35e+209) tmp = Float64(y2 * Float64(Float64(k * t_3) - Float64(c * Float64(t * y4)))); elseif (y5 <= 5.4e+224) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y5 <= 3.3e+275) tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))); else tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * 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 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); t_2 = b * (z * ((k * y0) - (t * a))); t_3 = (y1 * y4) - (y0 * y5); tmp = 0.0; if (y5 <= -2.4e+234) tmp = i * (k * ((y * y5) - (z * y1))); elseif (y5 <= -9.5e+159) tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0))); elseif (y5 <= -170000.0) tmp = t_2; elseif (y5 <= -2.35e-28) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y5 <= 3.9e-237) tmp = t_1; elseif (y5 <= 9.5e-172) tmp = t_2; elseif (y5 <= 3.8e-57) tmp = t_1; elseif (y5 <= 3.3e+97) tmp = (((k * y2) - (j * y3)) * t_3) + (c * (y * (y3 * y4))); elseif (y5 <= 2.35e+209) tmp = y2 * ((k * t_3) - (c * (t * y4))); elseif (y5 <= 5.4e+224) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y5 <= 3.3e+275) tmp = y3 * (z * ((a * y1) - (c * y0))); else tmp = t * (y5 * ((a * y2) - (i * 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[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -2.4e+234], N[(i * N[(k * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -9.5e+159], N[(z * N[(N[(N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -170000.0], t$95$2, If[LessEqual[y5, -2.35e-28], 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], If[LessEqual[y5, 3.9e-237], t$95$1, If[LessEqual[y5, 9.5e-172], t$95$2, If[LessEqual[y5, 3.8e-57], t$95$1, If[LessEqual[y5, 3.3e+97], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$3), $MachinePrecision] + N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.35e+209], N[(y2 * N[(N[(k * t$95$3), $MachinePrecision] - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.4e+224], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.3e+275], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_2 := b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
t_3 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;y5 \leq -2.4 \cdot 10^{+234}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;y5 \leq -9.5 \cdot 10^{+159}:\\
\;\;\;\;z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq -170000:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y5 \leq -2.35 \cdot 10^{-28}:\\
\;\;\;\;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{elif}\;y5 \leq 3.9 \cdot 10^{-237}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 9.5 \cdot 10^{-172}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y5 \leq 3.8 \cdot 10^{-57}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 3.3 \cdot 10^{+97}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t\_3 + c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 2.35 \cdot 10^{+209}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_3 - c \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 5.4 \cdot 10^{+224}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y5 \leq 3.3 \cdot 10^{+275}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\end{array}
\end{array}
if y5 < -2.40000000000000011e234Initial program 9.1%
Taylor expanded in i around -inf 23.2%
Taylor expanded in k around -inf 59.8%
associate-*r*59.8%
neg-mul-159.8%
Simplified59.8%
if -2.40000000000000011e234 < y5 < -9.5000000000000003e159Initial program 28.6%
Taylor expanded in z around -inf 43.1%
Taylor expanded in y1 around 0 57.1%
Taylor expanded in t around 0 71.4%
if -9.5000000000000003e159 < y5 < -1.7e5 or 3.8999999999999998e-237 < y5 < 9.50000000000000053e-172Initial program 26.3%
Taylor expanded in b around inf 43.6%
Taylor expanded in z around -inf 58.0%
mul-1-neg58.0%
Simplified58.0%
if -1.7e5 < y5 < -2.3499999999999998e-28Initial program 20.0%
Taylor expanded in b around inf 90.3%
if -2.3499999999999998e-28 < y5 < 3.8999999999999998e-237 or 9.50000000000000053e-172 < y5 < 3.7999999999999997e-57Initial program 42.5%
Taylor expanded in x around inf 53.7%
if 3.7999999999999997e-57 < y5 < 3.3000000000000001e97Initial program 43.5%
Taylor expanded in y4 around inf 36.4%
Taylor expanded in y3 around inf 48.8%
if 3.3000000000000001e97 < y5 < 2.35e209Initial program 19.0%
Taylor expanded in y4 around inf 43.4%
Taylor expanded in y2 around inf 67.2%
if 2.35e209 < y5 < 5.3999999999999997e224Initial program 41.3%
Taylor expanded in y4 around inf 61.0%
Taylor expanded in c around inf 80.4%
if 5.3999999999999997e224 < y5 < 3.30000000000000022e275Initial program 20.0%
Taylor expanded in z around -inf 51.1%
Taylor expanded in y3 around inf 61.3%
if 3.30000000000000022e275 < y5 Initial program 16.7%
Taylor expanded in t around inf 33.3%
Taylor expanded in y5 around -inf 83.3%
mul-1-neg83.3%
Simplified83.3%
Final simplification59.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* t (* y2 (- (* a y5) (* c y4)))))
(t_2 (* y (* y4 (- (* c y3) (* b k)))))
(t_3 (* x (* y0 (- (* c y2) (* b j))))))
(if (<= y -5.6e+70)
t_2
(if (<= y -2.3e-29)
(* t (* z (- (* c i) (* a b))))
(if (<= y -1.18e-125)
(* b (* z (- (* k y0) (* t a))))
(if (<= y -4e-220)
t_3
(if (<= y -1.65e-282)
t_1
(if (<= y 1.52e-139)
t_3
(if (<= y 6.8e-51)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y 2.6e-14)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y 1.15e+21)
(* y3 (* z (- (* a y1) (* c y0))))
(if (<= y 1.9e+140) t_1 t_2))))))))))))
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 = t * (y2 * ((a * y5) - (c * y4)));
double t_2 = y * (y4 * ((c * y3) - (b * k)));
double t_3 = x * (y0 * ((c * y2) - (b * j)));
double tmp;
if (y <= -5.6e+70) {
tmp = t_2;
} else if (y <= -2.3e-29) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y <= -1.18e-125) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y <= -4e-220) {
tmp = t_3;
} else if (y <= -1.65e-282) {
tmp = t_1;
} else if (y <= 1.52e-139) {
tmp = t_3;
} else if (y <= 6.8e-51) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y <= 2.6e-14) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y <= 1.15e+21) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y <= 1.9e+140) {
tmp = t_1;
} else {
tmp = t_2;
}
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) :: tmp
t_1 = t * (y2 * ((a * y5) - (c * y4)))
t_2 = y * (y4 * ((c * y3) - (b * k)))
t_3 = x * (y0 * ((c * y2) - (b * j)))
if (y <= (-5.6d+70)) then
tmp = t_2
else if (y <= (-2.3d-29)) then
tmp = t * (z * ((c * i) - (a * b)))
else if (y <= (-1.18d-125)) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (y <= (-4d-220)) then
tmp = t_3
else if (y <= (-1.65d-282)) then
tmp = t_1
else if (y <= 1.52d-139) then
tmp = t_3
else if (y <= 6.8d-51) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y <= 2.6d-14) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y <= 1.15d+21) then
tmp = y3 * (z * ((a * y1) - (c * y0)))
else if (y <= 1.9d+140) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = t * (y2 * ((a * y5) - (c * y4)));
double t_2 = y * (y4 * ((c * y3) - (b * k)));
double t_3 = x * (y0 * ((c * y2) - (b * j)));
double tmp;
if (y <= -5.6e+70) {
tmp = t_2;
} else if (y <= -2.3e-29) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y <= -1.18e-125) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y <= -4e-220) {
tmp = t_3;
} else if (y <= -1.65e-282) {
tmp = t_1;
} else if (y <= 1.52e-139) {
tmp = t_3;
} else if (y <= 6.8e-51) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y <= 2.6e-14) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y <= 1.15e+21) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y <= 1.9e+140) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = t * (y2 * ((a * y5) - (c * y4))) t_2 = y * (y4 * ((c * y3) - (b * k))) t_3 = x * (y0 * ((c * y2) - (b * j))) tmp = 0 if y <= -5.6e+70: tmp = t_2 elif y <= -2.3e-29: tmp = t * (z * ((c * i) - (a * b))) elif y <= -1.18e-125: tmp = b * (z * ((k * y0) - (t * a))) elif y <= -4e-220: tmp = t_3 elif y <= -1.65e-282: tmp = t_1 elif y <= 1.52e-139: tmp = t_3 elif y <= 6.8e-51: tmp = j * (t * ((b * y4) - (i * y5))) elif y <= 2.6e-14: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y <= 1.15e+21: tmp = y3 * (z * ((a * y1) - (c * y0))) elif y <= 1.9e+140: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))) t_2 = Float64(y * Float64(y4 * Float64(Float64(c * y3) - Float64(b * k)))) t_3 = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))) tmp = 0.0 if (y <= -5.6e+70) tmp = t_2; elseif (y <= -2.3e-29) tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b)))); elseif (y <= -1.18e-125) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (y <= -4e-220) tmp = t_3; elseif (y <= -1.65e-282) tmp = t_1; elseif (y <= 1.52e-139) tmp = t_3; elseif (y <= 6.8e-51) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y <= 2.6e-14) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y <= 1.15e+21) tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (y <= 1.9e+140) tmp = t_1; else tmp = t_2; 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 = t * (y2 * ((a * y5) - (c * y4))); t_2 = y * (y4 * ((c * y3) - (b * k))); t_3 = x * (y0 * ((c * y2) - (b * j))); tmp = 0.0; if (y <= -5.6e+70) tmp = t_2; elseif (y <= -2.3e-29) tmp = t * (z * ((c * i) - (a * b))); elseif (y <= -1.18e-125) tmp = b * (z * ((k * y0) - (t * a))); elseif (y <= -4e-220) tmp = t_3; elseif (y <= -1.65e-282) tmp = t_1; elseif (y <= 1.52e-139) tmp = t_3; elseif (y <= 6.8e-51) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y <= 2.6e-14) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y <= 1.15e+21) tmp = y3 * (z * ((a * y1) - (c * y0))); elseif (y <= 1.9e+140) tmp = t_1; else tmp = t_2; 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[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(y4 * N[(N[(c * y3), $MachinePrecision] - N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -5.6e+70], t$95$2, If[LessEqual[y, -2.3e-29], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.18e-125], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -4e-220], t$95$3, If[LessEqual[y, -1.65e-282], t$95$1, If[LessEqual[y, 1.52e-139], t$95$3, If[LessEqual[y, 6.8e-51], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.6e-14], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.15e+21], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.9e+140], t$95$1, t$95$2]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_2 := y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\
t_3 := x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{if}\;y \leq -5.6 \cdot 10^{+70}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq -2.3 \cdot 10^{-29}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;y \leq -1.18 \cdot 10^{-125}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;y \leq -4 \cdot 10^{-220}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y \leq -1.65 \cdot 10^{-282}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 1.52 \cdot 10^{-139}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y \leq 6.8 \cdot 10^{-51}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y \leq 2.6 \cdot 10^{-14}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 1.15 \cdot 10^{+21}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq 1.9 \cdot 10^{+140}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y < -5.59999999999999979e70 or 1.9e140 < y Initial program 26.9%
Taylor expanded in y4 around inf 33.9%
Taylor expanded in y around -inf 48.5%
mul-1-neg48.5%
Simplified48.5%
if -5.59999999999999979e70 < y < -2.29999999999999991e-29Initial program 24.9%
Taylor expanded in t around inf 46.6%
Taylor expanded in z around inf 47.1%
mul-1-neg47.1%
Simplified47.1%
if -2.29999999999999991e-29 < y < -1.17999999999999994e-125Initial program 50.1%
Taylor expanded in b around inf 50.7%
Taylor expanded in z around -inf 56.7%
mul-1-neg56.7%
Simplified56.7%
if -1.17999999999999994e-125 < y < -3.99999999999999997e-220 or -1.65e-282 < y < 1.51999999999999999e-139Initial program 31.0%
Taylor expanded in x around inf 45.8%
Taylor expanded in y0 around inf 47.7%
if -3.99999999999999997e-220 < y < -1.65e-282 or 1.15e21 < y < 1.9e140Initial program 29.8%
Taylor expanded in t around inf 35.9%
Taylor expanded in y2 around inf 46.7%
if 1.51999999999999999e-139 < y < 6.80000000000000005e-51Initial program 42.1%
Taylor expanded in t around inf 63.4%
Taylor expanded in j around inf 48.5%
if 6.80000000000000005e-51 < y < 2.59999999999999997e-14Initial program 46.1%
Taylor expanded in y4 around inf 82.5%
Taylor expanded in y4 around 0 73.7%
associate-*r*73.7%
neg-mul-173.7%
Simplified73.7%
if 2.59999999999999997e-14 < y < 1.15e21Initial program 42.9%
Taylor expanded in z around -inf 28.9%
Taylor expanded in y3 around inf 71.8%
Final simplification50.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* z (* y3 (- (* a y1) (* c y0))))))
(if (<= i -8.6e+201)
(* i (* y1 (- (* x j) (* z k))))
(if (<= i -3.05e+153)
(* (* x y) (- (* a b) (* c i)))
(if (<= i -2.42e+101)
(* b (* z (- (* k y0) (* t a))))
(if (<= i -2.2e+70)
t_1
(if (<= i -1.9e+28)
(* t (* z (- (* c i) (* a b))))
(if (<= i -2.15e-121)
(* y (* y4 (- (* c y3) (* b k))))
(if (<= i -4e-172)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= i 8.2e-204)
t_1
(if (<= i 4.6e+129)
(* b (* j (- (* t y4) (* x y0))))
(if (<= i 6.2e+234)
(* c (* t (- (* z i) (* y2 y4))))
(* z (* k (* i (- y1))))))))))))))))
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 = z * (y3 * ((a * y1) - (c * y0)));
double tmp;
if (i <= -8.6e+201) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (i <= -3.05e+153) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (i <= -2.42e+101) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (i <= -2.2e+70) {
tmp = t_1;
} else if (i <= -1.9e+28) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (i <= -2.15e-121) {
tmp = y * (y4 * ((c * y3) - (b * k)));
} else if (i <= -4e-172) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (i <= 8.2e-204) {
tmp = t_1;
} else if (i <= 4.6e+129) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (i <= 6.2e+234) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
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 = z * (y3 * ((a * y1) - (c * y0)))
if (i <= (-8.6d+201)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (i <= (-3.05d+153)) then
tmp = (x * y) * ((a * b) - (c * i))
else if (i <= (-2.42d+101)) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (i <= (-2.2d+70)) then
tmp = t_1
else if (i <= (-1.9d+28)) then
tmp = t * (z * ((c * i) - (a * b)))
else if (i <= (-2.15d-121)) then
tmp = y * (y4 * ((c * y3) - (b * k)))
else if (i <= (-4d-172)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (i <= 8.2d-204) then
tmp = t_1
else if (i <= 4.6d+129) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (i <= 6.2d+234) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else
tmp = z * (k * (i * -y1))
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 = z * (y3 * ((a * y1) - (c * y0)));
double tmp;
if (i <= -8.6e+201) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (i <= -3.05e+153) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (i <= -2.42e+101) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (i <= -2.2e+70) {
tmp = t_1;
} else if (i <= -1.9e+28) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (i <= -2.15e-121) {
tmp = y * (y4 * ((c * y3) - (b * k)));
} else if (i <= -4e-172) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (i <= 8.2e-204) {
tmp = t_1;
} else if (i <= 4.6e+129) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (i <= 6.2e+234) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = z * (k * (i * -y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = z * (y3 * ((a * y1) - (c * y0))) tmp = 0 if i <= -8.6e+201: tmp = i * (y1 * ((x * j) - (z * k))) elif i <= -3.05e+153: tmp = (x * y) * ((a * b) - (c * i)) elif i <= -2.42e+101: tmp = b * (z * ((k * y0) - (t * a))) elif i <= -2.2e+70: tmp = t_1 elif i <= -1.9e+28: tmp = t * (z * ((c * i) - (a * b))) elif i <= -2.15e-121: tmp = y * (y4 * ((c * y3) - (b * k))) elif i <= -4e-172: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif i <= 8.2e-204: tmp = t_1 elif i <= 4.6e+129: tmp = b * (j * ((t * y4) - (x * y0))) elif i <= 6.2e+234: tmp = c * (t * ((z * i) - (y2 * y4))) else: tmp = z * (k * (i * -y1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(z * Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0)))) tmp = 0.0 if (i <= -8.6e+201) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (i <= -3.05e+153) tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i))); elseif (i <= -2.42e+101) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (i <= -2.2e+70) tmp = t_1; elseif (i <= -1.9e+28) tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b)))); elseif (i <= -2.15e-121) tmp = Float64(y * Float64(y4 * Float64(Float64(c * y3) - Float64(b * k)))); elseif (i <= -4e-172) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (i <= 8.2e-204) tmp = t_1; elseif (i <= 4.6e+129) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (i <= 6.2e+234) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); else tmp = Float64(z * Float64(k * Float64(i * Float64(-y1)))); 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 = z * (y3 * ((a * y1) - (c * y0))); tmp = 0.0; if (i <= -8.6e+201) tmp = i * (y1 * ((x * j) - (z * k))); elseif (i <= -3.05e+153) tmp = (x * y) * ((a * b) - (c * i)); elseif (i <= -2.42e+101) tmp = b * (z * ((k * y0) - (t * a))); elseif (i <= -2.2e+70) tmp = t_1; elseif (i <= -1.9e+28) tmp = t * (z * ((c * i) - (a * b))); elseif (i <= -2.15e-121) tmp = y * (y4 * ((c * y3) - (b * k))); elseif (i <= -4e-172) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (i <= 8.2e-204) tmp = t_1; elseif (i <= 4.6e+129) tmp = b * (j * ((t * y4) - (x * y0))); elseif (i <= 6.2e+234) tmp = c * (t * ((z * i) - (y2 * y4))); else tmp = z * (k * (i * -y1)); 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[(z * N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -8.6e+201], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.05e+153], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.42e+101], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.2e+70], t$95$1, If[LessEqual[i, -1.9e+28], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.15e-121], N[(y * N[(y4 * N[(N[(c * y3), $MachinePrecision] - N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -4e-172], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.2e-204], t$95$1, If[LessEqual[i, 4.6e+129], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 6.2e+234], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{if}\;i \leq -8.6 \cdot 10^{+201}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;i \leq -3.05 \cdot 10^{+153}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\
\mathbf{elif}\;i \leq -2.42 \cdot 10^{+101}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;i \leq -2.2 \cdot 10^{+70}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -1.9 \cdot 10^{+28}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;i \leq -2.15 \cdot 10^{-121}:\\
\;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3 - b \cdot k\right)\right)\\
\mathbf{elif}\;i \leq -4 \cdot 10^{-172}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq 8.2 \cdot 10^{-204}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 4.6 \cdot 10^{+129}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 6.2 \cdot 10^{+234}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\end{array}
\end{array}
if i < -8.59999999999999981e201Initial program 27.2%
Taylor expanded in i around -inf 77.2%
Taylor expanded in y1 around inf 64.5%
if -8.59999999999999981e201 < i < -3.0499999999999999e153Initial program 33.3%
Taylor expanded in x around inf 59.2%
Taylor expanded in y around inf 67.7%
associate-*r*59.9%
Simplified59.9%
if -3.0499999999999999e153 < i < -2.4200000000000001e101Initial program 20.0%
Taylor expanded in b around inf 60.1%
Taylor expanded in z around -inf 60.3%
mul-1-neg60.3%
Simplified60.3%
if -2.4200000000000001e101 < i < -2.20000000000000001e70 or -4.0000000000000002e-172 < i < 8.2000000000000002e-204Initial program 35.6%
Taylor expanded in z around -inf 39.4%
Taylor expanded in y3 around inf 46.1%
if -2.20000000000000001e70 < i < -1.8999999999999999e28Initial program 25.0%
Taylor expanded in t around inf 67.3%
Taylor expanded in z around inf 50.9%
mul-1-neg50.9%
Simplified50.9%
if -1.8999999999999999e28 < i < -2.14999999999999983e-121Initial program 46.8%
Taylor expanded in y4 around inf 44.9%
Taylor expanded in y around -inf 44.7%
mul-1-neg44.7%
Simplified44.7%
if -2.14999999999999983e-121 < i < -4.0000000000000002e-172Initial program 40.0%
Taylor expanded in y4 around inf 41.3%
Taylor expanded in y3 around inf 50.6%
Taylor expanded in y3 around 0 60.9%
if 8.2000000000000002e-204 < i < 4.59999999999999981e129Initial program 31.9%
Taylor expanded in b around inf 48.9%
Taylor expanded in j around inf 43.6%
if 4.59999999999999981e129 < i < 6.19999999999999979e234Initial program 16.7%
Taylor expanded in t around inf 39.0%
Taylor expanded in c around inf 61.4%
if 6.19999999999999979e234 < i Initial program 16.7%
Taylor expanded in z around -inf 33.5%
Taylor expanded in k around inf 42.0%
Taylor expanded in i around inf 59.4%
Final simplification50.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
(t_2 (* b (* y0 (- (* z k) (* x j)))))
(t_3 (- (* x y) (* z t))))
(if (<= y0 -2.1e+85)
t_2
(if (<= y0 -4.3e-20)
t_1
(if (<= y0 -4e-149)
(* (* x y) (- (* a b) (* c i)))
(if (<= y0 4.9e-294)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y0 3.5e+58)
(* b (* a t_3))
(if (<= y0 3.1e+99)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y0 4.4e+161)
(* (* a b) t_3)
(if (<= y0 6.3e+218)
t_2
(if (<= y0 2.6e+296)
t_1
(* j (* t (- (* b y4) (* i 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 t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = (x * y) - (z * t);
double tmp;
if (y0 <= -2.1e+85) {
tmp = t_2;
} else if (y0 <= -4.3e-20) {
tmp = t_1;
} else if (y0 <= -4e-149) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 4.9e-294) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 3.5e+58) {
tmp = b * (a * t_3);
} else if (y0 <= 3.1e+99) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y0 <= 4.4e+161) {
tmp = (a * b) * t_3;
} else if (y0 <= 6.3e+218) {
tmp = t_2;
} else if (y0 <= 2.6e+296) {
tmp = t_1;
} else {
tmp = j * (t * ((b * y4) - (i * 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) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
t_2 = b * (y0 * ((z * k) - (x * j)))
t_3 = (x * y) - (z * t)
if (y0 <= (-2.1d+85)) then
tmp = t_2
else if (y0 <= (-4.3d-20)) then
tmp = t_1
else if (y0 <= (-4d-149)) then
tmp = (x * y) * ((a * b) - (c * i))
else if (y0 <= 4.9d-294) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y0 <= 3.5d+58) then
tmp = b * (a * t_3)
else if (y0 <= 3.1d+99) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y0 <= 4.4d+161) then
tmp = (a * b) * t_3
else if (y0 <= 6.3d+218) then
tmp = t_2
else if (y0 <= 2.6d+296) then
tmp = t_1
else
tmp = j * (t * ((b * y4) - (i * 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 t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = (x * y) - (z * t);
double tmp;
if (y0 <= -2.1e+85) {
tmp = t_2;
} else if (y0 <= -4.3e-20) {
tmp = t_1;
} else if (y0 <= -4e-149) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 4.9e-294) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 3.5e+58) {
tmp = b * (a * t_3);
} else if (y0 <= 3.1e+99) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y0 <= 4.4e+161) {
tmp = (a * b) * t_3;
} else if (y0 <= 6.3e+218) {
tmp = t_2;
} else if (y0 <= 2.6e+296) {
tmp = t_1;
} else {
tmp = j * (t * ((b * y4) - (i * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) t_2 = b * (y0 * ((z * k) - (x * j))) t_3 = (x * y) - (z * t) tmp = 0 if y0 <= -2.1e+85: tmp = t_2 elif y0 <= -4.3e-20: tmp = t_1 elif y0 <= -4e-149: tmp = (x * y) * ((a * b) - (c * i)) elif y0 <= 4.9e-294: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y0 <= 3.5e+58: tmp = b * (a * t_3) elif y0 <= 3.1e+99: tmp = x * (y0 * ((c * y2) - (b * j))) elif y0 <= 4.4e+161: tmp = (a * b) * t_3 elif y0 <= 6.3e+218: tmp = t_2 elif y0 <= 2.6e+296: tmp = t_1 else: tmp = j * (t * ((b * y4) - (i * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_3 = Float64(Float64(x * y) - Float64(z * t)) tmp = 0.0 if (y0 <= -2.1e+85) tmp = t_2; elseif (y0 <= -4.3e-20) tmp = t_1; elseif (y0 <= -4e-149) tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i))); elseif (y0 <= 4.9e-294) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y0 <= 3.5e+58) tmp = Float64(b * Float64(a * t_3)); elseif (y0 <= 3.1e+99) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y0 <= 4.4e+161) tmp = Float64(Float64(a * b) * t_3); elseif (y0 <= 6.3e+218) tmp = t_2; elseif (y0 <= 2.6e+296) tmp = t_1; else tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * 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) t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))); t_2 = b * (y0 * ((z * k) - (x * j))); t_3 = (x * y) - (z * t); tmp = 0.0; if (y0 <= -2.1e+85) tmp = t_2; elseif (y0 <= -4.3e-20) tmp = t_1; elseif (y0 <= -4e-149) tmp = (x * y) * ((a * b) - (c * i)); elseif (y0 <= 4.9e-294) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y0 <= 3.5e+58) tmp = b * (a * t_3); elseif (y0 <= 3.1e+99) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y0 <= 4.4e+161) tmp = (a * b) * t_3; elseif (y0 <= 6.3e+218) tmp = t_2; elseif (y0 <= 2.6e+296) tmp = t_1; else tmp = j * (t * ((b * y4) - (i * y5))); 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.1e+85], t$95$2, If[LessEqual[y0, -4.3e-20], t$95$1, If[LessEqual[y0, -4e-149], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.9e-294], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.5e+58], N[(b * N[(a * t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.1e+99], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.4e+161], N[(N[(a * b), $MachinePrecision] * t$95$3), $MachinePrecision], If[LessEqual[y0, 6.3e+218], t$95$2, If[LessEqual[y0, 2.6e+296], t$95$1, N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := x \cdot y - z \cdot t\\
\mathbf{if}\;y0 \leq -2.1 \cdot 10^{+85}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq -4.3 \cdot 10^{-20}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -4 \cdot 10^{-149}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\
\mathbf{elif}\;y0 \leq 4.9 \cdot 10^{-294}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 3.5 \cdot 10^{+58}:\\
\;\;\;\;b \cdot \left(a \cdot t\_3\right)\\
\mathbf{elif}\;y0 \leq 3.1 \cdot 10^{+99}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq 4.4 \cdot 10^{+161}:\\
\;\;\;\;\left(a \cdot b\right) \cdot t\_3\\
\mathbf{elif}\;y0 \leq 6.3 \cdot 10^{+218}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq 2.6 \cdot 10^{+296}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if y0 < -2.1000000000000001e85 or 4.4e161 < y0 < 6.2999999999999996e218Initial program 23.8%
Taylor expanded in b around inf 54.9%
Taylor expanded in y0 around inf 55.5%
if -2.1000000000000001e85 < y0 < -4.30000000000000011e-20 or 6.2999999999999996e218 < y0 < 2.6000000000000001e296Initial program 34.1%
Taylor expanded in y4 around inf 34.9%
Taylor expanded in y3 around inf 58.6%
Taylor expanded in y3 around 0 50.9%
if -4.30000000000000011e-20 < y0 < -3.99999999999999992e-149Initial program 32.1%
Taylor expanded in x around inf 60.9%
Taylor expanded in y around inf 57.7%
associate-*r*50.8%
Simplified50.8%
if -3.99999999999999992e-149 < y0 < 4.8999999999999998e-294Initial program 40.7%
Taylor expanded in t around inf 37.5%
Taylor expanded in y2 around inf 42.0%
if 4.8999999999999998e-294 < y0 < 3.4999999999999997e58Initial program 36.0%
Taylor expanded in b around inf 36.8%
Taylor expanded in a around inf 38.7%
if 3.4999999999999997e58 < y0 < 3.1000000000000001e99Initial program 71.2%
Taylor expanded in x around inf 76.1%
Taylor expanded in y0 around inf 76.1%
if 3.1000000000000001e99 < y0 < 4.4e161Initial program 0.0%
Taylor expanded in b around inf 55.1%
Taylor expanded in a around inf 46.9%
Taylor expanded in b around 0 55.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
if 2.6000000000000001e296 < y0 Initial program 25.0%
Taylor expanded in t around inf 25.3%
Taylor expanded in j around inf 75.4%
Final simplification48.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
(t_2 (* b (* y0 (- (* z k) (* x j)))))
(t_3 (* t (* y2 (- (* a y5) (* c y4))))))
(if (<= y0 -2.25e+85)
t_2
(if (<= y0 -5.3e-20)
t_1
(if (<= y0 -9.4e-150)
(* (* x y) (- (* a b) (* c i)))
(if (<= y0 4.8e-296)
t_3
(if (<= y0 2.8e-149)
(* t (* z (- (* c i) (* a b))))
(if (<= y0 7.5e-72)
(* b (* z (- (* k y0) (* t a))))
(if (<= y0 2.9e+106)
t_3
(if (<= y0 2.25e+219)
t_2
(if (<= y0 2.7e+296)
t_1
(* j (* t (- (* b y4) (* i 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 t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = t * (y2 * ((a * y5) - (c * y4)));
double tmp;
if (y0 <= -2.25e+85) {
tmp = t_2;
} else if (y0 <= -5.3e-20) {
tmp = t_1;
} else if (y0 <= -9.4e-150) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 4.8e-296) {
tmp = t_3;
} else if (y0 <= 2.8e-149) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y0 <= 7.5e-72) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y0 <= 2.9e+106) {
tmp = t_3;
} else if (y0 <= 2.25e+219) {
tmp = t_2;
} else if (y0 <= 2.7e+296) {
tmp = t_1;
} else {
tmp = j * (t * ((b * y4) - (i * 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) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
t_2 = b * (y0 * ((z * k) - (x * j)))
t_3 = t * (y2 * ((a * y5) - (c * y4)))
if (y0 <= (-2.25d+85)) then
tmp = t_2
else if (y0 <= (-5.3d-20)) then
tmp = t_1
else if (y0 <= (-9.4d-150)) then
tmp = (x * y) * ((a * b) - (c * i))
else if (y0 <= 4.8d-296) then
tmp = t_3
else if (y0 <= 2.8d-149) then
tmp = t * (z * ((c * i) - (a * b)))
else if (y0 <= 7.5d-72) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (y0 <= 2.9d+106) then
tmp = t_3
else if (y0 <= 2.25d+219) then
tmp = t_2
else if (y0 <= 2.7d+296) then
tmp = t_1
else
tmp = j * (t * ((b * y4) - (i * 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 t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = t * (y2 * ((a * y5) - (c * y4)));
double tmp;
if (y0 <= -2.25e+85) {
tmp = t_2;
} else if (y0 <= -5.3e-20) {
tmp = t_1;
} else if (y0 <= -9.4e-150) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 4.8e-296) {
tmp = t_3;
} else if (y0 <= 2.8e-149) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y0 <= 7.5e-72) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y0 <= 2.9e+106) {
tmp = t_3;
} else if (y0 <= 2.25e+219) {
tmp = t_2;
} else if (y0 <= 2.7e+296) {
tmp = t_1;
} else {
tmp = j * (t * ((b * y4) - (i * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) t_2 = b * (y0 * ((z * k) - (x * j))) t_3 = t * (y2 * ((a * y5) - (c * y4))) tmp = 0 if y0 <= -2.25e+85: tmp = t_2 elif y0 <= -5.3e-20: tmp = t_1 elif y0 <= -9.4e-150: tmp = (x * y) * ((a * b) - (c * i)) elif y0 <= 4.8e-296: tmp = t_3 elif y0 <= 2.8e-149: tmp = t * (z * ((c * i) - (a * b))) elif y0 <= 7.5e-72: tmp = b * (z * ((k * y0) - (t * a))) elif y0 <= 2.9e+106: tmp = t_3 elif y0 <= 2.25e+219: tmp = t_2 elif y0 <= 2.7e+296: tmp = t_1 else: tmp = j * (t * ((b * y4) - (i * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_3 = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))) tmp = 0.0 if (y0 <= -2.25e+85) tmp = t_2; elseif (y0 <= -5.3e-20) tmp = t_1; elseif (y0 <= -9.4e-150) tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i))); elseif (y0 <= 4.8e-296) tmp = t_3; elseif (y0 <= 2.8e-149) tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b)))); elseif (y0 <= 7.5e-72) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (y0 <= 2.9e+106) tmp = t_3; elseif (y0 <= 2.25e+219) tmp = t_2; elseif (y0 <= 2.7e+296) tmp = t_1; else tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * 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) t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))); t_2 = b * (y0 * ((z * k) - (x * j))); t_3 = t * (y2 * ((a * y5) - (c * y4))); tmp = 0.0; if (y0 <= -2.25e+85) tmp = t_2; elseif (y0 <= -5.3e-20) tmp = t_1; elseif (y0 <= -9.4e-150) tmp = (x * y) * ((a * b) - (c * i)); elseif (y0 <= 4.8e-296) tmp = t_3; elseif (y0 <= 2.8e-149) tmp = t * (z * ((c * i) - (a * b))); elseif (y0 <= 7.5e-72) tmp = b * (z * ((k * y0) - (t * a))); elseif (y0 <= 2.9e+106) tmp = t_3; elseif (y0 <= 2.25e+219) tmp = t_2; elseif (y0 <= 2.7e+296) tmp = t_1; else tmp = j * (t * ((b * y4) - (i * y5))); 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.25e+85], t$95$2, If[LessEqual[y0, -5.3e-20], t$95$1, If[LessEqual[y0, -9.4e-150], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.8e-296], t$95$3, If[LessEqual[y0, 2.8e-149], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 7.5e-72], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.9e+106], t$95$3, If[LessEqual[y0, 2.25e+219], t$95$2, If[LessEqual[y0, 2.7e+296], t$95$1, N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{if}\;y0 \leq -2.25 \cdot 10^{+85}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq -5.3 \cdot 10^{-20}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -9.4 \cdot 10^{-150}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\
\mathbf{elif}\;y0 \leq 4.8 \cdot 10^{-296}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y0 \leq 2.8 \cdot 10^{-149}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;y0 \leq 7.5 \cdot 10^{-72}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;y0 \leq 2.9 \cdot 10^{+106}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y0 \leq 2.25 \cdot 10^{+219}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+296}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if y0 < -2.25000000000000003e85 or 2.9000000000000002e106 < y0 < 2.25000000000000012e219Initial program 20.8%
Taylor expanded in b around inf 55.1%
Taylor expanded in y0 around inf 52.9%
if -2.25000000000000003e85 < y0 < -5.3000000000000002e-20 or 2.25000000000000012e219 < y0 < 2.69999999999999986e296Initial program 34.1%
Taylor expanded in y4 around inf 34.9%
Taylor expanded in y3 around inf 58.6%
Taylor expanded in y3 around 0 50.9%
if -5.3000000000000002e-20 < y0 < -9.3999999999999998e-150Initial program 32.1%
Taylor expanded in x around inf 60.9%
Taylor expanded in y around inf 57.7%
associate-*r*50.8%
Simplified50.8%
if -9.3999999999999998e-150 < y0 < 4.79999999999999992e-296 or 7.5000000000000004e-72 < y0 < 2.9000000000000002e106Initial program 34.3%
Taylor expanded in t around inf 42.8%
Taylor expanded in y2 around inf 41.7%
if 4.79999999999999992e-296 < y0 < 2.7999999999999999e-149Initial program 48.1%
Taylor expanded in t around inf 34.1%
Taylor expanded in z around inf 53.1%
mul-1-neg53.1%
Simplified53.1%
if 2.7999999999999999e-149 < y0 < 7.5000000000000004e-72Initial program 39.7%
Taylor expanded in b around inf 49.2%
Taylor expanded in z around -inf 45.0%
mul-1-neg45.0%
Simplified45.0%
if 2.69999999999999986e296 < y0 Initial program 25.0%
Taylor expanded in t around inf 25.3%
Taylor expanded in j around inf 75.4%
Final simplification49.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y0 (- (* z k) (* x j))))) (t_2 (- (* y1 y4) (* y0 y5))))
(if (<= y0 -8.5e+115)
t_1
(if (<= y0 -2.6e-16)
(* y3 (* z (- (* a y1) (* c y0))))
(if (<= y0 -7.5e-166)
(* (* x y) (- (* a b) (* c i)))
(if (<= y0 2.15e-295)
(* y2 (- (* k t_2) (* c (* t y4))))
(if (<= y0 3.5e-214)
(* t (* z (- (* c i) (* a b))))
(if (<= y0 4e-108)
(* (* a y3) (- (* z y1) (* y y5)))
(if (<= y0 1.85e-75)
(* b (* z (- (* k y0) (* t a))))
(if (<= y0 2.2e+105)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y0 1.8e+213) t_1 (* k (* y2 t_2)))))))))))))
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 * (y0 * ((z * k) - (x * j)));
double t_2 = (y1 * y4) - (y0 * y5);
double tmp;
if (y0 <= -8.5e+115) {
tmp = t_1;
} else if (y0 <= -2.6e-16) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y0 <= -7.5e-166) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 2.15e-295) {
tmp = y2 * ((k * t_2) - (c * (t * y4)));
} else if (y0 <= 3.5e-214) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y0 <= 4e-108) {
tmp = (a * y3) * ((z * y1) - (y * y5));
} else if (y0 <= 1.85e-75) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y0 <= 2.2e+105) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 1.8e+213) {
tmp = t_1;
} else {
tmp = k * (y2 * t_2);
}
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 * (y0 * ((z * k) - (x * j)))
t_2 = (y1 * y4) - (y0 * y5)
if (y0 <= (-8.5d+115)) then
tmp = t_1
else if (y0 <= (-2.6d-16)) then
tmp = y3 * (z * ((a * y1) - (c * y0)))
else if (y0 <= (-7.5d-166)) then
tmp = (x * y) * ((a * b) - (c * i))
else if (y0 <= 2.15d-295) then
tmp = y2 * ((k * t_2) - (c * (t * y4)))
else if (y0 <= 3.5d-214) then
tmp = t * (z * ((c * i) - (a * b)))
else if (y0 <= 4d-108) then
tmp = (a * y3) * ((z * y1) - (y * y5))
else if (y0 <= 1.85d-75) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (y0 <= 2.2d+105) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y0 <= 1.8d+213) then
tmp = t_1
else
tmp = k * (y2 * t_2)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double t_2 = (y1 * y4) - (y0 * y5);
double tmp;
if (y0 <= -8.5e+115) {
tmp = t_1;
} else if (y0 <= -2.6e-16) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y0 <= -7.5e-166) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 2.15e-295) {
tmp = y2 * ((k * t_2) - (c * (t * y4)));
} else if (y0 <= 3.5e-214) {
tmp = t * (z * ((c * i) - (a * b)));
} else if (y0 <= 4e-108) {
tmp = (a * y3) * ((z * y1) - (y * y5));
} else if (y0 <= 1.85e-75) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y0 <= 2.2e+105) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 1.8e+213) {
tmp = t_1;
} else {
tmp = k * (y2 * t_2);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y0 * ((z * k) - (x * j))) t_2 = (y1 * y4) - (y0 * y5) tmp = 0 if y0 <= -8.5e+115: tmp = t_1 elif y0 <= -2.6e-16: tmp = y3 * (z * ((a * y1) - (c * y0))) elif y0 <= -7.5e-166: tmp = (x * y) * ((a * b) - (c * i)) elif y0 <= 2.15e-295: tmp = y2 * ((k * t_2) - (c * (t * y4))) elif y0 <= 3.5e-214: tmp = t * (z * ((c * i) - (a * b))) elif y0 <= 4e-108: tmp = (a * y3) * ((z * y1) - (y * y5)) elif y0 <= 1.85e-75: tmp = b * (z * ((k * y0) - (t * a))) elif y0 <= 2.2e+105: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y0 <= 1.8e+213: tmp = t_1 else: tmp = k * (y2 * t_2) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) tmp = 0.0 if (y0 <= -8.5e+115) tmp = t_1; elseif (y0 <= -2.6e-16) tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (y0 <= -7.5e-166) tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i))); elseif (y0 <= 2.15e-295) tmp = Float64(y2 * Float64(Float64(k * t_2) - Float64(c * Float64(t * y4)))); elseif (y0 <= 3.5e-214) tmp = Float64(t * Float64(z * Float64(Float64(c * i) - Float64(a * b)))); elseif (y0 <= 4e-108) tmp = Float64(Float64(a * y3) * Float64(Float64(z * y1) - Float64(y * y5))); elseif (y0 <= 1.85e-75) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (y0 <= 2.2e+105) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y0 <= 1.8e+213) tmp = t_1; else tmp = Float64(k * Float64(y2 * t_2)); 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 * (y0 * ((z * k) - (x * j))); t_2 = (y1 * y4) - (y0 * y5); tmp = 0.0; if (y0 <= -8.5e+115) tmp = t_1; elseif (y0 <= -2.6e-16) tmp = y3 * (z * ((a * y1) - (c * y0))); elseif (y0 <= -7.5e-166) tmp = (x * y) * ((a * b) - (c * i)); elseif (y0 <= 2.15e-295) tmp = y2 * ((k * t_2) - (c * (t * y4))); elseif (y0 <= 3.5e-214) tmp = t * (z * ((c * i) - (a * b))); elseif (y0 <= 4e-108) tmp = (a * y3) * ((z * y1) - (y * y5)); elseif (y0 <= 1.85e-75) tmp = b * (z * ((k * y0) - (t * a))); elseif (y0 <= 2.2e+105) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y0 <= 1.8e+213) tmp = t_1; else tmp = k * (y2 * t_2); 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[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -8.5e+115], t$95$1, If[LessEqual[y0, -2.6e-16], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -7.5e-166], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.15e-295], N[(y2 * N[(N[(k * t$95$2), $MachinePrecision] - N[(c * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.5e-214], N[(t * N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4e-108], N[(N[(a * y3), $MachinePrecision] * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.85e-75], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.2e+105], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.8e+213], t$95$1, N[(k * N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;y0 \leq -8.5 \cdot 10^{+115}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -2.6 \cdot 10^{-16}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq -7.5 \cdot 10^{-166}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\
\mathbf{elif}\;y0 \leq 2.15 \cdot 10^{-295}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_2 - c \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-214}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;y0 \leq 4 \cdot 10^{-108}:\\
\;\;\;\;\left(a \cdot y3\right) \cdot \left(z \cdot y1 - y \cdot y5\right)\\
\mathbf{elif}\;y0 \leq 1.85 \cdot 10^{-75}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;y0 \leq 2.2 \cdot 10^{+105}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 1.8 \cdot 10^{+213}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot t\_2\right)\\
\end{array}
\end{array}
if y0 < -8.50000000000000057e115 or 2.20000000000000007e105 < y0 < 1.8000000000000001e213Initial program 18.6%
Taylor expanded in b around inf 56.8%
Taylor expanded in y0 around inf 55.7%
if -8.50000000000000057e115 < y0 < -2.5999999999999998e-16Initial program 41.1%
Taylor expanded in z around -inf 53.0%
Taylor expanded in y3 around inf 48.1%
if -2.5999999999999998e-16 < y0 < -7.49999999999999947e-166Initial program 40.0%
Taylor expanded in x around inf 57.4%
Taylor expanded in y around inf 52.0%
associate-*r*46.6%
Simplified46.6%
if -7.49999999999999947e-166 < y0 < 2.14999999999999984e-295Initial program 36.4%
Taylor expanded in y4 around inf 55.4%
Taylor expanded in y2 around inf 51.4%
if 2.14999999999999984e-295 < y0 < 3.5e-214Initial program 43.8%
Taylor expanded in t around inf 44.1%
Taylor expanded in z around inf 63.5%
mul-1-neg63.5%
Simplified63.5%
if 3.5e-214 < y0 < 4.00000000000000016e-108Initial program 45.8%
Taylor expanded in y3 around -inf 53.5%
Taylor expanded in a around inf 56.1%
associate-*r*47.2%
distribute-lft-out--47.2%
Simplified47.2%
if 4.00000000000000016e-108 < y0 < 1.85000000000000012e-75Initial program 42.1%
Taylor expanded in b around inf 59.4%
Taylor expanded in z around -inf 59.4%
mul-1-neg59.4%
Simplified59.4%
if 1.85000000000000012e-75 < y0 < 2.20000000000000007e105Initial program 31.5%
Taylor expanded in t around inf 48.1%
Taylor expanded in y2 around inf 40.5%
if 1.8000000000000001e213 < y0 Initial program 5.6%
Taylor expanded in y4 around inf 22.7%
Taylor expanded in y3 around inf 50.5%
Taylor expanded in y3 around 0 55.9%
Final simplification50.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
(t_2 (* b (* a (- (* x y) (* z t))))))
(if (<= y0 -2.8e+84)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y0 -3.9e-16)
t_1
(if (<= y0 -1.02e-50)
(* b (* x (- (* y a) (* j y0))))
(if (<= y0 -2.25e-300)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y0 1.5e-196)
t_2
(if (<= y0 1e-184)
(* y (* y4 (* c y3)))
(if (<= y0 3.2e-48)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= y0 6.2e+198) t_2 t_1))))))))))
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 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (a * ((x * y) - (z * t)));
double tmp;
if (y0 <= -2.8e+84) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -3.9e-16) {
tmp = t_1;
} else if (y0 <= -1.02e-50) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y0 <= -2.25e-300) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y0 <= 1.5e-196) {
tmp = t_2;
} else if (y0 <= 1e-184) {
tmp = y * (y4 * (c * y3));
} else if (y0 <= 3.2e-48) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y0 <= 6.2e+198) {
tmp = t_2;
} else {
tmp = t_1;
}
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 = k * (y2 * ((y1 * y4) - (y0 * y5)))
t_2 = b * (a * ((x * y) - (z * t)))
if (y0 <= (-2.8d+84)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y0 <= (-3.9d-16)) then
tmp = t_1
else if (y0 <= (-1.02d-50)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y0 <= (-2.25d-300)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y0 <= 1.5d-196) then
tmp = t_2
else if (y0 <= 1d-184) then
tmp = y * (y4 * (c * y3))
else if (y0 <= 3.2d-48) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (y0 <= 6.2d+198) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (a * ((x * y) - (z * t)));
double tmp;
if (y0 <= -2.8e+84) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -3.9e-16) {
tmp = t_1;
} else if (y0 <= -1.02e-50) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y0 <= -2.25e-300) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y0 <= 1.5e-196) {
tmp = t_2;
} else if (y0 <= 1e-184) {
tmp = y * (y4 * (c * y3));
} else if (y0 <= 3.2e-48) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y0 <= 6.2e+198) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) t_2 = b * (a * ((x * y) - (z * t))) tmp = 0 if y0 <= -2.8e+84: tmp = b * (y0 * ((z * k) - (x * j))) elif y0 <= -3.9e-16: tmp = t_1 elif y0 <= -1.02e-50: tmp = b * (x * ((y * a) - (j * y0))) elif y0 <= -2.25e-300: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y0 <= 1.5e-196: tmp = t_2 elif y0 <= 1e-184: tmp = y * (y4 * (c * y3)) elif y0 <= 3.2e-48: tmp = c * (t * ((z * i) - (y2 * y4))) elif y0 <= 6.2e+198: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) t_2 = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (y0 <= -2.8e+84) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y0 <= -3.9e-16) tmp = t_1; elseif (y0 <= -1.02e-50) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y0 <= -2.25e-300) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y0 <= 1.5e-196) tmp = t_2; elseif (y0 <= 1e-184) tmp = Float64(y * Float64(y4 * Float64(c * y3))); elseif (y0 <= 3.2e-48) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y0 <= 6.2e+198) tmp = t_2; else tmp = t_1; 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 * ((y1 * y4) - (y0 * y5))); t_2 = b * (a * ((x * y) - (z * t))); tmp = 0.0; if (y0 <= -2.8e+84) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y0 <= -3.9e-16) tmp = t_1; elseif (y0 <= -1.02e-50) tmp = b * (x * ((y * a) - (j * y0))); elseif (y0 <= -2.25e-300) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y0 <= 1.5e-196) tmp = t_2; elseif (y0 <= 1e-184) tmp = y * (y4 * (c * y3)); elseif (y0 <= 3.2e-48) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (y0 <= 6.2e+198) tmp = t_2; else tmp = t_1; 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.8e+84], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -3.9e-16], t$95$1, If[LessEqual[y0, -1.02e-50], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.25e-300], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.5e-196], t$95$2, If[LessEqual[y0, 1e-184], N[(y * N[(y4 * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 3.2e-48], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 6.2e+198], t$95$2, t$95$1]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y0 \leq -2.8 \cdot 10^{+84}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq -3.9 \cdot 10^{-16}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -1.02 \cdot 10^{-50}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq -2.25 \cdot 10^{-300}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 1.5 \cdot 10^{-196}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq 10^{-184}:\\
\;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3\right)\right)\\
\mathbf{elif}\;y0 \leq 3.2 \cdot 10^{-48}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 6.2 \cdot 10^{+198}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -2.79999999999999982e84Initial program 26.4%
Taylor expanded in b around inf 50.2%
Taylor expanded in y0 around inf 50.8%
if -2.79999999999999982e84 < y0 < -3.89999999999999977e-16 or 6.1999999999999995e198 < y0 Initial program 26.1%
Taylor expanded in y4 around inf 34.1%
Taylor expanded in y3 around inf 55.5%
Taylor expanded in y3 around 0 55.4%
if -3.89999999999999977e-16 < y0 < -1.0199999999999999e-50Initial program 42.9%
Taylor expanded in b around inf 43.3%
Taylor expanded in x around inf 51.2%
if -1.0199999999999999e-50 < y0 < -2.25e-300Initial program 38.1%
Taylor expanded in y4 around inf 36.6%
Taylor expanded in c around inf 36.6%
if -2.25e-300 < y0 < 1.5e-196 or 3.1999999999999998e-48 < y0 < 6.1999999999999995e198Initial program 30.4%
Taylor expanded in b around inf 41.2%
Taylor expanded in a around inf 46.2%
if 1.5e-196 < y0 < 1.0000000000000001e-184Initial program 59.7%
Taylor expanded in y4 around inf 43.5%
Taylor expanded in y around -inf 41.4%
mul-1-neg41.4%
Simplified41.4%
Taylor expanded in b around 0 42.2%
neg-mul-142.2%
distribute-rgt-neg-in42.2%
Simplified42.2%
if 1.0000000000000001e-184 < y0 < 3.1999999999999998e-48Initial program 35.9%
Taylor expanded in t around inf 43.0%
Taylor expanded in c around inf 37.0%
Final simplification46.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
(t_2 (* b (* y0 (- (* z k) (* x j)))))
(t_3 (* b (* a (- (* x y) (* z t))))))
(if (<= y0 -4.1e+84)
t_2
(if (<= y0 -5.4e-6)
t_1
(if (<= y0 9.5e-295)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y0 2.95e+60)
t_3
(if (<= y0 2.7e+100)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y0 6e+161)
t_3
(if (<= y0 7e+218)
t_2
(if (<= y0 2.1e+296)
t_1
(* j (* t (- (* b y4) (* i 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 t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = b * (a * ((x * y) - (z * t)));
double tmp;
if (y0 <= -4.1e+84) {
tmp = t_2;
} else if (y0 <= -5.4e-6) {
tmp = t_1;
} else if (y0 <= 9.5e-295) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 2.95e+60) {
tmp = t_3;
} else if (y0 <= 2.7e+100) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y0 <= 6e+161) {
tmp = t_3;
} else if (y0 <= 7e+218) {
tmp = t_2;
} else if (y0 <= 2.1e+296) {
tmp = t_1;
} else {
tmp = j * (t * ((b * y4) - (i * 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) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
t_2 = b * (y0 * ((z * k) - (x * j)))
t_3 = b * (a * ((x * y) - (z * t)))
if (y0 <= (-4.1d+84)) then
tmp = t_2
else if (y0 <= (-5.4d-6)) then
tmp = t_1
else if (y0 <= 9.5d-295) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y0 <= 2.95d+60) then
tmp = t_3
else if (y0 <= 2.7d+100) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y0 <= 6d+161) then
tmp = t_3
else if (y0 <= 7d+218) then
tmp = t_2
else if (y0 <= 2.1d+296) then
tmp = t_1
else
tmp = j * (t * ((b * y4) - (i * 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 t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = b * (a * ((x * y) - (z * t)));
double tmp;
if (y0 <= -4.1e+84) {
tmp = t_2;
} else if (y0 <= -5.4e-6) {
tmp = t_1;
} else if (y0 <= 9.5e-295) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 2.95e+60) {
tmp = t_3;
} else if (y0 <= 2.7e+100) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y0 <= 6e+161) {
tmp = t_3;
} else if (y0 <= 7e+218) {
tmp = t_2;
} else if (y0 <= 2.1e+296) {
tmp = t_1;
} else {
tmp = j * (t * ((b * y4) - (i * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) t_2 = b * (y0 * ((z * k) - (x * j))) t_3 = b * (a * ((x * y) - (z * t))) tmp = 0 if y0 <= -4.1e+84: tmp = t_2 elif y0 <= -5.4e-6: tmp = t_1 elif y0 <= 9.5e-295: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y0 <= 2.95e+60: tmp = t_3 elif y0 <= 2.7e+100: tmp = x * (y0 * ((c * y2) - (b * j))) elif y0 <= 6e+161: tmp = t_3 elif y0 <= 7e+218: tmp = t_2 elif y0 <= 2.1e+296: tmp = t_1 else: tmp = j * (t * ((b * y4) - (i * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_3 = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (y0 <= -4.1e+84) tmp = t_2; elseif (y0 <= -5.4e-6) tmp = t_1; elseif (y0 <= 9.5e-295) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y0 <= 2.95e+60) tmp = t_3; elseif (y0 <= 2.7e+100) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y0 <= 6e+161) tmp = t_3; elseif (y0 <= 7e+218) tmp = t_2; elseif (y0 <= 2.1e+296) tmp = t_1; else tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * 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) t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))); t_2 = b * (y0 * ((z * k) - (x * j))); t_3 = b * (a * ((x * y) - (z * t))); tmp = 0.0; if (y0 <= -4.1e+84) tmp = t_2; elseif (y0 <= -5.4e-6) tmp = t_1; elseif (y0 <= 9.5e-295) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y0 <= 2.95e+60) tmp = t_3; elseif (y0 <= 2.7e+100) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y0 <= 6e+161) tmp = t_3; elseif (y0 <= 7e+218) tmp = t_2; elseif (y0 <= 2.1e+296) tmp = t_1; else tmp = j * (t * ((b * y4) - (i * y5))); 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4.1e+84], t$95$2, If[LessEqual[y0, -5.4e-6], t$95$1, If[LessEqual[y0, 9.5e-295], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.95e+60], t$95$3, If[LessEqual[y0, 2.7e+100], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 6e+161], t$95$3, If[LessEqual[y0, 7e+218], t$95$2, If[LessEqual[y0, 2.1e+296], t$95$1, N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y0 \leq -4.1 \cdot 10^{+84}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq -5.4 \cdot 10^{-6}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 9.5 \cdot 10^{-295}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 2.95 \cdot 10^{+60}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y0 \leq 2.7 \cdot 10^{+100}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq 6 \cdot 10^{+161}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y0 \leq 7 \cdot 10^{+218}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+296}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if y0 < -4.1000000000000003e84 or 6.00000000000000023e161 < y0 < 7.00000000000000038e218Initial program 23.8%
Taylor expanded in b around inf 54.9%
Taylor expanded in y0 around inf 55.5%
if -4.1000000000000003e84 < y0 < -5.39999999999999997e-6 or 7.00000000000000038e218 < y0 < 2.10000000000000005e296Initial program 29.9%
Taylor expanded in y4 around inf 34.2%
Taylor expanded in y3 around inf 63.9%
Taylor expanded in y3 around 0 57.5%
if -5.39999999999999997e-6 < y0 < 9.5e-295Initial program 38.1%
Taylor expanded in t around inf 37.1%
Taylor expanded in y2 around inf 37.5%
if 9.5e-295 < y0 < 2.9500000000000001e60 or 2.69999999999999998e100 < y0 < 6.00000000000000023e161Initial program 31.6%
Taylor expanded in b around inf 39.1%
Taylor expanded in a around inf 39.7%
if 2.9500000000000001e60 < y0 < 2.69999999999999998e100Initial program 71.2%
Taylor expanded in x around inf 76.1%
Taylor expanded in y0 around inf 76.1%
if 2.10000000000000005e296 < y0 Initial program 25.0%
Taylor expanded in t around inf 25.3%
Taylor expanded in j around inf 75.4%
Final simplification46.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
(t_2 (* b (* y0 (- (* z k) (* x j)))))
(t_3 (- (* x y) (* z t))))
(if (<= y0 -3.2e+84)
t_2
(if (<= y0 -1.3e-5)
t_1
(if (<= y0 7.8e-294)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y0 5.5e+59)
(* b (* a t_3))
(if (<= y0 6.6e+99)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y0 7.8e+161)
(* (* a b) t_3)
(if (<= y0 4.3e+219)
t_2
(if (<= y0 1.52e+296)
t_1
(* j (* t (- (* b y4) (* i 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 t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = (x * y) - (z * t);
double tmp;
if (y0 <= -3.2e+84) {
tmp = t_2;
} else if (y0 <= -1.3e-5) {
tmp = t_1;
} else if (y0 <= 7.8e-294) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 5.5e+59) {
tmp = b * (a * t_3);
} else if (y0 <= 6.6e+99) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y0 <= 7.8e+161) {
tmp = (a * b) * t_3;
} else if (y0 <= 4.3e+219) {
tmp = t_2;
} else if (y0 <= 1.52e+296) {
tmp = t_1;
} else {
tmp = j * (t * ((b * y4) - (i * 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) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)))
t_2 = b * (y0 * ((z * k) - (x * j)))
t_3 = (x * y) - (z * t)
if (y0 <= (-3.2d+84)) then
tmp = t_2
else if (y0 <= (-1.3d-5)) then
tmp = t_1
else if (y0 <= 7.8d-294) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y0 <= 5.5d+59) then
tmp = b * (a * t_3)
else if (y0 <= 6.6d+99) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y0 <= 7.8d+161) then
tmp = (a * b) * t_3
else if (y0 <= 4.3d+219) then
tmp = t_2
else if (y0 <= 1.52d+296) then
tmp = t_1
else
tmp = j * (t * ((b * y4) - (i * 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 t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = (x * y) - (z * t);
double tmp;
if (y0 <= -3.2e+84) {
tmp = t_2;
} else if (y0 <= -1.3e-5) {
tmp = t_1;
} else if (y0 <= 7.8e-294) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 5.5e+59) {
tmp = b * (a * t_3);
} else if (y0 <= 6.6e+99) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y0 <= 7.8e+161) {
tmp = (a * b) * t_3;
} else if (y0 <= 4.3e+219) {
tmp = t_2;
} else if (y0 <= 1.52e+296) {
tmp = t_1;
} else {
tmp = j * (t * ((b * y4) - (i * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) t_2 = b * (y0 * ((z * k) - (x * j))) t_3 = (x * y) - (z * t) tmp = 0 if y0 <= -3.2e+84: tmp = t_2 elif y0 <= -1.3e-5: tmp = t_1 elif y0 <= 7.8e-294: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y0 <= 5.5e+59: tmp = b * (a * t_3) elif y0 <= 6.6e+99: tmp = x * (y0 * ((c * y2) - (b * j))) elif y0 <= 7.8e+161: tmp = (a * b) * t_3 elif y0 <= 4.3e+219: tmp = t_2 elif y0 <= 1.52e+296: tmp = t_1 else: tmp = j * (t * ((b * y4) - (i * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_3 = Float64(Float64(x * y) - Float64(z * t)) tmp = 0.0 if (y0 <= -3.2e+84) tmp = t_2; elseif (y0 <= -1.3e-5) tmp = t_1; elseif (y0 <= 7.8e-294) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y0 <= 5.5e+59) tmp = Float64(b * Float64(a * t_3)); elseif (y0 <= 6.6e+99) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y0 <= 7.8e+161) tmp = Float64(Float64(a * b) * t_3); elseif (y0 <= 4.3e+219) tmp = t_2; elseif (y0 <= 1.52e+296) tmp = t_1; else tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * 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) t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))); t_2 = b * (y0 * ((z * k) - (x * j))); t_3 = (x * y) - (z * t); tmp = 0.0; if (y0 <= -3.2e+84) tmp = t_2; elseif (y0 <= -1.3e-5) tmp = t_1; elseif (y0 <= 7.8e-294) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y0 <= 5.5e+59) tmp = b * (a * t_3); elseif (y0 <= 6.6e+99) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y0 <= 7.8e+161) tmp = (a * b) * t_3; elseif (y0 <= 4.3e+219) tmp = t_2; elseif (y0 <= 1.52e+296) tmp = t_1; else tmp = j * (t * ((b * y4) - (i * y5))); 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -3.2e+84], t$95$2, If[LessEqual[y0, -1.3e-5], t$95$1, If[LessEqual[y0, 7.8e-294], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.5e+59], N[(b * N[(a * t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 6.6e+99], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 7.8e+161], N[(N[(a * b), $MachinePrecision] * t$95$3), $MachinePrecision], If[LessEqual[y0, 4.3e+219], t$95$2, If[LessEqual[y0, 1.52e+296], t$95$1, N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := x \cdot y - z \cdot t\\
\mathbf{if}\;y0 \leq -3.2 \cdot 10^{+84}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq -1.3 \cdot 10^{-5}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 7.8 \cdot 10^{-294}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 5.5 \cdot 10^{+59}:\\
\;\;\;\;b \cdot \left(a \cdot t\_3\right)\\
\mathbf{elif}\;y0 \leq 6.6 \cdot 10^{+99}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq 7.8 \cdot 10^{+161}:\\
\;\;\;\;\left(a \cdot b\right) \cdot t\_3\\
\mathbf{elif}\;y0 \leq 4.3 \cdot 10^{+219}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq 1.52 \cdot 10^{+296}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if y0 < -3.2000000000000001e84 or 7.8000000000000004e161 < y0 < 4.2999999999999997e219Initial program 23.8%
Taylor expanded in b around inf 54.9%
Taylor expanded in y0 around inf 55.5%
if -3.2000000000000001e84 < y0 < -1.29999999999999992e-5 or 4.2999999999999997e219 < y0 < 1.52e296Initial program 29.9%
Taylor expanded in y4 around inf 34.2%
Taylor expanded in y3 around inf 63.9%
Taylor expanded in y3 around 0 57.5%
if -1.29999999999999992e-5 < y0 < 7.8000000000000005e-294Initial program 38.1%
Taylor expanded in t around inf 37.1%
Taylor expanded in y2 around inf 37.5%
if 7.8000000000000005e-294 < y0 < 5.4999999999999999e59Initial program 36.0%
Taylor expanded in b around inf 36.8%
Taylor expanded in a around inf 38.7%
if 5.4999999999999999e59 < y0 < 6.5999999999999998e99Initial program 71.2%
Taylor expanded in x around inf 76.1%
Taylor expanded in y0 around inf 76.1%
if 6.5999999999999998e99 < y0 < 7.8000000000000004e161Initial program 0.0%
Taylor expanded in b around inf 55.1%
Taylor expanded in a around inf 46.9%
Taylor expanded in b around 0 55.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
if 1.52e296 < y0 Initial program 25.0%
Taylor expanded in t around inf 25.3%
Taylor expanded in j around inf 75.4%
Final simplification46.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* z (* y3 (- (* a y1) (* c y0))))))
(if (<= b -2.4e+143)
(* (* a b) (- (* x y) (* z t)))
(if (<= b -1e+112)
(* (* y y3) (- (* c y4) (* a y5)))
(if (<= b -3.8e-29)
(* b (* z (- (* k y0) (* t a))))
(if (<= b -4e-171)
t_1
(if (<= b 4.5e-238)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= b 2.7e-115)
(* c (* i (- (* z t) (* x y))))
(if (<= b 78.0) t_1 (* (* x j) (- (* i y1) (* b 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 t_1 = z * (y3 * ((a * y1) - (c * y0)));
double tmp;
if (b <= -2.4e+143) {
tmp = (a * b) * ((x * y) - (z * t));
} else if (b <= -1e+112) {
tmp = (y * y3) * ((c * y4) - (a * y5));
} else if (b <= -3.8e-29) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (b <= -4e-171) {
tmp = t_1;
} else if (b <= 4.5e-238) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (b <= 2.7e-115) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (b <= 78.0) {
tmp = t_1;
} else {
tmp = (x * j) * ((i * y1) - (b * 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) :: t_1
real(8) :: tmp
t_1 = z * (y3 * ((a * y1) - (c * y0)))
if (b <= (-2.4d+143)) then
tmp = (a * b) * ((x * y) - (z * t))
else if (b <= (-1d+112)) then
tmp = (y * y3) * ((c * y4) - (a * y5))
else if (b <= (-3.8d-29)) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (b <= (-4d-171)) then
tmp = t_1
else if (b <= 4.5d-238) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (b <= 2.7d-115) then
tmp = c * (i * ((z * t) - (x * y)))
else if (b <= 78.0d0) then
tmp = t_1
else
tmp = (x * j) * ((i * y1) - (b * 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 t_1 = z * (y3 * ((a * y1) - (c * y0)));
double tmp;
if (b <= -2.4e+143) {
tmp = (a * b) * ((x * y) - (z * t));
} else if (b <= -1e+112) {
tmp = (y * y3) * ((c * y4) - (a * y5));
} else if (b <= -3.8e-29) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (b <= -4e-171) {
tmp = t_1;
} else if (b <= 4.5e-238) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (b <= 2.7e-115) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (b <= 78.0) {
tmp = t_1;
} else {
tmp = (x * j) * ((i * y1) - (b * y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = z * (y3 * ((a * y1) - (c * y0))) tmp = 0 if b <= -2.4e+143: tmp = (a * b) * ((x * y) - (z * t)) elif b <= -1e+112: tmp = (y * y3) * ((c * y4) - (a * y5)) elif b <= -3.8e-29: tmp = b * (z * ((k * y0) - (t * a))) elif b <= -4e-171: tmp = t_1 elif b <= 4.5e-238: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif b <= 2.7e-115: tmp = c * (i * ((z * t) - (x * y))) elif b <= 78.0: tmp = t_1 else: tmp = (x * j) * ((i * y1) - (b * y0)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(z * Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0)))) tmp = 0.0 if (b <= -2.4e+143) tmp = Float64(Float64(a * b) * Float64(Float64(x * y) - Float64(z * t))); elseif (b <= -1e+112) tmp = Float64(Float64(y * y3) * Float64(Float64(c * y4) - Float64(a * y5))); elseif (b <= -3.8e-29) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (b <= -4e-171) tmp = t_1; elseif (b <= 4.5e-238) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (b <= 2.7e-115) tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); elseif (b <= 78.0) tmp = t_1; else tmp = Float64(Float64(x * j) * Float64(Float64(i * y1) - Float64(b * 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) t_1 = z * (y3 * ((a * y1) - (c * y0))); tmp = 0.0; if (b <= -2.4e+143) tmp = (a * b) * ((x * y) - (z * t)); elseif (b <= -1e+112) tmp = (y * y3) * ((c * y4) - (a * y5)); elseif (b <= -3.8e-29) tmp = b * (z * ((k * y0) - (t * a))); elseif (b <= -4e-171) tmp = t_1; elseif (b <= 4.5e-238) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (b <= 2.7e-115) tmp = c * (i * ((z * t) - (x * y))); elseif (b <= 78.0) tmp = t_1; else tmp = (x * j) * ((i * y1) - (b * y0)); 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[(z * N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.4e+143], N[(N[(a * b), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1e+112], N[(N[(y * y3), $MachinePrecision] * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -3.8e-29], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4e-171], t$95$1, If[LessEqual[b, 4.5e-238], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.7e-115], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 78.0], t$95$1, N[(N[(x * j), $MachinePrecision] * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{if}\;b \leq -2.4 \cdot 10^{+143}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y - z \cdot t\right)\\
\mathbf{elif}\;b \leq -1 \cdot 10^{+112}:\\
\;\;\;\;\left(y \cdot y3\right) \cdot \left(c \cdot y4 - a \cdot y5\right)\\
\mathbf{elif}\;b \leq -3.8 \cdot 10^{-29}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;b \leq -4 \cdot 10^{-171}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq 4.5 \cdot 10^{-238}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;b \leq 2.7 \cdot 10^{-115}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;b \leq 78:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1 - b \cdot y0\right)\\
\end{array}
\end{array}
if b < -2.3999999999999998e143Initial program 11.1%
Taylor expanded in b around inf 55.9%
Taylor expanded in a around inf 51.4%
Taylor expanded in b around 0 59.2%
associate-*r*53.8%
*-commutative53.8%
Simplified53.8%
if -2.3999999999999998e143 < b < -9.9999999999999993e111Initial program 61.5%
Taylor expanded in y3 around -inf 69.1%
Taylor expanded in y around inf 69.7%
associate-*r*69.7%
Simplified69.7%
if -9.9999999999999993e111 < b < -3.79999999999999976e-29Initial program 33.3%
Taylor expanded in b around inf 64.1%
Taylor expanded in z around -inf 54.8%
mul-1-neg54.8%
Simplified54.8%
if -3.79999999999999976e-29 < b < -3.9999999999999999e-171 or 2.7e-115 < b < 78Initial program 47.3%
Taylor expanded in z around -inf 56.2%
Taylor expanded in y3 around inf 49.4%
if -3.9999999999999999e-171 < b < 4.49999999999999996e-238Initial program 29.3%
Taylor expanded in y4 around inf 47.2%
Taylor expanded in y3 around inf 49.3%
Taylor expanded in y3 around 0 45.0%
if 4.49999999999999996e-238 < b < 2.7e-115Initial program 38.4%
Taylor expanded in i around -inf 42.7%
Taylor expanded in c around inf 42.8%
if 78 < b Initial program 20.8%
Taylor expanded in x around inf 36.3%
Taylor expanded in j around inf 38.9%
associate-*r*36.8%
*-commutative36.8%
*-commutative36.8%
Simplified36.8%
Final simplification47.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* z (* k (* i (- y1))))))
(if (<= y0 -1.8e+228)
(* b (* z (* k y0)))
(if (<= y0 -2.9e+81)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y0 -8.6e-104)
t_1
(if (<= y0 -3.9e-163)
(* (* x y) (* a b))
(if (<= y0 -2.05e-215)
(* y (* b (* y4 (- k))))
(if (<= y0 -1.45e-263) t_1 (* b (* a (- (* x y) (* z t))))))))))))
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 = z * (k * (i * -y1));
double tmp;
if (y0 <= -1.8e+228) {
tmp = b * (z * (k * y0));
} else if (y0 <= -2.9e+81) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y0 <= -8.6e-104) {
tmp = t_1;
} else if (y0 <= -3.9e-163) {
tmp = (x * y) * (a * b);
} else if (y0 <= -2.05e-215) {
tmp = y * (b * (y4 * -k));
} else if (y0 <= -1.45e-263) {
tmp = t_1;
} else {
tmp = b * (a * ((x * y) - (z * t)));
}
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 = z * (k * (i * -y1))
if (y0 <= (-1.8d+228)) then
tmp = b * (z * (k * y0))
else if (y0 <= (-2.9d+81)) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y0 <= (-8.6d-104)) then
tmp = t_1
else if (y0 <= (-3.9d-163)) then
tmp = (x * y) * (a * b)
else if (y0 <= (-2.05d-215)) then
tmp = y * (b * (y4 * -k))
else if (y0 <= (-1.45d-263)) then
tmp = t_1
else
tmp = b * (a * ((x * y) - (z * t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * (k * (i * -y1));
double tmp;
if (y0 <= -1.8e+228) {
tmp = b * (z * (k * y0));
} else if (y0 <= -2.9e+81) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y0 <= -8.6e-104) {
tmp = t_1;
} else if (y0 <= -3.9e-163) {
tmp = (x * y) * (a * b);
} else if (y0 <= -2.05e-215) {
tmp = y * (b * (y4 * -k));
} else if (y0 <= -1.45e-263) {
tmp = t_1;
} else {
tmp = b * (a * ((x * y) - (z * t)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = z * (k * (i * -y1)) tmp = 0 if y0 <= -1.8e+228: tmp = b * (z * (k * y0)) elif y0 <= -2.9e+81: tmp = b * (j * ((t * y4) - (x * y0))) elif y0 <= -8.6e-104: tmp = t_1 elif y0 <= -3.9e-163: tmp = (x * y) * (a * b) elif y0 <= -2.05e-215: tmp = y * (b * (y4 * -k)) elif y0 <= -1.45e-263: tmp = t_1 else: tmp = b * (a * ((x * y) - (z * t))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(z * Float64(k * Float64(i * Float64(-y1)))) tmp = 0.0 if (y0 <= -1.8e+228) tmp = Float64(b * Float64(z * Float64(k * y0))); elseif (y0 <= -2.9e+81) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y0 <= -8.6e-104) tmp = t_1; elseif (y0 <= -3.9e-163) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (y0 <= -2.05e-215) tmp = Float64(y * Float64(b * Float64(y4 * Float64(-k)))); elseif (y0 <= -1.45e-263) tmp = t_1; else tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); 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 = z * (k * (i * -y1)); tmp = 0.0; if (y0 <= -1.8e+228) tmp = b * (z * (k * y0)); elseif (y0 <= -2.9e+81) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y0 <= -8.6e-104) tmp = t_1; elseif (y0 <= -3.9e-163) tmp = (x * y) * (a * b); elseif (y0 <= -2.05e-215) tmp = y * (b * (y4 * -k)); elseif (y0 <= -1.45e-263) tmp = t_1; else tmp = b * (a * ((x * y) - (z * t))); 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[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.8e+228], N[(b * N[(z * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.9e+81], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -8.6e-104], t$95$1, If[LessEqual[y0, -3.9e-163], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.05e-215], N[(y * N[(b * N[(y4 * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.45e-263], t$95$1, N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\mathbf{if}\;y0 \leq -1.8 \cdot 10^{+228}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq -2.9 \cdot 10^{+81}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq -8.6 \cdot 10^{-104}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -3.9 \cdot 10^{-163}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;y0 \leq -2.05 \cdot 10^{-215}:\\
\;\;\;\;y \cdot \left(b \cdot \left(y4 \cdot \left(-k\right)\right)\right)\\
\mathbf{elif}\;y0 \leq -1.45 \cdot 10^{-263}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\end{array}
\end{array}
if y0 < -1.8e228Initial program 18.2%
Taylor expanded in z around -inf 50.3%
Taylor expanded in k around inf 46.5%
Taylor expanded in i around 0 50.6%
mul-1-neg50.6%
distribute-rgt-neg-in50.6%
associate-*r*63.7%
distribute-rgt-neg-in63.7%
Simplified63.7%
if -1.8e228 < y0 < -2.9e81Initial program 35.3%
Taylor expanded in b around inf 48.9%
Taylor expanded in j around inf 49.6%
if -2.9e81 < y0 < -8.6000000000000002e-104 or -2.04999999999999992e-215 < y0 < -1.45000000000000002e-263Initial program 39.5%
Taylor expanded in z around -inf 44.0%
Taylor expanded in k around inf 38.4%
Taylor expanded in i around inf 36.5%
if -8.6000000000000002e-104 < y0 < -3.9000000000000002e-163Initial program 36.4%
Taylor expanded in b around inf 29.6%
Taylor expanded in a around inf 20.5%
Taylor expanded in x around inf 29.4%
pow129.4%
associate-*r*46.3%
Applied egg-rr46.3%
unpow146.3%
Simplified46.3%
if -3.9000000000000002e-163 < y0 < -2.04999999999999992e-215Initial program 33.3%
Taylor expanded in y4 around inf 56.0%
Taylor expanded in y around -inf 46.0%
mul-1-neg46.0%
Simplified46.0%
Taylor expanded in b around inf 46.2%
if -1.45000000000000002e-263 < y0 Initial program 30.4%
Taylor expanded in b around inf 37.9%
Taylor expanded in a around inf 35.5%
Final simplification40.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* a (- (* x y) (* z t))))))
(if (<= y0 -4.5e+72)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y0 -4.1e-78)
(* z (* k (* i (- y1))))
(if (<= y0 -9.8e-298)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= y0 8.5e-199)
t_1
(if (<= y0 6.2e-187)
(* y (* y4 (* c y3)))
(if (<= y0 1.16e-50) (* c (* t (- (* z i) (* y2 y4)))) t_1))))))))
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 * (a * ((x * y) - (z * t)));
double tmp;
if (y0 <= -4.5e+72) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -4.1e-78) {
tmp = z * (k * (i * -y1));
} else if (y0 <= -9.8e-298) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y0 <= 8.5e-199) {
tmp = t_1;
} else if (y0 <= 6.2e-187) {
tmp = y * (y4 * (c * y3));
} else if (y0 <= 1.16e-50) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = t_1;
}
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 = b * (a * ((x * y) - (z * t)))
if (y0 <= (-4.5d+72)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y0 <= (-4.1d-78)) then
tmp = z * (k * (i * -y1))
else if (y0 <= (-9.8d-298)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (y0 <= 8.5d-199) then
tmp = t_1
else if (y0 <= 6.2d-187) then
tmp = y * (y4 * (c * y3))
else if (y0 <= 1.16d-50) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (a * ((x * y) - (z * t)));
double tmp;
if (y0 <= -4.5e+72) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -4.1e-78) {
tmp = z * (k * (i * -y1));
} else if (y0 <= -9.8e-298) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (y0 <= 8.5e-199) {
tmp = t_1;
} else if (y0 <= 6.2e-187) {
tmp = y * (y4 * (c * y3));
} else if (y0 <= 1.16e-50) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (a * ((x * y) - (z * t))) tmp = 0 if y0 <= -4.5e+72: tmp = b * (y0 * ((z * k) - (x * j))) elif y0 <= -4.1e-78: tmp = z * (k * (i * -y1)) elif y0 <= -9.8e-298: tmp = c * (y4 * ((y * y3) - (t * y2))) elif y0 <= 8.5e-199: tmp = t_1 elif y0 <= 6.2e-187: tmp = y * (y4 * (c * y3)) elif y0 <= 1.16e-50: tmp = c * (t * ((z * i) - (y2 * y4))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (y0 <= -4.5e+72) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y0 <= -4.1e-78) tmp = Float64(z * Float64(k * Float64(i * Float64(-y1)))); elseif (y0 <= -9.8e-298) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (y0 <= 8.5e-199) tmp = t_1; elseif (y0 <= 6.2e-187) tmp = Float64(y * Float64(y4 * Float64(c * y3))); elseif (y0 <= 1.16e-50) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); else tmp = t_1; 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 * (a * ((x * y) - (z * t))); tmp = 0.0; if (y0 <= -4.5e+72) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y0 <= -4.1e-78) tmp = z * (k * (i * -y1)); elseif (y0 <= -9.8e-298) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (y0 <= 8.5e-199) tmp = t_1; elseif (y0 <= 6.2e-187) tmp = y * (y4 * (c * y3)); elseif (y0 <= 1.16e-50) tmp = c * (t * ((z * i) - (y2 * y4))); else tmp = t_1; 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[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4.5e+72], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -4.1e-78], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -9.8e-298], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 8.5e-199], t$95$1, If[LessEqual[y0, 6.2e-187], N[(y * N[(y4 * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.16e-50], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y0 \leq -4.5 \cdot 10^{+72}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq -4.1 \cdot 10^{-78}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;y0 \leq -9.8 \cdot 10^{-298}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 8.5 \cdot 10^{-199}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 6.2 \cdot 10^{-187}:\\
\;\;\;\;y \cdot \left(y4 \cdot \left(c \cdot y3\right)\right)\\
\mathbf{elif}\;y0 \leq 1.16 \cdot 10^{-50}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -4.4999999999999998e72Initial program 29.3%
Taylor expanded in b around inf 45.9%
Taylor expanded in y0 around inf 49.9%
if -4.4999999999999998e72 < y0 < -4.0999999999999998e-78Initial program 38.8%
Taylor expanded in z around -inf 47.4%
Taylor expanded in k around inf 37.1%
Taylor expanded in i around inf 34.5%
if -4.0999999999999998e-78 < y0 < -9.7999999999999999e-298Initial program 40.5%
Taylor expanded in y4 around inf 41.4%
Taylor expanded in c around inf 38.8%
if -9.7999999999999999e-298 < y0 < 8.4999999999999994e-199 or 1.15999999999999989e-50 < y0 Initial program 24.7%
Taylor expanded in b around inf 37.6%
Taylor expanded in a around inf 41.6%
if 8.4999999999999994e-199 < y0 < 6.20000000000000039e-187Initial program 59.7%
Taylor expanded in y4 around inf 43.5%
Taylor expanded in y around -inf 41.4%
mul-1-neg41.4%
Simplified41.4%
Taylor expanded in b around 0 42.2%
neg-mul-142.2%
distribute-rgt-neg-in42.2%
Simplified42.2%
if 6.20000000000000039e-187 < y0 < 1.15999999999999989e-50Initial program 35.9%
Taylor expanded in t around inf 43.0%
Taylor expanded in c around inf 37.0%
Final simplification41.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (- (* x y) (* z t)))))
(if (<= y3 -68000000.0)
(* z (+ (- (* y1 (- (* a y3) (* i k))) (* c (* y0 y3))) (* b (* k y0))))
(if (<= y3 8.6e-18)
(* b (+ (+ t_1 (* y4 (- (* t j) (* y k)))) (* y0 (- (* z k) (* x j)))))
(if (<= y3 1.25e+39)
(* i (* k (- (* y y5) (* z y1))))
(if (<= y3 1.45e+115)
(* b (* z (- (* k y0) (* t a))))
(if (<= y3 2.85e+194)
(* b t_1)
(* z (* y3 (- (* a y1) (* c 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 t_1 = a * ((x * y) - (z * t));
double tmp;
if (y3 <= -68000000.0) {
tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
} else if (y3 <= 8.6e-18) {
tmp = b * ((t_1 + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y3 <= 1.25e+39) {
tmp = i * (k * ((y * y5) - (z * y1)));
} else if (y3 <= 1.45e+115) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y3 <= 2.85e+194) {
tmp = b * t_1;
} else {
tmp = z * (y3 * ((a * y1) - (c * 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) :: t_1
real(8) :: tmp
t_1 = a * ((x * y) - (z * t))
if (y3 <= (-68000000.0d0)) then
tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)))
else if (y3 <= 8.6d-18) then
tmp = b * ((t_1 + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y3 <= 1.25d+39) then
tmp = i * (k * ((y * y5) - (z * y1)))
else if (y3 <= 1.45d+115) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (y3 <= 2.85d+194) then
tmp = b * t_1
else
tmp = z * (y3 * ((a * y1) - (c * 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 t_1 = a * ((x * y) - (z * t));
double tmp;
if (y3 <= -68000000.0) {
tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0)));
} else if (y3 <= 8.6e-18) {
tmp = b * ((t_1 + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y3 <= 1.25e+39) {
tmp = i * (k * ((y * y5) - (z * y1)));
} else if (y3 <= 1.45e+115) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y3 <= 2.85e+194) {
tmp = b * t_1;
} else {
tmp = z * (y3 * ((a * y1) - (c * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * ((x * y) - (z * t)) tmp = 0 if y3 <= -68000000.0: tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0))) elif y3 <= 8.6e-18: tmp = b * ((t_1 + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y3 <= 1.25e+39: tmp = i * (k * ((y * y5) - (z * y1))) elif y3 <= 1.45e+115: tmp = b * (z * ((k * y0) - (t * a))) elif y3 <= 2.85e+194: tmp = b * t_1 else: tmp = z * (y3 * ((a * y1) - (c * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(Float64(x * y) - Float64(z * t))) tmp = 0.0 if (y3 <= -68000000.0) tmp = Float64(z * Float64(Float64(Float64(y1 * Float64(Float64(a * y3) - Float64(i * k))) - Float64(c * Float64(y0 * y3))) + Float64(b * Float64(k * y0)))); elseif (y3 <= 8.6e-18) tmp = Float64(b * Float64(Float64(t_1 + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y3 <= 1.25e+39) tmp = Float64(i * Float64(k * Float64(Float64(y * y5) - Float64(z * y1)))); elseif (y3 <= 1.45e+115) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (y3 <= 2.85e+194) tmp = Float64(b * t_1); else tmp = Float64(z * Float64(y3 * Float64(Float64(a * y1) - Float64(c * 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) t_1 = a * ((x * y) - (z * t)); tmp = 0.0; if (y3 <= -68000000.0) tmp = z * (((y1 * ((a * y3) - (i * k))) - (c * (y0 * y3))) + (b * (k * y0))); elseif (y3 <= 8.6e-18) tmp = b * ((t_1 + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y3 <= 1.25e+39) tmp = i * (k * ((y * y5) - (z * y1))); elseif (y3 <= 1.45e+115) tmp = b * (z * ((k * y0) - (t * a))); elseif (y3 <= 2.85e+194) tmp = b * t_1; else tmp = z * (y3 * ((a * y1) - (c * y0))); 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[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -68000000.0], N[(z * N[(N[(N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8.6e-18], N[(b * N[(N[(t$95$1 + 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], If[LessEqual[y3, 1.25e+39], N[(i * N[(k * N[(N[(y * y5), $MachinePrecision] - N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.45e+115], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.85e+194], N[(b * t$95$1), $MachinePrecision], N[(z * N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(x \cdot y - z \cdot t\right)\\
\mathbf{if}\;y3 \leq -68000000:\\
\;\;\;\;z \cdot \left(\left(y1 \cdot \left(a \cdot y3 - i \cdot k\right) - c \cdot \left(y0 \cdot y3\right)\right) + b \cdot \left(k \cdot y0\right)\right)\\
\mathbf{elif}\;y3 \leq 8.6 \cdot 10^{-18}:\\
\;\;\;\;b \cdot \left(\left(t\_1 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y3 \leq 1.25 \cdot 10^{+39}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5 - z \cdot y1\right)\right)\\
\mathbf{elif}\;y3 \leq 1.45 \cdot 10^{+115}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;y3 \leq 2.85 \cdot 10^{+194}:\\
\;\;\;\;b \cdot t\_1\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\end{array}
\end{array}
if y3 < -6.8e7Initial program 35.2%
Taylor expanded in z around -inf 41.0%
Taylor expanded in y1 around 0 40.9%
Taylor expanded in t around 0 48.6%
if -6.8e7 < y3 < 8.6000000000000005e-18Initial program 29.8%
Taylor expanded in b around inf 46.9%
if 8.6000000000000005e-18 < y3 < 1.25000000000000004e39Initial program 30.6%
Taylor expanded in i around -inf 61.5%
Taylor expanded in k around -inf 69.4%
associate-*r*69.4%
neg-mul-169.4%
Simplified69.4%
if 1.25000000000000004e39 < y3 < 1.45000000000000002e115Initial program 41.5%
Taylor expanded in b around inf 48.5%
Taylor expanded in z around -inf 48.7%
mul-1-neg48.7%
Simplified48.7%
if 1.45000000000000002e115 < y3 < 2.84999999999999992e194Initial program 29.4%
Taylor expanded in b around inf 35.7%
Taylor expanded in a around inf 65.3%
if 2.84999999999999992e194 < y3 Initial program 32.5%
Taylor expanded in z around -inf 42.3%
Taylor expanded in y3 around inf 55.4%
Final simplification50.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* a (- (* x y) (* z t))))))
(if (<= y0 -4.05e+211)
(* b (* z (* k y0)))
(if (<= y0 -2.35e+84)
t_1
(if (<= y0 -1.36e-110)
(* z (* k (* i (- y1))))
(if (<= y0 -1.9e-163)
(* (* x y) (* a b))
(if (<= y0 -1.05e-297) (* b (* (- k) (* y y4))) t_1)))))))
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 * (a * ((x * y) - (z * t)));
double tmp;
if (y0 <= -4.05e+211) {
tmp = b * (z * (k * y0));
} else if (y0 <= -2.35e+84) {
tmp = t_1;
} else if (y0 <= -1.36e-110) {
tmp = z * (k * (i * -y1));
} else if (y0 <= -1.9e-163) {
tmp = (x * y) * (a * b);
} else if (y0 <= -1.05e-297) {
tmp = b * (-k * (y * y4));
} else {
tmp = t_1;
}
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 = b * (a * ((x * y) - (z * t)))
if (y0 <= (-4.05d+211)) then
tmp = b * (z * (k * y0))
else if (y0 <= (-2.35d+84)) then
tmp = t_1
else if (y0 <= (-1.36d-110)) then
tmp = z * (k * (i * -y1))
else if (y0 <= (-1.9d-163)) then
tmp = (x * y) * (a * b)
else if (y0 <= (-1.05d-297)) then
tmp = b * (-k * (y * y4))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (a * ((x * y) - (z * t)));
double tmp;
if (y0 <= -4.05e+211) {
tmp = b * (z * (k * y0));
} else if (y0 <= -2.35e+84) {
tmp = t_1;
} else if (y0 <= -1.36e-110) {
tmp = z * (k * (i * -y1));
} else if (y0 <= -1.9e-163) {
tmp = (x * y) * (a * b);
} else if (y0 <= -1.05e-297) {
tmp = b * (-k * (y * y4));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (a * ((x * y) - (z * t))) tmp = 0 if y0 <= -4.05e+211: tmp = b * (z * (k * y0)) elif y0 <= -2.35e+84: tmp = t_1 elif y0 <= -1.36e-110: tmp = z * (k * (i * -y1)) elif y0 <= -1.9e-163: tmp = (x * y) * (a * b) elif y0 <= -1.05e-297: tmp = b * (-k * (y * y4)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (y0 <= -4.05e+211) tmp = Float64(b * Float64(z * Float64(k * y0))); elseif (y0 <= -2.35e+84) tmp = t_1; elseif (y0 <= -1.36e-110) tmp = Float64(z * Float64(k * Float64(i * Float64(-y1)))); elseif (y0 <= -1.9e-163) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (y0 <= -1.05e-297) tmp = Float64(b * Float64(Float64(-k) * Float64(y * y4))); else tmp = t_1; 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 * (a * ((x * y) - (z * t))); tmp = 0.0; if (y0 <= -4.05e+211) tmp = b * (z * (k * y0)); elseif (y0 <= -2.35e+84) tmp = t_1; elseif (y0 <= -1.36e-110) tmp = z * (k * (i * -y1)); elseif (y0 <= -1.9e-163) tmp = (x * y) * (a * b); elseif (y0 <= -1.05e-297) tmp = b * (-k * (y * y4)); else tmp = t_1; 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[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4.05e+211], N[(b * N[(z * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.35e+84], t$95$1, If[LessEqual[y0, -1.36e-110], N[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.9e-163], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.05e-297], N[(b * N[((-k) * N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y0 \leq -4.05 \cdot 10^{+211}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq -2.35 \cdot 10^{+84}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq -1.36 \cdot 10^{-110}:\\
\;\;\;\;z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;y0 \leq -1.9 \cdot 10^{-163}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;y0 \leq -1.05 \cdot 10^{-297}:\\
\;\;\;\;b \cdot \left(\left(-k\right) \cdot \left(y \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -4.04999999999999986e211Initial program 26.9%
Taylor expanded in z around -inf 50.3%
Taylor expanded in k around inf 43.6%
Taylor expanded in i around 0 50.7%
mul-1-neg50.7%
distribute-rgt-neg-in50.7%
associate-*r*61.8%
distribute-rgt-neg-in61.8%
Simplified61.8%
if -4.04999999999999986e211 < y0 < -2.3499999999999999e84 or -1.05000000000000007e-297 < y0 Initial program 28.4%
Taylor expanded in b around inf 41.8%
Taylor expanded in a around inf 36.9%
if -2.3499999999999999e84 < y0 < -1.35999999999999999e-110Initial program 41.2%
Taylor expanded in z around -inf 45.8%
Taylor expanded in k around inf 37.9%
Taylor expanded in i around inf 35.8%
if -1.35999999999999999e-110 < y0 < -1.9e-163Initial program 36.4%
Taylor expanded in b around inf 29.6%
Taylor expanded in a around inf 20.5%
Taylor expanded in x around inf 29.4%
pow129.4%
associate-*r*46.3%
Applied egg-rr46.3%
unpow146.3%
Simplified46.3%
if -1.9e-163 < y0 < -1.05000000000000007e-297Initial program 42.9%
Taylor expanded in y4 around inf 53.4%
Taylor expanded in y around -inf 34.6%
mul-1-neg34.6%
Simplified34.6%
Taylor expanded in b around inf 30.2%
Final simplification39.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= y0 -2.2e+85)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y0 -4.2e-6)
t_1
(if (<= y0 1.16e-294)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y0 5.4e+194) (* b (* a (- (* x y) (* z t)))) t_1))))))
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 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (y0 <= -2.2e+85) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -4.2e-6) {
tmp = t_1;
} else if (y0 <= 1.16e-294) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 5.4e+194) {
tmp = b * (a * ((x * y) - (z * t)));
} else {
tmp = t_1;
}
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 * ((y1 * y4) - (y0 * y5)))
if (y0 <= (-2.2d+85)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y0 <= (-4.2d-6)) then
tmp = t_1
else if (y0 <= 1.16d-294) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y0 <= 5.4d+194) then
tmp = b * (a * ((x * y) - (z * t)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (y0 <= -2.2e+85) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -4.2e-6) {
tmp = t_1;
} else if (y0 <= 1.16e-294) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 5.4e+194) {
tmp = b * (a * ((x * y) - (z * t)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if y0 <= -2.2e+85: tmp = b * (y0 * ((z * k) - (x * j))) elif y0 <= -4.2e-6: tmp = t_1 elif y0 <= 1.16e-294: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y0 <= 5.4e+194: tmp = b * (a * ((x * y) - (z * t))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (y0 <= -2.2e+85) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y0 <= -4.2e-6) tmp = t_1; elseif (y0 <= 1.16e-294) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y0 <= 5.4e+194) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); else tmp = t_1; 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 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (y0 <= -2.2e+85) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y0 <= -4.2e-6) tmp = t_1; elseif (y0 <= 1.16e-294) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y0 <= 5.4e+194) tmp = b * (a * ((x * y) - (z * t))); else tmp = t_1; 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[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.2e+85], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -4.2e-6], t$95$1, If[LessEqual[y0, 1.16e-294], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.4e+194], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;y0 \leq -2.2 \cdot 10^{+85}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq -4.2 \cdot 10^{-6}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 1.16 \cdot 10^{-294}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 5.4 \cdot 10^{+194}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y0 < -2.2000000000000002e85Initial program 26.4%
Taylor expanded in b around inf 50.2%
Taylor expanded in y0 around inf 50.8%
if -2.2000000000000002e85 < y0 < -4.1999999999999996e-6 or 5.4000000000000003e194 < y0 Initial program 26.2%
Taylor expanded in y4 around inf 35.1%
Taylor expanded in y3 around inf 58.6%
Taylor expanded in y3 around 0 55.9%
if -4.1999999999999996e-6 < y0 < 1.16000000000000006e-294Initial program 38.1%
Taylor expanded in t around inf 37.1%
Taylor expanded in y2 around inf 37.5%
if 1.16000000000000006e-294 < y0 < 5.4000000000000003e194Initial program 33.4%
Taylor expanded in b around inf 42.0%
Taylor expanded in a around inf 38.7%
Final simplification43.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* z (* k (* i (- y1))))))
(if (<= i -2.35e+101)
t_1
(if (<= i -1.7e-17)
(* b (* a (* z (- t))))
(if (<= i -4.8e-176)
(* y (* y4 (* b (- k))))
(if (<= i 8.2e+66) (* a (* (* x y) b)) t_1))))))
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 = z * (k * (i * -y1));
double tmp;
if (i <= -2.35e+101) {
tmp = t_1;
} else if (i <= -1.7e-17) {
tmp = b * (a * (z * -t));
} else if (i <= -4.8e-176) {
tmp = y * (y4 * (b * -k));
} else if (i <= 8.2e+66) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
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 = z * (k * (i * -y1))
if (i <= (-2.35d+101)) then
tmp = t_1
else if (i <= (-1.7d-17)) then
tmp = b * (a * (z * -t))
else if (i <= (-4.8d-176)) then
tmp = y * (y4 * (b * -k))
else if (i <= 8.2d+66) then
tmp = a * ((x * y) * b)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * (k * (i * -y1));
double tmp;
if (i <= -2.35e+101) {
tmp = t_1;
} else if (i <= -1.7e-17) {
tmp = b * (a * (z * -t));
} else if (i <= -4.8e-176) {
tmp = y * (y4 * (b * -k));
} else if (i <= 8.2e+66) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = z * (k * (i * -y1)) tmp = 0 if i <= -2.35e+101: tmp = t_1 elif i <= -1.7e-17: tmp = b * (a * (z * -t)) elif i <= -4.8e-176: tmp = y * (y4 * (b * -k)) elif i <= 8.2e+66: tmp = a * ((x * y) * b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(z * Float64(k * Float64(i * Float64(-y1)))) tmp = 0.0 if (i <= -2.35e+101) tmp = t_1; elseif (i <= -1.7e-17) tmp = Float64(b * Float64(a * Float64(z * Float64(-t)))); elseif (i <= -4.8e-176) tmp = Float64(y * Float64(y4 * Float64(b * Float64(-k)))); elseif (i <= 8.2e+66) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = t_1; 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 = z * (k * (i * -y1)); tmp = 0.0; if (i <= -2.35e+101) tmp = t_1; elseif (i <= -1.7e-17) tmp = b * (a * (z * -t)); elseif (i <= -4.8e-176) tmp = y * (y4 * (b * -k)); elseif (i <= 8.2e+66) tmp = a * ((x * y) * b); else tmp = t_1; 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[(z * N[(k * N[(i * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2.35e+101], t$95$1, If[LessEqual[i, -1.7e-17], N[(b * N[(a * N[(z * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -4.8e-176], N[(y * N[(y4 * N[(b * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.2e+66], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(k \cdot \left(i \cdot \left(-y1\right)\right)\right)\\
\mathbf{if}\;i \leq -2.35 \cdot 10^{+101}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -1.7 \cdot 10^{-17}:\\
\;\;\;\;b \cdot \left(a \cdot \left(z \cdot \left(-t\right)\right)\right)\\
\mathbf{elif}\;i \leq -4.8 \cdot 10^{-176}:\\
\;\;\;\;y \cdot \left(y4 \cdot \left(b \cdot \left(-k\right)\right)\right)\\
\mathbf{elif}\;i \leq 8.2 \cdot 10^{+66}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if i < -2.34999999999999985e101 or 8.19999999999999989e66 < i Initial program 26.7%
Taylor expanded in z around -inf 42.0%
Taylor expanded in k around inf 42.6%
Taylor expanded in i around inf 42.9%
if -2.34999999999999985e101 < i < -1.6999999999999999e-17Initial program 42.3%
Taylor expanded in b around inf 37.5%
Taylor expanded in a around inf 31.7%
Taylor expanded in x around 0 31.5%
mul-1-neg31.5%
distribute-lft-neg-out31.5%
*-commutative31.5%
Simplified31.5%
if -1.6999999999999999e-17 < i < -4.80000000000000012e-176Initial program 38.7%
Taylor expanded in y4 around inf 42.8%
Taylor expanded in y around -inf 42.7%
mul-1-neg42.7%
Simplified42.7%
Taylor expanded in b around inf 36.7%
if -4.80000000000000012e-176 < i < 8.19999999999999989e66Initial program 31.3%
Taylor expanded in b around inf 37.4%
Taylor expanded in a around inf 29.5%
Taylor expanded in x around inf 25.8%
Final simplification33.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y0 -80000.0)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y0 -2.05e-163)
(* b (* x (- (* y a) (* j y0))))
(if (<= y0 -9.5e-298)
(* b (* (- k) (* y y4)))
(* b (* a (- (* x y) (* z t))))))))
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 (y0 <= -80000.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -2.05e-163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y0 <= -9.5e-298) {
tmp = b * (-k * (y * y4));
} else {
tmp = b * (a * ((x * y) - (z * t)));
}
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 (y0 <= (-80000.0d0)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y0 <= (-2.05d-163)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y0 <= (-9.5d-298)) then
tmp = b * (-k * (y * y4))
else
tmp = b * (a * ((x * y) - (z * t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -80000.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -2.05e-163) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y0 <= -9.5e-298) {
tmp = b * (-k * (y * y4));
} else {
tmp = b * (a * ((x * y) - (z * t)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -80000.0: tmp = b * (y0 * ((z * k) - (x * j))) elif y0 <= -2.05e-163: tmp = b * (x * ((y * a) - (j * y0))) elif y0 <= -9.5e-298: tmp = b * (-k * (y * y4)) else: tmp = b * (a * ((x * y) - (z * t))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -80000.0) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y0 <= -2.05e-163) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y0 <= -9.5e-298) tmp = Float64(b * Float64(Float64(-k) * Float64(y * y4))); else tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); 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 (y0 <= -80000.0) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y0 <= -2.05e-163) tmp = b * (x * ((y * a) - (j * y0))); elseif (y0 <= -9.5e-298) tmp = b * (-k * (y * y4)); else tmp = b * (a * ((x * y) - (z * t))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -80000.0], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.05e-163], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -9.5e-298], N[(b * N[((-k) * N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -80000:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq -2.05 \cdot 10^{-163}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq -9.5 \cdot 10^{-298}:\\
\;\;\;\;b \cdot \left(\left(-k\right) \cdot \left(y \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\end{array}
\end{array}
if y0 < -8e4Initial program 31.8%
Taylor expanded in b around inf 42.0%
Taylor expanded in y0 around inf 47.1%
if -8e4 < y0 < -2.04999999999999991e-163Initial program 36.3%
Taylor expanded in b around inf 37.3%
Taylor expanded in x around inf 33.1%
if -2.04999999999999991e-163 < y0 < -9.50000000000000012e-298Initial program 42.9%
Taylor expanded in y4 around inf 53.4%
Taylor expanded in y around -inf 34.6%
mul-1-neg34.6%
Simplified34.6%
Taylor expanded in b around inf 30.2%
if -9.50000000000000012e-298 < y0 Initial program 28.9%
Taylor expanded in b around inf 38.4%
Taylor expanded in a around inf 36.6%
Final simplification38.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y -7.8e+70) (* c (* y3 (* y y4))) (if (<= y 6e+17) (* a (* t (* b (- z)))) (* 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 (y <= -7.8e+70) {
tmp = c * (y3 * (y * y4));
} else if (y <= 6e+17) {
tmp = a * (t * (b * -z));
} 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 (y <= (-7.8d+70)) then
tmp = c * (y3 * (y * y4))
else if (y <= 6d+17) then
tmp = a * (t * (b * -z))
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 (y <= -7.8e+70) {
tmp = c * (y3 * (y * y4));
} else if (y <= 6e+17) {
tmp = a * (t * (b * -z));
} 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 y <= -7.8e+70: tmp = c * (y3 * (y * y4)) elif y <= 6e+17: tmp = a * (t * (b * -z)) 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 (y <= -7.8e+70) tmp = Float64(c * Float64(y3 * Float64(y * y4))); elseif (y <= 6e+17) tmp = Float64(a * Float64(t * Float64(b * Float64(-z)))); 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 (y <= -7.8e+70) tmp = c * (y3 * (y * y4)); elseif (y <= 6e+17) tmp = a * (t * (b * -z)); 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[LessEqual[y, -7.8e+70], N[(c * N[(y3 * N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 6e+17], N[(a * N[(t * N[(b * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -7.8 \cdot 10^{+70}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\
\mathbf{elif}\;y \leq 6 \cdot 10^{+17}:\\
\;\;\;\;a \cdot \left(t \cdot \left(b \cdot \left(-z\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if y < -7.79999999999999949e70Initial program 31.1%
Taylor expanded in y4 around inf 38.6%
Taylor expanded in y3 around inf 34.3%
Taylor expanded in c around inf 39.1%
*-commutative39.1%
associate-*r*49.8%
Simplified49.8%
if -7.79999999999999949e70 < y < 6e17Initial program 35.4%
Taylor expanded in t around inf 37.2%
Taylor expanded in a around -inf 29.3%
mul-1-neg29.3%
Simplified29.3%
Taylor expanded in b around inf 23.7%
*-commutative23.7%
Simplified23.7%
if 6e17 < y Initial program 24.1%
Taylor expanded in b around inf 31.5%
Taylor expanded in a around inf 33.7%
Taylor expanded in x around inf 28.7%
Final simplification29.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y -9e+83) (* c (* y3 (* y y4))) (if (<= y 3.4e+17) (* a (* b (* z (- t)))) (* 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 (y <= -9e+83) {
tmp = c * (y3 * (y * y4));
} else if (y <= 3.4e+17) {
tmp = a * (b * (z * -t));
} 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 (y <= (-9d+83)) then
tmp = c * (y3 * (y * y4))
else if (y <= 3.4d+17) then
tmp = a * (b * (z * -t))
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 (y <= -9e+83) {
tmp = c * (y3 * (y * y4));
} else if (y <= 3.4e+17) {
tmp = a * (b * (z * -t));
} 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 y <= -9e+83: tmp = c * (y3 * (y * y4)) elif y <= 3.4e+17: tmp = a * (b * (z * -t)) 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 (y <= -9e+83) tmp = Float64(c * Float64(y3 * Float64(y * y4))); elseif (y <= 3.4e+17) tmp = Float64(a * Float64(b * Float64(z * Float64(-t)))); 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 (y <= -9e+83) tmp = c * (y3 * (y * y4)); elseif (y <= 3.4e+17) tmp = a * (b * (z * -t)); 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[LessEqual[y, -9e+83], N[(c * N[(y3 * N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3.4e+17], N[(a * N[(b * N[(z * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -9 \cdot 10^{+83}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\
\mathbf{elif}\;y \leq 3.4 \cdot 10^{+17}:\\
\;\;\;\;a \cdot \left(b \cdot \left(z \cdot \left(-t\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if y < -8.9999999999999999e83Initial program 31.0%
Taylor expanded in y4 around inf 38.9%
Taylor expanded in y3 around inf 34.2%
Taylor expanded in c around inf 41.7%
*-commutative41.7%
associate-*r*50.9%
Simplified50.9%
if -8.9999999999999999e83 < y < 3.4e17Initial program 35.3%
Taylor expanded in b around inf 37.7%
Taylor expanded in a around inf 27.2%
Taylor expanded in x around 0 25.2%
mul-1-neg25.2%
distribute-rgt-neg-in25.2%
*-commutative25.2%
distribute-rgt-neg-out25.2%
distribute-rgt-neg-in25.2%
Simplified25.2%
if 3.4e17 < y Initial program 24.1%
Taylor expanded in b around inf 31.5%
Taylor expanded in a around inf 33.7%
Taylor expanded in x around inf 28.7%
Final simplification30.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y4 -1.76e+49) (not (<= y4 1.3e+107))) (* c (* y3 (* y y4))) (* b (* y (* x 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 ((y4 <= -1.76e+49) || !(y4 <= 1.3e+107)) {
tmp = c * (y3 * (y * y4));
} else {
tmp = b * (y * (x * 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 ((y4 <= (-1.76d+49)) .or. (.not. (y4 <= 1.3d+107))) then
tmp = c * (y3 * (y * y4))
else
tmp = b * (y * (x * 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 ((y4 <= -1.76e+49) || !(y4 <= 1.3e+107)) {
tmp = c * (y3 * (y * y4));
} else {
tmp = b * (y * (x * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y4 <= -1.76e+49) or not (y4 <= 1.3e+107): tmp = c * (y3 * (y * y4)) else: tmp = b * (y * (x * 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 ((y4 <= -1.76e+49) || !(y4 <= 1.3e+107)) tmp = Float64(c * Float64(y3 * Float64(y * y4))); else tmp = Float64(b * Float64(y * Float64(x * 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 ((y4 <= -1.76e+49) || ~((y4 <= 1.3e+107))) tmp = c * (y3 * (y * y4)); else tmp = b * (y * (x * a)); 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[y4, -1.76e+49], N[Not[LessEqual[y4, 1.3e+107]], $MachinePrecision]], N[(c * N[(y3 * N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -1.76 \cdot 10^{+49} \lor \neg \left(y4 \leq 1.3 \cdot 10^{+107}\right):\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\
\end{array}
\end{array}
if y4 < -1.7599999999999999e49 or 1.3000000000000001e107 < y4 Initial program 23.3%
Taylor expanded in y4 around inf 41.1%
Taylor expanded in y3 around inf 44.9%
Taylor expanded in c around inf 38.2%
*-commutative38.2%
associate-*r*41.6%
Simplified41.6%
if -1.7599999999999999e49 < y4 < 1.3000000000000001e107Initial program 36.5%
Taylor expanded in b around inf 35.6%
Taylor expanded in a around inf 31.3%
Taylor expanded in x around inf 20.2%
associate-*r*21.4%
Simplified21.4%
Final simplification28.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= x -3.4e-44) (* a (* (* x y) b)) (if (<= x 5.4e+27) (* c (* y (* y3 y4))) (* b (* y (* x 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 (x <= -3.4e-44) {
tmp = a * ((x * y) * b);
} else if (x <= 5.4e+27) {
tmp = c * (y * (y3 * y4));
} else {
tmp = b * (y * (x * 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 (x <= (-3.4d-44)) then
tmp = a * ((x * y) * b)
else if (x <= 5.4d+27) then
tmp = c * (y * (y3 * y4))
else
tmp = b * (y * (x * 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 (x <= -3.4e-44) {
tmp = a * ((x * y) * b);
} else if (x <= 5.4e+27) {
tmp = c * (y * (y3 * y4));
} else {
tmp = b * (y * (x * a));
}
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.4e-44: tmp = a * ((x * y) * b) elif x <= 5.4e+27: tmp = c * (y * (y3 * y4)) else: tmp = b * (y * (x * 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 (x <= -3.4e-44) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (x <= 5.4e+27) tmp = Float64(c * Float64(y * Float64(y3 * y4))); else tmp = Float64(b * Float64(y * Float64(x * 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 (x <= -3.4e-44) tmp = a * ((x * y) * b); elseif (x <= 5.4e+27) tmp = c * (y * (y3 * y4)); else tmp = b * (y * (x * 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[x, -3.4e-44], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.4e+27], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.4 \cdot 10^{-44}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;x \leq 5.4 \cdot 10^{+27}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\
\end{array}
\end{array}
if x < -3.40000000000000016e-44Initial program 23.0%
Taylor expanded in b around inf 38.3%
Taylor expanded in a around inf 40.0%
Taylor expanded in x around inf 32.1%
if -3.40000000000000016e-44 < x < 5.3999999999999995e27Initial program 41.8%
Taylor expanded in y4 around inf 38.9%
Taylor expanded in y3 around inf 35.9%
Taylor expanded in c around inf 20.0%
if 5.3999999999999995e27 < x Initial program 20.9%
Taylor expanded in b around inf 45.7%
Taylor expanded in a around inf 44.5%
Taylor expanded in x around inf 39.0%
associate-*r*44.4%
Simplified44.4%
Final simplification28.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= a 2e+71) (* a (* (* x y) b)) (* b (* y (* x 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 (a <= 2e+71) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (y * (x * 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 (a <= 2d+71) then
tmp = a * ((x * y) * b)
else
tmp = b * (y * (x * 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 (a <= 2e+71) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (y * (x * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= 2e+71: tmp = a * ((x * y) * b) else: tmp = b * (y * (x * 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 (a <= 2e+71) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(b * Float64(y * Float64(x * 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 (a <= 2e+71) tmp = a * ((x * y) * b); else tmp = b * (y * (x * 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[a, 2e+71], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq 2 \cdot 10^{+71}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\
\end{array}
\end{array}
if a < 2.0000000000000001e71Initial program 34.0%
Taylor expanded in b around inf 37.5%
Taylor expanded in a around inf 27.6%
Taylor expanded in x around inf 17.7%
if 2.0000000000000001e71 < a Initial program 24.6%
Taylor expanded in b around inf 43.9%
Taylor expanded in a around inf 44.2%
Taylor expanded in x around inf 37.1%
associate-*r*44.4%
Simplified44.4%
Final simplification23.2%
(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.1%
Taylor expanded in b around inf 38.8%
Taylor expanded in a around inf 31.0%
Taylor expanded in x around inf 20.6%
Final simplification20.6%
(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 2024059
(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
(if (< y4 -7.206256231996481e+60) (- (- (* (- (* 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.0 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3.364603505246317e-66) (+ (- (- (- (* (* 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 -1.2000065055686116e-105) (+ (+ (- (* (- (* 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 6.718963124057495e-279) (+ (- (- (- (* (* 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 4.77962681403792e-222) (+ (+ (- (* (- (* 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 2.2852241541266835e-175) (+ (- (- (- (* (* 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)))))