
(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 46 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 (- (* t j) (* y k)))
(t_2 (- (* z k) (* x j)))
(t_3 (- (* x y) (* z t)))
(t_4 (- (* y1 y4) (* y0 y5)))
(t_5 (- (* c y0) (* a y1)))
(t_6 (- (* x y2) (* z y3)))
(t_7 (- (* k y2) (* j y3)))
(t_8 (* t_7 t_4))
(t_9 (* y5 t_7))
(t_10 (+ t_8 (* b (+ (+ (* a t_3) (* y4 t_1)) (* y0 t_2)))))
(t_11 (- (* y y3) (* t y2))))
(if (<= x -6.5e+211)
(+
t_8
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_5))
(* j (- (* i y1) (* b y0))))))
(if (<= x -2.9e+27)
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5))))))
(if (<= x -65000000000000.0)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* z (- (* a y1) (* c y0))) (* j (- (* y0 y5) (* y1 y4))))))
(if (<= x -4.25e-42)
t_10
(if (<= x -6.05e-92)
(* (* t b) (- (* j y4) (* z a)))
(if (<= x -5e-240)
t_10
(if (<= x -3.1e-302)
(* y0 (- (* b t_2) t_9))
(if (<= x 3.1e-90)
(+ t_8 (* c (+ (- (* y0 t_6) (* i t_3)) (* y4 t_11))))
(if (<= x 1.15e-32)
(- t_8 (* y1 (+ (* a t_6) (* i t_2))))
(if (<= x 1.8e+51)
t_10
(if (<= x 2.9e+77)
(* a (* y (* y5 (- y3))))
(if (<= x 1.6e+121)
(+ t_8 (* y4 (+ (* b t_1) (* c t_11))))
(if (<= x 4e+197)
(* y2 (+ (* k t_4) (* x t_5)))
(if (<= x 1.05e+271)
(* c (* x (- (* y0 y2) (* y i))))
(*
y0
(-
(- (* c t_6) t_9)
(* b (- (* x j) (* z k)))))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * j) - (y * k);
double t_2 = (z * k) - (x * j);
double t_3 = (x * y) - (z * t);
double t_4 = (y1 * y4) - (y0 * y5);
double t_5 = (c * y0) - (a * y1);
double t_6 = (x * y2) - (z * y3);
double t_7 = (k * y2) - (j * y3);
double t_8 = t_7 * t_4;
double t_9 = y5 * t_7;
double t_10 = t_8 + (b * (((a * t_3) + (y4 * t_1)) + (y0 * t_2)));
double t_11 = (y * y3) - (t * y2);
double tmp;
if (x <= -6.5e+211) {
tmp = t_8 + (x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + (j * ((i * y1) - (b * y0)))));
} else if (x <= -2.9e+27) {
tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
} else if (x <= -65000000000000.0) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (x <= -4.25e-42) {
tmp = t_10;
} else if (x <= -6.05e-92) {
tmp = (t * b) * ((j * y4) - (z * a));
} else if (x <= -5e-240) {
tmp = t_10;
} else if (x <= -3.1e-302) {
tmp = y0 * ((b * t_2) - t_9);
} else if (x <= 3.1e-90) {
tmp = t_8 + (c * (((y0 * t_6) - (i * t_3)) + (y4 * t_11)));
} else if (x <= 1.15e-32) {
tmp = t_8 - (y1 * ((a * t_6) + (i * t_2)));
} else if (x <= 1.8e+51) {
tmp = t_10;
} else if (x <= 2.9e+77) {
tmp = a * (y * (y5 * -y3));
} else if (x <= 1.6e+121) {
tmp = t_8 + (y4 * ((b * t_1) + (c * t_11)));
} else if (x <= 4e+197) {
tmp = y2 * ((k * t_4) + (x * t_5));
} else if (x <= 1.05e+271) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else {
tmp = y0 * (((c * t_6) - t_9) - (b * ((x * j) - (z * k))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_11
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 = (t * j) - (y * k)
t_2 = (z * k) - (x * j)
t_3 = (x * y) - (z * t)
t_4 = (y1 * y4) - (y0 * y5)
t_5 = (c * y0) - (a * y1)
t_6 = (x * y2) - (z * y3)
t_7 = (k * y2) - (j * y3)
t_8 = t_7 * t_4
t_9 = y5 * t_7
t_10 = t_8 + (b * (((a * t_3) + (y4 * t_1)) + (y0 * t_2)))
t_11 = (y * y3) - (t * y2)
if (x <= (-6.5d+211)) then
tmp = t_8 + (x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + (j * ((i * y1) - (b * y0)))))
else if (x <= (-2.9d+27)) then
tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))))
else if (x <= (-65000000000000.0d0)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (x <= (-4.25d-42)) then
tmp = t_10
else if (x <= (-6.05d-92)) then
tmp = (t * b) * ((j * y4) - (z * a))
else if (x <= (-5d-240)) then
tmp = t_10
else if (x <= (-3.1d-302)) then
tmp = y0 * ((b * t_2) - t_9)
else if (x <= 3.1d-90) then
tmp = t_8 + (c * (((y0 * t_6) - (i * t_3)) + (y4 * t_11)))
else if (x <= 1.15d-32) then
tmp = t_8 - (y1 * ((a * t_6) + (i * t_2)))
else if (x <= 1.8d+51) then
tmp = t_10
else if (x <= 2.9d+77) then
tmp = a * (y * (y5 * -y3))
else if (x <= 1.6d+121) then
tmp = t_8 + (y4 * ((b * t_1) + (c * t_11)))
else if (x <= 4d+197) then
tmp = y2 * ((k * t_4) + (x * t_5))
else if (x <= 1.05d+271) then
tmp = c * (x * ((y0 * y2) - (y * i)))
else
tmp = y0 * (((c * t_6) - t_9) - (b * ((x * j) - (z * k))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * j) - (y * k);
double t_2 = (z * k) - (x * j);
double t_3 = (x * y) - (z * t);
double t_4 = (y1 * y4) - (y0 * y5);
double t_5 = (c * y0) - (a * y1);
double t_6 = (x * y2) - (z * y3);
double t_7 = (k * y2) - (j * y3);
double t_8 = t_7 * t_4;
double t_9 = y5 * t_7;
double t_10 = t_8 + (b * (((a * t_3) + (y4 * t_1)) + (y0 * t_2)));
double t_11 = (y * y3) - (t * y2);
double tmp;
if (x <= -6.5e+211) {
tmp = t_8 + (x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + (j * ((i * y1) - (b * y0)))));
} else if (x <= -2.9e+27) {
tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
} else if (x <= -65000000000000.0) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (x <= -4.25e-42) {
tmp = t_10;
} else if (x <= -6.05e-92) {
tmp = (t * b) * ((j * y4) - (z * a));
} else if (x <= -5e-240) {
tmp = t_10;
} else if (x <= -3.1e-302) {
tmp = y0 * ((b * t_2) - t_9);
} else if (x <= 3.1e-90) {
tmp = t_8 + (c * (((y0 * t_6) - (i * t_3)) + (y4 * t_11)));
} else if (x <= 1.15e-32) {
tmp = t_8 - (y1 * ((a * t_6) + (i * t_2)));
} else if (x <= 1.8e+51) {
tmp = t_10;
} else if (x <= 2.9e+77) {
tmp = a * (y * (y5 * -y3));
} else if (x <= 1.6e+121) {
tmp = t_8 + (y4 * ((b * t_1) + (c * t_11)));
} else if (x <= 4e+197) {
tmp = y2 * ((k * t_4) + (x * t_5));
} else if (x <= 1.05e+271) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else {
tmp = y0 * (((c * t_6) - t_9) - (b * ((x * j) - (z * k))));
}
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 = (z * k) - (x * j) t_3 = (x * y) - (z * t) t_4 = (y1 * y4) - (y0 * y5) t_5 = (c * y0) - (a * y1) t_6 = (x * y2) - (z * y3) t_7 = (k * y2) - (j * y3) t_8 = t_7 * t_4 t_9 = y5 * t_7 t_10 = t_8 + (b * (((a * t_3) + (y4 * t_1)) + (y0 * t_2))) t_11 = (y * y3) - (t * y2) tmp = 0 if x <= -6.5e+211: tmp = t_8 + (x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + (j * ((i * y1) - (b * y0))))) elif x <= -2.9e+27: tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) elif x <= -65000000000000.0: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif x <= -4.25e-42: tmp = t_10 elif x <= -6.05e-92: tmp = (t * b) * ((j * y4) - (z * a)) elif x <= -5e-240: tmp = t_10 elif x <= -3.1e-302: tmp = y0 * ((b * t_2) - t_9) elif x <= 3.1e-90: tmp = t_8 + (c * (((y0 * t_6) - (i * t_3)) + (y4 * t_11))) elif x <= 1.15e-32: tmp = t_8 - (y1 * ((a * t_6) + (i * t_2))) elif x <= 1.8e+51: tmp = t_10 elif x <= 2.9e+77: tmp = a * (y * (y5 * -y3)) elif x <= 1.6e+121: tmp = t_8 + (y4 * ((b * t_1) + (c * t_11))) elif x <= 4e+197: tmp = y2 * ((k * t_4) + (x * t_5)) elif x <= 1.05e+271: tmp = c * (x * ((y0 * y2) - (y * i))) else: tmp = y0 * (((c * t_6) - t_9) - (b * ((x * j) - (z * k)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * j) - Float64(y * k)) t_2 = Float64(Float64(z * k) - Float64(x * j)) t_3 = Float64(Float64(x * y) - Float64(z * t)) t_4 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_5 = Float64(Float64(c * y0) - Float64(a * y1)) t_6 = Float64(Float64(x * y2) - Float64(z * y3)) t_7 = Float64(Float64(k * y2) - Float64(j * y3)) t_8 = Float64(t_7 * t_4) t_9 = Float64(y5 * t_7) t_10 = Float64(t_8 + Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * t_1)) + Float64(y0 * t_2)))) t_11 = Float64(Float64(y * y3) - Float64(t * y2)) tmp = 0.0 if (x <= -6.5e+211) tmp = Float64(t_8 + Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_5)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))))); elseif (x <= -2.9e+27) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / y5)))))); elseif (x <= -65000000000000.0) 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 (x <= -4.25e-42) tmp = t_10; elseif (x <= -6.05e-92) tmp = Float64(Float64(t * b) * Float64(Float64(j * y4) - Float64(z * a))); elseif (x <= -5e-240) tmp = t_10; elseif (x <= -3.1e-302) tmp = Float64(y0 * Float64(Float64(b * t_2) - t_9)); elseif (x <= 3.1e-90) tmp = Float64(t_8 + Float64(c * Float64(Float64(Float64(y0 * t_6) - Float64(i * t_3)) + Float64(y4 * t_11)))); elseif (x <= 1.15e-32) tmp = Float64(t_8 - Float64(y1 * Float64(Float64(a * t_6) + Float64(i * t_2)))); elseif (x <= 1.8e+51) tmp = t_10; elseif (x <= 2.9e+77) tmp = Float64(a * Float64(y * Float64(y5 * Float64(-y3)))); elseif (x <= 1.6e+121) tmp = Float64(t_8 + Float64(y4 * Float64(Float64(b * t_1) + Float64(c * t_11)))); elseif (x <= 4e+197) tmp = Float64(y2 * Float64(Float64(k * t_4) + Float64(x * t_5))); elseif (x <= 1.05e+271) tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); else tmp = Float64(y0 * Float64(Float64(Float64(c * t_6) - t_9) - Float64(b * Float64(Float64(x * j) - Float64(z * k))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (t * j) - (y * k); t_2 = (z * k) - (x * j); t_3 = (x * y) - (z * t); t_4 = (y1 * y4) - (y0 * y5); t_5 = (c * y0) - (a * y1); t_6 = (x * y2) - (z * y3); t_7 = (k * y2) - (j * y3); t_8 = t_7 * t_4; t_9 = y5 * t_7; t_10 = t_8 + (b * (((a * t_3) + (y4 * t_1)) + (y0 * t_2))); t_11 = (y * y3) - (t * y2); tmp = 0.0; if (x <= -6.5e+211) tmp = t_8 + (x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + (j * ((i * y1) - (b * y0))))); elseif (x <= -2.9e+27) tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))); elseif (x <= -65000000000000.0) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (x <= -4.25e-42) tmp = t_10; elseif (x <= -6.05e-92) tmp = (t * b) * ((j * y4) - (z * a)); elseif (x <= -5e-240) tmp = t_10; elseif (x <= -3.1e-302) tmp = y0 * ((b * t_2) - t_9); elseif (x <= 3.1e-90) tmp = t_8 + (c * (((y0 * t_6) - (i * t_3)) + (y4 * t_11))); elseif (x <= 1.15e-32) tmp = t_8 - (y1 * ((a * t_6) + (i * t_2))); elseif (x <= 1.8e+51) tmp = t_10; elseif (x <= 2.9e+77) tmp = a * (y * (y5 * -y3)); elseif (x <= 1.6e+121) tmp = t_8 + (y4 * ((b * t_1) + (c * t_11))); elseif (x <= 4e+197) tmp = y2 * ((k * t_4) + (x * t_5)); elseif (x <= 1.05e+271) tmp = c * (x * ((y0 * y2) - (y * i))); else tmp = y0 * (((c * t_6) - t_9) - (b * ((x * j) - (z * k)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * t$95$4), $MachinePrecision]}, Block[{t$95$9 = N[(y5 * t$95$7), $MachinePrecision]}, Block[{t$95$10 = N[(t$95$8 + N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$11 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -6.5e+211], N[(t$95$8 + N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.9e+27], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -65000000000000.0], 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[x, -4.25e-42], t$95$10, If[LessEqual[x, -6.05e-92], N[(N[(t * b), $MachinePrecision] * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5e-240], t$95$10, If[LessEqual[x, -3.1e-302], N[(y0 * N[(N[(b * t$95$2), $MachinePrecision] - t$95$9), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.1e-90], N[(t$95$8 + N[(c * N[(N[(N[(y0 * t$95$6), $MachinePrecision] - N[(i * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$11), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.15e-32], N[(t$95$8 - N[(y1 * N[(N[(a * t$95$6), $MachinePrecision] + N[(i * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.8e+51], t$95$10, If[LessEqual[x, 2.9e+77], N[(a * N[(y * N[(y5 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.6e+121], N[(t$95$8 + N[(y4 * N[(N[(b * t$95$1), $MachinePrecision] + N[(c * t$95$11), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4e+197], N[(y2 * N[(N[(k * t$95$4), $MachinePrecision] + N[(x * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.05e+271], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(N[(c * t$95$6), $MachinePrecision] - t$95$9), $MachinePrecision] - N[(b * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot j - y \cdot k\\
t_2 := z \cdot k - x \cdot j\\
t_3 := x \cdot y - z \cdot t\\
t_4 := y1 \cdot y4 - y0 \cdot y5\\
t_5 := c \cdot y0 - a \cdot y1\\
t_6 := x \cdot y2 - z \cdot y3\\
t_7 := k \cdot y2 - j \cdot y3\\
t_8 := t\_7 \cdot t\_4\\
t_9 := y5 \cdot t\_7\\
t_10 := t\_8 + b \cdot \left(\left(a \cdot t\_3 + y4 \cdot t\_1\right) + y0 \cdot t\_2\right)\\
t_11 := y \cdot y3 - t \cdot y2\\
\mathbf{if}\;x \leq -6.5 \cdot 10^{+211}:\\
\;\;\;\;t\_8 + x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_5\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -2.9 \cdot 10^{+27}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
\mathbf{elif}\;x \leq -65000000000000:\\
\;\;\;\;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}\;x \leq -4.25 \cdot 10^{-42}:\\
\;\;\;\;t\_10\\
\mathbf{elif}\;x \leq -6.05 \cdot 10^{-92}:\\
\;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\
\mathbf{elif}\;x \leq -5 \cdot 10^{-240}:\\
\;\;\;\;t\_10\\
\mathbf{elif}\;x \leq -3.1 \cdot 10^{-302}:\\
\;\;\;\;y0 \cdot \left(b \cdot t\_2 - t\_9\right)\\
\mathbf{elif}\;x \leq 3.1 \cdot 10^{-90}:\\
\;\;\;\;t\_8 + c \cdot \left(\left(y0 \cdot t\_6 - i \cdot t\_3\right) + y4 \cdot t\_11\right)\\
\mathbf{elif}\;x \leq 1.15 \cdot 10^{-32}:\\
\;\;\;\;t\_8 - y1 \cdot \left(a \cdot t\_6 + i \cdot t\_2\right)\\
\mathbf{elif}\;x \leq 1.8 \cdot 10^{+51}:\\
\;\;\;\;t\_10\\
\mathbf{elif}\;x \leq 2.9 \cdot 10^{+77}:\\
\;\;\;\;a \cdot \left(y \cdot \left(y5 \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.6 \cdot 10^{+121}:\\
\;\;\;\;t\_8 + y4 \cdot \left(b \cdot t\_1 + c \cdot t\_11\right)\\
\mathbf{elif}\;x \leq 4 \cdot 10^{+197}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_4 + x \cdot t\_5\right)\\
\mathbf{elif}\;x \leq 1.05 \cdot 10^{+271}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t\_6 - t\_9\right) - b \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\end{array}
\end{array}
if x < -6.4999999999999996e211Initial program 16.1%
Taylor expanded in x around inf 67.6%
if -6.4999999999999996e211 < x < -2.9000000000000001e27Initial program 18.6%
Taylor expanded in x around inf 53.2%
Taylor expanded in y0 around inf 63.8%
Taylor expanded in y5 around -inf 76.4%
associate-*r*76.4%
neg-mul-176.4%
+-commutative76.4%
mul-1-neg76.4%
unsub-neg76.4%
associate-/l*76.4%
*-commutative76.4%
*-commutative76.4%
Simplified76.4%
if -2.9000000000000001e27 < x < -6.5e13Initial program 14.3%
Taylor expanded in y3 around -inf 85.8%
if -6.5e13 < x < -4.2499999999999998e-42 or -6.05000000000000007e-92 < x < -5.0000000000000004e-240 or 1.15e-32 < x < 1.80000000000000005e51Initial program 45.3%
Taylor expanded in b around inf 58.8%
if -4.2499999999999998e-42 < x < -6.05000000000000007e-92Initial program 27.3%
Taylor expanded in b around inf 18.7%
Taylor expanded in t around inf 72.9%
associate-*r*72.9%
+-commutative72.9%
mul-1-neg72.9%
unsub-neg72.9%
Simplified72.9%
if -5.0000000000000004e-240 < x < -3.09999999999999983e-302Initial program 15.7%
Taylor expanded in b around inf 51.6%
Taylor expanded in y0 around inf 74.9%
if -3.09999999999999983e-302 < x < 3.1000000000000001e-90Initial program 48.9%
Taylor expanded in c around inf 63.3%
+-commutative63.3%
mul-1-neg63.3%
unsub-neg63.3%
*-commutative63.3%
*-commutative63.3%
*-commutative63.3%
*-commutative63.3%
Simplified63.3%
if 3.1000000000000001e-90 < x < 1.15e-32Initial program 15.2%
Taylor expanded in y1 around -inf 73.1%
associate-*r*73.1%
neg-mul-173.1%
*-commutative73.1%
*-commutative73.1%
*-commutative73.1%
Simplified73.1%
if 1.80000000000000005e51 < x < 2.9000000000000002e77Initial program 0.6%
Taylor expanded in y around inf 14.9%
Taylor expanded in a around inf 58.3%
Taylor expanded in b around 0 72.5%
neg-mul-172.5%
distribute-rgt-neg-in72.5%
Simplified72.5%
if 2.9000000000000002e77 < x < 1.6e121Initial program 16.7%
Taylor expanded in y4 around inf 83.3%
*-commutative83.3%
*-commutative83.3%
Simplified83.3%
if 1.6e121 < x < 3.9999999999999998e197Initial program 29.8%
Taylor expanded in x around inf 52.9%
Taylor expanded in y2 around inf 65.1%
if 3.9999999999999998e197 < x < 1.05e271Initial program 6.3%
Taylor expanded in x around inf 41.2%
Taylor expanded in c around inf 82.8%
if 1.05e271 < x Initial program 21.4%
Taylor expanded in y0 around inf 85.7%
+-commutative85.7%
mul-1-neg85.7%
unsub-neg85.7%
*-commutative85.7%
*-commutative85.7%
*-commutative85.7%
*-commutative85.7%
Simplified85.7%
Final simplification70.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* z k) (* x j))))
(* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_1 INFINITY)
t_1
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_1 <= math.inf: tmp = t_1 else: tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(z * k) - Float64(x * j)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_1 <= Inf) tmp = t_1; else tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / 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 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_1 <= Inf) tmp = t_1; else tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / 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[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) + \left(b \cdot y0 - i \cdot y1\right) \cdot \left(z \cdot k - x \cdot j\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 86.9%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
Taylor expanded in x around inf 34.5%
Taylor expanded in y0 around inf 43.0%
Taylor expanded in y5 around -inf 48.5%
associate-*r*48.5%
neg-mul-148.5%
+-commutative48.5%
mul-1-neg48.5%
unsub-neg48.5%
associate-/l*49.6%
*-commutative49.6%
*-commutative49.6%
Simplified49.6%
Final simplification61.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5)))))))
(t_2 (- (* x y2) (* z y3)))
(t_3 (- (* x y) (* z t)))
(t_4 (- (* z k) (* x j)))
(t_5 (- (* b y4) (* i y5)))
(t_6 (- (* k y2) (* j y3)))
(t_7 (* t_6 (- (* y1 y4) (* y0 y5))))
(t_8 (- (* t y2) (* y y3)))
(t_9
(+
t_7
(+
(* t (+ (* z (- (* c i) (* a b))) (* j t_5)))
(* t_8 (- (* a y5) (* c y4)))))))
(if (<= y2 -2.5e+107)
t_1
(if (<= y2 -0.00016)
(*
j
(+
(+ (* t t_5) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0)))))
(if (<= y2 -2e-92)
(- t_7 (* y1 (+ (* a t_2) (* i t_4))))
(if (<= y2 -3.5e-203)
t_1
(if (<= y2 2.8e-283)
(+
t_7
(* a (+ (+ (* b t_3) (* y1 (- (* z y3) (* x y2)))) (* y5 t_8))))
(if (<= y2 1.7e-158)
t_1
(if (<= y2 3.2e-92)
(+
t_7
(*
b
(+ (+ (* a t_3) (* y4 (- (* t j) (* y k)))) (* y0 t_4))))
(if (<= y2 64000.0)
(*
y0
(- (- (* c t_2) (* y5 t_6)) (* b (- (* x j) (* z k)))))
(if (<= y2 9.2e+79)
t_9
(if (<= y2 5.5e+120)
t_1
(if (<= y2 2.45e+244)
t_9
(* y0 (* (* y2 y5) (- k))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_2 = (x * y2) - (z * y3);
double t_3 = (x * y) - (z * t);
double t_4 = (z * k) - (x * j);
double t_5 = (b * y4) - (i * y5);
double t_6 = (k * y2) - (j * y3);
double t_7 = t_6 * ((y1 * y4) - (y0 * y5));
double t_8 = (t * y2) - (y * y3);
double t_9 = t_7 + ((t * ((z * ((c * i) - (a * b))) + (j * t_5))) + (t_8 * ((a * y5) - (c * y4))));
double tmp;
if (y2 <= -2.5e+107) {
tmp = t_1;
} else if (y2 <= -0.00016) {
tmp = j * (((t * t_5) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (y2 <= -2e-92) {
tmp = t_7 - (y1 * ((a * t_2) + (i * t_4)));
} else if (y2 <= -3.5e-203) {
tmp = t_1;
} else if (y2 <= 2.8e-283) {
tmp = t_7 + (a * (((b * t_3) + (y1 * ((z * y3) - (x * y2)))) + (y5 * t_8)));
} else if (y2 <= 1.7e-158) {
tmp = t_1;
} else if (y2 <= 3.2e-92) {
tmp = t_7 + (b * (((a * t_3) + (y4 * ((t * j) - (y * k)))) + (y0 * t_4)));
} else if (y2 <= 64000.0) {
tmp = y0 * (((c * t_2) - (y5 * t_6)) - (b * ((x * j) - (z * k))));
} else if (y2 <= 9.2e+79) {
tmp = t_9;
} else if (y2 <= 5.5e+120) {
tmp = t_1;
} else if (y2 <= 2.45e+244) {
tmp = t_9;
} else {
tmp = y0 * ((y2 * y5) * -k);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: 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 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))))
t_2 = (x * y2) - (z * y3)
t_3 = (x * y) - (z * t)
t_4 = (z * k) - (x * j)
t_5 = (b * y4) - (i * y5)
t_6 = (k * y2) - (j * y3)
t_7 = t_6 * ((y1 * y4) - (y0 * y5))
t_8 = (t * y2) - (y * y3)
t_9 = t_7 + ((t * ((z * ((c * i) - (a * b))) + (j * t_5))) + (t_8 * ((a * y5) - (c * y4))))
if (y2 <= (-2.5d+107)) then
tmp = t_1
else if (y2 <= (-0.00016d0)) then
tmp = j * (((t * t_5) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))))
else if (y2 <= (-2d-92)) then
tmp = t_7 - (y1 * ((a * t_2) + (i * t_4)))
else if (y2 <= (-3.5d-203)) then
tmp = t_1
else if (y2 <= 2.8d-283) then
tmp = t_7 + (a * (((b * t_3) + (y1 * ((z * y3) - (x * y2)))) + (y5 * t_8)))
else if (y2 <= 1.7d-158) then
tmp = t_1
else if (y2 <= 3.2d-92) then
tmp = t_7 + (b * (((a * t_3) + (y4 * ((t * j) - (y * k)))) + (y0 * t_4)))
else if (y2 <= 64000.0d0) then
tmp = y0 * (((c * t_2) - (y5 * t_6)) - (b * ((x * j) - (z * k))))
else if (y2 <= 9.2d+79) then
tmp = t_9
else if (y2 <= 5.5d+120) then
tmp = t_1
else if (y2 <= 2.45d+244) then
tmp = t_9
else
tmp = y0 * ((y2 * y5) * -k)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_2 = (x * y2) - (z * y3);
double t_3 = (x * y) - (z * t);
double t_4 = (z * k) - (x * j);
double t_5 = (b * y4) - (i * y5);
double t_6 = (k * y2) - (j * y3);
double t_7 = t_6 * ((y1 * y4) - (y0 * y5));
double t_8 = (t * y2) - (y * y3);
double t_9 = t_7 + ((t * ((z * ((c * i) - (a * b))) + (j * t_5))) + (t_8 * ((a * y5) - (c * y4))));
double tmp;
if (y2 <= -2.5e+107) {
tmp = t_1;
} else if (y2 <= -0.00016) {
tmp = j * (((t * t_5) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (y2 <= -2e-92) {
tmp = t_7 - (y1 * ((a * t_2) + (i * t_4)));
} else if (y2 <= -3.5e-203) {
tmp = t_1;
} else if (y2 <= 2.8e-283) {
tmp = t_7 + (a * (((b * t_3) + (y1 * ((z * y3) - (x * y2)))) + (y5 * t_8)));
} else if (y2 <= 1.7e-158) {
tmp = t_1;
} else if (y2 <= 3.2e-92) {
tmp = t_7 + (b * (((a * t_3) + (y4 * ((t * j) - (y * k)))) + (y0 * t_4)));
} else if (y2 <= 64000.0) {
tmp = y0 * (((c * t_2) - (y5 * t_6)) - (b * ((x * j) - (z * k))));
} else if (y2 <= 9.2e+79) {
tmp = t_9;
} else if (y2 <= 5.5e+120) {
tmp = t_1;
} else if (y2 <= 2.45e+244) {
tmp = t_9;
} else {
tmp = y0 * ((y2 * y5) * -k);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) t_2 = (x * y2) - (z * y3) t_3 = (x * y) - (z * t) t_4 = (z * k) - (x * j) t_5 = (b * y4) - (i * y5) t_6 = (k * y2) - (j * y3) t_7 = t_6 * ((y1 * y4) - (y0 * y5)) t_8 = (t * y2) - (y * y3) t_9 = t_7 + ((t * ((z * ((c * i) - (a * b))) + (j * t_5))) + (t_8 * ((a * y5) - (c * y4)))) tmp = 0 if y2 <= -2.5e+107: tmp = t_1 elif y2 <= -0.00016: tmp = j * (((t * t_5) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) elif y2 <= -2e-92: tmp = t_7 - (y1 * ((a * t_2) + (i * t_4))) elif y2 <= -3.5e-203: tmp = t_1 elif y2 <= 2.8e-283: tmp = t_7 + (a * (((b * t_3) + (y1 * ((z * y3) - (x * y2)))) + (y5 * t_8))) elif y2 <= 1.7e-158: tmp = t_1 elif y2 <= 3.2e-92: tmp = t_7 + (b * (((a * t_3) + (y4 * ((t * j) - (y * k)))) + (y0 * t_4))) elif y2 <= 64000.0: tmp = y0 * (((c * t_2) - (y5 * t_6)) - (b * ((x * j) - (z * k)))) elif y2 <= 9.2e+79: tmp = t_9 elif y2 <= 5.5e+120: tmp = t_1 elif y2 <= 2.45e+244: tmp = t_9 else: tmp = y0 * ((y2 * y5) * -k) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / y5)))))) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(Float64(x * y) - Float64(z * t)) t_4 = Float64(Float64(z * k) - Float64(x * j)) t_5 = Float64(Float64(b * y4) - Float64(i * y5)) t_6 = Float64(Float64(k * y2) - Float64(j * y3)) t_7 = Float64(t_6 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) t_8 = Float64(Float64(t * y2) - Float64(y * y3)) t_9 = Float64(t_7 + Float64(Float64(t * Float64(Float64(z * Float64(Float64(c * i) - Float64(a * b))) + Float64(j * t_5))) + Float64(t_8 * Float64(Float64(a * y5) - Float64(c * y4))))) tmp = 0.0 if (y2 <= -2.5e+107) tmp = t_1; elseif (y2 <= -0.00016) tmp = Float64(j * Float64(Float64(Float64(t * t_5) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y2 <= -2e-92) tmp = Float64(t_7 - Float64(y1 * Float64(Float64(a * t_2) + Float64(i * t_4)))); elseif (y2 <= -3.5e-203) tmp = t_1; elseif (y2 <= 2.8e-283) tmp = Float64(t_7 + Float64(a * Float64(Float64(Float64(b * t_3) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))) + Float64(y5 * t_8)))); elseif (y2 <= 1.7e-158) tmp = t_1; elseif (y2 <= 3.2e-92) tmp = Float64(t_7 + Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * t_4)))); elseif (y2 <= 64000.0) tmp = Float64(y0 * Float64(Float64(Float64(c * t_2) - Float64(y5 * t_6)) - Float64(b * Float64(Float64(x * j) - Float64(z * k))))); elseif (y2 <= 9.2e+79) tmp = t_9; elseif (y2 <= 5.5e+120) tmp = t_1; elseif (y2 <= 2.45e+244) tmp = t_9; else tmp = Float64(y0 * Float64(Float64(y2 * y5) * Float64(-k))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))); t_2 = (x * y2) - (z * y3); t_3 = (x * y) - (z * t); t_4 = (z * k) - (x * j); t_5 = (b * y4) - (i * y5); t_6 = (k * y2) - (j * y3); t_7 = t_6 * ((y1 * y4) - (y0 * y5)); t_8 = (t * y2) - (y * y3); t_9 = t_7 + ((t * ((z * ((c * i) - (a * b))) + (j * t_5))) + (t_8 * ((a * y5) - (c * y4)))); tmp = 0.0; if (y2 <= -2.5e+107) tmp = t_1; elseif (y2 <= -0.00016) tmp = j * (((t * t_5) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); elseif (y2 <= -2e-92) tmp = t_7 - (y1 * ((a * t_2) + (i * t_4))); elseif (y2 <= -3.5e-203) tmp = t_1; elseif (y2 <= 2.8e-283) tmp = t_7 + (a * (((b * t_3) + (y1 * ((z * y3) - (x * y2)))) + (y5 * t_8))); elseif (y2 <= 1.7e-158) tmp = t_1; elseif (y2 <= 3.2e-92) tmp = t_7 + (b * (((a * t_3) + (y4 * ((t * j) - (y * k)))) + (y0 * t_4))); elseif (y2 <= 64000.0) tmp = y0 * (((c * t_2) - (y5 * t_6)) - (b * ((x * j) - (z * k)))); elseif (y2 <= 9.2e+79) tmp = t_9; elseif (y2 <= 5.5e+120) tmp = t_1; elseif (y2 <= 2.45e+244) tmp = t_9; else tmp = y0 * ((y2 * y5) * -k); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $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[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(t$95$6 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(t$95$7 + N[(N[(t * N[(N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.5e+107], t$95$1, If[LessEqual[y2, -0.00016], N[(j * N[(N[(N[(t * t$95$5), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2e-92], N[(t$95$7 - N[(y1 * N[(N[(a * t$95$2), $MachinePrecision] + N[(i * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.5e-203], t$95$1, If[LessEqual[y2, 2.8e-283], N[(t$95$7 + N[(a * N[(N[(N[(b * t$95$3), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$8), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.7e-158], t$95$1, If[LessEqual[y2, 3.2e-92], N[(t$95$7 + N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 64000.0], N[(y0 * N[(N[(N[(c * t$95$2), $MachinePrecision] - N[(y5 * t$95$6), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9.2e+79], t$95$9, If[LessEqual[y2, 5.5e+120], t$95$1, If[LessEqual[y2, 2.45e+244], t$95$9, N[(y0 * N[(N[(y2 * y5), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := x \cdot y - z \cdot t\\
t_4 := z \cdot k - x \cdot j\\
t_5 := b \cdot y4 - i \cdot y5\\
t_6 := k \cdot y2 - j \cdot y3\\
t_7 := t\_6 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
t_8 := t \cdot y2 - y \cdot y3\\
t_9 := t\_7 + \left(t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right) + j \cdot t\_5\right) + t\_8 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{if}\;y2 \leq -2.5 \cdot 10^{+107}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -0.00016:\\
\;\;\;\;j \cdot \left(\left(t \cdot t\_5 + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq -2 \cdot 10^{-92}:\\
\;\;\;\;t\_7 - y1 \cdot \left(a \cdot t\_2 + i \cdot t\_4\right)\\
\mathbf{elif}\;y2 \leq -3.5 \cdot 10^{-203}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 2.8 \cdot 10^{-283}:\\
\;\;\;\;t\_7 + a \cdot \left(\left(b \cdot t\_3 + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right) + y5 \cdot t\_8\right)\\
\mathbf{elif}\;y2 \leq 1.7 \cdot 10^{-158}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 3.2 \cdot 10^{-92}:\\
\;\;\;\;t\_7 + b \cdot \left(\left(a \cdot t\_3 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot t\_4\right)\\
\mathbf{elif}\;y2 \leq 64000:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t\_2 - y5 \cdot t\_6\right) - b \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y2 \leq 9.2 \cdot 10^{+79}:\\
\;\;\;\;t\_9\\
\mathbf{elif}\;y2 \leq 5.5 \cdot 10^{+120}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 2.45 \cdot 10^{+244}:\\
\;\;\;\;t\_9\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(y2 \cdot y5\right) \cdot \left(-k\right)\right)\\
\end{array}
\end{array}
if y2 < -2.5000000000000001e107 or -1.99999999999999998e-92 < y2 < -3.5000000000000001e-203 or 2.7999999999999998e-283 < y2 < 1.7e-158 or 9.2000000000000002e79 < y2 < 5.50000000000000003e120Initial program 22.1%
Taylor expanded in x around inf 36.5%
Taylor expanded in y0 around inf 45.1%
Taylor expanded in y5 around -inf 54.8%
associate-*r*54.8%
neg-mul-154.8%
+-commutative54.8%
mul-1-neg54.8%
unsub-neg54.8%
associate-/l*57.6%
*-commutative57.6%
*-commutative57.6%
Simplified57.6%
if -2.5000000000000001e107 < y2 < -1.60000000000000013e-4Initial program 24.2%
Taylor expanded in j around inf 58.6%
+-commutative58.6%
mul-1-neg58.6%
unsub-neg58.6%
*-commutative58.6%
Simplified58.6%
if -1.60000000000000013e-4 < y2 < -1.99999999999999998e-92Initial program 35.3%
Taylor expanded in y1 around -inf 88.5%
associate-*r*88.5%
neg-mul-188.5%
*-commutative88.5%
*-commutative88.5%
*-commutative88.5%
Simplified88.5%
if -3.5000000000000001e-203 < y2 < 2.7999999999999998e-283Initial program 20.3%
Taylor expanded in a around inf 70.3%
+-commutative70.3%
mul-1-neg70.3%
unsub-neg70.3%
*-commutative70.3%
*-commutative70.3%
*-commutative70.3%
mul-1-neg70.3%
*-commutative70.3%
Simplified70.3%
if 1.7e-158 < y2 < 3.1999999999999997e-92Initial program 50.0%
Taylor expanded in b around inf 66.8%
if 3.1999999999999997e-92 < y2 < 64000Initial program 18.8%
Taylor expanded in y0 around inf 87.5%
+-commutative87.5%
mul-1-neg87.5%
unsub-neg87.5%
*-commutative87.5%
*-commutative87.5%
*-commutative87.5%
*-commutative87.5%
Simplified87.5%
if 64000 < y2 < 9.2000000000000002e79 or 5.50000000000000003e120 < y2 < 2.45e244Initial program 41.0%
Taylor expanded in t around inf 69.3%
if 2.45e244 < y2 Initial program 14.3%
Taylor expanded in x around inf 42.9%
Taylor expanded in y0 around inf 50.2%
Taylor expanded in k around inf 79.1%
mul-1-neg79.1%
Simplified79.1%
Final simplification66.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* k y2) (* j y3)))
(t_2 (* t_1 (- (* y1 y4) (* y0 y5))))
(t_3
(+
t_2
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))))
(t_4 (- (* y y3) (* t y2)))
(t_5
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5)))))))
(t_6 (* y4 (+ (+ (* y1 t_1) (* b (- (* t j) (* y k)))) (* c t_4))))
(t_7 (* b (* z (- (* k y0) (* t a)))))
(t_8 (- (* x y) (* z t)))
(t_9
(+
t_2
(* c (+ (- (* y0 (- (* x y2) (* z y3))) (* i t_8)) (* y4 t_4))))))
(if (<= y3 -6e+197)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* z (- (* a y1) (* c y0))) (* j (- (* y0 y5) (* y1 y4))))))
(if (<= y3 -7.2e-70)
t_5
(if (<= y3 8.6e-276)
t_3
(if (<= y3 3.8e-183)
t_5
(if (<= y3 1.1e-142)
t_7
(if (<= y3 5.5e-121)
t_3
(if (<= y3 7e-104)
t_6
(if (<= y3 1.7e-34)
(+
t_2
(*
a
(+
(+ (* b t_8) (* y1 (- (* z y3) (* x y2))))
(* y5 (- (* t y2) (* y y3))))))
(if (<= y3 1.36e+42)
t_9
(if (<= y3 3.2e+128)
(* y0 (- (* b (- (* z k) (* x j))) (* y5 t_1)))
(if (<= y3 1.75e+169)
t_9
(if (<= y3 3.2e+264) t_6 t_7))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = t_1 * ((y1 * y4) - (y0 * y5));
double t_3 = t_2 + (x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))));
double t_4 = (y * y3) - (t * y2);
double t_5 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_6 = y4 * (((y1 * t_1) + (b * ((t * j) - (y * k)))) + (c * t_4));
double t_7 = b * (z * ((k * y0) - (t * a)));
double t_8 = (x * y) - (z * t);
double t_9 = t_2 + (c * (((y0 * ((x * y2) - (z * y3))) - (i * t_8)) + (y4 * t_4)));
double tmp;
if (y3 <= -6e+197) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y3 <= -7.2e-70) {
tmp = t_5;
} else if (y3 <= 8.6e-276) {
tmp = t_3;
} else if (y3 <= 3.8e-183) {
tmp = t_5;
} else if (y3 <= 1.1e-142) {
tmp = t_7;
} else if (y3 <= 5.5e-121) {
tmp = t_3;
} else if (y3 <= 7e-104) {
tmp = t_6;
} else if (y3 <= 1.7e-34) {
tmp = t_2 + (a * (((b * t_8) + (y1 * ((z * y3) - (x * y2)))) + (y5 * ((t * y2) - (y * y3)))));
} else if (y3 <= 1.36e+42) {
tmp = t_9;
} else if (y3 <= 3.2e+128) {
tmp = y0 * ((b * ((z * k) - (x * j))) - (y5 * t_1));
} else if (y3 <= 1.75e+169) {
tmp = t_9;
} else if (y3 <= 3.2e+264) {
tmp = t_6;
} else {
tmp = t_7;
}
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 = (k * y2) - (j * y3)
t_2 = t_1 * ((y1 * y4) - (y0 * y5))
t_3 = t_2 + (x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))))
t_4 = (y * y3) - (t * y2)
t_5 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))))
t_6 = y4 * (((y1 * t_1) + (b * ((t * j) - (y * k)))) + (c * t_4))
t_7 = b * (z * ((k * y0) - (t * a)))
t_8 = (x * y) - (z * t)
t_9 = t_2 + (c * (((y0 * ((x * y2) - (z * y3))) - (i * t_8)) + (y4 * t_4)))
if (y3 <= (-6d+197)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (y3 <= (-7.2d-70)) then
tmp = t_5
else if (y3 <= 8.6d-276) then
tmp = t_3
else if (y3 <= 3.8d-183) then
tmp = t_5
else if (y3 <= 1.1d-142) then
tmp = t_7
else if (y3 <= 5.5d-121) then
tmp = t_3
else if (y3 <= 7d-104) then
tmp = t_6
else if (y3 <= 1.7d-34) then
tmp = t_2 + (a * (((b * t_8) + (y1 * ((z * y3) - (x * y2)))) + (y5 * ((t * y2) - (y * y3)))))
else if (y3 <= 1.36d+42) then
tmp = t_9
else if (y3 <= 3.2d+128) then
tmp = y0 * ((b * ((z * k) - (x * j))) - (y5 * t_1))
else if (y3 <= 1.75d+169) then
tmp = t_9
else if (y3 <= 3.2d+264) then
tmp = t_6
else
tmp = t_7
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = t_1 * ((y1 * y4) - (y0 * y5));
double t_3 = t_2 + (x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))));
double t_4 = (y * y3) - (t * y2);
double t_5 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_6 = y4 * (((y1 * t_1) + (b * ((t * j) - (y * k)))) + (c * t_4));
double t_7 = b * (z * ((k * y0) - (t * a)));
double t_8 = (x * y) - (z * t);
double t_9 = t_2 + (c * (((y0 * ((x * y2) - (z * y3))) - (i * t_8)) + (y4 * t_4)));
double tmp;
if (y3 <= -6e+197) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y3 <= -7.2e-70) {
tmp = t_5;
} else if (y3 <= 8.6e-276) {
tmp = t_3;
} else if (y3 <= 3.8e-183) {
tmp = t_5;
} else if (y3 <= 1.1e-142) {
tmp = t_7;
} else if (y3 <= 5.5e-121) {
tmp = t_3;
} else if (y3 <= 7e-104) {
tmp = t_6;
} else if (y3 <= 1.7e-34) {
tmp = t_2 + (a * (((b * t_8) + (y1 * ((z * y3) - (x * y2)))) + (y5 * ((t * y2) - (y * y3)))));
} else if (y3 <= 1.36e+42) {
tmp = t_9;
} else if (y3 <= 3.2e+128) {
tmp = y0 * ((b * ((z * k) - (x * j))) - (y5 * t_1));
} else if (y3 <= 1.75e+169) {
tmp = t_9;
} else if (y3 <= 3.2e+264) {
tmp = t_6;
} else {
tmp = t_7;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (k * y2) - (j * y3) t_2 = t_1 * ((y1 * y4) - (y0 * y5)) t_3 = t_2 + (x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))) t_4 = (y * y3) - (t * y2) t_5 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) t_6 = y4 * (((y1 * t_1) + (b * ((t * j) - (y * k)))) + (c * t_4)) t_7 = b * (z * ((k * y0) - (t * a))) t_8 = (x * y) - (z * t) t_9 = t_2 + (c * (((y0 * ((x * y2) - (z * y3))) - (i * t_8)) + (y4 * t_4))) tmp = 0 if y3 <= -6e+197: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif y3 <= -7.2e-70: tmp = t_5 elif y3 <= 8.6e-276: tmp = t_3 elif y3 <= 3.8e-183: tmp = t_5 elif y3 <= 1.1e-142: tmp = t_7 elif y3 <= 5.5e-121: tmp = t_3 elif y3 <= 7e-104: tmp = t_6 elif y3 <= 1.7e-34: tmp = t_2 + (a * (((b * t_8) + (y1 * ((z * y3) - (x * y2)))) + (y5 * ((t * y2) - (y * y3))))) elif y3 <= 1.36e+42: tmp = t_9 elif y3 <= 3.2e+128: tmp = y0 * ((b * ((z * k) - (x * j))) - (y5 * t_1)) elif y3 <= 1.75e+169: tmp = t_9 elif y3 <= 3.2e+264: tmp = t_6 else: tmp = t_7 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(k * y2) - Float64(j * y3)) t_2 = Float64(t_1 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) t_3 = Float64(t_2 + 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_4 = Float64(Float64(y * y3) - Float64(t * y2)) t_5 = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / y5)))))) t_6 = Float64(y4 * Float64(Float64(Float64(y1 * t_1) + Float64(b * Float64(Float64(t * j) - Float64(y * k)))) + Float64(c * t_4))) t_7 = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))) t_8 = Float64(Float64(x * y) - Float64(z * t)) t_9 = Float64(t_2 + Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) - Float64(i * t_8)) + Float64(y4 * t_4)))) tmp = 0.0 if (y3 <= -6e+197) 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 (y3 <= -7.2e-70) tmp = t_5; elseif (y3 <= 8.6e-276) tmp = t_3; elseif (y3 <= 3.8e-183) tmp = t_5; elseif (y3 <= 1.1e-142) tmp = t_7; elseif (y3 <= 5.5e-121) tmp = t_3; elseif (y3 <= 7e-104) tmp = t_6; elseif (y3 <= 1.7e-34) tmp = Float64(t_2 + Float64(a * Float64(Float64(Float64(b * t_8) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))))); elseif (y3 <= 1.36e+42) tmp = t_9; elseif (y3 <= 3.2e+128) tmp = Float64(y0 * Float64(Float64(b * Float64(Float64(z * k) - Float64(x * j))) - Float64(y5 * t_1))); elseif (y3 <= 1.75e+169) tmp = t_9; elseif (y3 <= 3.2e+264) tmp = t_6; else tmp = t_7; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (k * y2) - (j * y3); t_2 = t_1 * ((y1 * y4) - (y0 * y5)); t_3 = t_2 + (x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))); t_4 = (y * y3) - (t * y2); t_5 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))); t_6 = y4 * (((y1 * t_1) + (b * ((t * j) - (y * k)))) + (c * t_4)); t_7 = b * (z * ((k * y0) - (t * a))); t_8 = (x * y) - (z * t); t_9 = t_2 + (c * (((y0 * ((x * y2) - (z * y3))) - (i * t_8)) + (y4 * t_4))); tmp = 0.0; if (y3 <= -6e+197) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (y3 <= -7.2e-70) tmp = t_5; elseif (y3 <= 8.6e-276) tmp = t_3; elseif (y3 <= 3.8e-183) tmp = t_5; elseif (y3 <= 1.1e-142) tmp = t_7; elseif (y3 <= 5.5e-121) tmp = t_3; elseif (y3 <= 7e-104) tmp = t_6; elseif (y3 <= 1.7e-34) tmp = t_2 + (a * (((b * t_8) + (y1 * ((z * y3) - (x * y2)))) + (y5 * ((t * y2) - (y * y3))))); elseif (y3 <= 1.36e+42) tmp = t_9; elseif (y3 <= 3.2e+128) tmp = y0 * ((b * ((z * k) - (x * j))) - (y5 * t_1)); elseif (y3 <= 1.75e+169) tmp = t_9; elseif (y3 <= 3.2e+264) tmp = t_6; else tmp = t_7; 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[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 + 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]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y4 * N[(N[(N[(y1 * t$95$1), $MachinePrecision] + N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(t$95$2 + N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * t$95$8), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -6e+197], 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[y3, -7.2e-70], t$95$5, If[LessEqual[y3, 8.6e-276], t$95$3, If[LessEqual[y3, 3.8e-183], t$95$5, If[LessEqual[y3, 1.1e-142], t$95$7, If[LessEqual[y3, 5.5e-121], t$95$3, If[LessEqual[y3, 7e-104], t$95$6, If[LessEqual[y3, 1.7e-34], N[(t$95$2 + N[(a * N[(N[(N[(b * t$95$8), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.36e+42], t$95$9, If[LessEqual[y3, 3.2e+128], N[(y0 * N[(N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.75e+169], t$95$9, If[LessEqual[y3, 3.2e+264], t$95$6, t$95$7]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := t\_1 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
t_3 := t\_2 + 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_4 := y \cdot y3 - t \cdot y2\\
t_5 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
t_6 := y4 \cdot \left(\left(y1 \cdot t\_1 + b \cdot \left(t \cdot j - y \cdot k\right)\right) + c \cdot t\_4\right)\\
t_7 := b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
t_8 := x \cdot y - z \cdot t\\
t_9 := t\_2 + c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) - i \cdot t\_8\right) + y4 \cdot t\_4\right)\\
\mathbf{if}\;y3 \leq -6 \cdot 10^{+197}:\\
\;\;\;\;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}\;y3 \leq -7.2 \cdot 10^{-70}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y3 \leq 8.6 \cdot 10^{-276}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y3 \leq 3.8 \cdot 10^{-183}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y3 \leq 1.1 \cdot 10^{-142}:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;y3 \leq 5.5 \cdot 10^{-121}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y3 \leq 7 \cdot 10^{-104}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;y3 \leq 1.7 \cdot 10^{-34}:\\
\;\;\;\;t\_2 + a \cdot \left(\left(b \cdot t\_8 + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq 1.36 \cdot 10^{+42}:\\
\;\;\;\;t\_9\\
\mathbf{elif}\;y3 \leq 3.2 \cdot 10^{+128}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right) - y5 \cdot t\_1\right)\\
\mathbf{elif}\;y3 \leq 1.75 \cdot 10^{+169}:\\
\;\;\;\;t\_9\\
\mathbf{elif}\;y3 \leq 3.2 \cdot 10^{+264}:\\
\;\;\;\;t\_6\\
\mathbf{else}:\\
\;\;\;\;t\_7\\
\end{array}
\end{array}
if y3 < -6.0000000000000004e197Initial program 16.0%
Taylor expanded in y3 around -inf 72.0%
if -6.0000000000000004e197 < y3 < -7.2000000000000004e-70 or 8.59999999999999921e-276 < y3 < 3.7999999999999996e-183Initial program 25.1%
Taylor expanded in x around inf 33.4%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in y5 around -inf 58.4%
associate-*r*58.4%
neg-mul-158.4%
+-commutative58.4%
mul-1-neg58.4%
unsub-neg58.4%
associate-/l*61.0%
*-commutative61.0%
*-commutative61.0%
Simplified61.0%
if -7.2000000000000004e-70 < y3 < 8.59999999999999921e-276 or 1.10000000000000008e-142 < y3 < 5.50000000000000031e-121Initial program 40.2%
Taylor expanded in x around inf 61.7%
if 3.7999999999999996e-183 < y3 < 1.10000000000000008e-142 or 3.20000000000000005e264 < y3 Initial program 24.0%
Taylor expanded in b around inf 58.8%
Taylor expanded in z around -inf 76.9%
associate-*r*76.9%
mul-1-neg76.9%
Simplified76.9%
if 5.50000000000000031e-121 < y3 < 7.00000000000000057e-104 or 1.75000000000000009e169 < y3 < 3.20000000000000005e264Initial program 11.8%
Taylor expanded in y4 around inf 82.4%
if 7.00000000000000057e-104 < y3 < 1.7e-34Initial program 9.6%
Taylor expanded in a around inf 64.1%
+-commutative64.1%
mul-1-neg64.1%
unsub-neg64.1%
*-commutative64.1%
*-commutative64.1%
*-commutative64.1%
mul-1-neg64.1%
*-commutative64.1%
Simplified64.1%
if 1.7e-34 < y3 < 1.35999999999999999e42 or 3.19999999999999986e128 < y3 < 1.75000000000000009e169Initial program 36.0%
Taylor expanded in c around inf 75.8%
+-commutative75.8%
mul-1-neg75.8%
unsub-neg75.8%
*-commutative75.8%
*-commutative75.8%
*-commutative75.8%
*-commutative75.8%
Simplified75.8%
if 1.35999999999999999e42 < y3 < 3.19999999999999986e128Initial program 23.5%
Taylor expanded in b around inf 54.0%
Taylor expanded in y0 around inf 59.3%
Final simplification66.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y) (* z t)))
(t_2 (- (* t j) (* y k)))
(t_3 (- (* x y2) (* z y3)))
(t_4 (- (* y1 y4) (* y0 y5)))
(t_5 (- (* z k) (* x j)))
(t_6 (- (* k y2) (* j y3)))
(t_7 (* y5 t_6))
(t_8 (* t_6 t_4))
(t_9 (+ t_8 (* b (+ (+ (* a t_1) (* y4 t_2)) (* y0 t_5)))))
(t_10 (- (* y y3) (* t y2))))
(if (<= x -2.16e+248)
(* a (* y1 (- (* z y3) (* x y2))))
(if (<= x -7.8e+29)
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5))))))
(if (<= x -11000000000000.0)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* z (- (* a y1) (* c y0))) (* j (- (* y0 y5) (* y1 y4))))))
(if (<= x -2.46e-42)
t_9
(if (<= x -4.2e-93)
(* (* t b) (- (* j y4) (* z a)))
(if (<= x -3e-237)
t_9
(if (<= x -6.8e-303)
(* y0 (- (* b t_5) t_7))
(if (<= x 3.5e-90)
(+ t_8 (* c (+ (- (* y0 t_3) (* i t_1)) (* y4 t_10))))
(if (<= x 1.9e-32)
(- t_8 (* y1 (+ (* a t_3) (* i t_5))))
(if (<= x 1.8e+51)
t_9
(if (<= x 2.9e+77)
(* a (* y (* y5 (- y3))))
(if (<= x 1.02e+119)
(+ t_8 (* y4 (+ (* b t_2) (* c t_10))))
(if (<= x 1.6e+197)
(* y2 (+ (* k t_4) (* x (- (* c y0) (* a y1)))))
(if (<= x 1.5e+269)
(* c (* x (- (* y0 y2) (* y i))))
(*
y0
(-
(- (* c t_3) t_7)
(* b (- (* x j) (* z k)))))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double t_2 = (t * j) - (y * k);
double t_3 = (x * y2) - (z * y3);
double t_4 = (y1 * y4) - (y0 * y5);
double t_5 = (z * k) - (x * j);
double t_6 = (k * y2) - (j * y3);
double t_7 = y5 * t_6;
double t_8 = t_6 * t_4;
double t_9 = t_8 + (b * (((a * t_1) + (y4 * t_2)) + (y0 * t_5)));
double t_10 = (y * y3) - (t * y2);
double tmp;
if (x <= -2.16e+248) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (x <= -7.8e+29) {
tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
} else if (x <= -11000000000000.0) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (x <= -2.46e-42) {
tmp = t_9;
} else if (x <= -4.2e-93) {
tmp = (t * b) * ((j * y4) - (z * a));
} else if (x <= -3e-237) {
tmp = t_9;
} else if (x <= -6.8e-303) {
tmp = y0 * ((b * t_5) - t_7);
} else if (x <= 3.5e-90) {
tmp = t_8 + (c * (((y0 * t_3) - (i * t_1)) + (y4 * t_10)));
} else if (x <= 1.9e-32) {
tmp = t_8 - (y1 * ((a * t_3) + (i * t_5)));
} else if (x <= 1.8e+51) {
tmp = t_9;
} else if (x <= 2.9e+77) {
tmp = a * (y * (y5 * -y3));
} else if (x <= 1.02e+119) {
tmp = t_8 + (y4 * ((b * t_2) + (c * t_10)));
} else if (x <= 1.6e+197) {
tmp = y2 * ((k * t_4) + (x * ((c * y0) - (a * y1))));
} else if (x <= 1.5e+269) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else {
tmp = y0 * (((c * t_3) - t_7) - (b * ((x * j) - (z * k))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
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 = (x * y) - (z * t)
t_2 = (t * j) - (y * k)
t_3 = (x * y2) - (z * y3)
t_4 = (y1 * y4) - (y0 * y5)
t_5 = (z * k) - (x * j)
t_6 = (k * y2) - (j * y3)
t_7 = y5 * t_6
t_8 = t_6 * t_4
t_9 = t_8 + (b * (((a * t_1) + (y4 * t_2)) + (y0 * t_5)))
t_10 = (y * y3) - (t * y2)
if (x <= (-2.16d+248)) then
tmp = a * (y1 * ((z * y3) - (x * y2)))
else if (x <= (-7.8d+29)) then
tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))))
else if (x <= (-11000000000000.0d0)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (x <= (-2.46d-42)) then
tmp = t_9
else if (x <= (-4.2d-93)) then
tmp = (t * b) * ((j * y4) - (z * a))
else if (x <= (-3d-237)) then
tmp = t_9
else if (x <= (-6.8d-303)) then
tmp = y0 * ((b * t_5) - t_7)
else if (x <= 3.5d-90) then
tmp = t_8 + (c * (((y0 * t_3) - (i * t_1)) + (y4 * t_10)))
else if (x <= 1.9d-32) then
tmp = t_8 - (y1 * ((a * t_3) + (i * t_5)))
else if (x <= 1.8d+51) then
tmp = t_9
else if (x <= 2.9d+77) then
tmp = a * (y * (y5 * -y3))
else if (x <= 1.02d+119) then
tmp = t_8 + (y4 * ((b * t_2) + (c * t_10)))
else if (x <= 1.6d+197) then
tmp = y2 * ((k * t_4) + (x * ((c * y0) - (a * y1))))
else if (x <= 1.5d+269) then
tmp = c * (x * ((y0 * y2) - (y * i)))
else
tmp = y0 * (((c * t_3) - t_7) - (b * ((x * j) - (z * k))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double t_2 = (t * j) - (y * k);
double t_3 = (x * y2) - (z * y3);
double t_4 = (y1 * y4) - (y0 * y5);
double t_5 = (z * k) - (x * j);
double t_6 = (k * y2) - (j * y3);
double t_7 = y5 * t_6;
double t_8 = t_6 * t_4;
double t_9 = t_8 + (b * (((a * t_1) + (y4 * t_2)) + (y0 * t_5)));
double t_10 = (y * y3) - (t * y2);
double tmp;
if (x <= -2.16e+248) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (x <= -7.8e+29) {
tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
} else if (x <= -11000000000000.0) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (x <= -2.46e-42) {
tmp = t_9;
} else if (x <= -4.2e-93) {
tmp = (t * b) * ((j * y4) - (z * a));
} else if (x <= -3e-237) {
tmp = t_9;
} else if (x <= -6.8e-303) {
tmp = y0 * ((b * t_5) - t_7);
} else if (x <= 3.5e-90) {
tmp = t_8 + (c * (((y0 * t_3) - (i * t_1)) + (y4 * t_10)));
} else if (x <= 1.9e-32) {
tmp = t_8 - (y1 * ((a * t_3) + (i * t_5)));
} else if (x <= 1.8e+51) {
tmp = t_9;
} else if (x <= 2.9e+77) {
tmp = a * (y * (y5 * -y3));
} else if (x <= 1.02e+119) {
tmp = t_8 + (y4 * ((b * t_2) + (c * t_10)));
} else if (x <= 1.6e+197) {
tmp = y2 * ((k * t_4) + (x * ((c * y0) - (a * y1))));
} else if (x <= 1.5e+269) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else {
tmp = y0 * (((c * t_3) - t_7) - (b * ((x * j) - (z * k))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) t_2 = (t * j) - (y * k) t_3 = (x * y2) - (z * y3) t_4 = (y1 * y4) - (y0 * y5) t_5 = (z * k) - (x * j) t_6 = (k * y2) - (j * y3) t_7 = y5 * t_6 t_8 = t_6 * t_4 t_9 = t_8 + (b * (((a * t_1) + (y4 * t_2)) + (y0 * t_5))) t_10 = (y * y3) - (t * y2) tmp = 0 if x <= -2.16e+248: tmp = a * (y1 * ((z * y3) - (x * y2))) elif x <= -7.8e+29: tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) elif x <= -11000000000000.0: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif x <= -2.46e-42: tmp = t_9 elif x <= -4.2e-93: tmp = (t * b) * ((j * y4) - (z * a)) elif x <= -3e-237: tmp = t_9 elif x <= -6.8e-303: tmp = y0 * ((b * t_5) - t_7) elif x <= 3.5e-90: tmp = t_8 + (c * (((y0 * t_3) - (i * t_1)) + (y4 * t_10))) elif x <= 1.9e-32: tmp = t_8 - (y1 * ((a * t_3) + (i * t_5))) elif x <= 1.8e+51: tmp = t_9 elif x <= 2.9e+77: tmp = a * (y * (y5 * -y3)) elif x <= 1.02e+119: tmp = t_8 + (y4 * ((b * t_2) + (c * t_10))) elif x <= 1.6e+197: tmp = y2 * ((k * t_4) + (x * ((c * y0) - (a * y1)))) elif x <= 1.5e+269: tmp = c * (x * ((y0 * y2) - (y * i))) else: tmp = y0 * (((c * t_3) - t_7) - (b * ((x * j) - (z * k)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) - Float64(z * t)) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = Float64(Float64(x * y2) - Float64(z * y3)) t_4 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_5 = Float64(Float64(z * k) - Float64(x * j)) t_6 = Float64(Float64(k * y2) - Float64(j * y3)) t_7 = Float64(y5 * t_6) t_8 = Float64(t_6 * t_4) t_9 = Float64(t_8 + Float64(b * Float64(Float64(Float64(a * t_1) + Float64(y4 * t_2)) + Float64(y0 * t_5)))) t_10 = Float64(Float64(y * y3) - Float64(t * y2)) tmp = 0.0 if (x <= -2.16e+248) tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); elseif (x <= -7.8e+29) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / y5)))))); elseif (x <= -11000000000000.0) 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 (x <= -2.46e-42) tmp = t_9; elseif (x <= -4.2e-93) tmp = Float64(Float64(t * b) * Float64(Float64(j * y4) - Float64(z * a))); elseif (x <= -3e-237) tmp = t_9; elseif (x <= -6.8e-303) tmp = Float64(y0 * Float64(Float64(b * t_5) - t_7)); elseif (x <= 3.5e-90) tmp = Float64(t_8 + Float64(c * Float64(Float64(Float64(y0 * t_3) - Float64(i * t_1)) + Float64(y4 * t_10)))); elseif (x <= 1.9e-32) tmp = Float64(t_8 - Float64(y1 * Float64(Float64(a * t_3) + Float64(i * t_5)))); elseif (x <= 1.8e+51) tmp = t_9; elseif (x <= 2.9e+77) tmp = Float64(a * Float64(y * Float64(y5 * Float64(-y3)))); elseif (x <= 1.02e+119) tmp = Float64(t_8 + Float64(y4 * Float64(Float64(b * t_2) + Float64(c * t_10)))); elseif (x <= 1.6e+197) tmp = Float64(y2 * Float64(Float64(k * t_4) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1))))); elseif (x <= 1.5e+269) tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); else tmp = Float64(y0 * Float64(Float64(Float64(c * t_3) - t_7) - Float64(b * Float64(Float64(x * j) - Float64(z * k))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * y) - (z * t); t_2 = (t * j) - (y * k); t_3 = (x * y2) - (z * y3); t_4 = (y1 * y4) - (y0 * y5); t_5 = (z * k) - (x * j); t_6 = (k * y2) - (j * y3); t_7 = y5 * t_6; t_8 = t_6 * t_4; t_9 = t_8 + (b * (((a * t_1) + (y4 * t_2)) + (y0 * t_5))); t_10 = (y * y3) - (t * y2); tmp = 0.0; if (x <= -2.16e+248) tmp = a * (y1 * ((z * y3) - (x * y2))); elseif (x <= -7.8e+29) tmp = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))); elseif (x <= -11000000000000.0) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (x <= -2.46e-42) tmp = t_9; elseif (x <= -4.2e-93) tmp = (t * b) * ((j * y4) - (z * a)); elseif (x <= -3e-237) tmp = t_9; elseif (x <= -6.8e-303) tmp = y0 * ((b * t_5) - t_7); elseif (x <= 3.5e-90) tmp = t_8 + (c * (((y0 * t_3) - (i * t_1)) + (y4 * t_10))); elseif (x <= 1.9e-32) tmp = t_8 - (y1 * ((a * t_3) + (i * t_5))); elseif (x <= 1.8e+51) tmp = t_9; elseif (x <= 2.9e+77) tmp = a * (y * (y5 * -y3)); elseif (x <= 1.02e+119) tmp = t_8 + (y4 * ((b * t_2) + (c * t_10))); elseif (x <= 1.6e+197) tmp = y2 * ((k * t_4) + (x * ((c * y0) - (a * y1)))); elseif (x <= 1.5e+269) tmp = c * (x * ((y0 * y2) - (y * i))); else tmp = y0 * (((c * t_3) - t_7) - (b * ((x * j) - (z * k)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(y5 * t$95$6), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$6 * t$95$4), $MachinePrecision]}, Block[{t$95$9 = N[(t$95$8 + N[(b * N[(N[(N[(a * t$95$1), $MachinePrecision] + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.16e+248], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -7.8e+29], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -11000000000000.0], 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[x, -2.46e-42], t$95$9, If[LessEqual[x, -4.2e-93], N[(N[(t * b), $MachinePrecision] * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3e-237], t$95$9, If[LessEqual[x, -6.8e-303], N[(y0 * N[(N[(b * t$95$5), $MachinePrecision] - t$95$7), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.5e-90], N[(t$95$8 + N[(c * N[(N[(N[(y0 * t$95$3), $MachinePrecision] - N[(i * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.9e-32], N[(t$95$8 - N[(y1 * N[(N[(a * t$95$3), $MachinePrecision] + N[(i * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.8e+51], t$95$9, If[LessEqual[x, 2.9e+77], N[(a * N[(y * N[(y5 * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.02e+119], N[(t$95$8 + N[(y4 * N[(N[(b * t$95$2), $MachinePrecision] + N[(c * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.6e+197], N[(y2 * N[(N[(k * t$95$4), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.5e+269], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(N[(c * t$95$3), $MachinePrecision] - t$95$7), $MachinePrecision] - N[(b * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
t_2 := t \cdot j - y \cdot k\\
t_3 := x \cdot y2 - z \cdot y3\\
t_4 := y1 \cdot y4 - y0 \cdot y5\\
t_5 := z \cdot k - x \cdot j\\
t_6 := k \cdot y2 - j \cdot y3\\
t_7 := y5 \cdot t\_6\\
t_8 := t\_6 \cdot t\_4\\
t_9 := t\_8 + b \cdot \left(\left(a \cdot t\_1 + y4 \cdot t\_2\right) + y0 \cdot t\_5\right)\\
t_10 := y \cdot y3 - t \cdot y2\\
\mathbf{if}\;x \leq -2.16 \cdot 10^{+248}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq -7.8 \cdot 10^{+29}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
\mathbf{elif}\;x \leq -11000000000000:\\
\;\;\;\;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}\;x \leq -2.46 \cdot 10^{-42}:\\
\;\;\;\;t\_9\\
\mathbf{elif}\;x \leq -4.2 \cdot 10^{-93}:\\
\;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\
\mathbf{elif}\;x \leq -3 \cdot 10^{-237}:\\
\;\;\;\;t\_9\\
\mathbf{elif}\;x \leq -6.8 \cdot 10^{-303}:\\
\;\;\;\;y0 \cdot \left(b \cdot t\_5 - t\_7\right)\\
\mathbf{elif}\;x \leq 3.5 \cdot 10^{-90}:\\
\;\;\;\;t\_8 + c \cdot \left(\left(y0 \cdot t\_3 - i \cdot t\_1\right) + y4 \cdot t\_10\right)\\
\mathbf{elif}\;x \leq 1.9 \cdot 10^{-32}:\\
\;\;\;\;t\_8 - y1 \cdot \left(a \cdot t\_3 + i \cdot t\_5\right)\\
\mathbf{elif}\;x \leq 1.8 \cdot 10^{+51}:\\
\;\;\;\;t\_9\\
\mathbf{elif}\;x \leq 2.9 \cdot 10^{+77}:\\
\;\;\;\;a \cdot \left(y \cdot \left(y5 \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.02 \cdot 10^{+119}:\\
\;\;\;\;t\_8 + y4 \cdot \left(b \cdot t\_2 + c \cdot t\_10\right)\\
\mathbf{elif}\;x \leq 1.6 \cdot 10^{+197}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_4 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq 1.5 \cdot 10^{+269}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t\_3 - t\_7\right) - b \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\end{array}
\end{array}
if x < -2.16e248Initial program 12.0%
Taylor expanded in y1 around -inf 41.7%
associate-*r*41.7%
neg-mul-141.7%
+-commutative41.7%
mul-1-neg41.7%
unsub-neg41.7%
*-commutative41.7%
*-commutative41.7%
*-commutative41.7%
*-commutative41.7%
Simplified41.7%
Taylor expanded in a around inf 64.9%
mul-1-neg64.9%
Simplified64.9%
if -2.16e248 < x < -7.79999999999999937e29Initial program 19.7%
Taylor expanded in x around inf 59.2%
Taylor expanded in y0 around inf 63.6%
Taylor expanded in y5 around -inf 74.0%
associate-*r*74.0%
neg-mul-174.0%
+-commutative74.0%
mul-1-neg74.0%
unsub-neg74.0%
associate-/l*74.0%
*-commutative74.0%
*-commutative74.0%
Simplified74.0%
if -7.79999999999999937e29 < x < -1.1e13Initial program 14.3%
Taylor expanded in y3 around -inf 85.8%
if -1.1e13 < x < -2.45999999999999989e-42 or -4.2000000000000002e-93 < x < -3.00000000000000024e-237 or 1.90000000000000004e-32 < x < 1.80000000000000005e51Initial program 45.3%
Taylor expanded in b around inf 58.8%
if -2.45999999999999989e-42 < x < -4.2000000000000002e-93Initial program 27.3%
Taylor expanded in b around inf 18.7%
Taylor expanded in t around inf 72.9%
associate-*r*72.9%
+-commutative72.9%
mul-1-neg72.9%
unsub-neg72.9%
Simplified72.9%
if -3.00000000000000024e-237 < x < -6.8e-303Initial program 21.7%
Taylor expanded in b around inf 47.9%
Taylor expanded in y0 around inf 76.7%
if -6.8e-303 < x < 3.4999999999999999e-90Initial program 47.4%
Taylor expanded in c around inf 62.2%
+-commutative62.2%
mul-1-neg62.2%
unsub-neg62.2%
*-commutative62.2%
*-commutative62.2%
*-commutative62.2%
*-commutative62.2%
Simplified62.2%
if 3.4999999999999999e-90 < x < 1.90000000000000004e-32Initial program 15.2%
Taylor expanded in y1 around -inf 73.1%
associate-*r*73.1%
neg-mul-173.1%
*-commutative73.1%
*-commutative73.1%
*-commutative73.1%
Simplified73.1%
if 1.80000000000000005e51 < x < 2.9000000000000002e77Initial program 0.6%
Taylor expanded in y around inf 14.9%
Taylor expanded in a around inf 58.3%
Taylor expanded in b around 0 72.5%
neg-mul-172.5%
distribute-rgt-neg-in72.5%
Simplified72.5%
if 2.9000000000000002e77 < x < 1.02e119Initial program 16.7%
Taylor expanded in y4 around inf 83.3%
*-commutative83.3%
*-commutative83.3%
Simplified83.3%
if 1.02e119 < x < 1.5999999999999999e197Initial program 29.8%
Taylor expanded in x around inf 52.9%
Taylor expanded in y2 around inf 65.1%
if 1.5999999999999999e197 < x < 1.5000000000000001e269Initial program 6.3%
Taylor expanded in x around inf 41.2%
Taylor expanded in c around inf 82.8%
if 1.5000000000000001e269 < x Initial program 21.4%
Taylor expanded in y0 around inf 85.7%
+-commutative85.7%
mul-1-neg85.7%
unsub-neg85.7%
*-commutative85.7%
*-commutative85.7%
*-commutative85.7%
*-commutative85.7%
Simplified85.7%
Final simplification69.9%
(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))
(t_3
(+
t_2
(*
y
(+
(+ (* k (- (* i y5) (* b y4))) (* x (- (* a b) (* c i))))
(* y3 (- (* c y4) (* a y5)))))))
(t_4 (+ (* k t_1) (* x (- (* c y0) (* a y1)))))
(t_5 (- (* x y) (* z t)))
(t_6 (* b (* z (- (* k y0) (* t a)))))
(t_7 (- (* a y5) (* c y4))))
(if (<= z -1.65e+47)
t_6
(if (<= z -2.8e-18)
t_3
(if (<= z -9.5e-61)
(* y2 t_4)
(if (<= z -3e-110)
(* t (+ (* y4 (* b j)) (* y2 t_7)))
(if (<= z -2.45e-222)
(+
t_2
(*
b
(+
(+ (* a t_5) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j))))))
(if (<= z 7e-126)
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0)))))
(if (<= z 5.4e+50)
(* y2 (+ t_4 (* t t_7)))
(if (<= z 4.3e+95)
t_3
(if (<= z 1.9e+127)
(* b (* x (- (* y a) (* j y0))))
(if (<= z 1.85e+223)
t_6
(+
t_2
(*
c
(+
(- (* y0 (- (* x y2) (* z y3))) (* i t_5))
(* y4 (- (* y y3) (* t y2))))))))))))))))))
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;
double t_3 = t_2 + (y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5)))));
double t_4 = (k * t_1) + (x * ((c * y0) - (a * y1)));
double t_5 = (x * y) - (z * t);
double t_6 = b * (z * ((k * y0) - (t * a)));
double t_7 = (a * y5) - (c * y4);
double tmp;
if (z <= -1.65e+47) {
tmp = t_6;
} else if (z <= -2.8e-18) {
tmp = t_3;
} else if (z <= -9.5e-61) {
tmp = y2 * t_4;
} else if (z <= -3e-110) {
tmp = t * ((y4 * (b * j)) + (y2 * t_7));
} else if (z <= -2.45e-222) {
tmp = t_2 + (b * (((a * t_5) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))));
} else if (z <= 7e-126) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (z <= 5.4e+50) {
tmp = y2 * (t_4 + (t * t_7));
} else if (z <= 4.3e+95) {
tmp = t_3;
} else if (z <= 1.9e+127) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= 1.85e+223) {
tmp = t_6;
} else {
tmp = t_2 + (c * (((y0 * ((x * y2) - (z * y3))) - (i * t_5)) + (y4 * ((y * y3) - (t * y2)))));
}
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) :: tmp
t_1 = (y1 * y4) - (y0 * y5)
t_2 = ((k * y2) - (j * y3)) * t_1
t_3 = t_2 + (y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5)))))
t_4 = (k * t_1) + (x * ((c * y0) - (a * y1)))
t_5 = (x * y) - (z * t)
t_6 = b * (z * ((k * y0) - (t * a)))
t_7 = (a * y5) - (c * y4)
if (z <= (-1.65d+47)) then
tmp = t_6
else if (z <= (-2.8d-18)) then
tmp = t_3
else if (z <= (-9.5d-61)) then
tmp = y2 * t_4
else if (z <= (-3d-110)) then
tmp = t * ((y4 * (b * j)) + (y2 * t_7))
else if (z <= (-2.45d-222)) then
tmp = t_2 + (b * (((a * t_5) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))))
else if (z <= 7d-126) then
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))))
else if (z <= 5.4d+50) then
tmp = y2 * (t_4 + (t * t_7))
else if (z <= 4.3d+95) then
tmp = t_3
else if (z <= 1.9d+127) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= 1.85d+223) then
tmp = t_6
else
tmp = t_2 + (c * (((y0 * ((x * y2) - (z * y3))) - (i * t_5)) + (y4 * ((y * y3) - (t * y2)))))
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;
double t_3 = t_2 + (y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5)))));
double t_4 = (k * t_1) + (x * ((c * y0) - (a * y1)));
double t_5 = (x * y) - (z * t);
double t_6 = b * (z * ((k * y0) - (t * a)));
double t_7 = (a * y5) - (c * y4);
double tmp;
if (z <= -1.65e+47) {
tmp = t_6;
} else if (z <= -2.8e-18) {
tmp = t_3;
} else if (z <= -9.5e-61) {
tmp = y2 * t_4;
} else if (z <= -3e-110) {
tmp = t * ((y4 * (b * j)) + (y2 * t_7));
} else if (z <= -2.45e-222) {
tmp = t_2 + (b * (((a * t_5) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))));
} else if (z <= 7e-126) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (z <= 5.4e+50) {
tmp = y2 * (t_4 + (t * t_7));
} else if (z <= 4.3e+95) {
tmp = t_3;
} else if (z <= 1.9e+127) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= 1.85e+223) {
tmp = t_6;
} else {
tmp = t_2 + (c * (((y0 * ((x * y2) - (z * y3))) - (i * t_5)) + (y4 * ((y * y3) - (t * y2)))));
}
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 t_3 = t_2 + (y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5))))) t_4 = (k * t_1) + (x * ((c * y0) - (a * y1))) t_5 = (x * y) - (z * t) t_6 = b * (z * ((k * y0) - (t * a))) t_7 = (a * y5) - (c * y4) tmp = 0 if z <= -1.65e+47: tmp = t_6 elif z <= -2.8e-18: tmp = t_3 elif z <= -9.5e-61: tmp = y2 * t_4 elif z <= -3e-110: tmp = t * ((y4 * (b * j)) + (y2 * t_7)) elif z <= -2.45e-222: tmp = t_2 + (b * (((a * t_5) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))) elif z <= 7e-126: tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) elif z <= 5.4e+50: tmp = y2 * (t_4 + (t * t_7)) elif z <= 4.3e+95: tmp = t_3 elif z <= 1.9e+127: tmp = b * (x * ((y * a) - (j * y0))) elif z <= 1.85e+223: tmp = t_6 else: tmp = t_2 + (c * (((y0 * ((x * y2) - (z * y3))) - (i * t_5)) + (y4 * ((y * y3) - (t * y2))))) 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(k * y2) - Float64(j * y3)) * t_1) t_3 = Float64(t_2 + Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * Float64(Float64(a * b) - Float64(c * i)))) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))))) t_4 = Float64(Float64(k * t_1) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) t_5 = Float64(Float64(x * y) - Float64(z * t)) t_6 = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))) t_7 = Float64(Float64(a * y5) - Float64(c * y4)) tmp = 0.0 if (z <= -1.65e+47) tmp = t_6; elseif (z <= -2.8e-18) tmp = t_3; elseif (z <= -9.5e-61) tmp = Float64(y2 * t_4); elseif (z <= -3e-110) tmp = Float64(t * Float64(Float64(y4 * Float64(b * j)) + Float64(y2 * t_7))); elseif (z <= -2.45e-222) tmp = Float64(t_2 + Float64(b * Float64(Float64(Float64(a * t_5) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))))); elseif (z <= 7e-126) tmp = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (z <= 5.4e+50) tmp = Float64(y2 * Float64(t_4 + Float64(t * t_7))); elseif (z <= 4.3e+95) tmp = t_3; elseif (z <= 1.9e+127) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= 1.85e+223) tmp = t_6; else tmp = Float64(t_2 + Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) - Float64(i * t_5)) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))))); 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; t_3 = t_2 + (y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * ((c * y4) - (a * y5))))); t_4 = (k * t_1) + (x * ((c * y0) - (a * y1))); t_5 = (x * y) - (z * t); t_6 = b * (z * ((k * y0) - (t * a))); t_7 = (a * y5) - (c * y4); tmp = 0.0; if (z <= -1.65e+47) tmp = t_6; elseif (z <= -2.8e-18) tmp = t_3; elseif (z <= -9.5e-61) tmp = y2 * t_4; elseif (z <= -3e-110) tmp = t * ((y4 * (b * j)) + (y2 * t_7)); elseif (z <= -2.45e-222) tmp = t_2 + (b * (((a * t_5) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))); elseif (z <= 7e-126) tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); elseif (z <= 5.4e+50) tmp = y2 * (t_4 + (t * t_7)); elseif (z <= 4.3e+95) tmp = t_3; elseif (z <= 1.9e+127) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= 1.85e+223) tmp = t_6; else tmp = t_2 + (c * (((y0 * ((x * y2) - (z * y3))) - (i * t_5)) + (y4 * ((y * y3) - (t * y2))))); 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[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 + N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * t$95$1), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.65e+47], t$95$6, If[LessEqual[z, -2.8e-18], t$95$3, If[LessEqual[z, -9.5e-61], N[(y2 * t$95$4), $MachinePrecision], If[LessEqual[z, -3e-110], N[(t * N[(N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.45e-222], N[(t$95$2 + N[(b * N[(N[(N[(a * t$95$5), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7e-126], N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.4e+50], N[(y2 * N[(t$95$4 + N[(t * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.3e+95], t$95$3, If[LessEqual[z, 1.9e+127], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.85e+223], t$95$6, N[(t$95$2 + N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\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\\
t_3 := t\_2 + y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
t_4 := k \cdot t\_1 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\\
t_5 := x \cdot y - z \cdot t\\
t_6 := b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
t_7 := a \cdot y5 - c \cdot y4\\
\mathbf{if}\;z \leq -1.65 \cdot 10^{+47}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;z \leq -2.8 \cdot 10^{-18}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;z \leq -9.5 \cdot 10^{-61}:\\
\;\;\;\;y2 \cdot t\_4\\
\mathbf{elif}\;z \leq -3 \cdot 10^{-110}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right) + y2 \cdot t\_7\right)\\
\mathbf{elif}\;z \leq -2.45 \cdot 10^{-222}:\\
\;\;\;\;t\_2 + b \cdot \left(\left(a \cdot t\_5 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;z \leq 7 \cdot 10^{-126}:\\
\;\;\;\;j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 5.4 \cdot 10^{+50}:\\
\;\;\;\;y2 \cdot \left(t\_4 + t \cdot t\_7\right)\\
\mathbf{elif}\;z \leq 4.3 \cdot 10^{+95}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;z \leq 1.9 \cdot 10^{+127}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 1.85 \cdot 10^{+223}:\\
\;\;\;\;t\_6\\
\mathbf{else}:\\
\;\;\;\;t\_2 + c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) - i \cdot t\_5\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\end{array}
\end{array}
if z < -1.65e47 or 1.8999999999999999e127 < z < 1.8500000000000001e223Initial program 14.5%
Taylor expanded in b around inf 40.4%
Taylor expanded in z around -inf 66.9%
associate-*r*66.9%
mul-1-neg66.9%
Simplified66.9%
if -1.65e47 < z < -2.80000000000000012e-18 or 5.4e50 < z < 4.3e95Initial program 37.3%
Taylor expanded in y around inf 70.5%
if -2.80000000000000012e-18 < z < -9.49999999999999986e-61Initial program 10.7%
Taylor expanded in x around inf 40.0%
Taylor expanded in y2 around inf 70.5%
if -9.49999999999999986e-61 < z < -2.99999999999999986e-110Initial program 23.6%
Taylor expanded in y4 around inf 46.6%
*-commutative46.6%
Simplified46.6%
Taylor expanded in t around inf 62.9%
associate-*r*62.9%
Simplified62.9%
if -2.99999999999999986e-110 < z < -2.45e-222Initial program 27.2%
Taylor expanded in b around inf 73.0%
if -2.45e-222 < z < 7e-126Initial program 33.5%
Taylor expanded in j around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
Simplified54.6%
if 7e-126 < z < 5.4e50Initial program 31.1%
Taylor expanded in y2 around inf 58.4%
if 4.3e95 < z < 1.8999999999999999e127Initial program 28.6%
Taylor expanded in x around inf 42.9%
Taylor expanded in b around inf 71.8%
if 1.8500000000000001e223 < z Initial program 41.9%
Taylor expanded in c around inf 73.7%
+-commutative73.7%
mul-1-neg73.7%
unsub-neg73.7%
*-commutative73.7%
*-commutative73.7%
*-commutative73.7%
*-commutative73.7%
Simplified73.7%
Final simplification64.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) (* j y3)))
(t_2 (- (* y1 y4) (* y0 y5)))
(t_3 (* t_1 t_2))
(t_4
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5)))))))
(t_5 (- (* x y2) (* z y3)))
(t_6 (- (* a y5) (* c y4)))
(t_7 (- (* z k) (* x j)))
(t_8
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 t_7))))
(t_9 (+ t_3 t_8))
(t_10 (- (* c y0) (* a y1))))
(if (<= y2 -4.5e+106)
t_4
(if (<= y2 -0.00045)
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0)))))
(if (<= y2 -1.9e-92)
(- t_3 (* y1 (+ (* a t_5) (* i t_7))))
(if (<= y2 -2.45e-205)
t_4
(if (<= y2 2.7e-92)
t_9
(if (<= y2 1.95e+56)
(* y0 (- (- (* c t_5) (* y5 t_1)) (* b (- (* x j) (* z k)))))
(if (<= y2 3.15e+134)
t_9
(if (<= y2 3.4e+169)
(+ t_3 (- (* (- (* t y2) (* y y3)) t_6) (* (* z y3) t_10)))
(if (<= y2 6.8e+204)
(+ t_8 (* y1 (* y4 t_1)))
(if (or (<= y2 5e+261) (not (<= y2 2.8e+294)))
(* y2 (+ (+ (* k t_2) (* x t_10)) (* t t_6)))
(* y0 (* (* y2 y5) (- k)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = t_1 * t_2;
double t_4 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_5 = (x * y2) - (z * y3);
double t_6 = (a * y5) - (c * y4);
double t_7 = (z * k) - (x * j);
double t_8 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_7));
double t_9 = t_3 + t_8;
double t_10 = (c * y0) - (a * y1);
double tmp;
if (y2 <= -4.5e+106) {
tmp = t_4;
} else if (y2 <= -0.00045) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (y2 <= -1.9e-92) {
tmp = t_3 - (y1 * ((a * t_5) + (i * t_7)));
} else if (y2 <= -2.45e-205) {
tmp = t_4;
} else if (y2 <= 2.7e-92) {
tmp = t_9;
} else if (y2 <= 1.95e+56) {
tmp = y0 * (((c * t_5) - (y5 * t_1)) - (b * ((x * j) - (z * k))));
} else if (y2 <= 3.15e+134) {
tmp = t_9;
} else if (y2 <= 3.4e+169) {
tmp = t_3 + ((((t * y2) - (y * y3)) * t_6) - ((z * y3) * t_10));
} else if (y2 <= 6.8e+204) {
tmp = t_8 + (y1 * (y4 * t_1));
} else if ((y2 <= 5e+261) || !(y2 <= 2.8e+294)) {
tmp = y2 * (((k * t_2) + (x * t_10)) + (t * t_6));
} else {
tmp = y0 * ((y2 * y5) * -k);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
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 = (k * y2) - (j * y3)
t_2 = (y1 * y4) - (y0 * y5)
t_3 = t_1 * t_2
t_4 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))))
t_5 = (x * y2) - (z * y3)
t_6 = (a * y5) - (c * y4)
t_7 = (z * k) - (x * j)
t_8 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_7))
t_9 = t_3 + t_8
t_10 = (c * y0) - (a * y1)
if (y2 <= (-4.5d+106)) then
tmp = t_4
else if (y2 <= (-0.00045d0)) then
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))))
else if (y2 <= (-1.9d-92)) then
tmp = t_3 - (y1 * ((a * t_5) + (i * t_7)))
else if (y2 <= (-2.45d-205)) then
tmp = t_4
else if (y2 <= 2.7d-92) then
tmp = t_9
else if (y2 <= 1.95d+56) then
tmp = y0 * (((c * t_5) - (y5 * t_1)) - (b * ((x * j) - (z * k))))
else if (y2 <= 3.15d+134) then
tmp = t_9
else if (y2 <= 3.4d+169) then
tmp = t_3 + ((((t * y2) - (y * y3)) * t_6) - ((z * y3) * t_10))
else if (y2 <= 6.8d+204) then
tmp = t_8 + (y1 * (y4 * t_1))
else if ((y2 <= 5d+261) .or. (.not. (y2 <= 2.8d+294))) then
tmp = y2 * (((k * t_2) + (x * t_10)) + (t * t_6))
else
tmp = y0 * ((y2 * y5) * -k)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = t_1 * t_2;
double t_4 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_5 = (x * y2) - (z * y3);
double t_6 = (a * y5) - (c * y4);
double t_7 = (z * k) - (x * j);
double t_8 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_7));
double t_9 = t_3 + t_8;
double t_10 = (c * y0) - (a * y1);
double tmp;
if (y2 <= -4.5e+106) {
tmp = t_4;
} else if (y2 <= -0.00045) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (y2 <= -1.9e-92) {
tmp = t_3 - (y1 * ((a * t_5) + (i * t_7)));
} else if (y2 <= -2.45e-205) {
tmp = t_4;
} else if (y2 <= 2.7e-92) {
tmp = t_9;
} else if (y2 <= 1.95e+56) {
tmp = y0 * (((c * t_5) - (y5 * t_1)) - (b * ((x * j) - (z * k))));
} else if (y2 <= 3.15e+134) {
tmp = t_9;
} else if (y2 <= 3.4e+169) {
tmp = t_3 + ((((t * y2) - (y * y3)) * t_6) - ((z * y3) * t_10));
} else if (y2 <= 6.8e+204) {
tmp = t_8 + (y1 * (y4 * t_1));
} else if ((y2 <= 5e+261) || !(y2 <= 2.8e+294)) {
tmp = y2 * (((k * t_2) + (x * t_10)) + (t * t_6));
} else {
tmp = y0 * ((y2 * y5) * -k);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (k * y2) - (j * y3) t_2 = (y1 * y4) - (y0 * y5) t_3 = t_1 * t_2 t_4 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) t_5 = (x * y2) - (z * y3) t_6 = (a * y5) - (c * y4) t_7 = (z * k) - (x * j) t_8 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_7)) t_9 = t_3 + t_8 t_10 = (c * y0) - (a * y1) tmp = 0 if y2 <= -4.5e+106: tmp = t_4 elif y2 <= -0.00045: tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) elif y2 <= -1.9e-92: tmp = t_3 - (y1 * ((a * t_5) + (i * t_7))) elif y2 <= -2.45e-205: tmp = t_4 elif y2 <= 2.7e-92: tmp = t_9 elif y2 <= 1.95e+56: tmp = y0 * (((c * t_5) - (y5 * t_1)) - (b * ((x * j) - (z * k)))) elif y2 <= 3.15e+134: tmp = t_9 elif y2 <= 3.4e+169: tmp = t_3 + ((((t * y2) - (y * y3)) * t_6) - ((z * y3) * t_10)) elif y2 <= 6.8e+204: tmp = t_8 + (y1 * (y4 * t_1)) elif (y2 <= 5e+261) or not (y2 <= 2.8e+294): tmp = y2 * (((k * t_2) + (x * t_10)) + (t * t_6)) else: tmp = y0 * ((y2 * y5) * -k) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(k * y2) - Float64(j * y3)) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_3 = Float64(t_1 * t_2) t_4 = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / y5)))))) t_5 = Float64(Float64(x * y2) - Float64(z * y3)) t_6 = Float64(Float64(a * y5) - Float64(c * y4)) t_7 = Float64(Float64(z * k) - Float64(x * j)) t_8 = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * t_7))) t_9 = Float64(t_3 + t_8) t_10 = Float64(Float64(c * y0) - Float64(a * y1)) tmp = 0.0 if (y2 <= -4.5e+106) tmp = t_4; elseif (y2 <= -0.00045) tmp = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y2 <= -1.9e-92) tmp = Float64(t_3 - Float64(y1 * Float64(Float64(a * t_5) + Float64(i * t_7)))); elseif (y2 <= -2.45e-205) tmp = t_4; elseif (y2 <= 2.7e-92) tmp = t_9; elseif (y2 <= 1.95e+56) tmp = Float64(y0 * Float64(Float64(Float64(c * t_5) - Float64(y5 * t_1)) - Float64(b * Float64(Float64(x * j) - Float64(z * k))))); elseif (y2 <= 3.15e+134) tmp = t_9; elseif (y2 <= 3.4e+169) tmp = Float64(t_3 + Float64(Float64(Float64(Float64(t * y2) - Float64(y * y3)) * t_6) - Float64(Float64(z * y3) * t_10))); elseif (y2 <= 6.8e+204) tmp = Float64(t_8 + Float64(y1 * Float64(y4 * t_1))); elseif ((y2 <= 5e+261) || !(y2 <= 2.8e+294)) tmp = Float64(y2 * Float64(Float64(Float64(k * t_2) + Float64(x * t_10)) + Float64(t * t_6))); else tmp = Float64(y0 * Float64(Float64(y2 * y5) * Float64(-k))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (k * y2) - (j * y3); t_2 = (y1 * y4) - (y0 * y5); t_3 = t_1 * t_2; t_4 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))); t_5 = (x * y2) - (z * y3); t_6 = (a * y5) - (c * y4); t_7 = (z * k) - (x * j); t_8 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_7)); t_9 = t_3 + t_8; t_10 = (c * y0) - (a * y1); tmp = 0.0; if (y2 <= -4.5e+106) tmp = t_4; elseif (y2 <= -0.00045) tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); elseif (y2 <= -1.9e-92) tmp = t_3 - (y1 * ((a * t_5) + (i * t_7))); elseif (y2 <= -2.45e-205) tmp = t_4; elseif (y2 <= 2.7e-92) tmp = t_9; elseif (y2 <= 1.95e+56) tmp = y0 * (((c * t_5) - (y5 * t_1)) - (b * ((x * j) - (z * k)))); elseif (y2 <= 3.15e+134) tmp = t_9; elseif (y2 <= 3.4e+169) tmp = t_3 + ((((t * y2) - (y * y3)) * t_6) - ((z * y3) * t_10)); elseif (y2 <= 6.8e+204) tmp = t_8 + (y1 * (y4 * t_1)); elseif ((y2 <= 5e+261) || ~((y2 <= 2.8e+294))) tmp = y2 * (((k * t_2) + (x * t_10)) + (t * t_6)); else tmp = y0 * ((y2 * y5) * -k); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$1 * t$95$2), $MachinePrecision]}, Block[{t$95$4 = N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = 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 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(t$95$3 + t$95$8), $MachinePrecision]}, Block[{t$95$10 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -4.5e+106], t$95$4, If[LessEqual[y2, -0.00045], N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.9e-92], N[(t$95$3 - N[(y1 * N[(N[(a * t$95$5), $MachinePrecision] + N[(i * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.45e-205], t$95$4, If[LessEqual[y2, 2.7e-92], t$95$9, If[LessEqual[y2, 1.95e+56], N[(y0 * N[(N[(N[(c * t$95$5), $MachinePrecision] - N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.15e+134], t$95$9, If[LessEqual[y2, 3.4e+169], N[(t$95$3 + N[(N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * t$95$6), $MachinePrecision] - N[(N[(z * y3), $MachinePrecision] * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.8e+204], N[(t$95$8 + N[(y1 * N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y2, 5e+261], N[Not[LessEqual[y2, 2.8e+294]], $MachinePrecision]], N[(y2 * N[(N[(N[(k * t$95$2), $MachinePrecision] + N[(x * t$95$10), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(y2 * y5), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := t\_1 \cdot t\_2\\
t_4 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
t_5 := x \cdot y2 - z \cdot y3\\
t_6 := a \cdot y5 - c \cdot y4\\
t_7 := z \cdot k - x \cdot j\\
t_8 := 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 t\_7\right)\\
t_9 := t\_3 + t\_8\\
t_10 := c \cdot y0 - a \cdot y1\\
\mathbf{if}\;y2 \leq -4.5 \cdot 10^{+106}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y2 \leq -0.00045:\\
\;\;\;\;j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq -1.9 \cdot 10^{-92}:\\
\;\;\;\;t\_3 - y1 \cdot \left(a \cdot t\_5 + i \cdot t\_7\right)\\
\mathbf{elif}\;y2 \leq -2.45 \cdot 10^{-205}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y2 \leq 2.7 \cdot 10^{-92}:\\
\;\;\;\;t\_9\\
\mathbf{elif}\;y2 \leq 1.95 \cdot 10^{+56}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t\_5 - y5 \cdot t\_1\right) - b \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y2 \leq 3.15 \cdot 10^{+134}:\\
\;\;\;\;t\_9\\
\mathbf{elif}\;y2 \leq 3.4 \cdot 10^{+169}:\\
\;\;\;\;t\_3 + \left(\left(t \cdot y2 - y \cdot y3\right) \cdot t\_6 - \left(z \cdot y3\right) \cdot t\_10\right)\\
\mathbf{elif}\;y2 \leq 6.8 \cdot 10^{+204}:\\
\;\;\;\;t\_8 + y1 \cdot \left(y4 \cdot t\_1\right)\\
\mathbf{elif}\;y2 \leq 5 \cdot 10^{+261} \lor \neg \left(y2 \leq 2.8 \cdot 10^{+294}\right):\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t\_2 + x \cdot t\_10\right) + t \cdot t\_6\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(y2 \cdot y5\right) \cdot \left(-k\right)\right)\\
\end{array}
\end{array}
if y2 < -4.4999999999999997e106 or -1.9e-92 < y2 < -2.4499999999999999e-205Initial program 24.7%
Taylor expanded in x around inf 36.2%
Taylor expanded in y0 around inf 48.8%
Taylor expanded in y5 around -inf 56.8%
associate-*r*56.8%
neg-mul-156.8%
+-commutative56.8%
mul-1-neg56.8%
unsub-neg56.8%
associate-/l*59.4%
*-commutative59.4%
*-commutative59.4%
Simplified59.4%
if -4.4999999999999997e106 < y2 < -4.4999999999999999e-4Initial program 24.2%
Taylor expanded in j around inf 58.6%
+-commutative58.6%
mul-1-neg58.6%
unsub-neg58.6%
*-commutative58.6%
Simplified58.6%
if -4.4999999999999999e-4 < y2 < -1.9e-92Initial program 35.3%
Taylor expanded in y1 around -inf 88.5%
associate-*r*88.5%
neg-mul-188.5%
*-commutative88.5%
*-commutative88.5%
*-commutative88.5%
Simplified88.5%
if -2.4499999999999999e-205 < y2 < 2.69999999999999995e-92 or 1.94999999999999997e56 < y2 < 3.1500000000000001e134Initial program 29.7%
Taylor expanded in b around inf 53.1%
if 2.69999999999999995e-92 < y2 < 1.94999999999999997e56Initial program 20.2%
Taylor expanded in y0 around inf 72.4%
+-commutative72.4%
mul-1-neg72.4%
unsub-neg72.4%
*-commutative72.4%
*-commutative72.4%
*-commutative72.4%
*-commutative72.4%
Simplified72.4%
if 3.1500000000000001e134 < y2 < 3.40000000000000028e169Initial program 37.5%
Taylor expanded in y3 around inf 87.3%
mul-1-neg87.3%
associate-*r*87.3%
*-commutative87.3%
Simplified87.3%
if 3.40000000000000028e169 < y2 < 6.8000000000000002e204Initial program 44.1%
Taylor expanded in b around inf 57.1%
Taylor expanded in y5 around 0 85.7%
if 6.8000000000000002e204 < y2 < 5.0000000000000001e261 or 2.79999999999999979e294 < y2 Initial program 50.6%
Taylor expanded in y2 around inf 99.4%
if 5.0000000000000001e261 < y2 < 2.79999999999999979e294Initial program 0.0%
Taylor expanded in x around inf 33.3%
Taylor expanded in y0 around inf 55.6%
Taylor expanded in k around inf 89.4%
mul-1-neg89.4%
Simplified89.4%
Final simplification64.8%
(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 (- (* y0 y5) (* y1 y4)))
(t_3
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5)))))))
(t_4 (- (* k y2) (* j y3)))
(t_5 (- (* y y3) (* t y2)))
(t_6 (* y4 (+ (+ (* y1 t_4) (* b t_1)) (* c t_5)))))
(if (<= y4 -2.7e+197)
t_6
(if (<= y4 -6.5e-108)
t_3
(if (<= y4 -7.5e-167)
(+
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 t_1))
(* y0 (- (* z k) (* x j)))))
(* y1 (* y4 t_4)))
(if (<= y4 -2.2e-174)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y4 -1e-205)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4)))))
(if (<= y4 1.75e-286)
t_3
(if (<= y4 1.12e-190)
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i (- (* y k) (* t j))) (* y0 (- (* j y3) (* k y2))))))
(if (<= y4 2.4e-27)
(*
k
(-
(* z (- (* b y0) (* i y1)))
(+ (* y (- (* b y4) (* i y5))) (* y2 t_2))))
(if (<= y4 2.8e+60)
t_3
(if (<= y4 1.1e+205)
t_6
(if (<= y4 3.2e+252)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* z (- (* a y1) (* c y0))) (* j t_2))))
(* c (* y4 t_5)))))))))))))))
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 = (y0 * y5) - (y1 * y4);
double t_3 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_4 = (k * y2) - (j * y3);
double t_5 = (y * y3) - (t * y2);
double t_6 = y4 * (((y1 * t_4) + (b * t_1)) + (c * t_5));
double tmp;
if (y4 <= -2.7e+197) {
tmp = t_6;
} else if (y4 <= -6.5e-108) {
tmp = t_3;
} else if (y4 <= -7.5e-167) {
tmp = (b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))) + (y1 * (y4 * t_4));
} else if (y4 <= -2.2e-174) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y4 <= -1e-205) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (y4 <= 1.75e-286) {
tmp = t_3;
} else if (y4 <= 1.12e-190) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else if (y4 <= 2.4e-27) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_2)));
} else if (y4 <= 2.8e+60) {
tmp = t_3;
} else if (y4 <= 1.1e+205) {
tmp = t_6;
} else if (y4 <= 3.2e+252) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_2)));
} else {
tmp = c * (y4 * t_5);
}
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 = (t * j) - (y * k)
t_2 = (y0 * y5) - (y1 * y4)
t_3 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))))
t_4 = (k * y2) - (j * y3)
t_5 = (y * y3) - (t * y2)
t_6 = y4 * (((y1 * t_4) + (b * t_1)) + (c * t_5))
if (y4 <= (-2.7d+197)) then
tmp = t_6
else if (y4 <= (-6.5d-108)) then
tmp = t_3
else if (y4 <= (-7.5d-167)) then
tmp = (b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))) + (y1 * (y4 * t_4))
else if (y4 <= (-2.2d-174)) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y4 <= (-1d-205)) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
else if (y4 <= 1.75d-286) then
tmp = t_3
else if (y4 <= 1.12d-190) then
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
else if (y4 <= 2.4d-27) then
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_2)))
else if (y4 <= 2.8d+60) then
tmp = t_3
else if (y4 <= 1.1d+205) then
tmp = t_6
else if (y4 <= 3.2d+252) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_2)))
else
tmp = c * (y4 * t_5)
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 = (y0 * y5) - (y1 * y4);
double t_3 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_4 = (k * y2) - (j * y3);
double t_5 = (y * y3) - (t * y2);
double t_6 = y4 * (((y1 * t_4) + (b * t_1)) + (c * t_5));
double tmp;
if (y4 <= -2.7e+197) {
tmp = t_6;
} else if (y4 <= -6.5e-108) {
tmp = t_3;
} else if (y4 <= -7.5e-167) {
tmp = (b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))) + (y1 * (y4 * t_4));
} else if (y4 <= -2.2e-174) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y4 <= -1e-205) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (y4 <= 1.75e-286) {
tmp = t_3;
} else if (y4 <= 1.12e-190) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else if (y4 <= 2.4e-27) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_2)));
} else if (y4 <= 2.8e+60) {
tmp = t_3;
} else if (y4 <= 1.1e+205) {
tmp = t_6;
} else if (y4 <= 3.2e+252) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_2)));
} else {
tmp = c * (y4 * t_5);
}
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 = (y0 * y5) - (y1 * y4) t_3 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) t_4 = (k * y2) - (j * y3) t_5 = (y * y3) - (t * y2) t_6 = y4 * (((y1 * t_4) + (b * t_1)) + (c * t_5)) tmp = 0 if y4 <= -2.7e+197: tmp = t_6 elif y4 <= -6.5e-108: tmp = t_3 elif y4 <= -7.5e-167: tmp = (b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))) + (y1 * (y4 * t_4)) elif y4 <= -2.2e-174: tmp = x * (y0 * ((c * y2) - (b * j))) elif y4 <= -1e-205: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) elif y4 <= 1.75e-286: tmp = t_3 elif y4 <= 1.12e-190: tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) elif y4 <= 2.4e-27: tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_2))) elif y4 <= 2.8e+60: tmp = t_3 elif y4 <= 1.1e+205: tmp = t_6 elif y4 <= 3.2e+252: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_2))) else: tmp = c * (y4 * t_5) 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(y0 * y5) - Float64(y1 * y4)) t_3 = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / y5)))))) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) t_5 = Float64(Float64(y * y3) - Float64(t * y2)) t_6 = Float64(y4 * Float64(Float64(Float64(y1 * t_4) + Float64(b * t_1)) + Float64(c * t_5))) tmp = 0.0 if (y4 <= -2.7e+197) tmp = t_6; elseif (y4 <= -6.5e-108) tmp = t_3; elseif (y4 <= -7.5e-167) tmp = Float64(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))))) + Float64(y1 * Float64(y4 * t_4))); elseif (y4 <= -2.2e-174) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y4 <= -1e-205) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y4 <= 1.75e-286) tmp = t_3; elseif (y4 <= 1.12e-190) 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)))))); elseif (y4 <= 2.4e-27) tmp = Float64(k * Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(y * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * t_2)))); elseif (y4 <= 2.8e+60) tmp = t_3; elseif (y4 <= 1.1e+205) tmp = t_6; elseif (y4 <= 3.2e+252) 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 * t_2)))); else tmp = Float64(c * Float64(y4 * t_5)); 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 = (y0 * y5) - (y1 * y4); t_3 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))); t_4 = (k * y2) - (j * y3); t_5 = (y * y3) - (t * y2); t_6 = y4 * (((y1 * t_4) + (b * t_1)) + (c * t_5)); tmp = 0.0; if (y4 <= -2.7e+197) tmp = t_6; elseif (y4 <= -6.5e-108) tmp = t_3; elseif (y4 <= -7.5e-167) tmp = (b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))) + (y1 * (y4 * t_4)); elseif (y4 <= -2.2e-174) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y4 <= -1e-205) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); elseif (y4 <= 1.75e-286) tmp = t_3; elseif (y4 <= 1.12e-190) tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); elseif (y4 <= 2.4e-27) tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_2))); elseif (y4 <= 2.8e+60) tmp = t_3; elseif (y4 <= 1.1e+205) tmp = t_6; elseif (y4 <= 3.2e+252) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_2))); else tmp = c * (y4 * t_5); 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[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y4 * N[(N[(N[(y1 * t$95$4), $MachinePrecision] + N[(b * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -2.7e+197], t$95$6, If[LessEqual[y4, -6.5e-108], t$95$3, If[LessEqual[y4, -7.5e-167], N[(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] + N[(y1 * N[(y4 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.2e-174], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1e-205], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.75e-286], t$95$3, If[LessEqual[y4, 1.12e-190], 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], If[LessEqual[y4, 2.4e-27], N[(k * N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.8e+60], t$95$3, If[LessEqual[y4, 1.1e+205], t$95$6, If[LessEqual[y4, 3.2e+252], 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 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * t$95$5), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot j - y \cdot k\\
t_2 := y0 \cdot y5 - y1 \cdot y4\\
t_3 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
t_4 := k \cdot y2 - j \cdot y3\\
t_5 := y \cdot y3 - t \cdot y2\\
t_6 := y4 \cdot \left(\left(y1 \cdot t\_4 + b \cdot t\_1\right) + c \cdot t\_5\right)\\
\mathbf{if}\;y4 \leq -2.7 \cdot 10^{+197}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;y4 \leq -6.5 \cdot 10^{-108}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y4 \leq -7.5 \cdot 10^{-167}:\\
\;\;\;\;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) + y1 \cdot \left(y4 \cdot t\_4\right)\\
\mathbf{elif}\;y4 \leq -2.2 \cdot 10^{-174}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y4 \leq -1 \cdot 10^{-205}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq 1.75 \cdot 10^{-286}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y4 \leq 1.12 \cdot 10^{-190}:\\
\;\;\;\;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{elif}\;y4 \leq 2.4 \cdot 10^{-27}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(y \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot t\_2\right)\right)\\
\mathbf{elif}\;y4 \leq 2.8 \cdot 10^{+60}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y4 \leq 1.1 \cdot 10^{+205}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;y4 \leq 3.2 \cdot 10^{+252}:\\
\;\;\;\;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 t\_2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot t\_5\right)\\
\end{array}
\end{array}
if y4 < -2.7e197 or 2.8e60 < y4 < 1.0999999999999999e205Initial program 25.2%
Taylor expanded in y4 around inf 61.2%
if -2.7e197 < y4 < -6.5000000000000002e-108 or -1e-205 < y4 < 1.74999999999999994e-286 or 2.40000000000000002e-27 < y4 < 2.8e60Initial program 28.7%
Taylor expanded in x around inf 49.4%
Taylor expanded in y0 around inf 49.1%
Taylor expanded in y5 around -inf 56.8%
associate-*r*56.8%
neg-mul-156.8%
+-commutative56.8%
mul-1-neg56.8%
unsub-neg56.8%
associate-/l*59.7%
*-commutative59.7%
*-commutative59.7%
Simplified59.7%
if -6.5000000000000002e-108 < y4 < -7.5000000000000007e-167Initial program 38.0%
Taylor expanded in b around inf 83.9%
Taylor expanded in y5 around 0 87.5%
if -7.5000000000000007e-167 < y4 < -2.20000000000000022e-174Initial program 0.0%
Taylor expanded in x around inf 66.7%
Taylor expanded in y0 around inf 66.7%
Taylor expanded in y5 around 0 100.0%
if -2.20000000000000022e-174 < y4 < -1e-205Initial program 29.2%
Taylor expanded in y2 around inf 86.5%
if 1.74999999999999994e-286 < y4 < 1.12000000000000005e-190Initial program 38.8%
Taylor expanded in y5 around -inf 72.7%
if 1.12000000000000005e-190 < y4 < 2.40000000000000002e-27Initial program 28.1%
Taylor expanded in k around inf 63.1%
+-commutative63.1%
mul-1-neg63.1%
unsub-neg63.1%
*-commutative63.1%
associate-*r*63.1%
neg-mul-163.1%
Simplified63.1%
if 1.0999999999999999e205 < y4 < 3.2000000000000002e252Initial program 22.2%
Taylor expanded in y3 around -inf 78.3%
if 3.2000000000000002e252 < y4 Initial program 15.4%
Taylor expanded in y4 around inf 30.8%
*-commutative30.8%
Simplified30.8%
Taylor expanded in c around inf 61.6%
mul-1-neg61.6%
Simplified61.6%
Final simplification64.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y0 y5) (* y1 y4)))
(t_2 (- (* y y3) (* t y2)))
(t_3
(*
y4
(+
(+ (* y1 (- (* k y2) (* j y3))) (* b (- (* t j) (* y k))))
(* c t_2))))
(t_4
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4))))))
(t_5
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5))))))))
(if (<= y4 -4.2e+197)
t_3
(if (<= y4 -8e-175)
t_5
(if (<= y4 -1.3e-205)
t_4
(if (<= y4 5.6e-286)
t_5
(if (<= y4 7.5e-169)
t_4
(if (<= y4 1.2e-27)
(*
k
(-
(* z (- (* b y0) (* i y1)))
(+ (* y (- (* b y4) (* i y5))) (* y2 t_1))))
(if (<= y4 1.9e+58)
t_5
(if (<= y4 1.4e+206)
t_3
(if (<= y4 6.5e+252)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* z (- (* a y1) (* c y0))) (* j t_1))))
(* c (* 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 = (y0 * y5) - (y1 * y4);
double t_2 = (y * y3) - (t * y2);
double t_3 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_2));
double t_4 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
double t_5 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double tmp;
if (y4 <= -4.2e+197) {
tmp = t_3;
} else if (y4 <= -8e-175) {
tmp = t_5;
} else if (y4 <= -1.3e-205) {
tmp = t_4;
} else if (y4 <= 5.6e-286) {
tmp = t_5;
} else if (y4 <= 7.5e-169) {
tmp = t_4;
} else if (y4 <= 1.2e-27) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1)));
} else if (y4 <= 1.9e+58) {
tmp = t_5;
} else if (y4 <= 1.4e+206) {
tmp = t_3;
} else if (y4 <= 6.5e+252) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_1)));
} else {
tmp = c * (y4 * 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) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = (y0 * y5) - (y1 * y4)
t_2 = (y * y3) - (t * y2)
t_3 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_2))
t_4 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
t_5 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))))
if (y4 <= (-4.2d+197)) then
tmp = t_3
else if (y4 <= (-8d-175)) then
tmp = t_5
else if (y4 <= (-1.3d-205)) then
tmp = t_4
else if (y4 <= 5.6d-286) then
tmp = t_5
else if (y4 <= 7.5d-169) then
tmp = t_4
else if (y4 <= 1.2d-27) then
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1)))
else if (y4 <= 1.9d+58) then
tmp = t_5
else if (y4 <= 1.4d+206) then
tmp = t_3
else if (y4 <= 6.5d+252) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_1)))
else
tmp = c * (y4 * 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 = (y0 * y5) - (y1 * y4);
double t_2 = (y * y3) - (t * y2);
double t_3 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_2));
double t_4 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
double t_5 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double tmp;
if (y4 <= -4.2e+197) {
tmp = t_3;
} else if (y4 <= -8e-175) {
tmp = t_5;
} else if (y4 <= -1.3e-205) {
tmp = t_4;
} else if (y4 <= 5.6e-286) {
tmp = t_5;
} else if (y4 <= 7.5e-169) {
tmp = t_4;
} else if (y4 <= 1.2e-27) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1)));
} else if (y4 <= 1.9e+58) {
tmp = t_5;
} else if (y4 <= 1.4e+206) {
tmp = t_3;
} else if (y4 <= 6.5e+252) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_1)));
} else {
tmp = c * (y4 * t_2);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y0 * y5) - (y1 * y4) t_2 = (y * y3) - (t * y2) t_3 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_2)) t_4 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) t_5 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) tmp = 0 if y4 <= -4.2e+197: tmp = t_3 elif y4 <= -8e-175: tmp = t_5 elif y4 <= -1.3e-205: tmp = t_4 elif y4 <= 5.6e-286: tmp = t_5 elif y4 <= 7.5e-169: tmp = t_4 elif y4 <= 1.2e-27: tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1))) elif y4 <= 1.9e+58: tmp = t_5 elif y4 <= 1.4e+206: tmp = t_3 elif y4 <= 6.5e+252: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_1))) else: tmp = c * (y4 * 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(y0 * y5) - Float64(y1 * y4)) t_2 = Float64(Float64(y * y3) - Float64(t * y2)) t_3 = Float64(y4 * Float64(Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(b * Float64(Float64(t * j) - Float64(y * k)))) + Float64(c * t_2))) t_4 = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))) t_5 = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / y5)))))) tmp = 0.0 if (y4 <= -4.2e+197) tmp = t_3; elseif (y4 <= -8e-175) tmp = t_5; elseif (y4 <= -1.3e-205) tmp = t_4; elseif (y4 <= 5.6e-286) tmp = t_5; elseif (y4 <= 7.5e-169) tmp = t_4; elseif (y4 <= 1.2e-27) tmp = Float64(k * Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(y * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * t_1)))); elseif (y4 <= 1.9e+58) tmp = t_5; elseif (y4 <= 1.4e+206) tmp = t_3; elseif (y4 <= 6.5e+252) 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 * t_1)))); else tmp = Float64(c * Float64(y4 * 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 = (y0 * y5) - (y1 * y4); t_2 = (y * y3) - (t * y2); t_3 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_2)); t_4 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); t_5 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))); tmp = 0.0; if (y4 <= -4.2e+197) tmp = t_3; elseif (y4 <= -8e-175) tmp = t_5; elseif (y4 <= -1.3e-205) tmp = t_4; elseif (y4 <= 5.6e-286) tmp = t_5; elseif (y4 <= 7.5e-169) tmp = t_4; elseif (y4 <= 1.2e-27) tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_1))); elseif (y4 <= 1.9e+58) tmp = t_5; elseif (y4 <= 1.4e+206) tmp = t_3; elseif (y4 <= 6.5e+252) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_1))); else tmp = c * (y4 * 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[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y4 * N[(N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -4.2e+197], t$95$3, If[LessEqual[y4, -8e-175], t$95$5, If[LessEqual[y4, -1.3e-205], t$95$4, If[LessEqual[y4, 5.6e-286], t$95$5, If[LessEqual[y4, 7.5e-169], t$95$4, If[LessEqual[y4, 1.2e-27], N[(k * N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.9e+58], t$95$5, If[LessEqual[y4, 1.4e+206], t$95$3, If[LessEqual[y4, 6.5e+252], 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 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot y5 - y1 \cdot y4\\
t_2 := y \cdot y3 - t \cdot y2\\
t_3 := y4 \cdot \left(\left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + b \cdot \left(t \cdot j - y \cdot k\right)\right) + c \cdot t\_2\right)\\
t_4 := y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_5 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
\mathbf{if}\;y4 \leq -4.2 \cdot 10^{+197}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y4 \leq -8 \cdot 10^{-175}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y4 \leq -1.3 \cdot 10^{-205}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y4 \leq 5.6 \cdot 10^{-286}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y4 \leq 7.5 \cdot 10^{-169}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y4 \leq 1.2 \cdot 10^{-27}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(y \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot t\_1\right)\right)\\
\mathbf{elif}\;y4 \leq 1.9 \cdot 10^{+58}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y4 \leq 1.4 \cdot 10^{+206}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y4 \leq 6.5 \cdot 10^{+252}:\\
\;\;\;\;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 t\_1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot t\_2\right)\\
\end{array}
\end{array}
if y4 < -4.20000000000000013e197 or 1.8999999999999999e58 < y4 < 1.3999999999999999e206Initial program 25.2%
Taylor expanded in y4 around inf 61.2%
if -4.20000000000000013e197 < y4 < -8e-175 or -1.2999999999999999e-205 < y4 < 5.6e-286 or 1.20000000000000001e-27 < y4 < 1.8999999999999999e58Initial program 29.2%
Taylor expanded in x around inf 47.8%
Taylor expanded in y0 around inf 47.6%
Taylor expanded in y5 around -inf 56.1%
associate-*r*56.1%
neg-mul-156.1%
+-commutative56.1%
mul-1-neg56.1%
unsub-neg56.1%
associate-/l*58.7%
*-commutative58.7%
*-commutative58.7%
Simplified58.7%
if -8e-175 < y4 < -1.2999999999999999e-205 or 5.6e-286 < y4 < 7.49999999999999978e-169Initial program 33.4%
Taylor expanded in y2 around inf 61.0%
if 7.49999999999999978e-169 < y4 < 1.20000000000000001e-27Initial program 26.9%
Taylor expanded in k around inf 69.6%
+-commutative69.6%
mul-1-neg69.6%
unsub-neg69.6%
*-commutative69.6%
associate-*r*69.6%
neg-mul-169.6%
Simplified69.6%
if 1.3999999999999999e206 < y4 < 6.5e252Initial program 22.2%
Taylor expanded in y3 around -inf 78.3%
if 6.5e252 < y4 Initial program 15.4%
Taylor expanded in y4 around inf 30.8%
*-commutative30.8%
Simplified30.8%
Taylor expanded in c around inf 61.6%
mul-1-neg61.6%
Simplified61.6%
Final simplification61.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y y3) (* t y2)))
(t_2
(*
y4
(+
(+ (* y1 (- (* k y2) (* j y3))) (* b (- (* t j) (* y k))))
(* c t_1))))
(t_3 (- (* y0 y5) (* y1 y4)))
(t_4
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5))))))))
(if (<= y4 -8e+199)
t_2
(if (<= y4 -4.4e-176)
t_4
(if (<= y4 -9.6e-206)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4)))))
(if (<= y4 1.8e-286)
t_4
(if (<= y4 1.2e-194)
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i (- (* y k) (* t j))) (* y0 (- (* j y3) (* k y2))))))
(if (<= y4 4.15e-26)
(*
k
(-
(* z (- (* b y0) (* i y1)))
(+ (* y (- (* b y4) (* i y5))) (* y2 t_3))))
(if (<= y4 2.1e+59)
t_4
(if (<= y4 4.5e+205)
t_2
(if (<= y4 5.3e+252)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* z (- (* a y1) (* c y0))) (* j t_3))))
(* c (* 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 = (y * y3) - (t * y2);
double t_2 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_1));
double t_3 = (y0 * y5) - (y1 * y4);
double t_4 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double tmp;
if (y4 <= -8e+199) {
tmp = t_2;
} else if (y4 <= -4.4e-176) {
tmp = t_4;
} else if (y4 <= -9.6e-206) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (y4 <= 1.8e-286) {
tmp = t_4;
} else if (y4 <= 1.2e-194) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else if (y4 <= 4.15e-26) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_3)));
} else if (y4 <= 2.1e+59) {
tmp = t_4;
} else if (y4 <= 4.5e+205) {
tmp = t_2;
} else if (y4 <= 5.3e+252) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_3)));
} else {
tmp = c * (y4 * 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) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (y * y3) - (t * y2)
t_2 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_1))
t_3 = (y0 * y5) - (y1 * y4)
t_4 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))))
if (y4 <= (-8d+199)) then
tmp = t_2
else if (y4 <= (-4.4d-176)) then
tmp = t_4
else if (y4 <= (-9.6d-206)) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
else if (y4 <= 1.8d-286) then
tmp = t_4
else if (y4 <= 1.2d-194) then
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
else if (y4 <= 4.15d-26) then
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_3)))
else if (y4 <= 2.1d+59) then
tmp = t_4
else if (y4 <= 4.5d+205) then
tmp = t_2
else if (y4 <= 5.3d+252) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_3)))
else
tmp = c * (y4 * 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 = (y * y3) - (t * y2);
double t_2 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_1));
double t_3 = (y0 * y5) - (y1 * y4);
double t_4 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double tmp;
if (y4 <= -8e+199) {
tmp = t_2;
} else if (y4 <= -4.4e-176) {
tmp = t_4;
} else if (y4 <= -9.6e-206) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (y4 <= 1.8e-286) {
tmp = t_4;
} else if (y4 <= 1.2e-194) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
} else if (y4 <= 4.15e-26) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_3)));
} else if (y4 <= 2.1e+59) {
tmp = t_4;
} else if (y4 <= 4.5e+205) {
tmp = t_2;
} else if (y4 <= 5.3e+252) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_3)));
} else {
tmp = c * (y4 * t_1);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * y3) - (t * y2) t_2 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_1)) t_3 = (y0 * y5) - (y1 * y4) t_4 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) tmp = 0 if y4 <= -8e+199: tmp = t_2 elif y4 <= -4.4e-176: tmp = t_4 elif y4 <= -9.6e-206: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) elif y4 <= 1.8e-286: tmp = t_4 elif y4 <= 1.2e-194: tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) elif y4 <= 4.15e-26: tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_3))) elif y4 <= 2.1e+59: tmp = t_4 elif y4 <= 4.5e+205: tmp = t_2 elif y4 <= 5.3e+252: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_3))) else: tmp = c * (y4 * 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(Float64(y * y3) - Float64(t * y2)) t_2 = Float64(y4 * Float64(Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(b * Float64(Float64(t * j) - Float64(y * k)))) + Float64(c * t_1))) t_3 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) t_4 = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / y5)))))) tmp = 0.0 if (y4 <= -8e+199) tmp = t_2; elseif (y4 <= -4.4e-176) tmp = t_4; elseif (y4 <= -9.6e-206) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y4 <= 1.8e-286) tmp = t_4; elseif (y4 <= 1.2e-194) 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)))))); elseif (y4 <= 4.15e-26) tmp = Float64(k * Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(y * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * t_3)))); elseif (y4 <= 2.1e+59) tmp = t_4; elseif (y4 <= 4.5e+205) tmp = t_2; elseif (y4 <= 5.3e+252) 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 * t_3)))); else tmp = Float64(c * Float64(y4 * 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 = (y * y3) - (t * y2); t_2 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_1)); t_3 = (y0 * y5) - (y1 * y4); t_4 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))); tmp = 0.0; if (y4 <= -8e+199) tmp = t_2; elseif (y4 <= -4.4e-176) tmp = t_4; elseif (y4 <= -9.6e-206) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); elseif (y4 <= 1.8e-286) tmp = t_4; elseif (y4 <= 1.2e-194) tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); elseif (y4 <= 4.15e-26) tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * t_3))); elseif (y4 <= 2.1e+59) tmp = t_4; elseif (y4 <= 4.5e+205) tmp = t_2; elseif (y4 <= 5.3e+252) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_3))); else tmp = c * (y4 * 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[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y4 * N[(N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -8e+199], t$95$2, If[LessEqual[y4, -4.4e-176], t$95$4, If[LessEqual[y4, -9.6e-206], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.8e-286], t$95$4, If[LessEqual[y4, 1.2e-194], 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], If[LessEqual[y4, 4.15e-26], N[(k * N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.1e+59], t$95$4, If[LessEqual[y4, 4.5e+205], t$95$2, If[LessEqual[y4, 5.3e+252], 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 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
t_2 := y4 \cdot \left(\left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + b \cdot \left(t \cdot j - y \cdot k\right)\right) + c \cdot t\_1\right)\\
t_3 := y0 \cdot y5 - y1 \cdot y4\\
t_4 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
\mathbf{if}\;y4 \leq -8 \cdot 10^{+199}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq -4.4 \cdot 10^{-176}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y4 \leq -9.6 \cdot 10^{-206}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq 1.8 \cdot 10^{-286}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y4 \leq 1.2 \cdot 10^{-194}:\\
\;\;\;\;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{elif}\;y4 \leq 4.15 \cdot 10^{-26}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(y \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot t\_3\right)\right)\\
\mathbf{elif}\;y4 \leq 2.1 \cdot 10^{+59}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y4 \leq 4.5 \cdot 10^{+205}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq 5.3 \cdot 10^{+252}:\\
\;\;\;\;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 t\_3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot t\_1\right)\\
\end{array}
\end{array}
if y4 < -8.00000000000000078e199 or 2.09999999999999984e59 < y4 < 4.50000000000000035e205Initial program 25.2%
Taylor expanded in y4 around inf 61.2%
if -8.00000000000000078e199 < y4 < -4.3999999999999997e-176 or -9.5999999999999998e-206 < y4 < 1.80000000000000007e-286 or 4.1499999999999997e-26 < y4 < 2.09999999999999984e59Initial program 28.6%
Taylor expanded in x around inf 48.2%
Taylor expanded in y0 around inf 47.1%
Taylor expanded in y5 around -inf 55.7%
associate-*r*55.7%
neg-mul-155.7%
+-commutative55.7%
mul-1-neg55.7%
unsub-neg55.7%
associate-/l*58.3%
*-commutative58.3%
*-commutative58.3%
Simplified58.3%
if -4.3999999999999997e-176 < y4 < -9.5999999999999998e-206Initial program 29.2%
Taylor expanded in y2 around inf 86.5%
if 1.80000000000000007e-286 < y4 < 1.2e-194Initial program 38.8%
Taylor expanded in y5 around -inf 72.7%
if 1.2e-194 < y4 < 4.1499999999999997e-26Initial program 28.1%
Taylor expanded in k around inf 63.1%
+-commutative63.1%
mul-1-neg63.1%
unsub-neg63.1%
*-commutative63.1%
associate-*r*63.1%
neg-mul-163.1%
Simplified63.1%
if 4.50000000000000035e205 < y4 < 5.30000000000000028e252Initial program 22.2%
Taylor expanded in y3 around -inf 78.3%
if 5.30000000000000028e252 < y4 Initial program 15.4%
Taylor expanded in y4 around inf 30.8%
*-commutative30.8%
Simplified30.8%
Taylor expanded in c around inf 61.6%
mul-1-neg61.6%
Simplified61.6%
Final simplification62.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
(if (<= k -3.5e+199)
(* y0 (* y5 (- (* k y2))))
(if (<= k -1e+16)
t_1
(if (<= k -3.2e-90)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= k -1.65e-133)
(* b (* y (- (* x a) (* k y4))))
(if (<= k -1.7e-282)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= k 6.8e-218)
(* j (* y5 (- (* y0 y3) (* t i))))
(if (<= k 1.3e-191)
(* t (* c (- (* y2 y4))))
(if (<= k 2e-104)
t_1
(if (<= k 4.2e-30)
(* a (* y1 (- (* z y3) (* x y2))))
(if (<= k 6.5e+59)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= k 5.8e+147)
(* i (* y1 (- (* x j) (* z k))))
(if (<= k 1.2e+185)
(* y1 (* y3 (- (* z a) (* j y4))))
(* k (* y2 (- (* y1 y4) (* y0 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -3.5e+199) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -1e+16) {
tmp = t_1;
} else if (k <= -3.2e-90) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (k <= -1.65e-133) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (k <= -1.7e-282) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (k <= 6.8e-218) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (k <= 1.3e-191) {
tmp = t * (c * -(y2 * y4));
} else if (k <= 2e-104) {
tmp = t_1;
} else if (k <= 4.2e-30) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (k <= 6.5e+59) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 5.8e+147) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (k <= 1.2e+185) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * 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) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
if (k <= (-3.5d+199)) then
tmp = y0 * (y5 * -(k * y2))
else if (k <= (-1d+16)) then
tmp = t_1
else if (k <= (-3.2d-90)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (k <= (-1.65d-133)) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (k <= (-1.7d-282)) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (k <= 6.8d-218) then
tmp = j * (y5 * ((y0 * y3) - (t * i)))
else if (k <= 1.3d-191) then
tmp = t * (c * -(y2 * y4))
else if (k <= 2d-104) then
tmp = t_1
else if (k <= 4.2d-30) then
tmp = a * (y1 * ((z * y3) - (x * y2)))
else if (k <= 6.5d+59) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (k <= 5.8d+147) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (k <= 1.2d+185) then
tmp = y1 * (y3 * ((z * a) - (j * y4)))
else
tmp = k * (y2 * ((y1 * y4) - (y0 * 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -3.5e+199) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -1e+16) {
tmp = t_1;
} else if (k <= -3.2e-90) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (k <= -1.65e-133) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (k <= -1.7e-282) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (k <= 6.8e-218) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (k <= 1.3e-191) {
tmp = t * (c * -(y2 * y4));
} else if (k <= 2e-104) {
tmp = t_1;
} else if (k <= 4.2e-30) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (k <= 6.5e+59) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 5.8e+147) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (k <= 1.2e+185) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (x * ((y * a) - (j * y0))) tmp = 0 if k <= -3.5e+199: tmp = y0 * (y5 * -(k * y2)) elif k <= -1e+16: tmp = t_1 elif k <= -3.2e-90: tmp = c * (y4 * ((y * y3) - (t * y2))) elif k <= -1.65e-133: tmp = b * (y * ((x * a) - (k * y4))) elif k <= -1.7e-282: tmp = x * (y0 * ((c * y2) - (b * j))) elif k <= 6.8e-218: tmp = j * (y5 * ((y0 * y3) - (t * i))) elif k <= 1.3e-191: tmp = t * (c * -(y2 * y4)) elif k <= 2e-104: tmp = t_1 elif k <= 4.2e-30: tmp = a * (y1 * ((z * y3) - (x * y2))) elif k <= 6.5e+59: tmp = t * (y2 * ((a * y5) - (c * y4))) elif k <= 5.8e+147: tmp = i * (y1 * ((x * j) - (z * k))) elif k <= 1.2e+185: tmp = y1 * (y3 * ((z * a) - (j * y4))) else: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) 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(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (k <= -3.5e+199) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (k <= -1e+16) tmp = t_1; elseif (k <= -3.2e-90) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (k <= -1.65e-133) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (k <= -1.7e-282) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (k <= 6.8e-218) tmp = Float64(j * Float64(y5 * Float64(Float64(y0 * y3) - Float64(t * i)))); elseif (k <= 1.3e-191) tmp = Float64(t * Float64(c * Float64(-Float64(y2 * y4)))); elseif (k <= 2e-104) tmp = t_1; elseif (k <= 4.2e-30) tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); elseif (k <= 6.5e+59) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (k <= 5.8e+147) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (k <= 1.2e+185) tmp = Float64(y1 * Float64(y3 * Float64(Float64(z * a) - Float64(j * y4)))); else tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * 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 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (k <= -3.5e+199) tmp = y0 * (y5 * -(k * y2)); elseif (k <= -1e+16) tmp = t_1; elseif (k <= -3.2e-90) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (k <= -1.65e-133) tmp = b * (y * ((x * a) - (k * y4))); elseif (k <= -1.7e-282) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (k <= 6.8e-218) tmp = j * (y5 * ((y0 * y3) - (t * i))); elseif (k <= 1.3e-191) tmp = t * (c * -(y2 * y4)); elseif (k <= 2e-104) tmp = t_1; elseif (k <= 4.2e-30) tmp = a * (y1 * ((z * y3) - (x * y2))); elseif (k <= 6.5e+59) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (k <= 5.8e+147) tmp = i * (y1 * ((x * j) - (z * k))); elseif (k <= 1.2e+185) tmp = y1 * (y3 * ((z * a) - (j * y4))); else tmp = k * (y2 * ((y1 * y4) - (y0 * 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[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -3.5e+199], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1e+16], t$95$1, If[LessEqual[k, -3.2e-90], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.65e-133], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.7e-282], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 6.8e-218], N[(j * N[(y5 * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.3e-191], N[(t * N[(c * (-N[(y2 * y4), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2e-104], t$95$1, If[LessEqual[k, 4.2e-30], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 6.5e+59], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 5.8e+147], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.2e+185], N[(y1 * N[(y3 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;k \leq -3.5 \cdot 10^{+199}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -1 \cdot 10^{+16}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -3.2 \cdot 10^{-90}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -1.65 \cdot 10^{-133}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;k \leq -1.7 \cdot 10^{-282}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;k \leq 6.8 \cdot 10^{-218}:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\
\mathbf{elif}\;k \leq 1.3 \cdot 10^{-191}:\\
\;\;\;\;t \cdot \left(c \cdot \left(-y2 \cdot y4\right)\right)\\
\mathbf{elif}\;k \leq 2 \cdot 10^{-104}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 4.2 \cdot 10^{-30}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq 6.5 \cdot 10^{+59}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;k \leq 5.8 \cdot 10^{+147}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;k \leq 1.2 \cdot 10^{+185}:\\
\;\;\;\;y1 \cdot \left(y3 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if k < -3.49999999999999981e199Initial program 12.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in y0 around inf 44.4%
Taylor expanded in y5 around -inf 50.4%
associate-*r*50.4%
neg-mul-150.4%
+-commutative50.4%
mul-1-neg50.4%
unsub-neg50.4%
associate-/l*50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in k around inf 41.9%
mul-1-neg41.9%
associate-*r*50.9%
distribute-rgt-neg-in50.9%
*-commutative50.9%
Simplified50.9%
if -3.49999999999999981e199 < k < -1e16 or 1.29999999999999993e-191 < k < 1.99999999999999985e-104Initial program 35.3%
Taylor expanded in x around inf 49.4%
Taylor expanded in b around inf 48.3%
if -1e16 < k < -3.20000000000000007e-90Initial program 25.1%
Taylor expanded in y4 around inf 38.4%
*-commutative38.4%
Simplified38.4%
Taylor expanded in c around inf 51.2%
mul-1-neg51.2%
Simplified51.2%
if -3.20000000000000007e-90 < k < -1.65000000000000005e-133Initial program 0.0%
Taylor expanded in y around inf 20.0%
Taylor expanded in b around inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
sub-neg100.0%
Simplified100.0%
if -1.65000000000000005e-133 < k < -1.69999999999999999e-282Initial program 36.7%
Taylor expanded in x around inf 34.0%
Taylor expanded in y0 around inf 53.7%
Taylor expanded in y5 around 0 50.5%
if -1.69999999999999999e-282 < k < 6.79999999999999971e-218Initial program 30.1%
Taylor expanded in j around inf 50.8%
+-commutative50.8%
mul-1-neg50.8%
unsub-neg50.8%
*-commutative50.8%
Simplified50.8%
Taylor expanded in y5 around -inf 51.4%
mul-1-neg51.4%
Simplified51.4%
if 6.79999999999999971e-218 < k < 1.29999999999999993e-191Initial program 50.0%
Taylor expanded in y4 around inf 50.1%
*-commutative50.1%
Simplified50.1%
Taylor expanded in t around inf 66.8%
associate-*r*67.1%
Simplified67.1%
Taylor expanded in c around inf 68.4%
mul-1-neg68.4%
distribute-rgt-neg-in68.4%
distribute-rgt-neg-in68.4%
Simplified68.4%
if 1.99999999999999985e-104 < k < 4.2000000000000004e-30Initial program 35.0%
Taylor expanded in y1 around -inf 55.3%
associate-*r*55.3%
neg-mul-155.3%
+-commutative55.3%
mul-1-neg55.3%
unsub-neg55.3%
*-commutative55.3%
*-commutative55.3%
*-commutative55.3%
*-commutative55.3%
Simplified55.3%
Taylor expanded in a around inf 55.9%
mul-1-neg55.9%
Simplified55.9%
if 4.2000000000000004e-30 < k < 6.50000000000000021e59Initial program 25.4%
Taylor expanded in y4 around inf 44.7%
*-commutative44.7%
Simplified44.7%
Taylor expanded in t around inf 44.2%
associate-*r*44.2%
Simplified44.2%
Taylor expanded in y2 around inf 57.0%
*-commutative57.0%
Simplified57.0%
if 6.50000000000000021e59 < k < 5.7999999999999997e147Initial program 22.2%
Taylor expanded in y1 around -inf 56.3%
associate-*r*56.3%
neg-mul-156.3%
+-commutative56.3%
mul-1-neg56.3%
unsub-neg56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
Simplified56.3%
Taylor expanded in i around -inf 56.8%
if 5.7999999999999997e147 < k < 1.19999999999999995e185Initial program 50.0%
Taylor expanded in y1 around -inf 87.5%
associate-*r*87.5%
neg-mul-187.5%
+-commutative87.5%
mul-1-neg87.5%
unsub-neg87.5%
*-commutative87.5%
*-commutative87.5%
*-commutative87.5%
*-commutative87.5%
Simplified87.5%
Taylor expanded in y3 around -inf 75.6%
if 1.19999999999999995e185 < k Initial program 14.3%
Taylor expanded in x around inf 43.0%
Taylor expanded in k around inf 54.3%
Final simplification54.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* k y2) (* j y3)))
(t_2 (* c (* y4 (- (* y y3) (* t y2)))))
(t_3 (- (* y1 y4) (* y0 y5))))
(if (<= y0 -2.5e+100)
(* y0 (- (* b (- (* z k) (* x j))) (* y5 t_1)))
(if (<= y0 -0.00078)
(* y2 (+ (* k t_3) (* x (- (* c y0) (* a y1)))))
(if (<= y0 -2e-119)
(* x (* y (- (* a b) (* c i))))
(if (<= y0 -3e-253)
(* t (+ (* y4 (* b j)) (* y2 (- (* a y5) (* c y4)))))
(if (<= y0 2e-264)
(* k (+ (* y2 t_3) (* b (- (* z y0) (* y y4)))))
(if (<= y0 2.6e-130)
t_2
(if (<= y0 8.4e-75)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y0 4.2e-50)
t_2
(if (<= y0 5.3e+100)
(* c (* x (- (* y0 y2) (* y i))))
(if (<= y0 2.3e+181)
(* t_1 t_3)
(*
y0
(+
(* y5 (- (* j y3) (* k y2)))
(* x (- (* c y2) (* b 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 = (k * y2) - (j * y3);
double t_2 = c * (y4 * ((y * y3) - (t * y2)));
double t_3 = (y1 * y4) - (y0 * y5);
double tmp;
if (y0 <= -2.5e+100) {
tmp = y0 * ((b * ((z * k) - (x * j))) - (y5 * t_1));
} else if (y0 <= -0.00078) {
tmp = y2 * ((k * t_3) + (x * ((c * y0) - (a * y1))));
} else if (y0 <= -2e-119) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y0 <= -3e-253) {
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))));
} else if (y0 <= 2e-264) {
tmp = k * ((y2 * t_3) + (b * ((z * y0) - (y * y4))));
} else if (y0 <= 2.6e-130) {
tmp = t_2;
} else if (y0 <= 8.4e-75) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y0 <= 4.2e-50) {
tmp = t_2;
} else if (y0 <= 5.3e+100) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else if (y0 <= 2.3e+181) {
tmp = t_1 * t_3;
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (x * ((c * y2) - (b * 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 = (k * y2) - (j * y3)
t_2 = c * (y4 * ((y * y3) - (t * y2)))
t_3 = (y1 * y4) - (y0 * y5)
if (y0 <= (-2.5d+100)) then
tmp = y0 * ((b * ((z * k) - (x * j))) - (y5 * t_1))
else if (y0 <= (-0.00078d0)) then
tmp = y2 * ((k * t_3) + (x * ((c * y0) - (a * y1))))
else if (y0 <= (-2d-119)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (y0 <= (-3d-253)) then
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))))
else if (y0 <= 2d-264) then
tmp = k * ((y2 * t_3) + (b * ((z * y0) - (y * y4))))
else if (y0 <= 2.6d-130) then
tmp = t_2
else if (y0 <= 8.4d-75) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y0 <= 4.2d-50) then
tmp = t_2
else if (y0 <= 5.3d+100) then
tmp = c * (x * ((y0 * y2) - (y * i)))
else if (y0 <= 2.3d+181) then
tmp = t_1 * t_3
else
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (x * ((c * y2) - (b * 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 = (k * y2) - (j * y3);
double t_2 = c * (y4 * ((y * y3) - (t * y2)));
double t_3 = (y1 * y4) - (y0 * y5);
double tmp;
if (y0 <= -2.5e+100) {
tmp = y0 * ((b * ((z * k) - (x * j))) - (y5 * t_1));
} else if (y0 <= -0.00078) {
tmp = y2 * ((k * t_3) + (x * ((c * y0) - (a * y1))));
} else if (y0 <= -2e-119) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y0 <= -3e-253) {
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))));
} else if (y0 <= 2e-264) {
tmp = k * ((y2 * t_3) + (b * ((z * y0) - (y * y4))));
} else if (y0 <= 2.6e-130) {
tmp = t_2;
} else if (y0 <= 8.4e-75) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y0 <= 4.2e-50) {
tmp = t_2;
} else if (y0 <= 5.3e+100) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else if (y0 <= 2.3e+181) {
tmp = t_1 * t_3;
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (x * ((c * y2) - (b * j))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (k * y2) - (j * y3) t_2 = c * (y4 * ((y * y3) - (t * y2))) t_3 = (y1 * y4) - (y0 * y5) tmp = 0 if y0 <= -2.5e+100: tmp = y0 * ((b * ((z * k) - (x * j))) - (y5 * t_1)) elif y0 <= -0.00078: tmp = y2 * ((k * t_3) + (x * ((c * y0) - (a * y1)))) elif y0 <= -2e-119: tmp = x * (y * ((a * b) - (c * i))) elif y0 <= -3e-253: tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4)))) elif y0 <= 2e-264: tmp = k * ((y2 * t_3) + (b * ((z * y0) - (y * y4)))) elif y0 <= 2.6e-130: tmp = t_2 elif y0 <= 8.4e-75: tmp = i * (y1 * ((x * j) - (z * k))) elif y0 <= 4.2e-50: tmp = t_2 elif y0 <= 5.3e+100: tmp = c * (x * ((y0 * y2) - (y * i))) elif y0 <= 2.3e+181: tmp = t_1 * t_3 else: tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (x * ((c * y2) - (b * 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(k * y2) - Float64(j * y3)) t_2 = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))) t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) tmp = 0.0 if (y0 <= -2.5e+100) tmp = Float64(y0 * Float64(Float64(b * Float64(Float64(z * k) - Float64(x * j))) - Float64(y5 * t_1))); elseif (y0 <= -0.00078) tmp = Float64(y2 * Float64(Float64(k * t_3) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1))))); elseif (y0 <= -2e-119) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (y0 <= -3e-253) tmp = Float64(t * Float64(Float64(y4 * Float64(b * j)) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y0 <= 2e-264) tmp = Float64(k * Float64(Float64(y2 * t_3) + Float64(b * Float64(Float64(z * y0) - Float64(y * y4))))); elseif (y0 <= 2.6e-130) tmp = t_2; elseif (y0 <= 8.4e-75) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y0 <= 4.2e-50) tmp = t_2; elseif (y0 <= 5.3e+100) tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); elseif (y0 <= 2.3e+181) tmp = Float64(t_1 * t_3); else tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(x * Float64(Float64(c * y2) - Float64(b * 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 = (k * y2) - (j * y3); t_2 = c * (y4 * ((y * y3) - (t * y2))); t_3 = (y1 * y4) - (y0 * y5); tmp = 0.0; if (y0 <= -2.5e+100) tmp = y0 * ((b * ((z * k) - (x * j))) - (y5 * t_1)); elseif (y0 <= -0.00078) tmp = y2 * ((k * t_3) + (x * ((c * y0) - (a * y1)))); elseif (y0 <= -2e-119) tmp = x * (y * ((a * b) - (c * i))); elseif (y0 <= -3e-253) tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4)))); elseif (y0 <= 2e-264) tmp = k * ((y2 * t_3) + (b * ((z * y0) - (y * y4)))); elseif (y0 <= 2.6e-130) tmp = t_2; elseif (y0 <= 8.4e-75) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y0 <= 4.2e-50) tmp = t_2; elseif (y0 <= 5.3e+100) tmp = c * (x * ((y0 * y2) - (y * i))); elseif (y0 <= 2.3e+181) tmp = t_1 * t_3; else tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (x * ((c * y2) - (b * 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[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.5e+100], N[(y0 * N[(N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -0.00078], N[(y2 * N[(N[(k * t$95$3), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2e-119], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -3e-253], N[(t * N[(N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2e-264], N[(k * N[(N[(y2 * t$95$3), $MachinePrecision] + N[(b * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.6e-130], t$95$2, If[LessEqual[y0, 8.4e-75], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.2e-50], t$95$2, If[LessEqual[y0, 5.3e+100], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.3e+181], N[(t$95$1 * t$95$3), $MachinePrecision], N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_3 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;y0 \leq -2.5 \cdot 10^{+100}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right) - y5 \cdot t\_1\right)\\
\mathbf{elif}\;y0 \leq -0.00078:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_3 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y0 \leq -2 \cdot 10^{-119}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;y0 \leq -3 \cdot 10^{-253}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 2 \cdot 10^{-264}:\\
\;\;\;\;k \cdot \left(y2 \cdot t\_3 + b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 2.6 \cdot 10^{-130}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq 8.4 \cdot 10^{-75}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y0 \leq 4.2 \cdot 10^{-50}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq 5.3 \cdot 10^{+100}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{elif}\;y0 \leq 2.3 \cdot 10^{+181}:\\
\;\;\;\;t\_1 \cdot t\_3\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + x \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\end{array}
\end{array}
if y0 < -2.4999999999999999e100Initial program 21.6%
Taylor expanded in b around inf 43.0%
Taylor expanded in y0 around inf 76.4%
if -2.4999999999999999e100 < y0 < -7.79999999999999986e-4Initial program 28.6%
Taylor expanded in x around inf 61.9%
Taylor expanded in y2 around inf 76.7%
if -7.79999999999999986e-4 < y0 < -2.00000000000000003e-119Initial program 23.5%
Taylor expanded in x around inf 43.2%
Taylor expanded in y around inf 53.7%
if -2.00000000000000003e-119 < y0 < -3.0000000000000002e-253Initial program 32.6%
Taylor expanded in y4 around inf 29.3%
*-commutative29.3%
Simplified29.3%
Taylor expanded in t around inf 40.1%
associate-*r*40.1%
Simplified40.1%
if -3.0000000000000002e-253 < y0 < 2e-264Initial program 25.1%
Taylor expanded in b around inf 40.7%
Taylor expanded in k around -inf 51.4%
associate-*r*51.4%
neg-mul-151.4%
+-commutative51.4%
mul-1-neg51.4%
*-commutative51.4%
unsub-neg51.4%
*-commutative51.4%
*-commutative51.4%
Simplified51.4%
if 2e-264 < y0 < 2.6000000000000001e-130 or 8.4000000000000004e-75 < y0 < 4.2000000000000002e-50Initial program 43.1%
Taylor expanded in y4 around inf 43.4%
*-commutative43.4%
Simplified43.4%
Taylor expanded in c around inf 58.3%
mul-1-neg58.3%
Simplified58.3%
if 2.6000000000000001e-130 < y0 < 8.4000000000000004e-75Initial program 19.0%
Taylor expanded in y1 around -inf 71.7%
associate-*r*71.7%
neg-mul-171.7%
+-commutative71.7%
mul-1-neg71.7%
unsub-neg71.7%
*-commutative71.7%
*-commutative71.7%
*-commutative71.7%
*-commutative71.7%
Simplified71.7%
Taylor expanded in i around -inf 51.4%
if 4.2000000000000002e-50 < y0 < 5.2999999999999998e100Initial program 30.4%
Taylor expanded in x around inf 39.5%
Taylor expanded in c around inf 61.7%
if 5.2999999999999998e100 < y0 < 2.2999999999999999e181Initial program 12.9%
Taylor expanded in x around inf 13.7%
Taylor expanded in x around 0 58.0%
if 2.2999999999999999e181 < y0 Initial program 26.3%
Taylor expanded in x around inf 31.6%
Taylor expanded in y0 around inf 64.0%
Final simplification59.6%
(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
(*
y2
(+
(+ (* k t_1) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4))))))
(t_3
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5)))))))
(t_4 (- (* k y2) (* j y3)))
(t_5 (- (* y y3) (* t y2)))
(t_6 (* y4 (+ (+ (* y1 t_4) (* b (- (* t j) (* y k)))) (* c t_5)))))
(if (<= y4 -3.3e+198)
t_6
(if (<= y4 -4.7e-176)
t_3
(if (<= y4 -1e-205)
t_2
(if (<= y4 6.3e-286)
t_3
(if (<= y4 4.8e-169)
t_2
(if (<= y4 1.06e-25)
(*
k
(-
(* z (- (* b y0) (* i y1)))
(+
(* y (- (* b y4) (* i y5)))
(* y2 (- (* y0 y5) (* y1 y4))))))
(if (<= y4 8e+54)
t_3
(if (<= y4 1.7e+216)
t_6
(if (<= y4 3.2e+252) (* t_4 t_1) (* c (* y4 t_5)))))))))))))
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 = y2 * (((k * t_1) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
double t_3 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_4 = (k * y2) - (j * y3);
double t_5 = (y * y3) - (t * y2);
double t_6 = y4 * (((y1 * t_4) + (b * ((t * j) - (y * k)))) + (c * t_5));
double tmp;
if (y4 <= -3.3e+198) {
tmp = t_6;
} else if (y4 <= -4.7e-176) {
tmp = t_3;
} else if (y4 <= -1e-205) {
tmp = t_2;
} else if (y4 <= 6.3e-286) {
tmp = t_3;
} else if (y4 <= 4.8e-169) {
tmp = t_2;
} else if (y4 <= 1.06e-25) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * ((y0 * y5) - (y1 * y4)))));
} else if (y4 <= 8e+54) {
tmp = t_3;
} else if (y4 <= 1.7e+216) {
tmp = t_6;
} else if (y4 <= 3.2e+252) {
tmp = t_4 * t_1;
} else {
tmp = c * (y4 * t_5);
}
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 = (y1 * y4) - (y0 * y5)
t_2 = y2 * (((k * t_1) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
t_3 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))))
t_4 = (k * y2) - (j * y3)
t_5 = (y * y3) - (t * y2)
t_6 = y4 * (((y1 * t_4) + (b * ((t * j) - (y * k)))) + (c * t_5))
if (y4 <= (-3.3d+198)) then
tmp = t_6
else if (y4 <= (-4.7d-176)) then
tmp = t_3
else if (y4 <= (-1d-205)) then
tmp = t_2
else if (y4 <= 6.3d-286) then
tmp = t_3
else if (y4 <= 4.8d-169) then
tmp = t_2
else if (y4 <= 1.06d-25) then
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * ((y0 * y5) - (y1 * y4)))))
else if (y4 <= 8d+54) then
tmp = t_3
else if (y4 <= 1.7d+216) then
tmp = t_6
else if (y4 <= 3.2d+252) then
tmp = t_4 * t_1
else
tmp = c * (y4 * t_5)
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 = y2 * (((k * t_1) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
double t_3 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_4 = (k * y2) - (j * y3);
double t_5 = (y * y3) - (t * y2);
double t_6 = y4 * (((y1 * t_4) + (b * ((t * j) - (y * k)))) + (c * t_5));
double tmp;
if (y4 <= -3.3e+198) {
tmp = t_6;
} else if (y4 <= -4.7e-176) {
tmp = t_3;
} else if (y4 <= -1e-205) {
tmp = t_2;
} else if (y4 <= 6.3e-286) {
tmp = t_3;
} else if (y4 <= 4.8e-169) {
tmp = t_2;
} else if (y4 <= 1.06e-25) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * ((y0 * y5) - (y1 * y4)))));
} else if (y4 <= 8e+54) {
tmp = t_3;
} else if (y4 <= 1.7e+216) {
tmp = t_6;
} else if (y4 <= 3.2e+252) {
tmp = t_4 * t_1;
} else {
tmp = c * (y4 * t_5);
}
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 = y2 * (((k * t_1) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) t_3 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) t_4 = (k * y2) - (j * y3) t_5 = (y * y3) - (t * y2) t_6 = y4 * (((y1 * t_4) + (b * ((t * j) - (y * k)))) + (c * t_5)) tmp = 0 if y4 <= -3.3e+198: tmp = t_6 elif y4 <= -4.7e-176: tmp = t_3 elif y4 <= -1e-205: tmp = t_2 elif y4 <= 6.3e-286: tmp = t_3 elif y4 <= 4.8e-169: tmp = t_2 elif y4 <= 1.06e-25: tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * ((y0 * y5) - (y1 * y4))))) elif y4 <= 8e+54: tmp = t_3 elif y4 <= 1.7e+216: tmp = t_6 elif y4 <= 3.2e+252: tmp = t_4 * t_1 else: tmp = c * (y4 * t_5) 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(y2 * Float64(Float64(Float64(k * t_1) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))) t_3 = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / y5)))))) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) t_5 = Float64(Float64(y * y3) - Float64(t * y2)) t_6 = Float64(y4 * Float64(Float64(Float64(y1 * t_4) + Float64(b * Float64(Float64(t * j) - Float64(y * k)))) + Float64(c * t_5))) tmp = 0.0 if (y4 <= -3.3e+198) tmp = t_6; elseif (y4 <= -4.7e-176) tmp = t_3; elseif (y4 <= -1e-205) tmp = t_2; elseif (y4 <= 6.3e-286) tmp = t_3; elseif (y4 <= 4.8e-169) tmp = t_2; elseif (y4 <= 1.06e-25) tmp = Float64(k * Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(y * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))))); elseif (y4 <= 8e+54) tmp = t_3; elseif (y4 <= 1.7e+216) tmp = t_6; elseif (y4 <= 3.2e+252) tmp = Float64(t_4 * t_1); else tmp = Float64(c * Float64(y4 * t_5)); 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 = y2 * (((k * t_1) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); t_3 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))); t_4 = (k * y2) - (j * y3); t_5 = (y * y3) - (t * y2); t_6 = y4 * (((y1 * t_4) + (b * ((t * j) - (y * k)))) + (c * t_5)); tmp = 0.0; if (y4 <= -3.3e+198) tmp = t_6; elseif (y4 <= -4.7e-176) tmp = t_3; elseif (y4 <= -1e-205) tmp = t_2; elseif (y4 <= 6.3e-286) tmp = t_3; elseif (y4 <= 4.8e-169) tmp = t_2; elseif (y4 <= 1.06e-25) tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * ((y0 * y5) - (y1 * y4))))); elseif (y4 <= 8e+54) tmp = t_3; elseif (y4 <= 1.7e+216) tmp = t_6; elseif (y4 <= 3.2e+252) tmp = t_4 * t_1; else tmp = c * (y4 * t_5); 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[(y2 * N[(N[(N[(k * t$95$1), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y4 * N[(N[(N[(y1 * t$95$4), $MachinePrecision] + N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -3.3e+198], t$95$6, If[LessEqual[y4, -4.7e-176], t$95$3, If[LessEqual[y4, -1e-205], t$95$2, If[LessEqual[y4, 6.3e-286], t$95$3, If[LessEqual[y4, 4.8e-169], t$95$2, If[LessEqual[y4, 1.06e-25], N[(k * N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 8e+54], t$95$3, If[LessEqual[y4, 1.7e+216], t$95$6, If[LessEqual[y4, 3.2e+252], N[(t$95$4 * t$95$1), $MachinePrecision], N[(c * N[(y4 * t$95$5), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \cdot y5\\
t_2 := y2 \cdot \left(\left(k \cdot t\_1 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_3 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
t_4 := k \cdot y2 - j \cdot y3\\
t_5 := y \cdot y3 - t \cdot y2\\
t_6 := y4 \cdot \left(\left(y1 \cdot t\_4 + b \cdot \left(t \cdot j - y \cdot k\right)\right) + c \cdot t\_5\right)\\
\mathbf{if}\;y4 \leq -3.3 \cdot 10^{+198}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;y4 \leq -4.7 \cdot 10^{-176}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y4 \leq -1 \cdot 10^{-205}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq 6.3 \cdot 10^{-286}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y4 \leq 4.8 \cdot 10^{-169}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq 1.06 \cdot 10^{-25}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(y \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\right)\\
\mathbf{elif}\;y4 \leq 8 \cdot 10^{+54}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y4 \leq 1.7 \cdot 10^{+216}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;y4 \leq 3.2 \cdot 10^{+252}:\\
\;\;\;\;t\_4 \cdot t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot t\_5\right)\\
\end{array}
\end{array}
if y4 < -3.29999999999999994e198 or 8.0000000000000006e54 < y4 < 1.70000000000000013e216Initial program 24.4%
Taylor expanded in y4 around inf 60.9%
if -3.29999999999999994e198 < y4 < -4.69999999999999984e-176 or -1e-205 < y4 < 6.2999999999999999e-286 or 1.05999999999999998e-25 < y4 < 8.0000000000000006e54Initial program 29.2%
Taylor expanded in x around inf 47.8%
Taylor expanded in y0 around inf 47.6%
Taylor expanded in y5 around -inf 56.1%
associate-*r*56.1%
neg-mul-156.1%
+-commutative56.1%
mul-1-neg56.1%
unsub-neg56.1%
associate-/l*58.7%
*-commutative58.7%
*-commutative58.7%
Simplified58.7%
if -4.69999999999999984e-176 < y4 < -1e-205 or 6.2999999999999999e-286 < y4 < 4.80000000000000021e-169Initial program 33.4%
Taylor expanded in y2 around inf 61.0%
if 4.80000000000000021e-169 < y4 < 1.05999999999999998e-25Initial program 26.9%
Taylor expanded in k around inf 69.6%
+-commutative69.6%
mul-1-neg69.6%
unsub-neg69.6%
*-commutative69.6%
associate-*r*69.6%
neg-mul-169.6%
Simplified69.6%
if 1.70000000000000013e216 < y4 < 3.2000000000000002e252Initial program 28.6%
Taylor expanded in x around inf 42.9%
Taylor expanded in x around 0 85.8%
if 3.2000000000000002e252 < y4 Initial program 15.4%
Taylor expanded in y4 around inf 30.8%
*-commutative30.8%
Simplified30.8%
Taylor expanded in c around inf 61.6%
mul-1-neg61.6%
Simplified61.6%
Final simplification61.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y2) (* b j)))
(t_2 (* y0 (* x t_1)))
(t_3 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= x -2.4e+249)
(* a (* y1 (- (* z y3) (* x y2))))
(if (<= x -5.9e+159)
t_2
(if (<= x -3.4e+105)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= x -80000000000000.0)
t_2
(if (<= x 2.9e-242)
(* b (* z (- (* k y0) (* t a))))
(if (<= x 4.7e-32)
(* y1 (* z (- (* a y3) (* i k))))
(if (<= x 0.72)
(* b (* x (- (* y a) (* j y0))))
(if (<= x 2.5e+30)
t_3
(if (<= x 1.02e+153)
(* x (* y (- (* a b) (* c i))))
(if (<= x 4.8e+175)
(* x (* y0 t_1))
(if (<= x 6e+195) t_3 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 = (c * y2) - (b * j);
double t_2 = y0 * (x * t_1);
double t_3 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (x <= -2.4e+249) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (x <= -5.9e+159) {
tmp = t_2;
} else if (x <= -3.4e+105) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (x <= -80000000000000.0) {
tmp = t_2;
} else if (x <= 2.9e-242) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (x <= 4.7e-32) {
tmp = y1 * (z * ((a * y3) - (i * k)));
} else if (x <= 0.72) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= 2.5e+30) {
tmp = t_3;
} else if (x <= 1.02e+153) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (x <= 4.8e+175) {
tmp = x * (y0 * t_1);
} else if (x <= 6e+195) {
tmp = t_3;
} 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 = (c * y2) - (b * j)
t_2 = y0 * (x * t_1)
t_3 = k * (y2 * ((y1 * y4) - (y0 * y5)))
if (x <= (-2.4d+249)) then
tmp = a * (y1 * ((z * y3) - (x * y2)))
else if (x <= (-5.9d+159)) then
tmp = t_2
else if (x <= (-3.4d+105)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (x <= (-80000000000000.0d0)) then
tmp = t_2
else if (x <= 2.9d-242) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (x <= 4.7d-32) then
tmp = y1 * (z * ((a * y3) - (i * k)))
else if (x <= 0.72d0) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= 2.5d+30) then
tmp = t_3
else if (x <= 1.02d+153) then
tmp = x * (y * ((a * b) - (c * i)))
else if (x <= 4.8d+175) then
tmp = x * (y0 * t_1)
else if (x <= 6d+195) then
tmp = t_3
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 = (c * y2) - (b * j);
double t_2 = y0 * (x * t_1);
double t_3 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (x <= -2.4e+249) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (x <= -5.9e+159) {
tmp = t_2;
} else if (x <= -3.4e+105) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (x <= -80000000000000.0) {
tmp = t_2;
} else if (x <= 2.9e-242) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (x <= 4.7e-32) {
tmp = y1 * (z * ((a * y3) - (i * k)));
} else if (x <= 0.72) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= 2.5e+30) {
tmp = t_3;
} else if (x <= 1.02e+153) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (x <= 4.8e+175) {
tmp = x * (y0 * t_1);
} else if (x <= 6e+195) {
tmp = t_3;
} 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 = (c * y2) - (b * j) t_2 = y0 * (x * t_1) t_3 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if x <= -2.4e+249: tmp = a * (y1 * ((z * y3) - (x * y2))) elif x <= -5.9e+159: tmp = t_2 elif x <= -3.4e+105: tmp = a * (y * ((x * b) - (y3 * y5))) elif x <= -80000000000000.0: tmp = t_2 elif x <= 2.9e-242: tmp = b * (z * ((k * y0) - (t * a))) elif x <= 4.7e-32: tmp = y1 * (z * ((a * y3) - (i * k))) elif x <= 0.72: tmp = b * (x * ((y * a) - (j * y0))) elif x <= 2.5e+30: tmp = t_3 elif x <= 1.02e+153: tmp = x * (y * ((a * b) - (c * i))) elif x <= 4.8e+175: tmp = x * (y0 * t_1) elif x <= 6e+195: tmp = t_3 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(c * y2) - Float64(b * j)) t_2 = Float64(y0 * Float64(x * t_1)) t_3 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (x <= -2.4e+249) tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); elseif (x <= -5.9e+159) tmp = t_2; elseif (x <= -3.4e+105) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (x <= -80000000000000.0) tmp = t_2; elseif (x <= 2.9e-242) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (x <= 4.7e-32) tmp = Float64(y1 * Float64(z * Float64(Float64(a * y3) - Float64(i * k)))); elseif (x <= 0.72) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= 2.5e+30) tmp = t_3; elseif (x <= 1.02e+153) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (x <= 4.8e+175) tmp = Float64(x * Float64(y0 * t_1)); elseif (x <= 6e+195) tmp = t_3; 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 = (c * y2) - (b * j); t_2 = y0 * (x * t_1); t_3 = k * (y2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (x <= -2.4e+249) tmp = a * (y1 * ((z * y3) - (x * y2))); elseif (x <= -5.9e+159) tmp = t_2; elseif (x <= -3.4e+105) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (x <= -80000000000000.0) tmp = t_2; elseif (x <= 2.9e-242) tmp = b * (z * ((k * y0) - (t * a))); elseif (x <= 4.7e-32) tmp = y1 * (z * ((a * y3) - (i * k))); elseif (x <= 0.72) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= 2.5e+30) tmp = t_3; elseif (x <= 1.02e+153) tmp = x * (y * ((a * b) - (c * i))); elseif (x <= 4.8e+175) tmp = x * (y0 * t_1); elseif (x <= 6e+195) tmp = t_3; 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[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(x * t$95$1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.4e+249], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.9e+159], t$95$2, If[LessEqual[x, -3.4e+105], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -80000000000000.0], t$95$2, If[LessEqual[x, 2.9e-242], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.7e-32], N[(y1 * N[(z * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 0.72], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.5e+30], t$95$3, If[LessEqual[x, 1.02e+153], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.8e+175], N[(x * N[(y0 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6e+195], t$95$3, t$95$2]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y2 - b \cdot j\\
t_2 := y0 \cdot \left(x \cdot t\_1\right)\\
t_3 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;x \leq -2.4 \cdot 10^{+249}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq -5.9 \cdot 10^{+159}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;x \leq -3.4 \cdot 10^{+105}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq -80000000000000:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;x \leq 2.9 \cdot 10^{-242}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;x \leq 4.7 \cdot 10^{-32}:\\
\;\;\;\;y1 \cdot \left(z \cdot \left(a \cdot y3 - i \cdot k\right)\right)\\
\mathbf{elif}\;x \leq 0.72:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq 2.5 \cdot 10^{+30}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;x \leq 1.02 \cdot 10^{+153}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;x \leq 4.8 \cdot 10^{+175}:\\
\;\;\;\;x \cdot \left(y0 \cdot t\_1\right)\\
\mathbf{elif}\;x \leq 6 \cdot 10^{+195}:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if x < -2.4e249Initial program 12.0%
Taylor expanded in y1 around -inf 41.7%
associate-*r*41.7%
neg-mul-141.7%
+-commutative41.7%
mul-1-neg41.7%
unsub-neg41.7%
*-commutative41.7%
*-commutative41.7%
*-commutative41.7%
*-commutative41.7%
Simplified41.7%
Taylor expanded in a around inf 64.9%
mul-1-neg64.9%
Simplified64.9%
if -2.4e249 < x < -5.89999999999999993e159 or -3.3999999999999999e105 < x < -8e13 or 6.0000000000000001e195 < x Initial program 14.4%
Taylor expanded in x around inf 51.7%
Taylor expanded in y0 around inf 61.7%
Taylor expanded in y5 around 0 62.0%
*-commutative62.0%
*-commutative62.0%
Simplified62.0%
if -5.89999999999999993e159 < x < -3.3999999999999999e105Initial program 29.0%
Taylor expanded in y around inf 57.5%
Taylor expanded in a around inf 57.4%
if -8e13 < x < 2.9000000000000001e-242Initial program 38.4%
Taylor expanded in b around inf 48.3%
Taylor expanded in z around -inf 41.6%
associate-*r*41.6%
mul-1-neg41.6%
Simplified41.6%
if 2.9000000000000001e-242 < x < 4.70000000000000019e-32Initial program 39.8%
Taylor expanded in y1 around -inf 43.0%
associate-*r*43.0%
neg-mul-143.0%
+-commutative43.0%
mul-1-neg43.0%
unsub-neg43.0%
*-commutative43.0%
*-commutative43.0%
*-commutative43.0%
*-commutative43.0%
Simplified43.0%
Taylor expanded in z around -inf 45.9%
if 4.70000000000000019e-32 < x < 0.71999999999999997Initial program 28.6%
Taylor expanded in x around inf 44.8%
Taylor expanded in b around inf 73.5%
if 0.71999999999999997 < x < 2.4999999999999999e30 or 4.8e175 < x < 6.0000000000000001e195Initial program 50.0%
Taylor expanded in x around inf 50.6%
Taylor expanded in k around inf 75.4%
if 2.4999999999999999e30 < x < 1.0199999999999999e153Initial program 18.4%
Taylor expanded in x around inf 27.3%
Taylor expanded in y around inf 47.1%
if 1.0199999999999999e153 < x < 4.8e175Initial program 13.4%
Taylor expanded in x around inf 50.0%
Taylor expanded in y0 around inf 51.5%
Taylor expanded in y5 around 0 75.0%
Final simplification54.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y0 (- (* c y2) (* b j)))))
(t_2 (* a (* y (- (* x b) (* y3 y5))))))
(if (<= k -3.4e+199)
(* y0 (* y5 (- (* k y2))))
(if (<= k -2.2e+18)
(* b (* x (- (* y a) (* j y0))))
(if (<= k -7.5e-143)
(* x (* y (- (* a b) (* c i))))
(if (<= k 1.55e-301)
t_1
(if (<= k 6.8e-192)
(* j (* t (- (* b y4) (* i y5))))
(if (<= k 1.7e-132)
t_1
(if (<= k 4.8e-66)
t_2
(if (<= k 2.15e+37)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= k 1.15e+59)
t_2
(if (<= k 8.8e+147)
(* i (* y1 (- (* x j) (* z k))))
(* k (* y2 (- (* y1 y4) (* y0 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 = x * (y0 * ((c * y2) - (b * j)));
double t_2 = a * (y * ((x * b) - (y3 * y5)));
double tmp;
if (k <= -3.4e+199) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -2.2e+18) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (k <= -7.5e-143) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (k <= 1.55e-301) {
tmp = t_1;
} else if (k <= 6.8e-192) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 1.7e-132) {
tmp = t_1;
} else if (k <= 4.8e-66) {
tmp = t_2;
} else if (k <= 2.15e+37) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 1.15e+59) {
tmp = t_2;
} else if (k <= 8.8e+147) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * 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) :: tmp
t_1 = x * (y0 * ((c * y2) - (b * j)))
t_2 = a * (y * ((x * b) - (y3 * y5)))
if (k <= (-3.4d+199)) then
tmp = y0 * (y5 * -(k * y2))
else if (k <= (-2.2d+18)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (k <= (-7.5d-143)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (k <= 1.55d-301) then
tmp = t_1
else if (k <= 6.8d-192) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (k <= 1.7d-132) then
tmp = t_1
else if (k <= 4.8d-66) then
tmp = t_2
else if (k <= 2.15d+37) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (k <= 1.15d+59) then
tmp = t_2
else if (k <= 8.8d+147) then
tmp = i * (y1 * ((x * j) - (z * k)))
else
tmp = k * (y2 * ((y1 * y4) - (y0 * 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 = x * (y0 * ((c * y2) - (b * j)));
double t_2 = a * (y * ((x * b) - (y3 * y5)));
double tmp;
if (k <= -3.4e+199) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -2.2e+18) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (k <= -7.5e-143) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (k <= 1.55e-301) {
tmp = t_1;
} else if (k <= 6.8e-192) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 1.7e-132) {
tmp = t_1;
} else if (k <= 4.8e-66) {
tmp = t_2;
} else if (k <= 2.15e+37) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 1.15e+59) {
tmp = t_2;
} else if (k <= 8.8e+147) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y0 * ((c * y2) - (b * j))) t_2 = a * (y * ((x * b) - (y3 * y5))) tmp = 0 if k <= -3.4e+199: tmp = y0 * (y5 * -(k * y2)) elif k <= -2.2e+18: tmp = b * (x * ((y * a) - (j * y0))) elif k <= -7.5e-143: tmp = x * (y * ((a * b) - (c * i))) elif k <= 1.55e-301: tmp = t_1 elif k <= 6.8e-192: tmp = j * (t * ((b * y4) - (i * y5))) elif k <= 1.7e-132: tmp = t_1 elif k <= 4.8e-66: tmp = t_2 elif k <= 2.15e+37: tmp = t * (y2 * ((a * y5) - (c * y4))) elif k <= 1.15e+59: tmp = t_2 elif k <= 8.8e+147: tmp = i * (y1 * ((x * j) - (z * k))) else: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) 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(y0 * Float64(Float64(c * y2) - Float64(b * j)))) t_2 = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))) tmp = 0.0 if (k <= -3.4e+199) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (k <= -2.2e+18) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (k <= -7.5e-143) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (k <= 1.55e-301) tmp = t_1; elseif (k <= 6.8e-192) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (k <= 1.7e-132) tmp = t_1; elseif (k <= 4.8e-66) tmp = t_2; elseif (k <= 2.15e+37) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (k <= 1.15e+59) tmp = t_2; elseif (k <= 8.8e+147) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); else tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * 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 = x * (y0 * ((c * y2) - (b * j))); t_2 = a * (y * ((x * b) - (y3 * y5))); tmp = 0.0; if (k <= -3.4e+199) tmp = y0 * (y5 * -(k * y2)); elseif (k <= -2.2e+18) tmp = b * (x * ((y * a) - (j * y0))); elseif (k <= -7.5e-143) tmp = x * (y * ((a * b) - (c * i))); elseif (k <= 1.55e-301) tmp = t_1; elseif (k <= 6.8e-192) tmp = j * (t * ((b * y4) - (i * y5))); elseif (k <= 1.7e-132) tmp = t_1; elseif (k <= 4.8e-66) tmp = t_2; elseif (k <= 2.15e+37) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (k <= 1.15e+59) tmp = t_2; elseif (k <= 8.8e+147) tmp = i * (y1 * ((x * j) - (z * k))); else tmp = k * (y2 * ((y1 * y4) - (y0 * 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[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -3.4e+199], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -2.2e+18], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -7.5e-143], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.55e-301], t$95$1, If[LessEqual[k, 6.8e-192], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.7e-132], t$95$1, If[LessEqual[k, 4.8e-66], t$95$2, If[LessEqual[k, 2.15e+37], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.15e+59], t$95$2, If[LessEqual[k, 8.8e+147], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
t_2 := a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{if}\;k \leq -3.4 \cdot 10^{+199}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -2.2 \cdot 10^{+18}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;k \leq -7.5 \cdot 10^{-143}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;k \leq 1.55 \cdot 10^{-301}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 6.8 \cdot 10^{-192}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq 1.7 \cdot 10^{-132}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 4.8 \cdot 10^{-66}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;k \leq 2.15 \cdot 10^{+37}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;k \leq 1.15 \cdot 10^{+59}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;k \leq 8.8 \cdot 10^{+147}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if k < -3.4e199Initial program 12.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in y0 around inf 44.4%
Taylor expanded in y5 around -inf 50.4%
associate-*r*50.4%
neg-mul-150.4%
+-commutative50.4%
mul-1-neg50.4%
unsub-neg50.4%
associate-/l*50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in k around inf 41.9%
mul-1-neg41.9%
associate-*r*50.9%
distribute-rgt-neg-in50.9%
*-commutative50.9%
Simplified50.9%
if -3.4e199 < k < -2.2e18Initial program 34.8%
Taylor expanded in x around inf 46.9%
Taylor expanded in b around inf 48.1%
if -2.2e18 < k < -7.5000000000000003e-143Initial program 18.3%
Taylor expanded in x around inf 46.3%
Taylor expanded in y around inf 52.8%
if -7.5000000000000003e-143 < k < 1.55000000000000007e-301 or 6.80000000000000003e-192 < k < 1.69999999999999991e-132Initial program 38.1%
Taylor expanded in x around inf 36.0%
Taylor expanded in y0 around inf 53.8%
Taylor expanded in y5 around 0 49.5%
if 1.55000000000000007e-301 < k < 6.80000000000000003e-192Initial program 37.0%
Taylor expanded in j around inf 64.0%
+-commutative64.0%
mul-1-neg64.0%
unsub-neg64.0%
*-commutative64.0%
Simplified64.0%
Taylor expanded in t around inf 49.5%
if 1.69999999999999991e-132 < k < 4.80000000000000052e-66 or 2.1499999999999998e37 < k < 1.15000000000000004e59Initial program 42.9%
Taylor expanded in y around inf 38.2%
Taylor expanded in a around inf 48.3%
if 4.80000000000000052e-66 < k < 2.1499999999999998e37Initial program 20.4%
Taylor expanded in y4 around inf 45.4%
*-commutative45.4%
Simplified45.4%
Taylor expanded in t around inf 40.4%
associate-*r*40.4%
Simplified40.4%
Taylor expanded in y2 around inf 50.9%
*-commutative50.9%
Simplified50.9%
if 1.15000000000000004e59 < k < 8.8000000000000007e147Initial program 22.2%
Taylor expanded in y1 around -inf 56.3%
associate-*r*56.3%
neg-mul-156.3%
+-commutative56.3%
mul-1-neg56.3%
unsub-neg56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
Simplified56.3%
Taylor expanded in i around -inf 56.8%
if 8.8000000000000007e147 < k Initial program 22.2%
Taylor expanded in x around inf 44.5%
Taylor expanded in k around inf 53.6%
Final simplification51.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y2) (* b j))) (t_2 (* a (* y (- (* x b) (* y3 y5))))))
(if (<= k -9e+203)
(* y0 (* y5 (- (* k y2))))
(if (<= k -1.04e+18)
(* b (* x (- (* y a) (* j y0))))
(if (<= k -6e-143)
(* x (* y (- (* a b) (* c i))))
(if (<= k 1.4e-300)
(* y0 (* x t_1))
(if (<= k 8.5e-191)
(* j (* t (- (* b y4) (* i y5))))
(if (<= k 2.1e-132)
(* x (* y0 t_1))
(if (<= k 1.65e-65)
t_2
(if (<= k 6e+39)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= k 3.85e+59)
t_2
(if (<= k 6.6e+147)
(* i (* y1 (- (* x j) (* z k))))
(* k (* y2 (- (* y1 y4) (* y0 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 = (c * y2) - (b * j);
double t_2 = a * (y * ((x * b) - (y3 * y5)));
double tmp;
if (k <= -9e+203) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -1.04e+18) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (k <= -6e-143) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (k <= 1.4e-300) {
tmp = y0 * (x * t_1);
} else if (k <= 8.5e-191) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 2.1e-132) {
tmp = x * (y0 * t_1);
} else if (k <= 1.65e-65) {
tmp = t_2;
} else if (k <= 6e+39) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 3.85e+59) {
tmp = t_2;
} else if (k <= 6.6e+147) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * 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) :: tmp
t_1 = (c * y2) - (b * j)
t_2 = a * (y * ((x * b) - (y3 * y5)))
if (k <= (-9d+203)) then
tmp = y0 * (y5 * -(k * y2))
else if (k <= (-1.04d+18)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (k <= (-6d-143)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (k <= 1.4d-300) then
tmp = y0 * (x * t_1)
else if (k <= 8.5d-191) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (k <= 2.1d-132) then
tmp = x * (y0 * t_1)
else if (k <= 1.65d-65) then
tmp = t_2
else if (k <= 6d+39) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (k <= 3.85d+59) then
tmp = t_2
else if (k <= 6.6d+147) then
tmp = i * (y1 * ((x * j) - (z * k)))
else
tmp = k * (y2 * ((y1 * y4) - (y0 * 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 = (c * y2) - (b * j);
double t_2 = a * (y * ((x * b) - (y3 * y5)));
double tmp;
if (k <= -9e+203) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -1.04e+18) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (k <= -6e-143) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (k <= 1.4e-300) {
tmp = y0 * (x * t_1);
} else if (k <= 8.5e-191) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 2.1e-132) {
tmp = x * (y0 * t_1);
} else if (k <= 1.65e-65) {
tmp = t_2;
} else if (k <= 6e+39) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 3.85e+59) {
tmp = t_2;
} else if (k <= 6.6e+147) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (c * y2) - (b * j) t_2 = a * (y * ((x * b) - (y3 * y5))) tmp = 0 if k <= -9e+203: tmp = y0 * (y5 * -(k * y2)) elif k <= -1.04e+18: tmp = b * (x * ((y * a) - (j * y0))) elif k <= -6e-143: tmp = x * (y * ((a * b) - (c * i))) elif k <= 1.4e-300: tmp = y0 * (x * t_1) elif k <= 8.5e-191: tmp = j * (t * ((b * y4) - (i * y5))) elif k <= 2.1e-132: tmp = x * (y0 * t_1) elif k <= 1.65e-65: tmp = t_2 elif k <= 6e+39: tmp = t * (y2 * ((a * y5) - (c * y4))) elif k <= 3.85e+59: tmp = t_2 elif k <= 6.6e+147: tmp = i * (y1 * ((x * j) - (z * k))) else: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) 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 * y2) - Float64(b * j)) t_2 = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))) tmp = 0.0 if (k <= -9e+203) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (k <= -1.04e+18) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (k <= -6e-143) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (k <= 1.4e-300) tmp = Float64(y0 * Float64(x * t_1)); elseif (k <= 8.5e-191) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (k <= 2.1e-132) tmp = Float64(x * Float64(y0 * t_1)); elseif (k <= 1.65e-65) tmp = t_2; elseif (k <= 6e+39) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (k <= 3.85e+59) tmp = t_2; elseif (k <= 6.6e+147) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); else tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * 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 = (c * y2) - (b * j); t_2 = a * (y * ((x * b) - (y3 * y5))); tmp = 0.0; if (k <= -9e+203) tmp = y0 * (y5 * -(k * y2)); elseif (k <= -1.04e+18) tmp = b * (x * ((y * a) - (j * y0))); elseif (k <= -6e-143) tmp = x * (y * ((a * b) - (c * i))); elseif (k <= 1.4e-300) tmp = y0 * (x * t_1); elseif (k <= 8.5e-191) tmp = j * (t * ((b * y4) - (i * y5))); elseif (k <= 2.1e-132) tmp = x * (y0 * t_1); elseif (k <= 1.65e-65) tmp = t_2; elseif (k <= 6e+39) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (k <= 3.85e+59) tmp = t_2; elseif (k <= 6.6e+147) tmp = i * (y1 * ((x * j) - (z * k))); else tmp = k * (y2 * ((y1 * y4) - (y0 * 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[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -9e+203], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.04e+18], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -6e-143], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.4e-300], N[(y0 * N[(x * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 8.5e-191], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.1e-132], N[(x * N[(y0 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.65e-65], t$95$2, If[LessEqual[k, 6e+39], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 3.85e+59], t$95$2, If[LessEqual[k, 6.6e+147], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y2 - b \cdot j\\
t_2 := a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{if}\;k \leq -9 \cdot 10^{+203}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -1.04 \cdot 10^{+18}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;k \leq -6 \cdot 10^{-143}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;k \leq 1.4 \cdot 10^{-300}:\\
\;\;\;\;y0 \cdot \left(x \cdot t\_1\right)\\
\mathbf{elif}\;k \leq 8.5 \cdot 10^{-191}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq 2.1 \cdot 10^{-132}:\\
\;\;\;\;x \cdot \left(y0 \cdot t\_1\right)\\
\mathbf{elif}\;k \leq 1.65 \cdot 10^{-65}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;k \leq 6 \cdot 10^{+39}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;k \leq 3.85 \cdot 10^{+59}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;k \leq 6.6 \cdot 10^{+147}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if k < -9.0000000000000006e203Initial program 12.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in y0 around inf 44.4%
Taylor expanded in y5 around -inf 50.4%
associate-*r*50.4%
neg-mul-150.4%
+-commutative50.4%
mul-1-neg50.4%
unsub-neg50.4%
associate-/l*50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in k around inf 41.9%
mul-1-neg41.9%
associate-*r*50.9%
distribute-rgt-neg-in50.9%
*-commutative50.9%
Simplified50.9%
if -9.0000000000000006e203 < k < -1.04e18Initial program 34.8%
Taylor expanded in x around inf 46.9%
Taylor expanded in b around inf 48.1%
if -1.04e18 < k < -5.9999999999999997e-143Initial program 18.3%
Taylor expanded in x around inf 46.3%
Taylor expanded in y around inf 52.8%
if -5.9999999999999997e-143 < k < 1.39999999999999997e-300Initial program 38.2%
Taylor expanded in x around inf 30.0%
Taylor expanded in y0 around inf 53.4%
Taylor expanded in y5 around 0 47.6%
*-commutative47.6%
*-commutative47.6%
Simplified47.6%
if 1.39999999999999997e-300 < k < 8.49999999999999954e-191Initial program 37.0%
Taylor expanded in j around inf 64.0%
+-commutative64.0%
mul-1-neg64.0%
unsub-neg64.0%
*-commutative64.0%
Simplified64.0%
Taylor expanded in t around inf 49.5%
if 8.49999999999999954e-191 < k < 2.1000000000000001e-132Initial program 37.8%
Taylor expanded in x around inf 54.7%
Taylor expanded in y0 around inf 55.0%
Taylor expanded in y5 around 0 55.5%
if 2.1000000000000001e-132 < k < 1.6500000000000001e-65 or 5.9999999999999999e39 < k < 3.84999999999999993e59Initial program 42.9%
Taylor expanded in y around inf 38.2%
Taylor expanded in a around inf 48.3%
if 1.6500000000000001e-65 < k < 5.9999999999999999e39Initial program 20.4%
Taylor expanded in y4 around inf 45.4%
*-commutative45.4%
Simplified45.4%
Taylor expanded in t around inf 40.4%
associate-*r*40.4%
Simplified40.4%
Taylor expanded in y2 around inf 50.9%
*-commutative50.9%
Simplified50.9%
if 3.84999999999999993e59 < k < 6.60000000000000049e147Initial program 22.2%
Taylor expanded in y1 around -inf 56.3%
associate-*r*56.3%
neg-mul-156.3%
+-commutative56.3%
mul-1-neg56.3%
unsub-neg56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
Simplified56.3%
Taylor expanded in i around -inf 56.8%
if 6.60000000000000049e147 < k Initial program 22.2%
Taylor expanded in x around inf 44.5%
Taylor expanded in k around inf 53.6%
Final simplification51.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y1 (* y3 (- (* z a) (* j y4)))))
(t_2 (* b (* x (- (* y a) (* j y0))))))
(if (<= k -4.2e+199)
(* y0 (* y5 (- (* k y2))))
(if (<= k -4.8e+18)
t_2
(if (<= k -6.5e-143)
(* x (* y (- (* a b) (* c i))))
(if (<= k 4.2e-298)
(* y0 (* x (- (* c y2) (* b j))))
(if (<= k 1.65e-187)
(* j (* t (- (* b y4) (* i y5))))
(if (<= k 7.2e-93)
t_2
(if (<= k 2.28e-38)
t_1
(if (<= k 1.8e+56)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= k 1.45e+148)
(* i (* y1 (- (* x j) (* z k))))
(if (<= k 2e+184)
t_1
(* k (* y2 (- (* y1 y4) (* y0 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 = y1 * (y3 * ((z * a) - (j * y4)));
double t_2 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -4.2e+199) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -4.8e+18) {
tmp = t_2;
} else if (k <= -6.5e-143) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (k <= 4.2e-298) {
tmp = y0 * (x * ((c * y2) - (b * j)));
} else if (k <= 1.65e-187) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 7.2e-93) {
tmp = t_2;
} else if (k <= 2.28e-38) {
tmp = t_1;
} else if (k <= 1.8e+56) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 1.45e+148) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (k <= 2e+184) {
tmp = t_1;
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * 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) :: tmp
t_1 = y1 * (y3 * ((z * a) - (j * y4)))
t_2 = b * (x * ((y * a) - (j * y0)))
if (k <= (-4.2d+199)) then
tmp = y0 * (y5 * -(k * y2))
else if (k <= (-4.8d+18)) then
tmp = t_2
else if (k <= (-6.5d-143)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (k <= 4.2d-298) then
tmp = y0 * (x * ((c * y2) - (b * j)))
else if (k <= 1.65d-187) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (k <= 7.2d-93) then
tmp = t_2
else if (k <= 2.28d-38) then
tmp = t_1
else if (k <= 1.8d+56) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (k <= 1.45d+148) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (k <= 2d+184) then
tmp = t_1
else
tmp = k * (y2 * ((y1 * y4) - (y0 * 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 = y1 * (y3 * ((z * a) - (j * y4)));
double t_2 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -4.2e+199) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -4.8e+18) {
tmp = t_2;
} else if (k <= -6.5e-143) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (k <= 4.2e-298) {
tmp = y0 * (x * ((c * y2) - (b * j)));
} else if (k <= 1.65e-187) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 7.2e-93) {
tmp = t_2;
} else if (k <= 2.28e-38) {
tmp = t_1;
} else if (k <= 1.8e+56) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 1.45e+148) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (k <= 2e+184) {
tmp = t_1;
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y1 * (y3 * ((z * a) - (j * y4))) t_2 = b * (x * ((y * a) - (j * y0))) tmp = 0 if k <= -4.2e+199: tmp = y0 * (y5 * -(k * y2)) elif k <= -4.8e+18: tmp = t_2 elif k <= -6.5e-143: tmp = x * (y * ((a * b) - (c * i))) elif k <= 4.2e-298: tmp = y0 * (x * ((c * y2) - (b * j))) elif k <= 1.65e-187: tmp = j * (t * ((b * y4) - (i * y5))) elif k <= 7.2e-93: tmp = t_2 elif k <= 2.28e-38: tmp = t_1 elif k <= 1.8e+56: tmp = t * (y2 * ((a * y5) - (c * y4))) elif k <= 1.45e+148: tmp = i * (y1 * ((x * j) - (z * k))) elif k <= 2e+184: tmp = t_1 else: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y1 * Float64(y3 * Float64(Float64(z * a) - Float64(j * y4)))) t_2 = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (k <= -4.2e+199) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (k <= -4.8e+18) tmp = t_2; elseif (k <= -6.5e-143) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (k <= 4.2e-298) tmp = Float64(y0 * Float64(x * Float64(Float64(c * y2) - Float64(b * j)))); elseif (k <= 1.65e-187) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (k <= 7.2e-93) tmp = t_2; elseif (k <= 2.28e-38) tmp = t_1; elseif (k <= 1.8e+56) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (k <= 1.45e+148) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (k <= 2e+184) tmp = t_1; else tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * 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 = y1 * (y3 * ((z * a) - (j * y4))); t_2 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (k <= -4.2e+199) tmp = y0 * (y5 * -(k * y2)); elseif (k <= -4.8e+18) tmp = t_2; elseif (k <= -6.5e-143) tmp = x * (y * ((a * b) - (c * i))); elseif (k <= 4.2e-298) tmp = y0 * (x * ((c * y2) - (b * j))); elseif (k <= 1.65e-187) tmp = j * (t * ((b * y4) - (i * y5))); elseif (k <= 7.2e-93) tmp = t_2; elseif (k <= 2.28e-38) tmp = t_1; elseif (k <= 1.8e+56) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (k <= 1.45e+148) tmp = i * (y1 * ((x * j) - (z * k))); elseif (k <= 2e+184) tmp = t_1; else tmp = k * (y2 * ((y1 * y4) - (y0 * 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[(y1 * N[(y3 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -4.2e+199], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -4.8e+18], t$95$2, If[LessEqual[k, -6.5e-143], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 4.2e-298], N[(y0 * N[(x * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.65e-187], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 7.2e-93], t$95$2, If[LessEqual[k, 2.28e-38], t$95$1, If[LessEqual[k, 1.8e+56], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.45e+148], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2e+184], t$95$1, N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot \left(y3 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
t_2 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;k \leq -4.2 \cdot 10^{+199}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -4.8 \cdot 10^{+18}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;k \leq -6.5 \cdot 10^{-143}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;k \leq 4.2 \cdot 10^{-298}:\\
\;\;\;\;y0 \cdot \left(x \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;k \leq 1.65 \cdot 10^{-187}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq 7.2 \cdot 10^{-93}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;k \leq 2.28 \cdot 10^{-38}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 1.8 \cdot 10^{+56}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;k \leq 1.45 \cdot 10^{+148}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;k \leq 2 \cdot 10^{+184}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if k < -4.1999999999999999e199Initial program 12.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in y0 around inf 44.4%
Taylor expanded in y5 around -inf 50.4%
associate-*r*50.4%
neg-mul-150.4%
+-commutative50.4%
mul-1-neg50.4%
unsub-neg50.4%
associate-/l*50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in k around inf 41.9%
mul-1-neg41.9%
associate-*r*50.9%
distribute-rgt-neg-in50.9%
*-commutative50.9%
Simplified50.9%
if -4.1999999999999999e199 < k < -4.8e18 or 1.65e-187 < k < 7.2000000000000003e-93Initial program 36.6%
Taylor expanded in x around inf 50.4%
Taylor expanded in b around inf 45.3%
if -4.8e18 < k < -6.4999999999999999e-143Initial program 18.3%
Taylor expanded in x around inf 46.3%
Taylor expanded in y around inf 52.8%
if -6.4999999999999999e-143 < k < 4.2000000000000001e-298Initial program 38.2%
Taylor expanded in x around inf 30.0%
Taylor expanded in y0 around inf 53.4%
Taylor expanded in y5 around 0 47.6%
*-commutative47.6%
*-commutative47.6%
Simplified47.6%
if 4.2000000000000001e-298 < k < 1.65e-187Initial program 37.0%
Taylor expanded in j around inf 64.0%
+-commutative64.0%
mul-1-neg64.0%
unsub-neg64.0%
*-commutative64.0%
Simplified64.0%
Taylor expanded in t around inf 49.5%
if 7.2000000000000003e-93 < k < 2.2799999999999999e-38 or 1.45e148 < k < 2.00000000000000003e184Initial program 40.9%
Taylor expanded in y1 around -inf 63.7%
associate-*r*63.7%
neg-mul-163.7%
+-commutative63.7%
mul-1-neg63.7%
unsub-neg63.7%
*-commutative63.7%
*-commutative63.7%
*-commutative63.7%
*-commutative63.7%
Simplified63.7%
Taylor expanded in y3 around -inf 64.3%
if 2.2799999999999999e-38 < k < 1.79999999999999999e56Initial program 25.4%
Taylor expanded in y4 around inf 40.8%
*-commutative40.8%
Simplified40.8%
Taylor expanded in t around inf 40.4%
associate-*r*40.4%
Simplified40.4%
Taylor expanded in y2 around inf 50.6%
*-commutative50.6%
Simplified50.6%
if 1.79999999999999999e56 < k < 1.45e148Initial program 22.2%
Taylor expanded in y1 around -inf 56.3%
associate-*r*56.3%
neg-mul-156.3%
+-commutative56.3%
mul-1-neg56.3%
unsub-neg56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
Simplified56.3%
Taylor expanded in i around -inf 56.8%
if 2.00000000000000003e184 < k Initial program 14.3%
Taylor expanded in x around inf 43.0%
Taylor expanded in k around inf 54.3%
Final simplification51.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
(if (<= k -1.4e+201)
(* y0 (* y5 (- (* k y2))))
(if (<= k -2.35e+17)
t_1
(if (<= k -5.2e-143)
(* x (* y (- (* a b) (* c i))))
(if (<= k 1.35e-298)
(* y0 (* x (- (* c y2) (* b j))))
(if (<= k 1.05e-189)
(* j (* t (- (* b y4) (* i y5))))
(if (<= k 1e-100)
t_1
(if (<= k 1.22e-73)
(* y1 (* z (- (* a y3) (* i k))))
(if (<= k 1.32e+54)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= k 1.55e+148)
(* i (* y1 (- (* x j) (* z k))))
(if (<= k 1.45e+183)
(* y1 (* y3 (- (* z a) (* j y4))))
(* k (* y2 (- (* y1 y4) (* y0 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -1.4e+201) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -2.35e+17) {
tmp = t_1;
} else if (k <= -5.2e-143) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (k <= 1.35e-298) {
tmp = y0 * (x * ((c * y2) - (b * j)));
} else if (k <= 1.05e-189) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 1e-100) {
tmp = t_1;
} else if (k <= 1.22e-73) {
tmp = y1 * (z * ((a * y3) - (i * k)));
} else if (k <= 1.32e+54) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 1.55e+148) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (k <= 1.45e+183) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * 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) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
if (k <= (-1.4d+201)) then
tmp = y0 * (y5 * -(k * y2))
else if (k <= (-2.35d+17)) then
tmp = t_1
else if (k <= (-5.2d-143)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (k <= 1.35d-298) then
tmp = y0 * (x * ((c * y2) - (b * j)))
else if (k <= 1.05d-189) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (k <= 1d-100) then
tmp = t_1
else if (k <= 1.22d-73) then
tmp = y1 * (z * ((a * y3) - (i * k)))
else if (k <= 1.32d+54) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (k <= 1.55d+148) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (k <= 1.45d+183) then
tmp = y1 * (y3 * ((z * a) - (j * y4)))
else
tmp = k * (y2 * ((y1 * y4) - (y0 * 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -1.4e+201) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -2.35e+17) {
tmp = t_1;
} else if (k <= -5.2e-143) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (k <= 1.35e-298) {
tmp = y0 * (x * ((c * y2) - (b * j)));
} else if (k <= 1.05e-189) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 1e-100) {
tmp = t_1;
} else if (k <= 1.22e-73) {
tmp = y1 * (z * ((a * y3) - (i * k)));
} else if (k <= 1.32e+54) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 1.55e+148) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (k <= 1.45e+183) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (x * ((y * a) - (j * y0))) tmp = 0 if k <= -1.4e+201: tmp = y0 * (y5 * -(k * y2)) elif k <= -2.35e+17: tmp = t_1 elif k <= -5.2e-143: tmp = x * (y * ((a * b) - (c * i))) elif k <= 1.35e-298: tmp = y0 * (x * ((c * y2) - (b * j))) elif k <= 1.05e-189: tmp = j * (t * ((b * y4) - (i * y5))) elif k <= 1e-100: tmp = t_1 elif k <= 1.22e-73: tmp = y1 * (z * ((a * y3) - (i * k))) elif k <= 1.32e+54: tmp = t * (y2 * ((a * y5) - (c * y4))) elif k <= 1.55e+148: tmp = i * (y1 * ((x * j) - (z * k))) elif k <= 1.45e+183: tmp = y1 * (y3 * ((z * a) - (j * y4))) else: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) 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(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (k <= -1.4e+201) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (k <= -2.35e+17) tmp = t_1; elseif (k <= -5.2e-143) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (k <= 1.35e-298) tmp = Float64(y0 * Float64(x * Float64(Float64(c * y2) - Float64(b * j)))); elseif (k <= 1.05e-189) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (k <= 1e-100) tmp = t_1; elseif (k <= 1.22e-73) tmp = Float64(y1 * Float64(z * Float64(Float64(a * y3) - Float64(i * k)))); elseif (k <= 1.32e+54) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (k <= 1.55e+148) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (k <= 1.45e+183) tmp = Float64(y1 * Float64(y3 * Float64(Float64(z * a) - Float64(j * y4)))); else tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * 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 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (k <= -1.4e+201) tmp = y0 * (y5 * -(k * y2)); elseif (k <= -2.35e+17) tmp = t_1; elseif (k <= -5.2e-143) tmp = x * (y * ((a * b) - (c * i))); elseif (k <= 1.35e-298) tmp = y0 * (x * ((c * y2) - (b * j))); elseif (k <= 1.05e-189) tmp = j * (t * ((b * y4) - (i * y5))); elseif (k <= 1e-100) tmp = t_1; elseif (k <= 1.22e-73) tmp = y1 * (z * ((a * y3) - (i * k))); elseif (k <= 1.32e+54) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (k <= 1.55e+148) tmp = i * (y1 * ((x * j) - (z * k))); elseif (k <= 1.45e+183) tmp = y1 * (y3 * ((z * a) - (j * y4))); else tmp = k * (y2 * ((y1 * y4) - (y0 * 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[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -1.4e+201], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -2.35e+17], t$95$1, If[LessEqual[k, -5.2e-143], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.35e-298], N[(y0 * N[(x * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.05e-189], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1e-100], t$95$1, If[LessEqual[k, 1.22e-73], N[(y1 * N[(z * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.32e+54], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.55e+148], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.45e+183], N[(y1 * N[(y3 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;k \leq -1.4 \cdot 10^{+201}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -2.35 \cdot 10^{+17}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -5.2 \cdot 10^{-143}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;k \leq 1.35 \cdot 10^{-298}:\\
\;\;\;\;y0 \cdot \left(x \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;k \leq 1.05 \cdot 10^{-189}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq 10^{-100}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 1.22 \cdot 10^{-73}:\\
\;\;\;\;y1 \cdot \left(z \cdot \left(a \cdot y3 - i \cdot k\right)\right)\\
\mathbf{elif}\;k \leq 1.32 \cdot 10^{+54}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;k \leq 1.55 \cdot 10^{+148}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;k \leq 1.45 \cdot 10^{+183}:\\
\;\;\;\;y1 \cdot \left(y3 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if k < -1.40000000000000003e201Initial program 12.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in y0 around inf 44.4%
Taylor expanded in y5 around -inf 50.4%
associate-*r*50.4%
neg-mul-150.4%
+-commutative50.4%
mul-1-neg50.4%
unsub-neg50.4%
associate-/l*50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in k around inf 41.9%
mul-1-neg41.9%
associate-*r*50.9%
distribute-rgt-neg-in50.9%
*-commutative50.9%
Simplified50.9%
if -1.40000000000000003e201 < k < -2.35e17 or 1.05000000000000008e-189 < k < 1e-100Initial program 36.0%
Taylor expanded in x around inf 50.4%
Taylor expanded in b around inf 47.2%
if -2.35e17 < k < -5.19999999999999974e-143Initial program 18.3%
Taylor expanded in x around inf 46.3%
Taylor expanded in y around inf 52.8%
if -5.19999999999999974e-143 < k < 1.3500000000000001e-298Initial program 38.2%
Taylor expanded in x around inf 30.0%
Taylor expanded in y0 around inf 53.4%
Taylor expanded in y5 around 0 47.6%
*-commutative47.6%
*-commutative47.6%
Simplified47.6%
if 1.3500000000000001e-298 < k < 1.05000000000000008e-189Initial program 37.0%
Taylor expanded in j around inf 64.0%
+-commutative64.0%
mul-1-neg64.0%
unsub-neg64.0%
*-commutative64.0%
Simplified64.0%
Taylor expanded in t around inf 49.5%
if 1e-100 < k < 1.22e-73Initial program 40.0%
Taylor expanded in y1 around -inf 50.2%
associate-*r*50.2%
neg-mul-150.2%
+-commutative50.2%
mul-1-neg50.2%
unsub-neg50.2%
*-commutative50.2%
*-commutative50.2%
*-commutative50.2%
*-commutative50.2%
Simplified50.2%
Taylor expanded in z around -inf 70.3%
if 1.22e-73 < k < 1.3200000000000001e54Initial program 27.2%
Taylor expanded in y4 around inf 39.1%
*-commutative39.1%
Simplified39.1%
Taylor expanded in t around inf 34.9%
associate-*r*34.9%
Simplified34.9%
Taylor expanded in y2 around inf 43.1%
*-commutative43.1%
Simplified43.1%
if 1.3200000000000001e54 < k < 1.54999999999999988e148Initial program 22.2%
Taylor expanded in y1 around -inf 56.3%
associate-*r*56.3%
neg-mul-156.3%
+-commutative56.3%
mul-1-neg56.3%
unsub-neg56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
Simplified56.3%
Taylor expanded in i around -inf 56.8%
if 1.54999999999999988e148 < k < 1.45e183Initial program 50.0%
Taylor expanded in y1 around -inf 87.5%
associate-*r*87.5%
neg-mul-187.5%
+-commutative87.5%
mul-1-neg87.5%
unsub-neg87.5%
*-commutative87.5%
*-commutative87.5%
*-commutative87.5%
*-commutative87.5%
Simplified87.5%
Taylor expanded in y3 around -inf 75.6%
if 1.45e183 < k Initial program 14.3%
Taylor expanded in x around inf 43.0%
Taylor expanded in k around inf 54.3%
Final simplification51.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
(if (<= k -8.5e+200)
(* y0 (* y5 (- (* k y2))))
(if (<= k -1.42e+17)
t_1
(if (<= k -4.6e-143)
(* x (* y (- (* a b) (* c i))))
(if (<= k 1.9e-300)
(* y0 (* x (- (* c y2) (* b j))))
(if (<= k 1.8e-187)
(* j (* t (- (* b y4) (* i y5))))
(if (<= k 2.85e-103)
t_1
(if (<= k 2.95e-30)
(* a (* y1 (- (* z y3) (* x y2))))
(if (<= k 2.85e+51)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= k 1.02e+148)
(* i (* y1 (- (* x j) (* z k))))
(if (<= k 1.15e+184)
(* y1 (* y3 (- (* z a) (* j y4))))
(* k (* y2 (- (* y1 y4) (* y0 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -8.5e+200) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -1.42e+17) {
tmp = t_1;
} else if (k <= -4.6e-143) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (k <= 1.9e-300) {
tmp = y0 * (x * ((c * y2) - (b * j)));
} else if (k <= 1.8e-187) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 2.85e-103) {
tmp = t_1;
} else if (k <= 2.95e-30) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (k <= 2.85e+51) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 1.02e+148) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (k <= 1.15e+184) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * 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) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
if (k <= (-8.5d+200)) then
tmp = y0 * (y5 * -(k * y2))
else if (k <= (-1.42d+17)) then
tmp = t_1
else if (k <= (-4.6d-143)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (k <= 1.9d-300) then
tmp = y0 * (x * ((c * y2) - (b * j)))
else if (k <= 1.8d-187) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (k <= 2.85d-103) then
tmp = t_1
else if (k <= 2.95d-30) then
tmp = a * (y1 * ((z * y3) - (x * y2)))
else if (k <= 2.85d+51) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (k <= 1.02d+148) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (k <= 1.15d+184) then
tmp = y1 * (y3 * ((z * a) - (j * y4)))
else
tmp = k * (y2 * ((y1 * y4) - (y0 * 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -8.5e+200) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -1.42e+17) {
tmp = t_1;
} else if (k <= -4.6e-143) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (k <= 1.9e-300) {
tmp = y0 * (x * ((c * y2) - (b * j)));
} else if (k <= 1.8e-187) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 2.85e-103) {
tmp = t_1;
} else if (k <= 2.95e-30) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (k <= 2.85e+51) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 1.02e+148) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (k <= 1.15e+184) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (x * ((y * a) - (j * y0))) tmp = 0 if k <= -8.5e+200: tmp = y0 * (y5 * -(k * y2)) elif k <= -1.42e+17: tmp = t_1 elif k <= -4.6e-143: tmp = x * (y * ((a * b) - (c * i))) elif k <= 1.9e-300: tmp = y0 * (x * ((c * y2) - (b * j))) elif k <= 1.8e-187: tmp = j * (t * ((b * y4) - (i * y5))) elif k <= 2.85e-103: tmp = t_1 elif k <= 2.95e-30: tmp = a * (y1 * ((z * y3) - (x * y2))) elif k <= 2.85e+51: tmp = t * (y2 * ((a * y5) - (c * y4))) elif k <= 1.02e+148: tmp = i * (y1 * ((x * j) - (z * k))) elif k <= 1.15e+184: tmp = y1 * (y3 * ((z * a) - (j * y4))) else: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) 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(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (k <= -8.5e+200) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (k <= -1.42e+17) tmp = t_1; elseif (k <= -4.6e-143) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (k <= 1.9e-300) tmp = Float64(y0 * Float64(x * Float64(Float64(c * y2) - Float64(b * j)))); elseif (k <= 1.8e-187) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (k <= 2.85e-103) tmp = t_1; elseif (k <= 2.95e-30) tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); elseif (k <= 2.85e+51) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (k <= 1.02e+148) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (k <= 1.15e+184) tmp = Float64(y1 * Float64(y3 * Float64(Float64(z * a) - Float64(j * y4)))); else tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * 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 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (k <= -8.5e+200) tmp = y0 * (y5 * -(k * y2)); elseif (k <= -1.42e+17) tmp = t_1; elseif (k <= -4.6e-143) tmp = x * (y * ((a * b) - (c * i))); elseif (k <= 1.9e-300) tmp = y0 * (x * ((c * y2) - (b * j))); elseif (k <= 1.8e-187) tmp = j * (t * ((b * y4) - (i * y5))); elseif (k <= 2.85e-103) tmp = t_1; elseif (k <= 2.95e-30) tmp = a * (y1 * ((z * y3) - (x * y2))); elseif (k <= 2.85e+51) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (k <= 1.02e+148) tmp = i * (y1 * ((x * j) - (z * k))); elseif (k <= 1.15e+184) tmp = y1 * (y3 * ((z * a) - (j * y4))); else tmp = k * (y2 * ((y1 * y4) - (y0 * 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[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -8.5e+200], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.42e+17], t$95$1, If[LessEqual[k, -4.6e-143], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.9e-300], N[(y0 * N[(x * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.8e-187], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.85e-103], t$95$1, If[LessEqual[k, 2.95e-30], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.85e+51], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.02e+148], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.15e+184], N[(y1 * N[(y3 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;k \leq -8.5 \cdot 10^{+200}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -1.42 \cdot 10^{+17}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -4.6 \cdot 10^{-143}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;k \leq 1.9 \cdot 10^{-300}:\\
\;\;\;\;y0 \cdot \left(x \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;k \leq 1.8 \cdot 10^{-187}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq 2.85 \cdot 10^{-103}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 2.95 \cdot 10^{-30}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq 2.85 \cdot 10^{+51}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;k \leq 1.02 \cdot 10^{+148}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;k \leq 1.15 \cdot 10^{+184}:\\
\;\;\;\;y1 \cdot \left(y3 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if k < -8.5e200Initial program 12.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in y0 around inf 44.4%
Taylor expanded in y5 around -inf 50.4%
associate-*r*50.4%
neg-mul-150.4%
+-commutative50.4%
mul-1-neg50.4%
unsub-neg50.4%
associate-/l*50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in k around inf 41.9%
mul-1-neg41.9%
associate-*r*50.9%
distribute-rgt-neg-in50.9%
*-commutative50.9%
Simplified50.9%
if -8.5e200 < k < -1.42e17 or 1.79999999999999997e-187 < k < 2.8499999999999998e-103Initial program 36.0%
Taylor expanded in x around inf 50.4%
Taylor expanded in b around inf 47.2%
if -1.42e17 < k < -4.60000000000000023e-143Initial program 18.3%
Taylor expanded in x around inf 46.3%
Taylor expanded in y around inf 52.8%
if -4.60000000000000023e-143 < k < 1.90000000000000006e-300Initial program 38.2%
Taylor expanded in x around inf 30.0%
Taylor expanded in y0 around inf 53.4%
Taylor expanded in y5 around 0 47.6%
*-commutative47.6%
*-commutative47.6%
Simplified47.6%
if 1.90000000000000006e-300 < k < 1.79999999999999997e-187Initial program 37.0%
Taylor expanded in j around inf 64.0%
+-commutative64.0%
mul-1-neg64.0%
unsub-neg64.0%
*-commutative64.0%
Simplified64.0%
Taylor expanded in t around inf 49.5%
if 2.8499999999999998e-103 < k < 2.9499999999999999e-30Initial program 35.0%
Taylor expanded in y1 around -inf 55.3%
associate-*r*55.3%
neg-mul-155.3%
+-commutative55.3%
mul-1-neg55.3%
unsub-neg55.3%
*-commutative55.3%
*-commutative55.3%
*-commutative55.3%
*-commutative55.3%
Simplified55.3%
Taylor expanded in a around inf 55.9%
mul-1-neg55.9%
Simplified55.9%
if 2.9499999999999999e-30 < k < 2.8500000000000001e51Initial program 25.4%
Taylor expanded in y4 around inf 44.7%
*-commutative44.7%
Simplified44.7%
Taylor expanded in t around inf 44.2%
associate-*r*44.2%
Simplified44.2%
Taylor expanded in y2 around inf 57.0%
*-commutative57.0%
Simplified57.0%
if 2.8500000000000001e51 < k < 1.02e148Initial program 22.2%
Taylor expanded in y1 around -inf 56.3%
associate-*r*56.3%
neg-mul-156.3%
+-commutative56.3%
mul-1-neg56.3%
unsub-neg56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
*-commutative56.3%
Simplified56.3%
Taylor expanded in i around -inf 56.8%
if 1.02e148 < k < 1.15e184Initial program 50.0%
Taylor expanded in y1 around -inf 87.5%
associate-*r*87.5%
neg-mul-187.5%
+-commutative87.5%
mul-1-neg87.5%
unsub-neg87.5%
*-commutative87.5%
*-commutative87.5%
*-commutative87.5%
*-commutative87.5%
Simplified87.5%
Taylor expanded in y3 around -inf 75.6%
if 1.15e184 < k Initial program 14.3%
Taylor expanded in x around inf 43.0%
Taylor expanded in k around inf 54.3%
Final simplification52.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y4 (* y1 y2)))) (t_2 (* b (* y (- (* x a) (* k y4))))))
(if (<= y2 -6.2e+195)
(* y0 (* y2 (* x c)))
(if (<= y2 -2.8e+131)
(* k (* y1 (* y2 y4)))
(if (<= y2 -2.75e+73)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 -1.32e-84)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= y2 1.15e-128)
t_2
(if (<= y2 5.5e-91)
(* (* x y) (* a b))
(if (<= y2 10000.0)
(* j (* y5 (* y0 y3)))
(if (<= y2 4.8e+62)
t_1
(if (<= y2 1.2e+133)
t_2
(if (<= y2 6.5e+242)
t_1
(* y0 (* (* y2 y5) (- k)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y4 * (y1 * y2));
double t_2 = b * (y * ((x * a) - (k * y4)));
double tmp;
if (y2 <= -6.2e+195) {
tmp = y0 * (y2 * (x * c));
} else if (y2 <= -2.8e+131) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= -2.75e+73) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -1.32e-84) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y2 <= 1.15e-128) {
tmp = t_2;
} else if (y2 <= 5.5e-91) {
tmp = (x * y) * (a * b);
} else if (y2 <= 10000.0) {
tmp = j * (y5 * (y0 * y3));
} else if (y2 <= 4.8e+62) {
tmp = t_1;
} else if (y2 <= 1.2e+133) {
tmp = t_2;
} else if (y2 <= 6.5e+242) {
tmp = t_1;
} else {
tmp = y0 * ((y2 * y5) * -k);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = k * (y4 * (y1 * y2))
t_2 = b * (y * ((x * a) - (k * y4)))
if (y2 <= (-6.2d+195)) then
tmp = y0 * (y2 * (x * c))
else if (y2 <= (-2.8d+131)) then
tmp = k * (y1 * (y2 * y4))
else if (y2 <= (-2.75d+73)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= (-1.32d-84)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (y2 <= 1.15d-128) then
tmp = t_2
else if (y2 <= 5.5d-91) then
tmp = (x * y) * (a * b)
else if (y2 <= 10000.0d0) then
tmp = j * (y5 * (y0 * y3))
else if (y2 <= 4.8d+62) then
tmp = t_1
else if (y2 <= 1.2d+133) then
tmp = t_2
else if (y2 <= 6.5d+242) then
tmp = t_1
else
tmp = y0 * ((y2 * y5) * -k)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y4 * (y1 * y2));
double t_2 = b * (y * ((x * a) - (k * y4)));
double tmp;
if (y2 <= -6.2e+195) {
tmp = y0 * (y2 * (x * c));
} else if (y2 <= -2.8e+131) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= -2.75e+73) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= -1.32e-84) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y2 <= 1.15e-128) {
tmp = t_2;
} else if (y2 <= 5.5e-91) {
tmp = (x * y) * (a * b);
} else if (y2 <= 10000.0) {
tmp = j * (y5 * (y0 * y3));
} else if (y2 <= 4.8e+62) {
tmp = t_1;
} else if (y2 <= 1.2e+133) {
tmp = t_2;
} else if (y2 <= 6.5e+242) {
tmp = t_1;
} else {
tmp = y0 * ((y2 * y5) * -k);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y4 * (y1 * y2)) t_2 = b * (y * ((x * a) - (k * y4))) tmp = 0 if y2 <= -6.2e+195: tmp = y0 * (y2 * (x * c)) elif y2 <= -2.8e+131: tmp = k * (y1 * (y2 * y4)) elif y2 <= -2.75e+73: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= -1.32e-84: tmp = a * (y * ((x * b) - (y3 * y5))) elif y2 <= 1.15e-128: tmp = t_2 elif y2 <= 5.5e-91: tmp = (x * y) * (a * b) elif y2 <= 10000.0: tmp = j * (y5 * (y0 * y3)) elif y2 <= 4.8e+62: tmp = t_1 elif y2 <= 1.2e+133: tmp = t_2 elif y2 <= 6.5e+242: tmp = t_1 else: tmp = y0 * ((y2 * y5) * -k) 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(y4 * Float64(y1 * y2))) t_2 = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))) tmp = 0.0 if (y2 <= -6.2e+195) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); elseif (y2 <= -2.8e+131) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y2 <= -2.75e+73) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= -1.32e-84) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (y2 <= 1.15e-128) tmp = t_2; elseif (y2 <= 5.5e-91) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (y2 <= 10000.0) tmp = Float64(j * Float64(y5 * Float64(y0 * y3))); elseif (y2 <= 4.8e+62) tmp = t_1; elseif (y2 <= 1.2e+133) tmp = t_2; elseif (y2 <= 6.5e+242) tmp = t_1; else tmp = Float64(y0 * Float64(Float64(y2 * y5) * Float64(-k))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = k * (y4 * (y1 * y2)); t_2 = b * (y * ((x * a) - (k * y4))); tmp = 0.0; if (y2 <= -6.2e+195) tmp = y0 * (y2 * (x * c)); elseif (y2 <= -2.8e+131) tmp = k * (y1 * (y2 * y4)); elseif (y2 <= -2.75e+73) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= -1.32e-84) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (y2 <= 1.15e-128) tmp = t_2; elseif (y2 <= 5.5e-91) tmp = (x * y) * (a * b); elseif (y2 <= 10000.0) tmp = j * (y5 * (y0 * y3)); elseif (y2 <= 4.8e+62) tmp = t_1; elseif (y2 <= 1.2e+133) tmp = t_2; elseif (y2 <= 6.5e+242) tmp = t_1; else tmp = y0 * ((y2 * y5) * -k); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -6.2e+195], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.8e+131], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.75e+73], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.32e-84], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.15e-128], t$95$2, If[LessEqual[y2, 5.5e-91], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 10000.0], N[(j * N[(y5 * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.8e+62], t$95$1, If[LessEqual[y2, 1.2e+133], t$95$2, If[LessEqual[y2, 6.5e+242], t$95$1, N[(y0 * N[(N[(y2 * y5), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
t_2 := b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{if}\;y2 \leq -6.2 \cdot 10^{+195}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{elif}\;y2 \leq -2.8 \cdot 10^{+131}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -2.75 \cdot 10^{+73}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq -1.32 \cdot 10^{-84}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 1.15 \cdot 10^{-128}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq 5.5 \cdot 10^{-91}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;y2 \leq 10000:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 4.8 \cdot 10^{+62}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 1.2 \cdot 10^{+133}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq 6.5 \cdot 10^{+242}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(y2 \cdot y5\right) \cdot \left(-k\right)\right)\\
\end{array}
\end{array}
if y2 < -6.2000000000000004e195Initial program 25.5%
Taylor expanded in x around inf 38.4%
Taylor expanded in y0 around inf 54.4%
Taylor expanded in y5 around -inf 58.6%
associate-*r*58.6%
neg-mul-158.6%
+-commutative58.6%
mul-1-neg58.6%
unsub-neg58.6%
associate-/l*58.6%
*-commutative58.6%
*-commutative58.6%
Simplified58.6%
Taylor expanded in c around inf 62.9%
associate-*r*59.0%
*-commutative59.0%
Simplified59.0%
if -6.2000000000000004e195 < y2 < -2.8000000000000001e131Initial program 7.7%
Taylor expanded in x around inf 38.7%
Taylor expanded in k around inf 70.0%
Taylor expanded in y1 around inf 61.9%
if -2.8000000000000001e131 < y2 < -2.7500000000000001e73Initial program 37.4%
Taylor expanded in x around inf 44.5%
Taylor expanded in b around inf 44.9%
if -2.7500000000000001e73 < y2 < -1.31999999999999989e-84Initial program 21.3%
Taylor expanded in y around inf 33.6%
Taylor expanded in a around inf 46.2%
if -1.31999999999999989e-84 < y2 < 1.15e-128 or 4.8e62 < y2 < 1.1999999999999999e133Initial program 27.9%
Taylor expanded in y around inf 34.3%
Taylor expanded in b around inf 38.2%
+-commutative38.2%
mul-1-neg38.2%
sub-neg38.2%
Simplified38.2%
if 1.15e-128 < y2 < 5.49999999999999965e-91Initial program 41.7%
Taylor expanded in y around inf 58.7%
Taylor expanded in a around inf 34.6%
Taylor expanded in b around inf 27.3%
associate-*r*42.5%
Simplified42.5%
if 5.49999999999999965e-91 < y2 < 1e4Initial program 20.0%
Taylor expanded in x around inf 53.3%
Taylor expanded in y0 around inf 80.3%
Taylor expanded in y5 around -inf 80.3%
associate-*r*80.3%
neg-mul-180.3%
+-commutative80.3%
mul-1-neg80.3%
unsub-neg80.3%
associate-/l*80.3%
*-commutative80.3%
*-commutative80.3%
Simplified80.3%
Taylor expanded in y3 around inf 48.3%
associate-*r*54.7%
Simplified54.7%
if 1e4 < y2 < 4.8e62 or 1.1999999999999999e133 < y2 < 6.49999999999999992e242Initial program 42.3%
Taylor expanded in x around inf 54.9%
Taylor expanded in k around inf 46.3%
Taylor expanded in y1 around inf 40.3%
associate-*r*46.5%
*-commutative46.5%
Simplified46.5%
if 6.49999999999999992e242 < y2 Initial program 13.8%
Taylor expanded in x around inf 46.7%
Taylor expanded in y0 around inf 47.4%
Taylor expanded in k around inf 74.0%
mul-1-neg74.0%
Simplified74.0%
Final simplification47.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* x (- (* y0 y2) (* y i))))))
(if (<= a -1.35e+196)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= a -4.4e-114)
(* b (* z (- (* k y0) (* t a))))
(if (<= a -1.12e-210)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= a -1.02e-238)
(* y0 (* y5 (- (* k y2))))
(if (<= a 6.8e-283)
t_1
(if (<= a 3.4e-131)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= a 3.4e-67)
(* y1 (* y4 (- (* k y2) (* j y3))))
(if (<= a 1200.0)
t_1
(if (<= a 1.55e+134)
(* i (* y1 (- (* x j) (* z k))))
(* a (* y1 (- (* z y3) (* x y2)))))))))))))))
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 * (x * ((y0 * y2) - (y * i)));
double tmp;
if (a <= -1.35e+196) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -4.4e-114) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (a <= -1.12e-210) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (a <= -1.02e-238) {
tmp = y0 * (y5 * -(k * y2));
} else if (a <= 6.8e-283) {
tmp = t_1;
} else if (a <= 3.4e-131) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (a <= 3.4e-67) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (a <= 1200.0) {
tmp = t_1;
} else if (a <= 1.55e+134) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = a * (y1 * ((z * y3) - (x * y2)));
}
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 = c * (x * ((y0 * y2) - (y * i)))
if (a <= (-1.35d+196)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (a <= (-4.4d-114)) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (a <= (-1.12d-210)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (a <= (-1.02d-238)) then
tmp = y0 * (y5 * -(k * y2))
else if (a <= 6.8d-283) then
tmp = t_1
else if (a <= 3.4d-131) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (a <= 3.4d-67) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else if (a <= 1200.0d0) then
tmp = t_1
else if (a <= 1.55d+134) then
tmp = i * (y1 * ((x * j) - (z * k)))
else
tmp = a * (y1 * ((z * y3) - (x * y2)))
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 * (x * ((y0 * y2) - (y * i)));
double tmp;
if (a <= -1.35e+196) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -4.4e-114) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (a <= -1.12e-210) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (a <= -1.02e-238) {
tmp = y0 * (y5 * -(k * y2));
} else if (a <= 6.8e-283) {
tmp = t_1;
} else if (a <= 3.4e-131) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (a <= 3.4e-67) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (a <= 1200.0) {
tmp = t_1;
} else if (a <= 1.55e+134) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = a * (y1 * ((z * y3) - (x * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (x * ((y0 * y2) - (y * i))) tmp = 0 if a <= -1.35e+196: tmp = a * (y * ((x * b) - (y3 * y5))) elif a <= -4.4e-114: tmp = b * (z * ((k * y0) - (t * a))) elif a <= -1.12e-210: tmp = t * (y2 * ((a * y5) - (c * y4))) elif a <= -1.02e-238: tmp = y0 * (y5 * -(k * y2)) elif a <= 6.8e-283: tmp = t_1 elif a <= 3.4e-131: tmp = c * (y4 * ((y * y3) - (t * y2))) elif a <= 3.4e-67: tmp = y1 * (y4 * ((k * y2) - (j * y3))) elif a <= 1200.0: tmp = t_1 elif a <= 1.55e+134: tmp = i * (y1 * ((x * j) - (z * k))) else: tmp = a * (y1 * ((z * y3) - (x * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))) tmp = 0.0 if (a <= -1.35e+196) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (a <= -4.4e-114) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (a <= -1.12e-210) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (a <= -1.02e-238) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (a <= 6.8e-283) tmp = t_1; elseif (a <= 3.4e-131) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (a <= 3.4e-67) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (a <= 1200.0) tmp = t_1; elseif (a <= 1.55e+134) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); else tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); 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 * (x * ((y0 * y2) - (y * i))); tmp = 0.0; if (a <= -1.35e+196) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (a <= -4.4e-114) tmp = b * (z * ((k * y0) - (t * a))); elseif (a <= -1.12e-210) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (a <= -1.02e-238) tmp = y0 * (y5 * -(k * y2)); elseif (a <= 6.8e-283) tmp = t_1; elseif (a <= 3.4e-131) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (a <= 3.4e-67) tmp = y1 * (y4 * ((k * y2) - (j * y3))); elseif (a <= 1200.0) tmp = t_1; elseif (a <= 1.55e+134) tmp = i * (y1 * ((x * j) - (z * k))); else tmp = a * (y1 * ((z * y3) - (x * y2))); 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[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.35e+196], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.4e-114], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.12e-210], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.02e-238], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.8e-283], t$95$1, If[LessEqual[a, 3.4e-131], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.4e-67], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1200.0], t$95$1, If[LessEqual[a, 1.55e+134], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{if}\;a \leq -1.35 \cdot 10^{+196}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -4.4 \cdot 10^{-114}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;a \leq -1.12 \cdot 10^{-210}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq -1.02 \cdot 10^{-238}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq 6.8 \cdot 10^{-283}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 3.4 \cdot 10^{-131}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq 3.4 \cdot 10^{-67}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 1200:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 1.55 \cdot 10^{+134}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\end{array}
\end{array}
if a < -1.34999999999999998e196Initial program 30.9%
Taylor expanded in y around inf 34.6%
Taylor expanded in a around inf 69.6%
if -1.34999999999999998e196 < a < -4.40000000000000022e-114Initial program 23.1%
Taylor expanded in b around inf 41.7%
Taylor expanded in z around -inf 46.9%
associate-*r*46.9%
mul-1-neg46.9%
Simplified46.9%
if -4.40000000000000022e-114 < a < -1.1199999999999999e-210Initial program 18.6%
Taylor expanded in y4 around inf 36.8%
*-commutative36.8%
Simplified36.8%
Taylor expanded in t around inf 73.0%
associate-*r*64.2%
Simplified64.2%
Taylor expanded in y2 around inf 63.9%
*-commutative63.9%
Simplified63.9%
if -1.1199999999999999e-210 < a < -1.01999999999999992e-238Initial program 57.1%
Taylor expanded in x around inf 57.3%
Taylor expanded in y0 around inf 71.9%
Taylor expanded in y5 around -inf 57.5%
associate-*r*57.5%
neg-mul-157.5%
+-commutative57.5%
mul-1-neg57.5%
unsub-neg57.5%
associate-/l*71.2%
*-commutative71.2%
*-commutative71.2%
Simplified71.2%
Taylor expanded in k around inf 58.2%
mul-1-neg58.2%
associate-*r*72.0%
distribute-rgt-neg-in72.0%
*-commutative72.0%
Simplified72.0%
if -1.01999999999999992e-238 < a < 6.7999999999999996e-283 or 3.4000000000000001e-67 < a < 1200Initial program 42.5%
Taylor expanded in x around inf 47.6%
Taylor expanded in c around inf 43.2%
if 6.7999999999999996e-283 < a < 3.39999999999999995e-131Initial program 32.1%
Taylor expanded in y4 around inf 60.9%
*-commutative60.9%
Simplified60.9%
Taylor expanded in c around inf 51.3%
mul-1-neg51.3%
Simplified51.3%
if 3.39999999999999995e-131 < a < 3.4000000000000001e-67Initial program 21.4%
Taylor expanded in x around inf 42.8%
Taylor expanded in y4 around inf 48.6%
if 1200 < a < 1.54999999999999991e134Initial program 32.0%
Taylor expanded in y1 around -inf 47.7%
associate-*r*47.7%
neg-mul-147.7%
+-commutative47.7%
mul-1-neg47.7%
unsub-neg47.7%
*-commutative47.7%
*-commutative47.7%
*-commutative47.7%
*-commutative47.7%
Simplified47.7%
Taylor expanded in i around -inf 44.1%
if 1.54999999999999991e134 < a Initial program 8.8%
Taylor expanded in y1 around -inf 40.4%
associate-*r*40.4%
neg-mul-140.4%
+-commutative40.4%
mul-1-neg40.4%
unsub-neg40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
Simplified40.4%
Taylor expanded in a around inf 60.8%
mul-1-neg60.8%
Simplified60.8%
Final simplification52.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* x (- (* y0 y2) (* y i))))))
(if (<= a -8.4e+195)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= a -2.26e-116)
(* b (* z (- (* k y0) (* t a))))
(if (<= a -4.4e-211)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= a -4.6e-239)
(* y0 (* y5 (- (* k y2))))
(if (<= a 1.45e-213)
t_1
(if (<= a 1.5e-102)
(* j (* y5 (- (* y0 y3) (* t i))))
(if (<= a 1.06e-67)
(* k (* y1 (- (* y2 y4) (* z i))))
(if (<= a 0.025)
t_1
(if (<= a 2e+131)
(* i (* y1 (- (* x j) (* z k))))
(* a (* y1 (- (* z y3) (* x y2)))))))))))))))
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 * (x * ((y0 * y2) - (y * i)));
double tmp;
if (a <= -8.4e+195) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -2.26e-116) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (a <= -4.4e-211) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (a <= -4.6e-239) {
tmp = y0 * (y5 * -(k * y2));
} else if (a <= 1.45e-213) {
tmp = t_1;
} else if (a <= 1.5e-102) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (a <= 1.06e-67) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else if (a <= 0.025) {
tmp = t_1;
} else if (a <= 2e+131) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = a * (y1 * ((z * y3) - (x * y2)));
}
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 = c * (x * ((y0 * y2) - (y * i)))
if (a <= (-8.4d+195)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (a <= (-2.26d-116)) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (a <= (-4.4d-211)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (a <= (-4.6d-239)) then
tmp = y0 * (y5 * -(k * y2))
else if (a <= 1.45d-213) then
tmp = t_1
else if (a <= 1.5d-102) then
tmp = j * (y5 * ((y0 * y3) - (t * i)))
else if (a <= 1.06d-67) then
tmp = k * (y1 * ((y2 * y4) - (z * i)))
else if (a <= 0.025d0) then
tmp = t_1
else if (a <= 2d+131) then
tmp = i * (y1 * ((x * j) - (z * k)))
else
tmp = a * (y1 * ((z * y3) - (x * y2)))
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 * (x * ((y0 * y2) - (y * i)));
double tmp;
if (a <= -8.4e+195) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -2.26e-116) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (a <= -4.4e-211) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (a <= -4.6e-239) {
tmp = y0 * (y5 * -(k * y2));
} else if (a <= 1.45e-213) {
tmp = t_1;
} else if (a <= 1.5e-102) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (a <= 1.06e-67) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else if (a <= 0.025) {
tmp = t_1;
} else if (a <= 2e+131) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = a * (y1 * ((z * y3) - (x * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (x * ((y0 * y2) - (y * i))) tmp = 0 if a <= -8.4e+195: tmp = a * (y * ((x * b) - (y3 * y5))) elif a <= -2.26e-116: tmp = b * (z * ((k * y0) - (t * a))) elif a <= -4.4e-211: tmp = t * (y2 * ((a * y5) - (c * y4))) elif a <= -4.6e-239: tmp = y0 * (y5 * -(k * y2)) elif a <= 1.45e-213: tmp = t_1 elif a <= 1.5e-102: tmp = j * (y5 * ((y0 * y3) - (t * i))) elif a <= 1.06e-67: tmp = k * (y1 * ((y2 * y4) - (z * i))) elif a <= 0.025: tmp = t_1 elif a <= 2e+131: tmp = i * (y1 * ((x * j) - (z * k))) else: tmp = a * (y1 * ((z * y3) - (x * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))) tmp = 0.0 if (a <= -8.4e+195) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (a <= -2.26e-116) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (a <= -4.4e-211) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (a <= -4.6e-239) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (a <= 1.45e-213) tmp = t_1; elseif (a <= 1.5e-102) tmp = Float64(j * Float64(y5 * Float64(Float64(y0 * y3) - Float64(t * i)))); elseif (a <= 1.06e-67) tmp = Float64(k * Float64(y1 * Float64(Float64(y2 * y4) - Float64(z * i)))); elseif (a <= 0.025) tmp = t_1; elseif (a <= 2e+131) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); else tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); 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 * (x * ((y0 * y2) - (y * i))); tmp = 0.0; if (a <= -8.4e+195) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (a <= -2.26e-116) tmp = b * (z * ((k * y0) - (t * a))); elseif (a <= -4.4e-211) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (a <= -4.6e-239) tmp = y0 * (y5 * -(k * y2)); elseif (a <= 1.45e-213) tmp = t_1; elseif (a <= 1.5e-102) tmp = j * (y5 * ((y0 * y3) - (t * i))); elseif (a <= 1.06e-67) tmp = k * (y1 * ((y2 * y4) - (z * i))); elseif (a <= 0.025) tmp = t_1; elseif (a <= 2e+131) tmp = i * (y1 * ((x * j) - (z * k))); else tmp = a * (y1 * ((z * y3) - (x * y2))); 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[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -8.4e+195], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.26e-116], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.4e-211], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.6e-239], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.45e-213], t$95$1, If[LessEqual[a, 1.5e-102], N[(j * N[(y5 * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.06e-67], N[(k * N[(y1 * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 0.025], t$95$1, If[LessEqual[a, 2e+131], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{if}\;a \leq -8.4 \cdot 10^{+195}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -2.26 \cdot 10^{-116}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;a \leq -4.4 \cdot 10^{-211}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq -4.6 \cdot 10^{-239}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq 1.45 \cdot 10^{-213}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 1.5 \cdot 10^{-102}:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\
\mathbf{elif}\;a \leq 1.06 \cdot 10^{-67}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{elif}\;a \leq 0.025:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 2 \cdot 10^{+131}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\end{array}
\end{array}
if a < -8.40000000000000038e195Initial program 30.9%
Taylor expanded in y around inf 34.6%
Taylor expanded in a around inf 69.6%
if -8.40000000000000038e195 < a < -2.25999999999999994e-116Initial program 23.1%
Taylor expanded in b around inf 41.7%
Taylor expanded in z around -inf 46.9%
associate-*r*46.9%
mul-1-neg46.9%
Simplified46.9%
if -2.25999999999999994e-116 < a < -4.39999999999999996e-211Initial program 18.6%
Taylor expanded in y4 around inf 36.8%
*-commutative36.8%
Simplified36.8%
Taylor expanded in t around inf 73.0%
associate-*r*64.2%
Simplified64.2%
Taylor expanded in y2 around inf 63.9%
*-commutative63.9%
Simplified63.9%
if -4.39999999999999996e-211 < a < -4.5999999999999998e-239Initial program 57.1%
Taylor expanded in x around inf 57.3%
Taylor expanded in y0 around inf 71.9%
Taylor expanded in y5 around -inf 57.5%
associate-*r*57.5%
neg-mul-157.5%
+-commutative57.5%
mul-1-neg57.5%
unsub-neg57.5%
associate-/l*71.2%
*-commutative71.2%
*-commutative71.2%
Simplified71.2%
Taylor expanded in k around inf 58.2%
mul-1-neg58.2%
associate-*r*72.0%
distribute-rgt-neg-in72.0%
*-commutative72.0%
Simplified72.0%
if -4.5999999999999998e-239 < a < 1.45e-213 or 1.06e-67 < a < 0.025000000000000001Initial program 33.0%
Taylor expanded in x around inf 48.4%
Taylor expanded in c around inf 41.7%
if 1.45e-213 < a < 1.5e-102Initial program 40.8%
Taylor expanded in j around inf 59.7%
+-commutative59.7%
mul-1-neg59.7%
unsub-neg59.7%
*-commutative59.7%
Simplified59.7%
Taylor expanded in y5 around -inf 59.6%
mul-1-neg59.6%
Simplified59.6%
if 1.5e-102 < a < 1.06e-67Initial program 27.9%
Taylor expanded in y1 around -inf 65.0%
associate-*r*65.0%
neg-mul-165.0%
+-commutative65.0%
mul-1-neg65.0%
unsub-neg65.0%
*-commutative65.0%
*-commutative65.0%
*-commutative65.0%
*-commutative65.0%
Simplified65.0%
Taylor expanded in k around inf 47.8%
if 0.025000000000000001 < a < 1.9999999999999998e131Initial program 32.0%
Taylor expanded in y1 around -inf 47.7%
associate-*r*47.7%
neg-mul-147.7%
+-commutative47.7%
mul-1-neg47.7%
unsub-neg47.7%
*-commutative47.7%
*-commutative47.7%
*-commutative47.7%
*-commutative47.7%
Simplified47.7%
Taylor expanded in i around -inf 44.1%
if 1.9999999999999998e131 < a Initial program 8.8%
Taylor expanded in y1 around -inf 40.4%
associate-*r*40.4%
neg-mul-140.4%
+-commutative40.4%
mul-1-neg40.4%
unsub-neg40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
Simplified40.4%
Taylor expanded in a around inf 60.8%
mul-1-neg60.8%
Simplified60.8%
Final simplification52.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= a -1.46e+196)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= a -5e-109)
(* b (* z (- (* k y0) (* t a))))
(if (<= a -2.1e-210)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= a -2.55e-238)
(* y0 (* y5 (- (* k y2))))
(if (<= a 1e-282)
(* c (* x (- (* y0 y2) (* y i))))
(if (<= a 9.5e-101)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= a 1.95e-56)
(* i (* y (- (* k y5) (* x c))))
(if (<= a 6.1e+16)
(* x (* j (- (* c (/ (* y0 y2) j)) (* b y0))))
(if (<= a 5e+133)
(* i (* y1 (- (* x j) (* z k))))
(* a (* y1 (- (* z y3) (* x y2))))))))))))))
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 <= -1.46e+196) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -5e-109) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (a <= -2.1e-210) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (a <= -2.55e-238) {
tmp = y0 * (y5 * -(k * y2));
} else if (a <= 1e-282) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else if (a <= 9.5e-101) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (a <= 1.95e-56) {
tmp = i * (y * ((k * y5) - (x * c)));
} else if (a <= 6.1e+16) {
tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0)));
} else if (a <= 5e+133) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = a * (y1 * ((z * y3) - (x * y2)));
}
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 <= (-1.46d+196)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (a <= (-5d-109)) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (a <= (-2.1d-210)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (a <= (-2.55d-238)) then
tmp = y0 * (y5 * -(k * y2))
else if (a <= 1d-282) then
tmp = c * (x * ((y0 * y2) - (y * i)))
else if (a <= 9.5d-101) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (a <= 1.95d-56) then
tmp = i * (y * ((k * y5) - (x * c)))
else if (a <= 6.1d+16) then
tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0)))
else if (a <= 5d+133) then
tmp = i * (y1 * ((x * j) - (z * k)))
else
tmp = a * (y1 * ((z * y3) - (x * y2)))
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 <= -1.46e+196) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -5e-109) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (a <= -2.1e-210) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (a <= -2.55e-238) {
tmp = y0 * (y5 * -(k * y2));
} else if (a <= 1e-282) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else if (a <= 9.5e-101) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (a <= 1.95e-56) {
tmp = i * (y * ((k * y5) - (x * c)));
} else if (a <= 6.1e+16) {
tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0)));
} else if (a <= 5e+133) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = a * (y1 * ((z * y3) - (x * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -1.46e+196: tmp = a * (y * ((x * b) - (y3 * y5))) elif a <= -5e-109: tmp = b * (z * ((k * y0) - (t * a))) elif a <= -2.1e-210: tmp = t * (y2 * ((a * y5) - (c * y4))) elif a <= -2.55e-238: tmp = y0 * (y5 * -(k * y2)) elif a <= 1e-282: tmp = c * (x * ((y0 * y2) - (y * i))) elif a <= 9.5e-101: tmp = c * (y4 * ((y * y3) - (t * y2))) elif a <= 1.95e-56: tmp = i * (y * ((k * y5) - (x * c))) elif a <= 6.1e+16: tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0))) elif a <= 5e+133: tmp = i * (y1 * ((x * j) - (z * k))) else: tmp = a * (y1 * ((z * y3) - (x * y2))) 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 <= -1.46e+196) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (a <= -5e-109) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (a <= -2.1e-210) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (a <= -2.55e-238) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (a <= 1e-282) tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); elseif (a <= 9.5e-101) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (a <= 1.95e-56) tmp = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(x * c)))); elseif (a <= 6.1e+16) tmp = Float64(x * Float64(j * Float64(Float64(c * Float64(Float64(y0 * y2) / j)) - Float64(b * y0)))); elseif (a <= 5e+133) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); else tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); 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 <= -1.46e+196) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (a <= -5e-109) tmp = b * (z * ((k * y0) - (t * a))); elseif (a <= -2.1e-210) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (a <= -2.55e-238) tmp = y0 * (y5 * -(k * y2)); elseif (a <= 1e-282) tmp = c * (x * ((y0 * y2) - (y * i))); elseif (a <= 9.5e-101) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (a <= 1.95e-56) tmp = i * (y * ((k * y5) - (x * c))); elseif (a <= 6.1e+16) tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0))); elseif (a <= 5e+133) tmp = i * (y1 * ((x * j) - (z * k))); else tmp = a * (y1 * ((z * y3) - (x * y2))); 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, -1.46e+196], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5e-109], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.1e-210], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.55e-238], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1e-282], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 9.5e-101], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.95e-56], N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.1e+16], N[(x * N[(j * N[(N[(c * N[(N[(y0 * y2), $MachinePrecision] / j), $MachinePrecision]), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5e+133], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.46 \cdot 10^{+196}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -5 \cdot 10^{-109}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;a \leq -2.1 \cdot 10^{-210}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq -2.55 \cdot 10^{-238}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq 10^{-282}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{elif}\;a \leq 9.5 \cdot 10^{-101}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq 1.95 \cdot 10^{-56}:\\
\;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{elif}\;a \leq 6.1 \cdot 10^{+16}:\\
\;\;\;\;x \cdot \left(j \cdot \left(c \cdot \frac{y0 \cdot y2}{j} - b \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq 5 \cdot 10^{+133}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\end{array}
\end{array}
if a < -1.4600000000000001e196Initial program 30.9%
Taylor expanded in y around inf 34.6%
Taylor expanded in a around inf 69.6%
if -1.4600000000000001e196 < a < -5.0000000000000002e-109Initial program 23.1%
Taylor expanded in b around inf 41.7%
Taylor expanded in z around -inf 46.9%
associate-*r*46.9%
mul-1-neg46.9%
Simplified46.9%
if -5.0000000000000002e-109 < a < -2.10000000000000016e-210Initial program 18.6%
Taylor expanded in y4 around inf 36.8%
*-commutative36.8%
Simplified36.8%
Taylor expanded in t around inf 73.0%
associate-*r*64.2%
Simplified64.2%
Taylor expanded in y2 around inf 63.9%
*-commutative63.9%
Simplified63.9%
if -2.10000000000000016e-210 < a < -2.55e-238Initial program 57.1%
Taylor expanded in x around inf 57.3%
Taylor expanded in y0 around inf 71.9%
Taylor expanded in y5 around -inf 57.5%
associate-*r*57.5%
neg-mul-157.5%
+-commutative57.5%
mul-1-neg57.5%
unsub-neg57.5%
associate-/l*71.2%
*-commutative71.2%
*-commutative71.2%
Simplified71.2%
Taylor expanded in k around inf 58.2%
mul-1-neg58.2%
associate-*r*72.0%
distribute-rgt-neg-in72.0%
*-commutative72.0%
Simplified72.0%
if -2.55e-238 < a < 1e-282Initial program 44.9%
Taylor expanded in x around inf 55.7%
Taylor expanded in c around inf 38.2%
if 1e-282 < a < 9.49999999999999994e-101Initial program 28.9%
Taylor expanded in y4 around inf 55.8%
*-commutative55.8%
Simplified55.8%
Taylor expanded in c around inf 48.7%
mul-1-neg48.7%
Simplified48.7%
if 9.49999999999999994e-101 < a < 1.95e-56Initial program 27.9%
Taylor expanded in y around inf 46.2%
Taylor expanded in i around inf 47.4%
if 1.95e-56 < a < 6.1e16Initial program 45.8%
Taylor expanded in x around inf 36.8%
Taylor expanded in y0 around inf 37.3%
Taylor expanded in y5 around 0 47.0%
Taylor expanded in j around inf 55.8%
+-commutative55.8%
mul-1-neg55.8%
unsub-neg55.8%
associate-/l*73.6%
*-commutative73.6%
Simplified73.6%
if 6.1e16 < a < 4.99999999999999961e133Initial program 26.8%
Taylor expanded in y1 around -inf 47.5%
associate-*r*47.5%
neg-mul-147.5%
+-commutative47.5%
mul-1-neg47.5%
unsub-neg47.5%
*-commutative47.5%
*-commutative47.5%
*-commutative47.5%
*-commutative47.5%
Simplified47.5%
Taylor expanded in i around -inf 43.7%
if 4.99999999999999961e133 < a Initial program 8.8%
Taylor expanded in y1 around -inf 40.4%
associate-*r*40.4%
neg-mul-140.4%
+-commutative40.4%
mul-1-neg40.4%
unsub-neg40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
Simplified40.4%
Taylor expanded in a around inf 60.8%
mul-1-neg60.8%
Simplified60.8%
Final simplification53.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0)))))
(t_2 (* y0 (* y5 (- (* k y2))))))
(if (<= a -1.32e+196)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= a -5.8e-58)
t_1
(if (<= a -2.5e-153)
(* y0 (* y2 (* x c)))
(if (<= a -4.5e-268)
t_2
(if (<= a 5.2e-286)
(* c (* x (* y0 y2)))
(if (<= a 1.46e-195)
t_2
(if (<= a 2e-47)
(* t (* c (- (* y2 y4))))
(if (<= a 5.4e+265) t_1 (* t (* a (* y2 y5)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (x * ((y * a) - (j * y0)));
double t_2 = y0 * (y5 * -(k * y2));
double tmp;
if (a <= -1.32e+196) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -5.8e-58) {
tmp = t_1;
} else if (a <= -2.5e-153) {
tmp = y0 * (y2 * (x * c));
} else if (a <= -4.5e-268) {
tmp = t_2;
} else if (a <= 5.2e-286) {
tmp = c * (x * (y0 * y2));
} else if (a <= 1.46e-195) {
tmp = t_2;
} else if (a <= 2e-47) {
tmp = t * (c * -(y2 * y4));
} else if (a <= 5.4e+265) {
tmp = t_1;
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
t_2 = y0 * (y5 * -(k * y2))
if (a <= (-1.32d+196)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (a <= (-5.8d-58)) then
tmp = t_1
else if (a <= (-2.5d-153)) then
tmp = y0 * (y2 * (x * c))
else if (a <= (-4.5d-268)) then
tmp = t_2
else if (a <= 5.2d-286) then
tmp = c * (x * (y0 * y2))
else if (a <= 1.46d-195) then
tmp = t_2
else if (a <= 2d-47) then
tmp = t * (c * -(y2 * y4))
else if (a <= 5.4d+265) then
tmp = t_1
else
tmp = t * (a * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (x * ((y * a) - (j * y0)));
double t_2 = y0 * (y5 * -(k * y2));
double tmp;
if (a <= -1.32e+196) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -5.8e-58) {
tmp = t_1;
} else if (a <= -2.5e-153) {
tmp = y0 * (y2 * (x * c));
} else if (a <= -4.5e-268) {
tmp = t_2;
} else if (a <= 5.2e-286) {
tmp = c * (x * (y0 * y2));
} else if (a <= 1.46e-195) {
tmp = t_2;
} else if (a <= 2e-47) {
tmp = t * (c * -(y2 * y4));
} else if (a <= 5.4e+265) {
tmp = t_1;
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (x * ((y * a) - (j * y0))) t_2 = y0 * (y5 * -(k * y2)) tmp = 0 if a <= -1.32e+196: tmp = a * (y * ((x * b) - (y3 * y5))) elif a <= -5.8e-58: tmp = t_1 elif a <= -2.5e-153: tmp = y0 * (y2 * (x * c)) elif a <= -4.5e-268: tmp = t_2 elif a <= 5.2e-286: tmp = c * (x * (y0 * y2)) elif a <= 1.46e-195: tmp = t_2 elif a <= 2e-47: tmp = t * (c * -(y2 * y4)) elif a <= 5.4e+265: tmp = t_1 else: tmp = t * (a * (y2 * y5)) 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(x * Float64(Float64(y * a) - Float64(j * y0)))) t_2 = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))) tmp = 0.0 if (a <= -1.32e+196) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (a <= -5.8e-58) tmp = t_1; elseif (a <= -2.5e-153) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); elseif (a <= -4.5e-268) tmp = t_2; elseif (a <= 5.2e-286) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (a <= 1.46e-195) tmp = t_2; elseif (a <= 2e-47) tmp = Float64(t * Float64(c * Float64(-Float64(y2 * y4)))); elseif (a <= 5.4e+265) tmp = t_1; else tmp = Float64(t * Float64(a * Float64(y2 * 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 = b * (x * ((y * a) - (j * y0))); t_2 = y0 * (y5 * -(k * y2)); tmp = 0.0; if (a <= -1.32e+196) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (a <= -5.8e-58) tmp = t_1; elseif (a <= -2.5e-153) tmp = y0 * (y2 * (x * c)); elseif (a <= -4.5e-268) tmp = t_2; elseif (a <= 5.2e-286) tmp = c * (x * (y0 * y2)); elseif (a <= 1.46e-195) tmp = t_2; elseif (a <= 2e-47) tmp = t * (c * -(y2 * y4)); elseif (a <= 5.4e+265) tmp = t_1; else tmp = t * (a * (y2 * 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[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.32e+196], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.8e-58], t$95$1, If[LessEqual[a, -2.5e-153], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.5e-268], t$95$2, If[LessEqual[a, 5.2e-286], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.46e-195], t$95$2, If[LessEqual[a, 2e-47], N[(t * N[(c * (-N[(y2 * y4), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.4e+265], t$95$1, N[(t * N[(a * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
t_2 := y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{if}\;a \leq -1.32 \cdot 10^{+196}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -5.8 \cdot 10^{-58}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -2.5 \cdot 10^{-153}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{elif}\;a \leq -4.5 \cdot 10^{-268}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq 5.2 \cdot 10^{-286}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq 1.46 \cdot 10^{-195}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq 2 \cdot 10^{-47}:\\
\;\;\;\;t \cdot \left(c \cdot \left(-y2 \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 5.4 \cdot 10^{+265}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if a < -1.32e196Initial program 30.9%
Taylor expanded in y around inf 34.6%
Taylor expanded in a around inf 69.6%
if -1.32e196 < a < -5.7999999999999998e-58 or 1.9999999999999999e-47 < a < 5.39999999999999968e265Initial program 22.8%
Taylor expanded in x around inf 38.8%
Taylor expanded in b around inf 40.3%
if -5.7999999999999998e-58 < a < -2.50000000000000016e-153Initial program 13.2%
Taylor expanded in x around inf 73.9%
Taylor expanded in y0 around inf 63.7%
Taylor expanded in y5 around -inf 75.6%
associate-*r*75.6%
neg-mul-175.6%
+-commutative75.6%
mul-1-neg75.6%
unsub-neg75.6%
associate-/l*75.6%
*-commutative75.6%
*-commutative75.6%
Simplified75.6%
Taylor expanded in c around inf 39.4%
associate-*r*51.6%
*-commutative51.6%
Simplified51.6%
if -2.50000000000000016e-153 < a < -4.5000000000000001e-268 or 5.1999999999999999e-286 < a < 1.45999999999999994e-195Initial program 29.6%
Taylor expanded in x around inf 51.6%
Taylor expanded in y0 around inf 54.2%
Taylor expanded in y5 around -inf 56.4%
associate-*r*56.4%
neg-mul-156.4%
+-commutative56.4%
mul-1-neg56.4%
unsub-neg56.4%
associate-/l*58.7%
*-commutative58.7%
*-commutative58.7%
Simplified58.7%
Taylor expanded in k around inf 42.8%
mul-1-neg42.8%
associate-*r*47.4%
distribute-rgt-neg-in47.4%
*-commutative47.4%
Simplified47.4%
if -4.5000000000000001e-268 < a < 5.1999999999999999e-286Initial program 44.7%
Taylor expanded in x around inf 44.6%
Taylor expanded in y0 around inf 29.5%
Taylor expanded in c around inf 34.5%
if 1.45999999999999994e-195 < a < 1.9999999999999999e-47Initial program 40.8%
Taylor expanded in y4 around inf 44.5%
*-commutative44.5%
Simplified44.5%
Taylor expanded in t around inf 39.4%
associate-*r*36.4%
Simplified36.4%
Taylor expanded in c around inf 33.0%
mul-1-neg33.0%
distribute-rgt-neg-in33.0%
distribute-rgt-neg-in33.0%
Simplified33.0%
if 5.39999999999999968e265 < a Initial program 7.7%
Taylor expanded in y4 around inf 30.8%
*-commutative30.8%
Simplified30.8%
Taylor expanded in t around inf 61.8%
associate-*r*61.8%
Simplified61.8%
Taylor expanded in y4 around 0 55.0%
*-commutative55.0%
Simplified55.0%
Final simplification44.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
(if (<= k -2e+197)
(* y0 (* y5 (- (* k y2))))
(if (<= k -2.3e-209)
t_1
(if (<= k 1.1e-182)
(* j (* t (- (* b y4) (* i y5))))
(if (<= k 5.7e-101)
t_1
(if (<= k 5.2e-74)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= k 4.6e-31)
(* y0 (* y2 (* x c)))
(if (<= k 4.1e+34)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= k 6.2e+100)
(* i (* y1 (- (* x j) (* z k))))
(* k (* y2 (- (* y1 y4) (* y0 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -2e+197) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -2.3e-209) {
tmp = t_1;
} else if (k <= 1.1e-182) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 5.7e-101) {
tmp = t_1;
} else if (k <= 5.2e-74) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (k <= 4.6e-31) {
tmp = y0 * (y2 * (x * c));
} else if (k <= 4.1e+34) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 6.2e+100) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * 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) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
if (k <= (-2d+197)) then
tmp = y0 * (y5 * -(k * y2))
else if (k <= (-2.3d-209)) then
tmp = t_1
else if (k <= 1.1d-182) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (k <= 5.7d-101) then
tmp = t_1
else if (k <= 5.2d-74) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (k <= 4.6d-31) then
tmp = y0 * (y2 * (x * c))
else if (k <= 4.1d+34) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (k <= 6.2d+100) then
tmp = i * (y1 * ((x * j) - (z * k)))
else
tmp = k * (y2 * ((y1 * y4) - (y0 * 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -2e+197) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -2.3e-209) {
tmp = t_1;
} else if (k <= 1.1e-182) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 5.7e-101) {
tmp = t_1;
} else if (k <= 5.2e-74) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (k <= 4.6e-31) {
tmp = y0 * (y2 * (x * c));
} else if (k <= 4.1e+34) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (k <= 6.2e+100) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (x * ((y * a) - (j * y0))) tmp = 0 if k <= -2e+197: tmp = y0 * (y5 * -(k * y2)) elif k <= -2.3e-209: tmp = t_1 elif k <= 1.1e-182: tmp = j * (t * ((b * y4) - (i * y5))) elif k <= 5.7e-101: tmp = t_1 elif k <= 5.2e-74: tmp = a * (y5 * ((t * y2) - (y * y3))) elif k <= 4.6e-31: tmp = y0 * (y2 * (x * c)) elif k <= 4.1e+34: tmp = t * (y2 * ((a * y5) - (c * y4))) elif k <= 6.2e+100: tmp = i * (y1 * ((x * j) - (z * k))) else: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) 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(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (k <= -2e+197) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (k <= -2.3e-209) tmp = t_1; elseif (k <= 1.1e-182) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (k <= 5.7e-101) tmp = t_1; elseif (k <= 5.2e-74) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (k <= 4.6e-31) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); elseif (k <= 4.1e+34) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (k <= 6.2e+100) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); else tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * 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 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (k <= -2e+197) tmp = y0 * (y5 * -(k * y2)); elseif (k <= -2.3e-209) tmp = t_1; elseif (k <= 1.1e-182) tmp = j * (t * ((b * y4) - (i * y5))); elseif (k <= 5.7e-101) tmp = t_1; elseif (k <= 5.2e-74) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (k <= 4.6e-31) tmp = y0 * (y2 * (x * c)); elseif (k <= 4.1e+34) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (k <= 6.2e+100) tmp = i * (y1 * ((x * j) - (z * k))); else tmp = k * (y2 * ((y1 * y4) - (y0 * 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[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -2e+197], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -2.3e-209], t$95$1, If[LessEqual[k, 1.1e-182], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 5.7e-101], t$95$1, If[LessEqual[k, 5.2e-74], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 4.6e-31], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 4.1e+34], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 6.2e+100], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;k \leq -2 \cdot 10^{+197}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -2.3 \cdot 10^{-209}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 1.1 \cdot 10^{-182}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq 5.7 \cdot 10^{-101}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 5.2 \cdot 10^{-74}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;k \leq 4.6 \cdot 10^{-31}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{elif}\;k \leq 4.1 \cdot 10^{+34}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;k \leq 6.2 \cdot 10^{+100}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if k < -1.9999999999999999e197Initial program 12.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in y0 around inf 44.4%
Taylor expanded in y5 around -inf 50.4%
associate-*r*50.4%
neg-mul-150.4%
+-commutative50.4%
mul-1-neg50.4%
unsub-neg50.4%
associate-/l*50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in k around inf 41.9%
mul-1-neg41.9%
associate-*r*50.9%
distribute-rgt-neg-in50.9%
*-commutative50.9%
Simplified50.9%
if -1.9999999999999999e197 < k < -2.3e-209 or 1.1e-182 < k < 5.69999999999999983e-101Initial program 32.2%
Taylor expanded in x around inf 45.3%
Taylor expanded in b around inf 42.7%
if -2.3e-209 < k < 1.1e-182Initial program 32.7%
Taylor expanded in j around inf 52.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in t around inf 41.3%
if 5.69999999999999983e-101 < k < 5.2000000000000002e-74Initial program 33.3%
Taylor expanded in y4 around inf 45.1%
*-commutative45.1%
Simplified45.1%
Taylor expanded in a around inf 57.0%
if 5.2000000000000002e-74 < k < 4.5999999999999997e-31Initial program 36.4%
Taylor expanded in x around inf 45.5%
Taylor expanded in y0 around inf 28.6%
Taylor expanded in y5 around -inf 45.9%
associate-*r*45.9%
neg-mul-145.9%
+-commutative45.9%
mul-1-neg45.9%
unsub-neg45.9%
associate-/l*45.9%
*-commutative45.9%
*-commutative45.9%
Simplified45.9%
Taylor expanded in c around inf 38.0%
associate-*r*46.7%
*-commutative46.7%
Simplified46.7%
if 4.5999999999999997e-31 < k < 4.0999999999999998e34Initial program 21.9%
Taylor expanded in y4 around inf 50.6%
*-commutative50.6%
Simplified50.6%
Taylor expanded in t around inf 50.5%
associate-*r*50.5%
Simplified50.5%
Taylor expanded in y2 around inf 64.9%
*-commutative64.9%
Simplified64.9%
if 4.0999999999999998e34 < k < 6.20000000000000014e100Initial program 33.3%
Taylor expanded in y1 around -inf 68.2%
associate-*r*68.2%
neg-mul-168.2%
+-commutative68.2%
mul-1-neg68.2%
unsub-neg68.2%
*-commutative68.2%
*-commutative68.2%
*-commutative68.2%
*-commutative68.2%
Simplified68.2%
Taylor expanded in i around -inf 56.8%
if 6.20000000000000014e100 < k Initial program 21.3%
Taylor expanded in x around inf 49.0%
Taylor expanded in k around inf 50.2%
Final simplification47.3%
(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))))
(if (<= a -8.4e+195)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= a -3.9e-15)
(* b (* z (- (* k y0) (* t a))))
(if (<= a -2e-151)
(* y2 (+ (* k t_1) (* x (- (* c y0) (* a y1)))))
(if (<= a -3.8e-208)
(* t (+ (* y4 (* b j)) (* y2 (- (* a y5) (* c y4)))))
(if (<= a 1.1e-49)
(* (- (* k y2) (* j y3)) t_1)
(if (<= a 2.6e+16)
(* x (* j (- (* c (/ (* y0 y2) j)) (* b y0))))
(if (<= a 4.8e+135)
(* i (* y1 (- (* x j) (* z k))))
(* a (* y1 (- (* z y3) (* x y2)))))))))))))
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 tmp;
if (a <= -8.4e+195) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -3.9e-15) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (a <= -2e-151) {
tmp = y2 * ((k * t_1) + (x * ((c * y0) - (a * y1))));
} else if (a <= -3.8e-208) {
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))));
} else if (a <= 1.1e-49) {
tmp = ((k * y2) - (j * y3)) * t_1;
} else if (a <= 2.6e+16) {
tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0)));
} else if (a <= 4.8e+135) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = a * (y1 * ((z * y3) - (x * y2)));
}
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 = (y1 * y4) - (y0 * y5)
if (a <= (-8.4d+195)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (a <= (-3.9d-15)) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (a <= (-2d-151)) then
tmp = y2 * ((k * t_1) + (x * ((c * y0) - (a * y1))))
else if (a <= (-3.8d-208)) then
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))))
else if (a <= 1.1d-49) then
tmp = ((k * y2) - (j * y3)) * t_1
else if (a <= 2.6d+16) then
tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0)))
else if (a <= 4.8d+135) then
tmp = i * (y1 * ((x * j) - (z * k)))
else
tmp = a * (y1 * ((z * y3) - (x * y2)))
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 tmp;
if (a <= -8.4e+195) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -3.9e-15) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (a <= -2e-151) {
tmp = y2 * ((k * t_1) + (x * ((c * y0) - (a * y1))));
} else if (a <= -3.8e-208) {
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))));
} else if (a <= 1.1e-49) {
tmp = ((k * y2) - (j * y3)) * t_1;
} else if (a <= 2.6e+16) {
tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0)));
} else if (a <= 4.8e+135) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = a * (y1 * ((z * y3) - (x * y2)));
}
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) tmp = 0 if a <= -8.4e+195: tmp = a * (y * ((x * b) - (y3 * y5))) elif a <= -3.9e-15: tmp = b * (z * ((k * y0) - (t * a))) elif a <= -2e-151: tmp = y2 * ((k * t_1) + (x * ((c * y0) - (a * y1)))) elif a <= -3.8e-208: tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4)))) elif a <= 1.1e-49: tmp = ((k * y2) - (j * y3)) * t_1 elif a <= 2.6e+16: tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0))) elif a <= 4.8e+135: tmp = i * (y1 * ((x * j) - (z * k))) else: tmp = a * (y1 * ((z * y3) - (x * y2))) 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)) tmp = 0.0 if (a <= -8.4e+195) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (a <= -3.9e-15) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (a <= -2e-151) tmp = Float64(y2 * Float64(Float64(k * t_1) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1))))); elseif (a <= -3.8e-208) tmp = Float64(t * Float64(Float64(y4 * Float64(b * j)) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (a <= 1.1e-49) tmp = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_1); elseif (a <= 2.6e+16) tmp = Float64(x * Float64(j * Float64(Float64(c * Float64(Float64(y0 * y2) / j)) - Float64(b * y0)))); elseif (a <= 4.8e+135) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); else tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); 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); tmp = 0.0; if (a <= -8.4e+195) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (a <= -3.9e-15) tmp = b * (z * ((k * y0) - (t * a))); elseif (a <= -2e-151) tmp = y2 * ((k * t_1) + (x * ((c * y0) - (a * y1)))); elseif (a <= -3.8e-208) tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4)))); elseif (a <= 1.1e-49) tmp = ((k * y2) - (j * y3)) * t_1; elseif (a <= 2.6e+16) tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0))); elseif (a <= 4.8e+135) tmp = i * (y1 * ((x * j) - (z * k))); else tmp = a * (y1 * ((z * y3) - (x * y2))); 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]}, If[LessEqual[a, -8.4e+195], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.9e-15], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2e-151], N[(y2 * N[(N[(k * t$95$1), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.8e-208], N[(t * N[(N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.1e-49], N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$1), $MachinePrecision], If[LessEqual[a, 2.6e+16], N[(x * N[(j * N[(N[(c * N[(N[(y0 * y2), $MachinePrecision] / j), $MachinePrecision]), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.8e+135], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;a \leq -8.4 \cdot 10^{+195}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -3.9 \cdot 10^{-15}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;a \leq -2 \cdot 10^{-151}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_1 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;a \leq -3.8 \cdot 10^{-208}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 1.1 \cdot 10^{-49}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t\_1\\
\mathbf{elif}\;a \leq 2.6 \cdot 10^{+16}:\\
\;\;\;\;x \cdot \left(j \cdot \left(c \cdot \frac{y0 \cdot y2}{j} - b \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq 4.8 \cdot 10^{+135}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\end{array}
\end{array}
if a < -8.40000000000000038e195Initial program 30.9%
Taylor expanded in y around inf 34.6%
Taylor expanded in a around inf 69.6%
if -8.40000000000000038e195 < a < -3.90000000000000026e-15Initial program 22.1%
Taylor expanded in b around inf 40.8%
Taylor expanded in z around -inf 50.9%
associate-*r*50.9%
mul-1-neg50.9%
Simplified50.9%
if -3.90000000000000026e-15 < a < -1.9999999999999999e-151Initial program 21.8%
Taylor expanded in x around inf 63.8%
Taylor expanded in y2 around inf 58.9%
if -1.9999999999999999e-151 < a < -3.80000000000000011e-208Initial program 25.6%
Taylor expanded in y4 around inf 50.6%
*-commutative50.6%
Simplified50.6%
Taylor expanded in t around inf 87.5%
associate-*r*75.4%
Simplified75.4%
if -3.80000000000000011e-208 < a < 1.09999999999999995e-49Initial program 36.4%
Taylor expanded in x around inf 51.1%
Taylor expanded in x around 0 49.0%
if 1.09999999999999995e-49 < a < 2.6e16Initial program 45.8%
Taylor expanded in x around inf 36.8%
Taylor expanded in y0 around inf 37.3%
Taylor expanded in y5 around 0 47.0%
Taylor expanded in j around inf 55.8%
+-commutative55.8%
mul-1-neg55.8%
unsub-neg55.8%
associate-/l*73.6%
*-commutative73.6%
Simplified73.6%
if 2.6e16 < a < 4.79999999999999995e135Initial program 26.8%
Taylor expanded in y1 around -inf 47.5%
associate-*r*47.5%
neg-mul-147.5%
+-commutative47.5%
mul-1-neg47.5%
unsub-neg47.5%
*-commutative47.5%
*-commutative47.5%
*-commutative47.5%
*-commutative47.5%
Simplified47.5%
Taylor expanded in i around -inf 43.7%
if 4.79999999999999995e135 < a Initial program 8.8%
Taylor expanded in y1 around -inf 40.4%
associate-*r*40.4%
neg-mul-140.4%
+-commutative40.4%
mul-1-neg40.4%
unsub-neg40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
Simplified40.4%
Taylor expanded in a around inf 60.8%
mul-1-neg60.8%
Simplified60.8%
Final simplification55.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* t (* c (- (* y2 y4))))))
(if (<= a -4.8e-58)
(* (* x y) (* a b))
(if (<= a -4.8e-183)
(* y0 (* y2 (* x c)))
(if (<= a -2.6e-208)
t_1
(if (<= a 4.1e-285)
(* k (* (- y5) (* y0 y2)))
(if (<= a 2.3e-194)
(* y0 (* y5 (- (* k y2))))
(if (<= a 6.2e-95)
t_1
(if (<= a 5.2e+266)
(* (- y0) (* b (* x j)))
(* t (* a (* y2 y5))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = t * (c * -(y2 * y4));
double tmp;
if (a <= -4.8e-58) {
tmp = (x * y) * (a * b);
} else if (a <= -4.8e-183) {
tmp = y0 * (y2 * (x * c));
} else if (a <= -2.6e-208) {
tmp = t_1;
} else if (a <= 4.1e-285) {
tmp = k * (-y5 * (y0 * y2));
} else if (a <= 2.3e-194) {
tmp = y0 * (y5 * -(k * y2));
} else if (a <= 6.2e-95) {
tmp = t_1;
} else if (a <= 5.2e+266) {
tmp = -y0 * (b * (x * j));
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = t * (c * -(y2 * y4))
if (a <= (-4.8d-58)) then
tmp = (x * y) * (a * b)
else if (a <= (-4.8d-183)) then
tmp = y0 * (y2 * (x * c))
else if (a <= (-2.6d-208)) then
tmp = t_1
else if (a <= 4.1d-285) then
tmp = k * (-y5 * (y0 * y2))
else if (a <= 2.3d-194) then
tmp = y0 * (y5 * -(k * y2))
else if (a <= 6.2d-95) then
tmp = t_1
else if (a <= 5.2d+266) then
tmp = -y0 * (b * (x * j))
else
tmp = t * (a * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = t * (c * -(y2 * y4));
double tmp;
if (a <= -4.8e-58) {
tmp = (x * y) * (a * b);
} else if (a <= -4.8e-183) {
tmp = y0 * (y2 * (x * c));
} else if (a <= -2.6e-208) {
tmp = t_1;
} else if (a <= 4.1e-285) {
tmp = k * (-y5 * (y0 * y2));
} else if (a <= 2.3e-194) {
tmp = y0 * (y5 * -(k * y2));
} else if (a <= 6.2e-95) {
tmp = t_1;
} else if (a <= 5.2e+266) {
tmp = -y0 * (b * (x * j));
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = t * (c * -(y2 * y4)) tmp = 0 if a <= -4.8e-58: tmp = (x * y) * (a * b) elif a <= -4.8e-183: tmp = y0 * (y2 * (x * c)) elif a <= -2.6e-208: tmp = t_1 elif a <= 4.1e-285: tmp = k * (-y5 * (y0 * y2)) elif a <= 2.3e-194: tmp = y0 * (y5 * -(k * y2)) elif a <= 6.2e-95: tmp = t_1 elif a <= 5.2e+266: tmp = -y0 * (b * (x * j)) else: tmp = t * (a * (y2 * y5)) 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(c * Float64(-Float64(y2 * y4)))) tmp = 0.0 if (a <= -4.8e-58) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (a <= -4.8e-183) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); elseif (a <= -2.6e-208) tmp = t_1; elseif (a <= 4.1e-285) tmp = Float64(k * Float64(Float64(-y5) * Float64(y0 * y2))); elseif (a <= 2.3e-194) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (a <= 6.2e-95) tmp = t_1; elseif (a <= 5.2e+266) tmp = Float64(Float64(-y0) * Float64(b * Float64(x * j))); else tmp = Float64(t * Float64(a * Float64(y2 * 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 = t * (c * -(y2 * y4)); tmp = 0.0; if (a <= -4.8e-58) tmp = (x * y) * (a * b); elseif (a <= -4.8e-183) tmp = y0 * (y2 * (x * c)); elseif (a <= -2.6e-208) tmp = t_1; elseif (a <= 4.1e-285) tmp = k * (-y5 * (y0 * y2)); elseif (a <= 2.3e-194) tmp = y0 * (y5 * -(k * y2)); elseif (a <= 6.2e-95) tmp = t_1; elseif (a <= 5.2e+266) tmp = -y0 * (b * (x * j)); else tmp = t * (a * (y2 * 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[(t * N[(c * (-N[(y2 * y4), $MachinePrecision])), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -4.8e-58], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.8e-183], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.6e-208], t$95$1, If[LessEqual[a, 4.1e-285], N[(k * N[((-y5) * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.3e-194], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.2e-95], t$95$1, If[LessEqual[a, 5.2e+266], N[((-y0) * N[(b * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(a * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(c \cdot \left(-y2 \cdot y4\right)\right)\\
\mathbf{if}\;a \leq -4.8 \cdot 10^{-58}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;a \leq -4.8 \cdot 10^{-183}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{elif}\;a \leq -2.6 \cdot 10^{-208}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 4.1 \cdot 10^{-285}:\\
\;\;\;\;k \cdot \left(\left(-y5\right) \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq 2.3 \cdot 10^{-194}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq 6.2 \cdot 10^{-95}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 5.2 \cdot 10^{+266}:\\
\;\;\;\;\left(-y0\right) \cdot \left(b \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if a < -4.8000000000000001e-58Initial program 25.6%
Taylor expanded in y around inf 40.0%
Taylor expanded in a around inf 44.0%
Taylor expanded in b around inf 37.3%
associate-*r*42.6%
Simplified42.6%
if -4.8000000000000001e-58 < a < -4.79999999999999986e-183Initial program 17.1%
Taylor expanded in x around inf 57.6%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in y5 around -inf 58.7%
associate-*r*58.7%
neg-mul-158.7%
+-commutative58.7%
mul-1-neg58.7%
unsub-neg58.7%
associate-/l*58.7%
*-commutative58.7%
*-commutative58.7%
Simplified58.7%
Taylor expanded in c around inf 34.8%
associate-*r*42.9%
*-commutative42.9%
Simplified42.9%
if -4.79999999999999986e-183 < a < -2.60000000000000017e-208 or 2.30000000000000003e-194 < a < 6.19999999999999983e-95Initial program 46.0%
Taylor expanded in y4 around inf 51.1%
*-commutative51.1%
Simplified51.1%
Taylor expanded in t around inf 47.4%
associate-*r*43.4%
Simplified43.4%
Taylor expanded in c around inf 43.4%
mul-1-neg43.4%
distribute-rgt-neg-in43.4%
distribute-rgt-neg-in43.4%
Simplified43.4%
if -2.60000000000000017e-208 < a < 4.1e-285Initial program 47.3%
Taylor expanded in x around inf 56.4%
Taylor expanded in y0 around inf 48.0%
Taylor expanded in y5 around -inf 47.9%
associate-*r*47.9%
neg-mul-147.9%
+-commutative47.9%
mul-1-neg47.9%
unsub-neg47.9%
associate-/l*53.9%
*-commutative53.9%
*-commutative53.9%
Simplified53.9%
Taylor expanded in k around inf 32.8%
associate-*r*32.8%
mul-1-neg32.8%
associate-*r*35.9%
*-commutative35.9%
Simplified35.9%
if 4.1e-285 < a < 2.30000000000000003e-194Initial program 15.0%
Taylor expanded in x around inf 50.6%
Taylor expanded in y0 around inf 55.6%
Taylor expanded in y5 around -inf 60.3%
associate-*r*60.3%
neg-mul-160.3%
+-commutative60.3%
mul-1-neg60.3%
unsub-neg60.3%
associate-/l*60.3%
*-commutative60.3%
*-commutative60.3%
Simplified60.3%
Taylor expanded in k around inf 36.5%
mul-1-neg36.5%
associate-*r*41.1%
distribute-rgt-neg-in41.1%
*-commutative41.1%
Simplified41.1%
if 6.19999999999999983e-95 < a < 5.20000000000000027e266Initial program 23.1%
Taylor expanded in x around inf 34.7%
Taylor expanded in y0 around inf 40.7%
Taylor expanded in y5 around -inf 43.6%
associate-*r*43.6%
neg-mul-143.6%
+-commutative43.6%
mul-1-neg43.6%
unsub-neg43.6%
associate-/l*45.1%
*-commutative45.1%
*-commutative45.1%
Simplified45.1%
Taylor expanded in b around inf 29.9%
mul-1-neg29.9%
*-commutative29.9%
Simplified29.9%
if 5.20000000000000027e266 < a Initial program 8.3%
Taylor expanded in y4 around inf 33.3%
*-commutative33.3%
Simplified33.3%
Taylor expanded in t around inf 58.6%
associate-*r*58.6%
Simplified58.6%
Taylor expanded in y4 around 0 59.5%
*-commutative59.5%
Simplified59.5%
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 (* a (* y (- (* x b) (* y3 y5)))))
(t_2 (* y0 (* (* y2 y5) (- k)))))
(if (<= y -7e-107)
t_1
(if (<= y -2.4e-268)
(* (* y0 y2) (* x c))
(if (<= y 1.5e-272)
t_2
(if (<= y 7.6e-182)
(* c (* x (* y0 y2)))
(if (<= y 4.6e-89)
t_2
(if (<= y 1.06e-65) (* k (* y1 (* 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 = a * (y * ((x * b) - (y3 * y5)));
double t_2 = y0 * ((y2 * y5) * -k);
double tmp;
if (y <= -7e-107) {
tmp = t_1;
} else if (y <= -2.4e-268) {
tmp = (y0 * y2) * (x * c);
} else if (y <= 1.5e-272) {
tmp = t_2;
} else if (y <= 7.6e-182) {
tmp = c * (x * (y0 * y2));
} else if (y <= 4.6e-89) {
tmp = t_2;
} else if (y <= 1.06e-65) {
tmp = k * (y1 * (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) :: t_2
real(8) :: tmp
t_1 = a * (y * ((x * b) - (y3 * y5)))
t_2 = y0 * ((y2 * y5) * -k)
if (y <= (-7d-107)) then
tmp = t_1
else if (y <= (-2.4d-268)) then
tmp = (y0 * y2) * (x * c)
else if (y <= 1.5d-272) then
tmp = t_2
else if (y <= 7.6d-182) then
tmp = c * (x * (y0 * y2))
else if (y <= 4.6d-89) then
tmp = t_2
else if (y <= 1.06d-65) then
tmp = k * (y1 * (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 = a * (y * ((x * b) - (y3 * y5)));
double t_2 = y0 * ((y2 * y5) * -k);
double tmp;
if (y <= -7e-107) {
tmp = t_1;
} else if (y <= -2.4e-268) {
tmp = (y0 * y2) * (x * c);
} else if (y <= 1.5e-272) {
tmp = t_2;
} else if (y <= 7.6e-182) {
tmp = c * (x * (y0 * y2));
} else if (y <= 4.6e-89) {
tmp = t_2;
} else if (y <= 1.06e-65) {
tmp = k * (y1 * (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 = a * (y * ((x * b) - (y3 * y5))) t_2 = y0 * ((y2 * y5) * -k) tmp = 0 if y <= -7e-107: tmp = t_1 elif y <= -2.4e-268: tmp = (y0 * y2) * (x * c) elif y <= 1.5e-272: tmp = t_2 elif y <= 7.6e-182: tmp = c * (x * (y0 * y2)) elif y <= 4.6e-89: tmp = t_2 elif y <= 1.06e-65: tmp = k * (y1 * (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(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))) t_2 = Float64(y0 * Float64(Float64(y2 * y5) * Float64(-k))) tmp = 0.0 if (y <= -7e-107) tmp = t_1; elseif (y <= -2.4e-268) tmp = Float64(Float64(y0 * y2) * Float64(x * c)); elseif (y <= 1.5e-272) tmp = t_2; elseif (y <= 7.6e-182) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y <= 4.6e-89) tmp = t_2; elseif (y <= 1.06e-65) tmp = Float64(k * Float64(y1 * 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 = a * (y * ((x * b) - (y3 * y5))); t_2 = y0 * ((y2 * y5) * -k); tmp = 0.0; if (y <= -7e-107) tmp = t_1; elseif (y <= -2.4e-268) tmp = (y0 * y2) * (x * c); elseif (y <= 1.5e-272) tmp = t_2; elseif (y <= 7.6e-182) tmp = c * (x * (y0 * y2)); elseif (y <= 4.6e-89) tmp = t_2; elseif (y <= 1.06e-65) tmp = k * (y1 * (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[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(N[(y2 * y5), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -7e-107], t$95$1, If[LessEqual[y, -2.4e-268], N[(N[(y0 * y2), $MachinePrecision] * N[(x * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.5e-272], t$95$2, If[LessEqual[y, 7.6e-182], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.6e-89], t$95$2, If[LessEqual[y, 1.06e-65], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
t_2 := y0 \cdot \left(\left(y2 \cdot y5\right) \cdot \left(-k\right)\right)\\
\mathbf{if}\;y \leq -7 \cdot 10^{-107}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -2.4 \cdot 10^{-268}:\\
\;\;\;\;\left(y0 \cdot y2\right) \cdot \left(x \cdot c\right)\\
\mathbf{elif}\;y \leq 1.5 \cdot 10^{-272}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq 7.6 \cdot 10^{-182}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 4.6 \cdot 10^{-89}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq 1.06 \cdot 10^{-65}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -6.99999999999999971e-107 or 1.0600000000000001e-65 < y Initial program 24.9%
Taylor expanded in y around inf 39.8%
Taylor expanded in a around inf 46.2%
if -6.99999999999999971e-107 < y < -2.3999999999999999e-268Initial program 30.4%
Taylor expanded in x around inf 57.2%
Taylor expanded in y0 around inf 57.4%
Taylor expanded in c around inf 31.7%
associate-*r*34.7%
*-commutative34.7%
*-commutative34.7%
Simplified34.7%
if -2.3999999999999999e-268 < y < 1.5000000000000001e-272 or 7.6000000000000006e-182 < y < 4.6e-89Initial program 28.2%
Taylor expanded in x around inf 47.3%
Taylor expanded in y0 around inf 39.3%
Taylor expanded in k around inf 31.3%
mul-1-neg31.3%
Simplified31.3%
if 1.5000000000000001e-272 < y < 7.6000000000000006e-182Initial program 39.1%
Taylor expanded in x around inf 48.3%
Taylor expanded in y0 around inf 48.1%
Taylor expanded in c around inf 35.7%
if 4.6e-89 < y < 1.0600000000000001e-65Initial program 33.3%
Taylor expanded in x around inf 33.3%
Taylor expanded in k around inf 66.7%
Taylor expanded in y1 around inf 100.0%
Final simplification41.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -7.6e-40)
(* i (* y1 (- (* x j) (* z k))))
(if (<= j -4.5e-123)
(* y0 (* y5 (- (* k y2))))
(if (<= j -3.1e-287)
(* b (* y (- (* x a) (* k y4))))
(if (<= j 1.6e-105)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= j 1.05e-23)
(* c (* t (- (* y2 y4))))
(if (<= j 6.8e+21)
(* (- x) (* b (* j y0)))
(* b (* x (- (* y a) (* j y0)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -7.6e-40) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (j <= -4.5e-123) {
tmp = y0 * (y5 * -(k * y2));
} else if (j <= -3.1e-287) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (j <= 1.6e-105) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (j <= 1.05e-23) {
tmp = c * (t * -(y2 * y4));
} else if (j <= 6.8e+21) {
tmp = -x * (b * (j * y0));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-7.6d-40)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (j <= (-4.5d-123)) then
tmp = y0 * (y5 * -(k * y2))
else if (j <= (-3.1d-287)) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (j <= 1.6d-105) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (j <= 1.05d-23) then
tmp = c * (t * -(y2 * y4))
else if (j <= 6.8d+21) then
tmp = -x * (b * (j * y0))
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -7.6e-40) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (j <= -4.5e-123) {
tmp = y0 * (y5 * -(k * y2));
} else if (j <= -3.1e-287) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (j <= 1.6e-105) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (j <= 1.05e-23) {
tmp = c * (t * -(y2 * y4));
} else if (j <= 6.8e+21) {
tmp = -x * (b * (j * y0));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -7.6e-40: tmp = i * (y1 * ((x * j) - (z * k))) elif j <= -4.5e-123: tmp = y0 * (y5 * -(k * y2)) elif j <= -3.1e-287: tmp = b * (y * ((x * a) - (k * y4))) elif j <= 1.6e-105: tmp = a * (y * ((x * b) - (y3 * y5))) elif j <= 1.05e-23: tmp = c * (t * -(y2 * y4)) elif j <= 6.8e+21: tmp = -x * (b * (j * y0)) else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -7.6e-40) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (j <= -4.5e-123) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (j <= -3.1e-287) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (j <= 1.6e-105) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (j <= 1.05e-23) tmp = Float64(c * Float64(t * Float64(-Float64(y2 * y4)))); elseif (j <= 6.8e+21) tmp = Float64(Float64(-x) * Float64(b * Float64(j * y0))); else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -7.6e-40) tmp = i * (y1 * ((x * j) - (z * k))); elseif (j <= -4.5e-123) tmp = y0 * (y5 * -(k * y2)); elseif (j <= -3.1e-287) tmp = b * (y * ((x * a) - (k * y4))); elseif (j <= 1.6e-105) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (j <= 1.05e-23) tmp = c * (t * -(y2 * y4)); elseif (j <= 6.8e+21) tmp = -x * (b * (j * y0)); else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -7.6e-40], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -4.5e-123], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -3.1e-287], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.6e-105], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.05e-23], N[(c * N[(t * (-N[(y2 * y4), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6.8e+21], N[((-x) * N[(b * N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -7.6 \cdot 10^{-40}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;j \leq -4.5 \cdot 10^{-123}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq -3.1 \cdot 10^{-287}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq 1.6 \cdot 10^{-105}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq 1.05 \cdot 10^{-23}:\\
\;\;\;\;c \cdot \left(t \cdot \left(-y2 \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq 6.8 \cdot 10^{+21}:\\
\;\;\;\;\left(-x\right) \cdot \left(b \cdot \left(j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if j < -7.5999999999999998e-40Initial program 24.3%
Taylor expanded in y1 around -inf 40.4%
associate-*r*40.4%
neg-mul-140.4%
+-commutative40.4%
mul-1-neg40.4%
unsub-neg40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
Simplified40.4%
Taylor expanded in i around -inf 44.5%
if -7.5999999999999998e-40 < j < -4.49999999999999993e-123Initial program 25.3%
Taylor expanded in x around inf 58.8%
Taylor expanded in y0 around inf 58.9%
Taylor expanded in y5 around -inf 62.9%
associate-*r*62.9%
neg-mul-162.9%
+-commutative62.9%
mul-1-neg62.9%
unsub-neg62.9%
associate-/l*67.1%
*-commutative67.1%
*-commutative67.1%
Simplified67.1%
Taylor expanded in k around inf 42.8%
mul-1-neg42.8%
associate-*r*46.6%
distribute-rgt-neg-in46.6%
*-commutative46.6%
Simplified46.6%
if -4.49999999999999993e-123 < j < -3.1000000000000001e-287Initial program 28.8%
Taylor expanded in y around inf 32.6%
Taylor expanded in b around inf 43.8%
+-commutative43.8%
mul-1-neg43.8%
sub-neg43.8%
Simplified43.8%
if -3.1000000000000001e-287 < j < 1.59999999999999991e-105Initial program 28.5%
Taylor expanded in y around inf 44.3%
Taylor expanded in a around inf 45.0%
if 1.59999999999999991e-105 < j < 1.05e-23Initial program 42.2%
Taylor expanded in y4 around inf 47.9%
*-commutative47.9%
Simplified47.9%
Taylor expanded in t around inf 43.4%
associate-*r*43.4%
Simplified43.4%
Taylor expanded in c around inf 33.7%
mul-1-neg33.7%
*-commutative33.7%
distribute-rgt-neg-in33.7%
Simplified33.7%
if 1.05e-23 < j < 6.8e21Initial program 42.4%
Taylor expanded in x around inf 42.6%
Taylor expanded in y0 around inf 72.3%
Taylor expanded in y5 around 0 57.8%
Taylor expanded in c around 0 58.0%
mul-1-neg58.0%
distribute-rgt-neg-in58.0%
distribute-rgt-neg-in58.0%
Simplified58.0%
if 6.8e21 < j Initial program 23.7%
Taylor expanded in x around inf 42.3%
Taylor expanded in b around inf 40.9%
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 (* b (* x (- (* y a) (* j y0))))))
(if (<= k -2.35e+198)
(* y0 (* y5 (- (* k y2))))
(if (<= k -3e-214)
t_1
(if (<= k 1.4e-177)
(* j (* t (- (* b y4) (* i y5))))
(if (<= k 1.45e-101)
t_1
(if (<= k 9.8e-74)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= k 1.12e-12)
(* y0 (* y2 (* x c)))
(* k (* y2 (- (* y1 y4) (* y0 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -2.35e+198) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -3e-214) {
tmp = t_1;
} else if (k <= 1.4e-177) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 1.45e-101) {
tmp = t_1;
} else if (k <= 9.8e-74) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (k <= 1.12e-12) {
tmp = y0 * (y2 * (x * c));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * 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) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
if (k <= (-2.35d+198)) then
tmp = y0 * (y5 * -(k * y2))
else if (k <= (-3d-214)) then
tmp = t_1
else if (k <= 1.4d-177) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (k <= 1.45d-101) then
tmp = t_1
else if (k <= 9.8d-74) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (k <= 1.12d-12) then
tmp = y0 * (y2 * (x * c))
else
tmp = k * (y2 * ((y1 * y4) - (y0 * 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (k <= -2.35e+198) {
tmp = y0 * (y5 * -(k * y2));
} else if (k <= -3e-214) {
tmp = t_1;
} else if (k <= 1.4e-177) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= 1.45e-101) {
tmp = t_1;
} else if (k <= 9.8e-74) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (k <= 1.12e-12) {
tmp = y0 * (y2 * (x * c));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (x * ((y * a) - (j * y0))) tmp = 0 if k <= -2.35e+198: tmp = y0 * (y5 * -(k * y2)) elif k <= -3e-214: tmp = t_1 elif k <= 1.4e-177: tmp = j * (t * ((b * y4) - (i * y5))) elif k <= 1.45e-101: tmp = t_1 elif k <= 9.8e-74: tmp = a * (y5 * ((t * y2) - (y * y3))) elif k <= 1.12e-12: tmp = y0 * (y2 * (x * c)) else: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) 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(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (k <= -2.35e+198) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (k <= -3e-214) tmp = t_1; elseif (k <= 1.4e-177) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (k <= 1.45e-101) tmp = t_1; elseif (k <= 9.8e-74) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (k <= 1.12e-12) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); else tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * 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 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (k <= -2.35e+198) tmp = y0 * (y5 * -(k * y2)); elseif (k <= -3e-214) tmp = t_1; elseif (k <= 1.4e-177) tmp = j * (t * ((b * y4) - (i * y5))); elseif (k <= 1.45e-101) tmp = t_1; elseif (k <= 9.8e-74) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (k <= 1.12e-12) tmp = y0 * (y2 * (x * c)); else tmp = k * (y2 * ((y1 * y4) - (y0 * 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[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -2.35e+198], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -3e-214], t$95$1, If[LessEqual[k, 1.4e-177], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.45e-101], t$95$1, If[LessEqual[k, 9.8e-74], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.12e-12], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;k \leq -2.35 \cdot 10^{+198}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -3 \cdot 10^{-214}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 1.4 \cdot 10^{-177}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq 1.45 \cdot 10^{-101}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 9.8 \cdot 10^{-74}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;k \leq 1.12 \cdot 10^{-12}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if k < -2.3500000000000001e198Initial program 12.5%
Taylor expanded in x around inf 40.8%
Taylor expanded in y0 around inf 44.4%
Taylor expanded in y5 around -inf 50.4%
associate-*r*50.4%
neg-mul-150.4%
+-commutative50.4%
mul-1-neg50.4%
unsub-neg50.4%
associate-/l*50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in k around inf 41.9%
mul-1-neg41.9%
associate-*r*50.9%
distribute-rgt-neg-in50.9%
*-commutative50.9%
Simplified50.9%
if -2.3500000000000001e198 < k < -2.99999999999999994e-214 or 1.39999999999999993e-177 < k < 1.45e-101Initial program 32.2%
Taylor expanded in x around inf 45.3%
Taylor expanded in b around inf 42.7%
if -2.99999999999999994e-214 < k < 1.39999999999999993e-177Initial program 32.7%
Taylor expanded in j around inf 52.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in t around inf 41.3%
if 1.45e-101 < k < 9.8000000000000006e-74Initial program 33.3%
Taylor expanded in y4 around inf 45.1%
*-commutative45.1%
Simplified45.1%
Taylor expanded in a around inf 57.0%
if 9.8000000000000006e-74 < k < 1.1200000000000001e-12Initial program 40.0%
Taylor expanded in x around inf 33.4%
Taylor expanded in y0 around inf 34.5%
Taylor expanded in y5 around -inf 53.8%
associate-*r*53.8%
neg-mul-153.8%
+-commutative53.8%
mul-1-neg53.8%
unsub-neg53.8%
associate-/l*60.3%
*-commutative60.3%
*-commutative60.3%
Simplified60.3%
Taylor expanded in c around inf 41.4%
associate-*r*47.8%
*-commutative47.8%
Simplified47.8%
if 1.1200000000000001e-12 < k Initial program 21.3%
Taylor expanded in x around inf 47.1%
Taylor expanded in k around inf 43.8%
Final simplification44.6%
(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))))))
(if (<= j -1.05e-10)
(* i (* y1 (- (* x j) (* z k))))
(if (<= j -1.7e-100)
t_1
(if (<= j -1.8e-212)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= j -7e-292)
t_1
(if (<= j 4.05e-106)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= j 5000000.0)
(* t (* y2 (- (* a y5) (* c y4))))
(* b (* x (- (* y a) (* j 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 = x * (y * ((a * b) - (c * i)));
double tmp;
if (j <= -1.05e-10) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (j <= -1.7e-100) {
tmp = t_1;
} else if (j <= -1.8e-212) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (j <= -7e-292) {
tmp = t_1;
} else if (j <= 4.05e-106) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (j <= 5000000.0) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = b * (x * ((y * a) - (j * 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 = x * (y * ((a * b) - (c * i)))
if (j <= (-1.05d-10)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (j <= (-1.7d-100)) then
tmp = t_1
else if (j <= (-1.8d-212)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (j <= (-7d-292)) then
tmp = t_1
else if (j <= 4.05d-106) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (j <= 5000000.0d0) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else
tmp = b * (x * ((y * a) - (j * 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 = x * (y * ((a * b) - (c * i)));
double tmp;
if (j <= -1.05e-10) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (j <= -1.7e-100) {
tmp = t_1;
} else if (j <= -1.8e-212) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (j <= -7e-292) {
tmp = t_1;
} else if (j <= 4.05e-106) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (j <= 5000000.0) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
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))) tmp = 0 if j <= -1.05e-10: tmp = i * (y1 * ((x * j) - (z * k))) elif j <= -1.7e-100: tmp = t_1 elif j <= -1.8e-212: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif j <= -7e-292: tmp = t_1 elif j <= 4.05e-106: tmp = a * (y * ((x * b) - (y3 * y5))) elif j <= 5000000.0: tmp = t * (y2 * ((a * y5) - (c * y4))) else: tmp = b * (x * ((y * a) - (j * y0))) 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(y * Float64(Float64(a * b) - Float64(c * i)))) tmp = 0.0 if (j <= -1.05e-10) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (j <= -1.7e-100) tmp = t_1; elseif (j <= -1.8e-212) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (j <= -7e-292) tmp = t_1; elseif (j <= 4.05e-106) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (j <= 5000000.0) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * 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 = x * (y * ((a * b) - (c * i))); tmp = 0.0; if (j <= -1.05e-10) tmp = i * (y1 * ((x * j) - (z * k))); elseif (j <= -1.7e-100) tmp = t_1; elseif (j <= -1.8e-212) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (j <= -7e-292) tmp = t_1; elseif (j <= 4.05e-106) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (j <= 5000000.0) tmp = t * (y2 * ((a * y5) - (c * y4))); else tmp = b * (x * ((y * a) - (j * 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[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.05e-10], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.7e-100], t$95$1, If[LessEqual[j, -1.8e-212], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -7e-292], t$95$1, If[LessEqual[j, 4.05e-106], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5000000.0], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{if}\;j \leq -1.05 \cdot 10^{-10}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;j \leq -1.7 \cdot 10^{-100}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -1.8 \cdot 10^{-212}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq -7 \cdot 10^{-292}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 4.05 \cdot 10^{-106}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq 5000000:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if j < -1.05e-10Initial program 25.0%
Taylor expanded in y1 around -inf 41.1%
associate-*r*41.1%
neg-mul-141.1%
+-commutative41.1%
mul-1-neg41.1%
unsub-neg41.1%
*-commutative41.1%
*-commutative41.1%
*-commutative41.1%
*-commutative41.1%
Simplified41.1%
Taylor expanded in i around -inf 45.5%
if -1.05e-10 < j < -1.69999999999999988e-100 or -1.8e-212 < j < -6.9999999999999999e-292Initial program 24.6%
Taylor expanded in x around inf 54.7%
Taylor expanded in y around inf 52.4%
if -1.69999999999999988e-100 < j < -1.8e-212Initial program 26.2%
Taylor expanded in x around inf 48.2%
Taylor expanded in k around inf 46.2%
if -6.9999999999999999e-292 < j < 4.0500000000000001e-106Initial program 29.5%
Taylor expanded in y around inf 44.1%
Taylor expanded in a around inf 46.5%
if 4.0500000000000001e-106 < j < 5e6Initial program 45.4%
Taylor expanded in y4 around inf 46.0%
*-commutative46.0%
Simplified46.0%
Taylor expanded in t around inf 42.2%
associate-*r*42.2%
Simplified42.2%
Taylor expanded in y2 around inf 47.6%
*-commutative47.6%
Simplified47.6%
if 5e6 < j Initial program 23.7%
Taylor expanded in x around inf 42.8%
Taylor expanded in b around inf 39.9%
Final simplification45.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y0
(* y5 (- (* j y3) (+ (* k y2) (* x (/ (- (* b j) (* c y2)) y5)))))))
(t_2 (- (* y1 y4) (* y0 y5))))
(if (<= y5 -4e-11)
t_1
(if (<= y5 -1.6e-173)
(* x (* y (- (* a b) (* c i))))
(if (<= y5 2.8e-75)
t_1
(if (<= y5 1.1e+171)
(* k (+ (* y2 t_2) (* b (- (* z y0) (* y y4)))))
(if (<= y5 4.5e+260)
(* (- (* k y2) (* j y3)) t_2)
(* a (* y (- (* x b) (* y3 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 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_2 = (y1 * y4) - (y0 * y5);
double tmp;
if (y5 <= -4e-11) {
tmp = t_1;
} else if (y5 <= -1.6e-173) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y5 <= 2.8e-75) {
tmp = t_1;
} else if (y5 <= 1.1e+171) {
tmp = k * ((y2 * t_2) + (b * ((z * y0) - (y * y4))));
} else if (y5 <= 4.5e+260) {
tmp = ((k * y2) - (j * y3)) * t_2;
} else {
tmp = a * (y * ((x * b) - (y3 * 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) :: tmp
t_1 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))))
t_2 = (y1 * y4) - (y0 * y5)
if (y5 <= (-4d-11)) then
tmp = t_1
else if (y5 <= (-1.6d-173)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (y5 <= 2.8d-75) then
tmp = t_1
else if (y5 <= 1.1d+171) then
tmp = k * ((y2 * t_2) + (b * ((z * y0) - (y * y4))))
else if (y5 <= 4.5d+260) then
tmp = ((k * y2) - (j * y3)) * t_2
else
tmp = a * (y * ((x * b) - (y3 * 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 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5)))));
double t_2 = (y1 * y4) - (y0 * y5);
double tmp;
if (y5 <= -4e-11) {
tmp = t_1;
} else if (y5 <= -1.6e-173) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (y5 <= 2.8e-75) {
tmp = t_1;
} else if (y5 <= 1.1e+171) {
tmp = k * ((y2 * t_2) + (b * ((z * y0) - (y * y4))));
} else if (y5 <= 4.5e+260) {
tmp = ((k * y2) - (j * y3)) * t_2;
} else {
tmp = a * (y * ((x * b) - (y3 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))) t_2 = (y1 * y4) - (y0 * y5) tmp = 0 if y5 <= -4e-11: tmp = t_1 elif y5 <= -1.6e-173: tmp = x * (y * ((a * b) - (c * i))) elif y5 <= 2.8e-75: tmp = t_1 elif y5 <= 1.1e+171: tmp = k * ((y2 * t_2) + (b * ((z * y0) - (y * y4)))) elif y5 <= 4.5e+260: tmp = ((k * y2) - (j * y3)) * t_2 else: tmp = a * (y * ((x * b) - (y3 * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(Float64(k * y2) + Float64(x * Float64(Float64(Float64(b * j) - Float64(c * y2)) / y5)))))) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) tmp = 0.0 if (y5 <= -4e-11) tmp = t_1; elseif (y5 <= -1.6e-173) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (y5 <= 2.8e-75) tmp = t_1; elseif (y5 <= 1.1e+171) tmp = Float64(k * Float64(Float64(y2 * t_2) + Float64(b * Float64(Float64(z * y0) - Float64(y * y4))))); elseif (y5 <= 4.5e+260) tmp = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_2); else tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * 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 = y0 * (y5 * ((j * y3) - ((k * y2) + (x * (((b * j) - (c * y2)) / y5))))); t_2 = (y1 * y4) - (y0 * y5); tmp = 0.0; if (y5 <= -4e-11) tmp = t_1; elseif (y5 <= -1.6e-173) tmp = x * (y * ((a * b) - (c * i))); elseif (y5 <= 2.8e-75) tmp = t_1; elseif (y5 <= 1.1e+171) tmp = k * ((y2 * t_2) + (b * ((z * y0) - (y * y4)))); elseif (y5 <= 4.5e+260) tmp = ((k * y2) - (j * y3)) * t_2; else tmp = a * (y * ((x * b) - (y3 * 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[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(N[(k * y2), $MachinePrecision] + N[(x * N[(N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision] / y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -4e-11], t$95$1, If[LessEqual[y5, -1.6e-173], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.8e-75], t$95$1, If[LessEqual[y5, 1.1e+171], N[(k * N[(N[(y2 * t$95$2), $MachinePrecision] + N[(b * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 4.5e+260], N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - \left(k \cdot y2 + x \cdot \frac{b \cdot j - c \cdot y2}{y5}\right)\right)\right)\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;y5 \leq -4 \cdot 10^{-11}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq -1.6 \cdot 10^{-173}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;y5 \leq 2.8 \cdot 10^{-75}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 1.1 \cdot 10^{+171}:\\
\;\;\;\;k \cdot \left(y2 \cdot t\_2 + b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 4.5 \cdot 10^{+260}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t\_2\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y5 < -3.99999999999999976e-11 or -1.6e-173 < y5 < 2.79999999999999998e-75Initial program 24.1%
Taylor expanded in x around inf 39.0%
Taylor expanded in y0 around inf 41.4%
Taylor expanded in y5 around -inf 46.4%
associate-*r*46.4%
neg-mul-146.4%
+-commutative46.4%
mul-1-neg46.4%
unsub-neg46.4%
associate-/l*49.0%
*-commutative49.0%
*-commutative49.0%
Simplified49.0%
if -3.99999999999999976e-11 < y5 < -1.6e-173Initial program 38.9%
Taylor expanded in x around inf 53.5%
Taylor expanded in y around inf 59.3%
if 2.79999999999999998e-75 < y5 < 1.1e171Initial program 32.5%
Taylor expanded in b around inf 45.9%
Taylor expanded in k around -inf 53.3%
associate-*r*53.3%
neg-mul-153.3%
+-commutative53.3%
mul-1-neg53.3%
*-commutative53.3%
unsub-neg53.3%
*-commutative53.3%
*-commutative53.3%
Simplified53.3%
if 1.1e171 < y5 < 4.50000000000000023e260Initial program 31.5%
Taylor expanded in x around inf 58.2%
Taylor expanded in x around 0 74.2%
if 4.50000000000000023e260 < y5 Initial program 0.0%
Taylor expanded in y around inf 16.7%
Taylor expanded in a around inf 100.0%
Final simplification54.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= a -1.52e-58)
(* (* x y) (* a b))
(if (<= a 2.2e-231)
(* y0 (* y2 (* x c)))
(if (<= a 4.4e-134)
(* t (* c (- (* y2 y4))))
(if (<= a 1.5e-102)
(* x (* y2 (* c y0)))
(if (<= a 31000000000000.0)
(* k (* y1 (* y2 y4)))
(if (<= a 7e+266)
(* (* j y0) (* x (- b)))
(* t (* a (* y2 y5))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -1.52e-58) {
tmp = (x * y) * (a * b);
} else if (a <= 2.2e-231) {
tmp = y0 * (y2 * (x * c));
} else if (a <= 4.4e-134) {
tmp = t * (c * -(y2 * y4));
} else if (a <= 1.5e-102) {
tmp = x * (y2 * (c * y0));
} else if (a <= 31000000000000.0) {
tmp = k * (y1 * (y2 * y4));
} else if (a <= 7e+266) {
tmp = (j * y0) * (x * -b);
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (a <= (-1.52d-58)) then
tmp = (x * y) * (a * b)
else if (a <= 2.2d-231) then
tmp = y0 * (y2 * (x * c))
else if (a <= 4.4d-134) then
tmp = t * (c * -(y2 * y4))
else if (a <= 1.5d-102) then
tmp = x * (y2 * (c * y0))
else if (a <= 31000000000000.0d0) then
tmp = k * (y1 * (y2 * y4))
else if (a <= 7d+266) then
tmp = (j * y0) * (x * -b)
else
tmp = t * (a * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -1.52e-58) {
tmp = (x * y) * (a * b);
} else if (a <= 2.2e-231) {
tmp = y0 * (y2 * (x * c));
} else if (a <= 4.4e-134) {
tmp = t * (c * -(y2 * y4));
} else if (a <= 1.5e-102) {
tmp = x * (y2 * (c * y0));
} else if (a <= 31000000000000.0) {
tmp = k * (y1 * (y2 * y4));
} else if (a <= 7e+266) {
tmp = (j * y0) * (x * -b);
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -1.52e-58: tmp = (x * y) * (a * b) elif a <= 2.2e-231: tmp = y0 * (y2 * (x * c)) elif a <= 4.4e-134: tmp = t * (c * -(y2 * y4)) elif a <= 1.5e-102: tmp = x * (y2 * (c * y0)) elif a <= 31000000000000.0: tmp = k * (y1 * (y2 * y4)) elif a <= 7e+266: tmp = (j * y0) * (x * -b) else: tmp = t * (a * (y2 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (a <= -1.52e-58) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (a <= 2.2e-231) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); elseif (a <= 4.4e-134) tmp = Float64(t * Float64(c * Float64(-Float64(y2 * y4)))); elseif (a <= 1.5e-102) tmp = Float64(x * Float64(y2 * Float64(c * y0))); elseif (a <= 31000000000000.0) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (a <= 7e+266) tmp = Float64(Float64(j * y0) * Float64(x * Float64(-b))); else tmp = Float64(t * Float64(a * Float64(y2 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (a <= -1.52e-58) tmp = (x * y) * (a * b); elseif (a <= 2.2e-231) tmp = y0 * (y2 * (x * c)); elseif (a <= 4.4e-134) tmp = t * (c * -(y2 * y4)); elseif (a <= 1.5e-102) tmp = x * (y2 * (c * y0)); elseif (a <= 31000000000000.0) tmp = k * (y1 * (y2 * y4)); elseif (a <= 7e+266) tmp = (j * y0) * (x * -b); else tmp = t * (a * (y2 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -1.52e-58], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.2e-231], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.4e-134], N[(t * N[(c * (-N[(y2 * y4), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.5e-102], N[(x * N[(y2 * N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 31000000000000.0], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7e+266], N[(N[(j * y0), $MachinePrecision] * N[(x * (-b)), $MachinePrecision]), $MachinePrecision], N[(t * N[(a * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.52 \cdot 10^{-58}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;a \leq 2.2 \cdot 10^{-231}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{elif}\;a \leq 4.4 \cdot 10^{-134}:\\
\;\;\;\;t \cdot \left(c \cdot \left(-y2 \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 1.5 \cdot 10^{-102}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq 31000000000000:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 7 \cdot 10^{+266}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(x \cdot \left(-b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if a < -1.51999999999999993e-58Initial program 25.6%
Taylor expanded in y around inf 40.0%
Taylor expanded in a around inf 44.0%
Taylor expanded in b around inf 37.3%
associate-*r*42.6%
Simplified42.6%
if -1.51999999999999993e-58 < a < 2.20000000000000009e-231Initial program 32.6%
Taylor expanded in x around inf 51.8%
Taylor expanded in y0 around inf 46.2%
Taylor expanded in y5 around -inf 49.2%
associate-*r*49.2%
neg-mul-149.2%
+-commutative49.2%
mul-1-neg49.2%
unsub-neg49.2%
associate-/l*52.3%
*-commutative52.3%
*-commutative52.3%
Simplified52.3%
Taylor expanded in c around inf 24.3%
associate-*r*28.8%
*-commutative28.8%
Simplified28.8%
if 2.20000000000000009e-231 < a < 4.3999999999999999e-134Initial program 57.0%
Taylor expanded in y4 around inf 57.6%
*-commutative57.6%
Simplified57.6%
Taylor expanded in t around inf 44.3%
associate-*r*44.3%
Simplified44.3%
Taylor expanded in c around inf 51.3%
mul-1-neg51.3%
distribute-rgt-neg-in51.3%
distribute-rgt-neg-in51.3%
Simplified51.3%
if 4.3999999999999999e-134 < a < 1.5e-102Initial program 11.1%
Taylor expanded in x around inf 34.6%
Taylor expanded in y0 around inf 67.0%
Taylor expanded in y5 around 0 45.4%
Taylor expanded in c around inf 24.8%
associate-*r*35.6%
Simplified35.6%
if 1.5e-102 < a < 3.1e13Initial program 35.3%
Taylor expanded in x around inf 43.7%
Taylor expanded in k around inf 32.2%
Taylor expanded in y1 around inf 36.4%
if 3.1e13 < a < 7.0000000000000005e266Initial program 20.1%
Taylor expanded in j around inf 44.7%
+-commutative44.7%
mul-1-neg44.7%
unsub-neg44.7%
*-commutative44.7%
Simplified44.7%
Taylor expanded in y0 around inf 40.8%
mul-1-neg40.8%
associate-*r*36.9%
+-commutative36.9%
mul-1-neg36.9%
sub-neg36.9%
Simplified36.9%
Taylor expanded in b around inf 33.2%
if 7.0000000000000005e266 < a Initial program 8.3%
Taylor expanded in y4 around inf 33.3%
*-commutative33.3%
Simplified33.3%
Taylor expanded in t around inf 58.6%
associate-*r*58.6%
Simplified58.6%
Taylor expanded in y4 around 0 59.5%
*-commutative59.5%
Simplified59.5%
Final simplification37.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (* y5 (- (* k y2)))))
(t_2 (* a (* y (- (* x b) (* y3 y5))))))
(if (<= k -2.7e+200)
t_1
(if (<= k -1.6e-168)
t_2
(if (<= k -2.9e-221)
(* b (* j (- (* t y4) (* x y0))))
(if (<= k 3.2e-62)
t_2
(if (<= k 1.4e+102)
(* x (* y2 (* c y0)))
(if (<= k 8e+201) (* k (* y2 (* y1 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 = y0 * (y5 * -(k * y2));
double t_2 = a * (y * ((x * b) - (y3 * y5)));
double tmp;
if (k <= -2.7e+200) {
tmp = t_1;
} else if (k <= -1.6e-168) {
tmp = t_2;
} else if (k <= -2.9e-221) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (k <= 3.2e-62) {
tmp = t_2;
} else if (k <= 1.4e+102) {
tmp = x * (y2 * (c * y0));
} else if (k <= 8e+201) {
tmp = k * (y2 * (y1 * 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) :: t_2
real(8) :: tmp
t_1 = y0 * (y5 * -(k * y2))
t_2 = a * (y * ((x * b) - (y3 * y5)))
if (k <= (-2.7d+200)) then
tmp = t_1
else if (k <= (-1.6d-168)) then
tmp = t_2
else if (k <= (-2.9d-221)) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (k <= 3.2d-62) then
tmp = t_2
else if (k <= 1.4d+102) then
tmp = x * (y2 * (c * y0))
else if (k <= 8d+201) then
tmp = k * (y2 * (y1 * 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 = y0 * (y5 * -(k * y2));
double t_2 = a * (y * ((x * b) - (y3 * y5)));
double tmp;
if (k <= -2.7e+200) {
tmp = t_1;
} else if (k <= -1.6e-168) {
tmp = t_2;
} else if (k <= -2.9e-221) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (k <= 3.2e-62) {
tmp = t_2;
} else if (k <= 1.4e+102) {
tmp = x * (y2 * (c * y0));
} else if (k <= 8e+201) {
tmp = k * (y2 * (y1 * 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 = y0 * (y5 * -(k * y2)) t_2 = a * (y * ((x * b) - (y3 * y5))) tmp = 0 if k <= -2.7e+200: tmp = t_1 elif k <= -1.6e-168: tmp = t_2 elif k <= -2.9e-221: tmp = b * (j * ((t * y4) - (x * y0))) elif k <= 3.2e-62: tmp = t_2 elif k <= 1.4e+102: tmp = x * (y2 * (c * y0)) elif k <= 8e+201: tmp = k * (y2 * (y1 * 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(y0 * Float64(y5 * Float64(-Float64(k * y2)))) t_2 = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))) tmp = 0.0 if (k <= -2.7e+200) tmp = t_1; elseif (k <= -1.6e-168) tmp = t_2; elseif (k <= -2.9e-221) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (k <= 3.2e-62) tmp = t_2; elseif (k <= 1.4e+102) tmp = Float64(x * Float64(y2 * Float64(c * y0))); elseif (k <= 8e+201) tmp = Float64(k * Float64(y2 * Float64(y1 * 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 = y0 * (y5 * -(k * y2)); t_2 = a * (y * ((x * b) - (y3 * y5))); tmp = 0.0; if (k <= -2.7e+200) tmp = t_1; elseif (k <= -1.6e-168) tmp = t_2; elseif (k <= -2.9e-221) tmp = b * (j * ((t * y4) - (x * y0))); elseif (k <= 3.2e-62) tmp = t_2; elseif (k <= 1.4e+102) tmp = x * (y2 * (c * y0)); elseif (k <= 8e+201) tmp = k * (y2 * (y1 * 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[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -2.7e+200], t$95$1, If[LessEqual[k, -1.6e-168], t$95$2, If[LessEqual[k, -2.9e-221], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 3.2e-62], t$95$2, If[LessEqual[k, 1.4e+102], N[(x * N[(y2 * N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 8e+201], N[(k * N[(y2 * N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
t_2 := a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{if}\;k \leq -2.7 \cdot 10^{+200}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -1.6 \cdot 10^{-168}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;k \leq -2.9 \cdot 10^{-221}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;k \leq 3.2 \cdot 10^{-62}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;k \leq 1.4 \cdot 10^{+102}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0\right)\right)\\
\mathbf{elif}\;k \leq 8 \cdot 10^{+201}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if k < -2.70000000000000016e200 or 8.0000000000000003e201 < k Initial program 12.7%
Taylor expanded in x around inf 40.1%
Taylor expanded in y0 around inf 47.7%
Taylor expanded in y5 around -inf 51.2%
associate-*r*51.2%
neg-mul-151.2%
+-commutative51.2%
mul-1-neg51.2%
unsub-neg51.2%
associate-/l*51.2%
*-commutative51.2%
*-commutative51.2%
Simplified51.2%
Taylor expanded in k around inf 46.4%
mul-1-neg46.4%
associate-*r*53.4%
distribute-rgt-neg-in53.4%
*-commutative53.4%
Simplified53.4%
if -2.70000000000000016e200 < k < -1.60000000000000003e-168 or -2.89999999999999994e-221 < k < 3.20000000000000021e-62Initial program 32.8%
Taylor expanded in y around inf 37.4%
Taylor expanded in a around inf 35.0%
if -1.60000000000000003e-168 < k < -2.89999999999999994e-221Initial program 38.8%
Taylor expanded in j around inf 37.9%
+-commutative37.9%
mul-1-neg37.9%
unsub-neg37.9%
*-commutative37.9%
Simplified37.9%
Taylor expanded in b around inf 52.1%
if 3.20000000000000021e-62 < k < 1.40000000000000009e102Initial program 22.8%
Taylor expanded in x around inf 38.9%
Taylor expanded in y0 around inf 45.8%
Taylor expanded in y5 around 0 39.3%
Taylor expanded in c around inf 33.5%
associate-*r*36.6%
Simplified36.6%
if 1.40000000000000009e102 < k < 8.0000000000000003e201Initial program 31.8%
Taylor expanded in x around inf 54.6%
Taylor expanded in k around inf 47.4%
Taylor expanded in y1 around inf 42.6%
Final simplification40.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= a -4.3e+195)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= a -2.55e-17)
(* b (* z (- (* k y0) (* t a))))
(if (<= a 2.5e-52)
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(if (<= a 1.5e+17)
(* x (* j (- (* c (/ (* y0 y2) j)) (* b y0))))
(if (<= a 5.4e+132)
(* i (* y1 (- (* x j) (* z k))))
(* a (* y1 (- (* z y3) (* x y2))))))))))
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 <= -4.3e+195) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -2.55e-17) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (a <= 2.5e-52) {
tmp = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
} else if (a <= 1.5e+17) {
tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0)));
} else if (a <= 5.4e+132) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = a * (y1 * ((z * y3) - (x * y2)));
}
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 <= (-4.3d+195)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (a <= (-2.55d-17)) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (a <= 2.5d-52) then
tmp = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))
else if (a <= 1.5d+17) then
tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0)))
else if (a <= 5.4d+132) then
tmp = i * (y1 * ((x * j) - (z * k)))
else
tmp = a * (y1 * ((z * y3) - (x * y2)))
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 <= -4.3e+195) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -2.55e-17) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (a <= 2.5e-52) {
tmp = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
} else if (a <= 1.5e+17) {
tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0)));
} else if (a <= 5.4e+132) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else {
tmp = a * (y1 * ((z * y3) - (x * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -4.3e+195: tmp = a * (y * ((x * b) - (y3 * y5))) elif a <= -2.55e-17: tmp = b * (z * ((k * y0) - (t * a))) elif a <= 2.5e-52: tmp = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)) elif a <= 1.5e+17: tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0))) elif a <= 5.4e+132: tmp = i * (y1 * ((x * j) - (z * k))) else: tmp = a * (y1 * ((z * y3) - (x * y2))) 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 <= -4.3e+195) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (a <= -2.55e-17) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (a <= 2.5e-52) tmp = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))); elseif (a <= 1.5e+17) tmp = Float64(x * Float64(j * Float64(Float64(c * Float64(Float64(y0 * y2) / j)) - Float64(b * y0)))); elseif (a <= 5.4e+132) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); else tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); 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 <= -4.3e+195) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (a <= -2.55e-17) tmp = b * (z * ((k * y0) - (t * a))); elseif (a <= 2.5e-52) tmp = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)); elseif (a <= 1.5e+17) tmp = x * (j * ((c * ((y0 * y2) / j)) - (b * y0))); elseif (a <= 5.4e+132) tmp = i * (y1 * ((x * j) - (z * k))); else tmp = a * (y1 * ((z * y3) - (x * y2))); 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, -4.3e+195], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.55e-17], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.5e-52], N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.5e+17], N[(x * N[(j * N[(N[(c * N[(N[(y0 * y2), $MachinePrecision] / j), $MachinePrecision]), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.4e+132], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -4.3 \cdot 10^{+195}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -2.55 \cdot 10^{-17}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;a \leq 2.5 \cdot 10^{-52}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{elif}\;a \leq 1.5 \cdot 10^{+17}:\\
\;\;\;\;x \cdot \left(j \cdot \left(c \cdot \frac{y0 \cdot y2}{j} - b \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq 5.4 \cdot 10^{+132}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\end{array}
\end{array}
if a < -4.29999999999999981e195Initial program 30.9%
Taylor expanded in y around inf 34.6%
Taylor expanded in a around inf 69.6%
if -4.29999999999999981e195 < a < -2.5500000000000001e-17Initial program 23.7%
Taylor expanded in b around inf 40.0%
Taylor expanded in z around -inf 51.8%
associate-*r*51.8%
mul-1-neg51.8%
Simplified51.8%
if -2.5500000000000001e-17 < a < 2.5e-52Initial program 33.0%
Taylor expanded in x around inf 50.4%
Taylor expanded in x around 0 47.2%
if 2.5e-52 < a < 1.5e17Initial program 45.8%
Taylor expanded in x around inf 36.8%
Taylor expanded in y0 around inf 37.3%
Taylor expanded in y5 around 0 47.0%
Taylor expanded in j around inf 55.8%
+-commutative55.8%
mul-1-neg55.8%
unsub-neg55.8%
associate-/l*73.6%
*-commutative73.6%
Simplified73.6%
if 1.5e17 < a < 5.3999999999999999e132Initial program 26.8%
Taylor expanded in y1 around -inf 47.5%
associate-*r*47.5%
neg-mul-147.5%
+-commutative47.5%
mul-1-neg47.5%
unsub-neg47.5%
*-commutative47.5%
*-commutative47.5%
*-commutative47.5%
*-commutative47.5%
Simplified47.5%
Taylor expanded in i around -inf 43.7%
if 5.3999999999999999e132 < a Initial program 8.8%
Taylor expanded in y1 around -inf 40.4%
associate-*r*40.4%
neg-mul-140.4%
+-commutative40.4%
mul-1-neg40.4%
unsub-neg40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
*-commutative40.4%
Simplified40.4%
Taylor expanded in a around inf 60.8%
mul-1-neg60.8%
Simplified60.8%
Final simplification53.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= a -2.8e-57)
(* (* x y) (* a b))
(if (<= a 3.3e-222)
(* y0 (* y2 (* x c)))
(if (<= a 6.2e-94)
(* t (* c (- (* y2 y4))))
(if (<= a 5.2e+266) (* (- y0) (* b (* x j))) (* t (* a (* y2 y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -2.8e-57) {
tmp = (x * y) * (a * b);
} else if (a <= 3.3e-222) {
tmp = y0 * (y2 * (x * c));
} else if (a <= 6.2e-94) {
tmp = t * (c * -(y2 * y4));
} else if (a <= 5.2e+266) {
tmp = -y0 * (b * (x * j));
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (a <= (-2.8d-57)) then
tmp = (x * y) * (a * b)
else if (a <= 3.3d-222) then
tmp = y0 * (y2 * (x * c))
else if (a <= 6.2d-94) then
tmp = t * (c * -(y2 * y4))
else if (a <= 5.2d+266) then
tmp = -y0 * (b * (x * j))
else
tmp = t * (a * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -2.8e-57) {
tmp = (x * y) * (a * b);
} else if (a <= 3.3e-222) {
tmp = y0 * (y2 * (x * c));
} else if (a <= 6.2e-94) {
tmp = t * (c * -(y2 * y4));
} else if (a <= 5.2e+266) {
tmp = -y0 * (b * (x * j));
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -2.8e-57: tmp = (x * y) * (a * b) elif a <= 3.3e-222: tmp = y0 * (y2 * (x * c)) elif a <= 6.2e-94: tmp = t * (c * -(y2 * y4)) elif a <= 5.2e+266: tmp = -y0 * (b * (x * j)) else: tmp = t * (a * (y2 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (a <= -2.8e-57) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (a <= 3.3e-222) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); elseif (a <= 6.2e-94) tmp = Float64(t * Float64(c * Float64(-Float64(y2 * y4)))); elseif (a <= 5.2e+266) tmp = Float64(Float64(-y0) * Float64(b * Float64(x * j))); else tmp = Float64(t * Float64(a * Float64(y2 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (a <= -2.8e-57) tmp = (x * y) * (a * b); elseif (a <= 3.3e-222) tmp = y0 * (y2 * (x * c)); elseif (a <= 6.2e-94) tmp = t * (c * -(y2 * y4)); elseif (a <= 5.2e+266) tmp = -y0 * (b * (x * j)); else tmp = t * (a * (y2 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -2.8e-57], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.3e-222], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.2e-94], N[(t * N[(c * (-N[(y2 * y4), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.2e+266], N[((-y0) * N[(b * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(a * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.8 \cdot 10^{-57}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;a \leq 3.3 \cdot 10^{-222}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{elif}\;a \leq 6.2 \cdot 10^{-94}:\\
\;\;\;\;t \cdot \left(c \cdot \left(-y2 \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 5.2 \cdot 10^{+266}:\\
\;\;\;\;\left(-y0\right) \cdot \left(b \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if a < -2.7999999999999999e-57Initial program 25.6%
Taylor expanded in y around inf 40.0%
Taylor expanded in a around inf 44.0%
Taylor expanded in b around inf 37.3%
associate-*r*42.6%
Simplified42.6%
if -2.7999999999999999e-57 < a < 3.30000000000000002e-222Initial program 32.6%
Taylor expanded in x around inf 51.8%
Taylor expanded in y0 around inf 46.2%
Taylor expanded in y5 around -inf 49.2%
associate-*r*49.2%
neg-mul-149.2%
+-commutative49.2%
mul-1-neg49.2%
unsub-neg49.2%
associate-/l*52.3%
*-commutative52.3%
*-commutative52.3%
Simplified52.3%
Taylor expanded in c around inf 24.3%
associate-*r*28.8%
*-commutative28.8%
Simplified28.8%
if 3.30000000000000002e-222 < a < 6.1999999999999996e-94Initial program 42.2%
Taylor expanded in y4 around inf 50.8%
*-commutative50.8%
Simplified50.8%
Taylor expanded in t around inf 40.0%
associate-*r*36.3%
Simplified36.3%
Taylor expanded in c around inf 43.7%
mul-1-neg43.7%
distribute-rgt-neg-in43.7%
distribute-rgt-neg-in43.7%
Simplified43.7%
if 6.1999999999999996e-94 < a < 5.20000000000000027e266Initial program 23.1%
Taylor expanded in x around inf 34.7%
Taylor expanded in y0 around inf 40.7%
Taylor expanded in y5 around -inf 43.6%
associate-*r*43.6%
neg-mul-143.6%
+-commutative43.6%
mul-1-neg43.6%
unsub-neg43.6%
associate-/l*45.1%
*-commutative45.1%
*-commutative45.1%
Simplified45.1%
Taylor expanded in b around inf 29.9%
mul-1-neg29.9%
*-commutative29.9%
Simplified29.9%
if 5.20000000000000027e266 < a Initial program 8.3%
Taylor expanded in y4 around inf 33.3%
*-commutative33.3%
Simplified33.3%
Taylor expanded in t around inf 58.6%
associate-*r*58.6%
Simplified58.6%
Taylor expanded in y4 around 0 59.5%
*-commutative59.5%
Simplified59.5%
Final simplification36.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (* (* y2 y5) (- k)))) (t_2 (* (* x y) (* a b))))
(if (<= k -1.85e+197)
t_1
(if (<= k -7.6e-129)
t_2
(if (<= k -5e-224) (* y0 (* y2 (* x c))) (if (<= k 9e+21) 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 = y0 * ((y2 * y5) * -k);
double t_2 = (x * y) * (a * b);
double tmp;
if (k <= -1.85e+197) {
tmp = t_1;
} else if (k <= -7.6e-129) {
tmp = t_2;
} else if (k <= -5e-224) {
tmp = y0 * (y2 * (x * c));
} else if (k <= 9e+21) {
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 = y0 * ((y2 * y5) * -k)
t_2 = (x * y) * (a * b)
if (k <= (-1.85d+197)) then
tmp = t_1
else if (k <= (-7.6d-129)) then
tmp = t_2
else if (k <= (-5d-224)) then
tmp = y0 * (y2 * (x * c))
else if (k <= 9d+21) 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 = y0 * ((y2 * y5) * -k);
double t_2 = (x * y) * (a * b);
double tmp;
if (k <= -1.85e+197) {
tmp = t_1;
} else if (k <= -7.6e-129) {
tmp = t_2;
} else if (k <= -5e-224) {
tmp = y0 * (y2 * (x * c));
} else if (k <= 9e+21) {
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 = y0 * ((y2 * y5) * -k) t_2 = (x * y) * (a * b) tmp = 0 if k <= -1.85e+197: tmp = t_1 elif k <= -7.6e-129: tmp = t_2 elif k <= -5e-224: tmp = y0 * (y2 * (x * c)) elif k <= 9e+21: 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(y0 * Float64(Float64(y2 * y5) * Float64(-k))) t_2 = Float64(Float64(x * y) * Float64(a * b)) tmp = 0.0 if (k <= -1.85e+197) tmp = t_1; elseif (k <= -7.6e-129) tmp = t_2; elseif (k <= -5e-224) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); elseif (k <= 9e+21) 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 = y0 * ((y2 * y5) * -k); t_2 = (x * y) * (a * b); tmp = 0.0; if (k <= -1.85e+197) tmp = t_1; elseif (k <= -7.6e-129) tmp = t_2; elseif (k <= -5e-224) tmp = y0 * (y2 * (x * c)); elseif (k <= 9e+21) 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[(y0 * N[(N[(y2 * y5), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -1.85e+197], t$95$1, If[LessEqual[k, -7.6e-129], t$95$2, If[LessEqual[k, -5e-224], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 9e+21], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(\left(y2 \cdot y5\right) \cdot \left(-k\right)\right)\\
t_2 := \left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{if}\;k \leq -1.85 \cdot 10^{+197}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -7.6 \cdot 10^{-129}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;k \leq -5 \cdot 10^{-224}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{elif}\;k \leq 9 \cdot 10^{+21}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if k < -1.8500000000000002e197 or 9e21 < k Initial program 18.6%
Taylor expanded in x around inf 45.8%
Taylor expanded in y0 around inf 46.3%
Taylor expanded in k around inf 38.4%
mul-1-neg38.4%
Simplified38.4%
if -1.8500000000000002e197 < k < -7.59999999999999969e-129 or -4.9999999999999999e-224 < k < 9e21Initial program 31.7%
Taylor expanded in y around inf 34.0%
Taylor expanded in a around inf 33.1%
Taylor expanded in b around inf 26.7%
associate-*r*30.0%
Simplified30.0%
if -7.59999999999999969e-129 < k < -4.9999999999999999e-224Initial program 38.2%
Taylor expanded in x around inf 29.4%
Taylor expanded in y0 around inf 57.6%
Taylor expanded in y5 around -inf 57.6%
associate-*r*57.6%
neg-mul-157.6%
+-commutative57.6%
mul-1-neg57.6%
unsub-neg57.6%
associate-/l*57.7%
*-commutative57.7%
*-commutative57.7%
Simplified57.7%
Taylor expanded in c around inf 48.7%
associate-*r*44.2%
*-commutative44.2%
Simplified44.2%
Final simplification34.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= a -4.5e-153)
(* (* x y) (* a b))
(if (<= a 1.32e-191)
(* y0 (* y5 (- (* k y2))))
(if (<= a 2.9e-94)
(* t (* c (- (* y2 y4))))
(if (<= a 5.2e+266) (* (- y0) (* b (* x j))) (* t (* a (* y2 y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -4.5e-153) {
tmp = (x * y) * (a * b);
} else if (a <= 1.32e-191) {
tmp = y0 * (y5 * -(k * y2));
} else if (a <= 2.9e-94) {
tmp = t * (c * -(y2 * y4));
} else if (a <= 5.2e+266) {
tmp = -y0 * (b * (x * j));
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (a <= (-4.5d-153)) then
tmp = (x * y) * (a * b)
else if (a <= 1.32d-191) then
tmp = y0 * (y5 * -(k * y2))
else if (a <= 2.9d-94) then
tmp = t * (c * -(y2 * y4))
else if (a <= 5.2d+266) then
tmp = -y0 * (b * (x * j))
else
tmp = t * (a * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -4.5e-153) {
tmp = (x * y) * (a * b);
} else if (a <= 1.32e-191) {
tmp = y0 * (y5 * -(k * y2));
} else if (a <= 2.9e-94) {
tmp = t * (c * -(y2 * y4));
} else if (a <= 5.2e+266) {
tmp = -y0 * (b * (x * j));
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -4.5e-153: tmp = (x * y) * (a * b) elif a <= 1.32e-191: tmp = y0 * (y5 * -(k * y2)) elif a <= 2.9e-94: tmp = t * (c * -(y2 * y4)) elif a <= 5.2e+266: tmp = -y0 * (b * (x * j)) else: tmp = t * (a * (y2 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (a <= -4.5e-153) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (a <= 1.32e-191) tmp = Float64(y0 * Float64(y5 * Float64(-Float64(k * y2)))); elseif (a <= 2.9e-94) tmp = Float64(t * Float64(c * Float64(-Float64(y2 * y4)))); elseif (a <= 5.2e+266) tmp = Float64(Float64(-y0) * Float64(b * Float64(x * j))); else tmp = Float64(t * Float64(a * Float64(y2 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (a <= -4.5e-153) tmp = (x * y) * (a * b); elseif (a <= 1.32e-191) tmp = y0 * (y5 * -(k * y2)); elseif (a <= 2.9e-94) tmp = t * (c * -(y2 * y4)); elseif (a <= 5.2e+266) tmp = -y0 * (b * (x * j)); else tmp = t * (a * (y2 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -4.5e-153], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.32e-191], N[(y0 * N[(y5 * (-N[(k * y2), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.9e-94], N[(t * N[(c * (-N[(y2 * y4), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.2e+266], N[((-y0) * N[(b * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(a * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -4.5 \cdot 10^{-153}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;a \leq 1.32 \cdot 10^{-191}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(-k \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq 2.9 \cdot 10^{-94}:\\
\;\;\;\;t \cdot \left(c \cdot \left(-y2 \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 5.2 \cdot 10^{+266}:\\
\;\;\;\;\left(-y0\right) \cdot \left(b \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if a < -4.5e-153Initial program 24.6%
Taylor expanded in y around inf 38.8%
Taylor expanded in a around inf 42.5%
Taylor expanded in b around inf 35.3%
associate-*r*39.2%
Simplified39.2%
if -4.5e-153 < a < 1.31999999999999996e-191Initial program 34.2%
Taylor expanded in x around inf 49.5%
Taylor expanded in y0 around inf 46.7%
Taylor expanded in y5 around -inf 48.2%
associate-*r*48.2%
neg-mul-148.2%
+-commutative48.2%
mul-1-neg48.2%
unsub-neg48.2%
associate-/l*51.4%
*-commutative51.4%
*-commutative51.4%
Simplified51.4%
Taylor expanded in k around inf 33.8%
mul-1-neg33.8%
associate-*r*35.4%
distribute-rgt-neg-in35.4%
*-commutative35.4%
Simplified35.4%
if 1.31999999999999996e-191 < a < 2.89999999999999995e-94Initial program 47.5%
Taylor expanded in y4 around inf 48.7%
*-commutative48.7%
Simplified48.7%
Taylor expanded in t around inf 39.9%
associate-*r*35.3%
Simplified35.3%
Taylor expanded in c around inf 44.5%
mul-1-neg44.5%
distribute-rgt-neg-in44.5%
distribute-rgt-neg-in44.5%
Simplified44.5%
if 2.89999999999999995e-94 < a < 5.20000000000000027e266Initial program 23.1%
Taylor expanded in x around inf 34.7%
Taylor expanded in y0 around inf 40.7%
Taylor expanded in y5 around -inf 43.6%
associate-*r*43.6%
neg-mul-143.6%
+-commutative43.6%
mul-1-neg43.6%
unsub-neg43.6%
associate-/l*45.1%
*-commutative45.1%
*-commutative45.1%
Simplified45.1%
Taylor expanded in b around inf 29.9%
mul-1-neg29.9%
*-commutative29.9%
Simplified29.9%
if 5.20000000000000027e266 < a Initial program 8.3%
Taylor expanded in y4 around inf 33.3%
*-commutative33.3%
Simplified33.3%
Taylor expanded in t around inf 58.6%
associate-*r*58.6%
Simplified58.6%
Taylor expanded in y4 around 0 59.5%
*-commutative59.5%
Simplified59.5%
Final simplification37.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= a -2.1e-57)
(* (* x y) (* a b))
(if (<= a 0.0003)
(* y0 (* y2 (* x c)))
(if (<= a 7e+266) (* (* j y0) (* x (- b))) (* t (* a (* y2 y5)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -2.1e-57) {
tmp = (x * y) * (a * b);
} else if (a <= 0.0003) {
tmp = y0 * (y2 * (x * c));
} else if (a <= 7e+266) {
tmp = (j * y0) * (x * -b);
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (a <= (-2.1d-57)) then
tmp = (x * y) * (a * b)
else if (a <= 0.0003d0) then
tmp = y0 * (y2 * (x * c))
else if (a <= 7d+266) then
tmp = (j * y0) * (x * -b)
else
tmp = t * (a * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -2.1e-57) {
tmp = (x * y) * (a * b);
} else if (a <= 0.0003) {
tmp = y0 * (y2 * (x * c));
} else if (a <= 7e+266) {
tmp = (j * y0) * (x * -b);
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -2.1e-57: tmp = (x * y) * (a * b) elif a <= 0.0003: tmp = y0 * (y2 * (x * c)) elif a <= 7e+266: tmp = (j * y0) * (x * -b) else: tmp = t * (a * (y2 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (a <= -2.1e-57) tmp = Float64(Float64(x * y) * Float64(a * b)); elseif (a <= 0.0003) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); elseif (a <= 7e+266) tmp = Float64(Float64(j * y0) * Float64(x * Float64(-b))); else tmp = Float64(t * Float64(a * Float64(y2 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (a <= -2.1e-57) tmp = (x * y) * (a * b); elseif (a <= 0.0003) tmp = y0 * (y2 * (x * c)); elseif (a <= 7e+266) tmp = (j * y0) * (x * -b); else tmp = t * (a * (y2 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -2.1e-57], N[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 0.0003], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7e+266], N[(N[(j * y0), $MachinePrecision] * N[(x * (-b)), $MachinePrecision]), $MachinePrecision], N[(t * N[(a * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.1 \cdot 10^{-57}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;a \leq 0.0003:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{elif}\;a \leq 7 \cdot 10^{+266}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(x \cdot \left(-b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if a < -2.0999999999999999e-57Initial program 25.6%
Taylor expanded in y around inf 40.0%
Taylor expanded in a around inf 44.0%
Taylor expanded in b around inf 37.3%
associate-*r*42.6%
Simplified42.6%
if -2.0999999999999999e-57 < a < 2.99999999999999974e-4Initial program 34.2%
Taylor expanded in x around inf 48.5%
Taylor expanded in y0 around inf 49.0%
Taylor expanded in y5 around -inf 50.7%
associate-*r*50.7%
neg-mul-150.7%
+-commutative50.7%
mul-1-neg50.7%
unsub-neg50.7%
associate-/l*53.5%
*-commutative53.5%
*-commutative53.5%
Simplified53.5%
Taylor expanded in c around inf 23.4%
associate-*r*26.1%
*-commutative26.1%
Simplified26.1%
if 2.99999999999999974e-4 < a < 7.0000000000000005e266Initial program 21.3%
Taylor expanded in j around inf 43.1%
+-commutative43.1%
mul-1-neg43.1%
unsub-neg43.1%
*-commutative43.1%
Simplified43.1%
Taylor expanded in y0 around inf 39.3%
mul-1-neg39.3%
associate-*r*35.6%
+-commutative35.6%
mul-1-neg35.6%
sub-neg35.6%
Simplified35.6%
Taylor expanded in b around inf 32.1%
if 7.0000000000000005e266 < a Initial program 8.3%
Taylor expanded in y4 around inf 33.3%
*-commutative33.3%
Simplified33.3%
Taylor expanded in t around inf 58.6%
associate-*r*58.6%
Simplified58.6%
Taylor expanded in y4 around 0 59.5%
*-commutative59.5%
Simplified59.5%
Final simplification34.4%
(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))))
(if (<= a -9.5e-58)
t_1
(if (<= a 1.25e+123)
(* y0 (* y2 (* x c)))
(if (<= a 4.4e+265) t_1 (* t (* a (* y2 y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) * (a * b);
double tmp;
if (a <= -9.5e-58) {
tmp = t_1;
} else if (a <= 1.25e+123) {
tmp = y0 * (y2 * (x * c));
} else if (a <= 4.4e+265) {
tmp = t_1;
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (x * y) * (a * b)
if (a <= (-9.5d-58)) then
tmp = t_1
else if (a <= 1.25d+123) then
tmp = y0 * (y2 * (x * c))
else if (a <= 4.4d+265) then
tmp = t_1
else
tmp = t * (a * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) * (a * b);
double tmp;
if (a <= -9.5e-58) {
tmp = t_1;
} else if (a <= 1.25e+123) {
tmp = y0 * (y2 * (x * c));
} else if (a <= 4.4e+265) {
tmp = t_1;
} else {
tmp = t * (a * (y2 * y5));
}
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) tmp = 0 if a <= -9.5e-58: tmp = t_1 elif a <= 1.25e+123: tmp = y0 * (y2 * (x * c)) elif a <= 4.4e+265: tmp = t_1 else: tmp = t * (a * (y2 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) * Float64(a * b)) tmp = 0.0 if (a <= -9.5e-58) tmp = t_1; elseif (a <= 1.25e+123) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); elseif (a <= 4.4e+265) tmp = t_1; else tmp = Float64(t * Float64(a * Float64(y2 * 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 = (x * y) * (a * b); tmp = 0.0; if (a <= -9.5e-58) tmp = t_1; elseif (a <= 1.25e+123) tmp = y0 * (y2 * (x * c)); elseif (a <= 4.4e+265) tmp = t_1; else tmp = t * (a * (y2 * 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[(N[(x * y), $MachinePrecision] * N[(a * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -9.5e-58], t$95$1, If[LessEqual[a, 1.25e+123], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.4e+265], t$95$1, N[(t * N[(a * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot y\right) \cdot \left(a \cdot b\right)\\
\mathbf{if}\;a \leq -9.5 \cdot 10^{-58}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 1.25 \cdot 10^{+123}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{elif}\;a \leq 4.4 \cdot 10^{+265}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if a < -9.4999999999999994e-58 or 1.24999999999999994e123 < a < 4.3999999999999998e265Initial program 21.5%
Taylor expanded in y around inf 37.1%
Taylor expanded in a around inf 42.1%
Taylor expanded in b around inf 37.0%
associate-*r*42.0%
Simplified42.0%
if -9.4999999999999994e-58 < a < 1.24999999999999994e123Initial program 34.6%
Taylor expanded in x around inf 45.5%
Taylor expanded in y0 around inf 44.4%
Taylor expanded in y5 around -inf 46.6%
associate-*r*46.6%
neg-mul-146.6%
+-commutative46.6%
mul-1-neg46.6%
unsub-neg46.6%
associate-/l*48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in c around inf 22.2%
associate-*r*24.4%
*-commutative24.4%
Simplified24.4%
if 4.3999999999999998e265 < a Initial program 7.7%
Taylor expanded in y4 around inf 30.8%
*-commutative30.8%
Simplified30.8%
Taylor expanded in t around inf 61.8%
associate-*r*61.8%
Simplified61.8%
Taylor expanded in y4 around 0 55.0%
*-commutative55.0%
Simplified55.0%
Final simplification33.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= b -1e-22) (* a (* (* x y) b)) (if (<= b 7.4e-6) (* c (* x (* y0 y2))) (* a (* y (* x 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 (b <= -1e-22) {
tmp = a * ((x * y) * b);
} else if (b <= 7.4e-6) {
tmp = c * (x * (y0 * y2));
} else {
tmp = a * (y * (x * 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 (b <= (-1d-22)) then
tmp = a * ((x * y) * b)
else if (b <= 7.4d-6) then
tmp = c * (x * (y0 * y2))
else
tmp = a * (y * (x * 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 (b <= -1e-22) {
tmp = a * ((x * y) * b);
} else if (b <= 7.4e-6) {
tmp = c * (x * (y0 * y2));
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if b <= -1e-22: tmp = a * ((x * y) * b) elif b <= 7.4e-6: tmp = c * (x * (y0 * y2)) else: tmp = a * (y * (x * 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 (b <= -1e-22) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (b <= 7.4e-6) tmp = Float64(c * Float64(x * Float64(y0 * y2))); else tmp = Float64(a * Float64(y * Float64(x * 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 (b <= -1e-22) tmp = a * ((x * y) * b); elseif (b <= 7.4e-6) tmp = c * (x * (y0 * y2)); else tmp = a * (y * (x * 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[b, -1e-22], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 7.4e-6], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1 \cdot 10^{-22}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;b \leq 7.4 \cdot 10^{-6}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\end{array}
\end{array}
if b < -1e-22Initial program 27.3%
Taylor expanded in y around inf 41.0%
Taylor expanded in a around inf 42.9%
Taylor expanded in b around inf 36.3%
if -1e-22 < b < 7.4000000000000003e-6Initial program 30.4%
Taylor expanded in x around inf 46.8%
Taylor expanded in y0 around inf 39.9%
Taylor expanded in c around inf 21.3%
if 7.4000000000000003e-6 < b Initial program 23.4%
Taylor expanded in y around inf 31.5%
Taylor expanded in a around inf 41.4%
Taylor expanded in b around inf 36.2%
Final simplification29.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= a -1.5e-57) (* a (* (* x y) b)) (if (<= a 8.8e+27) (* y0 (* y2 (* x c))) (* t (* a (* y2 y5))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -1.5e-57) {
tmp = a * ((x * y) * b);
} else if (a <= 8.8e+27) {
tmp = y0 * (y2 * (x * c));
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (a <= (-1.5d-57)) then
tmp = a * ((x * y) * b)
else if (a <= 8.8d+27) then
tmp = y0 * (y2 * (x * c))
else
tmp = t * (a * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -1.5e-57) {
tmp = a * ((x * y) * b);
} else if (a <= 8.8e+27) {
tmp = y0 * (y2 * (x * c));
} else {
tmp = t * (a * (y2 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -1.5e-57: tmp = a * ((x * y) * b) elif a <= 8.8e+27: tmp = y0 * (y2 * (x * c)) else: tmp = t * (a * (y2 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (a <= -1.5e-57) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (a <= 8.8e+27) tmp = Float64(y0 * Float64(y2 * Float64(x * c))); else tmp = Float64(t * Float64(a * Float64(y2 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (a <= -1.5e-57) tmp = a * ((x * y) * b); elseif (a <= 8.8e+27) tmp = y0 * (y2 * (x * c)); else tmp = t * (a * (y2 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -1.5e-57], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.8e+27], N[(y0 * N[(y2 * N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(a * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.5 \cdot 10^{-57}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;a \leq 8.8 \cdot 10^{+27}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if a < -1.5e-57Initial program 25.6%
Taylor expanded in y around inf 40.0%
Taylor expanded in a around inf 44.0%
Taylor expanded in b around inf 37.3%
if -1.5e-57 < a < 8.7999999999999995e27Initial program 35.4%
Taylor expanded in x around inf 49.0%
Taylor expanded in y0 around inf 48.6%
Taylor expanded in y5 around -inf 50.3%
associate-*r*50.3%
neg-mul-150.3%
+-commutative50.3%
mul-1-neg50.3%
unsub-neg50.3%
associate-/l*52.9%
*-commutative52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in c around inf 24.2%
associate-*r*26.7%
*-commutative26.7%
Simplified26.7%
if 8.7999999999999995e27 < a Initial program 15.4%
Taylor expanded in y4 around inf 32.4%
*-commutative32.4%
Simplified32.4%
Taylor expanded in t around inf 28.2%
associate-*r*28.2%
Simplified28.2%
Taylor expanded in y4 around 0 25.4%
*-commutative25.4%
Simplified25.4%
Final simplification30.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= c 4.2e+110) (* a (* (* x y) b)) (* a (* t (* y2 y5)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= 4.2e+110) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (t * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (c <= 4.2d+110) then
tmp = a * ((x * y) * b)
else
tmp = a * (t * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= 4.2e+110) {
tmp = a * ((x * y) * b);
} else {
tmp = a * (t * (y2 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if c <= 4.2e+110: tmp = a * ((x * y) * b) else: tmp = a * (t * (y2 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (c <= 4.2e+110) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(a * Float64(t * Float64(y2 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (c <= 4.2e+110) tmp = a * ((x * y) * b); else tmp = a * (t * (y2 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, 4.2e+110], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq 4.2 \cdot 10^{+110}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if c < 4.2000000000000003e110Initial program 27.7%
Taylor expanded in y around inf 38.4%
Taylor expanded in a around inf 33.0%
Taylor expanded in b around inf 25.3%
if 4.2000000000000003e110 < c Initial program 26.3%
Taylor expanded in y4 around inf 29.3%
*-commutative29.3%
Simplified29.3%
Taylor expanded in t around inf 37.4%
associate-*r*39.9%
Simplified39.9%
Taylor expanded in y4 around 0 22.3%
*-commutative22.3%
Simplified22.3%
Final simplification24.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= t 1.25e+189) (* a (* y (* x b))) (* b (* j (* t y4)))))
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 (t <= 1.25e+189) {
tmp = a * (y * (x * b));
} else {
tmp = b * (j * (t * y4));
}
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 (t <= 1.25d+189) then
tmp = a * (y * (x * b))
else
tmp = b * (j * (t * y4))
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 (t <= 1.25e+189) {
tmp = a * (y * (x * b));
} else {
tmp = b * (j * (t * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if t <= 1.25e+189: tmp = a * (y * (x * b)) else: tmp = b * (j * (t * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (t <= 1.25e+189) tmp = Float64(a * Float64(y * Float64(x * b))); else tmp = Float64(b * Float64(j * Float64(t * y4))); 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 (t <= 1.25e+189) tmp = a * (y * (x * b)); else tmp = b * (j * (t * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, 1.25e+189], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 1.25 \cdot 10^{+189}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < 1.2500000000000001e189Initial program 29.3%
Taylor expanded in y around inf 37.9%
Taylor expanded in a around inf 30.9%
Taylor expanded in b around inf 23.8%
if 1.2500000000000001e189 < t Initial program 5.3%
Taylor expanded in y4 around inf 10.8%
*-commutative10.8%
Simplified10.8%
Taylor expanded in t around inf 37.4%
associate-*r*37.4%
Simplified37.4%
Taylor expanded in b around inf 58.0%
*-commutative58.0%
Simplified58.0%
Final simplification26.3%
(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 27.5%
Taylor expanded in y around inf 37.1%
Taylor expanded in a around inf 30.7%
Taylor expanded in b around inf 22.9%
Final simplification22.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* y (* x 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 * (y * (x * 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 * (y * (x * 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 * (y * (x * b));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (y * (x * b))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(y * Float64(x * b))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (y * (x * b)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(y \cdot \left(x \cdot b\right)\right)
\end{array}
Initial program 27.5%
Taylor expanded in y around inf 37.1%
Taylor expanded in a around inf 30.7%
Taylor expanded in b around inf 22.9%
Final simplification22.9%
(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 2024055
(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)))))