
(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 42 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 (* i (- (* x j) (* z k))))
(t_2 (- (* t j) (* y k)))
(t_3 (- (* a y5) (* c y4)))
(t_4 (- (* t y2) (* y y3)))
(t_5 (- (* y y3) (* t y2)))
(t_6 (- (* y1 y4) (* y0 y5)))
(t_7 (* y0 (- (* j y3) (* k y2))))
(t_8 (- (* c y0) (* a y1)))
(t_9 (- (* k y2) (* j y3)))
(t_10 (* t_9 t_6))
(t_11 (+ (* y4 t_9) t_1)))
(if (<= y5 -6e+239)
(* y5 (+ (* a t_4) (+ t_7 (* i (- (* y k) (* t j))))))
(if (<= y5 -5e+212)
(* x (* y2 t_8))
(if (<= y5 -8.5e+201)
(*
k
(+
(+ (* y2 t_6) (* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1)))))
(if (<= y5 -4.6e+103)
(* a (* (- (* i (/ j a)) y2) (* x y1)))
(if (<= y5 -1.4e+73)
(* y5 (- t_7 (* a t_5)))
(if (<= y5 -3.9e-73)
(* y1 t_11)
(if (<= y5 -2.95e-164)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+
(* z (- (* a y1) (* c y0)))
(* j (- (* y0 y5) (* y1 y4))))))
(if (<= y5 -5.4e-212)
(* c (* y2 (- (* x y0) (* t y4))))
(if (<= y5 -8e-239)
(+ t_10 (+ (* b (* y4 t_2)) (* t_4 t_3)))
(if (<= y5 1.05e-259)
(* y1 (* a (+ (* z y3) (- (/ t_11 a) (* x y2)))))
(if (<= y5 6.2e-171)
(* y2 (+ (+ (* k t_6) (* x t_8)) (* t t_3)))
(if (<= y5 2.85e-100)
(* y4 (+ (+ (* b t_2) (* y1 t_9)) (* c t_5)))
(if (<= y5 3.65e+146)
(-
t_10
(* y1 (- (* a (- (* x y2) (* z y3))) t_1)))
(* j (* t (- (* b y4) (* i y5)))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((x * j) - (z * k));
double t_2 = (t * j) - (y * k);
double t_3 = (a * y5) - (c * y4);
double t_4 = (t * y2) - (y * y3);
double t_5 = (y * y3) - (t * y2);
double t_6 = (y1 * y4) - (y0 * y5);
double t_7 = y0 * ((j * y3) - (k * y2));
double t_8 = (c * y0) - (a * y1);
double t_9 = (k * y2) - (j * y3);
double t_10 = t_9 * t_6;
double t_11 = (y4 * t_9) + t_1;
double tmp;
if (y5 <= -6e+239) {
tmp = y5 * ((a * t_4) + (t_7 + (i * ((y * k) - (t * j)))));
} else if (y5 <= -5e+212) {
tmp = x * (y2 * t_8);
} else if (y5 <= -8.5e+201) {
tmp = k * (((y2 * t_6) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (y5 <= -4.6e+103) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (y5 <= -1.4e+73) {
tmp = y5 * (t_7 - (a * t_5));
} else if (y5 <= -3.9e-73) {
tmp = y1 * t_11;
} else if (y5 <= -2.95e-164) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y5 <= -5.4e-212) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y5 <= -8e-239) {
tmp = t_10 + ((b * (y4 * t_2)) + (t_4 * t_3));
} else if (y5 <= 1.05e-259) {
tmp = y1 * (a * ((z * y3) + ((t_11 / a) - (x * y2))));
} else if (y5 <= 6.2e-171) {
tmp = y2 * (((k * t_6) + (x * t_8)) + (t * t_3));
} else if (y5 <= 2.85e-100) {
tmp = y4 * (((b * t_2) + (y1 * t_9)) + (c * t_5));
} else if (y5 <= 3.65e+146) {
tmp = t_10 - (y1 * ((a * ((x * y2) - (z * y3))) - t_1));
} else {
tmp = j * (t * ((b * y4) - (i * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_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 = i * ((x * j) - (z * k))
t_2 = (t * j) - (y * k)
t_3 = (a * y5) - (c * y4)
t_4 = (t * y2) - (y * y3)
t_5 = (y * y3) - (t * y2)
t_6 = (y1 * y4) - (y0 * y5)
t_7 = y0 * ((j * y3) - (k * y2))
t_8 = (c * y0) - (a * y1)
t_9 = (k * y2) - (j * y3)
t_10 = t_9 * t_6
t_11 = (y4 * t_9) + t_1
if (y5 <= (-6d+239)) then
tmp = y5 * ((a * t_4) + (t_7 + (i * ((y * k) - (t * j)))))
else if (y5 <= (-5d+212)) then
tmp = x * (y2 * t_8)
else if (y5 <= (-8.5d+201)) then
tmp = k * (((y2 * t_6) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
else if (y5 <= (-4.6d+103)) then
tmp = a * (((i * (j / a)) - y2) * (x * y1))
else if (y5 <= (-1.4d+73)) then
tmp = y5 * (t_7 - (a * t_5))
else if (y5 <= (-3.9d-73)) then
tmp = y1 * t_11
else if (y5 <= (-2.95d-164)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (y5 <= (-5.4d-212)) then
tmp = c * (y2 * ((x * y0) - (t * y4)))
else if (y5 <= (-8d-239)) then
tmp = t_10 + ((b * (y4 * t_2)) + (t_4 * t_3))
else if (y5 <= 1.05d-259) then
tmp = y1 * (a * ((z * y3) + ((t_11 / a) - (x * y2))))
else if (y5 <= 6.2d-171) then
tmp = y2 * (((k * t_6) + (x * t_8)) + (t * t_3))
else if (y5 <= 2.85d-100) then
tmp = y4 * (((b * t_2) + (y1 * t_9)) + (c * t_5))
else if (y5 <= 3.65d+146) then
tmp = t_10 - (y1 * ((a * ((x * y2) - (z * y3))) - t_1))
else
tmp = j * (t * ((b * y4) - (i * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((x * j) - (z * k));
double t_2 = (t * j) - (y * k);
double t_3 = (a * y5) - (c * y4);
double t_4 = (t * y2) - (y * y3);
double t_5 = (y * y3) - (t * y2);
double t_6 = (y1 * y4) - (y0 * y5);
double t_7 = y0 * ((j * y3) - (k * y2));
double t_8 = (c * y0) - (a * y1);
double t_9 = (k * y2) - (j * y3);
double t_10 = t_9 * t_6;
double t_11 = (y4 * t_9) + t_1;
double tmp;
if (y5 <= -6e+239) {
tmp = y5 * ((a * t_4) + (t_7 + (i * ((y * k) - (t * j)))));
} else if (y5 <= -5e+212) {
tmp = x * (y2 * t_8);
} else if (y5 <= -8.5e+201) {
tmp = k * (((y2 * t_6) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (y5 <= -4.6e+103) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (y5 <= -1.4e+73) {
tmp = y5 * (t_7 - (a * t_5));
} else if (y5 <= -3.9e-73) {
tmp = y1 * t_11;
} else if (y5 <= -2.95e-164) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y5 <= -5.4e-212) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y5 <= -8e-239) {
tmp = t_10 + ((b * (y4 * t_2)) + (t_4 * t_3));
} else if (y5 <= 1.05e-259) {
tmp = y1 * (a * ((z * y3) + ((t_11 / a) - (x * y2))));
} else if (y5 <= 6.2e-171) {
tmp = y2 * (((k * t_6) + (x * t_8)) + (t * t_3));
} else if (y5 <= 2.85e-100) {
tmp = y4 * (((b * t_2) + (y1 * t_9)) + (c * t_5));
} else if (y5 <= 3.65e+146) {
tmp = t_10 - (y1 * ((a * ((x * y2) - (z * y3))) - t_1));
} else {
tmp = j * (t * ((b * y4) - (i * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * ((x * j) - (z * k)) t_2 = (t * j) - (y * k) t_3 = (a * y5) - (c * y4) t_4 = (t * y2) - (y * y3) t_5 = (y * y3) - (t * y2) t_6 = (y1 * y4) - (y0 * y5) t_7 = y0 * ((j * y3) - (k * y2)) t_8 = (c * y0) - (a * y1) t_9 = (k * y2) - (j * y3) t_10 = t_9 * t_6 t_11 = (y4 * t_9) + t_1 tmp = 0 if y5 <= -6e+239: tmp = y5 * ((a * t_4) + (t_7 + (i * ((y * k) - (t * j))))) elif y5 <= -5e+212: tmp = x * (y2 * t_8) elif y5 <= -8.5e+201: tmp = k * (((y2 * t_6) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) elif y5 <= -4.6e+103: tmp = a * (((i * (j / a)) - y2) * (x * y1)) elif y5 <= -1.4e+73: tmp = y5 * (t_7 - (a * t_5)) elif y5 <= -3.9e-73: tmp = y1 * t_11 elif y5 <= -2.95e-164: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif y5 <= -5.4e-212: tmp = c * (y2 * ((x * y0) - (t * y4))) elif y5 <= -8e-239: tmp = t_10 + ((b * (y4 * t_2)) + (t_4 * t_3)) elif y5 <= 1.05e-259: tmp = y1 * (a * ((z * y3) + ((t_11 / a) - (x * y2)))) elif y5 <= 6.2e-171: tmp = y2 * (((k * t_6) + (x * t_8)) + (t * t_3)) elif y5 <= 2.85e-100: tmp = y4 * (((b * t_2) + (y1 * t_9)) + (c * t_5)) elif y5 <= 3.65e+146: tmp = t_10 - (y1 * ((a * ((x * y2) - (z * y3))) - t_1)) else: tmp = j * (t * ((b * y4) - (i * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(Float64(x * j) - Float64(z * k))) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = Float64(Float64(a * y5) - Float64(c * y4)) t_4 = Float64(Float64(t * y2) - Float64(y * y3)) t_5 = Float64(Float64(y * y3) - Float64(t * y2)) t_6 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_7 = Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) t_8 = Float64(Float64(c * y0) - Float64(a * y1)) t_9 = Float64(Float64(k * y2) - Float64(j * y3)) t_10 = Float64(t_9 * t_6) t_11 = Float64(Float64(y4 * t_9) + t_1) tmp = 0.0 if (y5 <= -6e+239) tmp = Float64(y5 * Float64(Float64(a * t_4) + Float64(t_7 + Float64(i * Float64(Float64(y * k) - Float64(t * j)))))); elseif (y5 <= -5e+212) tmp = Float64(x * Float64(y2 * t_8)); elseif (y5 <= -8.5e+201) tmp = Float64(k * Float64(Float64(Float64(y2 * t_6) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (y5 <= -4.6e+103) tmp = Float64(a * Float64(Float64(Float64(i * Float64(j / a)) - y2) * Float64(x * y1))); elseif (y5 <= -1.4e+73) tmp = Float64(y5 * Float64(t_7 - Float64(a * t_5))); elseif (y5 <= -3.9e-73) tmp = Float64(y1 * t_11); elseif (y5 <= -2.95e-164) 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 (y5 <= -5.4e-212) tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))); elseif (y5 <= -8e-239) tmp = Float64(t_10 + Float64(Float64(b * Float64(y4 * t_2)) + Float64(t_4 * t_3))); elseif (y5 <= 1.05e-259) tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(t_11 / a) - Float64(x * y2))))); elseif (y5 <= 6.2e-171) tmp = Float64(y2 * Float64(Float64(Float64(k * t_6) + Float64(x * t_8)) + Float64(t * t_3))); elseif (y5 <= 2.85e-100) tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * t_9)) + Float64(c * t_5))); elseif (y5 <= 3.65e+146) tmp = Float64(t_10 - Float64(y1 * Float64(Float64(a * Float64(Float64(x * y2) - Float64(z * y3))) - t_1))); else tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * ((x * j) - (z * k)); t_2 = (t * j) - (y * k); t_3 = (a * y5) - (c * y4); t_4 = (t * y2) - (y * y3); t_5 = (y * y3) - (t * y2); t_6 = (y1 * y4) - (y0 * y5); t_7 = y0 * ((j * y3) - (k * y2)); t_8 = (c * y0) - (a * y1); t_9 = (k * y2) - (j * y3); t_10 = t_9 * t_6; t_11 = (y4 * t_9) + t_1; tmp = 0.0; if (y5 <= -6e+239) tmp = y5 * ((a * t_4) + (t_7 + (i * ((y * k) - (t * j))))); elseif (y5 <= -5e+212) tmp = x * (y2 * t_8); elseif (y5 <= -8.5e+201) tmp = k * (((y2 * t_6) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); elseif (y5 <= -4.6e+103) tmp = a * (((i * (j / a)) - y2) * (x * y1)); elseif (y5 <= -1.4e+73) tmp = y5 * (t_7 - (a * t_5)); elseif (y5 <= -3.9e-73) tmp = y1 * t_11; elseif (y5 <= -2.95e-164) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (y5 <= -5.4e-212) tmp = c * (y2 * ((x * y0) - (t * y4))); elseif (y5 <= -8e-239) tmp = t_10 + ((b * (y4 * t_2)) + (t_4 * t_3)); elseif (y5 <= 1.05e-259) tmp = y1 * (a * ((z * y3) + ((t_11 / a) - (x * y2)))); elseif (y5 <= 6.2e-171) tmp = y2 * (((k * t_6) + (x * t_8)) + (t * t_3)); elseif (y5 <= 2.85e-100) tmp = y4 * (((b * t_2) + (y1 * t_9)) + (c * t_5)); elseif (y5 <= 3.65e+146) tmp = t_10 - (y1 * ((a * ((x * y2) - (z * y3))) - t_1)); else tmp = j * (t * ((b * y4) - (i * y5))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(t$95$9 * t$95$6), $MachinePrecision]}, Block[{t$95$11 = N[(N[(y4 * t$95$9), $MachinePrecision] + t$95$1), $MachinePrecision]}, If[LessEqual[y5, -6e+239], N[(y5 * N[(N[(a * t$95$4), $MachinePrecision] + N[(t$95$7 + N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5e+212], N[(x * N[(y2 * t$95$8), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -8.5e+201], N[(k * N[(N[(N[(y2 * t$95$6), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -4.6e+103], N[(a * N[(N[(N[(i * N[(j / a), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision] * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.4e+73], N[(y5 * N[(t$95$7 - N[(a * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.9e-73], N[(y1 * t$95$11), $MachinePrecision], If[LessEqual[y5, -2.95e-164], 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[y5, -5.4e-212], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -8e-239], N[(t$95$10 + N[(N[(b * N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(t$95$4 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.05e-259], N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(t$95$11 / a), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 6.2e-171], N[(y2 * N[(N[(N[(k * t$95$6), $MachinePrecision] + N[(x * t$95$8), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.85e-100], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * t$95$9), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.65e+146], N[(t$95$10 - N[(y1 * N[(N[(a * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(x \cdot j - z \cdot k\right)\\
t_2 := t \cdot j - y \cdot k\\
t_3 := a \cdot y5 - c \cdot y4\\
t_4 := t \cdot y2 - y \cdot y3\\
t_5 := y \cdot y3 - t \cdot y2\\
t_6 := y1 \cdot y4 - y0 \cdot y5\\
t_7 := y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\\
t_8 := c \cdot y0 - a \cdot y1\\
t_9 := k \cdot y2 - j \cdot y3\\
t_10 := t\_9 \cdot t\_6\\
t_11 := y4 \cdot t\_9 + t\_1\\
\mathbf{if}\;y5 \leq -6 \cdot 10^{+239}:\\
\;\;\;\;y5 \cdot \left(a \cdot t\_4 + \left(t\_7 + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{elif}\;y5 \leq -5 \cdot 10^{+212}:\\
\;\;\;\;x \cdot \left(y2 \cdot t\_8\right)\\
\mathbf{elif}\;y5 \leq -8.5 \cdot 10^{+201}:\\
\;\;\;\;k \cdot \left(\left(y2 \cdot t\_6 + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y5 \leq -4.6 \cdot 10^{+103}:\\
\;\;\;\;a \cdot \left(\left(i \cdot \frac{j}{a} - y2\right) \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;y5 \leq -1.4 \cdot 10^{+73}:\\
\;\;\;\;y5 \cdot \left(t\_7 - a \cdot t\_5\right)\\
\mathbf{elif}\;y5 \leq -3.9 \cdot 10^{-73}:\\
\;\;\;\;y1 \cdot t\_11\\
\mathbf{elif}\;y5 \leq -2.95 \cdot 10^{-164}:\\
\;\;\;\;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}\;y5 \leq -5.4 \cdot 10^{-212}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq -8 \cdot 10^{-239}:\\
\;\;\;\;t\_10 + \left(b \cdot \left(y4 \cdot t\_2\right) + t\_4 \cdot t\_3\right)\\
\mathbf{elif}\;y5 \leq 1.05 \cdot 10^{-259}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(\frac{t\_11}{a} - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;y5 \leq 6.2 \cdot 10^{-171}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t\_6 + x \cdot t\_8\right) + t \cdot t\_3\right)\\
\mathbf{elif}\;y5 \leq 2.85 \cdot 10^{-100}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot t\_9\right) + c \cdot t\_5\right)\\
\mathbf{elif}\;y5 \leq 3.65 \cdot 10^{+146}:\\
\;\;\;\;t\_10 - y1 \cdot \left(a \cdot \left(x \cdot y2 - z \cdot y3\right) - t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if y5 < -5.9999999999999997e239Initial program 6.3%
Taylor expanded in y5 around -inf 88.0%
if -5.9999999999999997e239 < y5 < -4.99999999999999992e212Initial program 0.0%
Taylor expanded in x around inf 28.6%
Taylor expanded in y2 around inf 57.2%
Taylor expanded in k around 0 85.9%
if -4.99999999999999992e212 < y5 < -8.5e201Initial program 0.0%
Taylor expanded in k around inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
associate-*r*100.0%
neg-mul-1100.0%
Simplified100.0%
if -8.5e201 < y5 < -4.60000000000000017e103Initial program 28.6%
Taylor expanded in y1 around -inf 43.4%
associate-*r*43.4%
neg-mul-143.4%
+-commutative43.4%
mul-1-neg43.4%
unsub-neg43.4%
*-commutative43.4%
*-commutative43.4%
*-commutative43.4%
*-commutative43.4%
Simplified43.4%
Taylor expanded in a around inf 57.2%
Taylor expanded in x around -inf 59.2%
associate-*r*65.5%
*-commutative65.5%
+-commutative65.5%
mul-1-neg65.5%
unsub-neg65.5%
associate-/l*72.2%
Simplified72.2%
if -4.60000000000000017e103 < y5 < -1.40000000000000004e73Initial program 0.0%
Taylor expanded in y4 around inf 16.7%
*-commutative16.7%
Simplified16.7%
Taylor expanded in y5 around -inf 83.4%
mul-1-neg83.4%
Simplified83.4%
if -1.40000000000000004e73 < y5 < -3.89999999999999982e-73Initial program 28.5%
Taylor expanded in y1 around -inf 61.0%
associate-*r*61.0%
neg-mul-161.0%
+-commutative61.0%
mul-1-neg61.0%
unsub-neg61.0%
*-commutative61.0%
*-commutative61.0%
*-commutative61.0%
*-commutative61.0%
Simplified61.0%
Taylor expanded in a around 0 61.1%
if -3.89999999999999982e-73 < y5 < -2.95000000000000009e-164Initial program 36.3%
Taylor expanded in y3 around -inf 57.7%
if -2.95000000000000009e-164 < y5 < -5.39999999999999962e-212Initial program 42.7%
Taylor expanded in y2 around inf 44.2%
Taylor expanded in c around inf 44.6%
if -5.39999999999999962e-212 < y5 < -8.0000000000000006e-239Initial program 80.0%
Taylor expanded in y4 around inf 100.0%
*-commutative100.0%
Simplified100.0%
if -8.0000000000000006e-239 < y5 < 1.04999999999999999e-259Initial program 23.9%
Taylor expanded in y1 around -inf 60.2%
associate-*r*60.2%
neg-mul-160.2%
+-commutative60.2%
mul-1-neg60.2%
unsub-neg60.2%
*-commutative60.2%
*-commutative60.2%
*-commutative60.2%
*-commutative60.2%
Simplified60.2%
Taylor expanded in a around inf 64.1%
if 1.04999999999999999e-259 < y5 < 6.2000000000000001e-171Initial program 58.7%
Taylor expanded in y2 around inf 70.7%
if 6.2000000000000001e-171 < y5 < 2.84999999999999985e-100Initial program 42.6%
Taylor expanded in y4 around inf 74.1%
if 2.84999999999999985e-100 < y5 < 3.65000000000000017e146Initial program 35.6%
Taylor expanded in y1 around -inf 56.6%
associate-*r*56.6%
neg-mul-156.6%
*-commutative56.6%
*-commutative56.6%
*-commutative56.6%
Simplified56.6%
if 3.65000000000000017e146 < y5 Initial program 20.0%
Taylor expanded in j around inf 28.4%
+-commutative28.4%
mul-1-neg28.4%
unsub-neg28.4%
*-commutative28.4%
Simplified28.4%
Taylor expanded in t around inf 64.5%
Final simplification65.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x j) (* z k)))
(t_2 (- (* k y2) (* j y3)))
(t_3
(+
(+
(+
(+
(+
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* t_1 (- (* i y1) (* b y0))))
(* (- (* c y0) (* a y1)) (- (* x y2) (* z y3))))
(* (- (* t j) (* y k)) (- (* b y4) (* i y5))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* t_2 (- (* y1 y4) (* y0 y5))))))
(if (<= t_3 INFINITY)
t_3
(* y1 (* a (+ (* z y3) (- (/ (+ (* y4 t_2) (* i t_1)) a) (* 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 = (x * j) - (z * k);
double t_2 = (k * y2) - (j * y3);
double t_3 = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) + (t_1 * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= ((double) INFINITY)) {
tmp = t_3;
} else {
tmp = y1 * (a * ((z * y3) + ((((y4 * t_2) + (i * t_1)) / a) - (x * y2))));
}
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 = (x * j) - (z * k);
double t_2 = (k * y2) - (j * y3);
double t_3 = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) + (t_1 * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= Double.POSITIVE_INFINITY) {
tmp = t_3;
} else {
tmp = y1 * (a * ((z * y3) + ((((y4 * t_2) + (i * t_1)) / a) - (x * y2))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * j) - (z * k) t_2 = (k * y2) - (j * y3) t_3 = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) + (t_1 * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_3 <= math.inf: tmp = t_3 else: tmp = y1 * (a * ((z * y3) + ((((y4 * t_2) + (i * t_1)) / a) - (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(x * j) - Float64(z * k)) t_2 = Float64(Float64(k * y2) - Float64(j * y3)) t_3 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) + Float64(t_1 * Float64(Float64(i * y1) - Float64(b * y0)))) + Float64(Float64(Float64(c * y0) - Float64(a * y1)) * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(t_2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_3 <= Inf) tmp = t_3; else tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(Float64(Float64(y4 * t_2) + Float64(i * t_1)) / a) - 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 = (x * j) - (z * k); t_2 = (k * y2) - (j * y3); t_3 = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) + (t_1 * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_3 <= Inf) tmp = t_3; else tmp = y1 * (a * ((z * y3) + ((((y4 * t_2) + (i * t_1)) / a) - (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[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = 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[(t$95$1 * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, Infinity], t$95$3, N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(N[(N[(y4 * t$95$2), $MachinePrecision] + N[(i * t$95$1), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot j - z \cdot k\\
t_2 := k \cdot y2 - j \cdot y3\\
t_3 := \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) + t\_1 \cdot \left(i \cdot y1 - b \cdot y0\right)\right) + \left(c \cdot y0 - a \cdot y1\right) \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + t\_2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_3 \leq \infty:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(\frac{y4 \cdot t\_2 + i \cdot t\_1}{a} - x \cdot y2\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 90.4%
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 y1 around -inf 41.4%
associate-*r*41.4%
neg-mul-141.4%
+-commutative41.4%
mul-1-neg41.4%
unsub-neg41.4%
*-commutative41.4%
*-commutative41.4%
*-commutative41.4%
*-commutative41.4%
Simplified41.4%
Taylor expanded in a around inf 43.7%
Final simplification59.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (- (* x j) (* z k))))
(t_2 (- (* y y3) (* t y2)))
(t_3 (- (* y1 y4) (* y0 y5)))
(t_4 (* y0 (- (* j y3) (* k y2))))
(t_5 (- (* c y0) (* a y1)))
(t_6 (- (* k y2) (* j y3)))
(t_7 (+ (* y4 t_6) t_1)))
(if (<= y5 -6e+239)
(* y5 (+ (* a (- (* t y2) (* y y3))) (+ t_4 (* i (- (* y k) (* t j))))))
(if (<= y5 -3.6e+210)
(* x (* y2 t_5))
(if (<= y5 -3.2e+201)
(*
k
(+
(+ (* y2 t_3) (* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1)))))
(if (<= y5 -8.2e+102)
(* a (* (- (* i (/ j a)) y2) (* x y1)))
(if (<= y5 -6.2e+71)
(* y5 (- t_4 (* a t_2)))
(if (<= y5 -3.7e-73)
(* y1 t_7)
(if (<= y5 -2.15e-187)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+
(* z (- (* a y1) (* c y0)))
(* j (- (* y0 y5) (* y1 y4))))))
(if (<= y5 3.4e-259)
(* y1 (* a (+ (* z y3) (- (/ t_7 a) (* x y2)))))
(if (<= y5 4.4e-170)
(*
y2
(+ (+ (* k t_3) (* x t_5)) (* t (- (* a y5) (* c y4)))))
(if (<= y5 9.2e-102)
(*
y4
(+ (+ (* b (- (* t j) (* y k))) (* y1 t_6)) (* c t_2)))
(if (<= y5 2.2e+146)
(-
(* t_6 t_3)
(* y1 (- (* a (- (* x y2) (* z y3))) t_1)))
(* j (* t (- (* b y4) (* i y5)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((x * j) - (z * k));
double t_2 = (y * y3) - (t * y2);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = y0 * ((j * y3) - (k * y2));
double t_5 = (c * y0) - (a * y1);
double t_6 = (k * y2) - (j * y3);
double t_7 = (y4 * t_6) + t_1;
double tmp;
if (y5 <= -6e+239) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + (t_4 + (i * ((y * k) - (t * j)))));
} else if (y5 <= -3.6e+210) {
tmp = x * (y2 * t_5);
} else if (y5 <= -3.2e+201) {
tmp = k * (((y2 * t_3) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (y5 <= -8.2e+102) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (y5 <= -6.2e+71) {
tmp = y5 * (t_4 - (a * t_2));
} else if (y5 <= -3.7e-73) {
tmp = y1 * t_7;
} else if (y5 <= -2.15e-187) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y5 <= 3.4e-259) {
tmp = y1 * (a * ((z * y3) + ((t_7 / a) - (x * y2))));
} else if (y5 <= 4.4e-170) {
tmp = y2 * (((k * t_3) + (x * t_5)) + (t * ((a * y5) - (c * y4))));
} else if (y5 <= 9.2e-102) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_6)) + (c * t_2));
} else if (y5 <= 2.2e+146) {
tmp = (t_6 * t_3) - (y1 * ((a * ((x * y2) - (z * y3))) - t_1));
} else {
tmp = j * (t * ((b * y4) - (i * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: tmp
t_1 = i * ((x * j) - (z * k))
t_2 = (y * y3) - (t * y2)
t_3 = (y1 * y4) - (y0 * y5)
t_4 = y0 * ((j * y3) - (k * y2))
t_5 = (c * y0) - (a * y1)
t_6 = (k * y2) - (j * y3)
t_7 = (y4 * t_6) + t_1
if (y5 <= (-6d+239)) then
tmp = y5 * ((a * ((t * y2) - (y * y3))) + (t_4 + (i * ((y * k) - (t * j)))))
else if (y5 <= (-3.6d+210)) then
tmp = x * (y2 * t_5)
else if (y5 <= (-3.2d+201)) then
tmp = k * (((y2 * t_3) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
else if (y5 <= (-8.2d+102)) then
tmp = a * (((i * (j / a)) - y2) * (x * y1))
else if (y5 <= (-6.2d+71)) then
tmp = y5 * (t_4 - (a * t_2))
else if (y5 <= (-3.7d-73)) then
tmp = y1 * t_7
else if (y5 <= (-2.15d-187)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (y5 <= 3.4d-259) then
tmp = y1 * (a * ((z * y3) + ((t_7 / a) - (x * y2))))
else if (y5 <= 4.4d-170) then
tmp = y2 * (((k * t_3) + (x * t_5)) + (t * ((a * y5) - (c * y4))))
else if (y5 <= 9.2d-102) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_6)) + (c * t_2))
else if (y5 <= 2.2d+146) then
tmp = (t_6 * t_3) - (y1 * ((a * ((x * y2) - (z * y3))) - t_1))
else
tmp = j * (t * ((b * y4) - (i * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((x * j) - (z * k));
double t_2 = (y * y3) - (t * y2);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = y0 * ((j * y3) - (k * y2));
double t_5 = (c * y0) - (a * y1);
double t_6 = (k * y2) - (j * y3);
double t_7 = (y4 * t_6) + t_1;
double tmp;
if (y5 <= -6e+239) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + (t_4 + (i * ((y * k) - (t * j)))));
} else if (y5 <= -3.6e+210) {
tmp = x * (y2 * t_5);
} else if (y5 <= -3.2e+201) {
tmp = k * (((y2 * t_3) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (y5 <= -8.2e+102) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (y5 <= -6.2e+71) {
tmp = y5 * (t_4 - (a * t_2));
} else if (y5 <= -3.7e-73) {
tmp = y1 * t_7;
} else if (y5 <= -2.15e-187) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y5 <= 3.4e-259) {
tmp = y1 * (a * ((z * y3) + ((t_7 / a) - (x * y2))));
} else if (y5 <= 4.4e-170) {
tmp = y2 * (((k * t_3) + (x * t_5)) + (t * ((a * y5) - (c * y4))));
} else if (y5 <= 9.2e-102) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_6)) + (c * t_2));
} else if (y5 <= 2.2e+146) {
tmp = (t_6 * t_3) - (y1 * ((a * ((x * y2) - (z * y3))) - t_1));
} else {
tmp = j * (t * ((b * y4) - (i * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * ((x * j) - (z * k)) t_2 = (y * y3) - (t * y2) t_3 = (y1 * y4) - (y0 * y5) t_4 = y0 * ((j * y3) - (k * y2)) t_5 = (c * y0) - (a * y1) t_6 = (k * y2) - (j * y3) t_7 = (y4 * t_6) + t_1 tmp = 0 if y5 <= -6e+239: tmp = y5 * ((a * ((t * y2) - (y * y3))) + (t_4 + (i * ((y * k) - (t * j))))) elif y5 <= -3.6e+210: tmp = x * (y2 * t_5) elif y5 <= -3.2e+201: tmp = k * (((y2 * t_3) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) elif y5 <= -8.2e+102: tmp = a * (((i * (j / a)) - y2) * (x * y1)) elif y5 <= -6.2e+71: tmp = y5 * (t_4 - (a * t_2)) elif y5 <= -3.7e-73: tmp = y1 * t_7 elif y5 <= -2.15e-187: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif y5 <= 3.4e-259: tmp = y1 * (a * ((z * y3) + ((t_7 / a) - (x * y2)))) elif y5 <= 4.4e-170: tmp = y2 * (((k * t_3) + (x * t_5)) + (t * ((a * y5) - (c * y4)))) elif y5 <= 9.2e-102: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_6)) + (c * t_2)) elif y5 <= 2.2e+146: tmp = (t_6 * t_3) - (y1 * ((a * ((x * y2) - (z * y3))) - t_1)) else: tmp = j * (t * ((b * y4) - (i * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(Float64(x * j) - Float64(z * k))) t_2 = Float64(Float64(y * y3) - Float64(t * y2)) t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_4 = Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) t_5 = Float64(Float64(c * y0) - Float64(a * y1)) t_6 = Float64(Float64(k * y2) - Float64(j * y3)) t_7 = Float64(Float64(y4 * t_6) + t_1) tmp = 0.0 if (y5 <= -6e+239) tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(t_4 + Float64(i * Float64(Float64(y * k) - Float64(t * j)))))); elseif (y5 <= -3.6e+210) tmp = Float64(x * Float64(y2 * t_5)); elseif (y5 <= -3.2e+201) tmp = Float64(k * Float64(Float64(Float64(y2 * t_3) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (y5 <= -8.2e+102) tmp = Float64(a * Float64(Float64(Float64(i * Float64(j / a)) - y2) * Float64(x * y1))); elseif (y5 <= -6.2e+71) tmp = Float64(y5 * Float64(t_4 - Float64(a * t_2))); elseif (y5 <= -3.7e-73) tmp = Float64(y1 * t_7); elseif (y5 <= -2.15e-187) 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 (y5 <= 3.4e-259) tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(t_7 / a) - Float64(x * y2))))); elseif (y5 <= 4.4e-170) tmp = Float64(y2 * Float64(Float64(Float64(k * t_3) + Float64(x * t_5)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y5 <= 9.2e-102) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * t_6)) + Float64(c * t_2))); elseif (y5 <= 2.2e+146) tmp = Float64(Float64(t_6 * t_3) - Float64(y1 * Float64(Float64(a * Float64(Float64(x * y2) - Float64(z * y3))) - t_1))); else tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * ((x * j) - (z * k)); t_2 = (y * y3) - (t * y2); t_3 = (y1 * y4) - (y0 * y5); t_4 = y0 * ((j * y3) - (k * y2)); t_5 = (c * y0) - (a * y1); t_6 = (k * y2) - (j * y3); t_7 = (y4 * t_6) + t_1; tmp = 0.0; if (y5 <= -6e+239) tmp = y5 * ((a * ((t * y2) - (y * y3))) + (t_4 + (i * ((y * k) - (t * j))))); elseif (y5 <= -3.6e+210) tmp = x * (y2 * t_5); elseif (y5 <= -3.2e+201) tmp = k * (((y2 * t_3) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); elseif (y5 <= -8.2e+102) tmp = a * (((i * (j / a)) - y2) * (x * y1)); elseif (y5 <= -6.2e+71) tmp = y5 * (t_4 - (a * t_2)); elseif (y5 <= -3.7e-73) tmp = y1 * t_7; elseif (y5 <= -2.15e-187) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (y5 <= 3.4e-259) tmp = y1 * (a * ((z * y3) + ((t_7 / a) - (x * y2)))); elseif (y5 <= 4.4e-170) tmp = y2 * (((k * t_3) + (x * t_5)) + (t * ((a * y5) - (c * y4)))); elseif (y5 <= 9.2e-102) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_6)) + (c * t_2)); elseif (y5 <= 2.2e+146) tmp = (t_6 * t_3) - (y1 * ((a * ((x * y2) - (z * y3))) - t_1)); else tmp = j * (t * ((b * y4) - (i * y5))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(y4 * t$95$6), $MachinePrecision] + t$95$1), $MachinePrecision]}, If[LessEqual[y5, -6e+239], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$4 + N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.6e+210], N[(x * N[(y2 * t$95$5), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.2e+201], N[(k * N[(N[(N[(y2 * t$95$3), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -8.2e+102], N[(a * N[(N[(N[(i * N[(j / a), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision] * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -6.2e+71], N[(y5 * N[(t$95$4 - N[(a * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.7e-73], N[(y1 * t$95$7), $MachinePrecision], If[LessEqual[y5, -2.15e-187], 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[y5, 3.4e-259], N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(t$95$7 / a), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 4.4e-170], N[(y2 * N[(N[(N[(k * t$95$3), $MachinePrecision] + N[(x * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9.2e-102], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * t$95$6), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.2e+146], N[(N[(t$95$6 * t$95$3), $MachinePrecision] - N[(y1 * N[(N[(a * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(x \cdot j - z \cdot k\right)\\
t_2 := y \cdot y3 - t \cdot y2\\
t_3 := y1 \cdot y4 - y0 \cdot y5\\
t_4 := y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\\
t_5 := c \cdot y0 - a \cdot y1\\
t_6 := k \cdot y2 - j \cdot y3\\
t_7 := y4 \cdot t\_6 + t\_1\\
\mathbf{if}\;y5 \leq -6 \cdot 10^{+239}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(t\_4 + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{elif}\;y5 \leq -3.6 \cdot 10^{+210}:\\
\;\;\;\;x \cdot \left(y2 \cdot t\_5\right)\\
\mathbf{elif}\;y5 \leq -3.2 \cdot 10^{+201}:\\
\;\;\;\;k \cdot \left(\left(y2 \cdot t\_3 + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y5 \leq -8.2 \cdot 10^{+102}:\\
\;\;\;\;a \cdot \left(\left(i \cdot \frac{j}{a} - y2\right) \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;y5 \leq -6.2 \cdot 10^{+71}:\\
\;\;\;\;y5 \cdot \left(t\_4 - a \cdot t\_2\right)\\
\mathbf{elif}\;y5 \leq -3.7 \cdot 10^{-73}:\\
\;\;\;\;y1 \cdot t\_7\\
\mathbf{elif}\;y5 \leq -2.15 \cdot 10^{-187}:\\
\;\;\;\;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}\;y5 \leq 3.4 \cdot 10^{-259}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(\frac{t\_7}{a} - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;y5 \leq 4.4 \cdot 10^{-170}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t\_3 + x \cdot t\_5\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 9.2 \cdot 10^{-102}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot t\_6\right) + c \cdot t\_2\right)\\
\mathbf{elif}\;y5 \leq 2.2 \cdot 10^{+146}:\\
\;\;\;\;t\_6 \cdot t\_3 - y1 \cdot \left(a \cdot \left(x \cdot y2 - z \cdot y3\right) - t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if y5 < -5.9999999999999997e239Initial program 6.3%
Taylor expanded in y5 around -inf 88.0%
if -5.9999999999999997e239 < y5 < -3.6000000000000003e210Initial program 0.0%
Taylor expanded in x around inf 28.6%
Taylor expanded in y2 around inf 57.2%
Taylor expanded in k around 0 85.9%
if -3.6000000000000003e210 < y5 < -3.1999999999999999e201Initial program 0.0%
Taylor expanded in k around inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
associate-*r*100.0%
neg-mul-1100.0%
Simplified100.0%
if -3.1999999999999999e201 < y5 < -8.1999999999999999e102Initial program 28.6%
Taylor expanded in y1 around -inf 43.4%
associate-*r*43.4%
neg-mul-143.4%
+-commutative43.4%
mul-1-neg43.4%
unsub-neg43.4%
*-commutative43.4%
*-commutative43.4%
*-commutative43.4%
*-commutative43.4%
Simplified43.4%
Taylor expanded in a around inf 57.2%
Taylor expanded in x around -inf 59.2%
associate-*r*65.5%
*-commutative65.5%
+-commutative65.5%
mul-1-neg65.5%
unsub-neg65.5%
associate-/l*72.2%
Simplified72.2%
if -8.1999999999999999e102 < y5 < -6.20000000000000036e71Initial program 0.0%
Taylor expanded in y4 around inf 16.7%
*-commutative16.7%
Simplified16.7%
Taylor expanded in y5 around -inf 83.4%
mul-1-neg83.4%
Simplified83.4%
if -6.20000000000000036e71 < y5 < -3.7000000000000001e-73Initial program 28.5%
Taylor expanded in y1 around -inf 61.0%
associate-*r*61.0%
neg-mul-161.0%
+-commutative61.0%
mul-1-neg61.0%
unsub-neg61.0%
*-commutative61.0%
*-commutative61.0%
*-commutative61.0%
*-commutative61.0%
Simplified61.0%
Taylor expanded in a around 0 61.1%
if -3.7000000000000001e-73 < y5 < -2.15e-187Initial program 35.7%
Taylor expanded in y3 around -inf 50.6%
if -2.15e-187 < y5 < 3.40000000000000012e-259Initial program 36.4%
Taylor expanded in y1 around -inf 50.9%
associate-*r*50.9%
neg-mul-150.9%
+-commutative50.9%
mul-1-neg50.9%
unsub-neg50.9%
*-commutative50.9%
*-commutative50.9%
*-commutative50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in a around inf 56.0%
if 3.40000000000000012e-259 < y5 < 4.40000000000000029e-170Initial program 58.7%
Taylor expanded in y2 around inf 70.7%
if 4.40000000000000029e-170 < y5 < 9.19999999999999946e-102Initial program 42.6%
Taylor expanded in y4 around inf 74.1%
if 9.19999999999999946e-102 < y5 < 2.1999999999999998e146Initial program 35.6%
Taylor expanded in y1 around -inf 56.6%
associate-*r*56.6%
neg-mul-156.6%
*-commutative56.6%
*-commutative56.6%
*-commutative56.6%
Simplified56.6%
if 2.1999999999999998e146 < y5 Initial program 20.0%
Taylor expanded in j around inf 28.4%
+-commutative28.4%
mul-1-neg28.4%
unsub-neg28.4%
*-commutative28.4%
Simplified28.4%
Taylor expanded in t around inf 64.5%
Final simplification64.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* k y2) (* j y3)))
(t_2
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 t_1))
(* c (- (* y y3) (* t y2))))))
(t_3 (- (* c y0) (* a y1)))
(t_4 (- (* x y2) (* z y3)))
(t_5 (* y1 (+ (* i (- (* x j) (* z k))) (- (* y4 t_1) (* a t_4)))))
(t_6 (- (* j y3) (* k y2)))
(t_7 (- (* c y4) (* a y5))))
(if (<= y1 -6.6e+227)
t_5
(if (<= y1 -1.05e+116)
(* y2 (* y1 (- (* k y4) (* x a))))
(if (<= y1 -5e-27)
t_5
(if (<= y1 -3.3e-71)
(*
y3
(+
(* y t_7)
(+ (* z (- (* a y1) (* c y0))) (* j (- (* y0 y5) (* y1 y4))))))
(if (<= y1 -1.35e-131)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_3))
(* t (- (* a y5) (* c y4)))))
(if (<= y1 -7e-150)
(* c (* y2 (- (* x y0) (* t y4))))
(if (<= y1 -5.2e-203)
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* y0 t_6) (* i (- (* y k) (* t j))))))
(if (<= y1 5.5e-232)
t_2
(if (<= y1 1.06e-178)
(*
y0
(+ (+ (* c t_4) (* y5 t_6)) (* b (- (* z k) (* x j)))))
(if (<= y1 1.3e-102)
(* y (- (* y3 t_7) (* b (* k y4))))
(if (<= y1 4.2e-67)
(* (* x y2) t_3)
(if (<= y1 1.45e+79) t_2 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 = (k * y2) - (j * y3);
double t_2 = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
double t_3 = (c * y0) - (a * y1);
double t_4 = (x * y2) - (z * y3);
double t_5 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) - (a * t_4)));
double t_6 = (j * y3) - (k * y2);
double t_7 = (c * y4) - (a * y5);
double tmp;
if (y1 <= -6.6e+227) {
tmp = t_5;
} else if (y1 <= -1.05e+116) {
tmp = y2 * (y1 * ((k * y4) - (x * a)));
} else if (y1 <= -5e-27) {
tmp = t_5;
} else if (y1 <= -3.3e-71) {
tmp = y3 * ((y * t_7) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y1 <= -1.35e-131) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= -7e-150) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y1 <= -5.2e-203) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_6) + (i * ((y * k) - (t * j)))));
} else if (y1 <= 5.5e-232) {
tmp = t_2;
} else if (y1 <= 1.06e-178) {
tmp = y0 * (((c * t_4) + (y5 * t_6)) + (b * ((z * k) - (x * j))));
} else if (y1 <= 1.3e-102) {
tmp = y * ((y3 * t_7) - (b * (k * y4)));
} else if (y1 <= 4.2e-67) {
tmp = (x * y2) * t_3;
} else if (y1 <= 1.45e+79) {
tmp = t_2;
} else {
tmp = 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) :: t_7
real(8) :: tmp
t_1 = (k * y2) - (j * y3)
t_2 = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))))
t_3 = (c * y0) - (a * y1)
t_4 = (x * y2) - (z * y3)
t_5 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) - (a * t_4)))
t_6 = (j * y3) - (k * y2)
t_7 = (c * y4) - (a * y5)
if (y1 <= (-6.6d+227)) then
tmp = t_5
else if (y1 <= (-1.05d+116)) then
tmp = y2 * (y1 * ((k * y4) - (x * a)))
else if (y1 <= (-5d-27)) then
tmp = t_5
else if (y1 <= (-3.3d-71)) then
tmp = y3 * ((y * t_7) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (y1 <= (-1.35d-131)) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4))))
else if (y1 <= (-7d-150)) then
tmp = c * (y2 * ((x * y0) - (t * y4)))
else if (y1 <= (-5.2d-203)) then
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_6) + (i * ((y * k) - (t * j)))))
else if (y1 <= 5.5d-232) then
tmp = t_2
else if (y1 <= 1.06d-178) then
tmp = y0 * (((c * t_4) + (y5 * t_6)) + (b * ((z * k) - (x * j))))
else if (y1 <= 1.3d-102) then
tmp = y * ((y3 * t_7) - (b * (k * y4)))
else if (y1 <= 4.2d-67) then
tmp = (x * y2) * t_3
else if (y1 <= 1.45d+79) then
tmp = t_2
else
tmp = 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 = (k * y2) - (j * y3);
double t_2 = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
double t_3 = (c * y0) - (a * y1);
double t_4 = (x * y2) - (z * y3);
double t_5 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) - (a * t_4)));
double t_6 = (j * y3) - (k * y2);
double t_7 = (c * y4) - (a * y5);
double tmp;
if (y1 <= -6.6e+227) {
tmp = t_5;
} else if (y1 <= -1.05e+116) {
tmp = y2 * (y1 * ((k * y4) - (x * a)));
} else if (y1 <= -5e-27) {
tmp = t_5;
} else if (y1 <= -3.3e-71) {
tmp = y3 * ((y * t_7) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y1 <= -1.35e-131) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= -7e-150) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y1 <= -5.2e-203) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_6) + (i * ((y * k) - (t * j)))));
} else if (y1 <= 5.5e-232) {
tmp = t_2;
} else if (y1 <= 1.06e-178) {
tmp = y0 * (((c * t_4) + (y5 * t_6)) + (b * ((z * k) - (x * j))));
} else if (y1 <= 1.3e-102) {
tmp = y * ((y3 * t_7) - (b * (k * y4)));
} else if (y1 <= 4.2e-67) {
tmp = (x * y2) * t_3;
} else if (y1 <= 1.45e+79) {
tmp = t_2;
} else {
tmp = t_5;
}
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 = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_1)) + (c * ((y * y3) - (t * y2)))) t_3 = (c * y0) - (a * y1) t_4 = (x * y2) - (z * y3) t_5 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) - (a * t_4))) t_6 = (j * y3) - (k * y2) t_7 = (c * y4) - (a * y5) tmp = 0 if y1 <= -6.6e+227: tmp = t_5 elif y1 <= -1.05e+116: tmp = y2 * (y1 * ((k * y4) - (x * a))) elif y1 <= -5e-27: tmp = t_5 elif y1 <= -3.3e-71: tmp = y3 * ((y * t_7) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif y1 <= -1.35e-131: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4)))) elif y1 <= -7e-150: tmp = c * (y2 * ((x * y0) - (t * y4))) elif y1 <= -5.2e-203: tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_6) + (i * ((y * k) - (t * j))))) elif y1 <= 5.5e-232: tmp = t_2 elif y1 <= 1.06e-178: tmp = y0 * (((c * t_4) + (y5 * t_6)) + (b * ((z * k) - (x * j)))) elif y1 <= 1.3e-102: tmp = y * ((y3 * t_7) - (b * (k * y4))) elif y1 <= 4.2e-67: tmp = (x * y2) * t_3 elif y1 <= 1.45e+79: tmp = t_2 else: tmp = 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(k * y2) - Float64(j * y3)) t_2 = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * t_1)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) t_3 = Float64(Float64(c * y0) - Float64(a * y1)) t_4 = Float64(Float64(x * y2) - Float64(z * y3)) t_5 = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y4 * t_1) - Float64(a * t_4)))) t_6 = Float64(Float64(j * y3) - Float64(k * y2)) t_7 = Float64(Float64(c * y4) - Float64(a * y5)) tmp = 0.0 if (y1 <= -6.6e+227) tmp = t_5; elseif (y1 <= -1.05e+116) tmp = Float64(y2 * Float64(y1 * Float64(Float64(k * y4) - Float64(x * a)))); elseif (y1 <= -5e-27) tmp = t_5; elseif (y1 <= -3.3e-71) tmp = Float64(y3 * Float64(Float64(y * t_7) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))))); elseif (y1 <= -1.35e-131) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_3)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y1 <= -7e-150) tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))); elseif (y1 <= -5.2e-203) tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y0 * t_6) + Float64(i * Float64(Float64(y * k) - Float64(t * j)))))); elseif (y1 <= 5.5e-232) tmp = t_2; elseif (y1 <= 1.06e-178) tmp = Float64(y0 * Float64(Float64(Float64(c * t_4) + Float64(y5 * t_6)) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (y1 <= 1.3e-102) tmp = Float64(y * Float64(Float64(y3 * t_7) - Float64(b * Float64(k * y4)))); elseif (y1 <= 4.2e-67) tmp = Float64(Float64(x * y2) * t_3); elseif (y1 <= 1.45e+79) tmp = t_2; else tmp = 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 = (k * y2) - (j * y3); t_2 = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_1)) + (c * ((y * y3) - (t * y2)))); t_3 = (c * y0) - (a * y1); t_4 = (x * y2) - (z * y3); t_5 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) - (a * t_4))); t_6 = (j * y3) - (k * y2); t_7 = (c * y4) - (a * y5); tmp = 0.0; if (y1 <= -6.6e+227) tmp = t_5; elseif (y1 <= -1.05e+116) tmp = y2 * (y1 * ((k * y4) - (x * a))); elseif (y1 <= -5e-27) tmp = t_5; elseif (y1 <= -3.3e-71) tmp = y3 * ((y * t_7) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (y1 <= -1.35e-131) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4)))); elseif (y1 <= -7e-150) tmp = c * (y2 * ((x * y0) - (t * y4))); elseif (y1 <= -5.2e-203) tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_6) + (i * ((y * k) - (t * j))))); elseif (y1 <= 5.5e-232) tmp = t_2; elseif (y1 <= 1.06e-178) tmp = y0 * (((c * t_4) + (y5 * t_6)) + (b * ((z * k) - (x * j)))); elseif (y1 <= 1.3e-102) tmp = y * ((y3 * t_7) - (b * (k * y4))); elseif (y1 <= 4.2e-67) tmp = (x * y2) * t_3; elseif (y1 <= 1.45e+79) tmp = t_2; else tmp = 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[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y4 * t$95$1), $MachinePrecision] - N[(a * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -6.6e+227], t$95$5, If[LessEqual[y1, -1.05e+116], N[(y2 * N[(y1 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -5e-27], t$95$5, If[LessEqual[y1, -3.3e-71], N[(y3 * N[(N[(y * t$95$7), $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[y1, -1.35e-131], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -7e-150], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -5.2e-203], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * t$95$6), $MachinePrecision] + N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.5e-232], t$95$2, If[LessEqual[y1, 1.06e-178], N[(y0 * N[(N[(N[(c * t$95$4), $MachinePrecision] + N[(y5 * t$95$6), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.3e-102], N[(y * N[(N[(y3 * t$95$7), $MachinePrecision] - N[(b * N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.2e-67], N[(N[(x * y2), $MachinePrecision] * t$95$3), $MachinePrecision], If[LessEqual[y1, 1.45e+79], t$95$2, t$95$5]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot t\_1\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_3 := c \cdot y0 - a \cdot y1\\
t_4 := x \cdot y2 - z \cdot y3\\
t_5 := y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t\_1 - a \cdot t\_4\right)\right)\\
t_6 := j \cdot y3 - k \cdot y2\\
t_7 := c \cdot y4 - a \cdot y5\\
\mathbf{if}\;y1 \leq -6.6 \cdot 10^{+227}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y1 \leq -1.05 \cdot 10^{+116}:\\
\;\;\;\;y2 \cdot \left(y1 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\mathbf{elif}\;y1 \leq -5 \cdot 10^{-27}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y1 \leq -3.3 \cdot 10^{-71}:\\
\;\;\;\;y3 \cdot \left(y \cdot t\_7 + \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}\;y1 \leq -1.35 \cdot 10^{-131}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_3\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -7 \cdot 10^{-150}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -5.2 \cdot 10^{-203}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot t\_6 + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{elif}\;y1 \leq 5.5 \cdot 10^{-232}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y1 \leq 1.06 \cdot 10^{-178}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t\_4 + y5 \cdot t\_6\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 1.3 \cdot 10^{-102}:\\
\;\;\;\;y \cdot \left(y3 \cdot t\_7 - b \cdot \left(k \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 4.2 \cdot 10^{-67}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot t\_3\\
\mathbf{elif}\;y1 \leq 1.45 \cdot 10^{+79}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_5\\
\end{array}
\end{array}
if y1 < -6.5999999999999998e227 or -1.0500000000000001e116 < y1 < -5.0000000000000002e-27 or 1.44999999999999996e79 < y1 Initial program 25.8%
Taylor expanded in y1 around -inf 60.7%
associate-*r*60.7%
neg-mul-160.7%
+-commutative60.7%
mul-1-neg60.7%
unsub-neg60.7%
*-commutative60.7%
*-commutative60.7%
*-commutative60.7%
*-commutative60.7%
Simplified60.7%
if -6.5999999999999998e227 < y1 < -1.0500000000000001e116Initial program 10.8%
Taylor expanded in x around inf 26.8%
Taylor expanded in y2 around inf 48.2%
Taylor expanded in y1 around inf 53.9%
+-commutative53.9%
mul-1-neg53.9%
unsub-neg53.9%
Simplified53.9%
if -5.0000000000000002e-27 < y1 < -3.3000000000000002e-71Initial program 37.5%
Taylor expanded in y3 around -inf 87.3%
if -3.3000000000000002e-71 < y1 < -1.35000000000000011e-131Initial program 45.5%
Taylor expanded in y2 around inf 73.5%
if -1.35000000000000011e-131 < y1 < -6.9999999999999996e-150Initial program 0.0%
Taylor expanded in y2 around inf 66.7%
Taylor expanded in c around inf 99.7%
if -6.9999999999999996e-150 < y1 < -5.19999999999999951e-203Initial program 53.7%
Taylor expanded in y5 around -inf 69.6%
if -5.19999999999999951e-203 < y1 < 5.50000000000000023e-232 or 4.2000000000000003e-67 < y1 < 1.44999999999999996e79Initial program 40.5%
Taylor expanded in y4 around inf 57.6%
if 5.50000000000000023e-232 < y1 < 1.05999999999999999e-178Initial program 10.0%
Taylor expanded in y0 around inf 72.2%
+-commutative72.2%
mul-1-neg72.2%
unsub-neg72.2%
*-commutative72.2%
*-commutative72.2%
*-commutative72.2%
*-commutative72.2%
Simplified72.2%
if 1.05999999999999999e-178 < y1 < 1.29999999999999993e-102Initial program 46.6%
Taylor expanded in y4 around inf 47.6%
*-commutative47.6%
Simplified47.6%
Taylor expanded in y around -inf 77.3%
mul-1-neg77.3%
Simplified77.3%
if 1.29999999999999993e-102 < y1 < 4.2000000000000003e-67Initial program 28.6%
Taylor expanded in x around inf 71.4%
Taylor expanded in y2 around inf 58.5%
Taylor expanded in k around 0 58.5%
associate-*r*71.9%
*-commutative71.9%
Simplified71.9%
Final simplification63.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y0) (* a y1)))
(t_2 (- (* y1 y4) (* y0 y5)))
(t_3 (- (* x y2) (* z y3)))
(t_4 (- (* j y3) (* k y2)))
(t_5 (* y0 (+ (+ (* c t_3) (* y5 t_4)) (* b (- (* z k) (* x j))))))
(t_6 (- (* k y2) (* j y3)))
(t_7 (- (* a y5) (* c y4)))
(t_8
(+
(* t_6 t_2)
(*
t
(+
(+ (* j (- (* b y4) (* i y5))) (* z (- (* c i) (* a b))))
(* y2 t_7)))))
(t_9 (* i (- (* x j) (* z k))))
(t_10 (* y1 (* a (+ (* z y3) (- (/ (+ (* y4 t_6) t_9) a) (* x y2)))))))
(if (<= y0 -2.6e+194)
t_5
(if (<= y0 -9.5e+121)
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* y0 t_4) (* i (- (* y k) (* t j))))))
(if (<= y0 -9e+81)
t_8
(if (<= y0 -7.8e+59)
t_5
(if (<= y0 -1.8e-8)
t_10
(if (<= y0 -4.6e-26)
t_8
(if (<= y0 -3.3e-170)
(* y2 (+ (+ (* k t_2) (* x t_1)) (* t t_7)))
(if (<= y0 -1.1e-291)
(*
y1
(*
y4
(-
(+ (* k y2) (/ t_9 y4))
(+ (* j y3) (/ (* a t_3) y4)))))
(if (<= y0 5.6e-282)
(* y5 (* y3 (* a (- (* y2 (/ t y3)) y))))
(if (<= y0 1.8e-235)
(* (* x y2) t_1)
(if (<= y0 8.5e+56)
t_10
(if (<= y0 9.2e+164)
(* b (* y4 (- (* t j) (* y k))))
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 = (c * y0) - (a * y1);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = (x * y2) - (z * y3);
double t_4 = (j * y3) - (k * y2);
double t_5 = y0 * (((c * t_3) + (y5 * t_4)) + (b * ((z * k) - (x * j))));
double t_6 = (k * y2) - (j * y3);
double t_7 = (a * y5) - (c * y4);
double t_8 = (t_6 * t_2) + (t * (((j * ((b * y4) - (i * y5))) + (z * ((c * i) - (a * b)))) + (y2 * t_7)));
double t_9 = i * ((x * j) - (z * k));
double t_10 = y1 * (a * ((z * y3) + ((((y4 * t_6) + t_9) / a) - (x * y2))));
double tmp;
if (y0 <= -2.6e+194) {
tmp = t_5;
} else if (y0 <= -9.5e+121) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_4) + (i * ((y * k) - (t * j)))));
} else if (y0 <= -9e+81) {
tmp = t_8;
} else if (y0 <= -7.8e+59) {
tmp = t_5;
} else if (y0 <= -1.8e-8) {
tmp = t_10;
} else if (y0 <= -4.6e-26) {
tmp = t_8;
} else if (y0 <= -3.3e-170) {
tmp = y2 * (((k * t_2) + (x * t_1)) + (t * t_7));
} else if (y0 <= -1.1e-291) {
tmp = y1 * (y4 * (((k * y2) + (t_9 / y4)) - ((j * y3) + ((a * t_3) / y4))));
} else if (y0 <= 5.6e-282) {
tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y)));
} else if (y0 <= 1.8e-235) {
tmp = (x * y2) * t_1;
} else if (y0 <= 8.5e+56) {
tmp = t_10;
} else if (y0 <= 9.2e+164) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = 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_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 = (c * y0) - (a * y1)
t_2 = (y1 * y4) - (y0 * y5)
t_3 = (x * y2) - (z * y3)
t_4 = (j * y3) - (k * y2)
t_5 = y0 * (((c * t_3) + (y5 * t_4)) + (b * ((z * k) - (x * j))))
t_6 = (k * y2) - (j * y3)
t_7 = (a * y5) - (c * y4)
t_8 = (t_6 * t_2) + (t * (((j * ((b * y4) - (i * y5))) + (z * ((c * i) - (a * b)))) + (y2 * t_7)))
t_9 = i * ((x * j) - (z * k))
t_10 = y1 * (a * ((z * y3) + ((((y4 * t_6) + t_9) / a) - (x * y2))))
if (y0 <= (-2.6d+194)) then
tmp = t_5
else if (y0 <= (-9.5d+121)) then
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_4) + (i * ((y * k) - (t * j)))))
else if (y0 <= (-9d+81)) then
tmp = t_8
else if (y0 <= (-7.8d+59)) then
tmp = t_5
else if (y0 <= (-1.8d-8)) then
tmp = t_10
else if (y0 <= (-4.6d-26)) then
tmp = t_8
else if (y0 <= (-3.3d-170)) then
tmp = y2 * (((k * t_2) + (x * t_1)) + (t * t_7))
else if (y0 <= (-1.1d-291)) then
tmp = y1 * (y4 * (((k * y2) + (t_9 / y4)) - ((j * y3) + ((a * t_3) / y4))))
else if (y0 <= 5.6d-282) then
tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y)))
else if (y0 <= 1.8d-235) then
tmp = (x * y2) * t_1
else if (y0 <= 8.5d+56) then
tmp = t_10
else if (y0 <= 9.2d+164) then
tmp = b * (y4 * ((t * j) - (y * k)))
else
tmp = 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 = (c * y0) - (a * y1);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = (x * y2) - (z * y3);
double t_4 = (j * y3) - (k * y2);
double t_5 = y0 * (((c * t_3) + (y5 * t_4)) + (b * ((z * k) - (x * j))));
double t_6 = (k * y2) - (j * y3);
double t_7 = (a * y5) - (c * y4);
double t_8 = (t_6 * t_2) + (t * (((j * ((b * y4) - (i * y5))) + (z * ((c * i) - (a * b)))) + (y2 * t_7)));
double t_9 = i * ((x * j) - (z * k));
double t_10 = y1 * (a * ((z * y3) + ((((y4 * t_6) + t_9) / a) - (x * y2))));
double tmp;
if (y0 <= -2.6e+194) {
tmp = t_5;
} else if (y0 <= -9.5e+121) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_4) + (i * ((y * k) - (t * j)))));
} else if (y0 <= -9e+81) {
tmp = t_8;
} else if (y0 <= -7.8e+59) {
tmp = t_5;
} else if (y0 <= -1.8e-8) {
tmp = t_10;
} else if (y0 <= -4.6e-26) {
tmp = t_8;
} else if (y0 <= -3.3e-170) {
tmp = y2 * (((k * t_2) + (x * t_1)) + (t * t_7));
} else if (y0 <= -1.1e-291) {
tmp = y1 * (y4 * (((k * y2) + (t_9 / y4)) - ((j * y3) + ((a * t_3) / y4))));
} else if (y0 <= 5.6e-282) {
tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y)));
} else if (y0 <= 1.8e-235) {
tmp = (x * y2) * t_1;
} else if (y0 <= 8.5e+56) {
tmp = t_10;
} else if (y0 <= 9.2e+164) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = t_5;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (c * y0) - (a * y1) t_2 = (y1 * y4) - (y0 * y5) t_3 = (x * y2) - (z * y3) t_4 = (j * y3) - (k * y2) t_5 = y0 * (((c * t_3) + (y5 * t_4)) + (b * ((z * k) - (x * j)))) t_6 = (k * y2) - (j * y3) t_7 = (a * y5) - (c * y4) t_8 = (t_6 * t_2) + (t * (((j * ((b * y4) - (i * y5))) + (z * ((c * i) - (a * b)))) + (y2 * t_7))) t_9 = i * ((x * j) - (z * k)) t_10 = y1 * (a * ((z * y3) + ((((y4 * t_6) + t_9) / a) - (x * y2)))) tmp = 0 if y0 <= -2.6e+194: tmp = t_5 elif y0 <= -9.5e+121: tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_4) + (i * ((y * k) - (t * j))))) elif y0 <= -9e+81: tmp = t_8 elif y0 <= -7.8e+59: tmp = t_5 elif y0 <= -1.8e-8: tmp = t_10 elif y0 <= -4.6e-26: tmp = t_8 elif y0 <= -3.3e-170: tmp = y2 * (((k * t_2) + (x * t_1)) + (t * t_7)) elif y0 <= -1.1e-291: tmp = y1 * (y4 * (((k * y2) + (t_9 / y4)) - ((j * y3) + ((a * t_3) / y4)))) elif y0 <= 5.6e-282: tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y))) elif y0 <= 1.8e-235: tmp = (x * y2) * t_1 elif y0 <= 8.5e+56: tmp = t_10 elif y0 <= 9.2e+164: tmp = b * (y4 * ((t * j) - (y * k))) else: tmp = 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(c * y0) - Float64(a * y1)) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_3 = Float64(Float64(x * y2) - Float64(z * y3)) t_4 = Float64(Float64(j * y3) - Float64(k * y2)) t_5 = Float64(y0 * Float64(Float64(Float64(c * t_3) + Float64(y5 * t_4)) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))) t_6 = Float64(Float64(k * y2) - Float64(j * y3)) t_7 = Float64(Float64(a * y5) - Float64(c * y4)) t_8 = Float64(Float64(t_6 * t_2) + Float64(t * Float64(Float64(Float64(j * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(z * Float64(Float64(c * i) - Float64(a * b)))) + Float64(y2 * t_7)))) t_9 = Float64(i * Float64(Float64(x * j) - Float64(z * k))) t_10 = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(Float64(Float64(y4 * t_6) + t_9) / a) - Float64(x * y2))))) tmp = 0.0 if (y0 <= -2.6e+194) tmp = t_5; elseif (y0 <= -9.5e+121) tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y0 * t_4) + Float64(i * Float64(Float64(y * k) - Float64(t * j)))))); elseif (y0 <= -9e+81) tmp = t_8; elseif (y0 <= -7.8e+59) tmp = t_5; elseif (y0 <= -1.8e-8) tmp = t_10; elseif (y0 <= -4.6e-26) tmp = t_8; elseif (y0 <= -3.3e-170) tmp = Float64(y2 * Float64(Float64(Float64(k * t_2) + Float64(x * t_1)) + Float64(t * t_7))); elseif (y0 <= -1.1e-291) tmp = Float64(y1 * Float64(y4 * Float64(Float64(Float64(k * y2) + Float64(t_9 / y4)) - Float64(Float64(j * y3) + Float64(Float64(a * t_3) / y4))))); elseif (y0 <= 5.6e-282) tmp = Float64(y5 * Float64(y3 * Float64(a * Float64(Float64(y2 * Float64(t / y3)) - y)))); elseif (y0 <= 1.8e-235) tmp = Float64(Float64(x * y2) * t_1); elseif (y0 <= 8.5e+56) tmp = t_10; elseif (y0 <= 9.2e+164) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); else tmp = 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 = (c * y0) - (a * y1); t_2 = (y1 * y4) - (y0 * y5); t_3 = (x * y2) - (z * y3); t_4 = (j * y3) - (k * y2); t_5 = y0 * (((c * t_3) + (y5 * t_4)) + (b * ((z * k) - (x * j)))); t_6 = (k * y2) - (j * y3); t_7 = (a * y5) - (c * y4); t_8 = (t_6 * t_2) + (t * (((j * ((b * y4) - (i * y5))) + (z * ((c * i) - (a * b)))) + (y2 * t_7))); t_9 = i * ((x * j) - (z * k)); t_10 = y1 * (a * ((z * y3) + ((((y4 * t_6) + t_9) / a) - (x * y2)))); tmp = 0.0; if (y0 <= -2.6e+194) tmp = t_5; elseif (y0 <= -9.5e+121) tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_4) + (i * ((y * k) - (t * j))))); elseif (y0 <= -9e+81) tmp = t_8; elseif (y0 <= -7.8e+59) tmp = t_5; elseif (y0 <= -1.8e-8) tmp = t_10; elseif (y0 <= -4.6e-26) tmp = t_8; elseif (y0 <= -3.3e-170) tmp = y2 * (((k * t_2) + (x * t_1)) + (t * t_7)); elseif (y0 <= -1.1e-291) tmp = y1 * (y4 * (((k * y2) + (t_9 / y4)) - ((j * y3) + ((a * t_3) / y4)))); elseif (y0 <= 5.6e-282) tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y))); elseif (y0 <= 1.8e-235) tmp = (x * y2) * t_1; elseif (y0 <= 8.5e+56) tmp = t_10; elseif (y0 <= 9.2e+164) tmp = b * (y4 * ((t * j) - (y * k))); else tmp = 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[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y0 * N[(N[(N[(c * t$95$3), $MachinePrecision] + N[(y5 * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(t$95$6 * t$95$2), $MachinePrecision] + N[(t * N[(N[(N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(N[(N[(y4 * t$95$6), $MachinePrecision] + t$95$9), $MachinePrecision] / a), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.6e+194], t$95$5, If[LessEqual[y0, -9.5e+121], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * t$95$4), $MachinePrecision] + N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -9e+81], t$95$8, If[LessEqual[y0, -7.8e+59], t$95$5, If[LessEqual[y0, -1.8e-8], t$95$10, If[LessEqual[y0, -4.6e-26], t$95$8, If[LessEqual[y0, -3.3e-170], N[(y2 * N[(N[(N[(k * t$95$2), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.1e-291], N[(y1 * N[(y4 * N[(N[(N[(k * y2), $MachinePrecision] + N[(t$95$9 / y4), $MachinePrecision]), $MachinePrecision] - N[(N[(j * y3), $MachinePrecision] + N[(N[(a * t$95$3), $MachinePrecision] / y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.6e-282], N[(y5 * N[(y3 * N[(a * N[(N[(y2 * N[(t / y3), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.8e-235], N[(N[(x * y2), $MachinePrecision] * t$95$1), $MachinePrecision], If[LessEqual[y0, 8.5e+56], t$95$10, If[LessEqual[y0, 9.2e+164], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$5]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y0 - a \cdot y1\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := x \cdot y2 - z \cdot y3\\
t_4 := j \cdot y3 - k \cdot y2\\
t_5 := y0 \cdot \left(\left(c \cdot t\_3 + y5 \cdot t\_4\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_6 := k \cdot y2 - j \cdot y3\\
t_7 := a \cdot y5 - c \cdot y4\\
t_8 := t\_6 \cdot t\_2 + t \cdot \left(\left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + z \cdot \left(c \cdot i - a \cdot b\right)\right) + y2 \cdot t\_7\right)\\
t_9 := i \cdot \left(x \cdot j - z \cdot k\right)\\
t_10 := y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(\frac{y4 \cdot t\_6 + t\_9}{a} - x \cdot y2\right)\right)\right)\\
\mathbf{if}\;y0 \leq -2.6 \cdot 10^{+194}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y0 \leq -9.5 \cdot 10^{+121}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot t\_4 + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{elif}\;y0 \leq -9 \cdot 10^{+81}:\\
\;\;\;\;t\_8\\
\mathbf{elif}\;y0 \leq -7.8 \cdot 10^{+59}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y0 \leq -1.8 \cdot 10^{-8}:\\
\;\;\;\;t\_10\\
\mathbf{elif}\;y0 \leq -4.6 \cdot 10^{-26}:\\
\;\;\;\;t\_8\\
\mathbf{elif}\;y0 \leq -3.3 \cdot 10^{-170}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t\_2 + x \cdot t\_1\right) + t \cdot t\_7\right)\\
\mathbf{elif}\;y0 \leq -1.1 \cdot 10^{-291}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(\left(k \cdot y2 + \frac{t\_9}{y4}\right) - \left(j \cdot y3 + \frac{a \cdot t\_3}{y4}\right)\right)\right)\\
\mathbf{elif}\;y0 \leq 5.6 \cdot 10^{-282}:\\
\;\;\;\;y5 \cdot \left(y3 \cdot \left(a \cdot \left(y2 \cdot \frac{t}{y3} - y\right)\right)\right)\\
\mathbf{elif}\;y0 \leq 1.8 \cdot 10^{-235}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot t\_1\\
\mathbf{elif}\;y0 \leq 8.5 \cdot 10^{+56}:\\
\;\;\;\;t\_10\\
\mathbf{elif}\;y0 \leq 9.2 \cdot 10^{+164}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_5\\
\end{array}
\end{array}
if y0 < -2.5999999999999999e194 or -9.00000000000000034e81 < y0 < -7.80000000000000043e59 or 9.1999999999999998e164 < y0 Initial program 25.4%
Taylor expanded in y0 around inf 64.3%
+-commutative64.3%
mul-1-neg64.3%
unsub-neg64.3%
*-commutative64.3%
*-commutative64.3%
*-commutative64.3%
*-commutative64.3%
Simplified64.3%
if -2.5999999999999999e194 < y0 < -9.49999999999999949e121Initial program 16.8%
Taylor expanded in y5 around -inf 72.2%
if -9.49999999999999949e121 < y0 < -9.00000000000000034e81 or -1.79999999999999991e-8 < y0 < -4.60000000000000018e-26Initial program 35.7%
Taylor expanded in t around inf 78.3%
+-commutative78.3%
mul-1-neg78.3%
unsub-neg78.3%
*-commutative78.3%
*-commutative78.3%
Simplified78.3%
if -7.80000000000000043e59 < y0 < -1.79999999999999991e-8 or 1.79999999999999999e-235 < y0 < 8.4999999999999998e56Initial program 31.1%
Taylor expanded in y1 around -inf 58.5%
associate-*r*58.5%
neg-mul-158.5%
+-commutative58.5%
mul-1-neg58.5%
unsub-neg58.5%
*-commutative58.5%
*-commutative58.5%
*-commutative58.5%
*-commutative58.5%
Simplified58.5%
Taylor expanded in a around inf 62.8%
if -4.60000000000000018e-26 < y0 < -3.30000000000000004e-170Initial program 37.5%
Taylor expanded in y2 around inf 66.2%
if -3.30000000000000004e-170 < y0 < -1.10000000000000001e-291Initial program 50.1%
Taylor expanded in y1 around -inf 41.8%
associate-*r*41.8%
neg-mul-141.8%
+-commutative41.8%
mul-1-neg41.8%
unsub-neg41.8%
*-commutative41.8%
*-commutative41.8%
*-commutative41.8%
*-commutative41.8%
Simplified41.8%
Taylor expanded in y4 around inf 46.3%
if -1.10000000000000001e-291 < y0 < 5.5999999999999998e-282Initial program 57.1%
Taylor expanded in y4 around inf 58.4%
*-commutative58.4%
Simplified58.4%
Taylor expanded in a around inf 58.1%
Taylor expanded in y3 around inf 44.7%
+-commutative44.7%
mul-1-neg44.7%
unsub-neg44.7%
associate-/l*44.7%
associate-/l*59.0%
Simplified59.0%
Taylor expanded in y5 around 0 44.7%
*-commutative44.7%
associate-*l*58.1%
associate-/l*58.1%
distribute-lft-out--58.1%
*-commutative58.1%
associate-/l*86.5%
Simplified86.5%
if 5.5999999999999998e-282 < y0 < 1.79999999999999999e-235Initial program 27.9%
Taylor expanded in x around inf 56.1%
Taylor expanded in y2 around inf 57.0%
Taylor expanded in k around 0 47.8%
associate-*r*73.5%
*-commutative73.5%
Simplified73.5%
if 8.4999999999999998e56 < y0 < 9.1999999999999998e164Initial program 19.9%
Taylor expanded in y4 around inf 45.0%
*-commutative45.0%
Simplified45.0%
Taylor expanded in b around inf 75.5%
Final simplification65.8%
(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 (- (* a y5) (* c y4)))
(t_3 (* a (- (* x y2) (* z y3))))
(t_4 (* i (- (* x j) (* z k))))
(t_5 (- (* c y4) (* a y5)))
(t_6 (* y3 t_5))
(t_7 (- (* y y3) (* t y2)))
(t_8 (* y4 t_1))
(t_9 (- (* y1 y4) (* y0 y5)))
(t_10 (* y2 (+ (+ (* k t_9) (* x (- (* c y0) (* a y1)))) (* t t_2)))))
(if (<= y3 -2.7e+196)
(*
y3
(+
(* y t_5)
(+ (* z (- (* a y1) (* c y0))) (* j (- (* y0 y5) (* y1 y4))))))
(if (<= y3 -4.5e+136)
(* y5 (- (* y0 (- (* j y3) (* k y2))) (* a t_7)))
(if (<= y3 -1.86e+90)
(* y (- t_6 (* b (* k y4))))
(if (<= y3 -6.3e-201)
(* y1 (* a (+ (* z y3) (- (/ (+ t_8 t_4) a) (* x y2)))))
(if (<= y3 -1.82e-292)
t_10
(if (<= y3 3.8e-253)
(* y4 (+ (+ (* b (- (* t j) (* y k))) (* y1 t_1)) (* c t_7)))
(if (<= y3 2.25e-234)
t_10
(if (<= y3 2.9e-163)
(+
(* t_1 t_9)
(*
y
(+
t_6
(+
(* x (- (* a b) (* c i)))
(* k (- (* i y5) (* b y4)))))))
(if (<= y3 1.05e-76)
(*
y1
(*
y4
(- (+ (* k y2) (/ t_4 y4)) (+ (* j y3) (/ t_3 y4)))))
(if (<= y3 8.6e-14)
(* t (+ (* y4 (* b j)) (* y2 t_2)))
(if (<= y3 5.8e+143)
(* y1 (+ t_4 (- t_8 t_3)))
(* y1 (* y3 (- (* z a) (* j 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 t_1 = (k * y2) - (j * y3);
double t_2 = (a * y5) - (c * y4);
double t_3 = a * ((x * y2) - (z * y3));
double t_4 = i * ((x * j) - (z * k));
double t_5 = (c * y4) - (a * y5);
double t_6 = y3 * t_5;
double t_7 = (y * y3) - (t * y2);
double t_8 = y4 * t_1;
double t_9 = (y1 * y4) - (y0 * y5);
double t_10 = y2 * (((k * t_9) + (x * ((c * y0) - (a * y1)))) + (t * t_2));
double tmp;
if (y3 <= -2.7e+196) {
tmp = y3 * ((y * t_5) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y3 <= -4.5e+136) {
tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_7));
} else if (y3 <= -1.86e+90) {
tmp = y * (t_6 - (b * (k * y4)));
} else if (y3 <= -6.3e-201) {
tmp = y1 * (a * ((z * y3) + (((t_8 + t_4) / a) - (x * y2))));
} else if (y3 <= -1.82e-292) {
tmp = t_10;
} else if (y3 <= 3.8e-253) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_1)) + (c * t_7));
} else if (y3 <= 2.25e-234) {
tmp = t_10;
} else if (y3 <= 2.9e-163) {
tmp = (t_1 * t_9) + (y * (t_6 + ((x * ((a * b) - (c * i))) + (k * ((i * y5) - (b * y4))))));
} else if (y3 <= 1.05e-76) {
tmp = y1 * (y4 * (((k * y2) + (t_4 / y4)) - ((j * y3) + (t_3 / y4))));
} else if (y3 <= 8.6e-14) {
tmp = t * ((y4 * (b * j)) + (y2 * t_2));
} else if (y3 <= 5.8e+143) {
tmp = y1 * (t_4 + (t_8 - t_3));
} else {
tmp = y1 * (y3 * ((z * a) - (j * 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) :: 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 = (a * y5) - (c * y4)
t_3 = a * ((x * y2) - (z * y3))
t_4 = i * ((x * j) - (z * k))
t_5 = (c * y4) - (a * y5)
t_6 = y3 * t_5
t_7 = (y * y3) - (t * y2)
t_8 = y4 * t_1
t_9 = (y1 * y4) - (y0 * y5)
t_10 = y2 * (((k * t_9) + (x * ((c * y0) - (a * y1)))) + (t * t_2))
if (y3 <= (-2.7d+196)) then
tmp = y3 * ((y * t_5) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (y3 <= (-4.5d+136)) then
tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_7))
else if (y3 <= (-1.86d+90)) then
tmp = y * (t_6 - (b * (k * y4)))
else if (y3 <= (-6.3d-201)) then
tmp = y1 * (a * ((z * y3) + (((t_8 + t_4) / a) - (x * y2))))
else if (y3 <= (-1.82d-292)) then
tmp = t_10
else if (y3 <= 3.8d-253) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_1)) + (c * t_7))
else if (y3 <= 2.25d-234) then
tmp = t_10
else if (y3 <= 2.9d-163) then
tmp = (t_1 * t_9) + (y * (t_6 + ((x * ((a * b) - (c * i))) + (k * ((i * y5) - (b * y4))))))
else if (y3 <= 1.05d-76) then
tmp = y1 * (y4 * (((k * y2) + (t_4 / y4)) - ((j * y3) + (t_3 / y4))))
else if (y3 <= 8.6d-14) then
tmp = t * ((y4 * (b * j)) + (y2 * t_2))
else if (y3 <= 5.8d+143) then
tmp = y1 * (t_4 + (t_8 - t_3))
else
tmp = y1 * (y3 * ((z * a) - (j * 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 t_1 = (k * y2) - (j * y3);
double t_2 = (a * y5) - (c * y4);
double t_3 = a * ((x * y2) - (z * y3));
double t_4 = i * ((x * j) - (z * k));
double t_5 = (c * y4) - (a * y5);
double t_6 = y3 * t_5;
double t_7 = (y * y3) - (t * y2);
double t_8 = y4 * t_1;
double t_9 = (y1 * y4) - (y0 * y5);
double t_10 = y2 * (((k * t_9) + (x * ((c * y0) - (a * y1)))) + (t * t_2));
double tmp;
if (y3 <= -2.7e+196) {
tmp = y3 * ((y * t_5) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y3 <= -4.5e+136) {
tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_7));
} else if (y3 <= -1.86e+90) {
tmp = y * (t_6 - (b * (k * y4)));
} else if (y3 <= -6.3e-201) {
tmp = y1 * (a * ((z * y3) + (((t_8 + t_4) / a) - (x * y2))));
} else if (y3 <= -1.82e-292) {
tmp = t_10;
} else if (y3 <= 3.8e-253) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_1)) + (c * t_7));
} else if (y3 <= 2.25e-234) {
tmp = t_10;
} else if (y3 <= 2.9e-163) {
tmp = (t_1 * t_9) + (y * (t_6 + ((x * ((a * b) - (c * i))) + (k * ((i * y5) - (b * y4))))));
} else if (y3 <= 1.05e-76) {
tmp = y1 * (y4 * (((k * y2) + (t_4 / y4)) - ((j * y3) + (t_3 / y4))));
} else if (y3 <= 8.6e-14) {
tmp = t * ((y4 * (b * j)) + (y2 * t_2));
} else if (y3 <= 5.8e+143) {
tmp = y1 * (t_4 + (t_8 - t_3));
} else {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
}
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 = (a * y5) - (c * y4) t_3 = a * ((x * y2) - (z * y3)) t_4 = i * ((x * j) - (z * k)) t_5 = (c * y4) - (a * y5) t_6 = y3 * t_5 t_7 = (y * y3) - (t * y2) t_8 = y4 * t_1 t_9 = (y1 * y4) - (y0 * y5) t_10 = y2 * (((k * t_9) + (x * ((c * y0) - (a * y1)))) + (t * t_2)) tmp = 0 if y3 <= -2.7e+196: tmp = y3 * ((y * t_5) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif y3 <= -4.5e+136: tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_7)) elif y3 <= -1.86e+90: tmp = y * (t_6 - (b * (k * y4))) elif y3 <= -6.3e-201: tmp = y1 * (a * ((z * y3) + (((t_8 + t_4) / a) - (x * y2)))) elif y3 <= -1.82e-292: tmp = t_10 elif y3 <= 3.8e-253: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_1)) + (c * t_7)) elif y3 <= 2.25e-234: tmp = t_10 elif y3 <= 2.9e-163: tmp = (t_1 * t_9) + (y * (t_6 + ((x * ((a * b) - (c * i))) + (k * ((i * y5) - (b * y4)))))) elif y3 <= 1.05e-76: tmp = y1 * (y4 * (((k * y2) + (t_4 / y4)) - ((j * y3) + (t_3 / y4)))) elif y3 <= 8.6e-14: tmp = t * ((y4 * (b * j)) + (y2 * t_2)) elif y3 <= 5.8e+143: tmp = y1 * (t_4 + (t_8 - t_3)) else: tmp = y1 * (y3 * ((z * a) - (j * y4))) 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(a * y5) - Float64(c * y4)) t_3 = Float64(a * Float64(Float64(x * y2) - Float64(z * y3))) t_4 = Float64(i * Float64(Float64(x * j) - Float64(z * k))) t_5 = Float64(Float64(c * y4) - Float64(a * y5)) t_6 = Float64(y3 * t_5) t_7 = Float64(Float64(y * y3) - Float64(t * y2)) t_8 = Float64(y4 * t_1) t_9 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_10 = Float64(y2 * Float64(Float64(Float64(k * t_9) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * t_2))) tmp = 0.0 if (y3 <= -2.7e+196) tmp = Float64(y3 * Float64(Float64(y * t_5) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))))); elseif (y3 <= -4.5e+136) tmp = Float64(y5 * Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) - Float64(a * t_7))); elseif (y3 <= -1.86e+90) tmp = Float64(y * Float64(t_6 - Float64(b * Float64(k * y4)))); elseif (y3 <= -6.3e-201) tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(Float64(t_8 + t_4) / a) - Float64(x * y2))))); elseif (y3 <= -1.82e-292) tmp = t_10; elseif (y3 <= 3.8e-253) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * t_1)) + Float64(c * t_7))); elseif (y3 <= 2.25e-234) tmp = t_10; elseif (y3 <= 2.9e-163) tmp = Float64(Float64(t_1 * t_9) + Float64(y * Float64(t_6 + Float64(Float64(x * Float64(Float64(a * b) - Float64(c * i))) + Float64(k * Float64(Float64(i * y5) - Float64(b * y4))))))); elseif (y3 <= 1.05e-76) tmp = Float64(y1 * Float64(y4 * Float64(Float64(Float64(k * y2) + Float64(t_4 / y4)) - Float64(Float64(j * y3) + Float64(t_3 / y4))))); elseif (y3 <= 8.6e-14) tmp = Float64(t * Float64(Float64(y4 * Float64(b * j)) + Float64(y2 * t_2))); elseif (y3 <= 5.8e+143) tmp = Float64(y1 * Float64(t_4 + Float64(t_8 - t_3))); else tmp = Float64(y1 * Float64(y3 * Float64(Float64(z * a) - Float64(j * 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) t_1 = (k * y2) - (j * y3); t_2 = (a * y5) - (c * y4); t_3 = a * ((x * y2) - (z * y3)); t_4 = i * ((x * j) - (z * k)); t_5 = (c * y4) - (a * y5); t_6 = y3 * t_5; t_7 = (y * y3) - (t * y2); t_8 = y4 * t_1; t_9 = (y1 * y4) - (y0 * y5); t_10 = y2 * (((k * t_9) + (x * ((c * y0) - (a * y1)))) + (t * t_2)); tmp = 0.0; if (y3 <= -2.7e+196) tmp = y3 * ((y * t_5) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (y3 <= -4.5e+136) tmp = y5 * ((y0 * ((j * y3) - (k * y2))) - (a * t_7)); elseif (y3 <= -1.86e+90) tmp = y * (t_6 - (b * (k * y4))); elseif (y3 <= -6.3e-201) tmp = y1 * (a * ((z * y3) + (((t_8 + t_4) / a) - (x * y2)))); elseif (y3 <= -1.82e-292) tmp = t_10; elseif (y3 <= 3.8e-253) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_1)) + (c * t_7)); elseif (y3 <= 2.25e-234) tmp = t_10; elseif (y3 <= 2.9e-163) tmp = (t_1 * t_9) + (y * (t_6 + ((x * ((a * b) - (c * i))) + (k * ((i * y5) - (b * y4)))))); elseif (y3 <= 1.05e-76) tmp = y1 * (y4 * (((k * y2) + (t_4 / y4)) - ((j * y3) + (t_3 / y4)))); elseif (y3 <= 8.6e-14) tmp = t * ((y4 * (b * j)) + (y2 * t_2)); elseif (y3 <= 5.8e+143) tmp = y1 * (t_4 + (t_8 - t_3)); else tmp = y1 * (y3 * ((z * a) - (j * y4))); 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[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y3 * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(y4 * t$95$1), $MachinePrecision]}, Block[{t$95$9 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(y2 * N[(N[(N[(k * t$95$9), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -2.7e+196], N[(y3 * N[(N[(y * t$95$5), $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, -4.5e+136], N[(y5 * N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.86e+90], N[(y * N[(t$95$6 - N[(b * N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -6.3e-201], N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(N[(t$95$8 + t$95$4), $MachinePrecision] / a), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.82e-292], t$95$10, If[LessEqual[y3, 3.8e-253], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.25e-234], t$95$10, If[LessEqual[y3, 2.9e-163], N[(N[(t$95$1 * t$95$9), $MachinePrecision] + N[(y * N[(t$95$6 + N[(N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.05e-76], N[(y1 * N[(y4 * N[(N[(N[(k * y2), $MachinePrecision] + N[(t$95$4 / y4), $MachinePrecision]), $MachinePrecision] - N[(N[(j * y3), $MachinePrecision] + N[(t$95$3 / y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8.6e-14], N[(t * N[(N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 5.8e+143], N[(y1 * N[(t$95$4 + N[(t$95$8 - t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y3 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := a \cdot y5 - c \cdot y4\\
t_3 := a \cdot \left(x \cdot y2 - z \cdot y3\right)\\
t_4 := i \cdot \left(x \cdot j - z \cdot k\right)\\
t_5 := c \cdot y4 - a \cdot y5\\
t_6 := y3 \cdot t\_5\\
t_7 := y \cdot y3 - t \cdot y2\\
t_8 := y4 \cdot t\_1\\
t_9 := y1 \cdot y4 - y0 \cdot y5\\
t_10 := y2 \cdot \left(\left(k \cdot t\_9 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot t\_2\right)\\
\mathbf{if}\;y3 \leq -2.7 \cdot 10^{+196}:\\
\;\;\;\;y3 \cdot \left(y \cdot t\_5 + \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 -4.5 \cdot 10^{+136}:\\
\;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - a \cdot t\_7\right)\\
\mathbf{elif}\;y3 \leq -1.86 \cdot 10^{+90}:\\
\;\;\;\;y \cdot \left(t\_6 - b \cdot \left(k \cdot y4\right)\right)\\
\mathbf{elif}\;y3 \leq -6.3 \cdot 10^{-201}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(\frac{t\_8 + t\_4}{a} - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;y3 \leq -1.82 \cdot 10^{-292}:\\
\;\;\;\;t\_10\\
\mathbf{elif}\;y3 \leq 3.8 \cdot 10^{-253}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot t\_1\right) + c \cdot t\_7\right)\\
\mathbf{elif}\;y3 \leq 2.25 \cdot 10^{-234}:\\
\;\;\;\;t\_10\\
\mathbf{elif}\;y3 \leq 2.9 \cdot 10^{-163}:\\
\;\;\;\;t\_1 \cdot t\_9 + y \cdot \left(t\_6 + \left(x \cdot \left(a \cdot b - c \cdot i\right) + k \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 1.05 \cdot 10^{-76}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(\left(k \cdot y2 + \frac{t\_4}{y4}\right) - \left(j \cdot y3 + \frac{t\_3}{y4}\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 8.6 \cdot 10^{-14}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right) + y2 \cdot t\_2\right)\\
\mathbf{elif}\;y3 \leq 5.8 \cdot 10^{+143}:\\
\;\;\;\;y1 \cdot \left(t\_4 + \left(t\_8 - t\_3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y3 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\end{array}
\end{array}
if y3 < -2.69999999999999995e196Initial program 19.0%
Taylor expanded in y3 around -inf 72.0%
if -2.69999999999999995e196 < y3 < -4.4999999999999999e136Initial program 25.0%
Taylor expanded in y4 around inf 62.9%
*-commutative62.9%
Simplified62.9%
Taylor expanded in y5 around -inf 76.0%
mul-1-neg76.0%
Simplified76.0%
if -4.4999999999999999e136 < y3 < -1.8600000000000001e90Initial program 20.9%
Taylor expanded in y4 around inf 20.9%
*-commutative20.9%
Simplified20.9%
Taylor expanded in y around -inf 99.7%
mul-1-neg99.7%
Simplified99.7%
if -1.8600000000000001e90 < y3 < -6.3e-201Initial program 45.5%
Taylor expanded in y1 around -inf 54.3%
associate-*r*54.3%
neg-mul-154.3%
+-commutative54.3%
mul-1-neg54.3%
unsub-neg54.3%
*-commutative54.3%
*-commutative54.3%
*-commutative54.3%
*-commutative54.3%
Simplified54.3%
Taylor expanded in a around inf 54.4%
if -6.3e-201 < y3 < -1.81999999999999992e-292 or 3.80000000000000012e-253 < y3 < 2.25000000000000005e-234Initial program 35.0%
Taylor expanded in y2 around inf 70.6%
if -1.81999999999999992e-292 < y3 < 3.80000000000000012e-253Initial program 12.1%
Taylor expanded in y4 around inf 70.1%
if 2.25000000000000005e-234 < y3 < 2.9000000000000001e-163Initial program 50.2%
Taylor expanded in y around inf 72.2%
+-commutative72.2%
mul-1-neg72.2%
unsub-neg72.2%
*-commutative72.2%
*-commutative72.2%
mul-1-neg72.2%
Simplified72.2%
if 2.9000000000000001e-163 < y3 < 1.04999999999999996e-76Initial program 27.7%
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 y4 around inf 59.7%
if 1.04999999999999996e-76 < y3 < 8.59999999999999996e-14Initial program 28.6%
Taylor expanded in y4 around inf 29.3%
*-commutative29.3%
Simplified29.3%
Taylor expanded in t around inf 86.4%
associate-*r*86.4%
Simplified86.4%
if 8.59999999999999996e-14 < y3 < 5.7999999999999996e143Initial program 27.9%
Taylor expanded in y1 around -inf 59.1%
associate-*r*59.1%
neg-mul-159.1%
+-commutative59.1%
mul-1-neg59.1%
unsub-neg59.1%
*-commutative59.1%
*-commutative59.1%
*-commutative59.1%
*-commutative59.1%
Simplified59.1%
if 5.7999999999999996e143 < y3 Initial program 23.8%
Taylor expanded in y1 around -inf 40.8%
associate-*r*40.8%
neg-mul-140.8%
+-commutative40.8%
mul-1-neg40.8%
unsub-neg40.8%
*-commutative40.8%
*-commutative40.8%
*-commutative40.8%
*-commutative40.8%
Simplified40.8%
Taylor expanded in y3 around -inf 59.9%
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 (* y (- (* y3 (- (* c y4) (* a y5))) (* b (* k y4)))))
(t_2 (- (* c y0) (* a y1)))
(t_3 (- (* x j) (* z k)))
(t_4 (* i t_3)))
(if (<= j -3e+142)
(* y1 t_4)
(if (<= j -2.8e+121)
t_1
(if (<= j -9.6e+31)
(* a (* (- (* i (/ j a)) y2) (* x y1)))
(if (<= j -1.65e-84)
t_1
(if (<= j -7.2e-125)
(* c (* y2 (- (* x y0) (* t y4))))
(if (<= j -1.3e-171)
(* y1 (* y3 (- (* z a) (* j y4))))
(if (<= j -2.6e-214)
t_1
(if (<= j 5.8e-268)
(* x (* y2 t_2))
(if (<= j 2.9e-244)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= j 3.6e-151)
(* y2 (+ (* k (- (* y1 y4) (* y0 y5))) (* x t_2)))
(if (<= j 3.6e-43)
(* k (* z (- (* b y0) (* i y1))))
(if (<= j 6.6e+19)
(*
t
(+ (* y4 (* b j)) (* y2 (- (* a y5) (* c y4)))))
(if (<= j 1.9e+70)
(* y1 (+ (* y4 (- (* k y2) (* j y3))) t_4))
(if (<= j 5.8e+187)
(* b (* y4 (- (* t j) (* y k))))
(* i (* y1 t_3))))))))))))))))))
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 * ((c * y4) - (a * y5))) - (b * (k * y4)));
double t_2 = (c * y0) - (a * y1);
double t_3 = (x * j) - (z * k);
double t_4 = i * t_3;
double tmp;
if (j <= -3e+142) {
tmp = y1 * t_4;
} else if (j <= -2.8e+121) {
tmp = t_1;
} else if (j <= -9.6e+31) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (j <= -1.65e-84) {
tmp = t_1;
} else if (j <= -7.2e-125) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (j <= -1.3e-171) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else if (j <= -2.6e-214) {
tmp = t_1;
} else if (j <= 5.8e-268) {
tmp = x * (y2 * t_2);
} else if (j <= 2.9e-244) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (j <= 3.6e-151) {
tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (x * t_2));
} else if (j <= 3.6e-43) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (j <= 6.6e+19) {
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))));
} else if (j <= 1.9e+70) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + t_4);
} else if (j <= 5.8e+187) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = i * (y1 * t_3);
}
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 * ((c * y4) - (a * y5))) - (b * (k * y4)))
t_2 = (c * y0) - (a * y1)
t_3 = (x * j) - (z * k)
t_4 = i * t_3
if (j <= (-3d+142)) then
tmp = y1 * t_4
else if (j <= (-2.8d+121)) then
tmp = t_1
else if (j <= (-9.6d+31)) then
tmp = a * (((i * (j / a)) - y2) * (x * y1))
else if (j <= (-1.65d-84)) then
tmp = t_1
else if (j <= (-7.2d-125)) then
tmp = c * (y2 * ((x * y0) - (t * y4)))
else if (j <= (-1.3d-171)) then
tmp = y1 * (y3 * ((z * a) - (j * y4)))
else if (j <= (-2.6d-214)) then
tmp = t_1
else if (j <= 5.8d-268) then
tmp = x * (y2 * t_2)
else if (j <= 2.9d-244) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (j <= 3.6d-151) then
tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (x * t_2))
else if (j <= 3.6d-43) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (j <= 6.6d+19) then
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))))
else if (j <= 1.9d+70) then
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + t_4)
else if (j <= 5.8d+187) then
tmp = b * (y4 * ((t * j) - (y * k)))
else
tmp = i * (y1 * t_3)
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 * ((c * y4) - (a * y5))) - (b * (k * y4)));
double t_2 = (c * y0) - (a * y1);
double t_3 = (x * j) - (z * k);
double t_4 = i * t_3;
double tmp;
if (j <= -3e+142) {
tmp = y1 * t_4;
} else if (j <= -2.8e+121) {
tmp = t_1;
} else if (j <= -9.6e+31) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (j <= -1.65e-84) {
tmp = t_1;
} else if (j <= -7.2e-125) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (j <= -1.3e-171) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else if (j <= -2.6e-214) {
tmp = t_1;
} else if (j <= 5.8e-268) {
tmp = x * (y2 * t_2);
} else if (j <= 2.9e-244) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (j <= 3.6e-151) {
tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (x * t_2));
} else if (j <= 3.6e-43) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (j <= 6.6e+19) {
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))));
} else if (j <= 1.9e+70) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + t_4);
} else if (j <= 5.8e+187) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = i * (y1 * t_3);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))) t_2 = (c * y0) - (a * y1) t_3 = (x * j) - (z * k) t_4 = i * t_3 tmp = 0 if j <= -3e+142: tmp = y1 * t_4 elif j <= -2.8e+121: tmp = t_1 elif j <= -9.6e+31: tmp = a * (((i * (j / a)) - y2) * (x * y1)) elif j <= -1.65e-84: tmp = t_1 elif j <= -7.2e-125: tmp = c * (y2 * ((x * y0) - (t * y4))) elif j <= -1.3e-171: tmp = y1 * (y3 * ((z * a) - (j * y4))) elif j <= -2.6e-214: tmp = t_1 elif j <= 5.8e-268: tmp = x * (y2 * t_2) elif j <= 2.9e-244: tmp = a * (y5 * ((t * y2) - (y * y3))) elif j <= 3.6e-151: tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (x * t_2)) elif j <= 3.6e-43: tmp = k * (z * ((b * y0) - (i * y1))) elif j <= 6.6e+19: tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4)))) elif j <= 1.9e+70: tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + t_4) elif j <= 5.8e+187: tmp = b * (y4 * ((t * j) - (y * k))) else: tmp = i * (y1 * t_3) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) - Float64(b * Float64(k * y4)))) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(Float64(x * j) - Float64(z * k)) t_4 = Float64(i * t_3) tmp = 0.0 if (j <= -3e+142) tmp = Float64(y1 * t_4); elseif (j <= -2.8e+121) tmp = t_1; elseif (j <= -9.6e+31) tmp = Float64(a * Float64(Float64(Float64(i * Float64(j / a)) - y2) * Float64(x * y1))); elseif (j <= -1.65e-84) tmp = t_1; elseif (j <= -7.2e-125) tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))); elseif (j <= -1.3e-171) tmp = Float64(y1 * Float64(y3 * Float64(Float64(z * a) - Float64(j * y4)))); elseif (j <= -2.6e-214) tmp = t_1; elseif (j <= 5.8e-268) tmp = Float64(x * Float64(y2 * t_2)); elseif (j <= 2.9e-244) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (j <= 3.6e-151) tmp = Float64(y2 * Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_2))); elseif (j <= 3.6e-43) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (j <= 6.6e+19) tmp = Float64(t * Float64(Float64(y4 * Float64(b * j)) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (j <= 1.9e+70) tmp = Float64(y1 * Float64(Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) + t_4)); elseif (j <= 5.8e+187) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); else tmp = Float64(i * Float64(y1 * t_3)); 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 * ((c * y4) - (a * y5))) - (b * (k * y4))); t_2 = (c * y0) - (a * y1); t_3 = (x * j) - (z * k); t_4 = i * t_3; tmp = 0.0; if (j <= -3e+142) tmp = y1 * t_4; elseif (j <= -2.8e+121) tmp = t_1; elseif (j <= -9.6e+31) tmp = a * (((i * (j / a)) - y2) * (x * y1)); elseif (j <= -1.65e-84) tmp = t_1; elseif (j <= -7.2e-125) tmp = c * (y2 * ((x * y0) - (t * y4))); elseif (j <= -1.3e-171) tmp = y1 * (y3 * ((z * a) - (j * y4))); elseif (j <= -2.6e-214) tmp = t_1; elseif (j <= 5.8e-268) tmp = x * (y2 * t_2); elseif (j <= 2.9e-244) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (j <= 3.6e-151) tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (x * t_2)); elseif (j <= 3.6e-43) tmp = k * (z * ((b * y0) - (i * y1))); elseif (j <= 6.6e+19) tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4)))); elseif (j <= 1.9e+70) tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + t_4); elseif (j <= 5.8e+187) tmp = b * (y4 * ((t * j) - (y * k))); else tmp = i * (y1 * t_3); 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[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(i * t$95$3), $MachinePrecision]}, If[LessEqual[j, -3e+142], N[(y1 * t$95$4), $MachinePrecision], If[LessEqual[j, -2.8e+121], t$95$1, If[LessEqual[j, -9.6e+31], N[(a * N[(N[(N[(i * N[(j / a), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision] * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.65e-84], t$95$1, If[LessEqual[j, -7.2e-125], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.3e-171], N[(y1 * N[(y3 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.6e-214], t$95$1, If[LessEqual[j, 5.8e-268], N[(x * N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.9e-244], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.6e-151], N[(y2 * N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.6e-43], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6.6e+19], 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[j, 1.9e+70], N[(y1 * N[(N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.8e+187], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y1 * t$95$3), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) - b \cdot \left(k \cdot y4\right)\right)\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := x \cdot j - z \cdot k\\
t_4 := i \cdot t\_3\\
\mathbf{if}\;j \leq -3 \cdot 10^{+142}:\\
\;\;\;\;y1 \cdot t\_4\\
\mathbf{elif}\;j \leq -2.8 \cdot 10^{+121}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -9.6 \cdot 10^{+31}:\\
\;\;\;\;a \cdot \left(\left(i \cdot \frac{j}{a} - y2\right) \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq -1.65 \cdot 10^{-84}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -7.2 \cdot 10^{-125}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq -1.3 \cdot 10^{-171}:\\
\;\;\;\;y1 \cdot \left(y3 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq -2.6 \cdot 10^{-214}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 5.8 \cdot 10^{-268}:\\
\;\;\;\;x \cdot \left(y2 \cdot t\_2\right)\\
\mathbf{elif}\;j \leq 2.9 \cdot 10^{-244}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 3.6 \cdot 10^{-151}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_2\right)\\
\mathbf{elif}\;j \leq 3.6 \cdot 10^{-43}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 6.6 \cdot 10^{+19}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq 1.9 \cdot 10^{+70}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) + t\_4\right)\\
\mathbf{elif}\;j \leq 5.8 \cdot 10^{+187}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot t\_3\right)\\
\end{array}
\end{array}
if j < -2.99999999999999975e142Initial program 28.4%
Taylor expanded in y1 around -inf 37.8%
associate-*r*37.8%
neg-mul-137.8%
+-commutative37.8%
mul-1-neg37.8%
unsub-neg37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
Simplified37.8%
Taylor expanded in i around inf 57.3%
if -2.99999999999999975e142 < j < -2.80000000000000006e121 or -9.59999999999999929e31 < j < -1.64999999999999992e-84 or -1.30000000000000002e-171 < j < -2.6e-214Initial program 31.5%
Taylor expanded in y4 around inf 40.7%
*-commutative40.7%
Simplified40.7%
Taylor expanded in y around -inf 69.3%
mul-1-neg69.3%
Simplified69.3%
if -2.80000000000000006e121 < j < -9.59999999999999929e31Initial program 34.9%
Taylor expanded in y1 around -inf 55.1%
associate-*r*55.1%
neg-mul-155.1%
+-commutative55.1%
mul-1-neg55.1%
unsub-neg55.1%
*-commutative55.1%
*-commutative55.1%
*-commutative55.1%
*-commutative55.1%
Simplified55.1%
Taylor expanded in a around inf 59.9%
Taylor expanded in x around -inf 50.7%
associate-*r*50.9%
*-commutative50.9%
+-commutative50.9%
mul-1-neg50.9%
unsub-neg50.9%
associate-/l*46.0%
Simplified46.0%
if -1.64999999999999992e-84 < j < -7.2000000000000004e-125Initial program 49.9%
Taylor expanded in y2 around inf 59.0%
Taylor expanded in c around inf 44.8%
if -7.2000000000000004e-125 < j < -1.30000000000000002e-171Initial program 41.7%
Taylor expanded in y1 around -inf 67.0%
associate-*r*67.0%
neg-mul-167.0%
+-commutative67.0%
mul-1-neg67.0%
unsub-neg67.0%
*-commutative67.0%
*-commutative67.0%
*-commutative67.0%
*-commutative67.0%
Simplified67.0%
Taylor expanded in y3 around -inf 67.1%
if -2.6e-214 < j < 5.8000000000000004e-268Initial program 35.8%
Taylor expanded in x around inf 23.8%
Taylor expanded in y2 around inf 49.6%
Taylor expanded in k around 0 56.5%
if 5.8000000000000004e-268 < j < 2.89999999999999996e-244Initial program 43.5%
Taylor expanded in y4 around inf 44.0%
*-commutative44.0%
Simplified44.0%
Taylor expanded in a around inf 58.0%
if 2.89999999999999996e-244 < j < 3.60000000000000032e-151Initial program 38.4%
Taylor expanded in x around inf 57.7%
Taylor expanded in y2 around inf 62.8%
if 3.60000000000000032e-151 < j < 3.5999999999999999e-43Initial program 19.7%
Taylor expanded in k around inf 67.8%
+-commutative67.8%
mul-1-neg67.8%
unsub-neg67.8%
*-commutative67.8%
associate-*r*67.8%
neg-mul-167.8%
Simplified67.8%
Taylor expanded in z around inf 72.4%
if 3.5999999999999999e-43 < j < 6.6e19Initial program 19.8%
Taylor expanded in y4 around inf 50.0%
*-commutative50.0%
Simplified50.0%
Taylor expanded in t around inf 60.6%
associate-*r*60.6%
Simplified60.6%
if 6.6e19 < j < 1.8999999999999999e70Initial program 27.8%
Taylor expanded in y1 around -inf 63.6%
associate-*r*63.6%
neg-mul-163.6%
+-commutative63.6%
mul-1-neg63.6%
unsub-neg63.6%
*-commutative63.6%
*-commutative63.6%
*-commutative63.6%
*-commutative63.6%
Simplified63.6%
Taylor expanded in a around 0 63.8%
if 1.8999999999999999e70 < j < 5.8000000000000002e187Initial program 17.7%
Taylor expanded in y4 around inf 30.7%
*-commutative30.7%
Simplified30.7%
Taylor expanded in b around inf 69.9%
if 5.8000000000000002e187 < j Initial program 28.6%
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 i around -inf 62.9%
Final simplification61.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* j y3) (* k y2)))
(t_2 (* y5 (- (* y0 t_1) (* a (- (* y y3) (* t y2))))))
(t_3
(*
y0
(+
(+ (* c (- (* x y2) (* z y3))) (* y5 t_1))
(* b (- (* z k) (* x j))))))
(t_4 (- (* c y0) (* a y1))))
(if (<= a -1.65e+133)
(* x (* y2 t_4))
(if (<= a -7.5e+41)
t_2
(if (<= a -3.8e-14)
t_3
(if (<= a -8.8e-190)
(* y1 (* i (- (* x j) (* z k))))
(if (<= a -4.3e-303)
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0)))))
(if (<= a 9e-182)
(* b (* y4 (- (* t j) (* y k))))
(if (<= a 2.3e-119)
(* (* y k) (- (* i y5) (* b y4)))
(if (<= a 4e-87)
t_2
(if (<= a 1e-65)
(* y (- (* y3 (- (* c y4) (* a y5))) (* b (* k y4))))
(if (<= a 7.2e-53)
(* y2 (+ (* k (- (* y1 y4) (* y0 y5))) (* x t_4)))
(if (<= a 4.2e+131)
t_3
(*
y1
(*
a
(+
(* z y3)
(- (* i (* j (/ x a))) (* 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 = (j * y3) - (k * y2);
double t_2 = y5 * ((y0 * t_1) - (a * ((y * y3) - (t * y2))));
double t_3 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_1)) + (b * ((z * k) - (x * j))));
double t_4 = (c * y0) - (a * y1);
double tmp;
if (a <= -1.65e+133) {
tmp = x * (y2 * t_4);
} else if (a <= -7.5e+41) {
tmp = t_2;
} else if (a <= -3.8e-14) {
tmp = t_3;
} else if (a <= -8.8e-190) {
tmp = y1 * (i * ((x * j) - (z * k)));
} else if (a <= -4.3e-303) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (a <= 9e-182) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (a <= 2.3e-119) {
tmp = (y * k) * ((i * y5) - (b * y4));
} else if (a <= 4e-87) {
tmp = t_2;
} else if (a <= 1e-65) {
tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)));
} else if (a <= 7.2e-53) {
tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (x * t_4));
} else if (a <= 4.2e+131) {
tmp = t_3;
} else {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (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) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (j * y3) - (k * y2)
t_2 = y5 * ((y0 * t_1) - (a * ((y * y3) - (t * y2))))
t_3 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_1)) + (b * ((z * k) - (x * j))))
t_4 = (c * y0) - (a * y1)
if (a <= (-1.65d+133)) then
tmp = x * (y2 * t_4)
else if (a <= (-7.5d+41)) then
tmp = t_2
else if (a <= (-3.8d-14)) then
tmp = t_3
else if (a <= (-8.8d-190)) then
tmp = y1 * (i * ((x * j) - (z * k)))
else if (a <= (-4.3d-303)) then
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))))
else if (a <= 9d-182) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (a <= 2.3d-119) then
tmp = (y * k) * ((i * y5) - (b * y4))
else if (a <= 4d-87) then
tmp = t_2
else if (a <= 1d-65) then
tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)))
else if (a <= 7.2d-53) then
tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (x * t_4))
else if (a <= 4.2d+131) then
tmp = t_3
else
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (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 = (j * y3) - (k * y2);
double t_2 = y5 * ((y0 * t_1) - (a * ((y * y3) - (t * y2))));
double t_3 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_1)) + (b * ((z * k) - (x * j))));
double t_4 = (c * y0) - (a * y1);
double tmp;
if (a <= -1.65e+133) {
tmp = x * (y2 * t_4);
} else if (a <= -7.5e+41) {
tmp = t_2;
} else if (a <= -3.8e-14) {
tmp = t_3;
} else if (a <= -8.8e-190) {
tmp = y1 * (i * ((x * j) - (z * k)));
} else if (a <= -4.3e-303) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (a <= 9e-182) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (a <= 2.3e-119) {
tmp = (y * k) * ((i * y5) - (b * y4));
} else if (a <= 4e-87) {
tmp = t_2;
} else if (a <= 1e-65) {
tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)));
} else if (a <= 7.2e-53) {
tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (x * t_4));
} else if (a <= 4.2e+131) {
tmp = t_3;
} else {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (j * y3) - (k * y2) t_2 = y5 * ((y0 * t_1) - (a * ((y * y3) - (t * y2)))) t_3 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_1)) + (b * ((z * k) - (x * j)))) t_4 = (c * y0) - (a * y1) tmp = 0 if a <= -1.65e+133: tmp = x * (y2 * t_4) elif a <= -7.5e+41: tmp = t_2 elif a <= -3.8e-14: tmp = t_3 elif a <= -8.8e-190: tmp = y1 * (i * ((x * j) - (z * k))) elif a <= -4.3e-303: tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) elif a <= 9e-182: tmp = b * (y4 * ((t * j) - (y * k))) elif a <= 2.3e-119: tmp = (y * k) * ((i * y5) - (b * y4)) elif a <= 4e-87: tmp = t_2 elif a <= 1e-65: tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))) elif a <= 7.2e-53: tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) elif a <= 4.2e+131: tmp = t_3 else: tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (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(j * y3) - Float64(k * y2)) t_2 = Float64(y5 * Float64(Float64(y0 * t_1) - Float64(a * Float64(Float64(y * y3) - Float64(t * y2))))) t_3 = Float64(y0 * Float64(Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y5 * t_1)) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))) t_4 = Float64(Float64(c * y0) - Float64(a * y1)) tmp = 0.0 if (a <= -1.65e+133) tmp = Float64(x * Float64(y2 * t_4)); elseif (a <= -7.5e+41) tmp = t_2; elseif (a <= -3.8e-14) tmp = t_3; elseif (a <= -8.8e-190) tmp = Float64(y1 * Float64(i * Float64(Float64(x * j) - Float64(z * k)))); elseif (a <= -4.3e-303) 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 (a <= 9e-182) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (a <= 2.3e-119) tmp = Float64(Float64(y * k) * Float64(Float64(i * y5) - Float64(b * y4))); elseif (a <= 4e-87) tmp = t_2; elseif (a <= 1e-65) tmp = Float64(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) - Float64(b * Float64(k * y4)))); elseif (a <= 7.2e-53) tmp = Float64(y2 * Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_4))); elseif (a <= 4.2e+131) tmp = t_3; else tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(i * Float64(j * Float64(x / a))) - 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 = (j * y3) - (k * y2); t_2 = y5 * ((y0 * t_1) - (a * ((y * y3) - (t * y2)))); t_3 = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_1)) + (b * ((z * k) - (x * j)))); t_4 = (c * y0) - (a * y1); tmp = 0.0; if (a <= -1.65e+133) tmp = x * (y2 * t_4); elseif (a <= -7.5e+41) tmp = t_2; elseif (a <= -3.8e-14) tmp = t_3; elseif (a <= -8.8e-190) tmp = y1 * (i * ((x * j) - (z * k))); elseif (a <= -4.3e-303) tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); elseif (a <= 9e-182) tmp = b * (y4 * ((t * j) - (y * k))); elseif (a <= 2.3e-119) tmp = (y * k) * ((i * y5) - (b * y4)); elseif (a <= 4e-87) tmp = t_2; elseif (a <= 1e-65) tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))); elseif (a <= 7.2e-53) tmp = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)); elseif (a <= 4.2e+131) tmp = t_3; else tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (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[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y5 * N[(N[(y0 * t$95$1), $MachinePrecision] - N[(a * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y0 * N[(N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.65e+133], N[(x * N[(y2 * t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -7.5e+41], t$95$2, If[LessEqual[a, -3.8e-14], t$95$3, If[LessEqual[a, -8.8e-190], N[(y1 * N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.3e-303], 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[a, 9e-182], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.3e-119], N[(N[(y * k), $MachinePrecision] * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4e-87], t$95$2, If[LessEqual[a, 1e-65], N[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7.2e-53], N[(y2 * N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.2e+131], t$95$3, N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(i * N[(j * N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot y3 - k \cdot y2\\
t_2 := y5 \cdot \left(y0 \cdot t\_1 - a \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_3 := y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot t\_1\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_4 := c \cdot y0 - a \cdot y1\\
\mathbf{if}\;a \leq -1.65 \cdot 10^{+133}:\\
\;\;\;\;x \cdot \left(y2 \cdot t\_4\right)\\
\mathbf{elif}\;a \leq -7.5 \cdot 10^{+41}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq -3.8 \cdot 10^{-14}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;a \leq -8.8 \cdot 10^{-190}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;a \leq -4.3 \cdot 10^{-303}:\\
\;\;\;\;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}\;a \leq 9 \cdot 10^{-182}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;a \leq 2.3 \cdot 10^{-119}:\\
\;\;\;\;\left(y \cdot k\right) \cdot \left(i \cdot y5 - b \cdot y4\right)\\
\mathbf{elif}\;a \leq 4 \cdot 10^{-87}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq 10^{-65}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) - b \cdot \left(k \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 7.2 \cdot 10^{-53}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_4\right)\\
\mathbf{elif}\;a \leq 4.2 \cdot 10^{+131}:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(i \cdot \left(j \cdot \frac{x}{a}\right) - x \cdot y2\right)\right)\right)\\
\end{array}
\end{array}
if a < -1.65e133Initial program 30.2%
Taylor expanded in x around inf 37.8%
Taylor expanded in y2 around inf 53.2%
Taylor expanded in k around 0 58.4%
if -1.65e133 < a < -7.50000000000000072e41 or 2.29999999999999993e-119 < a < 4.00000000000000007e-87Initial program 40.0%
Taylor expanded in y4 around inf 44.2%
*-commutative44.2%
Simplified44.2%
Taylor expanded in y5 around -inf 60.6%
mul-1-neg60.6%
Simplified60.6%
if -7.50000000000000072e41 < a < -3.8000000000000002e-14 or 7.1999999999999998e-53 < a < 4.19999999999999971e131Initial program 42.9%
Taylor expanded in y0 around inf 63.0%
+-commutative63.0%
mul-1-neg63.0%
unsub-neg63.0%
*-commutative63.0%
*-commutative63.0%
*-commutative63.0%
*-commutative63.0%
Simplified63.0%
if -3.8000000000000002e-14 < a < -8.80000000000000017e-190Initial program 18.3%
Taylor expanded in y1 around -inf 33.9%
associate-*r*33.9%
neg-mul-133.9%
+-commutative33.9%
mul-1-neg33.9%
unsub-neg33.9%
*-commutative33.9%
*-commutative33.9%
*-commutative33.9%
*-commutative33.9%
Simplified33.9%
Taylor expanded in i around inf 46.6%
if -8.80000000000000017e-190 < a < -4.29999999999999981e-303Initial program 21.7%
Taylor expanded in j around inf 69.6%
+-commutative69.6%
mul-1-neg69.6%
unsub-neg69.6%
*-commutative69.6%
Simplified69.6%
if -4.29999999999999981e-303 < a < 8.9999999999999998e-182Initial program 34.9%
Taylor expanded in y4 around inf 42.0%
*-commutative42.0%
Simplified42.0%
Taylor expanded in b around inf 56.4%
if 8.9999999999999998e-182 < a < 2.29999999999999993e-119Initial program 40.3%
Taylor expanded in k around inf 45.4%
+-commutative45.4%
mul-1-neg45.4%
unsub-neg45.4%
*-commutative45.4%
associate-*r*45.4%
neg-mul-145.4%
Simplified45.4%
Taylor expanded in y around -inf 51.2%
mul-1-neg51.2%
associate-*r*56.5%
Simplified56.5%
if 4.00000000000000007e-87 < a < 9.99999999999999923e-66Initial program 51.5%
Taylor expanded in y4 around inf 76.5%
*-commutative76.5%
Simplified76.5%
Taylor expanded in y around -inf 75.8%
mul-1-neg75.8%
Simplified75.8%
if 9.99999999999999923e-66 < a < 7.1999999999999998e-53Initial program 0.0%
Taylor expanded in x around inf 60.0%
Taylor expanded in y2 around inf 81.7%
if 4.19999999999999971e131 < a Initial program 21.9%
Taylor expanded in y1 around -inf 43.9%
associate-*r*43.9%
neg-mul-143.9%
+-commutative43.9%
mul-1-neg43.9%
unsub-neg43.9%
*-commutative43.9%
*-commutative43.9%
*-commutative43.9%
*-commutative43.9%
Simplified43.9%
Taylor expanded in a around inf 47.0%
Taylor expanded in x around inf 54.0%
associate-/l*54.0%
associate-/l*57.2%
Simplified57.2%
Final simplification59.1%
(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 (* b (* y4 (- (* t j) (* y k))))))
(if (<= x -9.8e+104)
(* y2 (+ (* k t_1) (* x (- (* c y0) (* a y1)))))
(if (<= x -5.5e-61)
(* y1 (* a (+ (* z y3) (- (* i (* j (/ x a))) (* x y2)))))
(if (<= x -2.1e-166)
(* y (- (* y3 (- (* c y4) (* a y5))) (* b (* k y4))))
(if (<= x -4e-185)
(* y2 (* y4 (- (* k y1) (* (* x y1) (/ a y4)))))
(if (<= x -2.95e-297)
t_2
(if (<= x 7.4e-298)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= x 1.36e-207)
t_3
(if (<= x 1e-160)
(* y5 (* y3 (* a (- (* y2 (/ t y3)) y))))
(if (<= x 1.4e-30)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= x 1.8e+198)
t_3
(if (<= x 2.3e+268)
(* j (* x (- (* i y1) (* b y0))))
(+ t_2 (* x (* y (- (* a b) (* c i))))))))))))))))))
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 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (x <= -9.8e+104) {
tmp = y2 * ((k * t_1) + (x * ((c * y0) - (a * y1))));
} else if (x <= -5.5e-61) {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
} else if (x <= -2.1e-166) {
tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)));
} else if (x <= -4e-185) {
tmp = y2 * (y4 * ((k * y1) - ((x * y1) * (a / y4))));
} else if (x <= -2.95e-297) {
tmp = t_2;
} else if (x <= 7.4e-298) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (x <= 1.36e-207) {
tmp = t_3;
} else if (x <= 1e-160) {
tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y)));
} else if (x <= 1.4e-30) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (x <= 1.8e+198) {
tmp = t_3;
} else if (x <= 2.3e+268) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = t_2 + (x * (y * ((a * b) - (c * i))));
}
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 = (y1 * y4) - (y0 * y5)
t_2 = ((k * y2) - (j * y3)) * t_1
t_3 = b * (y4 * ((t * j) - (y * k)))
if (x <= (-9.8d+104)) then
tmp = y2 * ((k * t_1) + (x * ((c * y0) - (a * y1))))
else if (x <= (-5.5d-61)) then
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))))
else if (x <= (-2.1d-166)) then
tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)))
else if (x <= (-4d-185)) then
tmp = y2 * (y4 * ((k * y1) - ((x * y1) * (a / y4))))
else if (x <= (-2.95d-297)) then
tmp = t_2
else if (x <= 7.4d-298) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (x <= 1.36d-207) then
tmp = t_3
else if (x <= 1d-160) then
tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y)))
else if (x <= 1.4d-30) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (x <= 1.8d+198) then
tmp = t_3
else if (x <= 2.3d+268) then
tmp = j * (x * ((i * y1) - (b * y0)))
else
tmp = t_2 + (x * (y * ((a * b) - (c * i))))
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 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (x <= -9.8e+104) {
tmp = y2 * ((k * t_1) + (x * ((c * y0) - (a * y1))));
} else if (x <= -5.5e-61) {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
} else if (x <= -2.1e-166) {
tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)));
} else if (x <= -4e-185) {
tmp = y2 * (y4 * ((k * y1) - ((x * y1) * (a / y4))));
} else if (x <= -2.95e-297) {
tmp = t_2;
} else if (x <= 7.4e-298) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (x <= 1.36e-207) {
tmp = t_3;
} else if (x <= 1e-160) {
tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y)));
} else if (x <= 1.4e-30) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (x <= 1.8e+198) {
tmp = t_3;
} else if (x <= 2.3e+268) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = t_2 + (x * (y * ((a * b) - (c * i))));
}
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 = b * (y4 * ((t * j) - (y * k))) tmp = 0 if x <= -9.8e+104: tmp = y2 * ((k * t_1) + (x * ((c * y0) - (a * y1)))) elif x <= -5.5e-61: tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))) elif x <= -2.1e-166: tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))) elif x <= -4e-185: tmp = y2 * (y4 * ((k * y1) - ((x * y1) * (a / y4)))) elif x <= -2.95e-297: tmp = t_2 elif x <= 7.4e-298: tmp = c * (y4 * ((y * y3) - (t * y2))) elif x <= 1.36e-207: tmp = t_3 elif x <= 1e-160: tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y))) elif x <= 1.4e-30: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif x <= 1.8e+198: tmp = t_3 elif x <= 2.3e+268: tmp = j * (x * ((i * y1) - (b * y0))) else: tmp = t_2 + (x * (y * ((a * b) - (c * i)))) 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(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) tmp = 0.0 if (x <= -9.8e+104) tmp = Float64(y2 * Float64(Float64(k * t_1) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1))))); elseif (x <= -5.5e-61) tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(i * Float64(j * Float64(x / a))) - Float64(x * y2))))); elseif (x <= -2.1e-166) tmp = Float64(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) - Float64(b * Float64(k * y4)))); elseif (x <= -4e-185) tmp = Float64(y2 * Float64(y4 * Float64(Float64(k * y1) - Float64(Float64(x * y1) * Float64(a / y4))))); elseif (x <= -2.95e-297) tmp = t_2; elseif (x <= 7.4e-298) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (x <= 1.36e-207) tmp = t_3; elseif (x <= 1e-160) tmp = Float64(y5 * Float64(y3 * Float64(a * Float64(Float64(y2 * Float64(t / y3)) - y)))); elseif (x <= 1.4e-30) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (x <= 1.8e+198) tmp = t_3; elseif (x <= 2.3e+268) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); else tmp = Float64(t_2 + Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i))))); 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 = b * (y4 * ((t * j) - (y * k))); tmp = 0.0; if (x <= -9.8e+104) tmp = y2 * ((k * t_1) + (x * ((c * y0) - (a * y1)))); elseif (x <= -5.5e-61) tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))); elseif (x <= -2.1e-166) tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))); elseif (x <= -4e-185) tmp = y2 * (y4 * ((k * y1) - ((x * y1) * (a / y4)))); elseif (x <= -2.95e-297) tmp = t_2; elseif (x <= 7.4e-298) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (x <= 1.36e-207) tmp = t_3; elseif (x <= 1e-160) tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y))); elseif (x <= 1.4e-30) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (x <= 1.8e+198) tmp = t_3; elseif (x <= 2.3e+268) tmp = j * (x * ((i * y1) - (b * y0))); else tmp = t_2 + (x * (y * ((a * b) - (c * i)))); 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[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -9.8e+104], 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[x, -5.5e-61], N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(i * N[(j * N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.1e-166], N[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4e-185], N[(y2 * N[(y4 * N[(N[(k * y1), $MachinePrecision] - N[(N[(x * y1), $MachinePrecision] * N[(a / y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.95e-297], t$95$2, If[LessEqual[x, 7.4e-298], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.36e-207], t$95$3, If[LessEqual[x, 1e-160], N[(y5 * N[(y3 * N[(a * N[(N[(y2 * N[(t / y3), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.4e-30], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.8e+198], t$95$3, If[LessEqual[x, 2.3e+268], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$2 + N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $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 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{if}\;x \leq -9.8 \cdot 10^{+104}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_1 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq -5.5 \cdot 10^{-61}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(i \cdot \left(j \cdot \frac{x}{a}\right) - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;x \leq -2.1 \cdot 10^{-166}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) - b \cdot \left(k \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq -4 \cdot 10^{-185}:\\
\;\;\;\;y2 \cdot \left(y4 \cdot \left(k \cdot y1 - \left(x \cdot y1\right) \cdot \frac{a}{y4}\right)\right)\\
\mathbf{elif}\;x \leq -2.95 \cdot 10^{-297}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;x \leq 7.4 \cdot 10^{-298}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 1.36 \cdot 10^{-207}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;x \leq 10^{-160}:\\
\;\;\;\;y5 \cdot \left(y3 \cdot \left(a \cdot \left(y2 \cdot \frac{t}{y3} - y\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.4 \cdot 10^{-30}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;x \leq 1.8 \cdot 10^{+198}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;x \leq 2.3 \cdot 10^{+268}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2 + x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\end{array}
\end{array}
if x < -9.7999999999999997e104Initial program 26.3%
Taylor expanded in x around inf 50.3%
Taylor expanded in y2 around inf 58.6%
if -9.7999999999999997e104 < x < -5.4999999999999997e-61Initial program 39.0%
Taylor expanded in y1 around -inf 58.8%
associate-*r*58.8%
neg-mul-158.8%
+-commutative58.8%
mul-1-neg58.8%
unsub-neg58.8%
*-commutative58.8%
*-commutative58.8%
*-commutative58.8%
*-commutative58.8%
Simplified58.8%
Taylor expanded in a around inf 58.7%
Taylor expanded in x around inf 64.8%
associate-/l*67.5%
associate-/l*67.5%
Simplified67.5%
if -5.4999999999999997e-61 < x < -2.0999999999999999e-166Initial program 22.7%
Taylor expanded in y4 around inf 35.2%
*-commutative35.2%
Simplified35.2%
Taylor expanded in y around -inf 61.8%
mul-1-neg61.8%
Simplified61.8%
if -2.0999999999999999e-166 < x < -4e-185Initial program 66.1%
Taylor expanded in x around inf 33.3%
Taylor expanded in y2 around inf 66.2%
Taylor expanded in y1 around inf 67.6%
+-commutative67.6%
mul-1-neg67.6%
unsub-neg67.6%
Simplified67.6%
Taylor expanded in y4 around inf 67.6%
+-commutative67.6%
mul-1-neg67.6%
unsub-neg67.6%
*-commutative67.6%
*-commutative67.6%
associate-/l*99.5%
Simplified99.5%
if -4e-185 < x < -2.9499999999999999e-297Initial program 39.1%
Taylor expanded in x around inf 30.7%
Taylor expanded in x around 0 56.9%
if -2.9499999999999999e-297 < x < 7.3999999999999996e-298Initial program 33.3%
Taylor expanded in y4 around inf 50.0%
*-commutative50.0%
Simplified50.0%
Taylor expanded in c around inf 60.8%
if 7.3999999999999996e-298 < x < 1.36e-207 or 1.39999999999999994e-30 < x < 1.8000000000000001e198Initial program 26.9%
Taylor expanded in y4 around inf 33.3%
*-commutative33.3%
Simplified33.3%
Taylor expanded in b around inf 49.8%
if 1.36e-207 < x < 9.9999999999999999e-161Initial program 39.2%
Taylor expanded in y4 around inf 16.4%
*-commutative16.4%
Simplified16.4%
Taylor expanded in a around inf 32.8%
Taylor expanded in y3 around inf 17.5%
+-commutative17.5%
mul-1-neg17.5%
unsub-neg17.5%
associate-/l*17.6%
associate-/l*25.3%
Simplified25.3%
Taylor expanded in y5 around 0 32.2%
*-commutative32.2%
associate-*l*39.5%
associate-/l*39.5%
distribute-lft-out--47.2%
*-commutative47.2%
associate-/l*54.9%
Simplified54.9%
if 9.9999999999999999e-161 < x < 1.39999999999999994e-30Initial program 38.2%
Taylor expanded in k around inf 43.8%
+-commutative43.8%
mul-1-neg43.8%
unsub-neg43.8%
*-commutative43.8%
associate-*r*43.8%
neg-mul-143.8%
Simplified43.8%
Taylor expanded in y4 around inf 48.9%
if 1.8000000000000001e198 < x < 2.30000000000000012e268Initial program 6.7%
Taylor expanded in j around inf 40.5%
+-commutative40.5%
mul-1-neg40.5%
unsub-neg40.5%
*-commutative40.5%
Simplified40.5%
Taylor expanded in x around inf 67.1%
if 2.30000000000000012e268 < x Initial program 44.4%
Taylor expanded in x around inf 88.9%
Taylor expanded in y around inf 67.2%
Final simplification58.0%
(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 (- (* y1 y4) (* y0 y5)))
(t_3 (* y0 (- (* j y3) (* k y2))))
(t_4 (- (* c y0) (* a y1)))
(t_5 (- (* k y2) (* j y3)))
(t_6 (+ (* y4 t_5) (* i (- (* x j) (* z k))))))
(if (<= y5 -6.2e+239)
(* y5 (+ (* a (- (* t y2) (* y y3))) (+ t_3 (* i (- (* y k) (* t j))))))
(if (<= y5 -2.7e+211)
(* x (* y2 t_4))
(if (<= y5 -6.2e+200)
(*
k
(+
(+ (* y2 t_2) (* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1)))))
(if (<= y5 -1.42e+104)
(* a (* (- (* i (/ j a)) y2) (* x y1)))
(if (<= y5 -6.2e+72)
(* y5 (- t_3 (* a t_1)))
(if (<= y5 -3.7e-73)
(* y1 t_6)
(if (<= y5 -5.2e-189)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+
(* z (- (* a y1) (* c y0)))
(* j (- (* y0 y5) (* y1 y4))))))
(if (<= y5 1.5e-259)
(* y1 (* a (+ (* z y3) (- (/ t_6 a) (* x y2)))))
(if (or (<= y5 1.28e-170) (not (<= y5 4.8e-96)))
(*
y2
(+ (+ (* k t_2) (* x t_4)) (* t (- (* a y5) (* c y4)))))
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 t_5))
(* c 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 = (y1 * y4) - (y0 * y5);
double t_3 = y0 * ((j * y3) - (k * y2));
double t_4 = (c * y0) - (a * y1);
double t_5 = (k * y2) - (j * y3);
double t_6 = (y4 * t_5) + (i * ((x * j) - (z * k)));
double tmp;
if (y5 <= -6.2e+239) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + (t_3 + (i * ((y * k) - (t * j)))));
} else if (y5 <= -2.7e+211) {
tmp = x * (y2 * t_4);
} else if (y5 <= -6.2e+200) {
tmp = k * (((y2 * t_2) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (y5 <= -1.42e+104) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (y5 <= -6.2e+72) {
tmp = y5 * (t_3 - (a * t_1));
} else if (y5 <= -3.7e-73) {
tmp = y1 * t_6;
} else if (y5 <= -5.2e-189) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y5 <= 1.5e-259) {
tmp = y1 * (a * ((z * y3) + ((t_6 / a) - (x * y2))));
} else if ((y5 <= 1.28e-170) || !(y5 <= 4.8e-96)) {
tmp = y2 * (((k * t_2) + (x * t_4)) + (t * ((a * y5) - (c * y4))));
} else {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_5)) + (c * 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) :: t_5
real(8) :: t_6
real(8) :: tmp
t_1 = (y * y3) - (t * y2)
t_2 = (y1 * y4) - (y0 * y5)
t_3 = y0 * ((j * y3) - (k * y2))
t_4 = (c * y0) - (a * y1)
t_5 = (k * y2) - (j * y3)
t_6 = (y4 * t_5) + (i * ((x * j) - (z * k)))
if (y5 <= (-6.2d+239)) then
tmp = y5 * ((a * ((t * y2) - (y * y3))) + (t_3 + (i * ((y * k) - (t * j)))))
else if (y5 <= (-2.7d+211)) then
tmp = x * (y2 * t_4)
else if (y5 <= (-6.2d+200)) then
tmp = k * (((y2 * t_2) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
else if (y5 <= (-1.42d+104)) then
tmp = a * (((i * (j / a)) - y2) * (x * y1))
else if (y5 <= (-6.2d+72)) then
tmp = y5 * (t_3 - (a * t_1))
else if (y5 <= (-3.7d-73)) then
tmp = y1 * t_6
else if (y5 <= (-5.2d-189)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (y5 <= 1.5d-259) then
tmp = y1 * (a * ((z * y3) + ((t_6 / a) - (x * y2))))
else if ((y5 <= 1.28d-170) .or. (.not. (y5 <= 4.8d-96))) then
tmp = y2 * (((k * t_2) + (x * t_4)) + (t * ((a * y5) - (c * y4))))
else
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_5)) + (c * 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 = (y1 * y4) - (y0 * y5);
double t_3 = y0 * ((j * y3) - (k * y2));
double t_4 = (c * y0) - (a * y1);
double t_5 = (k * y2) - (j * y3);
double t_6 = (y4 * t_5) + (i * ((x * j) - (z * k)));
double tmp;
if (y5 <= -6.2e+239) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + (t_3 + (i * ((y * k) - (t * j)))));
} else if (y5 <= -2.7e+211) {
tmp = x * (y2 * t_4);
} else if (y5 <= -6.2e+200) {
tmp = k * (((y2 * t_2) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (y5 <= -1.42e+104) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (y5 <= -6.2e+72) {
tmp = y5 * (t_3 - (a * t_1));
} else if (y5 <= -3.7e-73) {
tmp = y1 * t_6;
} else if (y5 <= -5.2e-189) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y5 <= 1.5e-259) {
tmp = y1 * (a * ((z * y3) + ((t_6 / a) - (x * y2))));
} else if ((y5 <= 1.28e-170) || !(y5 <= 4.8e-96)) {
tmp = y2 * (((k * t_2) + (x * t_4)) + (t * ((a * y5) - (c * y4))));
} else {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_5)) + (c * 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 = (y1 * y4) - (y0 * y5) t_3 = y0 * ((j * y3) - (k * y2)) t_4 = (c * y0) - (a * y1) t_5 = (k * y2) - (j * y3) t_6 = (y4 * t_5) + (i * ((x * j) - (z * k))) tmp = 0 if y5 <= -6.2e+239: tmp = y5 * ((a * ((t * y2) - (y * y3))) + (t_3 + (i * ((y * k) - (t * j))))) elif y5 <= -2.7e+211: tmp = x * (y2 * t_4) elif y5 <= -6.2e+200: tmp = k * (((y2 * t_2) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) elif y5 <= -1.42e+104: tmp = a * (((i * (j / a)) - y2) * (x * y1)) elif y5 <= -6.2e+72: tmp = y5 * (t_3 - (a * t_1)) elif y5 <= -3.7e-73: tmp = y1 * t_6 elif y5 <= -5.2e-189: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif y5 <= 1.5e-259: tmp = y1 * (a * ((z * y3) + ((t_6 / a) - (x * y2)))) elif (y5 <= 1.28e-170) or not (y5 <= 4.8e-96): tmp = y2 * (((k * t_2) + (x * t_4)) + (t * ((a * y5) - (c * y4)))) else: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_5)) + (c * 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(Float64(y1 * y4) - Float64(y0 * y5)) t_3 = Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) t_4 = Float64(Float64(c * y0) - Float64(a * y1)) t_5 = Float64(Float64(k * y2) - Float64(j * y3)) t_6 = Float64(Float64(y4 * t_5) + Float64(i * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y5 <= -6.2e+239) tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(t_3 + Float64(i * Float64(Float64(y * k) - Float64(t * j)))))); elseif (y5 <= -2.7e+211) tmp = Float64(x * Float64(y2 * t_4)); elseif (y5 <= -6.2e+200) tmp = Float64(k * Float64(Float64(Float64(y2 * t_2) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (y5 <= -1.42e+104) tmp = Float64(a * Float64(Float64(Float64(i * Float64(j / a)) - y2) * Float64(x * y1))); elseif (y5 <= -6.2e+72) tmp = Float64(y5 * Float64(t_3 - Float64(a * t_1))); elseif (y5 <= -3.7e-73) tmp = Float64(y1 * t_6); elseif (y5 <= -5.2e-189) 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 (y5 <= 1.5e-259) tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(t_6 / a) - Float64(x * y2))))); elseif ((y5 <= 1.28e-170) || !(y5 <= 4.8e-96)) tmp = Float64(y2 * Float64(Float64(Float64(k * t_2) + Float64(x * t_4)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); else tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * t_5)) + Float64(c * 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 = (y1 * y4) - (y0 * y5); t_3 = y0 * ((j * y3) - (k * y2)); t_4 = (c * y0) - (a * y1); t_5 = (k * y2) - (j * y3); t_6 = (y4 * t_5) + (i * ((x * j) - (z * k))); tmp = 0.0; if (y5 <= -6.2e+239) tmp = y5 * ((a * ((t * y2) - (y * y3))) + (t_3 + (i * ((y * k) - (t * j))))); elseif (y5 <= -2.7e+211) tmp = x * (y2 * t_4); elseif (y5 <= -6.2e+200) tmp = k * (((y2 * t_2) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); elseif (y5 <= -1.42e+104) tmp = a * (((i * (j / a)) - y2) * (x * y1)); elseif (y5 <= -6.2e+72) tmp = y5 * (t_3 - (a * t_1)); elseif (y5 <= -3.7e-73) tmp = y1 * t_6; elseif (y5 <= -5.2e-189) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (y5 <= 1.5e-259) tmp = y1 * (a * ((z * y3) + ((t_6 / a) - (x * y2)))); elseif ((y5 <= 1.28e-170) || ~((y5 <= 4.8e-96))) tmp = y2 * (((k * t_2) + (x * t_4)) + (t * ((a * y5) - (c * y4)))); else tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_5)) + (c * 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[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(y4 * t$95$5), $MachinePrecision] + N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -6.2e+239], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$3 + N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -2.7e+211], N[(x * N[(y2 * t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -6.2e+200], N[(k * N[(N[(N[(y2 * t$95$2), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.42e+104], N[(a * N[(N[(N[(i * N[(j / a), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision] * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -6.2e+72], N[(y5 * N[(t$95$3 - N[(a * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.7e-73], N[(y1 * t$95$6), $MachinePrecision], If[LessEqual[y5, -5.2e-189], 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[y5, 1.5e-259], N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(t$95$6 / a), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y5, 1.28e-170], N[Not[LessEqual[y5, 4.8e-96]], $MachinePrecision]], N[(y2 * N[(N[(N[(k * t$95$2), $MachinePrecision] + N[(x * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\\
t_4 := c \cdot y0 - a \cdot y1\\
t_5 := k \cdot y2 - j \cdot y3\\
t_6 := y4 \cdot t\_5 + i \cdot \left(x \cdot j - z \cdot k\right)\\
\mathbf{if}\;y5 \leq -6.2 \cdot 10^{+239}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(t\_3 + i \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{elif}\;y5 \leq -2.7 \cdot 10^{+211}:\\
\;\;\;\;x \cdot \left(y2 \cdot t\_4\right)\\
\mathbf{elif}\;y5 \leq -6.2 \cdot 10^{+200}:\\
\;\;\;\;k \cdot \left(\left(y2 \cdot t\_2 + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y5 \leq -1.42 \cdot 10^{+104}:\\
\;\;\;\;a \cdot \left(\left(i \cdot \frac{j}{a} - y2\right) \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;y5 \leq -6.2 \cdot 10^{+72}:\\
\;\;\;\;y5 \cdot \left(t\_3 - a \cdot t\_1\right)\\
\mathbf{elif}\;y5 \leq -3.7 \cdot 10^{-73}:\\
\;\;\;\;y1 \cdot t\_6\\
\mathbf{elif}\;y5 \leq -5.2 \cdot 10^{-189}:\\
\;\;\;\;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}\;y5 \leq 1.5 \cdot 10^{-259}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(\frac{t\_6}{a} - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;y5 \leq 1.28 \cdot 10^{-170} \lor \neg \left(y5 \leq 4.8 \cdot 10^{-96}\right):\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t\_2 + x \cdot t\_4\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot t\_5\right) + c \cdot t\_1\right)\\
\end{array}
\end{array}
if y5 < -6.20000000000000001e239Initial program 6.3%
Taylor expanded in y5 around -inf 88.0%
if -6.20000000000000001e239 < y5 < -2.6999999999999999e211Initial program 0.0%
Taylor expanded in x around inf 28.6%
Taylor expanded in y2 around inf 57.2%
Taylor expanded in k around 0 85.9%
if -2.6999999999999999e211 < y5 < -6.19999999999999988e200Initial program 0.0%
Taylor expanded in k around inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
associate-*r*100.0%
neg-mul-1100.0%
Simplified100.0%
if -6.19999999999999988e200 < y5 < -1.42e104Initial program 28.6%
Taylor expanded in y1 around -inf 43.4%
associate-*r*43.4%
neg-mul-143.4%
+-commutative43.4%
mul-1-neg43.4%
unsub-neg43.4%
*-commutative43.4%
*-commutative43.4%
*-commutative43.4%
*-commutative43.4%
Simplified43.4%
Taylor expanded in a around inf 57.2%
Taylor expanded in x around -inf 59.2%
associate-*r*65.5%
*-commutative65.5%
+-commutative65.5%
mul-1-neg65.5%
unsub-neg65.5%
associate-/l*72.2%
Simplified72.2%
if -1.42e104 < y5 < -6.19999999999999977e72Initial program 0.0%
Taylor expanded in y4 around inf 16.7%
*-commutative16.7%
Simplified16.7%
Taylor expanded in y5 around -inf 83.4%
mul-1-neg83.4%
Simplified83.4%
if -6.19999999999999977e72 < y5 < -3.7000000000000001e-73Initial program 28.5%
Taylor expanded in y1 around -inf 61.0%
associate-*r*61.0%
neg-mul-161.0%
+-commutative61.0%
mul-1-neg61.0%
unsub-neg61.0%
*-commutative61.0%
*-commutative61.0%
*-commutative61.0%
*-commutative61.0%
Simplified61.0%
Taylor expanded in a around 0 61.1%
if -3.7000000000000001e-73 < y5 < -5.1999999999999998e-189Initial program 35.7%
Taylor expanded in y3 around -inf 50.6%
if -5.1999999999999998e-189 < y5 < 1.5000000000000001e-259Initial program 36.4%
Taylor expanded in y1 around -inf 50.9%
associate-*r*50.9%
neg-mul-150.9%
+-commutative50.9%
mul-1-neg50.9%
unsub-neg50.9%
*-commutative50.9%
*-commutative50.9%
*-commutative50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in a around inf 56.0%
if 1.5000000000000001e-259 < y5 < 1.2800000000000001e-170 or 4.80000000000000038e-96 < y5 Initial program 34.9%
Taylor expanded in y2 around inf 55.9%
if 1.2800000000000001e-170 < y5 < 4.80000000000000038e-96Initial program 45.5%
Taylor expanded in y4 around inf 75.4%
Final simplification62.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y (- (* y3 (- (* c y4) (* a y5))) (* b (* k y4)))))
(t_2
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4))))))
(t_3 (- (* x j) (* z k))))
(if (<= j -2.2e+142)
(* y1 (* i t_3))
(if (<= j -2.2e+120)
t_1
(if (<= j -1.28e+42)
(* y1 (* a (+ (* z y3) (- (* i (* j (/ x a))) (* x y2)))))
(if (<= j -6.1e-83)
t_1
(if (<= j -6.5e-125)
t_2
(if (<= j -2.45e-164)
(* y1 (* y3 (- (* z a) (* j y4))))
(if (<= j 9e-155)
t_2
(if (<= j 1.36e-43)
(* k (* z (- (* b y0) (* i y1))))
(if (<= j 2.8e+75)
(*
y4
(+
(+
(* b (- (* t j) (* y k)))
(* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= j 5e+186)
(* b (* j (- (* t y4) (* x y0))))
(* i (* y1 t_3))))))))))))))
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 * ((c * y4) - (a * y5))) - (b * (k * y4)));
double t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
double t_3 = (x * j) - (z * k);
double tmp;
if (j <= -2.2e+142) {
tmp = y1 * (i * t_3);
} else if (j <= -2.2e+120) {
tmp = t_1;
} else if (j <= -1.28e+42) {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
} else if (j <= -6.1e-83) {
tmp = t_1;
} else if (j <= -6.5e-125) {
tmp = t_2;
} else if (j <= -2.45e-164) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else if (j <= 9e-155) {
tmp = t_2;
} else if (j <= 1.36e-43) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (j <= 2.8e+75) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (j <= 5e+186) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = i * (y1 * t_3);
}
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 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)))
t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
t_3 = (x * j) - (z * k)
if (j <= (-2.2d+142)) then
tmp = y1 * (i * t_3)
else if (j <= (-2.2d+120)) then
tmp = t_1
else if (j <= (-1.28d+42)) then
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))))
else if (j <= (-6.1d-83)) then
tmp = t_1
else if (j <= (-6.5d-125)) then
tmp = t_2
else if (j <= (-2.45d-164)) then
tmp = y1 * (y3 * ((z * a) - (j * y4)))
else if (j <= 9d-155) then
tmp = t_2
else if (j <= 1.36d-43) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (j <= 2.8d+75) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (j <= 5d+186) then
tmp = b * (j * ((t * y4) - (x * y0)))
else
tmp = i * (y1 * t_3)
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 * ((c * y4) - (a * y5))) - (b * (k * y4)));
double t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
double t_3 = (x * j) - (z * k);
double tmp;
if (j <= -2.2e+142) {
tmp = y1 * (i * t_3);
} else if (j <= -2.2e+120) {
tmp = t_1;
} else if (j <= -1.28e+42) {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
} else if (j <= -6.1e-83) {
tmp = t_1;
} else if (j <= -6.5e-125) {
tmp = t_2;
} else if (j <= -2.45e-164) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else if (j <= 9e-155) {
tmp = t_2;
} else if (j <= 1.36e-43) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (j <= 2.8e+75) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (j <= 5e+186) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = i * (y1 * t_3);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))) t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) t_3 = (x * j) - (z * k) tmp = 0 if j <= -2.2e+142: tmp = y1 * (i * t_3) elif j <= -2.2e+120: tmp = t_1 elif j <= -1.28e+42: tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))) elif j <= -6.1e-83: tmp = t_1 elif j <= -6.5e-125: tmp = t_2 elif j <= -2.45e-164: tmp = y1 * (y3 * ((z * a) - (j * y4))) elif j <= 9e-155: tmp = t_2 elif j <= 1.36e-43: tmp = k * (z * ((b * y0) - (i * y1))) elif j <= 2.8e+75: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif j <= 5e+186: tmp = b * (j * ((t * y4) - (x * y0))) else: tmp = i * (y1 * t_3) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) - Float64(b * Float64(k * y4)))) t_2 = 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_3 = Float64(Float64(x * j) - Float64(z * k)) tmp = 0.0 if (j <= -2.2e+142) tmp = Float64(y1 * Float64(i * t_3)); elseif (j <= -2.2e+120) tmp = t_1; elseif (j <= -1.28e+42) tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(i * Float64(j * Float64(x / a))) - Float64(x * y2))))); elseif (j <= -6.1e-83) tmp = t_1; elseif (j <= -6.5e-125) tmp = t_2; elseif (j <= -2.45e-164) tmp = Float64(y1 * Float64(y3 * Float64(Float64(z * a) - Float64(j * y4)))); elseif (j <= 9e-155) tmp = t_2; elseif (j <= 1.36e-43) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (j <= 2.8e+75) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (j <= 5e+186) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = Float64(i * Float64(y1 * t_3)); 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 * ((c * y4) - (a * y5))) - (b * (k * y4))); t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); t_3 = (x * j) - (z * k); tmp = 0.0; if (j <= -2.2e+142) tmp = y1 * (i * t_3); elseif (j <= -2.2e+120) tmp = t_1; elseif (j <= -1.28e+42) tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))); elseif (j <= -6.1e-83) tmp = t_1; elseif (j <= -6.5e-125) tmp = t_2; elseif (j <= -2.45e-164) tmp = y1 * (y3 * ((z * a) - (j * y4))); elseif (j <= 9e-155) tmp = t_2; elseif (j <= 1.36e-43) tmp = k * (z * ((b * y0) - (i * y1))); elseif (j <= 2.8e+75) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (j <= 5e+186) tmp = b * (j * ((t * y4) - (x * y0))); else tmp = i * (y1 * t_3); 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[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = 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$3 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -2.2e+142], N[(y1 * N[(i * t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.2e+120], t$95$1, If[LessEqual[j, -1.28e+42], N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(i * N[(j * N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -6.1e-83], t$95$1, If[LessEqual[j, -6.5e-125], t$95$2, If[LessEqual[j, -2.45e-164], N[(y1 * N[(y3 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9e-155], t$95$2, If[LessEqual[j, 1.36e-43], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.8e+75], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5e+186], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y1 * t$95$3), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) - b \cdot \left(k \cdot y4\right)\right)\\
t_2 := 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_3 := x \cdot j - z \cdot k\\
\mathbf{if}\;j \leq -2.2 \cdot 10^{+142}:\\
\;\;\;\;y1 \cdot \left(i \cdot t\_3\right)\\
\mathbf{elif}\;j \leq -2.2 \cdot 10^{+120}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -1.28 \cdot 10^{+42}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(i \cdot \left(j \cdot \frac{x}{a}\right) - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;j \leq -6.1 \cdot 10^{-83}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -6.5 \cdot 10^{-125}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq -2.45 \cdot 10^{-164}:\\
\;\;\;\;y1 \cdot \left(y3 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq 9 \cdot 10^{-155}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq 1.36 \cdot 10^{-43}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 2.8 \cdot 10^{+75}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 5 \cdot 10^{+186}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot t\_3\right)\\
\end{array}
\end{array}
if j < -2.19999999999999987e142Initial program 28.4%
Taylor expanded in y1 around -inf 37.8%
associate-*r*37.8%
neg-mul-137.8%
+-commutative37.8%
mul-1-neg37.8%
unsub-neg37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
Simplified37.8%
Taylor expanded in i around inf 57.3%
if -2.19999999999999987e142 < j < -2.2000000000000001e120 or -1.28000000000000004e42 < j < -6.10000000000000003e-83Initial program 33.2%
Taylor expanded in y4 around inf 40.7%
*-commutative40.7%
Simplified40.7%
Taylor expanded in y around -inf 63.9%
mul-1-neg63.9%
Simplified63.9%
if -2.2000000000000001e120 < j < -1.28000000000000004e42Initial program 38.8%
Taylor expanded in y1 around -inf 55.7%
associate-*r*55.7%
neg-mul-155.7%
+-commutative55.7%
mul-1-neg55.7%
unsub-neg55.7%
*-commutative55.7%
*-commutative55.7%
*-commutative55.7%
*-commutative55.7%
Simplified55.7%
Taylor expanded in a around inf 61.0%
Taylor expanded in x around inf 61.0%
associate-/l*61.0%
associate-/l*61.0%
Simplified61.0%
if -6.10000000000000003e-83 < j < -6.4999999999999999e-125 or -2.4499999999999998e-164 < j < 9.0000000000000007e-155Initial program 37.5%
Taylor expanded in y2 around inf 55.9%
if -6.4999999999999999e-125 < j < -2.4499999999999998e-164Initial program 45.5%
Taylor expanded in y1 around -inf 64.0%
associate-*r*64.0%
neg-mul-164.0%
+-commutative64.0%
mul-1-neg64.0%
unsub-neg64.0%
*-commutative64.0%
*-commutative64.0%
*-commutative64.0%
*-commutative64.0%
Simplified64.0%
Taylor expanded in y3 around -inf 73.1%
if 9.0000000000000007e-155 < j < 1.36000000000000007e-43Initial program 18.8%
Taylor expanded in k around inf 69.2%
+-commutative69.2%
mul-1-neg69.2%
unsub-neg69.2%
*-commutative69.2%
associate-*r*69.2%
neg-mul-169.2%
Simplified69.2%
Taylor expanded in z around inf 69.2%
if 1.36000000000000007e-43 < j < 2.80000000000000012e75Initial program 26.3%
Taylor expanded in y4 around inf 65.5%
if 2.80000000000000012e75 < j < 4.99999999999999954e186Initial program 14.6%
Taylor expanded in j around inf 42.9%
+-commutative42.9%
mul-1-neg42.9%
unsub-neg42.9%
*-commutative42.9%
Simplified42.9%
Taylor expanded in b around inf 71.7%
if 4.99999999999999954e186 < j Initial program 28.6%
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 i around -inf 62.9%
Final simplification62.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y (- (* y3 (- (* c y4) (* a y5))) (* b (* k y4)))))
(t_2 (- (* y1 y4) (* y0 y5)))
(t_3
(*
y2
(+
(+ (* k t_2) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4))))))
(t_4 (- (* x j) (* z k))))
(if (<= j -1.2e+143)
(* y1 (* i t_4))
(if (<= j -2.4e+120)
t_1
(if (<= j -4.6e+41)
(* y1 (* a (+ (* z y3) (- (* i (* j (/ x a))) (* x y2)))))
(if (<= j -2.5e-80)
t_1
(if (<= j -6.5e-125)
t_3
(if (<= j -9.5e-165)
(* y1 (* y3 (- (* z a) (* j y4))))
(if (<= j 1.7e-153)
t_3
(if (<= j 6e-17)
(*
k
(+
(+ (* y2 t_2) (* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1)))))
(if (<= j 1.9e+75)
(*
y4
(+
(+
(* b (- (* t j) (* y k)))
(* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= j 1.05e+186)
(* b (* j (- (* t y4) (* x y0))))
(* i (* y1 t_4))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)));
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
double t_4 = (x * j) - (z * k);
double tmp;
if (j <= -1.2e+143) {
tmp = y1 * (i * t_4);
} else if (j <= -2.4e+120) {
tmp = t_1;
} else if (j <= -4.6e+41) {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
} else if (j <= -2.5e-80) {
tmp = t_1;
} else if (j <= -6.5e-125) {
tmp = t_3;
} else if (j <= -9.5e-165) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else if (j <= 1.7e-153) {
tmp = t_3;
} else if (j <= 6e-17) {
tmp = k * (((y2 * t_2) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (j <= 1.9e+75) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (j <= 1.05e+186) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = i * (y1 * t_4);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)))
t_2 = (y1 * y4) - (y0 * y5)
t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
t_4 = (x * j) - (z * k)
if (j <= (-1.2d+143)) then
tmp = y1 * (i * t_4)
else if (j <= (-2.4d+120)) then
tmp = t_1
else if (j <= (-4.6d+41)) then
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))))
else if (j <= (-2.5d-80)) then
tmp = t_1
else if (j <= (-6.5d-125)) then
tmp = t_3
else if (j <= (-9.5d-165)) then
tmp = y1 * (y3 * ((z * a) - (j * y4)))
else if (j <= 1.7d-153) then
tmp = t_3
else if (j <= 6d-17) then
tmp = k * (((y2 * t_2) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
else if (j <= 1.9d+75) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (j <= 1.05d+186) then
tmp = b * (j * ((t * y4) - (x * y0)))
else
tmp = i * (y1 * t_4)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)));
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
double t_4 = (x * j) - (z * k);
double tmp;
if (j <= -1.2e+143) {
tmp = y1 * (i * t_4);
} else if (j <= -2.4e+120) {
tmp = t_1;
} else if (j <= -4.6e+41) {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
} else if (j <= -2.5e-80) {
tmp = t_1;
} else if (j <= -6.5e-125) {
tmp = t_3;
} else if (j <= -9.5e-165) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else if (j <= 1.7e-153) {
tmp = t_3;
} else if (j <= 6e-17) {
tmp = k * (((y2 * t_2) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
} else if (j <= 1.9e+75) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (j <= 1.05e+186) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = i * (y1 * t_4);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))) t_2 = (y1 * y4) - (y0 * y5) t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) t_4 = (x * j) - (z * k) tmp = 0 if j <= -1.2e+143: tmp = y1 * (i * t_4) elif j <= -2.4e+120: tmp = t_1 elif j <= -4.6e+41: tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))) elif j <= -2.5e-80: tmp = t_1 elif j <= -6.5e-125: tmp = t_3 elif j <= -9.5e-165: tmp = y1 * (y3 * ((z * a) - (j * y4))) elif j <= 1.7e-153: tmp = t_3 elif j <= 6e-17: tmp = k * (((y2 * t_2) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) elif j <= 1.9e+75: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif j <= 1.05e+186: tmp = b * (j * ((t * y4) - (x * y0))) else: tmp = i * (y1 * t_4) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) - Float64(b * Float64(k * y4)))) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_3 = Float64(y2 * Float64(Float64(Float64(k * t_2) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))) t_4 = Float64(Float64(x * j) - Float64(z * k)) tmp = 0.0 if (j <= -1.2e+143) tmp = Float64(y1 * Float64(i * t_4)); elseif (j <= -2.4e+120) tmp = t_1; elseif (j <= -4.6e+41) tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(i * Float64(j * Float64(x / a))) - Float64(x * y2))))); elseif (j <= -2.5e-80) tmp = t_1; elseif (j <= -6.5e-125) tmp = t_3; elseif (j <= -9.5e-165) tmp = Float64(y1 * Float64(y3 * Float64(Float64(z * a) - Float64(j * y4)))); elseif (j <= 1.7e-153) tmp = t_3; elseif (j <= 6e-17) tmp = Float64(k * Float64(Float64(Float64(y2 * t_2) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (j <= 1.9e+75) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (j <= 1.05e+186) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = Float64(i * Float64(y1 * t_4)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))); t_2 = (y1 * y4) - (y0 * y5); t_3 = y2 * (((k * t_2) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); t_4 = (x * j) - (z * k); tmp = 0.0; if (j <= -1.2e+143) tmp = y1 * (i * t_4); elseif (j <= -2.4e+120) tmp = t_1; elseif (j <= -4.6e+41) tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))); elseif (j <= -2.5e-80) tmp = t_1; elseif (j <= -6.5e-125) tmp = t_3; elseif (j <= -9.5e-165) tmp = y1 * (y3 * ((z * a) - (j * y4))); elseif (j <= 1.7e-153) tmp = t_3; elseif (j <= 6e-17) tmp = k * (((y2 * t_2) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); elseif (j <= 1.9e+75) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (j <= 1.05e+186) tmp = b * (j * ((t * y4) - (x * y0))); else tmp = i * (y1 * t_4); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y2 * N[(N[(N[(k * t$95$2), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.2e+143], N[(y1 * N[(i * t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.4e+120], t$95$1, If[LessEqual[j, -4.6e+41], N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(i * N[(j * N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.5e-80], t$95$1, If[LessEqual[j, -6.5e-125], t$95$3, If[LessEqual[j, -9.5e-165], N[(y1 * N[(y3 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.7e-153], t$95$3, If[LessEqual[j, 6e-17], N[(k * N[(N[(N[(y2 * t$95$2), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.9e+75], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.05e+186], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y1 * t$95$4), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) - b \cdot \left(k \cdot y4\right)\right)\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := y2 \cdot \left(\left(k \cdot t\_2 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_4 := x \cdot j - z \cdot k\\
\mathbf{if}\;j \leq -1.2 \cdot 10^{+143}:\\
\;\;\;\;y1 \cdot \left(i \cdot t\_4\right)\\
\mathbf{elif}\;j \leq -2.4 \cdot 10^{+120}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -4.6 \cdot 10^{+41}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(i \cdot \left(j \cdot \frac{x}{a}\right) - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;j \leq -2.5 \cdot 10^{-80}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -6.5 \cdot 10^{-125}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;j \leq -9.5 \cdot 10^{-165}:\\
\;\;\;\;y1 \cdot \left(y3 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq 1.7 \cdot 10^{-153}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;j \leq 6 \cdot 10^{-17}:\\
\;\;\;\;k \cdot \left(\left(y2 \cdot t\_2 + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 1.9 \cdot 10^{+75}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;j \leq 1.05 \cdot 10^{+186}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot t\_4\right)\\
\end{array}
\end{array}
if j < -1.1999999999999999e143Initial program 28.4%
Taylor expanded in y1 around -inf 37.8%
associate-*r*37.8%
neg-mul-137.8%
+-commutative37.8%
mul-1-neg37.8%
unsub-neg37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
Simplified37.8%
Taylor expanded in i around inf 57.3%
if -1.1999999999999999e143 < j < -2.40000000000000001e120 or -4.5999999999999997e41 < j < -2.5e-80Initial program 33.2%
Taylor expanded in y4 around inf 40.7%
*-commutative40.7%
Simplified40.7%
Taylor expanded in y around -inf 63.9%
mul-1-neg63.9%
Simplified63.9%
if -2.40000000000000001e120 < j < -4.5999999999999997e41Initial program 38.8%
Taylor expanded in y1 around -inf 55.7%
associate-*r*55.7%
neg-mul-155.7%
+-commutative55.7%
mul-1-neg55.7%
unsub-neg55.7%
*-commutative55.7%
*-commutative55.7%
*-commutative55.7%
*-commutative55.7%
Simplified55.7%
Taylor expanded in a around inf 61.0%
Taylor expanded in x around inf 61.0%
associate-/l*61.0%
associate-/l*61.0%
Simplified61.0%
if -2.5e-80 < j < -6.4999999999999999e-125 or -9.49999999999999973e-165 < j < 1.6999999999999999e-153Initial program 37.5%
Taylor expanded in y2 around inf 55.9%
if -6.4999999999999999e-125 < j < -9.49999999999999973e-165Initial program 45.5%
Taylor expanded in y1 around -inf 64.0%
associate-*r*64.0%
neg-mul-164.0%
+-commutative64.0%
mul-1-neg64.0%
unsub-neg64.0%
*-commutative64.0%
*-commutative64.0%
*-commutative64.0%
*-commutative64.0%
Simplified64.0%
Taylor expanded in y3 around -inf 73.1%
if 1.6999999999999999e-153 < j < 6.00000000000000012e-17Initial program 16.6%
Taylor expanded in k around inf 65.0%
+-commutative65.0%
mul-1-neg65.0%
unsub-neg65.0%
*-commutative65.0%
associate-*r*65.0%
neg-mul-165.0%
Simplified65.0%
if 6.00000000000000012e-17 < j < 1.9000000000000001e75Initial program 30.2%
Taylor expanded in y4 around inf 70.4%
if 1.9000000000000001e75 < j < 1.05e186Initial program 14.6%
Taylor expanded in j around inf 42.9%
+-commutative42.9%
mul-1-neg42.9%
unsub-neg42.9%
*-commutative42.9%
Simplified42.9%
Taylor expanded in b around inf 71.7%
if 1.05e186 < j Initial program 28.6%
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 i around -inf 62.9%
Final simplification62.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (- (* t j) (* y k)))))
(t_2 (- (* c y0) (* a y1)))
(t_3 (- (* y1 y4) (* y0 y5)))
(t_4 (* y1 (* a (+ (* z y3) (- (* i (* j (/ x a))) (* x y2)))))))
(if (<= x -2.8e+99)
(* y2 (+ (* k t_3) (* x t_2)))
(if (<= x -5.7e-61)
t_4
(if (<= x -2.1e-166)
(* y (- (* y3 (- (* c y4) (* a y5))) (* b (* k y4))))
(if (<= x -4.3e-185)
(* y2 (* y4 (- (* k y1) (* (* x y1) (/ a y4)))))
(if (<= x -7.4e-298)
(* (- (* k y2) (* j y3)) t_3)
(if (<= x 8e-298)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= x 2.1e-207)
t_1
(if (<= x 3e-160)
(* y5 (* y3 (* a (- (* y2 (/ t y3)) y))))
(if (<= x 9.5e-33)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= x 1.8e+104)
t_1
(if (<= x 6.2e+214) (* (* x y2) t_2) t_4)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double t_2 = (c * y0) - (a * y1);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
double tmp;
if (x <= -2.8e+99) {
tmp = y2 * ((k * t_3) + (x * t_2));
} else if (x <= -5.7e-61) {
tmp = t_4;
} else if (x <= -2.1e-166) {
tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)));
} else if (x <= -4.3e-185) {
tmp = y2 * (y4 * ((k * y1) - ((x * y1) * (a / y4))));
} else if (x <= -7.4e-298) {
tmp = ((k * y2) - (j * y3)) * t_3;
} else if (x <= 8e-298) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (x <= 2.1e-207) {
tmp = t_1;
} else if (x <= 3e-160) {
tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y)));
} else if (x <= 9.5e-33) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (x <= 1.8e+104) {
tmp = t_1;
} else if (x <= 6.2e+214) {
tmp = (x * y2) * t_2;
} else {
tmp = t_4;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
t_2 = (c * y0) - (a * y1)
t_3 = (y1 * y4) - (y0 * y5)
t_4 = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))))
if (x <= (-2.8d+99)) then
tmp = y2 * ((k * t_3) + (x * t_2))
else if (x <= (-5.7d-61)) then
tmp = t_4
else if (x <= (-2.1d-166)) then
tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)))
else if (x <= (-4.3d-185)) then
tmp = y2 * (y4 * ((k * y1) - ((x * y1) * (a / y4))))
else if (x <= (-7.4d-298)) then
tmp = ((k * y2) - (j * y3)) * t_3
else if (x <= 8d-298) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (x <= 2.1d-207) then
tmp = t_1
else if (x <= 3d-160) then
tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y)))
else if (x <= 9.5d-33) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (x <= 1.8d+104) then
tmp = t_1
else if (x <= 6.2d+214) then
tmp = (x * y2) * t_2
else
tmp = t_4
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double t_2 = (c * y0) - (a * y1);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
double tmp;
if (x <= -2.8e+99) {
tmp = y2 * ((k * t_3) + (x * t_2));
} else if (x <= -5.7e-61) {
tmp = t_4;
} else if (x <= -2.1e-166) {
tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)));
} else if (x <= -4.3e-185) {
tmp = y2 * (y4 * ((k * y1) - ((x * y1) * (a / y4))));
} else if (x <= -7.4e-298) {
tmp = ((k * y2) - (j * y3)) * t_3;
} else if (x <= 8e-298) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (x <= 2.1e-207) {
tmp = t_1;
} else if (x <= 3e-160) {
tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y)));
} else if (x <= 9.5e-33) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (x <= 1.8e+104) {
tmp = t_1;
} else if (x <= 6.2e+214) {
tmp = (x * y2) * t_2;
} else {
tmp = t_4;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) t_2 = (c * y0) - (a * y1) t_3 = (y1 * y4) - (y0 * y5) t_4 = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))) tmp = 0 if x <= -2.8e+99: tmp = y2 * ((k * t_3) + (x * t_2)) elif x <= -5.7e-61: tmp = t_4 elif x <= -2.1e-166: tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))) elif x <= -4.3e-185: tmp = y2 * (y4 * ((k * y1) - ((x * y1) * (a / y4)))) elif x <= -7.4e-298: tmp = ((k * y2) - (j * y3)) * t_3 elif x <= 8e-298: tmp = c * (y4 * ((y * y3) - (t * y2))) elif x <= 2.1e-207: tmp = t_1 elif x <= 3e-160: tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y))) elif x <= 9.5e-33: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif x <= 1.8e+104: tmp = t_1 elif x <= 6.2e+214: tmp = (x * y2) * t_2 else: tmp = t_4 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_4 = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(i * Float64(j * Float64(x / a))) - Float64(x * y2))))) tmp = 0.0 if (x <= -2.8e+99) tmp = Float64(y2 * Float64(Float64(k * t_3) + Float64(x * t_2))); elseif (x <= -5.7e-61) tmp = t_4; elseif (x <= -2.1e-166) tmp = Float64(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) - Float64(b * Float64(k * y4)))); elseif (x <= -4.3e-185) tmp = Float64(y2 * Float64(y4 * Float64(Float64(k * y1) - Float64(Float64(x * y1) * Float64(a / y4))))); elseif (x <= -7.4e-298) tmp = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_3); elseif (x <= 8e-298) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (x <= 2.1e-207) tmp = t_1; elseif (x <= 3e-160) tmp = Float64(y5 * Float64(y3 * Float64(a * Float64(Float64(y2 * Float64(t / y3)) - y)))); elseif (x <= 9.5e-33) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (x <= 1.8e+104) tmp = t_1; elseif (x <= 6.2e+214) tmp = Float64(Float64(x * y2) * t_2); else tmp = t_4; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y4 * ((t * j) - (y * k))); t_2 = (c * y0) - (a * y1); t_3 = (y1 * y4) - (y0 * y5); t_4 = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))); tmp = 0.0; if (x <= -2.8e+99) tmp = y2 * ((k * t_3) + (x * t_2)); elseif (x <= -5.7e-61) tmp = t_4; elseif (x <= -2.1e-166) tmp = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))); elseif (x <= -4.3e-185) tmp = y2 * (y4 * ((k * y1) - ((x * y1) * (a / y4)))); elseif (x <= -7.4e-298) tmp = ((k * y2) - (j * y3)) * t_3; elseif (x <= 8e-298) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (x <= 2.1e-207) tmp = t_1; elseif (x <= 3e-160) tmp = y5 * (y3 * (a * ((y2 * (t / y3)) - y))); elseif (x <= 9.5e-33) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (x <= 1.8e+104) tmp = t_1; elseif (x <= 6.2e+214) tmp = (x * y2) * t_2; else tmp = t_4; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(i * N[(j * N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.8e+99], N[(y2 * N[(N[(k * t$95$3), $MachinePrecision] + N[(x * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.7e-61], t$95$4, If[LessEqual[x, -2.1e-166], N[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4.3e-185], N[(y2 * N[(y4 * N[(N[(k * y1), $MachinePrecision] - N[(N[(x * y1), $MachinePrecision] * N[(a / y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -7.4e-298], N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$3), $MachinePrecision], If[LessEqual[x, 8e-298], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.1e-207], t$95$1, If[LessEqual[x, 3e-160], N[(y5 * N[(y3 * N[(a * N[(N[(y2 * N[(t / y3), $MachinePrecision]), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 9.5e-33], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.8e+104], t$95$1, If[LessEqual[x, 6.2e+214], N[(N[(x * y2), $MachinePrecision] * t$95$2), $MachinePrecision], t$95$4]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := y1 \cdot y4 - y0 \cdot y5\\
t_4 := y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(i \cdot \left(j \cdot \frac{x}{a}\right) - x \cdot y2\right)\right)\right)\\
\mathbf{if}\;x \leq -2.8 \cdot 10^{+99}:\\
\;\;\;\;y2 \cdot \left(k \cdot t\_3 + x \cdot t\_2\right)\\
\mathbf{elif}\;x \leq -5.7 \cdot 10^{-61}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;x \leq -2.1 \cdot 10^{-166}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) - b \cdot \left(k \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq -4.3 \cdot 10^{-185}:\\
\;\;\;\;y2 \cdot \left(y4 \cdot \left(k \cdot y1 - \left(x \cdot y1\right) \cdot \frac{a}{y4}\right)\right)\\
\mathbf{elif}\;x \leq -7.4 \cdot 10^{-298}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t\_3\\
\mathbf{elif}\;x \leq 8 \cdot 10^{-298}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 2.1 \cdot 10^{-207}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 3 \cdot 10^{-160}:\\
\;\;\;\;y5 \cdot \left(y3 \cdot \left(a \cdot \left(y2 \cdot \frac{t}{y3} - y\right)\right)\right)\\
\mathbf{elif}\;x \leq 9.5 \cdot 10^{-33}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;x \leq 1.8 \cdot 10^{+104}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 6.2 \cdot 10^{+214}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_4\\
\end{array}
\end{array}
if x < -2.8e99Initial program 26.3%
Taylor expanded in x around inf 50.3%
Taylor expanded in y2 around inf 58.6%
if -2.8e99 < x < -5.70000000000000005e-61 or 6.19999999999999957e214 < x Initial program 35.3%
Taylor expanded in y1 around -inf 52.3%
associate-*r*52.3%
neg-mul-152.3%
+-commutative52.3%
mul-1-neg52.3%
unsub-neg52.3%
*-commutative52.3%
*-commutative52.3%
*-commutative52.3%
*-commutative52.3%
Simplified52.3%
Taylor expanded in a around inf 54.1%
Taylor expanded in x around inf 60.0%
associate-/l*61.8%
associate-/l*63.8%
Simplified63.8%
if -5.70000000000000005e-61 < x < -2.0999999999999999e-166Initial program 22.7%
Taylor expanded in y4 around inf 35.2%
*-commutative35.2%
Simplified35.2%
Taylor expanded in y around -inf 61.8%
mul-1-neg61.8%
Simplified61.8%
if -2.0999999999999999e-166 < x < -4.3000000000000001e-185Initial program 66.1%
Taylor expanded in x around inf 33.3%
Taylor expanded in y2 around inf 66.2%
Taylor expanded in y1 around inf 67.6%
+-commutative67.6%
mul-1-neg67.6%
unsub-neg67.6%
Simplified67.6%
Taylor expanded in y4 around inf 67.6%
+-commutative67.6%
mul-1-neg67.6%
unsub-neg67.6%
*-commutative67.6%
*-commutative67.6%
associate-/l*99.5%
Simplified99.5%
if -4.3000000000000001e-185 < x < -7.3999999999999996e-298Initial program 39.1%
Taylor expanded in x around inf 30.7%
Taylor expanded in x around 0 56.9%
if -7.3999999999999996e-298 < x < 7.9999999999999993e-298Initial program 33.3%
Taylor expanded in y4 around inf 50.0%
*-commutative50.0%
Simplified50.0%
Taylor expanded in c around inf 60.8%
if 7.9999999999999993e-298 < x < 2.10000000000000003e-207 or 9.50000000000000019e-33 < x < 1.8e104Initial program 28.1%
Taylor expanded in y4 around inf 34.9%
*-commutative34.9%
Simplified34.9%
Taylor expanded in b around inf 56.1%
if 2.10000000000000003e-207 < x < 2.99999999999999997e-160Initial program 39.2%
Taylor expanded in y4 around inf 16.4%
*-commutative16.4%
Simplified16.4%
Taylor expanded in a around inf 32.8%
Taylor expanded in y3 around inf 17.5%
+-commutative17.5%
mul-1-neg17.5%
unsub-neg17.5%
associate-/l*17.6%
associate-/l*25.3%
Simplified25.3%
Taylor expanded in y5 around 0 32.2%
*-commutative32.2%
associate-*l*39.5%
associate-/l*39.5%
distribute-lft-out--47.2%
*-commutative47.2%
associate-/l*54.9%
Simplified54.9%
if 2.99999999999999997e-160 < x < 9.50000000000000019e-33Initial program 38.2%
Taylor expanded in k around inf 43.8%
+-commutative43.8%
mul-1-neg43.8%
unsub-neg43.8%
*-commutative43.8%
associate-*r*43.8%
neg-mul-143.8%
Simplified43.8%
Taylor expanded in y4 around inf 48.9%
if 1.8e104 < x < 6.19999999999999957e214Initial program 18.8%
Taylor expanded in x around inf 34.4%
Taylor expanded in y2 around inf 30.1%
Taylor expanded in k around 0 41.5%
associate-*r*48.6%
*-commutative48.6%
Simplified48.6%
Final simplification57.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x j) (* z k)))
(t_2 (* i t_1))
(t_3 (* y (- (* y3 (- (* c y4) (* a y5))) (* b (* k y4)))))
(t_4 (- (* a y5) (* c y4)))
(t_5
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t t_4)))))
(if (<= j -3.4e+142)
(* y1 t_2)
(if (<= j -5.2e+120)
t_3
(if (<= j -6e+41)
(* y1 (* a (+ (* z y3) (- (* i (* j (/ x a))) (* x y2)))))
(if (<= j -7.7e-78)
t_3
(if (<= j -6.5e-125)
t_5
(if (<= j -2.6e-164)
(* y1 (* y3 (- (* z a) (* j y4))))
(if (<= j 7.5e-155)
t_5
(if (<= j 6.2e-39)
(* k (* z (- (* b y0) (* i y1))))
(if (<= j 8.8e+19)
(* t (+ (* y4 (* b j)) (* y2 t_4)))
(if (<= j 2.5e+70)
(* y1 (+ (* y4 (- (* k y2) (* j y3))) t_2))
(if (<= j 5.8e+187)
(* b (* y4 (- (* t j) (* y k))))
(* i (* y1 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 = (x * j) - (z * k);
double t_2 = i * t_1;
double t_3 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)));
double t_4 = (a * y5) - (c * y4);
double t_5 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * t_4));
double tmp;
if (j <= -3.4e+142) {
tmp = y1 * t_2;
} else if (j <= -5.2e+120) {
tmp = t_3;
} else if (j <= -6e+41) {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
} else if (j <= -7.7e-78) {
tmp = t_3;
} else if (j <= -6.5e-125) {
tmp = t_5;
} else if (j <= -2.6e-164) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else if (j <= 7.5e-155) {
tmp = t_5;
} else if (j <= 6.2e-39) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (j <= 8.8e+19) {
tmp = t * ((y4 * (b * j)) + (y2 * t_4));
} else if (j <= 2.5e+70) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + t_2);
} else if (j <= 5.8e+187) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = i * (y1 * 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) :: t_5
real(8) :: tmp
t_1 = (x * j) - (z * k)
t_2 = i * t_1
t_3 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)))
t_4 = (a * y5) - (c * y4)
t_5 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * t_4))
if (j <= (-3.4d+142)) then
tmp = y1 * t_2
else if (j <= (-5.2d+120)) then
tmp = t_3
else if (j <= (-6d+41)) then
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))))
else if (j <= (-7.7d-78)) then
tmp = t_3
else if (j <= (-6.5d-125)) then
tmp = t_5
else if (j <= (-2.6d-164)) then
tmp = y1 * (y3 * ((z * a) - (j * y4)))
else if (j <= 7.5d-155) then
tmp = t_5
else if (j <= 6.2d-39) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (j <= 8.8d+19) then
tmp = t * ((y4 * (b * j)) + (y2 * t_4))
else if (j <= 2.5d+70) then
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + t_2)
else if (j <= 5.8d+187) then
tmp = b * (y4 * ((t * j) - (y * k)))
else
tmp = i * (y1 * 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 = (x * j) - (z * k);
double t_2 = i * t_1;
double t_3 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4)));
double t_4 = (a * y5) - (c * y4);
double t_5 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * t_4));
double tmp;
if (j <= -3.4e+142) {
tmp = y1 * t_2;
} else if (j <= -5.2e+120) {
tmp = t_3;
} else if (j <= -6e+41) {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
} else if (j <= -7.7e-78) {
tmp = t_3;
} else if (j <= -6.5e-125) {
tmp = t_5;
} else if (j <= -2.6e-164) {
tmp = y1 * (y3 * ((z * a) - (j * y4)));
} else if (j <= 7.5e-155) {
tmp = t_5;
} else if (j <= 6.2e-39) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (j <= 8.8e+19) {
tmp = t * ((y4 * (b * j)) + (y2 * t_4));
} else if (j <= 2.5e+70) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + t_2);
} else if (j <= 5.8e+187) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = i * (y1 * t_1);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * j) - (z * k) t_2 = i * t_1 t_3 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))) t_4 = (a * y5) - (c * y4) t_5 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * t_4)) tmp = 0 if j <= -3.4e+142: tmp = y1 * t_2 elif j <= -5.2e+120: tmp = t_3 elif j <= -6e+41: tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))) elif j <= -7.7e-78: tmp = t_3 elif j <= -6.5e-125: tmp = t_5 elif j <= -2.6e-164: tmp = y1 * (y3 * ((z * a) - (j * y4))) elif j <= 7.5e-155: tmp = t_5 elif j <= 6.2e-39: tmp = k * (z * ((b * y0) - (i * y1))) elif j <= 8.8e+19: tmp = t * ((y4 * (b * j)) + (y2 * t_4)) elif j <= 2.5e+70: tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + t_2) elif j <= 5.8e+187: tmp = b * (y4 * ((t * j) - (y * k))) else: tmp = i * (y1 * 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(x * j) - Float64(z * k)) t_2 = Float64(i * t_1) t_3 = Float64(y * Float64(Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))) - Float64(b * Float64(k * y4)))) t_4 = Float64(Float64(a * y5) - Float64(c * y4)) t_5 = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * t_4))) tmp = 0.0 if (j <= -3.4e+142) tmp = Float64(y1 * t_2); elseif (j <= -5.2e+120) tmp = t_3; elseif (j <= -6e+41) tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(i * Float64(j * Float64(x / a))) - Float64(x * y2))))); elseif (j <= -7.7e-78) tmp = t_3; elseif (j <= -6.5e-125) tmp = t_5; elseif (j <= -2.6e-164) tmp = Float64(y1 * Float64(y3 * Float64(Float64(z * a) - Float64(j * y4)))); elseif (j <= 7.5e-155) tmp = t_5; elseif (j <= 6.2e-39) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (j <= 8.8e+19) tmp = Float64(t * Float64(Float64(y4 * Float64(b * j)) + Float64(y2 * t_4))); elseif (j <= 2.5e+70) tmp = Float64(y1 * Float64(Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) + t_2)); elseif (j <= 5.8e+187) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); else tmp = Float64(i * Float64(y1 * 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 = (x * j) - (z * k); t_2 = i * t_1; t_3 = y * ((y3 * ((c * y4) - (a * y5))) - (b * (k * y4))); t_4 = (a * y5) - (c * y4); t_5 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * t_4)); tmp = 0.0; if (j <= -3.4e+142) tmp = y1 * t_2; elseif (j <= -5.2e+120) tmp = t_3; elseif (j <= -6e+41) tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))); elseif (j <= -7.7e-78) tmp = t_3; elseif (j <= -6.5e-125) tmp = t_5; elseif (j <= -2.6e-164) tmp = y1 * (y3 * ((z * a) - (j * y4))); elseif (j <= 7.5e-155) tmp = t_5; elseif (j <= 6.2e-39) tmp = k * (z * ((b * y0) - (i * y1))); elseif (j <= 8.8e+19) tmp = t * ((y4 * (b * j)) + (y2 * t_4)); elseif (j <= 2.5e+70) tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + t_2); elseif (j <= 5.8e+187) tmp = b * (y4 * ((t * j) - (y * k))); else tmp = i * (y1 * 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[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(y * N[(N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = 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 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.4e+142], N[(y1 * t$95$2), $MachinePrecision], If[LessEqual[j, -5.2e+120], t$95$3, If[LessEqual[j, -6e+41], N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(i * N[(j * N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -7.7e-78], t$95$3, If[LessEqual[j, -6.5e-125], t$95$5, If[LessEqual[j, -2.6e-164], N[(y1 * N[(y3 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 7.5e-155], t$95$5, If[LessEqual[j, 6.2e-39], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 8.8e+19], N[(t * N[(N[(y4 * N[(b * j), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.5e+70], N[(y1 * N[(N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.8e+187], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot j - z \cdot k\\
t_2 := i \cdot t\_1\\
t_3 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right) - b \cdot \left(k \cdot y4\right)\right)\\
t_4 := a \cdot y5 - c \cdot y4\\
t_5 := 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 t\_4\right)\\
\mathbf{if}\;j \leq -3.4 \cdot 10^{+142}:\\
\;\;\;\;y1 \cdot t\_2\\
\mathbf{elif}\;j \leq -5.2 \cdot 10^{+120}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;j \leq -6 \cdot 10^{+41}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(i \cdot \left(j \cdot \frac{x}{a}\right) - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;j \leq -7.7 \cdot 10^{-78}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;j \leq -6.5 \cdot 10^{-125}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;j \leq -2.6 \cdot 10^{-164}:\\
\;\;\;\;y1 \cdot \left(y3 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq 7.5 \cdot 10^{-155}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;j \leq 6.2 \cdot 10^{-39}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 8.8 \cdot 10^{+19}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right) + y2 \cdot t\_4\right)\\
\mathbf{elif}\;j \leq 2.5 \cdot 10^{+70}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) + t\_2\right)\\
\mathbf{elif}\;j \leq 5.8 \cdot 10^{+187}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot t\_1\right)\\
\end{array}
\end{array}
if j < -3.3999999999999998e142Initial program 28.4%
Taylor expanded in y1 around -inf 37.8%
associate-*r*37.8%
neg-mul-137.8%
+-commutative37.8%
mul-1-neg37.8%
unsub-neg37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
Simplified37.8%
Taylor expanded in i around inf 57.3%
if -3.3999999999999998e142 < j < -5.1999999999999998e120 or -5.9999999999999997e41 < j < -7.7000000000000001e-78Initial program 33.2%
Taylor expanded in y4 around inf 40.7%
*-commutative40.7%
Simplified40.7%
Taylor expanded in y around -inf 63.9%
mul-1-neg63.9%
Simplified63.9%
if -5.1999999999999998e120 < j < -5.9999999999999997e41Initial program 38.8%
Taylor expanded in y1 around -inf 55.7%
associate-*r*55.7%
neg-mul-155.7%
+-commutative55.7%
mul-1-neg55.7%
unsub-neg55.7%
*-commutative55.7%
*-commutative55.7%
*-commutative55.7%
*-commutative55.7%
Simplified55.7%
Taylor expanded in a around inf 61.0%
Taylor expanded in x around inf 61.0%
associate-/l*61.0%
associate-/l*61.0%
Simplified61.0%
if -7.7000000000000001e-78 < j < -6.4999999999999999e-125 or -2.6000000000000002e-164 < j < 7.5000000000000006e-155Initial program 37.5%
Taylor expanded in y2 around inf 55.9%
if -6.4999999999999999e-125 < j < -2.6000000000000002e-164Initial program 45.5%
Taylor expanded in y1 around -inf 64.0%
associate-*r*64.0%
neg-mul-164.0%
+-commutative64.0%
mul-1-neg64.0%
unsub-neg64.0%
*-commutative64.0%
*-commutative64.0%
*-commutative64.0%
*-commutative64.0%
Simplified64.0%
Taylor expanded in y3 around -inf 73.1%
if 7.5000000000000006e-155 < j < 6.1999999999999994e-39Initial program 18.8%
Taylor expanded in k around inf 69.2%
+-commutative69.2%
mul-1-neg69.2%
unsub-neg69.2%
*-commutative69.2%
associate-*r*69.2%
neg-mul-169.2%
Simplified69.2%
Taylor expanded in z around inf 69.2%
if 6.1999999999999994e-39 < j < 8.8e19Initial program 19.8%
Taylor expanded in y4 around inf 50.0%
*-commutative50.0%
Simplified50.0%
Taylor expanded in t around inf 60.6%
associate-*r*60.6%
Simplified60.6%
if 8.8e19 < j < 2.5000000000000001e70Initial program 27.8%
Taylor expanded in y1 around -inf 63.6%
associate-*r*63.6%
neg-mul-163.6%
+-commutative63.6%
mul-1-neg63.6%
unsub-neg63.6%
*-commutative63.6%
*-commutative63.6%
*-commutative63.6%
*-commutative63.6%
Simplified63.6%
Taylor expanded in a around 0 63.8%
if 2.5000000000000001e70 < j < 5.8000000000000002e187Initial program 17.7%
Taylor expanded in y4 around inf 30.7%
*-commutative30.7%
Simplified30.7%
Taylor expanded in b around inf 69.9%
if 5.8000000000000002e187 < j Initial program 28.6%
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 i around -inf 62.9%
Final simplification61.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (- (* t j) (* y k)))))
(t_2 (- (* k y2) (* j y3)))
(t_3 (- (* y1 y4) (* y0 y5)))
(t_4 (+ (* k t_3) (* x (- (* c y0) (* a y1))))))
(if (<= x -7.6e+104)
(* y2 t_4)
(if (<= x -1.95e-84)
(* y1 (* a (+ (* z y3) (- (* i (* j (/ x a))) (* x y2)))))
(if (<= x -2.8e-185)
(* y2 (+ t_4 (* t (- (* a y5) (* c y4)))))
(if (<= x -4.5e-297)
(* t_2 t_3)
(if (<= x 7.5e-298)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= x 2.65e-208)
t_1
(if (<= x 1.4e-173)
(* b (* k (- (* z y0) (* y y4))))
(if (<= x 5.8e+40)
(*
y1
(+
(* i (- (* x j) (* z k)))
(- (* y4 t_2) (* a (- (* x y2) (* z y3))))))
(if (<= x 4.7e+112)
t_1
(* a (* (- (* i (/ j a)) y2) (* x y1))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double t_2 = (k * y2) - (j * y3);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = (k * t_3) + (x * ((c * y0) - (a * y1)));
double tmp;
if (x <= -7.6e+104) {
tmp = y2 * t_4;
} else if (x <= -1.95e-84) {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
} else if (x <= -2.8e-185) {
tmp = y2 * (t_4 + (t * ((a * y5) - (c * y4))));
} else if (x <= -4.5e-297) {
tmp = t_2 * t_3;
} else if (x <= 7.5e-298) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (x <= 2.65e-208) {
tmp = t_1;
} else if (x <= 1.4e-173) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (x <= 5.8e+40) {
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) - (a * ((x * y2) - (z * y3)))));
} else if (x <= 4.7e+112) {
tmp = t_1;
} else {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
t_2 = (k * y2) - (j * y3)
t_3 = (y1 * y4) - (y0 * y5)
t_4 = (k * t_3) + (x * ((c * y0) - (a * y1)))
if (x <= (-7.6d+104)) then
tmp = y2 * t_4
else if (x <= (-1.95d-84)) then
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))))
else if (x <= (-2.8d-185)) then
tmp = y2 * (t_4 + (t * ((a * y5) - (c * y4))))
else if (x <= (-4.5d-297)) then
tmp = t_2 * t_3
else if (x <= 7.5d-298) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (x <= 2.65d-208) then
tmp = t_1
else if (x <= 1.4d-173) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (x <= 5.8d+40) then
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) - (a * ((x * y2) - (z * y3)))))
else if (x <= 4.7d+112) then
tmp = t_1
else
tmp = a * (((i * (j / a)) - y2) * (x * y1))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double t_2 = (k * y2) - (j * y3);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = (k * t_3) + (x * ((c * y0) - (a * y1)));
double tmp;
if (x <= -7.6e+104) {
tmp = y2 * t_4;
} else if (x <= -1.95e-84) {
tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2))));
} else if (x <= -2.8e-185) {
tmp = y2 * (t_4 + (t * ((a * y5) - (c * y4))));
} else if (x <= -4.5e-297) {
tmp = t_2 * t_3;
} else if (x <= 7.5e-298) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (x <= 2.65e-208) {
tmp = t_1;
} else if (x <= 1.4e-173) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (x <= 5.8e+40) {
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) - (a * ((x * y2) - (z * y3)))));
} else if (x <= 4.7e+112) {
tmp = t_1;
} else {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) t_2 = (k * y2) - (j * y3) t_3 = (y1 * y4) - (y0 * y5) t_4 = (k * t_3) + (x * ((c * y0) - (a * y1))) tmp = 0 if x <= -7.6e+104: tmp = y2 * t_4 elif x <= -1.95e-84: tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))) elif x <= -2.8e-185: tmp = y2 * (t_4 + (t * ((a * y5) - (c * y4)))) elif x <= -4.5e-297: tmp = t_2 * t_3 elif x <= 7.5e-298: tmp = c * (y4 * ((y * y3) - (t * y2))) elif x <= 2.65e-208: tmp = t_1 elif x <= 1.4e-173: tmp = b * (k * ((z * y0) - (y * y4))) elif x <= 5.8e+40: tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) - (a * ((x * y2) - (z * y3))))) elif x <= 4.7e+112: tmp = t_1 else: tmp = a * (((i * (j / a)) - y2) * (x * y1)) 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(y4 * Float64(Float64(t * j) - Float64(y * k)))) t_2 = Float64(Float64(k * y2) - Float64(j * y3)) t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_4 = Float64(Float64(k * t_3) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) tmp = 0.0 if (x <= -7.6e+104) tmp = Float64(y2 * t_4); elseif (x <= -1.95e-84) tmp = Float64(y1 * Float64(a * Float64(Float64(z * y3) + Float64(Float64(i * Float64(j * Float64(x / a))) - Float64(x * y2))))); elseif (x <= -2.8e-185) tmp = Float64(y2 * Float64(t_4 + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (x <= -4.5e-297) tmp = Float64(t_2 * t_3); elseif (x <= 7.5e-298) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (x <= 2.65e-208) tmp = t_1; elseif (x <= 1.4e-173) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (x <= 5.8e+40) tmp = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y4 * t_2) - Float64(a * Float64(Float64(x * y2) - Float64(z * y3)))))); elseif (x <= 4.7e+112) tmp = t_1; else tmp = Float64(a * Float64(Float64(Float64(i * Float64(j / a)) - y2) * Float64(x * y1))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y4 * ((t * j) - (y * k))); t_2 = (k * y2) - (j * y3); t_3 = (y1 * y4) - (y0 * y5); t_4 = (k * t_3) + (x * ((c * y0) - (a * y1))); tmp = 0.0; if (x <= -7.6e+104) tmp = y2 * t_4; elseif (x <= -1.95e-84) tmp = y1 * (a * ((z * y3) + ((i * (j * (x / a))) - (x * y2)))); elseif (x <= -2.8e-185) tmp = y2 * (t_4 + (t * ((a * y5) - (c * y4)))); elseif (x <= -4.5e-297) tmp = t_2 * t_3; elseif (x <= 7.5e-298) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (x <= 2.65e-208) tmp = t_1; elseif (x <= 1.4e-173) tmp = b * (k * ((z * y0) - (y * y4))); elseif (x <= 5.8e+40) tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) - (a * ((x * y2) - (z * y3))))); elseif (x <= 4.7e+112) tmp = t_1; else tmp = a * (((i * (j / a)) - y2) * (x * y1)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * t$95$3), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -7.6e+104], N[(y2 * t$95$4), $MachinePrecision], If[LessEqual[x, -1.95e-84], N[(y1 * N[(a * N[(N[(z * y3), $MachinePrecision] + N[(N[(i * N[(j * N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.8e-185], N[(y2 * N[(t$95$4 + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4.5e-297], N[(t$95$2 * t$95$3), $MachinePrecision], If[LessEqual[x, 7.5e-298], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.65e-208], t$95$1, If[LessEqual[x, 1.4e-173], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.8e+40], N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y4 * t$95$2), $MachinePrecision] - N[(a * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.7e+112], t$95$1, N[(a * N[(N[(N[(i * N[(j / a), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision] * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
t_2 := k \cdot y2 - j \cdot y3\\
t_3 := y1 \cdot y4 - y0 \cdot y5\\
t_4 := k \cdot t\_3 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{if}\;x \leq -7.6 \cdot 10^{+104}:\\
\;\;\;\;y2 \cdot t\_4\\
\mathbf{elif}\;x \leq -1.95 \cdot 10^{-84}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 + \left(i \cdot \left(j \cdot \frac{x}{a}\right) - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;x \leq -2.8 \cdot 10^{-185}:\\
\;\;\;\;y2 \cdot \left(t\_4 + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq -4.5 \cdot 10^{-297}:\\
\;\;\;\;t\_2 \cdot t\_3\\
\mathbf{elif}\;x \leq 7.5 \cdot 10^{-298}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 2.65 \cdot 10^{-208}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 1.4 \cdot 10^{-173}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 5.8 \cdot 10^{+40}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t\_2 - a \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\right)\\
\mathbf{elif}\;x \leq 4.7 \cdot 10^{+112}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(i \cdot \frac{j}{a} - y2\right) \cdot \left(x \cdot y1\right)\right)\\
\end{array}
\end{array}
if x < -7.59999999999999938e104Initial program 26.3%
Taylor expanded in x around inf 50.3%
Taylor expanded in y2 around inf 58.6%
if -7.59999999999999938e104 < x < -1.95000000000000011e-84Initial program 36.7%
Taylor expanded in y1 around -inf 61.5%
associate-*r*61.5%
neg-mul-161.5%
+-commutative61.5%
mul-1-neg61.5%
unsub-neg61.5%
*-commutative61.5%
*-commutative61.5%
*-commutative61.5%
*-commutative61.5%
Simplified61.5%
Taylor expanded in a around inf 61.4%
Taylor expanded in x around inf 66.7%
associate-/l*69.1%
associate-/l*69.1%
Simplified69.1%
if -1.95000000000000011e-84 < x < -2.79999999999999991e-185Initial program 31.7%
Taylor expanded in y2 around inf 63.3%
if -2.79999999999999991e-185 < x < -4.49999999999999975e-297Initial program 39.1%
Taylor expanded in x around inf 30.7%
Taylor expanded in x around 0 56.9%
if -4.49999999999999975e-297 < x < 7.49999999999999987e-298Initial program 33.3%
Taylor expanded in y4 around inf 50.0%
*-commutative50.0%
Simplified50.0%
Taylor expanded in c around inf 60.8%
if 7.49999999999999987e-298 < x < 2.64999999999999991e-208 or 5.80000000000000035e40 < x < 4.69999999999999997e112Initial program 19.4%
Taylor expanded in y4 around inf 35.5%
*-commutative35.5%
Simplified35.5%
Taylor expanded in b around inf 66.8%
if 2.64999999999999991e-208 < x < 1.39999999999999995e-173Initial program 30.9%
Taylor expanded in k around inf 31.1%
+-commutative31.1%
mul-1-neg31.1%
unsub-neg31.1%
*-commutative31.1%
associate-*r*31.1%
neg-mul-131.1%
Simplified31.1%
Taylor expanded in b around -inf 51.2%
if 1.39999999999999995e-173 < x < 5.80000000000000035e40Initial program 42.9%
Taylor expanded in y1 around -inf 55.2%
associate-*r*55.2%
neg-mul-155.2%
+-commutative55.2%
mul-1-neg55.2%
unsub-neg55.2%
*-commutative55.2%
*-commutative55.2%
*-commutative55.2%
*-commutative55.2%
Simplified55.2%
if 4.69999999999999997e112 < x Initial program 21.6%
Taylor expanded in y1 around -inf 38.5%
associate-*r*38.5%
neg-mul-138.5%
+-commutative38.5%
mul-1-neg38.5%
unsub-neg38.5%
*-commutative38.5%
*-commutative38.5%
*-commutative38.5%
*-commutative38.5%
Simplified38.5%
Taylor expanded in a around inf 43.4%
Taylor expanded in x around -inf 46.4%
associate-*r*48.7%
*-commutative48.7%
+-commutative48.7%
mul-1-neg48.7%
unsub-neg48.7%
associate-/l*48.7%
Simplified48.7%
Final simplification59.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (- (* t j) (* y k))))))
(if (<= k -2.8e+86)
t_1
(if (<= k -5.1e-70)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= k -2.4e-255)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= k 3e-88)
(* a (* (- (* i (/ j a)) y2) (* x y1)))
(if (<= k 1.2e-46)
t_1
(if (<= k 2.7e+17)
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5)))
(if (<= k 2.9e+104)
(* t (+ (* y4 (* b j)) (* y2 (- (* a y5) (* c y4)))))
(* y1 (* y2 (- (* k y4) (* x a)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (k <= -2.8e+86) {
tmp = t_1;
} else if (k <= -5.1e-70) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (k <= -2.4e-255) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (k <= 3e-88) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (k <= 1.2e-46) {
tmp = t_1;
} else if (k <= 2.7e+17) {
tmp = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
} else if (k <= 2.9e+104) {
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))));
} else {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
if (k <= (-2.8d+86)) then
tmp = t_1
else if (k <= (-5.1d-70)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (k <= (-2.4d-255)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (k <= 3d-88) then
tmp = a * (((i * (j / a)) - y2) * (x * y1))
else if (k <= 1.2d-46) then
tmp = t_1
else if (k <= 2.7d+17) then
tmp = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))
else if (k <= 2.9d+104) then
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))))
else
tmp = y1 * (y2 * ((k * y4) - (x * a)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (k <= -2.8e+86) {
tmp = t_1;
} else if (k <= -5.1e-70) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (k <= -2.4e-255) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (k <= 3e-88) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (k <= 1.2e-46) {
tmp = t_1;
} else if (k <= 2.7e+17) {
tmp = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5));
} else if (k <= 2.9e+104) {
tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4))));
} else {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) tmp = 0 if k <= -2.8e+86: tmp = t_1 elif k <= -5.1e-70: tmp = x * (y1 * ((i * j) - (a * y2))) elif k <= -2.4e-255: tmp = x * (y2 * ((c * y0) - (a * y1))) elif k <= 3e-88: tmp = a * (((i * (j / a)) - y2) * (x * y1)) elif k <= 1.2e-46: tmp = t_1 elif k <= 2.7e+17: tmp = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)) elif k <= 2.9e+104: tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4)))) else: tmp = y1 * (y2 * ((k * y4) - (x * a))) 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(y4 * Float64(Float64(t * j) - Float64(y * k)))) tmp = 0.0 if (k <= -2.8e+86) tmp = t_1; elseif (k <= -5.1e-70) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (k <= -2.4e-255) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (k <= 3e-88) tmp = Float64(a * Float64(Float64(Float64(i * Float64(j / a)) - y2) * Float64(x * y1))); elseif (k <= 1.2e-46) tmp = t_1; elseif (k <= 2.7e+17) tmp = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5))); elseif (k <= 2.9e+104) tmp = Float64(t * Float64(Float64(y4 * Float64(b * j)) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); else tmp = Float64(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * a)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y4 * ((t * j) - (y * k))); tmp = 0.0; if (k <= -2.8e+86) tmp = t_1; elseif (k <= -5.1e-70) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (k <= -2.4e-255) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (k <= 3e-88) tmp = a * (((i * (j / a)) - y2) * (x * y1)); elseif (k <= 1.2e-46) tmp = t_1; elseif (k <= 2.7e+17) tmp = ((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)); elseif (k <= 2.9e+104) tmp = t * ((y4 * (b * j)) + (y2 * ((a * y5) - (c * y4)))); else tmp = y1 * (y2 * ((k * y4) - (x * a))); 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[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -2.8e+86], t$95$1, If[LessEqual[k, -5.1e-70], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -2.4e-255], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 3e-88], N[(a * N[(N[(N[(i * N[(j / a), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision] * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.2e-46], t$95$1, If[LessEqual[k, 2.7e+17], N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.9e+104], 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], N[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{if}\;k \leq -2.8 \cdot 10^{+86}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -5.1 \cdot 10^{-70}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -2.4 \cdot 10^{-255}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;k \leq 3 \cdot 10^{-88}:\\
\;\;\;\;a \cdot \left(\left(i \cdot \frac{j}{a} - y2\right) \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;k \leq 1.2 \cdot 10^{-46}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 2.7 \cdot 10^{+17}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{elif}\;k \leq 2.9 \cdot 10^{+104}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\end{array}
\end{array}
if k < -2.80000000000000004e86 or 2.9999999999999999e-88 < k < 1.20000000000000007e-46Initial program 30.9%
Taylor expanded in y4 around inf 41.5%
*-commutative41.5%
Simplified41.5%
Taylor expanded in b around inf 53.7%
if -2.80000000000000004e86 < k < -5.10000000000000025e-70Initial program 44.1%
Taylor expanded in y1 around -inf 44.4%
associate-*r*44.4%
neg-mul-144.4%
+-commutative44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
*-commutative44.4%
*-commutative44.4%
*-commutative44.4%
Simplified44.4%
Taylor expanded in x around inf 53.0%
mul-1-neg53.0%
Simplified53.0%
if -5.10000000000000025e-70 < k < -2.3999999999999998e-255Initial program 28.5%
Taylor expanded in x around inf 29.1%
Taylor expanded in y2 around inf 39.1%
Taylor expanded in k around 0 48.4%
if -2.3999999999999998e-255 < k < 2.9999999999999999e-88Initial program 33.7%
Taylor expanded in y1 around -inf 46.9%
associate-*r*46.9%
neg-mul-146.9%
+-commutative46.9%
mul-1-neg46.9%
unsub-neg46.9%
*-commutative46.9%
*-commutative46.9%
*-commutative46.9%
*-commutative46.9%
Simplified46.9%
Taylor expanded in a around inf 47.0%
Taylor expanded in x around -inf 36.6%
associate-*r*39.5%
*-commutative39.5%
+-commutative39.5%
mul-1-neg39.5%
unsub-neg39.5%
associate-/l*41.0%
Simplified41.0%
if 1.20000000000000007e-46 < k < 2.7e17Initial program 32.1%
Taylor expanded in x around inf 42.4%
Taylor expanded in x around 0 54.4%
if 2.7e17 < k < 2.8999999999999998e104Initial program 25.0%
Taylor expanded in y4 around inf 42.4%
*-commutative42.4%
Simplified42.4%
Taylor expanded in t around inf 58.8%
associate-*r*67.1%
Simplified67.1%
if 2.8999999999999998e104 < k Initial program 22.2%
Taylor expanded in y2 around inf 41.9%
Taylor expanded in y1 around inf 56.2%
mul-1-neg56.2%
+-commutative56.2%
*-commutative56.2%
sub-neg56.2%
*-commutative56.2%
Simplified56.2%
Final simplification50.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (- (* t j) (* y k))))) (t_2 (- (* k y2) (* j y3))))
(if (<= k -3.4e+77)
t_1
(if (<= k -6.9e-74)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= k -3.5e-255)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= k 3.9e-88)
(* a (* (- (* i (/ j a)) y2) (* x y1)))
(if (<= k 2.55e-48)
t_1
(if (<= k 6.5e+18)
(* t_2 (- (* y1 y4) (* y0 y5)))
(if (<= k 6.4e+94)
(* (- (* t y2) (* y y3)) (* a y5))
(if (<= k 5.2e+167)
(* y1 (* y4 t_2))
(* (* i k) (* z (- y1)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double t_2 = (k * y2) - (j * y3);
double tmp;
if (k <= -3.4e+77) {
tmp = t_1;
} else if (k <= -6.9e-74) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (k <= -3.5e-255) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (k <= 3.9e-88) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (k <= 2.55e-48) {
tmp = t_1;
} else if (k <= 6.5e+18) {
tmp = t_2 * ((y1 * y4) - (y0 * y5));
} else if (k <= 6.4e+94) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else if (k <= 5.2e+167) {
tmp = y1 * (y4 * t_2);
} else {
tmp = (i * k) * (z * -y1);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
t_2 = (k * y2) - (j * y3)
if (k <= (-3.4d+77)) then
tmp = t_1
else if (k <= (-6.9d-74)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (k <= (-3.5d-255)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (k <= 3.9d-88) then
tmp = a * (((i * (j / a)) - y2) * (x * y1))
else if (k <= 2.55d-48) then
tmp = t_1
else if (k <= 6.5d+18) then
tmp = t_2 * ((y1 * y4) - (y0 * y5))
else if (k <= 6.4d+94) then
tmp = ((t * y2) - (y * y3)) * (a * y5)
else if (k <= 5.2d+167) then
tmp = y1 * (y4 * t_2)
else
tmp = (i * k) * (z * -y1)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double t_2 = (k * y2) - (j * y3);
double tmp;
if (k <= -3.4e+77) {
tmp = t_1;
} else if (k <= -6.9e-74) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (k <= -3.5e-255) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (k <= 3.9e-88) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (k <= 2.55e-48) {
tmp = t_1;
} else if (k <= 6.5e+18) {
tmp = t_2 * ((y1 * y4) - (y0 * y5));
} else if (k <= 6.4e+94) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else if (k <= 5.2e+167) {
tmp = y1 * (y4 * t_2);
} else {
tmp = (i * k) * (z * -y1);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) t_2 = (k * y2) - (j * y3) tmp = 0 if k <= -3.4e+77: tmp = t_1 elif k <= -6.9e-74: tmp = x * (y1 * ((i * j) - (a * y2))) elif k <= -3.5e-255: tmp = x * (y2 * ((c * y0) - (a * y1))) elif k <= 3.9e-88: tmp = a * (((i * (j / a)) - y2) * (x * y1)) elif k <= 2.55e-48: tmp = t_1 elif k <= 6.5e+18: tmp = t_2 * ((y1 * y4) - (y0 * y5)) elif k <= 6.4e+94: tmp = ((t * y2) - (y * y3)) * (a * y5) elif k <= 5.2e+167: tmp = y1 * (y4 * t_2) else: tmp = (i * k) * (z * -y1) 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(y4 * Float64(Float64(t * j) - Float64(y * k)))) t_2 = Float64(Float64(k * y2) - Float64(j * y3)) tmp = 0.0 if (k <= -3.4e+77) tmp = t_1; elseif (k <= -6.9e-74) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (k <= -3.5e-255) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (k <= 3.9e-88) tmp = Float64(a * Float64(Float64(Float64(i * Float64(j / a)) - y2) * Float64(x * y1))); elseif (k <= 2.55e-48) tmp = t_1; elseif (k <= 6.5e+18) tmp = Float64(t_2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))); elseif (k <= 6.4e+94) tmp = Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(a * y5)); elseif (k <= 5.2e+167) tmp = Float64(y1 * Float64(y4 * t_2)); else tmp = Float64(Float64(i * k) * Float64(z * Float64(-y1))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y4 * ((t * j) - (y * k))); t_2 = (k * y2) - (j * y3); tmp = 0.0; if (k <= -3.4e+77) tmp = t_1; elseif (k <= -6.9e-74) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (k <= -3.5e-255) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (k <= 3.9e-88) tmp = a * (((i * (j / a)) - y2) * (x * y1)); elseif (k <= 2.55e-48) tmp = t_1; elseif (k <= 6.5e+18) tmp = t_2 * ((y1 * y4) - (y0 * y5)); elseif (k <= 6.4e+94) tmp = ((t * y2) - (y * y3)) * (a * y5); elseif (k <= 5.2e+167) tmp = y1 * (y4 * t_2); else tmp = (i * k) * (z * -y1); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -3.4e+77], t$95$1, If[LessEqual[k, -6.9e-74], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -3.5e-255], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 3.9e-88], N[(a * N[(N[(N[(i * N[(j / a), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision] * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.55e-48], t$95$1, If[LessEqual[k, 6.5e+18], N[(t$95$2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 6.4e+94], N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(a * y5), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 5.2e+167], N[(y1 * N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision], N[(N[(i * k), $MachinePrecision] * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
t_2 := k \cdot y2 - j \cdot y3\\
\mathbf{if}\;k \leq -3.4 \cdot 10^{+77}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -6.9 \cdot 10^{-74}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -3.5 \cdot 10^{-255}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;k \leq 3.9 \cdot 10^{-88}:\\
\;\;\;\;a \cdot \left(\left(i \cdot \frac{j}{a} - y2\right) \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;k \leq 2.55 \cdot 10^{-48}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 6.5 \cdot 10^{+18}:\\
\;\;\;\;t\_2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{elif}\;k \leq 6.4 \cdot 10^{+94}:\\
\;\;\;\;\left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5\right)\\
\mathbf{elif}\;k \leq 5.2 \cdot 10^{+167}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot t\_2\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(z \cdot \left(-y1\right)\right)\\
\end{array}
\end{array}
if k < -3.39999999999999997e77 or 3.89999999999999992e-88 < k < 2.55000000000000006e-48Initial program 30.9%
Taylor expanded in y4 around inf 41.5%
*-commutative41.5%
Simplified41.5%
Taylor expanded in b around inf 53.7%
if -3.39999999999999997e77 < k < -6.89999999999999981e-74Initial program 44.1%
Taylor expanded in y1 around -inf 44.4%
associate-*r*44.4%
neg-mul-144.4%
+-commutative44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
*-commutative44.4%
*-commutative44.4%
*-commutative44.4%
Simplified44.4%
Taylor expanded in x around inf 53.0%
mul-1-neg53.0%
Simplified53.0%
if -6.89999999999999981e-74 < k < -3.49999999999999979e-255Initial program 28.5%
Taylor expanded in x around inf 29.1%
Taylor expanded in y2 around inf 39.1%
Taylor expanded in k around 0 48.4%
if -3.49999999999999979e-255 < k < 3.89999999999999992e-88Initial program 33.7%
Taylor expanded in y1 around -inf 46.9%
associate-*r*46.9%
neg-mul-146.9%
+-commutative46.9%
mul-1-neg46.9%
unsub-neg46.9%
*-commutative46.9%
*-commutative46.9%
*-commutative46.9%
*-commutative46.9%
Simplified46.9%
Taylor expanded in a around inf 47.0%
Taylor expanded in x around -inf 36.6%
associate-*r*39.5%
*-commutative39.5%
+-commutative39.5%
mul-1-neg39.5%
unsub-neg39.5%
associate-/l*41.0%
Simplified41.0%
if 2.55000000000000006e-48 < k < 6.5e18Initial program 32.1%
Taylor expanded in x around inf 42.4%
Taylor expanded in x around 0 54.4%
if 6.5e18 < k < 6.40000000000000028e94Initial program 25.0%
Taylor expanded in y4 around inf 42.4%
*-commutative42.4%
Simplified42.4%
Taylor expanded in a around inf 51.7%
associate-*r*59.3%
Simplified59.3%
if 6.40000000000000028e94 < k < 5.2000000000000004e167Initial program 16.5%
Taylor expanded in y1 around -inf 50.1%
associate-*r*50.1%
neg-mul-150.1%
+-commutative50.1%
mul-1-neg50.1%
unsub-neg50.1%
*-commutative50.1%
*-commutative50.1%
*-commutative50.1%
*-commutative50.1%
Simplified50.1%
Taylor expanded in y4 around -inf 66.9%
if 5.2000000000000004e167 < k Initial program 25.0%
Taylor expanded in k around inf 66.7%
+-commutative66.7%
mul-1-neg66.7%
unsub-neg66.7%
*-commutative66.7%
associate-*r*66.7%
neg-mul-166.7%
Simplified66.7%
Taylor expanded in z around inf 47.0%
Taylor expanded in b around 0 39.5%
associate-*r*39.5%
neg-mul-139.5%
Simplified39.5%
Taylor expanded in k around 0 39.5%
mul-1-neg39.5%
associate-*r*63.1%
Simplified63.1%
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 (* a (* y5 (- (* t y2) (* y y3)))))
(t_2 (* b (* j (- (* t y4) (* x y0))))))
(if (<= j -1.38e+14)
t_2
(if (<= j -3.5e-227)
t_1
(if (<= j 1.45e-285)
(* (* x c) (* y0 y2))
(if (<= j 3.1e-226)
t_1
(if (<= j 1.45e-167)
(* y2 (* (* a y1) (- x)))
(if (<= j 3.4e-151)
t_1
(if (<= j 4.5e-44) (* (* i k) (* z (- y1))) 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 = a * (y5 * ((t * y2) - (y * y3)));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (j <= -1.38e+14) {
tmp = t_2;
} else if (j <= -3.5e-227) {
tmp = t_1;
} else if (j <= 1.45e-285) {
tmp = (x * c) * (y0 * y2);
} else if (j <= 3.1e-226) {
tmp = t_1;
} else if (j <= 1.45e-167) {
tmp = y2 * ((a * y1) * -x);
} else if (j <= 3.4e-151) {
tmp = t_1;
} else if (j <= 4.5e-44) {
tmp = (i * k) * (z * -y1);
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * (y5 * ((t * y2) - (y * y3)))
t_2 = b * (j * ((t * y4) - (x * y0)))
if (j <= (-1.38d+14)) then
tmp = t_2
else if (j <= (-3.5d-227)) then
tmp = t_1
else if (j <= 1.45d-285) then
tmp = (x * c) * (y0 * y2)
else if (j <= 3.1d-226) then
tmp = t_1
else if (j <= 1.45d-167) then
tmp = y2 * ((a * y1) * -x)
else if (j <= 3.4d-151) then
tmp = t_1
else if (j <= 4.5d-44) then
tmp = (i * k) * (z * -y1)
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 = a * (y5 * ((t * y2) - (y * y3)));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (j <= -1.38e+14) {
tmp = t_2;
} else if (j <= -3.5e-227) {
tmp = t_1;
} else if (j <= 1.45e-285) {
tmp = (x * c) * (y0 * y2);
} else if (j <= 3.1e-226) {
tmp = t_1;
} else if (j <= 1.45e-167) {
tmp = y2 * ((a * y1) * -x);
} else if (j <= 3.4e-151) {
tmp = t_1;
} else if (j <= 4.5e-44) {
tmp = (i * k) * (z * -y1);
} 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 = a * (y5 * ((t * y2) - (y * y3))) t_2 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if j <= -1.38e+14: tmp = t_2 elif j <= -3.5e-227: tmp = t_1 elif j <= 1.45e-285: tmp = (x * c) * (y0 * y2) elif j <= 3.1e-226: tmp = t_1 elif j <= 1.45e-167: tmp = y2 * ((a * y1) * -x) elif j <= 3.4e-151: tmp = t_1 elif j <= 4.5e-44: tmp = (i * k) * (z * -y1) 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(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) t_2 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (j <= -1.38e+14) tmp = t_2; elseif (j <= -3.5e-227) tmp = t_1; elseif (j <= 1.45e-285) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (j <= 3.1e-226) tmp = t_1; elseif (j <= 1.45e-167) tmp = Float64(y2 * Float64(Float64(a * y1) * Float64(-x))); elseif (j <= 3.4e-151) tmp = t_1; elseif (j <= 4.5e-44) tmp = Float64(Float64(i * k) * Float64(z * Float64(-y1))); 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 = a * (y5 * ((t * y2) - (y * y3))); t_2 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (j <= -1.38e+14) tmp = t_2; elseif (j <= -3.5e-227) tmp = t_1; elseif (j <= 1.45e-285) tmp = (x * c) * (y0 * y2); elseif (j <= 3.1e-226) tmp = t_1; elseif (j <= 1.45e-167) tmp = y2 * ((a * y1) * -x); elseif (j <= 3.4e-151) tmp = t_1; elseif (j <= 4.5e-44) tmp = (i * k) * (z * -y1); 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[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.38e+14], t$95$2, If[LessEqual[j, -3.5e-227], t$95$1, If[LessEqual[j, 1.45e-285], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.1e-226], t$95$1, If[LessEqual[j, 1.45e-167], N[(y2 * N[(N[(a * y1), $MachinePrecision] * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.4e-151], t$95$1, If[LessEqual[j, 4.5e-44], N[(N[(i * k), $MachinePrecision] * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
t_2 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;j \leq -1.38 \cdot 10^{+14}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq -3.5 \cdot 10^{-227}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 1.45 \cdot 10^{-285}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;j \leq 3.1 \cdot 10^{-226}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 1.45 \cdot 10^{-167}:\\
\;\;\;\;y2 \cdot \left(\left(a \cdot y1\right) \cdot \left(-x\right)\right)\\
\mathbf{elif}\;j \leq 3.4 \cdot 10^{-151}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 4.5 \cdot 10^{-44}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(z \cdot \left(-y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if j < -1.38e14 or 4.4999999999999999e-44 < j Initial program 26.5%
Taylor expanded in j around inf 41.1%
+-commutative41.1%
mul-1-neg41.1%
unsub-neg41.1%
*-commutative41.1%
Simplified41.1%
Taylor expanded in b around inf 43.6%
if -1.38e14 < j < -3.5000000000000001e-227 or 1.45e-285 < j < 3.09999999999999989e-226 or 1.45000000000000001e-167 < j < 3.4000000000000003e-151Initial program 42.0%
Taylor expanded in y4 around inf 43.1%
*-commutative43.1%
Simplified43.1%
Taylor expanded in a around inf 40.5%
if -3.5000000000000001e-227 < j < 1.45e-285Initial program 37.3%
Taylor expanded in x around inf 17.2%
Taylor expanded in y2 around inf 48.8%
Taylor expanded in c around inf 38.5%
associate-*r*43.5%
*-commutative43.5%
*-commutative43.5%
Simplified43.5%
if 3.09999999999999989e-226 < j < 1.45000000000000001e-167Initial program 23.6%
Taylor expanded in x around inf 54.2%
Taylor expanded in y2 around inf 69.4%
Taylor expanded in y1 around inf 54.7%
+-commutative54.7%
mul-1-neg54.7%
unsub-neg54.7%
Simplified54.7%
Taylor expanded in k around 0 54.7%
mul-1-neg54.7%
associate-*r*54.7%
*-commutative54.7%
associate-*r*61.9%
distribute-rgt-neg-out61.9%
distribute-rgt-neg-in61.9%
Simplified61.9%
if 3.4000000000000003e-151 < j < 4.4999999999999999e-44Initial program 19.7%
Taylor expanded in k around inf 67.8%
+-commutative67.8%
mul-1-neg67.8%
unsub-neg67.8%
*-commutative67.8%
associate-*r*67.8%
neg-mul-167.8%
Simplified67.8%
Taylor expanded in z around inf 72.4%
Taylor expanded in b around 0 49.6%
associate-*r*49.6%
neg-mul-149.6%
Simplified49.6%
Taylor expanded in k around 0 51.2%
mul-1-neg51.2%
associate-*r*55.8%
Simplified55.8%
Final simplification44.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -2.65e+205)
(* (* c y4) (- (* y y3) (* t y2)))
(if (<= c -9.4e+143)
(* i (* y1 (- (* x j) (* z k))))
(if (<= c -2.4e+104)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= c -2.35e+52)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= c -1.28e-33)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= c -5.5e-218)
(* b (* y4 (- (* t j) (* y k))))
(if (<= c 1.32e-98)
(* k (* z (- (* b y0) (* i y1))))
(* c (* y2 (- (* x y0) (* 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 (c <= -2.65e+205) {
tmp = (c * y4) * ((y * y3) - (t * y2));
} else if (c <= -9.4e+143) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (c <= -2.4e+104) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (c <= -2.35e+52) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (c <= -1.28e-33) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= -5.5e-218) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (c <= 1.32e-98) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else {
tmp = c * (y2 * ((x * y0) - (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 (c <= (-2.65d+205)) then
tmp = (c * y4) * ((y * y3) - (t * y2))
else if (c <= (-9.4d+143)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (c <= (-2.4d+104)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (c <= (-2.35d+52)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (c <= (-1.28d-33)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (c <= (-5.5d-218)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (c <= 1.32d-98) then
tmp = k * (z * ((b * y0) - (i * y1)))
else
tmp = c * (y2 * ((x * y0) - (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 (c <= -2.65e+205) {
tmp = (c * y4) * ((y * y3) - (t * y2));
} else if (c <= -9.4e+143) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (c <= -2.4e+104) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (c <= -2.35e+52) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (c <= -1.28e-33) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= -5.5e-218) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (c <= 1.32e-98) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else {
tmp = c * (y2 * ((x * y0) - (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 c <= -2.65e+205: tmp = (c * y4) * ((y * y3) - (t * y2)) elif c <= -9.4e+143: tmp = i * (y1 * ((x * j) - (z * k))) elif c <= -2.4e+104: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif c <= -2.35e+52: tmp = x * (y2 * ((c * y0) - (a * y1))) elif c <= -1.28e-33: tmp = a * (y5 * ((t * y2) - (y * y3))) elif c <= -5.5e-218: tmp = b * (y4 * ((t * j) - (y * k))) elif c <= 1.32e-98: tmp = k * (z * ((b * y0) - (i * y1))) else: tmp = c * (y2 * ((x * y0) - (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 (c <= -2.65e+205) tmp = Float64(Float64(c * y4) * Float64(Float64(y * y3) - Float64(t * y2))); elseif (c <= -9.4e+143) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (c <= -2.4e+104) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (c <= -2.35e+52) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (c <= -1.28e-33) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (c <= -5.5e-218) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (c <= 1.32e-98) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); else tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - 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 (c <= -2.65e+205) tmp = (c * y4) * ((y * y3) - (t * y2)); elseif (c <= -9.4e+143) tmp = i * (y1 * ((x * j) - (z * k))); elseif (c <= -2.4e+104) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (c <= -2.35e+52) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (c <= -1.28e-33) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (c <= -5.5e-218) tmp = b * (y4 * ((t * j) - (y * k))); elseif (c <= 1.32e-98) tmp = k * (z * ((b * y0) - (i * y1))); else tmp = c * (y2 * ((x * y0) - (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[c, -2.65e+205], N[(N[(c * y4), $MachinePrecision] * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -9.4e+143], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -2.4e+104], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -2.35e+52], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.28e-33], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -5.5e-218], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.32e-98], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -2.65 \cdot 10^{+205}:\\
\;\;\;\;\left(c \cdot y4\right) \cdot \left(y \cdot y3 - t \cdot y2\right)\\
\mathbf{elif}\;c \leq -9.4 \cdot 10^{+143}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;c \leq -2.4 \cdot 10^{+104}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;c \leq -2.35 \cdot 10^{+52}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq -1.28 \cdot 10^{-33}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq -5.5 \cdot 10^{-218}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;c \leq 1.32 \cdot 10^{-98}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\end{array}
\end{array}
if c < -2.6499999999999998e205Initial program 20.8%
Taylor expanded in y4 around inf 38.3%
*-commutative38.3%
Simplified38.3%
Taylor expanded in c around inf 51.7%
mul-1-neg51.7%
associate-*r*55.7%
Simplified55.7%
if -2.6499999999999998e205 < c < -9.4e143Initial program 13.3%
Taylor expanded in y1 around -inf 67.0%
associate-*r*67.0%
neg-mul-167.0%
+-commutative67.0%
mul-1-neg67.0%
unsub-neg67.0%
*-commutative67.0%
*-commutative67.0%
*-commutative67.0%
*-commutative67.0%
Simplified67.0%
Taylor expanded in i around -inf 67.3%
if -9.4e143 < c < -2.4e104Initial program 11.1%
Taylor expanded in k around inf 44.4%
+-commutative44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
associate-*r*44.4%
neg-mul-144.4%
Simplified44.4%
Taylor expanded in y4 around inf 67.0%
if -2.4e104 < c < -2.35e52Initial program 40.6%
Taylor expanded in x around inf 50.5%
Taylor expanded in y2 around inf 51.4%
Taylor expanded in k around 0 61.0%
if -2.35e52 < c < -1.28000000000000001e-33Initial program 21.4%
Taylor expanded in y4 around inf 57.1%
*-commutative57.1%
Simplified57.1%
Taylor expanded in a around inf 71.8%
if -1.28000000000000001e-33 < c < -5.49999999999999955e-218Initial program 41.8%
Taylor expanded in y4 around inf 42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in b around inf 45.3%
if -5.49999999999999955e-218 < c < 1.31999999999999995e-98Initial program 34.8%
Taylor expanded in k around inf 45.0%
+-commutative45.0%
mul-1-neg45.0%
unsub-neg45.0%
*-commutative45.0%
associate-*r*45.0%
neg-mul-145.0%
Simplified45.0%
Taylor expanded in z around inf 41.9%
if 1.31999999999999995e-98 < c Initial program 31.6%
Taylor expanded in y2 around inf 42.7%
Taylor expanded in c around inf 45.1%
Final simplification49.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -5e+193)
(* (* x c) (* y0 y2))
(if (<= x -8.2e-90)
(* y2 (* (* a y1) (- x)))
(if (<= x 4.5e-291)
(* k (* i (* z (- y1))))
(if (<= x 1.65e-196)
(* a (* t (* y2 y5)))
(if (<= x 6.5e-53)
(* k (* y1 (* i (- z))))
(if (<= x 1.7e+84)
(* a (* y5 (* t y2)))
(if (<= x 1.6e+112)
(* k (* y0 (* z b)))
(* a (* y2 (* x (- y1))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -5e+193) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -8.2e-90) {
tmp = y2 * ((a * y1) * -x);
} else if (x <= 4.5e-291) {
tmp = k * (i * (z * -y1));
} else if (x <= 1.65e-196) {
tmp = a * (t * (y2 * y5));
} else if (x <= 6.5e-53) {
tmp = k * (y1 * (i * -z));
} else if (x <= 1.7e+84) {
tmp = a * (y5 * (t * y2));
} else if (x <= 1.6e+112) {
tmp = k * (y0 * (z * b));
} else {
tmp = a * (y2 * (x * -y1));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-5d+193)) then
tmp = (x * c) * (y0 * y2)
else if (x <= (-8.2d-90)) then
tmp = y2 * ((a * y1) * -x)
else if (x <= 4.5d-291) then
tmp = k * (i * (z * -y1))
else if (x <= 1.65d-196) then
tmp = a * (t * (y2 * y5))
else if (x <= 6.5d-53) then
tmp = k * (y1 * (i * -z))
else if (x <= 1.7d+84) then
tmp = a * (y5 * (t * y2))
else if (x <= 1.6d+112) then
tmp = k * (y0 * (z * b))
else
tmp = a * (y2 * (x * -y1))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -5e+193) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -8.2e-90) {
tmp = y2 * ((a * y1) * -x);
} else if (x <= 4.5e-291) {
tmp = k * (i * (z * -y1));
} else if (x <= 1.65e-196) {
tmp = a * (t * (y2 * y5));
} else if (x <= 6.5e-53) {
tmp = k * (y1 * (i * -z));
} else if (x <= 1.7e+84) {
tmp = a * (y5 * (t * y2));
} else if (x <= 1.6e+112) {
tmp = k * (y0 * (z * b));
} else {
tmp = a * (y2 * (x * -y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -5e+193: tmp = (x * c) * (y0 * y2) elif x <= -8.2e-90: tmp = y2 * ((a * y1) * -x) elif x <= 4.5e-291: tmp = k * (i * (z * -y1)) elif x <= 1.65e-196: tmp = a * (t * (y2 * y5)) elif x <= 6.5e-53: tmp = k * (y1 * (i * -z)) elif x <= 1.7e+84: tmp = a * (y5 * (t * y2)) elif x <= 1.6e+112: tmp = k * (y0 * (z * b)) else: tmp = a * (y2 * (x * -y1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -5e+193) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (x <= -8.2e-90) tmp = Float64(y2 * Float64(Float64(a * y1) * Float64(-x))); elseif (x <= 4.5e-291) tmp = Float64(k * Float64(i * Float64(z * Float64(-y1)))); elseif (x <= 1.65e-196) tmp = Float64(a * Float64(t * Float64(y2 * y5))); elseif (x <= 6.5e-53) tmp = Float64(k * Float64(y1 * Float64(i * Float64(-z)))); elseif (x <= 1.7e+84) tmp = Float64(a * Float64(y5 * Float64(t * y2))); elseif (x <= 1.6e+112) tmp = Float64(k * Float64(y0 * Float64(z * b))); else tmp = Float64(a * Float64(y2 * Float64(x * Float64(-y1)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -5e+193) tmp = (x * c) * (y0 * y2); elseif (x <= -8.2e-90) tmp = y2 * ((a * y1) * -x); elseif (x <= 4.5e-291) tmp = k * (i * (z * -y1)); elseif (x <= 1.65e-196) tmp = a * (t * (y2 * y5)); elseif (x <= 6.5e-53) tmp = k * (y1 * (i * -z)); elseif (x <= 1.7e+84) tmp = a * (y5 * (t * y2)); elseif (x <= 1.6e+112) tmp = k * (y0 * (z * b)); else tmp = a * (y2 * (x * -y1)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -5e+193], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -8.2e-90], N[(y2 * N[(N[(a * y1), $MachinePrecision] * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.5e-291], N[(k * N[(i * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.65e-196], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.5e-53], N[(k * N[(y1 * N[(i * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.7e+84], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.6e+112], N[(k * N[(y0 * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -5 \cdot 10^{+193}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;x \leq -8.2 \cdot 10^{-90}:\\
\;\;\;\;y2 \cdot \left(\left(a \cdot y1\right) \cdot \left(-x\right)\right)\\
\mathbf{elif}\;x \leq 4.5 \cdot 10^{-291}:\\
\;\;\;\;k \cdot \left(i \cdot \left(z \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.65 \cdot 10^{-196}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 6.5 \cdot 10^{-53}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(i \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.7 \cdot 10^{+84}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 1.6 \cdot 10^{+112}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\
\end{array}
\end{array}
if x < -4.99999999999999972e193Initial program 26.1%
Taylor expanded in x around inf 48.4%
Taylor expanded in y2 around inf 57.6%
Taylor expanded in c around inf 49.5%
associate-*r*53.0%
*-commutative53.0%
*-commutative53.0%
Simplified53.0%
if -4.99999999999999972e193 < x < -8.2000000000000007e-90Initial program 32.8%
Taylor expanded in x around inf 41.6%
Taylor expanded in y2 around inf 44.3%
Taylor expanded in y1 around inf 45.7%
+-commutative45.7%
mul-1-neg45.7%
unsub-neg45.7%
Simplified45.7%
Taylor expanded in k around 0 38.9%
mul-1-neg38.9%
associate-*r*37.3%
*-commutative37.3%
associate-*r*37.3%
distribute-rgt-neg-out37.3%
distribute-rgt-neg-in37.3%
Simplified37.3%
if -8.2000000000000007e-90 < x < 4.49999999999999974e-291Initial program 37.5%
Taylor expanded in k around inf 45.9%
+-commutative45.9%
mul-1-neg45.9%
unsub-neg45.9%
*-commutative45.9%
associate-*r*45.9%
neg-mul-145.9%
Simplified45.9%
Taylor expanded in z around inf 37.2%
Taylor expanded in b around 0 34.8%
associate-*r*34.8%
neg-mul-134.8%
Simplified34.8%
if 4.49999999999999974e-291 < x < 1.64999999999999999e-196Initial program 11.6%
Taylor expanded in y4 around inf 36.8%
*-commutative36.8%
Simplified36.8%
Taylor expanded in a around inf 48.0%
Taylor expanded in t around inf 43.2%
if 1.64999999999999999e-196 < x < 6.4999999999999997e-53Initial program 42.7%
Taylor expanded in k around inf 43.7%
+-commutative43.7%
mul-1-neg43.7%
unsub-neg43.7%
*-commutative43.7%
associate-*r*43.7%
neg-mul-143.7%
Simplified43.7%
Taylor expanded in z around inf 33.7%
Taylor expanded in b around 0 23.1%
associate-*r*23.1%
neg-mul-123.1%
Simplified23.1%
Taylor expanded in i around 0 23.1%
neg-mul-123.1%
distribute-lft-neg-in23.1%
*-commutative23.1%
associate-*l*33.4%
Simplified33.4%
if 6.4999999999999997e-53 < x < 1.6999999999999999e84Initial program 37.4%
Taylor expanded in y4 around inf 30.7%
*-commutative30.7%
Simplified30.7%
Taylor expanded in a around inf 27.0%
Taylor expanded in t around inf 34.4%
*-commutative34.4%
Simplified34.4%
if 1.6999999999999999e84 < x < 1.59999999999999993e112Initial program 25.0%
Taylor expanded in k around inf 51.7%
+-commutative51.7%
mul-1-neg51.7%
unsub-neg51.7%
*-commutative51.7%
associate-*r*51.7%
neg-mul-151.7%
Simplified51.7%
Taylor expanded in y0 around -inf 63.0%
mul-1-neg63.0%
Simplified63.0%
Taylor expanded in y2 around 0 63.0%
mul-1-neg63.0%
distribute-lft-neg-out63.0%
*-commutative63.0%
Simplified63.0%
if 1.59999999999999993e112 < x Initial program 21.6%
Taylor expanded in x around inf 50.4%
Taylor expanded in y2 around inf 36.1%
Taylor expanded in y1 around inf 33.9%
+-commutative33.9%
mul-1-neg33.9%
unsub-neg33.9%
Simplified33.9%
Taylor expanded in k around 0 29.7%
mul-1-neg29.7%
distribute-rgt-neg-in29.7%
associate-*r*36.5%
distribute-lft-neg-in36.5%
distribute-rgt-neg-in36.5%
Simplified36.5%
Final simplification38.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= c -6.4e+112)
t_1
(if (<= c -7.8e-34)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= c -5.2e-217)
(* b (* y4 (- (* t j) (* y k))))
(if (<= c 6.3e-270)
(* k (* i (* z (- y1))))
(if (<= c 5e-211)
(* b (* j (- (* t y4) (* x y0))))
(if (<= c 6.8e-86) t_1 (* c (* y2 (- (* x y0) (* 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 t_1 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (c <= -6.4e+112) {
tmp = t_1;
} else if (c <= -7.8e-34) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= -5.2e-217) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (c <= 6.3e-270) {
tmp = k * (i * (z * -y1));
} else if (c <= 5e-211) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (c <= 6.8e-86) {
tmp = t_1;
} else {
tmp = c * (y2 * ((x * y0) - (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) :: t_1
real(8) :: tmp
t_1 = i * (y1 * ((x * j) - (z * k)))
if (c <= (-6.4d+112)) then
tmp = t_1
else if (c <= (-7.8d-34)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (c <= (-5.2d-217)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (c <= 6.3d-270) then
tmp = k * (i * (z * -y1))
else if (c <= 5d-211) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (c <= 6.8d-86) then
tmp = t_1
else
tmp = c * (y2 * ((x * y0) - (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 t_1 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (c <= -6.4e+112) {
tmp = t_1;
} else if (c <= -7.8e-34) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= -5.2e-217) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (c <= 6.3e-270) {
tmp = k * (i * (z * -y1));
} else if (c <= 5e-211) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (c <= 6.8e-86) {
tmp = t_1;
} else {
tmp = c * (y2 * ((x * y0) - (t * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if c <= -6.4e+112: tmp = t_1 elif c <= -7.8e-34: tmp = a * (y5 * ((t * y2) - (y * y3))) elif c <= -5.2e-217: tmp = b * (y4 * ((t * j) - (y * k))) elif c <= 6.3e-270: tmp = k * (i * (z * -y1)) elif c <= 5e-211: tmp = b * (j * ((t * y4) - (x * y0))) elif c <= 6.8e-86: tmp = t_1 else: tmp = c * (y2 * ((x * y0) - (t * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (c <= -6.4e+112) tmp = t_1; elseif (c <= -7.8e-34) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (c <= -5.2e-217) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (c <= 6.3e-270) tmp = Float64(k * Float64(i * Float64(z * Float64(-y1)))); elseif (c <= 5e-211) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (c <= 6.8e-86) tmp = t_1; else tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - 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) t_1 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (c <= -6.4e+112) tmp = t_1; elseif (c <= -7.8e-34) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (c <= -5.2e-217) tmp = b * (y4 * ((t * j) - (y * k))); elseif (c <= 6.3e-270) tmp = k * (i * (z * -y1)); elseif (c <= 5e-211) tmp = b * (j * ((t * y4) - (x * y0))); elseif (c <= 6.8e-86) tmp = t_1; else tmp = c * (y2 * ((x * y0) - (t * y4))); 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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -6.4e+112], t$95$1, If[LessEqual[c, -7.8e-34], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -5.2e-217], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.3e-270], N[(k * N[(i * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5e-211], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.8e-86], t$95$1, N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;c \leq -6.4 \cdot 10^{+112}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -7.8 \cdot 10^{-34}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq -5.2 \cdot 10^{-217}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;c \leq 6.3 \cdot 10^{-270}:\\
\;\;\;\;k \cdot \left(i \cdot \left(z \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;c \leq 5 \cdot 10^{-211}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 6.8 \cdot 10^{-86}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\end{array}
\end{array}
if c < -6.39999999999999972e112 or 5.0000000000000002e-211 < c < 6.8000000000000001e-86Initial program 22.4%
Taylor expanded in y1 around -inf 49.1%
associate-*r*49.1%
neg-mul-149.1%
+-commutative49.1%
mul-1-neg49.1%
unsub-neg49.1%
*-commutative49.1%
*-commutative49.1%
*-commutative49.1%
*-commutative49.1%
Simplified49.1%
Taylor expanded in i around -inf 40.3%
if -6.39999999999999972e112 < c < -7.79999999999999982e-34Initial program 27.8%
Taylor expanded in y4 around inf 45.1%
*-commutative45.1%
Simplified45.1%
Taylor expanded in a around inf 55.6%
if -7.79999999999999982e-34 < c < -5.19999999999999986e-217Initial program 41.8%
Taylor expanded in y4 around inf 42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in b around inf 45.3%
if -5.19999999999999986e-217 < c < 6.30000000000000031e-270Initial program 50.3%
Taylor expanded in k around inf 54.9%
+-commutative54.9%
mul-1-neg54.9%
unsub-neg54.9%
*-commutative54.9%
associate-*r*54.9%
neg-mul-154.9%
Simplified54.9%
Taylor expanded in z around inf 46.5%
Taylor expanded in b around 0 50.9%
associate-*r*50.9%
neg-mul-150.9%
Simplified50.9%
if 6.30000000000000031e-270 < c < 5.0000000000000002e-211Initial program 20.2%
Taylor expanded in j around inf 34.6%
+-commutative34.6%
mul-1-neg34.6%
unsub-neg34.6%
*-commutative34.6%
Simplified34.6%
Taylor expanded in b around inf 47.9%
if 6.8000000000000001e-86 < c Initial program 31.0%
Taylor expanded in y2 around inf 42.5%
Taylor expanded in c around inf 46.4%
Final simplification46.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= c -8e+112)
t_1
(if (<= c -9.5e-36)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= c -1.02e-218)
(* b (* y4 (- (* t j) (* y k))))
(if (<= c 5.1e-270)
(* k (* i (* z (- y1))))
(if (<= c 1.75e-193)
(* j (* x (- (* i y1) (* b y0))))
(if (<= c 7.8e-85) t_1 (* c (* y2 (- (* x y0) (* 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 t_1 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (c <= -8e+112) {
tmp = t_1;
} else if (c <= -9.5e-36) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= -1.02e-218) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (c <= 5.1e-270) {
tmp = k * (i * (z * -y1));
} else if (c <= 1.75e-193) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (c <= 7.8e-85) {
tmp = t_1;
} else {
tmp = c * (y2 * ((x * y0) - (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) :: t_1
real(8) :: tmp
t_1 = i * (y1 * ((x * j) - (z * k)))
if (c <= (-8d+112)) then
tmp = t_1
else if (c <= (-9.5d-36)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (c <= (-1.02d-218)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (c <= 5.1d-270) then
tmp = k * (i * (z * -y1))
else if (c <= 1.75d-193) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (c <= 7.8d-85) then
tmp = t_1
else
tmp = c * (y2 * ((x * y0) - (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 t_1 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (c <= -8e+112) {
tmp = t_1;
} else if (c <= -9.5e-36) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= -1.02e-218) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (c <= 5.1e-270) {
tmp = k * (i * (z * -y1));
} else if (c <= 1.75e-193) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (c <= 7.8e-85) {
tmp = t_1;
} else {
tmp = c * (y2 * ((x * y0) - (t * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if c <= -8e+112: tmp = t_1 elif c <= -9.5e-36: tmp = a * (y5 * ((t * y2) - (y * y3))) elif c <= -1.02e-218: tmp = b * (y4 * ((t * j) - (y * k))) elif c <= 5.1e-270: tmp = k * (i * (z * -y1)) elif c <= 1.75e-193: tmp = j * (x * ((i * y1) - (b * y0))) elif c <= 7.8e-85: tmp = t_1 else: tmp = c * (y2 * ((x * y0) - (t * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (c <= -8e+112) tmp = t_1; elseif (c <= -9.5e-36) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (c <= -1.02e-218) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (c <= 5.1e-270) tmp = Float64(k * Float64(i * Float64(z * Float64(-y1)))); elseif (c <= 1.75e-193) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (c <= 7.8e-85) tmp = t_1; else tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - 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) t_1 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (c <= -8e+112) tmp = t_1; elseif (c <= -9.5e-36) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (c <= -1.02e-218) tmp = b * (y4 * ((t * j) - (y * k))); elseif (c <= 5.1e-270) tmp = k * (i * (z * -y1)); elseif (c <= 1.75e-193) tmp = j * (x * ((i * y1) - (b * y0))); elseif (c <= 7.8e-85) tmp = t_1; else tmp = c * (y2 * ((x * y0) - (t * y4))); 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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -8e+112], t$95$1, If[LessEqual[c, -9.5e-36], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.02e-218], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.1e-270], N[(k * N[(i * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.75e-193], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7.8e-85], t$95$1, N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;c \leq -8 \cdot 10^{+112}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -9.5 \cdot 10^{-36}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq -1.02 \cdot 10^{-218}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;c \leq 5.1 \cdot 10^{-270}:\\
\;\;\;\;k \cdot \left(i \cdot \left(z \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;c \leq 1.75 \cdot 10^{-193}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 7.8 \cdot 10^{-85}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\end{array}
\end{array}
if c < -7.9999999999999994e112 or 1.75000000000000002e-193 < c < 7.79999999999999977e-85Initial program 24.1%
Taylor expanded in y1 around -inf 51.3%
associate-*r*51.3%
neg-mul-151.3%
+-commutative51.3%
mul-1-neg51.3%
unsub-neg51.3%
*-commutative51.3%
*-commutative51.3%
*-commutative51.3%
*-commutative51.3%
Simplified51.3%
Taylor expanded in i around -inf 40.2%
if -7.9999999999999994e112 < c < -9.5000000000000003e-36Initial program 27.8%
Taylor expanded in y4 around inf 45.1%
*-commutative45.1%
Simplified45.1%
Taylor expanded in a around inf 55.6%
if -9.5000000000000003e-36 < c < -1.02e-218Initial program 41.8%
Taylor expanded in y4 around inf 42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in b around inf 45.3%
if -1.02e-218 < c < 5.10000000000000009e-270Initial program 50.3%
Taylor expanded in k around inf 54.9%
+-commutative54.9%
mul-1-neg54.9%
unsub-neg54.9%
*-commutative54.9%
associate-*r*54.9%
neg-mul-154.9%
Simplified54.9%
Taylor expanded in z around inf 46.5%
Taylor expanded in b around 0 50.9%
associate-*r*50.9%
neg-mul-150.9%
Simplified50.9%
if 5.10000000000000009e-270 < c < 1.75000000000000002e-193Initial program 15.2%
Taylor expanded in j around inf 31.0%
+-commutative31.0%
mul-1-neg31.0%
unsub-neg31.0%
*-commutative31.0%
Simplified31.0%
Taylor expanded in x around inf 47.2%
if 7.79999999999999977e-85 < c Initial program 31.0%
Taylor expanded in y2 around inf 42.5%
Taylor expanded in c around inf 46.4%
Final simplification46.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (- (* t j) (* y k))))))
(if (<= x -3.7e+22)
(* (* x y2) (- (* c y0) (* a y1)))
(if (<= x -2.15e-165)
t_1
(if (<= x -1.2e-208)
(* k (* z (- (* b y0) (* i y1))))
(if (<= x -8e-301)
(* k (* y (- (* i y5) (* b y4))))
(if (<= x 8.5e-302)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= x 8.5e+194) t_1 (* j (* x (- (* i y1) (* b y0))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (x <= -3.7e+22) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= -2.15e-165) {
tmp = t_1;
} else if (x <= -1.2e-208) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (x <= -8e-301) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (x <= 8.5e-302) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (x <= 8.5e+194) {
tmp = t_1;
} else {
tmp = j * (x * ((i * y1) - (b * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
if (x <= (-3.7d+22)) then
tmp = (x * y2) * ((c * y0) - (a * y1))
else if (x <= (-2.15d-165)) then
tmp = t_1
else if (x <= (-1.2d-208)) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (x <= (-8d-301)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (x <= 8.5d-302) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (x <= 8.5d+194) then
tmp = t_1
else
tmp = j * (x * ((i * y1) - (b * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (x <= -3.7e+22) {
tmp = (x * y2) * ((c * y0) - (a * y1));
} else if (x <= -2.15e-165) {
tmp = t_1;
} else if (x <= -1.2e-208) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (x <= -8e-301) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (x <= 8.5e-302) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (x <= 8.5e+194) {
tmp = t_1;
} else {
tmp = j * (x * ((i * y1) - (b * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) tmp = 0 if x <= -3.7e+22: tmp = (x * y2) * ((c * y0) - (a * y1)) elif x <= -2.15e-165: tmp = t_1 elif x <= -1.2e-208: tmp = k * (z * ((b * y0) - (i * y1))) elif x <= -8e-301: tmp = k * (y * ((i * y5) - (b * y4))) elif x <= 8.5e-302: tmp = a * (y5 * ((t * y2) - (y * y3))) elif x <= 8.5e+194: tmp = t_1 else: tmp = j * (x * ((i * y1) - (b * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) tmp = 0.0 if (x <= -3.7e+22) tmp = Float64(Float64(x * y2) * Float64(Float64(c * y0) - Float64(a * y1))); elseif (x <= -2.15e-165) tmp = t_1; elseif (x <= -1.2e-208) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (x <= -8e-301) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (x <= 8.5e-302) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (x <= 8.5e+194) tmp = t_1; else tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y4 * ((t * j) - (y * k))); tmp = 0.0; if (x <= -3.7e+22) tmp = (x * y2) * ((c * y0) - (a * y1)); elseif (x <= -2.15e-165) tmp = t_1; elseif (x <= -1.2e-208) tmp = k * (z * ((b * y0) - (i * y1))); elseif (x <= -8e-301) tmp = k * (y * ((i * y5) - (b * y4))); elseif (x <= 8.5e-302) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (x <= 8.5e+194) tmp = t_1; else tmp = j * (x * ((i * y1) - (b * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -3.7e+22], N[(N[(x * y2), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.15e-165], t$95$1, If[LessEqual[x, -1.2e-208], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -8e-301], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 8.5e-302], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 8.5e+194], t$95$1, N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{if}\;x \leq -3.7 \cdot 10^{+22}:\\
\;\;\;\;\left(x \cdot y2\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{elif}\;x \leq -2.15 \cdot 10^{-165}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq -1.2 \cdot 10^{-208}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq -8 \cdot 10^{-301}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 8.5 \cdot 10^{-302}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq 8.5 \cdot 10^{+194}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if x < -3.6999999999999998e22Initial program 27.9%
Taylor expanded in x around inf 48.5%
Taylor expanded in y2 around inf 54.6%
Taylor expanded in k around 0 51.2%
associate-*r*54.6%
*-commutative54.6%
Simplified54.6%
if -3.6999999999999998e22 < x < -2.15000000000000003e-165 or 8.5000000000000005e-302 < x < 8.50000000000000026e194Initial program 31.8%
Taylor expanded in y4 around inf 32.5%
*-commutative32.5%
Simplified32.5%
Taylor expanded in b around inf 43.8%
if -2.15000000000000003e-165 < x < -1.1999999999999999e-208Initial program 39.8%
Taylor expanded in k around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
associate-*r*40.2%
neg-mul-140.2%
Simplified40.2%
Taylor expanded in z around inf 52.0%
if -1.1999999999999999e-208 < x < -8.00000000000000053e-301Initial program 39.9%
Taylor expanded in k around inf 45.7%
+-commutative45.7%
mul-1-neg45.7%
unsub-neg45.7%
*-commutative45.7%
associate-*r*45.7%
neg-mul-145.7%
Simplified45.7%
Taylor expanded in y around inf 56.2%
if -8.00000000000000053e-301 < x < 8.5000000000000005e-302Initial program 40.0%
Taylor expanded in y4 around inf 80.0%
*-commutative80.0%
Simplified80.0%
Taylor expanded in a around inf 83.2%
if 8.50000000000000026e194 < x Initial program 20.8%
Taylor expanded in j around inf 37.8%
+-commutative37.8%
mul-1-neg37.8%
unsub-neg37.8%
*-commutative37.8%
Simplified37.8%
Taylor expanded in x around inf 54.5%
Final simplification49.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (- (* t j) (* y k))))))
(if (<= k -2e+72)
t_1
(if (<= k -1.85e-72)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= k -3.3e-256)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= k 3.5e-88)
(* a (* (- (* i (/ j a)) y2) (* x y1)))
(if (<= k 2.8e-44)
t_1
(if (<= k 5.2e+95)
(* (- (* t y2) (* y y3)) (* a y5))
(* y1 (* y2 (- (* k y4) (* x a))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (k <= -2e+72) {
tmp = t_1;
} else if (k <= -1.85e-72) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (k <= -3.3e-256) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (k <= 3.5e-88) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (k <= 2.8e-44) {
tmp = t_1;
} else if (k <= 5.2e+95) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
if (k <= (-2d+72)) then
tmp = t_1
else if (k <= (-1.85d-72)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (k <= (-3.3d-256)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (k <= 3.5d-88) then
tmp = a * (((i * (j / a)) - y2) * (x * y1))
else if (k <= 2.8d-44) then
tmp = t_1
else if (k <= 5.2d+95) then
tmp = ((t * y2) - (y * y3)) * (a * y5)
else
tmp = y1 * (y2 * ((k * y4) - (x * a)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (k <= -2e+72) {
tmp = t_1;
} else if (k <= -1.85e-72) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (k <= -3.3e-256) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (k <= 3.5e-88) {
tmp = a * (((i * (j / a)) - y2) * (x * y1));
} else if (k <= 2.8e-44) {
tmp = t_1;
} else if (k <= 5.2e+95) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) tmp = 0 if k <= -2e+72: tmp = t_1 elif k <= -1.85e-72: tmp = x * (y1 * ((i * j) - (a * y2))) elif k <= -3.3e-256: tmp = x * (y2 * ((c * y0) - (a * y1))) elif k <= 3.5e-88: tmp = a * (((i * (j / a)) - y2) * (x * y1)) elif k <= 2.8e-44: tmp = t_1 elif k <= 5.2e+95: tmp = ((t * y2) - (y * y3)) * (a * y5) else: tmp = y1 * (y2 * ((k * y4) - (x * a))) 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(y4 * Float64(Float64(t * j) - Float64(y * k)))) tmp = 0.0 if (k <= -2e+72) tmp = t_1; elseif (k <= -1.85e-72) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (k <= -3.3e-256) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (k <= 3.5e-88) tmp = Float64(a * Float64(Float64(Float64(i * Float64(j / a)) - y2) * Float64(x * y1))); elseif (k <= 2.8e-44) tmp = t_1; elseif (k <= 5.2e+95) tmp = Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(a * y5)); else tmp = Float64(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * a)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y4 * ((t * j) - (y * k))); tmp = 0.0; if (k <= -2e+72) tmp = t_1; elseif (k <= -1.85e-72) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (k <= -3.3e-256) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (k <= 3.5e-88) tmp = a * (((i * (j / a)) - y2) * (x * y1)); elseif (k <= 2.8e-44) tmp = t_1; elseif (k <= 5.2e+95) tmp = ((t * y2) - (y * y3)) * (a * y5); else tmp = y1 * (y2 * ((k * y4) - (x * a))); 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[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -2e+72], t$95$1, If[LessEqual[k, -1.85e-72], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -3.3e-256], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 3.5e-88], N[(a * N[(N[(N[(i * N[(j / a), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision] * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.8e-44], t$95$1, If[LessEqual[k, 5.2e+95], N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(a * y5), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{if}\;k \leq -2 \cdot 10^{+72}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -1.85 \cdot 10^{-72}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -3.3 \cdot 10^{-256}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;k \leq 3.5 \cdot 10^{-88}:\\
\;\;\;\;a \cdot \left(\left(i \cdot \frac{j}{a} - y2\right) \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;k \leq 2.8 \cdot 10^{-44}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 5.2 \cdot 10^{+95}:\\
\;\;\;\;\left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\end{array}
\end{array}
if k < -1.99999999999999989e72 or 3.5000000000000001e-88 < k < 2.8e-44Initial program 30.9%
Taylor expanded in y4 around inf 41.5%
*-commutative41.5%
Simplified41.5%
Taylor expanded in b around inf 53.7%
if -1.99999999999999989e72 < k < -1.8499999999999999e-72Initial program 44.1%
Taylor expanded in y1 around -inf 44.4%
associate-*r*44.4%
neg-mul-144.4%
+-commutative44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
*-commutative44.4%
*-commutative44.4%
*-commutative44.4%
Simplified44.4%
Taylor expanded in x around inf 53.0%
mul-1-neg53.0%
Simplified53.0%
if -1.8499999999999999e-72 < k < -3.3e-256Initial program 28.5%
Taylor expanded in x around inf 29.1%
Taylor expanded in y2 around inf 39.1%
Taylor expanded in k around 0 48.4%
if -3.3e-256 < k < 3.5000000000000001e-88Initial program 33.7%
Taylor expanded in y1 around -inf 46.9%
associate-*r*46.9%
neg-mul-146.9%
+-commutative46.9%
mul-1-neg46.9%
unsub-neg46.9%
*-commutative46.9%
*-commutative46.9%
*-commutative46.9%
*-commutative46.9%
Simplified46.9%
Taylor expanded in a around inf 47.0%
Taylor expanded in x around -inf 36.6%
associate-*r*39.5%
*-commutative39.5%
+-commutative39.5%
mul-1-neg39.5%
unsub-neg39.5%
associate-/l*41.0%
Simplified41.0%
if 2.8e-44 < k < 5.19999999999999981e95Initial program 29.3%
Taylor expanded in y4 around inf 39.4%
*-commutative39.4%
Simplified39.4%
Taylor expanded in a around inf 39.9%
associate-*r*42.9%
Simplified42.9%
if 5.19999999999999981e95 < k Initial program 22.2%
Taylor expanded in y2 around inf 41.9%
Taylor expanded in y1 around inf 56.2%
mul-1-neg56.2%
+-commutative56.2%
*-commutative56.2%
sub-neg56.2%
*-commutative56.2%
Simplified56.2%
Final simplification48.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* i k) (* z (- y1)))) (t_2 (* (* x a) (* y1 (- y2)))))
(if (<= x -5.2e+34)
(* (* x c) (* y0 y2))
(if (<= x -1.46e-89)
t_2
(if (<= x 2.6e-242)
t_1
(if (<= x 6.6e-99)
(* k (* z (* b y0)))
(if (<= x 7.8e-50)
t_1
(if (<= x 1.4e+108) (* a (* y5 (* t y2))) t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (i * k) * (z * -y1);
double t_2 = (x * a) * (y1 * -y2);
double tmp;
if (x <= -5.2e+34) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -1.46e-89) {
tmp = t_2;
} else if (x <= 2.6e-242) {
tmp = t_1;
} else if (x <= 6.6e-99) {
tmp = k * (z * (b * y0));
} else if (x <= 7.8e-50) {
tmp = t_1;
} else if (x <= 1.4e+108) {
tmp = a * (y5 * (t * y2));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (i * k) * (z * -y1)
t_2 = (x * a) * (y1 * -y2)
if (x <= (-5.2d+34)) then
tmp = (x * c) * (y0 * y2)
else if (x <= (-1.46d-89)) then
tmp = t_2
else if (x <= 2.6d-242) then
tmp = t_1
else if (x <= 6.6d-99) then
tmp = k * (z * (b * y0))
else if (x <= 7.8d-50) then
tmp = t_1
else if (x <= 1.4d+108) then
tmp = a * (y5 * (t * y2))
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 = (i * k) * (z * -y1);
double t_2 = (x * a) * (y1 * -y2);
double tmp;
if (x <= -5.2e+34) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -1.46e-89) {
tmp = t_2;
} else if (x <= 2.6e-242) {
tmp = t_1;
} else if (x <= 6.6e-99) {
tmp = k * (z * (b * y0));
} else if (x <= 7.8e-50) {
tmp = t_1;
} else if (x <= 1.4e+108) {
tmp = a * (y5 * (t * y2));
} 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 = (i * k) * (z * -y1) t_2 = (x * a) * (y1 * -y2) tmp = 0 if x <= -5.2e+34: tmp = (x * c) * (y0 * y2) elif x <= -1.46e-89: tmp = t_2 elif x <= 2.6e-242: tmp = t_1 elif x <= 6.6e-99: tmp = k * (z * (b * y0)) elif x <= 7.8e-50: tmp = t_1 elif x <= 1.4e+108: tmp = a * (y5 * (t * y2)) 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(i * k) * Float64(z * Float64(-y1))) t_2 = Float64(Float64(x * a) * Float64(y1 * Float64(-y2))) tmp = 0.0 if (x <= -5.2e+34) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (x <= -1.46e-89) tmp = t_2; elseif (x <= 2.6e-242) tmp = t_1; elseif (x <= 6.6e-99) tmp = Float64(k * Float64(z * Float64(b * y0))); elseif (x <= 7.8e-50) tmp = t_1; elseif (x <= 1.4e+108) tmp = Float64(a * Float64(y5 * Float64(t * y2))); 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 = (i * k) * (z * -y1); t_2 = (x * a) * (y1 * -y2); tmp = 0.0; if (x <= -5.2e+34) tmp = (x * c) * (y0 * y2); elseif (x <= -1.46e-89) tmp = t_2; elseif (x <= 2.6e-242) tmp = t_1; elseif (x <= 6.6e-99) tmp = k * (z * (b * y0)); elseif (x <= 7.8e-50) tmp = t_1; elseif (x <= 1.4e+108) tmp = a * (y5 * (t * y2)); 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[(i * k), $MachinePrecision] * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * a), $MachinePrecision] * N[(y1 * (-y2)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -5.2e+34], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.46e-89], t$95$2, If[LessEqual[x, 2.6e-242], t$95$1, If[LessEqual[x, 6.6e-99], N[(k * N[(z * N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 7.8e-50], t$95$1, If[LessEqual[x, 1.4e+108], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(i \cdot k\right) \cdot \left(z \cdot \left(-y1\right)\right)\\
t_2 := \left(x \cdot a\right) \cdot \left(y1 \cdot \left(-y2\right)\right)\\
\mathbf{if}\;x \leq -5.2 \cdot 10^{+34}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;x \leq -1.46 \cdot 10^{-89}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;x \leq 2.6 \cdot 10^{-242}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 6.6 \cdot 10^{-99}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq 7.8 \cdot 10^{-50}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 1.4 \cdot 10^{+108}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if x < -5.19999999999999995e34Initial program 26.1%
Taylor expanded in x around inf 46.4%
Taylor expanded in y2 around inf 51.0%
Taylor expanded in c around inf 35.6%
associate-*r*39.1%
*-commutative39.1%
*-commutative39.1%
Simplified39.1%
if -5.19999999999999995e34 < x < -1.46e-89 or 1.3999999999999999e108 < x Initial program 29.8%
Taylor expanded in x around inf 45.0%
Taylor expanded in y2 around inf 38.7%
Taylor expanded in a around inf 32.2%
mul-1-neg32.2%
associate-*r*33.4%
Simplified33.4%
if -1.46e-89 < x < 2.60000000000000017e-242 or 6.59999999999999973e-99 < x < 7.80000000000000042e-50Initial program 35.3%
Taylor expanded in k around inf 48.2%
+-commutative48.2%
mul-1-neg48.2%
unsub-neg48.2%
*-commutative48.2%
associate-*r*48.2%
neg-mul-148.2%
Simplified48.2%
Taylor expanded in z around inf 36.9%
Taylor expanded in b around 0 35.1%
associate-*r*35.1%
neg-mul-135.1%
Simplified35.1%
Taylor expanded in k around 0 31.1%
mul-1-neg31.1%
associate-*r*35.6%
Simplified35.6%
if 2.60000000000000017e-242 < x < 6.59999999999999973e-99Initial program 31.6%
Taylor expanded in k around inf 29.6%
+-commutative29.6%
mul-1-neg29.6%
unsub-neg29.6%
*-commutative29.6%
associate-*r*29.6%
neg-mul-129.6%
Simplified29.6%
Taylor expanded in z around inf 32.7%
Taylor expanded in b around inf 21.7%
associate-*r*29.8%
Simplified29.8%
if 7.80000000000000042e-50 < x < 1.3999999999999999e108Initial program 32.6%
Taylor expanded in y4 around inf 30.7%
*-commutative30.7%
Simplified30.7%
Taylor expanded in a around inf 30.5%
Taylor expanded in t around inf 33.4%
*-commutative33.4%
Simplified33.4%
Final simplification34.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* i k) (* z (- y1)))) (t_2 (* a (* y2 (* x (- y1))))))
(if (<= x -8.5e+193)
(* (* x c) (* y0 y2))
(if (<= x -1.46e-89)
t_2
(if (<= x 5.7e-244)
t_1
(if (<= x 3.3e-100)
(* k (* z (* b y0)))
(if (<= x 7.2e-54)
t_1
(if (<= x 9.8e+91) (* a (* y5 (* t y2))) t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (i * k) * (z * -y1);
double t_2 = a * (y2 * (x * -y1));
double tmp;
if (x <= -8.5e+193) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -1.46e-89) {
tmp = t_2;
} else if (x <= 5.7e-244) {
tmp = t_1;
} else if (x <= 3.3e-100) {
tmp = k * (z * (b * y0));
} else if (x <= 7.2e-54) {
tmp = t_1;
} else if (x <= 9.8e+91) {
tmp = a * (y5 * (t * y2));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (i * k) * (z * -y1)
t_2 = a * (y2 * (x * -y1))
if (x <= (-8.5d+193)) then
tmp = (x * c) * (y0 * y2)
else if (x <= (-1.46d-89)) then
tmp = t_2
else if (x <= 5.7d-244) then
tmp = t_1
else if (x <= 3.3d-100) then
tmp = k * (z * (b * y0))
else if (x <= 7.2d-54) then
tmp = t_1
else if (x <= 9.8d+91) then
tmp = a * (y5 * (t * y2))
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 = (i * k) * (z * -y1);
double t_2 = a * (y2 * (x * -y1));
double tmp;
if (x <= -8.5e+193) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -1.46e-89) {
tmp = t_2;
} else if (x <= 5.7e-244) {
tmp = t_1;
} else if (x <= 3.3e-100) {
tmp = k * (z * (b * y0));
} else if (x <= 7.2e-54) {
tmp = t_1;
} else if (x <= 9.8e+91) {
tmp = a * (y5 * (t * y2));
} 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 = (i * k) * (z * -y1) t_2 = a * (y2 * (x * -y1)) tmp = 0 if x <= -8.5e+193: tmp = (x * c) * (y0 * y2) elif x <= -1.46e-89: tmp = t_2 elif x <= 5.7e-244: tmp = t_1 elif x <= 3.3e-100: tmp = k * (z * (b * y0)) elif x <= 7.2e-54: tmp = t_1 elif x <= 9.8e+91: tmp = a * (y5 * (t * y2)) 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(i * k) * Float64(z * Float64(-y1))) t_2 = Float64(a * Float64(y2 * Float64(x * Float64(-y1)))) tmp = 0.0 if (x <= -8.5e+193) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (x <= -1.46e-89) tmp = t_2; elseif (x <= 5.7e-244) tmp = t_1; elseif (x <= 3.3e-100) tmp = Float64(k * Float64(z * Float64(b * y0))); elseif (x <= 7.2e-54) tmp = t_1; elseif (x <= 9.8e+91) tmp = Float64(a * Float64(y5 * Float64(t * y2))); 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 = (i * k) * (z * -y1); t_2 = a * (y2 * (x * -y1)); tmp = 0.0; if (x <= -8.5e+193) tmp = (x * c) * (y0 * y2); elseif (x <= -1.46e-89) tmp = t_2; elseif (x <= 5.7e-244) tmp = t_1; elseif (x <= 3.3e-100) tmp = k * (z * (b * y0)); elseif (x <= 7.2e-54) tmp = t_1; elseif (x <= 9.8e+91) tmp = a * (y5 * (t * y2)); 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[(i * k), $MachinePrecision] * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -8.5e+193], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.46e-89], t$95$2, If[LessEqual[x, 5.7e-244], t$95$1, If[LessEqual[x, 3.3e-100], N[(k * N[(z * N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 7.2e-54], t$95$1, If[LessEqual[x, 9.8e+91], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(i \cdot k\right) \cdot \left(z \cdot \left(-y1\right)\right)\\
t_2 := a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\
\mathbf{if}\;x \leq -8.5 \cdot 10^{+193}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;x \leq -1.46 \cdot 10^{-89}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;x \leq 5.7 \cdot 10^{-244}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 3.3 \cdot 10^{-100}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq 7.2 \cdot 10^{-54}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 9.8 \cdot 10^{+91}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if x < -8.5000000000000003e193Initial program 26.1%
Taylor expanded in x around inf 48.4%
Taylor expanded in y2 around inf 57.6%
Taylor expanded in c around inf 49.5%
associate-*r*53.0%
*-commutative53.0%
*-commutative53.0%
Simplified53.0%
if -8.5000000000000003e193 < x < -1.46e-89 or 9.8000000000000006e91 < x Initial program 27.7%
Taylor expanded in x around inf 44.3%
Taylor expanded in y2 around inf 40.0%
Taylor expanded in y1 around inf 39.0%
+-commutative39.0%
mul-1-neg39.0%
unsub-neg39.0%
Simplified39.0%
Taylor expanded in k around 0 29.0%
mul-1-neg29.0%
distribute-rgt-neg-in29.0%
associate-*r*34.4%
distribute-lft-neg-in34.4%
distribute-rgt-neg-in34.4%
Simplified34.4%
if -1.46e-89 < x < 5.70000000000000009e-244 or 3.29999999999999996e-100 < x < 7.19999999999999953e-54Initial program 35.3%
Taylor expanded in k around inf 48.2%
+-commutative48.2%
mul-1-neg48.2%
unsub-neg48.2%
*-commutative48.2%
associate-*r*48.2%
neg-mul-148.2%
Simplified48.2%
Taylor expanded in z around inf 36.9%
Taylor expanded in b around 0 35.1%
associate-*r*35.1%
neg-mul-135.1%
Simplified35.1%
Taylor expanded in k around 0 31.1%
mul-1-neg31.1%
associate-*r*35.6%
Simplified35.6%
if 5.70000000000000009e-244 < x < 3.29999999999999996e-100Initial program 31.6%
Taylor expanded in k around inf 29.6%
+-commutative29.6%
mul-1-neg29.6%
unsub-neg29.6%
*-commutative29.6%
associate-*r*29.6%
neg-mul-129.6%
Simplified29.6%
Taylor expanded in z around inf 32.7%
Taylor expanded in b around inf 21.7%
associate-*r*29.8%
Simplified29.8%
if 7.19999999999999953e-54 < x < 9.8000000000000006e91Initial program 37.0%
Taylor expanded in y4 around inf 31.2%
*-commutative31.2%
Simplified31.2%
Taylor expanded in a around inf 31.0%
Taylor expanded in t around inf 34.4%
*-commutative34.4%
Simplified34.4%
Final simplification35.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y2 (* x (- y1))))))
(if (<= x -2.25e+194)
(* (* x c) (* y0 y2))
(if (<= x -8e-90)
t_1
(if (<= x -1.3e-303)
(* (* i k) (* z (- y1)))
(if (<= x 2.1e-196)
(* a (* t (* y2 y5)))
(if (<= x 2.8e-49)
(* k (* y1 (* i (- z))))
(if (<= x 9.8e+91) (* a (* y5 (* t y2))) 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 * (y2 * (x * -y1));
double tmp;
if (x <= -2.25e+194) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -8e-90) {
tmp = t_1;
} else if (x <= -1.3e-303) {
tmp = (i * k) * (z * -y1);
} else if (x <= 2.1e-196) {
tmp = a * (t * (y2 * y5));
} else if (x <= 2.8e-49) {
tmp = k * (y1 * (i * -z));
} else if (x <= 9.8e+91) {
tmp = a * (y5 * (t * y2));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (y2 * (x * -y1))
if (x <= (-2.25d+194)) then
tmp = (x * c) * (y0 * y2)
else if (x <= (-8d-90)) then
tmp = t_1
else if (x <= (-1.3d-303)) then
tmp = (i * k) * (z * -y1)
else if (x <= 2.1d-196) then
tmp = a * (t * (y2 * y5))
else if (x <= 2.8d-49) then
tmp = k * (y1 * (i * -z))
else if (x <= 9.8d+91) then
tmp = a * (y5 * (t * y2))
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 * (y2 * (x * -y1));
double tmp;
if (x <= -2.25e+194) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -8e-90) {
tmp = t_1;
} else if (x <= -1.3e-303) {
tmp = (i * k) * (z * -y1);
} else if (x <= 2.1e-196) {
tmp = a * (t * (y2 * y5));
} else if (x <= 2.8e-49) {
tmp = k * (y1 * (i * -z));
} else if (x <= 9.8e+91) {
tmp = a * (y5 * (t * y2));
} 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 * (y2 * (x * -y1)) tmp = 0 if x <= -2.25e+194: tmp = (x * c) * (y0 * y2) elif x <= -8e-90: tmp = t_1 elif x <= -1.3e-303: tmp = (i * k) * (z * -y1) elif x <= 2.1e-196: tmp = a * (t * (y2 * y5)) elif x <= 2.8e-49: tmp = k * (y1 * (i * -z)) elif x <= 9.8e+91: tmp = a * (y5 * (t * y2)) 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(y2 * Float64(x * Float64(-y1)))) tmp = 0.0 if (x <= -2.25e+194) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (x <= -8e-90) tmp = t_1; elseif (x <= -1.3e-303) tmp = Float64(Float64(i * k) * Float64(z * Float64(-y1))); elseif (x <= 2.1e-196) tmp = Float64(a * Float64(t * Float64(y2 * y5))); elseif (x <= 2.8e-49) tmp = Float64(k * Float64(y1 * Float64(i * Float64(-z)))); elseif (x <= 9.8e+91) tmp = Float64(a * Float64(y5 * Float64(t * y2))); 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 * (y2 * (x * -y1)); tmp = 0.0; if (x <= -2.25e+194) tmp = (x * c) * (y0 * y2); elseif (x <= -8e-90) tmp = t_1; elseif (x <= -1.3e-303) tmp = (i * k) * (z * -y1); elseif (x <= 2.1e-196) tmp = a * (t * (y2 * y5)); elseif (x <= 2.8e-49) tmp = k * (y1 * (i * -z)); elseif (x <= 9.8e+91) tmp = a * (y5 * (t * y2)); 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[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.25e+194], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -8e-90], t$95$1, If[LessEqual[x, -1.3e-303], N[(N[(i * k), $MachinePrecision] * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.1e-196], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.8e-49], N[(k * N[(y1 * N[(i * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 9.8e+91], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\
\mathbf{if}\;x \leq -2.25 \cdot 10^{+194}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;x \leq -8 \cdot 10^{-90}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq -1.3 \cdot 10^{-303}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(z \cdot \left(-y1\right)\right)\\
\mathbf{elif}\;x \leq 2.1 \cdot 10^{-196}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 2.8 \cdot 10^{-49}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(i \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;x \leq 9.8 \cdot 10^{+91}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -2.2499999999999999e194Initial program 26.1%
Taylor expanded in x around inf 48.4%
Taylor expanded in y2 around inf 57.6%
Taylor expanded in c around inf 49.5%
associate-*r*53.0%
*-commutative53.0%
*-commutative53.0%
Simplified53.0%
if -2.2499999999999999e194 < x < -7.99999999999999996e-90 or 9.8000000000000006e91 < x Initial program 27.7%
Taylor expanded in x around inf 44.3%
Taylor expanded in y2 around inf 40.0%
Taylor expanded in y1 around inf 39.0%
+-commutative39.0%
mul-1-neg39.0%
unsub-neg39.0%
Simplified39.0%
Taylor expanded in k around 0 29.0%
mul-1-neg29.0%
distribute-rgt-neg-in29.0%
associate-*r*34.4%
distribute-lft-neg-in34.4%
distribute-rgt-neg-in34.4%
Simplified34.4%
if -7.99999999999999996e-90 < x < -1.30000000000000002e-303Initial program 35.9%
Taylor expanded in k around inf 43.6%
+-commutative43.6%
mul-1-neg43.6%
unsub-neg43.6%
*-commutative43.6%
associate-*r*43.6%
neg-mul-143.6%
Simplified43.6%
Taylor expanded in z around inf 35.2%
Taylor expanded in b around 0 34.9%
associate-*r*34.9%
neg-mul-134.9%
Simplified34.9%
Taylor expanded in k around 0 31.1%
mul-1-neg31.1%
associate-*r*33.3%
Simplified33.3%
if -1.30000000000000002e-303 < x < 2.09999999999999988e-196Initial program 22.4%
Taylor expanded in y4 around inf 46.6%
*-commutative46.6%
Simplified46.6%
Taylor expanded in a around inf 44.0%
Taylor expanded in t around inf 37.3%
if 2.09999999999999988e-196 < x < 2.79999999999999997e-49Initial program 42.7%
Taylor expanded in k around inf 43.7%
+-commutative43.7%
mul-1-neg43.7%
unsub-neg43.7%
*-commutative43.7%
associate-*r*43.7%
neg-mul-143.7%
Simplified43.7%
Taylor expanded in z around inf 33.7%
Taylor expanded in b around 0 23.1%
associate-*r*23.1%
neg-mul-123.1%
Simplified23.1%
Taylor expanded in i around 0 23.1%
neg-mul-123.1%
distribute-lft-neg-in23.1%
*-commutative23.1%
associate-*l*33.4%
Simplified33.4%
if 2.79999999999999997e-49 < x < 9.8000000000000006e91Initial program 37.0%
Taylor expanded in y4 around inf 31.2%
*-commutative31.2%
Simplified31.2%
Taylor expanded in a around inf 31.0%
Taylor expanded in t around inf 34.4%
*-commutative34.4%
Simplified34.4%
Final simplification36.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y2 (* x (- y1))))))
(if (<= x -9.5e+193)
(* (* x c) (* y0 y2))
(if (<= x -4.2e-85)
t_1
(if (<= x 2.9e-291)
(* k (* i (* z (- y1))))
(if (<= x 4.5e-196)
(* a (* t (* y2 y5)))
(if (<= x 8e-39)
(* k (* y1 (* i (- z))))
(if (<= x 1.08e+92) (* a (* y5 (* t y2))) 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 * (y2 * (x * -y1));
double tmp;
if (x <= -9.5e+193) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -4.2e-85) {
tmp = t_1;
} else if (x <= 2.9e-291) {
tmp = k * (i * (z * -y1));
} else if (x <= 4.5e-196) {
tmp = a * (t * (y2 * y5));
} else if (x <= 8e-39) {
tmp = k * (y1 * (i * -z));
} else if (x <= 1.08e+92) {
tmp = a * (y5 * (t * y2));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (y2 * (x * -y1))
if (x <= (-9.5d+193)) then
tmp = (x * c) * (y0 * y2)
else if (x <= (-4.2d-85)) then
tmp = t_1
else if (x <= 2.9d-291) then
tmp = k * (i * (z * -y1))
else if (x <= 4.5d-196) then
tmp = a * (t * (y2 * y5))
else if (x <= 8d-39) then
tmp = k * (y1 * (i * -z))
else if (x <= 1.08d+92) then
tmp = a * (y5 * (t * y2))
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 * (y2 * (x * -y1));
double tmp;
if (x <= -9.5e+193) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -4.2e-85) {
tmp = t_1;
} else if (x <= 2.9e-291) {
tmp = k * (i * (z * -y1));
} else if (x <= 4.5e-196) {
tmp = a * (t * (y2 * y5));
} else if (x <= 8e-39) {
tmp = k * (y1 * (i * -z));
} else if (x <= 1.08e+92) {
tmp = a * (y5 * (t * y2));
} 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 * (y2 * (x * -y1)) tmp = 0 if x <= -9.5e+193: tmp = (x * c) * (y0 * y2) elif x <= -4.2e-85: tmp = t_1 elif x <= 2.9e-291: tmp = k * (i * (z * -y1)) elif x <= 4.5e-196: tmp = a * (t * (y2 * y5)) elif x <= 8e-39: tmp = k * (y1 * (i * -z)) elif x <= 1.08e+92: tmp = a * (y5 * (t * y2)) 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(y2 * Float64(x * Float64(-y1)))) tmp = 0.0 if (x <= -9.5e+193) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (x <= -4.2e-85) tmp = t_1; elseif (x <= 2.9e-291) tmp = Float64(k * Float64(i * Float64(z * Float64(-y1)))); elseif (x <= 4.5e-196) tmp = Float64(a * Float64(t * Float64(y2 * y5))); elseif (x <= 8e-39) tmp = Float64(k * Float64(y1 * Float64(i * Float64(-z)))); elseif (x <= 1.08e+92) tmp = Float64(a * Float64(y5 * Float64(t * y2))); 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 * (y2 * (x * -y1)); tmp = 0.0; if (x <= -9.5e+193) tmp = (x * c) * (y0 * y2); elseif (x <= -4.2e-85) tmp = t_1; elseif (x <= 2.9e-291) tmp = k * (i * (z * -y1)); elseif (x <= 4.5e-196) tmp = a * (t * (y2 * y5)); elseif (x <= 8e-39) tmp = k * (y1 * (i * -z)); elseif (x <= 1.08e+92) tmp = a * (y5 * (t * y2)); 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[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -9.5e+193], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4.2e-85], t$95$1, If[LessEqual[x, 2.9e-291], N[(k * N[(i * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.5e-196], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 8e-39], N[(k * N[(y1 * N[(i * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.08e+92], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\
\mathbf{if}\;x \leq -9.5 \cdot 10^{+193}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;x \leq -4.2 \cdot 10^{-85}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 2.9 \cdot 10^{-291}:\\
\;\;\;\;k \cdot \left(i \cdot \left(z \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;x \leq 4.5 \cdot 10^{-196}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 8 \cdot 10^{-39}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(i \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.08 \cdot 10^{+92}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -9.4999999999999997e193Initial program 26.1%
Taylor expanded in x around inf 48.4%
Taylor expanded in y2 around inf 57.6%
Taylor expanded in c around inf 49.5%
associate-*r*53.0%
*-commutative53.0%
*-commutative53.0%
Simplified53.0%
if -9.4999999999999997e193 < x < -4.2e-85 or 1.08e92 < x Initial program 28.3%
Taylor expanded in x around inf 45.1%
Taylor expanded in y2 around inf 38.9%
Taylor expanded in y1 around inf 37.8%
+-commutative37.8%
mul-1-neg37.8%
unsub-neg37.8%
Simplified37.8%
Taylor expanded in k around 0 28.6%
mul-1-neg28.6%
distribute-rgt-neg-in28.6%
associate-*r*34.1%
distribute-lft-neg-in34.1%
distribute-rgt-neg-in34.1%
Simplified34.1%
if -4.2e-85 < x < 2.90000000000000002e-291Initial program 36.1%
Taylor expanded in k around inf 46.0%
+-commutative46.0%
mul-1-neg46.0%
unsub-neg46.0%
*-commutative46.0%
associate-*r*46.0%
neg-mul-146.0%
Simplified46.0%
Taylor expanded in z around inf 37.7%
Taylor expanded in b around 0 35.4%
associate-*r*35.4%
neg-mul-135.4%
Simplified35.4%
if 2.90000000000000002e-291 < x < 4.5e-196Initial program 11.6%
Taylor expanded in y4 around inf 36.8%
*-commutative36.8%
Simplified36.8%
Taylor expanded in a around inf 48.0%
Taylor expanded in t around inf 43.2%
if 4.5e-196 < x < 7.99999999999999943e-39Initial program 42.7%
Taylor expanded in k around inf 43.7%
+-commutative43.7%
mul-1-neg43.7%
unsub-neg43.7%
*-commutative43.7%
associate-*r*43.7%
neg-mul-143.7%
Simplified43.7%
Taylor expanded in z around inf 33.7%
Taylor expanded in b around 0 23.1%
associate-*r*23.1%
neg-mul-123.1%
Simplified23.1%
Taylor expanded in i around 0 23.1%
neg-mul-123.1%
distribute-lft-neg-in23.1%
*-commutative23.1%
associate-*l*33.4%
Simplified33.4%
if 7.99999999999999943e-39 < x < 1.08e92Initial program 37.0%
Taylor expanded in y4 around inf 31.2%
*-commutative31.2%
Simplified31.2%
Taylor expanded in a around inf 31.0%
Taylor expanded in t around inf 34.4%
*-commutative34.4%
Simplified34.4%
Final simplification36.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -6.1e+193)
(* (* x c) (* y0 y2))
(if (<= x -1.35e-90)
(* y2 (* (* a y1) (- x)))
(if (<= x 7.8e-292)
(* k (* i (* z (- y1))))
(if (<= x 6.5e-196)
(* a (* t (* y2 y5)))
(if (<= x 1.4e-47)
(* k (* y1 (* i (- z))))
(if (<= x 2.15e+92)
(* a (* y5 (* t y2)))
(* a (* y2 (* x (- y1)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -6.1e+193) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -1.35e-90) {
tmp = y2 * ((a * y1) * -x);
} else if (x <= 7.8e-292) {
tmp = k * (i * (z * -y1));
} else if (x <= 6.5e-196) {
tmp = a * (t * (y2 * y5));
} else if (x <= 1.4e-47) {
tmp = k * (y1 * (i * -z));
} else if (x <= 2.15e+92) {
tmp = a * (y5 * (t * y2));
} else {
tmp = a * (y2 * (x * -y1));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-6.1d+193)) then
tmp = (x * c) * (y0 * y2)
else if (x <= (-1.35d-90)) then
tmp = y2 * ((a * y1) * -x)
else if (x <= 7.8d-292) then
tmp = k * (i * (z * -y1))
else if (x <= 6.5d-196) then
tmp = a * (t * (y2 * y5))
else if (x <= 1.4d-47) then
tmp = k * (y1 * (i * -z))
else if (x <= 2.15d+92) then
tmp = a * (y5 * (t * y2))
else
tmp = a * (y2 * (x * -y1))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -6.1e+193) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -1.35e-90) {
tmp = y2 * ((a * y1) * -x);
} else if (x <= 7.8e-292) {
tmp = k * (i * (z * -y1));
} else if (x <= 6.5e-196) {
tmp = a * (t * (y2 * y5));
} else if (x <= 1.4e-47) {
tmp = k * (y1 * (i * -z));
} else if (x <= 2.15e+92) {
tmp = a * (y5 * (t * y2));
} else {
tmp = a * (y2 * (x * -y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -6.1e+193: tmp = (x * c) * (y0 * y2) elif x <= -1.35e-90: tmp = y2 * ((a * y1) * -x) elif x <= 7.8e-292: tmp = k * (i * (z * -y1)) elif x <= 6.5e-196: tmp = a * (t * (y2 * y5)) elif x <= 1.4e-47: tmp = k * (y1 * (i * -z)) elif x <= 2.15e+92: tmp = a * (y5 * (t * y2)) else: tmp = a * (y2 * (x * -y1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -6.1e+193) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (x <= -1.35e-90) tmp = Float64(y2 * Float64(Float64(a * y1) * Float64(-x))); elseif (x <= 7.8e-292) tmp = Float64(k * Float64(i * Float64(z * Float64(-y1)))); elseif (x <= 6.5e-196) tmp = Float64(a * Float64(t * Float64(y2 * y5))); elseif (x <= 1.4e-47) tmp = Float64(k * Float64(y1 * Float64(i * Float64(-z)))); elseif (x <= 2.15e+92) tmp = Float64(a * Float64(y5 * Float64(t * y2))); else tmp = Float64(a * Float64(y2 * Float64(x * Float64(-y1)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -6.1e+193) tmp = (x * c) * (y0 * y2); elseif (x <= -1.35e-90) tmp = y2 * ((a * y1) * -x); elseif (x <= 7.8e-292) tmp = k * (i * (z * -y1)); elseif (x <= 6.5e-196) tmp = a * (t * (y2 * y5)); elseif (x <= 1.4e-47) tmp = k * (y1 * (i * -z)); elseif (x <= 2.15e+92) tmp = a * (y5 * (t * y2)); else tmp = a * (y2 * (x * -y1)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -6.1e+193], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.35e-90], N[(y2 * N[(N[(a * y1), $MachinePrecision] * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 7.8e-292], N[(k * N[(i * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.5e-196], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.4e-47], N[(k * N[(y1 * N[(i * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.15e+92], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -6.1 \cdot 10^{+193}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;x \leq -1.35 \cdot 10^{-90}:\\
\;\;\;\;y2 \cdot \left(\left(a \cdot y1\right) \cdot \left(-x\right)\right)\\
\mathbf{elif}\;x \leq 7.8 \cdot 10^{-292}:\\
\;\;\;\;k \cdot \left(i \cdot \left(z \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;x \leq 6.5 \cdot 10^{-196}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 1.4 \cdot 10^{-47}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(i \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;x \leq 2.15 \cdot 10^{+92}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\
\end{array}
\end{array}
if x < -6.1000000000000003e193Initial program 26.1%
Taylor expanded in x around inf 48.4%
Taylor expanded in y2 around inf 57.6%
Taylor expanded in c around inf 49.5%
associate-*r*53.0%
*-commutative53.0%
*-commutative53.0%
Simplified53.0%
if -6.1000000000000003e193 < x < -1.34999999999999998e-90Initial program 32.8%
Taylor expanded in x around inf 41.6%
Taylor expanded in y2 around inf 44.3%
Taylor expanded in y1 around inf 45.7%
+-commutative45.7%
mul-1-neg45.7%
unsub-neg45.7%
Simplified45.7%
Taylor expanded in k around 0 38.9%
mul-1-neg38.9%
associate-*r*37.3%
*-commutative37.3%
associate-*r*37.3%
distribute-rgt-neg-out37.3%
distribute-rgt-neg-in37.3%
Simplified37.3%
if -1.34999999999999998e-90 < x < 7.8e-292Initial program 37.5%
Taylor expanded in k around inf 45.9%
+-commutative45.9%
mul-1-neg45.9%
unsub-neg45.9%
*-commutative45.9%
associate-*r*45.9%
neg-mul-145.9%
Simplified45.9%
Taylor expanded in z around inf 37.2%
Taylor expanded in b around 0 34.8%
associate-*r*34.8%
neg-mul-134.8%
Simplified34.8%
if 7.8e-292 < x < 6.5000000000000004e-196Initial program 11.6%
Taylor expanded in y4 around inf 36.8%
*-commutative36.8%
Simplified36.8%
Taylor expanded in a around inf 48.0%
Taylor expanded in t around inf 43.2%
if 6.5000000000000004e-196 < x < 1.39999999999999996e-47Initial program 42.7%
Taylor expanded in k around inf 43.7%
+-commutative43.7%
mul-1-neg43.7%
unsub-neg43.7%
*-commutative43.7%
associate-*r*43.7%
neg-mul-143.7%
Simplified43.7%
Taylor expanded in z around inf 33.7%
Taylor expanded in b around 0 23.1%
associate-*r*23.1%
neg-mul-123.1%
Simplified23.1%
Taylor expanded in i around 0 23.1%
neg-mul-123.1%
distribute-lft-neg-in23.1%
*-commutative23.1%
associate-*l*33.4%
Simplified33.4%
if 1.39999999999999996e-47 < x < 2.1499999999999999e92Initial program 37.0%
Taylor expanded in y4 around inf 31.2%
*-commutative31.2%
Simplified31.2%
Taylor expanded in a around inf 31.0%
Taylor expanded in t around inf 34.4%
*-commutative34.4%
Simplified34.4%
if 2.1499999999999999e92 < x Initial program 21.5%
Taylor expanded in x around inf 47.5%
Taylor expanded in y2 around inf 34.7%
Taylor expanded in y1 around inf 30.6%
+-commutative30.6%
mul-1-neg30.6%
unsub-neg30.6%
Simplified30.6%
Taylor expanded in k around 0 26.8%
mul-1-neg26.8%
distribute-rgt-neg-in26.8%
associate-*r*34.9%
distribute-lft-neg-in34.9%
distribute-rgt-neg-in34.9%
Simplified34.9%
Final simplification37.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y5 (- (* t y2) (* y y3))))))
(if (<= x -9.2e+193)
(* (* x c) (* y0 y2))
(if (<= x -270000000000.0)
(* y2 (* (* a y1) (- x)))
(if (<= x -2.5e-192)
t_1
(if (<= x -7.5e-301)
(* k (* i (* z (- y1))))
(if (<= x 5.2e+111) t_1 (* a (* y2 (* x (- y1)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (x <= -9.2e+193) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -270000000000.0) {
tmp = y2 * ((a * y1) * -x);
} else if (x <= -2.5e-192) {
tmp = t_1;
} else if (x <= -7.5e-301) {
tmp = k * (i * (z * -y1));
} else if (x <= 5.2e+111) {
tmp = t_1;
} else {
tmp = a * (y2 * (x * -y1));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (y5 * ((t * y2) - (y * y3)))
if (x <= (-9.2d+193)) then
tmp = (x * c) * (y0 * y2)
else if (x <= (-270000000000.0d0)) then
tmp = y2 * ((a * y1) * -x)
else if (x <= (-2.5d-192)) then
tmp = t_1
else if (x <= (-7.5d-301)) then
tmp = k * (i * (z * -y1))
else if (x <= 5.2d+111) then
tmp = t_1
else
tmp = a * (y2 * (x * -y1))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (x <= -9.2e+193) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -270000000000.0) {
tmp = y2 * ((a * y1) * -x);
} else if (x <= -2.5e-192) {
tmp = t_1;
} else if (x <= -7.5e-301) {
tmp = k * (i * (z * -y1));
} else if (x <= 5.2e+111) {
tmp = t_1;
} else {
tmp = a * (y2 * (x * -y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y5 * ((t * y2) - (y * y3))) tmp = 0 if x <= -9.2e+193: tmp = (x * c) * (y0 * y2) elif x <= -270000000000.0: tmp = y2 * ((a * y1) * -x) elif x <= -2.5e-192: tmp = t_1 elif x <= -7.5e-301: tmp = k * (i * (z * -y1)) elif x <= 5.2e+111: tmp = t_1 else: tmp = a * (y2 * (x * -y1)) 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(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) tmp = 0.0 if (x <= -9.2e+193) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (x <= -270000000000.0) tmp = Float64(y2 * Float64(Float64(a * y1) * Float64(-x))); elseif (x <= -2.5e-192) tmp = t_1; elseif (x <= -7.5e-301) tmp = Float64(k * Float64(i * Float64(z * Float64(-y1)))); elseif (x <= 5.2e+111) tmp = t_1; else tmp = Float64(a * Float64(y2 * Float64(x * Float64(-y1)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y5 * ((t * y2) - (y * y3))); tmp = 0.0; if (x <= -9.2e+193) tmp = (x * c) * (y0 * y2); elseif (x <= -270000000000.0) tmp = y2 * ((a * y1) * -x); elseif (x <= -2.5e-192) tmp = t_1; elseif (x <= -7.5e-301) tmp = k * (i * (z * -y1)); elseif (x <= 5.2e+111) tmp = t_1; else tmp = a * (y2 * (x * -y1)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -9.2e+193], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -270000000000.0], N[(y2 * N[(N[(a * y1), $MachinePrecision] * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.5e-192], t$95$1, If[LessEqual[x, -7.5e-301], N[(k * N[(i * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.2e+111], t$95$1, N[(a * N[(y2 * N[(x * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;x \leq -9.2 \cdot 10^{+193}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;x \leq -270000000000:\\
\;\;\;\;y2 \cdot \left(\left(a \cdot y1\right) \cdot \left(-x\right)\right)\\
\mathbf{elif}\;x \leq -2.5 \cdot 10^{-192}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq -7.5 \cdot 10^{-301}:\\
\;\;\;\;k \cdot \left(i \cdot \left(z \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;x \leq 5.2 \cdot 10^{+111}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(x \cdot \left(-y1\right)\right)\right)\\
\end{array}
\end{array}
if x < -9.20000000000000053e193Initial program 26.1%
Taylor expanded in x around inf 48.4%
Taylor expanded in y2 around inf 57.6%
Taylor expanded in c around inf 49.5%
associate-*r*53.0%
*-commutative53.0%
*-commutative53.0%
Simplified53.0%
if -9.20000000000000053e193 < x < -2.7e11Initial program 26.6%
Taylor expanded in x around inf 47.3%
Taylor expanded in y2 around inf 53.8%
Taylor expanded in y1 around inf 56.7%
+-commutative56.7%
mul-1-neg56.7%
unsub-neg56.7%
Simplified56.7%
Taylor expanded in k around 0 47.9%
mul-1-neg47.9%
associate-*r*45.1%
*-commutative45.1%
associate-*r*45.1%
distribute-rgt-neg-out45.1%
distribute-rgt-neg-in45.1%
Simplified45.1%
if -2.7e11 < x < -2.5e-192 or -7.5000000000000006e-301 < x < 5.1999999999999997e111Initial program 34.1%
Taylor expanded in y4 around inf 35.7%
*-commutative35.7%
Simplified35.7%
Taylor expanded in a around inf 35.8%
if -2.5e-192 < x < -7.5000000000000006e-301Initial program 38.4%
Taylor expanded in k around inf 46.7%
+-commutative46.7%
mul-1-neg46.7%
unsub-neg46.7%
*-commutative46.7%
associate-*r*46.7%
neg-mul-146.7%
Simplified46.7%
Taylor expanded in z around inf 36.6%
Taylor expanded in b around 0 39.9%
associate-*r*39.9%
neg-mul-139.9%
Simplified39.9%
if 5.1999999999999997e111 < x Initial program 23.5%
Taylor expanded in x around inf 49.3%
Taylor expanded in y2 around inf 35.3%
Taylor expanded in y1 around inf 33.1%
+-commutative33.1%
mul-1-neg33.1%
unsub-neg33.1%
Simplified33.1%
Taylor expanded in k around 0 29.1%
mul-1-neg29.1%
distribute-rgt-neg-in29.1%
associate-*r*35.7%
distribute-lft-neg-in35.7%
distribute-rgt-neg-in35.7%
Simplified35.7%
Final simplification39.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y5 (- (* t y2) (* y y3)))))
(t_2 (* b (* y4 (- (* t j) (* y k))))))
(if (<= y4 -9.6e+103)
t_2
(if (<= y4 -4.9e-223)
t_1
(if (<= y4 1.25e-255)
(* y2 (* (* a y1) (- x)))
(if (<= y4 3.4e-172)
t_1
(if (<= y4 1.7e+70) (* (* i k) (* z (- y1))) 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 = a * (y5 * ((t * y2) - (y * y3)));
double t_2 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (y4 <= -9.6e+103) {
tmp = t_2;
} else if (y4 <= -4.9e-223) {
tmp = t_1;
} else if (y4 <= 1.25e-255) {
tmp = y2 * ((a * y1) * -x);
} else if (y4 <= 3.4e-172) {
tmp = t_1;
} else if (y4 <= 1.7e+70) {
tmp = (i * k) * (z * -y1);
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * (y5 * ((t * y2) - (y * y3)))
t_2 = b * (y4 * ((t * j) - (y * k)))
if (y4 <= (-9.6d+103)) then
tmp = t_2
else if (y4 <= (-4.9d-223)) then
tmp = t_1
else if (y4 <= 1.25d-255) then
tmp = y2 * ((a * y1) * -x)
else if (y4 <= 3.4d-172) then
tmp = t_1
else if (y4 <= 1.7d+70) then
tmp = (i * k) * (z * -y1)
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 = a * (y5 * ((t * y2) - (y * y3)));
double t_2 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (y4 <= -9.6e+103) {
tmp = t_2;
} else if (y4 <= -4.9e-223) {
tmp = t_1;
} else if (y4 <= 1.25e-255) {
tmp = y2 * ((a * y1) * -x);
} else if (y4 <= 3.4e-172) {
tmp = t_1;
} else if (y4 <= 1.7e+70) {
tmp = (i * k) * (z * -y1);
} 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 = a * (y5 * ((t * y2) - (y * y3))) t_2 = b * (y4 * ((t * j) - (y * k))) tmp = 0 if y4 <= -9.6e+103: tmp = t_2 elif y4 <= -4.9e-223: tmp = t_1 elif y4 <= 1.25e-255: tmp = y2 * ((a * y1) * -x) elif y4 <= 3.4e-172: tmp = t_1 elif y4 <= 1.7e+70: tmp = (i * k) * (z * -y1) 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(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) t_2 = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) tmp = 0.0 if (y4 <= -9.6e+103) tmp = t_2; elseif (y4 <= -4.9e-223) tmp = t_1; elseif (y4 <= 1.25e-255) tmp = Float64(y2 * Float64(Float64(a * y1) * Float64(-x))); elseif (y4 <= 3.4e-172) tmp = t_1; elseif (y4 <= 1.7e+70) tmp = Float64(Float64(i * k) * Float64(z * Float64(-y1))); 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 = a * (y5 * ((t * y2) - (y * y3))); t_2 = b * (y4 * ((t * j) - (y * k))); tmp = 0.0; if (y4 <= -9.6e+103) tmp = t_2; elseif (y4 <= -4.9e-223) tmp = t_1; elseif (y4 <= 1.25e-255) tmp = y2 * ((a * y1) * -x); elseif (y4 <= 3.4e-172) tmp = t_1; elseif (y4 <= 1.7e+70) tmp = (i * k) * (z * -y1); 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[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -9.6e+103], t$95$2, If[LessEqual[y4, -4.9e-223], t$95$1, If[LessEqual[y4, 1.25e-255], N[(y2 * N[(N[(a * y1), $MachinePrecision] * (-x)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 3.4e-172], t$95$1, If[LessEqual[y4, 1.7e+70], N[(N[(i * k), $MachinePrecision] * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
t_2 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{if}\;y4 \leq -9.6 \cdot 10^{+103}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq -4.9 \cdot 10^{-223}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 1.25 \cdot 10^{-255}:\\
\;\;\;\;y2 \cdot \left(\left(a \cdot y1\right) \cdot \left(-x\right)\right)\\
\mathbf{elif}\;y4 \leq 3.4 \cdot 10^{-172}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 1.7 \cdot 10^{+70}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(z \cdot \left(-y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y4 < -9.5999999999999994e103 or 1.7e70 < y4 Initial program 23.4%
Taylor expanded in y4 around inf 42.1%
*-commutative42.1%
Simplified42.1%
Taylor expanded in b around inf 57.9%
if -9.5999999999999994e103 < y4 < -4.9e-223 or 1.2499999999999999e-255 < y4 < 3.3999999999999999e-172Initial program 30.9%
Taylor expanded in y4 around inf 37.3%
*-commutative37.3%
Simplified37.3%
Taylor expanded in a around inf 37.9%
if -4.9e-223 < y4 < 1.2499999999999999e-255Initial program 32.1%
Taylor expanded in x around inf 28.8%
Taylor expanded in y2 around inf 40.1%
Taylor expanded in y1 around inf 36.9%
+-commutative36.9%
mul-1-neg36.9%
unsub-neg36.9%
Simplified36.9%
Taylor expanded in k around 0 36.7%
mul-1-neg36.7%
associate-*r*36.7%
*-commutative36.7%
associate-*r*40.1%
distribute-rgt-neg-out40.1%
distribute-rgt-neg-in40.1%
Simplified40.1%
if 3.3999999999999999e-172 < y4 < 1.7e70Initial program 44.7%
Taylor expanded in k around inf 32.1%
+-commutative32.1%
mul-1-neg32.1%
unsub-neg32.1%
*-commutative32.1%
associate-*r*32.1%
neg-mul-132.1%
Simplified32.1%
Taylor expanded in z around inf 28.3%
Taylor expanded in b around 0 28.4%
associate-*r*28.4%
neg-mul-128.4%
Simplified28.4%
Taylor expanded in k around 0 27.0%
mul-1-neg27.0%
associate-*r*31.0%
Simplified31.0%
Final simplification43.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (- (* t j) (* y k))))))
(if (<= c -5.5e+28)
t_1
(if (<= c -5.6e-34)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= c -1.15e-221)
t_1
(if (<= c 9.6e-270)
(* k (* i (* z (- y1))))
(if (<= c 7.8e-98)
(* b (* j (- (* t y4) (* x y0))))
(* c (* y2 (- (* x y0) (* 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 t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (c <= -5.5e+28) {
tmp = t_1;
} else if (c <= -5.6e-34) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= -1.15e-221) {
tmp = t_1;
} else if (c <= 9.6e-270) {
tmp = k * (i * (z * -y1));
} else if (c <= 7.8e-98) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = c * (y2 * ((x * y0) - (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) :: t_1
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
if (c <= (-5.5d+28)) then
tmp = t_1
else if (c <= (-5.6d-34)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (c <= (-1.15d-221)) then
tmp = t_1
else if (c <= 9.6d-270) then
tmp = k * (i * (z * -y1))
else if (c <= 7.8d-98) then
tmp = b * (j * ((t * y4) - (x * y0)))
else
tmp = c * (y2 * ((x * y0) - (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 t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (c <= -5.5e+28) {
tmp = t_1;
} else if (c <= -5.6e-34) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= -1.15e-221) {
tmp = t_1;
} else if (c <= 9.6e-270) {
tmp = k * (i * (z * -y1));
} else if (c <= 7.8e-98) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = c * (y2 * ((x * y0) - (t * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) tmp = 0 if c <= -5.5e+28: tmp = t_1 elif c <= -5.6e-34: tmp = a * (y5 * ((t * y2) - (y * y3))) elif c <= -1.15e-221: tmp = t_1 elif c <= 9.6e-270: tmp = k * (i * (z * -y1)) elif c <= 7.8e-98: tmp = b * (j * ((t * y4) - (x * y0))) else: tmp = c * (y2 * ((x * y0) - (t * y4))) 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(y4 * Float64(Float64(t * j) - Float64(y * k)))) tmp = 0.0 if (c <= -5.5e+28) tmp = t_1; elseif (c <= -5.6e-34) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (c <= -1.15e-221) tmp = t_1; elseif (c <= 9.6e-270) tmp = Float64(k * Float64(i * Float64(z * Float64(-y1)))); elseif (c <= 7.8e-98) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - 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) t_1 = b * (y4 * ((t * j) - (y * k))); tmp = 0.0; if (c <= -5.5e+28) tmp = t_1; elseif (c <= -5.6e-34) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (c <= -1.15e-221) tmp = t_1; elseif (c <= 9.6e-270) tmp = k * (i * (z * -y1)); elseif (c <= 7.8e-98) tmp = b * (j * ((t * y4) - (x * y0))); else tmp = c * (y2 * ((x * y0) - (t * y4))); 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[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -5.5e+28], t$95$1, If[LessEqual[c, -5.6e-34], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.15e-221], t$95$1, If[LessEqual[c, 9.6e-270], N[(k * N[(i * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7.8e-98], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{if}\;c \leq -5.5 \cdot 10^{+28}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -5.6 \cdot 10^{-34}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq -1.15 \cdot 10^{-221}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 9.6 \cdot 10^{-270}:\\
\;\;\;\;k \cdot \left(i \cdot \left(z \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;c \leq 7.8 \cdot 10^{-98}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\end{array}
\end{array}
if c < -5.5000000000000003e28 or -5.59999999999999994e-34 < c < -1.15e-221Initial program 29.1%
Taylor expanded in y4 around inf 36.5%
*-commutative36.5%
Simplified36.5%
Taylor expanded in b around inf 39.7%
if -5.5000000000000003e28 < c < -5.59999999999999994e-34Initial program 25.0%
Taylor expanded in y4 around inf 66.7%
*-commutative66.7%
Simplified66.7%
Taylor expanded in a around inf 75.4%
if -1.15e-221 < c < 9.60000000000000007e-270Initial program 50.3%
Taylor expanded in k around inf 54.9%
+-commutative54.9%
mul-1-neg54.9%
unsub-neg54.9%
*-commutative54.9%
associate-*r*54.9%
neg-mul-154.9%
Simplified54.9%
Taylor expanded in z around inf 46.5%
Taylor expanded in b around 0 50.9%
associate-*r*50.9%
neg-mul-150.9%
Simplified50.9%
if 9.60000000000000007e-270 < c < 7.79999999999999943e-98Initial program 26.0%
Taylor expanded in j around inf 29.4%
+-commutative29.4%
mul-1-neg29.4%
unsub-neg29.4%
*-commutative29.4%
Simplified29.4%
Taylor expanded in b around inf 42.0%
if 7.79999999999999943e-98 < c Initial program 31.6%
Taylor expanded in y2 around inf 42.7%
Taylor expanded in c around inf 45.1%
Final simplification44.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -6.4e+143)
(* i (* y1 (- (* x j) (* z k))))
(if (<= c -1.7e+104)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= c -3.1e-34)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= c -2.2e-222)
(* b (* y4 (- (* t j) (* y k))))
(if (<= c 7.2e-99)
(* k (* z (- (* b y0) (* i y1))))
(* c (* y2 (- (* x y0) (* 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 (c <= -6.4e+143) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (c <= -1.7e+104) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (c <= -3.1e-34) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (c <= -2.2e-222) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (c <= 7.2e-99) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else {
tmp = c * (y2 * ((x * y0) - (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 (c <= (-6.4d+143)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (c <= (-1.7d+104)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (c <= (-3.1d-34)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (c <= (-2.2d-222)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (c <= 7.2d-99) then
tmp = k * (z * ((b * y0) - (i * y1)))
else
tmp = c * (y2 * ((x * y0) - (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 (c <= -6.4e+143) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (c <= -1.7e+104) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (c <= -3.1e-34) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (c <= -2.2e-222) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (c <= 7.2e-99) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else {
tmp = c * (y2 * ((x * y0) - (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 c <= -6.4e+143: tmp = i * (y1 * ((x * j) - (z * k))) elif c <= -1.7e+104: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif c <= -3.1e-34: tmp = x * (y2 * ((c * y0) - (a * y1))) elif c <= -2.2e-222: tmp = b * (y4 * ((t * j) - (y * k))) elif c <= 7.2e-99: tmp = k * (z * ((b * y0) - (i * y1))) else: tmp = c * (y2 * ((x * y0) - (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 (c <= -6.4e+143) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (c <= -1.7e+104) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (c <= -3.1e-34) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (c <= -2.2e-222) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (c <= 7.2e-99) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); else tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - 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 (c <= -6.4e+143) tmp = i * (y1 * ((x * j) - (z * k))); elseif (c <= -1.7e+104) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (c <= -3.1e-34) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (c <= -2.2e-222) tmp = b * (y4 * ((t * j) - (y * k))); elseif (c <= 7.2e-99) tmp = k * (z * ((b * y0) - (i * y1))); else tmp = c * (y2 * ((x * y0) - (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[c, -6.4e+143], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.7e+104], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -3.1e-34], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -2.2e-222], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7.2e-99], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -6.4 \cdot 10^{+143}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;c \leq -1.7 \cdot 10^{+104}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;c \leq -3.1 \cdot 10^{-34}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;c \leq -2.2 \cdot 10^{-222}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;c \leq 7.2 \cdot 10^{-99}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\end{array}
\end{array}
if c < -6.40000000000000033e143Initial program 17.9%
Taylor expanded in y1 around -inf 54.2%
associate-*r*54.2%
neg-mul-154.2%
+-commutative54.2%
mul-1-neg54.2%
unsub-neg54.2%
*-commutative54.2%
*-commutative54.2%
*-commutative54.2%
*-commutative54.2%
Simplified54.2%
Taylor expanded in i around -inf 39.8%
if -6.40000000000000033e143 < c < -1.6999999999999998e104Initial program 11.1%
Taylor expanded in k around inf 44.4%
+-commutative44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
associate-*r*44.4%
neg-mul-144.4%
Simplified44.4%
Taylor expanded in y4 around inf 67.0%
if -1.6999999999999998e104 < c < -3.0999999999999998e-34Initial program 29.4%
Taylor expanded in x around inf 38.0%
Taylor expanded in y2 around inf 50.7%
Taylor expanded in k around 0 59.2%
if -3.0999999999999998e-34 < c < -2.2e-222Initial program 41.8%
Taylor expanded in y4 around inf 42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in b around inf 45.3%
if -2.2e-222 < c < 7.2000000000000001e-99Initial program 34.8%
Taylor expanded in k around inf 45.0%
+-commutative45.0%
mul-1-neg45.0%
unsub-neg45.0%
*-commutative45.0%
associate-*r*45.0%
neg-mul-145.0%
Simplified45.0%
Taylor expanded in z around inf 41.9%
if 7.2000000000000001e-99 < c Initial program 31.6%
Taylor expanded in y2 around inf 42.7%
Taylor expanded in c around inf 45.1%
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 (* a (* y5 (* t y2)))) (t_2 (* (* x a) (* y1 (- y2)))))
(if (<= x -2.05e+35)
(* (* x c) (* y0 y2))
(if (<= x -2e-69)
t_2
(if (<= x 9.2e-244)
t_1
(if (<= x 1.55e-49)
(* k (* z (* b y0)))
(if (<= x 2.05e+108) t_1 t_2)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * (t * y2));
double t_2 = (x * a) * (y1 * -y2);
double tmp;
if (x <= -2.05e+35) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -2e-69) {
tmp = t_2;
} else if (x <= 9.2e-244) {
tmp = t_1;
} else if (x <= 1.55e-49) {
tmp = k * (z * (b * y0));
} else if (x <= 2.05e+108) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * (y5 * (t * y2))
t_2 = (x * a) * (y1 * -y2)
if (x <= (-2.05d+35)) then
tmp = (x * c) * (y0 * y2)
else if (x <= (-2d-69)) then
tmp = t_2
else if (x <= 9.2d-244) then
tmp = t_1
else if (x <= 1.55d-49) then
tmp = k * (z * (b * y0))
else if (x <= 2.05d+108) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * (t * y2));
double t_2 = (x * a) * (y1 * -y2);
double tmp;
if (x <= -2.05e+35) {
tmp = (x * c) * (y0 * y2);
} else if (x <= -2e-69) {
tmp = t_2;
} else if (x <= 9.2e-244) {
tmp = t_1;
} else if (x <= 1.55e-49) {
tmp = k * (z * (b * y0));
} else if (x <= 2.05e+108) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y5 * (t * y2)) t_2 = (x * a) * (y1 * -y2) tmp = 0 if x <= -2.05e+35: tmp = (x * c) * (y0 * y2) elif x <= -2e-69: tmp = t_2 elif x <= 9.2e-244: tmp = t_1 elif x <= 1.55e-49: tmp = k * (z * (b * y0)) elif x <= 2.05e+108: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y5 * Float64(t * y2))) t_2 = Float64(Float64(x * a) * Float64(y1 * Float64(-y2))) tmp = 0.0 if (x <= -2.05e+35) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (x <= -2e-69) tmp = t_2; elseif (x <= 9.2e-244) tmp = t_1; elseif (x <= 1.55e-49) tmp = Float64(k * Float64(z * Float64(b * y0))); elseif (x <= 2.05e+108) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y5 * (t * y2)); t_2 = (x * a) * (y1 * -y2); tmp = 0.0; if (x <= -2.05e+35) tmp = (x * c) * (y0 * y2); elseif (x <= -2e-69) tmp = t_2; elseif (x <= 9.2e-244) tmp = t_1; elseif (x <= 1.55e-49) tmp = k * (z * (b * y0)); elseif (x <= 2.05e+108) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * a), $MachinePrecision] * N[(y1 * (-y2)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.05e+35], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2e-69], t$95$2, If[LessEqual[x, 9.2e-244], t$95$1, If[LessEqual[x, 1.55e-49], N[(k * N[(z * N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.05e+108], t$95$1, t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
t_2 := \left(x \cdot a\right) \cdot \left(y1 \cdot \left(-y2\right)\right)\\
\mathbf{if}\;x \leq -2.05 \cdot 10^{+35}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;x \leq -2 \cdot 10^{-69}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;x \leq 9.2 \cdot 10^{-244}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 1.55 \cdot 10^{-49}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq 2.05 \cdot 10^{+108}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if x < -2.0499999999999999e35Initial program 26.1%
Taylor expanded in x around inf 46.4%
Taylor expanded in y2 around inf 51.0%
Taylor expanded in c around inf 35.6%
associate-*r*39.1%
*-commutative39.1%
*-commutative39.1%
Simplified39.1%
if -2.0499999999999999e35 < x < -1.9999999999999999e-69 or 2.05e108 < x Initial program 30.1%
Taylor expanded in x around inf 47.5%
Taylor expanded in y2 around inf 36.6%
Taylor expanded in a around inf 31.2%
mul-1-neg31.2%
associate-*r*32.5%
Simplified32.5%
if -1.9999999999999999e-69 < x < 9.2e-244 or 1.55e-49 < x < 2.05e108Initial program 33.0%
Taylor expanded in y4 around inf 36.7%
*-commutative36.7%
Simplified36.7%
Taylor expanded in a around inf 34.9%
Taylor expanded in t around inf 29.8%
*-commutative29.8%
Simplified29.8%
if 9.2e-244 < x < 1.55e-49Initial program 34.3%
Taylor expanded in k around inf 39.9%
+-commutative39.9%
mul-1-neg39.9%
unsub-neg39.9%
*-commutative39.9%
associate-*r*39.9%
neg-mul-139.9%
Simplified39.9%
Taylor expanded in z around inf 35.5%
Taylor expanded in b around inf 23.6%
associate-*r*30.6%
Simplified30.6%
Final simplification32.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -6.4e+112)
(* i (* y1 (- (* x j) (* z k))))
(if (<= c -8.5e-34)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= c -3e-222)
(* b (* y4 (- (* t j) (* y k))))
(if (<= c 5.5e-98)
(* k (* z (- (* b y0) (* i y1))))
(* c (* y2 (- (* x y0) (* 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 (c <= -6.4e+112) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (c <= -8.5e-34) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= -3e-222) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (c <= 5.5e-98) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else {
tmp = c * (y2 * ((x * y0) - (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 (c <= (-6.4d+112)) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (c <= (-8.5d-34)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (c <= (-3d-222)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (c <= 5.5d-98) then
tmp = k * (z * ((b * y0) - (i * y1)))
else
tmp = c * (y2 * ((x * y0) - (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 (c <= -6.4e+112) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (c <= -8.5e-34) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= -3e-222) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (c <= 5.5e-98) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else {
tmp = c * (y2 * ((x * y0) - (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 c <= -6.4e+112: tmp = i * (y1 * ((x * j) - (z * k))) elif c <= -8.5e-34: tmp = a * (y5 * ((t * y2) - (y * y3))) elif c <= -3e-222: tmp = b * (y4 * ((t * j) - (y * k))) elif c <= 5.5e-98: tmp = k * (z * ((b * y0) - (i * y1))) else: tmp = c * (y2 * ((x * y0) - (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 (c <= -6.4e+112) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (c <= -8.5e-34) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (c <= -3e-222) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (c <= 5.5e-98) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); else tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - 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 (c <= -6.4e+112) tmp = i * (y1 * ((x * j) - (z * k))); elseif (c <= -8.5e-34) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (c <= -3e-222) tmp = b * (y4 * ((t * j) - (y * k))); elseif (c <= 5.5e-98) tmp = k * (z * ((b * y0) - (i * y1))); else tmp = c * (y2 * ((x * y0) - (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[c, -6.4e+112], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -8.5e-34], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -3e-222], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.5e-98], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -6.4 \cdot 10^{+112}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;c \leq -8.5 \cdot 10^{-34}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq -3 \cdot 10^{-222}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;c \leq 5.5 \cdot 10^{-98}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\end{array}
\end{array}
if c < -6.39999999999999972e112Initial program 16.3%
Taylor expanded in y1 around -inf 51.5%
associate-*r*51.5%
neg-mul-151.5%
+-commutative51.5%
mul-1-neg51.5%
unsub-neg51.5%
*-commutative51.5%
*-commutative51.5%
*-commutative51.5%
*-commutative51.5%
Simplified51.5%
Taylor expanded in i around -inf 38.4%
if -6.39999999999999972e112 < c < -8.5000000000000001e-34Initial program 27.8%
Taylor expanded in y4 around inf 45.1%
*-commutative45.1%
Simplified45.1%
Taylor expanded in a around inf 55.6%
if -8.5000000000000001e-34 < c < -3.0000000000000003e-222Initial program 41.8%
Taylor expanded in y4 around inf 42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in b around inf 45.3%
if -3.0000000000000003e-222 < c < 5.4999999999999997e-98Initial program 34.8%
Taylor expanded in k around inf 45.0%
+-commutative45.0%
mul-1-neg45.0%
unsub-neg45.0%
*-commutative45.0%
associate-*r*45.0%
neg-mul-145.0%
Simplified45.0%
Taylor expanded in z around inf 41.9%
if 5.4999999999999997e-98 < c Initial program 31.6%
Taylor expanded in y2 around inf 42.7%
Taylor expanded in c around inf 45.1%
Final simplification44.4%
(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)))))
(if (<= y2 -2.75e-17)
t_1
(if (<= y2 2.4e-179)
(* k (* z (* b y0)))
(if (<= y2 1.6e-101)
(* y2 (* k (* y1 y4)))
(if (<= y2 3.6e+27) t_1 (* 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 t_1 = c * (x * (y0 * y2));
double tmp;
if (y2 <= -2.75e-17) {
tmp = t_1;
} else if (y2 <= 2.4e-179) {
tmp = k * (z * (b * y0));
} else if (y2 <= 1.6e-101) {
tmp = y2 * (k * (y1 * y4));
} else if (y2 <= 3.6e+27) {
tmp = t_1;
} 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) :: t_1
real(8) :: tmp
t_1 = c * (x * (y0 * y2))
if (y2 <= (-2.75d-17)) then
tmp = t_1
else if (y2 <= 2.4d-179) then
tmp = k * (z * (b * y0))
else if (y2 <= 1.6d-101) then
tmp = y2 * (k * (y1 * y4))
else if (y2 <= 3.6d+27) then
tmp = t_1
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 t_1 = c * (x * (y0 * y2));
double tmp;
if (y2 <= -2.75e-17) {
tmp = t_1;
} else if (y2 <= 2.4e-179) {
tmp = k * (z * (b * y0));
} else if (y2 <= 1.6e-101) {
tmp = y2 * (k * (y1 * y4));
} else if (y2 <= 3.6e+27) {
tmp = t_1;
} 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): t_1 = c * (x * (y0 * y2)) tmp = 0 if y2 <= -2.75e-17: tmp = t_1 elif y2 <= 2.4e-179: tmp = k * (z * (b * y0)) elif y2 <= 1.6e-101: tmp = y2 * (k * (y1 * y4)) elif y2 <= 3.6e+27: tmp = t_1 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) t_1 = Float64(c * Float64(x * Float64(y0 * y2))) tmp = 0.0 if (y2 <= -2.75e-17) tmp = t_1; elseif (y2 <= 2.4e-179) tmp = Float64(k * Float64(z * Float64(b * y0))); elseif (y2 <= 1.6e-101) tmp = Float64(y2 * Float64(k * Float64(y1 * y4))); elseif (y2 <= 3.6e+27) tmp = t_1; 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) t_1 = c * (x * (y0 * y2)); tmp = 0.0; if (y2 <= -2.75e-17) tmp = t_1; elseif (y2 <= 2.4e-179) tmp = k * (z * (b * y0)); elseif (y2 <= 1.6e-101) tmp = y2 * (k * (y1 * y4)); elseif (y2 <= 3.6e+27) tmp = t_1; 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_] := Block[{t$95$1 = N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.75e-17], t$95$1, If[LessEqual[y2, 2.4e-179], N[(k * N[(z * N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.6e-101], N[(y2 * N[(k * N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.6e+27], t$95$1, N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{if}\;y2 \leq -2.75 \cdot 10^{-17}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 2.4 \cdot 10^{-179}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.6 \cdot 10^{-101}:\\
\;\;\;\;y2 \cdot \left(k \cdot \left(y1 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 3.6 \cdot 10^{+27}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y2 < -2.75e-17 or 1.59999999999999989e-101 < y2 < 3.59999999999999983e27Initial program 28.2%
Taylor expanded in x around inf 46.5%
Taylor expanded in y2 around inf 42.1%
Taylor expanded in c around inf 33.1%
if -2.75e-17 < y2 < 2.4e-179Initial program 34.8%
Taylor expanded in k around inf 36.5%
+-commutative36.5%
mul-1-neg36.5%
unsub-neg36.5%
*-commutative36.5%
associate-*r*36.5%
neg-mul-136.5%
Simplified36.5%
Taylor expanded in z around inf 33.5%
Taylor expanded in b around inf 19.3%
associate-*r*22.5%
Simplified22.5%
if 2.4e-179 < y2 < 1.59999999999999989e-101Initial program 38.8%
Taylor expanded in x around inf 16.3%
Taylor expanded in y2 around inf 30.1%
Taylor expanded in y1 around inf 34.9%
+-commutative34.9%
mul-1-neg34.9%
unsub-neg34.9%
Simplified34.9%
Taylor expanded in k around inf 25.4%
if 3.59999999999999983e27 < y2 Initial program 26.9%
Taylor expanded in y4 around inf 41.2%
*-commutative41.2%
Simplified41.2%
Taylor expanded in a around inf 41.7%
Taylor expanded in t around inf 38.6%
Final simplification30.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y2 -2.5e+71) (* a (* y5 (* t y2))) (if (<= y2 1.9e+28) (* b (* k (* z y0))) (* 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 (y2 <= -2.5e+71) {
tmp = a * (y5 * (t * y2));
} else if (y2 <= 1.9e+28) {
tmp = b * (k * (z * y0));
} 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 (y2 <= (-2.5d+71)) then
tmp = a * (y5 * (t * y2))
else if (y2 <= 1.9d+28) then
tmp = b * (k * (z * y0))
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 (y2 <= -2.5e+71) {
tmp = a * (y5 * (t * y2));
} else if (y2 <= 1.9e+28) {
tmp = b * (k * (z * y0));
} 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 y2 <= -2.5e+71: tmp = a * (y5 * (t * y2)) elif y2 <= 1.9e+28: tmp = b * (k * (z * y0)) 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 (y2 <= -2.5e+71) tmp = Float64(a * Float64(y5 * Float64(t * y2))); elseif (y2 <= 1.9e+28) tmp = Float64(b * Float64(k * Float64(z * y0))); 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 (y2 <= -2.5e+71) tmp = a * (y5 * (t * y2)); elseif (y2 <= 1.9e+28) tmp = b * (k * (z * y0)); 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[y2, -2.5e+71], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.9e+28], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2.5 \cdot 10^{+71}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq 1.9 \cdot 10^{+28}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y2 < -2.49999999999999986e71Initial program 29.3%
Taylor expanded in y4 around inf 34.9%
*-commutative34.9%
Simplified34.9%
Taylor expanded in a around inf 39.9%
Taylor expanded in t around inf 33.0%
*-commutative33.0%
Simplified33.0%
if -2.49999999999999986e71 < y2 < 1.8999999999999999e28Initial program 33.4%
Taylor expanded in k around inf 36.6%
+-commutative36.6%
mul-1-neg36.6%
unsub-neg36.6%
*-commutative36.6%
associate-*r*36.6%
neg-mul-136.6%
Simplified36.6%
Taylor expanded in z around inf 31.6%
Taylor expanded in b around inf 17.0%
*-commutative17.0%
Simplified17.0%
if 1.8999999999999999e28 < y2 Initial program 26.9%
Taylor expanded in y4 around inf 41.2%
*-commutative41.2%
Simplified41.2%
Taylor expanded in a around inf 41.7%
Taylor expanded in t around inf 38.6%
Final simplification25.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y0 -2.5e-72) (* b (* k (* z y0))) (if (<= y0 2.3e+100) (* a (* y5 (* t y2))) (* c (* x (* y0 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 (y0 <= -2.5e-72) {
tmp = b * (k * (z * y0));
} else if (y0 <= 2.3e+100) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (x * (y0 * 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 (y0 <= (-2.5d-72)) then
tmp = b * (k * (z * y0))
else if (y0 <= 2.3d+100) then
tmp = a * (y5 * (t * y2))
else
tmp = c * (x * (y0 * 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 (y0 <= -2.5e-72) {
tmp = b * (k * (z * y0));
} else if (y0 <= 2.3e+100) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (x * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -2.5e-72: tmp = b * (k * (z * y0)) elif y0 <= 2.3e+100: tmp = a * (y5 * (t * y2)) else: tmp = c * (x * (y0 * 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 (y0 <= -2.5e-72) tmp = Float64(b * Float64(k * Float64(z * y0))); elseif (y0 <= 2.3e+100) tmp = Float64(a * Float64(y5 * Float64(t * y2))); else tmp = Float64(c * Float64(x * Float64(y0 * 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 (y0 <= -2.5e-72) tmp = b * (k * (z * y0)); elseif (y0 <= 2.3e+100) tmp = a * (y5 * (t * y2)); else tmp = c * (x * (y0 * 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[y0, -2.5e-72], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.3e+100], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -2.5 \cdot 10^{-72}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq 2.3 \cdot 10^{+100}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -2.4999999999999998e-72Initial program 21.8%
Taylor expanded in k around inf 35.5%
+-commutative35.5%
mul-1-neg35.5%
unsub-neg35.5%
*-commutative35.5%
associate-*r*35.5%
neg-mul-135.5%
Simplified35.5%
Taylor expanded in z around inf 38.3%
Taylor expanded in b around inf 27.8%
*-commutative27.8%
Simplified27.8%
if -2.4999999999999998e-72 < y0 < 2.2999999999999999e100Initial program 38.1%
Taylor expanded in y4 around inf 36.1%
*-commutative36.1%
Simplified36.1%
Taylor expanded in a around inf 30.5%
Taylor expanded in t around inf 20.3%
*-commutative20.3%
Simplified20.3%
if 2.2999999999999999e100 < y0 Initial program 29.0%
Taylor expanded in x around inf 35.1%
Taylor expanded in y2 around inf 39.3%
Taylor expanded in c around inf 43.8%
Final simplification27.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y0 -1.65e-67) (* k (* b (* z y0))) (if (<= y0 1.4e+101) (* a (* y5 (* t y2))) (* c (* x (* y0 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 (y0 <= -1.65e-67) {
tmp = k * (b * (z * y0));
} else if (y0 <= 1.4e+101) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (x * (y0 * 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 (y0 <= (-1.65d-67)) then
tmp = k * (b * (z * y0))
else if (y0 <= 1.4d+101) then
tmp = a * (y5 * (t * y2))
else
tmp = c * (x * (y0 * 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 (y0 <= -1.65e-67) {
tmp = k * (b * (z * y0));
} else if (y0 <= 1.4e+101) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (x * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -1.65e-67: tmp = k * (b * (z * y0)) elif y0 <= 1.4e+101: tmp = a * (y5 * (t * y2)) else: tmp = c * (x * (y0 * 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 (y0 <= -1.65e-67) tmp = Float64(k * Float64(b * Float64(z * y0))); elseif (y0 <= 1.4e+101) tmp = Float64(a * Float64(y5 * Float64(t * y2))); else tmp = Float64(c * Float64(x * Float64(y0 * 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 (y0 <= -1.65e-67) tmp = k * (b * (z * y0)); elseif (y0 <= 1.4e+101) tmp = a * (y5 * (t * y2)); else tmp = c * (x * (y0 * 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[y0, -1.65e-67], N[(k * N[(b * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.4e+101], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -1.65 \cdot 10^{-67}:\\
\;\;\;\;k \cdot \left(b \cdot \left(z \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq 1.4 \cdot 10^{+101}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -1.6500000000000001e-67Initial program 21.8%
Taylor expanded in k around inf 35.5%
+-commutative35.5%
mul-1-neg35.5%
unsub-neg35.5%
*-commutative35.5%
associate-*r*35.5%
neg-mul-135.5%
Simplified35.5%
Taylor expanded in z around inf 38.3%
Taylor expanded in b around inf 27.8%
if -1.6500000000000001e-67 < y0 < 1.39999999999999991e101Initial program 38.1%
Taylor expanded in y4 around inf 36.1%
*-commutative36.1%
Simplified36.1%
Taylor expanded in a around inf 30.5%
Taylor expanded in t around inf 20.3%
*-commutative20.3%
Simplified20.3%
if 1.39999999999999991e101 < y0 Initial program 29.0%
Taylor expanded in x around inf 35.1%
Taylor expanded in y2 around inf 39.3%
Taylor expanded in c around inf 43.8%
Final simplification27.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y0 -1.1e-57) (* k (* z (* b y0))) (if (<= y0 1.4e+100) (* a (* y5 (* t y2))) (* c (* x (* y0 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 (y0 <= -1.1e-57) {
tmp = k * (z * (b * y0));
} else if (y0 <= 1.4e+100) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (x * (y0 * 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 (y0 <= (-1.1d-57)) then
tmp = k * (z * (b * y0))
else if (y0 <= 1.4d+100) then
tmp = a * (y5 * (t * y2))
else
tmp = c * (x * (y0 * 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 (y0 <= -1.1e-57) {
tmp = k * (z * (b * y0));
} else if (y0 <= 1.4e+100) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (x * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -1.1e-57: tmp = k * (z * (b * y0)) elif y0 <= 1.4e+100: tmp = a * (y5 * (t * y2)) else: tmp = c * (x * (y0 * 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 (y0 <= -1.1e-57) tmp = Float64(k * Float64(z * Float64(b * y0))); elseif (y0 <= 1.4e+100) tmp = Float64(a * Float64(y5 * Float64(t * y2))); else tmp = Float64(c * Float64(x * Float64(y0 * 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 (y0 <= -1.1e-57) tmp = k * (z * (b * y0)); elseif (y0 <= 1.4e+100) tmp = a * (y5 * (t * y2)); else tmp = c * (x * (y0 * 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[y0, -1.1e-57], N[(k * N[(z * N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.4e+100], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -1.1 \cdot 10^{-57}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq 1.4 \cdot 10^{+100}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -1.09999999999999999e-57Initial program 21.8%
Taylor expanded in k around inf 35.5%
+-commutative35.5%
mul-1-neg35.5%
unsub-neg35.5%
*-commutative35.5%
associate-*r*35.5%
neg-mul-135.5%
Simplified35.5%
Taylor expanded in z around inf 38.3%
Taylor expanded in b around inf 27.8%
associate-*r*30.1%
Simplified30.1%
if -1.09999999999999999e-57 < y0 < 1.3999999999999999e100Initial program 38.1%
Taylor expanded in y4 around inf 36.1%
*-commutative36.1%
Simplified36.1%
Taylor expanded in a around inf 30.5%
Taylor expanded in t around inf 20.3%
*-commutative20.3%
Simplified20.3%
if 1.3999999999999999e100 < y0 Initial program 29.0%
Taylor expanded in x around inf 35.1%
Taylor expanded in y2 around inf 39.3%
Taylor expanded in c around inf 43.8%
Final simplification28.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* 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) {
return a * (t * (y2 * y5));
}
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 * (t * (y2 * y5))
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 * (t * (y2 * y5));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (t * (y2 * y5))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(t * Float64(y2 * y5))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (t * (y2 * y5)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)
\end{array}
Initial program 31.1%
Taylor expanded in y4 around inf 34.9%
*-commutative34.9%
Simplified34.9%
Taylor expanded in a around inf 28.3%
Taylor expanded in t around inf 17.6%
Final simplification17.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* y5 (* 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) {
return a * (y5 * (t * y2));
}
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 * (y5 * (t * y2))
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 * (y5 * (t * y2));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (y5 * (t * y2))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(y5 * Float64(t * y2))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (y5 * (t * y2)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)
\end{array}
Initial program 31.1%
Taylor expanded in y4 around inf 34.9%
*-commutative34.9%
Simplified34.9%
Taylor expanded in a around inf 28.3%
Taylor expanded in t around inf 18.4%
*-commutative18.4%
Simplified18.4%
Final simplification18.4%
(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 2024078
(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)))))