
(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 39 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 (- (* z k) (* x j)))
(t_2 (- (* y1 y4) (* y0 y5)))
(t_3 (- (* z y3) (* x y2)))
(t_4 (- (* x j) (* z k)))
(t_5 (- (* z t) (* x y)))
(t_6 (- (* a y5) (* c y4)))
(t_7 (- (* x y2) (* z y3)))
(t_8 (* y5 (- (* j y3) (* k y2))))
(t_9 (- (* y k) (* t j)))
(t_10 (- (* c y0) (* a y1)))
(t_11 (* y2 t_10))
(t_12 (* i (+ (* y1 t_4) (+ (* c t_5) (* y5 t_9)))))
(t_13 (* b t_1))
(t_14 (* y0 (+ (+ (* c t_7) t_8) t_13))))
(if (<= a -6.6e+76)
(* a (+ (* y5 (- (* t y2) (* y y3))) (- (* y1 t_3) (* b t_5))))
(if (<= a -2.2e+23)
t_12
(if (<= a -2.3e-73)
(* c (+ (+ (* y0 t_7) (* i t_5)) (* y4 (- (* y y3) (* t y2)))))
(if (<= a -4.6e-99)
(* k (* y2 t_2))
(if (<= a -7.8e-218)
t_14
(if (<= a -2.6e-260)
(*
x
(+
(+ (* y (- (* a b) (* c i))) t_11)
(* j (- (* i y1) (* b y0)))))
(if (<= a 9.5e-283)
t_14
(if (<= a 1.75e-189)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 t_1)))
(if (<= a 1.15e-127)
t_12
(if (<= a 1.05e-107)
(* y2 (+ (+ (* k t_2) (* x t_10)) (* t t_6)))
(if (<= a 1.1e-32)
(* (* i y5) t_9)
(if (<= a 1.25e+29)
(* t (* y2 t_6))
(if (<= a 5.4e+81)
(*
y1
(+
(* i t_4)
(+ (* y4 (- (* k y2) (* j y3))) (* a t_3))))
(if (<= a 2.05e+173)
(* y0 (+ t_8 t_13))
(* x t_11)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (z * k) - (x * j);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = (z * y3) - (x * y2);
double t_4 = (x * j) - (z * k);
double t_5 = (z * t) - (x * y);
double t_6 = (a * y5) - (c * y4);
double t_7 = (x * y2) - (z * y3);
double t_8 = y5 * ((j * y3) - (k * y2));
double t_9 = (y * k) - (t * j);
double t_10 = (c * y0) - (a * y1);
double t_11 = y2 * t_10;
double t_12 = i * ((y1 * t_4) + ((c * t_5) + (y5 * t_9)));
double t_13 = b * t_1;
double t_14 = y0 * (((c * t_7) + t_8) + t_13);
double tmp;
if (a <= -6.6e+76) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((y1 * t_3) - (b * t_5)));
} else if (a <= -2.2e+23) {
tmp = t_12;
} else if (a <= -2.3e-73) {
tmp = c * (((y0 * t_7) + (i * t_5)) + (y4 * ((y * y3) - (t * y2))));
} else if (a <= -4.6e-99) {
tmp = k * (y2 * t_2);
} else if (a <= -7.8e-218) {
tmp = t_14;
} else if (a <= -2.6e-260) {
tmp = x * (((y * ((a * b) - (c * i))) + t_11) + (j * ((i * y1) - (b * y0))));
} else if (a <= 9.5e-283) {
tmp = t_14;
} else if (a <= 1.75e-189) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_1));
} else if (a <= 1.15e-127) {
tmp = t_12;
} else if (a <= 1.05e-107) {
tmp = y2 * (((k * t_2) + (x * t_10)) + (t * t_6));
} else if (a <= 1.1e-32) {
tmp = (i * y5) * t_9;
} else if (a <= 1.25e+29) {
tmp = t * (y2 * t_6);
} else if (a <= 5.4e+81) {
tmp = y1 * ((i * t_4) + ((y4 * ((k * y2) - (j * y3))) + (a * t_3)));
} else if (a <= 2.05e+173) {
tmp = y0 * (t_8 + t_13);
} else {
tmp = x * t_11;
}
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_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 = (z * k) - (x * j)
t_2 = (y1 * y4) - (y0 * y5)
t_3 = (z * y3) - (x * y2)
t_4 = (x * j) - (z * k)
t_5 = (z * t) - (x * y)
t_6 = (a * y5) - (c * y4)
t_7 = (x * y2) - (z * y3)
t_8 = y5 * ((j * y3) - (k * y2))
t_9 = (y * k) - (t * j)
t_10 = (c * y0) - (a * y1)
t_11 = y2 * t_10
t_12 = i * ((y1 * t_4) + ((c * t_5) + (y5 * t_9)))
t_13 = b * t_1
t_14 = y0 * (((c * t_7) + t_8) + t_13)
if (a <= (-6.6d+76)) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((y1 * t_3) - (b * t_5)))
else if (a <= (-2.2d+23)) then
tmp = t_12
else if (a <= (-2.3d-73)) then
tmp = c * (((y0 * t_7) + (i * t_5)) + (y4 * ((y * y3) - (t * y2))))
else if (a <= (-4.6d-99)) then
tmp = k * (y2 * t_2)
else if (a <= (-7.8d-218)) then
tmp = t_14
else if (a <= (-2.6d-260)) then
tmp = x * (((y * ((a * b) - (c * i))) + t_11) + (j * ((i * y1) - (b * y0))))
else if (a <= 9.5d-283) then
tmp = t_14
else if (a <= 1.75d-189) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_1))
else if (a <= 1.15d-127) then
tmp = t_12
else if (a <= 1.05d-107) then
tmp = y2 * (((k * t_2) + (x * t_10)) + (t * t_6))
else if (a <= 1.1d-32) then
tmp = (i * y5) * t_9
else if (a <= 1.25d+29) then
tmp = t * (y2 * t_6)
else if (a <= 5.4d+81) then
tmp = y1 * ((i * t_4) + ((y4 * ((k * y2) - (j * y3))) + (a * t_3)))
else if (a <= 2.05d+173) then
tmp = y0 * (t_8 + t_13)
else
tmp = x * t_11
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (z * k) - (x * j);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = (z * y3) - (x * y2);
double t_4 = (x * j) - (z * k);
double t_5 = (z * t) - (x * y);
double t_6 = (a * y5) - (c * y4);
double t_7 = (x * y2) - (z * y3);
double t_8 = y5 * ((j * y3) - (k * y2));
double t_9 = (y * k) - (t * j);
double t_10 = (c * y0) - (a * y1);
double t_11 = y2 * t_10;
double t_12 = i * ((y1 * t_4) + ((c * t_5) + (y5 * t_9)));
double t_13 = b * t_1;
double t_14 = y0 * (((c * t_7) + t_8) + t_13);
double tmp;
if (a <= -6.6e+76) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((y1 * t_3) - (b * t_5)));
} else if (a <= -2.2e+23) {
tmp = t_12;
} else if (a <= -2.3e-73) {
tmp = c * (((y0 * t_7) + (i * t_5)) + (y4 * ((y * y3) - (t * y2))));
} else if (a <= -4.6e-99) {
tmp = k * (y2 * t_2);
} else if (a <= -7.8e-218) {
tmp = t_14;
} else if (a <= -2.6e-260) {
tmp = x * (((y * ((a * b) - (c * i))) + t_11) + (j * ((i * y1) - (b * y0))));
} else if (a <= 9.5e-283) {
tmp = t_14;
} else if (a <= 1.75e-189) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_1));
} else if (a <= 1.15e-127) {
tmp = t_12;
} else if (a <= 1.05e-107) {
tmp = y2 * (((k * t_2) + (x * t_10)) + (t * t_6));
} else if (a <= 1.1e-32) {
tmp = (i * y5) * t_9;
} else if (a <= 1.25e+29) {
tmp = t * (y2 * t_6);
} else if (a <= 5.4e+81) {
tmp = y1 * ((i * t_4) + ((y4 * ((k * y2) - (j * y3))) + (a * t_3)));
} else if (a <= 2.05e+173) {
tmp = y0 * (t_8 + t_13);
} else {
tmp = x * t_11;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (z * k) - (x * j) t_2 = (y1 * y4) - (y0 * y5) t_3 = (z * y3) - (x * y2) t_4 = (x * j) - (z * k) t_5 = (z * t) - (x * y) t_6 = (a * y5) - (c * y4) t_7 = (x * y2) - (z * y3) t_8 = y5 * ((j * y3) - (k * y2)) t_9 = (y * k) - (t * j) t_10 = (c * y0) - (a * y1) t_11 = y2 * t_10 t_12 = i * ((y1 * t_4) + ((c * t_5) + (y5 * t_9))) t_13 = b * t_1 t_14 = y0 * (((c * t_7) + t_8) + t_13) tmp = 0 if a <= -6.6e+76: tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((y1 * t_3) - (b * t_5))) elif a <= -2.2e+23: tmp = t_12 elif a <= -2.3e-73: tmp = c * (((y0 * t_7) + (i * t_5)) + (y4 * ((y * y3) - (t * y2)))) elif a <= -4.6e-99: tmp = k * (y2 * t_2) elif a <= -7.8e-218: tmp = t_14 elif a <= -2.6e-260: tmp = x * (((y * ((a * b) - (c * i))) + t_11) + (j * ((i * y1) - (b * y0)))) elif a <= 9.5e-283: tmp = t_14 elif a <= 1.75e-189: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_1)) elif a <= 1.15e-127: tmp = t_12 elif a <= 1.05e-107: tmp = y2 * (((k * t_2) + (x * t_10)) + (t * t_6)) elif a <= 1.1e-32: tmp = (i * y5) * t_9 elif a <= 1.25e+29: tmp = t * (y2 * t_6) elif a <= 5.4e+81: tmp = y1 * ((i * t_4) + ((y4 * ((k * y2) - (j * y3))) + (a * t_3))) elif a <= 2.05e+173: tmp = y0 * (t_8 + t_13) else: tmp = x * t_11 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(z * k) - Float64(x * j)) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_3 = Float64(Float64(z * y3) - Float64(x * y2)) t_4 = Float64(Float64(x * j) - Float64(z * k)) t_5 = Float64(Float64(z * t) - Float64(x * y)) t_6 = Float64(Float64(a * y5) - Float64(c * y4)) t_7 = Float64(Float64(x * y2) - Float64(z * y3)) t_8 = Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) t_9 = Float64(Float64(y * k) - Float64(t * j)) t_10 = Float64(Float64(c * y0) - Float64(a * y1)) t_11 = Float64(y2 * t_10) t_12 = Float64(i * Float64(Float64(y1 * t_4) + Float64(Float64(c * t_5) + Float64(y5 * t_9)))) t_13 = Float64(b * t_1) t_14 = Float64(y0 * Float64(Float64(Float64(c * t_7) + t_8) + t_13)) tmp = 0.0 if (a <= -6.6e+76) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y1 * t_3) - Float64(b * t_5)))); elseif (a <= -2.2e+23) tmp = t_12; elseif (a <= -2.3e-73) tmp = Float64(c * Float64(Float64(Float64(y0 * t_7) + Float64(i * t_5)) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (a <= -4.6e-99) tmp = Float64(k * Float64(y2 * t_2)); elseif (a <= -7.8e-218) tmp = t_14; elseif (a <= -2.6e-260) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + t_11) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (a <= 9.5e-283) tmp = t_14; elseif (a <= 1.75e-189) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * t_1))); elseif (a <= 1.15e-127) tmp = t_12; elseif (a <= 1.05e-107) tmp = Float64(y2 * Float64(Float64(Float64(k * t_2) + Float64(x * t_10)) + Float64(t * t_6))); elseif (a <= 1.1e-32) tmp = Float64(Float64(i * y5) * t_9); elseif (a <= 1.25e+29) tmp = Float64(t * Float64(y2 * t_6)); elseif (a <= 5.4e+81) tmp = Float64(y1 * Float64(Float64(i * t_4) + Float64(Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(a * t_3)))); elseif (a <= 2.05e+173) tmp = Float64(y0 * Float64(t_8 + t_13)); else tmp = Float64(x * t_11); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (z * k) - (x * j); t_2 = (y1 * y4) - (y0 * y5); t_3 = (z * y3) - (x * y2); t_4 = (x * j) - (z * k); t_5 = (z * t) - (x * y); t_6 = (a * y5) - (c * y4); t_7 = (x * y2) - (z * y3); t_8 = y5 * ((j * y3) - (k * y2)); t_9 = (y * k) - (t * j); t_10 = (c * y0) - (a * y1); t_11 = y2 * t_10; t_12 = i * ((y1 * t_4) + ((c * t_5) + (y5 * t_9))); t_13 = b * t_1; t_14 = y0 * (((c * t_7) + t_8) + t_13); tmp = 0.0; if (a <= -6.6e+76) tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((y1 * t_3) - (b * t_5))); elseif (a <= -2.2e+23) tmp = t_12; elseif (a <= -2.3e-73) tmp = c * (((y0 * t_7) + (i * t_5)) + (y4 * ((y * y3) - (t * y2)))); elseif (a <= -4.6e-99) tmp = k * (y2 * t_2); elseif (a <= -7.8e-218) tmp = t_14; elseif (a <= -2.6e-260) tmp = x * (((y * ((a * b) - (c * i))) + t_11) + (j * ((i * y1) - (b * y0)))); elseif (a <= 9.5e-283) tmp = t_14; elseif (a <= 1.75e-189) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_1)); elseif (a <= 1.15e-127) tmp = t_12; elseif (a <= 1.05e-107) tmp = y2 * (((k * t_2) + (x * t_10)) + (t * t_6)); elseif (a <= 1.1e-32) tmp = (i * y5) * t_9; elseif (a <= 1.25e+29) tmp = t * (y2 * t_6); elseif (a <= 5.4e+81) tmp = y1 * ((i * t_4) + ((y4 * ((k * y2) - (j * y3))) + (a * t_3))); elseif (a <= 2.05e+173) tmp = y0 * (t_8 + t_13); else tmp = x * t_11; 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[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$11 = N[(y2 * t$95$10), $MachinePrecision]}, Block[{t$95$12 = N[(i * N[(N[(y1 * t$95$4), $MachinePrecision] + N[(N[(c * t$95$5), $MachinePrecision] + N[(y5 * t$95$9), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(b * t$95$1), $MachinePrecision]}, Block[{t$95$14 = N[(y0 * N[(N[(N[(c * t$95$7), $MachinePrecision] + t$95$8), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -6.6e+76], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y1 * t$95$3), $MachinePrecision] - N[(b * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.2e+23], t$95$12, If[LessEqual[a, -2.3e-73], N[(c * N[(N[(N[(y0 * t$95$7), $MachinePrecision] + N[(i * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.6e-99], N[(k * N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -7.8e-218], t$95$14, If[LessEqual[a, -2.6e-260], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$11), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 9.5e-283], t$95$14, If[LessEqual[a, 1.75e-189], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.15e-127], t$95$12, If[LessEqual[a, 1.05e-107], N[(y2 * N[(N[(N[(k * t$95$2), $MachinePrecision] + N[(x * t$95$10), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.1e-32], N[(N[(i * y5), $MachinePrecision] * t$95$9), $MachinePrecision], If[LessEqual[a, 1.25e+29], N[(t * N[(y2 * t$95$6), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.4e+81], N[(y1 * N[(N[(i * t$95$4), $MachinePrecision] + N[(N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.05e+173], N[(y0 * N[(t$95$8 + t$95$13), $MachinePrecision]), $MachinePrecision], N[(x * t$95$11), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot k - x \cdot j\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := z \cdot y3 - x \cdot y2\\
t_4 := x \cdot j - z \cdot k\\
t_5 := z \cdot t - x \cdot y\\
t_6 := a \cdot y5 - c \cdot y4\\
t_7 := x \cdot y2 - z \cdot y3\\
t_8 := y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\\
t_9 := y \cdot k - t \cdot j\\
t_10 := c \cdot y0 - a \cdot y1\\
t_11 := y2 \cdot t_10\\
t_12 := i \cdot \left(y1 \cdot t_4 + \left(c \cdot t_5 + y5 \cdot t_9\right)\right)\\
t_13 := b \cdot t_1\\
t_14 := y0 \cdot \left(\left(c \cdot t_7 + t_8\right) + t_13\right)\\
\mathbf{if}\;a \leq -6.6 \cdot 10^{+76}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y1 \cdot t_3 - b \cdot t_5\right)\right)\\
\mathbf{elif}\;a \leq -2.2 \cdot 10^{+23}:\\
\;\;\;\;t_12\\
\mathbf{elif}\;a \leq -2.3 \cdot 10^{-73}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot t_7 + i \cdot t_5\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq -4.6 \cdot 10^{-99}:\\
\;\;\;\;k \cdot \left(y2 \cdot t_2\right)\\
\mathbf{elif}\;a \leq -7.8 \cdot 10^{-218}:\\
\;\;\;\;t_14\\
\mathbf{elif}\;a \leq -2.6 \cdot 10^{-260}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + t_11\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq 9.5 \cdot 10^{-283}:\\
\;\;\;\;t_14\\
\mathbf{elif}\;a \leq 1.75 \cdot 10^{-189}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot t_1\right)\\
\mathbf{elif}\;a \leq 1.15 \cdot 10^{-127}:\\
\;\;\;\;t_12\\
\mathbf{elif}\;a \leq 1.05 \cdot 10^{-107}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t_2 + x \cdot t_10\right) + t \cdot t_6\right)\\
\mathbf{elif}\;a \leq 1.1 \cdot 10^{-32}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot t_9\\
\mathbf{elif}\;a \leq 1.25 \cdot 10^{+29}:\\
\;\;\;\;t \cdot \left(y2 \cdot t_6\right)\\
\mathbf{elif}\;a \leq 5.4 \cdot 10^{+81}:\\
\;\;\;\;y1 \cdot \left(i \cdot t_4 + \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) + a \cdot t_3\right)\right)\\
\mathbf{elif}\;a \leq 2.05 \cdot 10^{+173}:\\
\;\;\;\;y0 \cdot \left(t_8 + t_13\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot t_11\\
\end{array}
\end{array}
if a < -6.6000000000000001e76Initial program 17.7%
Taylor expanded in a around -inf 61.2%
mul-1-neg61.2%
*-commutative61.2%
distribute-rgt-neg-in61.2%
Simplified61.2%
if -6.6000000000000001e76 < a < -2.20000000000000008e23 or 1.7500000000000001e-189 < a < 1.15000000000000009e-127Initial program 42.0%
Taylor expanded in i around -inf 79.6%
if -2.20000000000000008e23 < a < -2.29999999999999988e-73Initial program 55.5%
Taylor expanded in c around inf 62.1%
+-commutative62.1%
mul-1-neg62.1%
unsub-neg62.1%
*-commutative62.1%
*-commutative62.1%
*-commutative62.1%
*-commutative62.1%
Simplified62.1%
if -2.29999999999999988e-73 < a < -4.5999999999999997e-99Initial program 0.0%
Taylor expanded in y2 around inf 60.0%
Taylor expanded in k around inf 80.2%
*-commutative80.2%
*-commutative80.2%
Simplified80.2%
if -4.5999999999999997e-99 < a < -7.8e-218 or -2.59999999999999994e-260 < a < 9.49999999999999979e-283Initial program 38.7%
Taylor expanded in y0 around inf 65.8%
+-commutative65.8%
mul-1-neg65.8%
unsub-neg65.8%
*-commutative65.8%
*-commutative65.8%
*-commutative65.8%
*-commutative65.8%
Simplified65.8%
if -7.8e-218 < a < -2.59999999999999994e-260Initial program 55.6%
Taylor expanded in x around inf 89.0%
if 9.49999999999999979e-283 < a < 1.7500000000000001e-189Initial program 29.0%
Taylor expanded in b around inf 51.9%
if 1.15000000000000009e-127 < a < 1.05e-107Initial program 50.0%
Taylor expanded in y2 around inf 100.0%
if 1.05e-107 < a < 1.1e-32Initial program 25.0%
Taylor expanded in y5 around -inf 59.4%
Taylor expanded in i around inf 75.4%
cancel-sign-sub-inv75.4%
fma-udef75.4%
associate-*r*83.4%
fma-udef83.4%
cancel-sign-sub-inv83.4%
Simplified83.4%
if 1.1e-32 < a < 1.25e29Initial program 14.8%
Taylor expanded in y2 around inf 57.5%
Taylor expanded in t around inf 71.8%
if 1.25e29 < a < 5.3999999999999999e81Initial program 15.2%
Taylor expanded in y1 around -inf 58.2%
mul-1-neg58.2%
*-commutative58.2%
distribute-rgt-neg-in58.2%
Simplified58.2%
if 5.3999999999999999e81 < a < 2.04999999999999988e173Initial program 35.0%
Taylor expanded in y0 around inf 60.5%
+-commutative60.5%
mul-1-neg60.5%
unsub-neg60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
Simplified60.5%
Taylor expanded in c around 0 65.6%
mul-1-neg65.6%
distribute-rgt-neg-in65.6%
*-commutative65.6%
*-commutative65.6%
distribute-neg-in65.6%
unsub-neg65.6%
distribute-rgt-neg-in65.6%
neg-sub065.6%
associate-+l-65.6%
neg-sub065.6%
+-commutative65.6%
sub-neg65.6%
sub-neg65.6%
Simplified65.6%
if 2.04999999999999988e173 < a Initial program 27.9%
Taylor expanded in y2 around inf 44.2%
Taylor expanded in x around inf 64.3%
*-commutative64.3%
Simplified64.3%
Final simplification66.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* z k) (* x j)))
(t_2 (- (* x y2) (* z y3)))
(t_3
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) t_1))
(* t_2 (- (* c y0) (* a y1))))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* y1 y4) (* y0 y5)) (- (* k y2) (* j y3))))))
(if (<= t_3 INFINITY)
t_3
(* y0 (+ (+ (* c t_2) (* y5 (- (* j y3) (* k y2)))) (* b t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (z * k) - (x * j);
double t_2 = (x * y2) - (z * y3);
double t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * t_1)) + (t_2 * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((y1 * y4) - (y0 * y5)) * ((k * y2) - (j * y3)));
double tmp;
if (t_3 <= ((double) INFINITY)) {
tmp = t_3;
} else {
tmp = y0 * (((c * t_2) + (y5 * ((j * y3) - (k * y2)))) + (b * t_1));
}
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 = (z * k) - (x * j);
double t_2 = (x * y2) - (z * y3);
double t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * t_1)) + (t_2 * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((y1 * y4) - (y0 * y5)) * ((k * y2) - (j * y3)));
double tmp;
if (t_3 <= Double.POSITIVE_INFINITY) {
tmp = t_3;
} else {
tmp = y0 * (((c * t_2) + (y5 * ((j * y3) - (k * y2)))) + (b * t_1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (z * k) - (x * j) t_2 = (x * y2) - (z * y3) t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * t_1)) + (t_2 * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((y1 * y4) - (y0 * y5)) * ((k * y2) - (j * y3))) tmp = 0 if t_3 <= math.inf: tmp = t_3 else: tmp = y0 * (((c * t_2) + (y5 * ((j * y3) - (k * y2)))) + (b * 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(z * k) - Float64(x * j)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_1)) + Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(y1 * y4) - Float64(y0 * y5)) * Float64(Float64(k * y2) - Float64(j * y3)))) tmp = 0.0 if (t_3 <= Inf) tmp = t_3; else tmp = Float64(y0 * Float64(Float64(Float64(c * t_2) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * t_1))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (z * k) - (x * j); t_2 = (x * y2) - (z * y3); t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * t_1)) + (t_2 * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((y1 * y4) - (y0 * y5)) * ((k * y2) - (j * y3))); tmp = 0.0; if (t_3 <= Inf) tmp = t_3; else tmp = y0 * (((c * t_2) + (y5 * ((j * y3) - (k * y2)))) + (b * 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[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, Infinity], t$95$3, N[(y0 * N[(N[(N[(c * t$95$2), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot k - x \cdot j\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) + \left(b \cdot y0 - i \cdot y1\right) \cdot t_1\right) + t_2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(y1 \cdot y4 - y0 \cdot y5\right) \cdot \left(k \cdot y2 - j \cdot y3\right)\\
\mathbf{if}\;t_3 \leq \infty:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t_2 + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot t_1\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 93.1%
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 y0 around inf 42.2%
+-commutative42.2%
mul-1-neg42.2%
unsub-neg42.2%
*-commutative42.2%
*-commutative42.2%
*-commutative42.2%
*-commutative42.2%
Simplified42.2%
Final simplification59.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* k (- (* z y0) (* y y4)))))
(t_2
(*
y5
(+ (- (* j (* y0 y3)) (* i (* t j))) (* a (- (* t y2) (* y y3))))))
(t_3 (* y0 (- (* x y2) (* z y3))))
(t_4
(*
c
(+ (+ t_3 (* i (- (* z t) (* x y)))) (* y4 (- (* y y3) (* t y2))))))
(t_5
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))))
(if (<= x -2.4e+177)
(* c t_3)
(if (<= x -4.8e+80)
(* a (* y2 (- (* t y5) (* x y1))))
(if (<= x -2.6e-39)
t_4
(if (<= x -1.26e-110)
t_5
(if (<= x -6.5e-219)
t_2
(if (<= x -1.7e-269)
t_5
(if (<= x 1.25e-300)
(+
(* (* k y2) (- (* y1 y4) (* y0 y5)))
(* y1 (- (* i (- (* x j) (* z k))) (* a (* x y2)))))
(if (<= x 2e-282)
t_2
(if (<= x 4.6e-272)
t_1
(if (<= x 1.85e-239)
(* (* i y5) (- (* y k) (* t j)))
(if (<= x 1.15e-118)
t_4
(if (<= x 2.45e-89)
t_1
(if (<= x 2.6e-70)
t_4
(if (<= x 4.4e+55)
t_5
(*
x
(+
(+
(* y (- (* a b) (* c i)))
(* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (k * ((z * y0) - (y * y4)));
double t_2 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))));
double t_3 = y0 * ((x * y2) - (z * y3));
double t_4 = c * ((t_3 + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
double t_5 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
double tmp;
if (x <= -2.4e+177) {
tmp = c * t_3;
} else if (x <= -4.8e+80) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (x <= -2.6e-39) {
tmp = t_4;
} else if (x <= -1.26e-110) {
tmp = t_5;
} else if (x <= -6.5e-219) {
tmp = t_2;
} else if (x <= -1.7e-269) {
tmp = t_5;
} else if (x <= 1.25e-300) {
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))));
} else if (x <= 2e-282) {
tmp = t_2;
} else if (x <= 4.6e-272) {
tmp = t_1;
} else if (x <= 1.85e-239) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (x <= 1.15e-118) {
tmp = t_4;
} else if (x <= 2.45e-89) {
tmp = t_1;
} else if (x <= 2.6e-70) {
tmp = t_4;
} else if (x <= 4.4e+55) {
tmp = t_5;
} else {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = b * (k * ((z * y0) - (y * y4)))
t_2 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))))
t_3 = y0 * ((x * y2) - (z * y3))
t_4 = c * ((t_3 + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))))
t_5 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
if (x <= (-2.4d+177)) then
tmp = c * t_3
else if (x <= (-4.8d+80)) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else if (x <= (-2.6d-39)) then
tmp = t_4
else if (x <= (-1.26d-110)) then
tmp = t_5
else if (x <= (-6.5d-219)) then
tmp = t_2
else if (x <= (-1.7d-269)) then
tmp = t_5
else if (x <= 1.25d-300) then
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))))
else if (x <= 2d-282) then
tmp = t_2
else if (x <= 4.6d-272) then
tmp = t_1
else if (x <= 1.85d-239) then
tmp = (i * y5) * ((y * k) - (t * j))
else if (x <= 1.15d-118) then
tmp = t_4
else if (x <= 2.45d-89) then
tmp = t_1
else if (x <= 2.6d-70) then
tmp = t_4
else if (x <= 4.4d+55) then
tmp = t_5
else
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (k * ((z * y0) - (y * y4)));
double t_2 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))));
double t_3 = y0 * ((x * y2) - (z * y3));
double t_4 = c * ((t_3 + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
double t_5 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
double tmp;
if (x <= -2.4e+177) {
tmp = c * t_3;
} else if (x <= -4.8e+80) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (x <= -2.6e-39) {
tmp = t_4;
} else if (x <= -1.26e-110) {
tmp = t_5;
} else if (x <= -6.5e-219) {
tmp = t_2;
} else if (x <= -1.7e-269) {
tmp = t_5;
} else if (x <= 1.25e-300) {
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))));
} else if (x <= 2e-282) {
tmp = t_2;
} else if (x <= 4.6e-272) {
tmp = t_1;
} else if (x <= 1.85e-239) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (x <= 1.15e-118) {
tmp = t_4;
} else if (x <= 2.45e-89) {
tmp = t_1;
} else if (x <= 2.6e-70) {
tmp = t_4;
} else if (x <= 4.4e+55) {
tmp = t_5;
} else {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (k * ((z * y0) - (y * y4))) t_2 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3)))) t_3 = y0 * ((x * y2) - (z * y3)) t_4 = c * ((t_3 + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))) t_5 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) tmp = 0 if x <= -2.4e+177: tmp = c * t_3 elif x <= -4.8e+80: tmp = a * (y2 * ((t * y5) - (x * y1))) elif x <= -2.6e-39: tmp = t_4 elif x <= -1.26e-110: tmp = t_5 elif x <= -6.5e-219: tmp = t_2 elif x <= -1.7e-269: tmp = t_5 elif x <= 1.25e-300: tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2)))) elif x <= 2e-282: tmp = t_2 elif x <= 4.6e-272: tmp = t_1 elif x <= 1.85e-239: tmp = (i * y5) * ((y * k) - (t * j)) elif x <= 1.15e-118: tmp = t_4 elif x <= 2.45e-89: tmp = t_1 elif x <= 2.6e-70: tmp = t_4 elif x <= 4.4e+55: tmp = t_5 else: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))) t_2 = Float64(y5 * Float64(Float64(Float64(j * Float64(y0 * y3)) - Float64(i * Float64(t * j))) + Float64(a * Float64(Float64(t * y2) - Float64(y * y3))))) t_3 = Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) t_4 = Float64(c * Float64(Float64(t_3 + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))) t_5 = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))) tmp = 0.0 if (x <= -2.4e+177) tmp = Float64(c * t_3); elseif (x <= -4.8e+80) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); elseif (x <= -2.6e-39) tmp = t_4; elseif (x <= -1.26e-110) tmp = t_5; elseif (x <= -6.5e-219) tmp = t_2; elseif (x <= -1.7e-269) tmp = t_5; elseif (x <= 1.25e-300) tmp = Float64(Float64(Float64(k * y2) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) - Float64(a * Float64(x * y2))))); elseif (x <= 2e-282) tmp = t_2; elseif (x <= 4.6e-272) tmp = t_1; elseif (x <= 1.85e-239) tmp = Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))); elseif (x <= 1.15e-118) tmp = t_4; elseif (x <= 2.45e-89) tmp = t_1; elseif (x <= 2.6e-70) tmp = t_4; elseif (x <= 4.4e+55) tmp = t_5; else tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); 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 * (k * ((z * y0) - (y * y4))); t_2 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3)))); t_3 = y0 * ((x * y2) - (z * y3)); t_4 = c * ((t_3 + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))); t_5 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); tmp = 0.0; if (x <= -2.4e+177) tmp = c * t_3; elseif (x <= -4.8e+80) tmp = a * (y2 * ((t * y5) - (x * y1))); elseif (x <= -2.6e-39) tmp = t_4; elseif (x <= -1.26e-110) tmp = t_5; elseif (x <= -6.5e-219) tmp = t_2; elseif (x <= -1.7e-269) tmp = t_5; elseif (x <= 1.25e-300) tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2)))); elseif (x <= 2e-282) tmp = t_2; elseif (x <= 4.6e-272) tmp = t_1; elseif (x <= 1.85e-239) tmp = (i * y5) * ((y * k) - (t * j)); elseif (x <= 1.15e-118) tmp = t_4; elseif (x <= 2.45e-89) tmp = t_1; elseif (x <= 2.6e-70) tmp = t_4; elseif (x <= 4.4e+55) tmp = t_5; else tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y5 * N[(N[(N[(j * N[(y0 * y3), $MachinePrecision]), $MachinePrecision] - N[(i * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(c * N[(N[(t$95$3 + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.4e+177], N[(c * t$95$3), $MachinePrecision], If[LessEqual[x, -4.8e+80], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.6e-39], t$95$4, If[LessEqual[x, -1.26e-110], t$95$5, If[LessEqual[x, -6.5e-219], t$95$2, If[LessEqual[x, -1.7e-269], t$95$5, If[LessEqual[x, 1.25e-300], N[(N[(N[(k * y2), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2e-282], t$95$2, If[LessEqual[x, 4.6e-272], t$95$1, If[LessEqual[x, 1.85e-239], N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.15e-118], t$95$4, If[LessEqual[x, 2.45e-89], t$95$1, If[LessEqual[x, 2.6e-70], t$95$4, If[LessEqual[x, 4.4e+55], t$95$5, N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
t_2 := y5 \cdot \left(\left(j \cdot \left(y0 \cdot y3\right) - i \cdot \left(t \cdot j\right)\right) + a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
t_3 := y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\\
t_4 := c \cdot \left(\left(t_3 + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_5 := b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;x \leq -2.4 \cdot 10^{+177}:\\
\;\;\;\;c \cdot t_3\\
\mathbf{elif}\;x \leq -4.8 \cdot 10^{+80}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq -2.6 \cdot 10^{-39}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;x \leq -1.26 \cdot 10^{-110}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;x \leq -6.5 \cdot 10^{-219}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \leq -1.7 \cdot 10^{-269}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;x \leq 1.25 \cdot 10^{-300}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) - a \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 2 \cdot 10^{-282}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \leq 4.6 \cdot 10^{-272}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 1.85 \cdot 10^{-239}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right)\\
\mathbf{elif}\;x \leq 1.15 \cdot 10^{-118}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;x \leq 2.45 \cdot 10^{-89}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 2.6 \cdot 10^{-70}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;x \leq 4.4 \cdot 10^{+55}:\\
\;\;\;\;t_5\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if x < -2.4e177Initial program 28.6%
Taylor expanded in y0 around inf 57.3%
+-commutative57.3%
mul-1-neg57.3%
unsub-neg57.3%
*-commutative57.3%
*-commutative57.3%
*-commutative57.3%
*-commutative57.3%
Simplified57.3%
Taylor expanded in c around inf 71.7%
if -2.4e177 < x < -4.79999999999999958e80Initial program 21.1%
Taylor expanded in y2 around inf 52.6%
Taylor expanded in a around inf 63.6%
distribute-lft-out--63.6%
*-commutative63.6%
Simplified63.6%
if -4.79999999999999958e80 < x < -2.6e-39 or 1.85000000000000008e-239 < x < 1.1500000000000001e-118 or 2.45e-89 < x < 2.60000000000000002e-70Initial program 41.1%
Taylor expanded in c around inf 59.2%
+-commutative59.2%
mul-1-neg59.2%
unsub-neg59.2%
*-commutative59.2%
*-commutative59.2%
*-commutative59.2%
*-commutative59.2%
Simplified59.2%
if -2.6e-39 < x < -1.2600000000000001e-110 or -6.49999999999999958e-219 < x < -1.6999999999999999e-269 or 2.60000000000000002e-70 < x < 4.40000000000000021e55Initial program 30.9%
Taylor expanded in b around inf 61.1%
if -1.2600000000000001e-110 < x < -6.49999999999999958e-219 or 1.24999999999999999e-300 < x < 2e-282Initial program 33.3%
Taylor expanded in y5 around -inf 56.9%
Taylor expanded in k around 0 64.0%
if -1.6999999999999999e-269 < x < 1.24999999999999999e-300Initial program 19.8%
Taylor expanded in y1 around inf 71.0%
distribute-lft-out--71.0%
*-commutative71.0%
*-commutative71.0%
*-commutative71.0%
Simplified71.0%
Taylor expanded in y3 around 0 61.1%
+-commutative61.1%
mul-1-neg61.1%
unsub-neg61.1%
associate-*r*61.1%
*-commutative61.1%
*-commutative61.1%
*-commutative61.1%
Simplified61.1%
if 2e-282 < x < 4.59999999999999978e-272 or 1.1500000000000001e-118 < x < 2.45e-89Initial program 12.3%
Taylor expanded in b around inf 63.1%
Taylor expanded in k around inf 100.0%
distribute-lft-out--100.0%
Simplified100.0%
if 4.59999999999999978e-272 < x < 1.85000000000000008e-239Initial program 44.3%
Taylor expanded in y5 around -inf 46.1%
Taylor expanded in i around inf 57.9%
cancel-sign-sub-inv57.9%
fma-udef57.9%
associate-*r*67.5%
fma-udef67.5%
cancel-sign-sub-inv67.5%
Simplified67.5%
if 4.40000000000000021e55 < x Initial program 27.9%
Taylor expanded in x around inf 58.1%
Final simplification63.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y5
(+ (- (* j (* y0 y3)) (* i (* t j))) (* a (- (* t y2) (* y y3))))))
(t_2 (- (* y1 y4) (* y0 y5)))
(t_3 (- (* x y2) (* z y3)))
(t_4 (- (* z k) (* x j)))
(t_5 (* y0 (+ (+ (* c t_3) (* y5 (- (* j y3) (* k y2)))) (* b t_4))))
(t_6 (- (* t j) (* y k)))
(t_7 (* b (+ (+ (* a (- (* x y) (* z t))) (* y4 t_6)) (* y0 t_4)))))
(if (<= x -3.1e+176)
(* c (* y0 t_3))
(if (<= x -1.75e+114)
(* a (* y2 (- (* t y5) (* x y1))))
(if (<= x -15000000000.0)
t_5
(if (<= x -7.5e-111)
t_7
(if (<= x -6e-219)
t_1
(if (<= x -5.5e-269)
t_7
(if (<= x 9e-301)
(+
(* (* k y2) t_2)
(* y1 (- (* i (- (* x j) (* z k))) (* a (* x y2)))))
(if (<= x 9.8e-281)
t_1
(if (<= x 1.5e-271)
(* b (* k (- (* z y0) (* y y4))))
(if (<= x 1.85e-239)
(* (* i y5) (- (* y k) (* t j)))
(if (<= x 2.35e-191)
(*
y4
(+
(+ (* b t_6) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= x 7.4e-180)
(* k (* y2 t_2))
(if (<= x 3.5e-130)
t_1
(if (<= x 1e+46)
t_5
(*
x
(+
(+
(* y (- (* a b) (* c i)))
(* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))));
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = (x * y2) - (z * y3);
double t_4 = (z * k) - (x * j);
double t_5 = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_4));
double t_6 = (t * j) - (y * k);
double t_7 = b * (((a * ((x * y) - (z * t))) + (y4 * t_6)) + (y0 * t_4));
double tmp;
if (x <= -3.1e+176) {
tmp = c * (y0 * t_3);
} else if (x <= -1.75e+114) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (x <= -15000000000.0) {
tmp = t_5;
} else if (x <= -7.5e-111) {
tmp = t_7;
} else if (x <= -6e-219) {
tmp = t_1;
} else if (x <= -5.5e-269) {
tmp = t_7;
} else if (x <= 9e-301) {
tmp = ((k * y2) * t_2) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))));
} else if (x <= 9.8e-281) {
tmp = t_1;
} else if (x <= 1.5e-271) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (x <= 1.85e-239) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (x <= 2.35e-191) {
tmp = y4 * (((b * t_6) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (x <= 7.4e-180) {
tmp = k * (y2 * t_2);
} else if (x <= 3.5e-130) {
tmp = t_1;
} else if (x <= 1e+46) {
tmp = t_5;
} else {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: 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 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))))
t_2 = (y1 * y4) - (y0 * y5)
t_3 = (x * y2) - (z * y3)
t_4 = (z * k) - (x * j)
t_5 = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_4))
t_6 = (t * j) - (y * k)
t_7 = b * (((a * ((x * y) - (z * t))) + (y4 * t_6)) + (y0 * t_4))
if (x <= (-3.1d+176)) then
tmp = c * (y0 * t_3)
else if (x <= (-1.75d+114)) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else if (x <= (-15000000000.0d0)) then
tmp = t_5
else if (x <= (-7.5d-111)) then
tmp = t_7
else if (x <= (-6d-219)) then
tmp = t_1
else if (x <= (-5.5d-269)) then
tmp = t_7
else if (x <= 9d-301) then
tmp = ((k * y2) * t_2) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))))
else if (x <= 9.8d-281) then
tmp = t_1
else if (x <= 1.5d-271) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (x <= 1.85d-239) then
tmp = (i * y5) * ((y * k) - (t * j))
else if (x <= 2.35d-191) then
tmp = y4 * (((b * t_6) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (x <= 7.4d-180) then
tmp = k * (y2 * t_2)
else if (x <= 3.5d-130) then
tmp = t_1
else if (x <= 1d+46) then
tmp = t_5
else
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))));
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = (x * y2) - (z * y3);
double t_4 = (z * k) - (x * j);
double t_5 = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_4));
double t_6 = (t * j) - (y * k);
double t_7 = b * (((a * ((x * y) - (z * t))) + (y4 * t_6)) + (y0 * t_4));
double tmp;
if (x <= -3.1e+176) {
tmp = c * (y0 * t_3);
} else if (x <= -1.75e+114) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (x <= -15000000000.0) {
tmp = t_5;
} else if (x <= -7.5e-111) {
tmp = t_7;
} else if (x <= -6e-219) {
tmp = t_1;
} else if (x <= -5.5e-269) {
tmp = t_7;
} else if (x <= 9e-301) {
tmp = ((k * y2) * t_2) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))));
} else if (x <= 9.8e-281) {
tmp = t_1;
} else if (x <= 1.5e-271) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (x <= 1.85e-239) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (x <= 2.35e-191) {
tmp = y4 * (((b * t_6) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (x <= 7.4e-180) {
tmp = k * (y2 * t_2);
} else if (x <= 3.5e-130) {
tmp = t_1;
} else if (x <= 1e+46) {
tmp = t_5;
} else {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3)))) t_2 = (y1 * y4) - (y0 * y5) t_3 = (x * y2) - (z * y3) t_4 = (z * k) - (x * j) t_5 = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_4)) t_6 = (t * j) - (y * k) t_7 = b * (((a * ((x * y) - (z * t))) + (y4 * t_6)) + (y0 * t_4)) tmp = 0 if x <= -3.1e+176: tmp = c * (y0 * t_3) elif x <= -1.75e+114: tmp = a * (y2 * ((t * y5) - (x * y1))) elif x <= -15000000000.0: tmp = t_5 elif x <= -7.5e-111: tmp = t_7 elif x <= -6e-219: tmp = t_1 elif x <= -5.5e-269: tmp = t_7 elif x <= 9e-301: tmp = ((k * y2) * t_2) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2)))) elif x <= 9.8e-281: tmp = t_1 elif x <= 1.5e-271: tmp = b * (k * ((z * y0) - (y * y4))) elif x <= 1.85e-239: tmp = (i * y5) * ((y * k) - (t * j)) elif x <= 2.35e-191: tmp = y4 * (((b * t_6) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif x <= 7.4e-180: tmp = k * (y2 * t_2) elif x <= 3.5e-130: tmp = t_1 elif x <= 1e+46: tmp = t_5 else: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y5 * Float64(Float64(Float64(j * Float64(y0 * y3)) - Float64(i * Float64(t * j))) + Float64(a * Float64(Float64(t * y2) - Float64(y * y3))))) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_3 = Float64(Float64(x * y2) - Float64(z * y3)) t_4 = Float64(Float64(z * k) - Float64(x * j)) t_5 = Float64(y0 * Float64(Float64(Float64(c * t_3) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * t_4))) t_6 = Float64(Float64(t * j) - Float64(y * k)) t_7 = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_6)) + Float64(y0 * t_4))) tmp = 0.0 if (x <= -3.1e+176) tmp = Float64(c * Float64(y0 * t_3)); elseif (x <= -1.75e+114) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); elseif (x <= -15000000000.0) tmp = t_5; elseif (x <= -7.5e-111) tmp = t_7; elseif (x <= -6e-219) tmp = t_1; elseif (x <= -5.5e-269) tmp = t_7; elseif (x <= 9e-301) tmp = Float64(Float64(Float64(k * y2) * t_2) + Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) - Float64(a * Float64(x * y2))))); elseif (x <= 9.8e-281) tmp = t_1; elseif (x <= 1.5e-271) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (x <= 1.85e-239) tmp = Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))); elseif (x <= 2.35e-191) tmp = Float64(y4 * Float64(Float64(Float64(b * t_6) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (x <= 7.4e-180) tmp = Float64(k * Float64(y2 * t_2)); elseif (x <= 3.5e-130) tmp = t_1; elseif (x <= 1e+46) tmp = t_5; else tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); 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 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3)))); t_2 = (y1 * y4) - (y0 * y5); t_3 = (x * y2) - (z * y3); t_4 = (z * k) - (x * j); t_5 = y0 * (((c * t_3) + (y5 * ((j * y3) - (k * y2)))) + (b * t_4)); t_6 = (t * j) - (y * k); t_7 = b * (((a * ((x * y) - (z * t))) + (y4 * t_6)) + (y0 * t_4)); tmp = 0.0; if (x <= -3.1e+176) tmp = c * (y0 * t_3); elseif (x <= -1.75e+114) tmp = a * (y2 * ((t * y5) - (x * y1))); elseif (x <= -15000000000.0) tmp = t_5; elseif (x <= -7.5e-111) tmp = t_7; elseif (x <= -6e-219) tmp = t_1; elseif (x <= -5.5e-269) tmp = t_7; elseif (x <= 9e-301) tmp = ((k * y2) * t_2) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2)))); elseif (x <= 9.8e-281) tmp = t_1; elseif (x <= 1.5e-271) tmp = b * (k * ((z * y0) - (y * y4))); elseif (x <= 1.85e-239) tmp = (i * y5) * ((y * k) - (t * j)); elseif (x <= 2.35e-191) tmp = y4 * (((b * t_6) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (x <= 7.4e-180) tmp = k * (y2 * t_2); elseif (x <= 3.5e-130) tmp = t_1; elseif (x <= 1e+46) tmp = t_5; else tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y5 * N[(N[(N[(j * N[(y0 * y3), $MachinePrecision]), $MachinePrecision] - N[(i * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $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[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y0 * N[(N[(N[(c * t$95$3), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$6), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -3.1e+176], N[(c * N[(y0 * t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.75e+114], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -15000000000.0], t$95$5, If[LessEqual[x, -7.5e-111], t$95$7, If[LessEqual[x, -6e-219], t$95$1, If[LessEqual[x, -5.5e-269], t$95$7, If[LessEqual[x, 9e-301], N[(N[(N[(k * y2), $MachinePrecision] * t$95$2), $MachinePrecision] + N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 9.8e-281], t$95$1, If[LessEqual[x, 1.5e-271], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.85e-239], N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.35e-191], N[(y4 * N[(N[(N[(b * t$95$6), $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[x, 7.4e-180], N[(k * N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.5e-130], t$95$1, If[LessEqual[x, 1e+46], t$95$5, N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y5 \cdot \left(\left(j \cdot \left(y0 \cdot y3\right) - i \cdot \left(t \cdot j\right)\right) + a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := x \cdot y2 - z \cdot y3\\
t_4 := z \cdot k - x \cdot j\\
t_5 := y0 \cdot \left(\left(c \cdot t_3 + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot t_4\right)\\
t_6 := t \cdot j - y \cdot k\\
t_7 := b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_6\right) + y0 \cdot t_4\right)\\
\mathbf{if}\;x \leq -3.1 \cdot 10^{+176}:\\
\;\;\;\;c \cdot \left(y0 \cdot t_3\right)\\
\mathbf{elif}\;x \leq -1.75 \cdot 10^{+114}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq -15000000000:\\
\;\;\;\;t_5\\
\mathbf{elif}\;x \leq -7.5 \cdot 10^{-111}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;x \leq -6 \cdot 10^{-219}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq -5.5 \cdot 10^{-269}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;x \leq 9 \cdot 10^{-301}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot t_2 + y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) - a \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 9.8 \cdot 10^{-281}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 1.5 \cdot 10^{-271}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 1.85 \cdot 10^{-239}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right)\\
\mathbf{elif}\;x \leq 2.35 \cdot 10^{-191}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_6 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 7.4 \cdot 10^{-180}:\\
\;\;\;\;k \cdot \left(y2 \cdot t_2\right)\\
\mathbf{elif}\;x \leq 3.5 \cdot 10^{-130}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 10^{+46}:\\
\;\;\;\;t_5\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if x < -3.0999999999999999e176Initial program 28.6%
Taylor expanded in y0 around inf 57.3%
+-commutative57.3%
mul-1-neg57.3%
unsub-neg57.3%
*-commutative57.3%
*-commutative57.3%
*-commutative57.3%
*-commutative57.3%
Simplified57.3%
Taylor expanded in c around inf 71.7%
if -3.0999999999999999e176 < x < -1.75e114Initial program 26.7%
Taylor expanded in y2 around inf 59.7%
Taylor expanded in a around inf 73.6%
distribute-lft-out--73.6%
*-commutative73.6%
Simplified73.6%
if -1.75e114 < x < -1.5e10 or 3.4999999999999999e-130 < x < 9.9999999999999999e45Initial program 28.5%
Taylor expanded in y0 around inf 57.9%
+-commutative57.9%
mul-1-neg57.9%
unsub-neg57.9%
*-commutative57.9%
*-commutative57.9%
*-commutative57.9%
*-commutative57.9%
Simplified57.9%
if -1.5e10 < x < -7.49999999999999965e-111 or -6.0000000000000002e-219 < x < -5.5000000000000001e-269Initial program 37.6%
Taylor expanded in b around inf 64.9%
if -7.49999999999999965e-111 < x < -6.0000000000000002e-219 or 9.00000000000000039e-301 < x < 9.7999999999999999e-281 or 7.40000000000000032e-180 < x < 3.4999999999999999e-130Initial program 35.2%
Taylor expanded in y5 around -inf 55.3%
Taylor expanded in k around 0 60.6%
if -5.5000000000000001e-269 < x < 9.00000000000000039e-301Initial program 19.8%
Taylor expanded in y1 around inf 71.0%
distribute-lft-out--71.0%
*-commutative71.0%
*-commutative71.0%
*-commutative71.0%
Simplified71.0%
Taylor expanded in y3 around 0 61.1%
+-commutative61.1%
mul-1-neg61.1%
unsub-neg61.1%
associate-*r*61.1%
*-commutative61.1%
*-commutative61.1%
*-commutative61.1%
Simplified61.1%
if 9.7999999999999999e-281 < x < 1.50000000000000001e-271Initial program 32.8%
Taylor expanded in b around inf 34.9%
Taylor expanded in k around inf 100.0%
distribute-lft-out--100.0%
Simplified100.0%
if 1.50000000000000001e-271 < x < 1.85000000000000008e-239Initial program 44.3%
Taylor expanded in y5 around -inf 46.1%
Taylor expanded in i around inf 57.9%
cancel-sign-sub-inv57.9%
fma-udef57.9%
associate-*r*67.5%
fma-udef67.5%
cancel-sign-sub-inv67.5%
Simplified67.5%
if 1.85000000000000008e-239 < x < 2.3499999999999999e-191Initial program 54.5%
Taylor expanded in y4 around inf 72.8%
if 2.3499999999999999e-191 < x < 7.40000000000000032e-180Initial program 25.0%
Taylor expanded in y2 around inf 100.0%
Taylor expanded in k around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
if 9.9999999999999999e45 < x Initial program 25.4%
Taylor expanded in x around inf 54.8%
Final simplification63.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y5
(+ (- (* j (* y0 y3)) (* i (* t j))) (* a (- (* t y2) (* y y3))))))
(t_2 (* y5 (- (* j y3) (* k y2))))
(t_3 (- (* x y2) (* z y3)))
(t_4 (* y0 t_3))
(t_5 (- (* z k) (* x j)))
(t_6 (* b t_5))
(t_7 (* y0 (+ (+ (* c t_3) t_2) t_6)))
(t_8
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 t_5)))))
(if (<= x -3.4e+178)
(* c t_4)
(if (<= x -2.6e+105)
(* a (* y2 (- (* t y5) (* x y1))))
(if (<= x -4400000000.0)
t_7
(if (<= x -1.15e-110)
t_8
(if (<= x -4.8e-219)
t_1
(if (<= x -1.4e-269)
t_8
(if (<= x 6.5e-301)
(+
(* (* k y2) (- (* y1 y4) (* y0 y5)))
(* y1 (- (* i (- (* x j) (* z k))) (* a (* x y2)))))
(if (<= x 1.76e-280)
t_1
(if (<= x 3.7e-273)
(* b (* k (- (* z y0) (* y y4))))
(if (<= x 1.75e-201)
t_7
(if (<= x 3.9e-115)
(*
c
(+
(+ t_4 (* i (- (* z t) (* x y))))
(* y4 (- (* y y3) (* t y2)))))
(if (<= x 1.65e+49)
(* y0 (+ t_2 t_6))
(*
x
(+
(+
(* y (- (* a b) (* c i)))
(* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))));
double t_2 = y5 * ((j * y3) - (k * y2));
double t_3 = (x * y2) - (z * y3);
double t_4 = y0 * t_3;
double t_5 = (z * k) - (x * j);
double t_6 = b * t_5;
double t_7 = y0 * (((c * t_3) + t_2) + t_6);
double t_8 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_5));
double tmp;
if (x <= -3.4e+178) {
tmp = c * t_4;
} else if (x <= -2.6e+105) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (x <= -4400000000.0) {
tmp = t_7;
} else if (x <= -1.15e-110) {
tmp = t_8;
} else if (x <= -4.8e-219) {
tmp = t_1;
} else if (x <= -1.4e-269) {
tmp = t_8;
} else if (x <= 6.5e-301) {
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))));
} else if (x <= 1.76e-280) {
tmp = t_1;
} else if (x <= 3.7e-273) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (x <= 1.75e-201) {
tmp = t_7;
} else if (x <= 3.9e-115) {
tmp = c * ((t_4 + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (x <= 1.65e+49) {
tmp = y0 * (t_2 + t_6);
} else {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: tmp
t_1 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))))
t_2 = y5 * ((j * y3) - (k * y2))
t_3 = (x * y2) - (z * y3)
t_4 = y0 * t_3
t_5 = (z * k) - (x * j)
t_6 = b * t_5
t_7 = y0 * (((c * t_3) + t_2) + t_6)
t_8 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_5))
if (x <= (-3.4d+178)) then
tmp = c * t_4
else if (x <= (-2.6d+105)) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else if (x <= (-4400000000.0d0)) then
tmp = t_7
else if (x <= (-1.15d-110)) then
tmp = t_8
else if (x <= (-4.8d-219)) then
tmp = t_1
else if (x <= (-1.4d-269)) then
tmp = t_8
else if (x <= 6.5d-301) then
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))))
else if (x <= 1.76d-280) then
tmp = t_1
else if (x <= 3.7d-273) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (x <= 1.75d-201) then
tmp = t_7
else if (x <= 3.9d-115) then
tmp = c * ((t_4 + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))))
else if (x <= 1.65d+49) then
tmp = y0 * (t_2 + t_6)
else
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))));
double t_2 = y5 * ((j * y3) - (k * y2));
double t_3 = (x * y2) - (z * y3);
double t_4 = y0 * t_3;
double t_5 = (z * k) - (x * j);
double t_6 = b * t_5;
double t_7 = y0 * (((c * t_3) + t_2) + t_6);
double t_8 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_5));
double tmp;
if (x <= -3.4e+178) {
tmp = c * t_4;
} else if (x <= -2.6e+105) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (x <= -4400000000.0) {
tmp = t_7;
} else if (x <= -1.15e-110) {
tmp = t_8;
} else if (x <= -4.8e-219) {
tmp = t_1;
} else if (x <= -1.4e-269) {
tmp = t_8;
} else if (x <= 6.5e-301) {
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))));
} else if (x <= 1.76e-280) {
tmp = t_1;
} else if (x <= 3.7e-273) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (x <= 1.75e-201) {
tmp = t_7;
} else if (x <= 3.9e-115) {
tmp = c * ((t_4 + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (x <= 1.65e+49) {
tmp = y0 * (t_2 + t_6);
} else {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3)))) t_2 = y5 * ((j * y3) - (k * y2)) t_3 = (x * y2) - (z * y3) t_4 = y0 * t_3 t_5 = (z * k) - (x * j) t_6 = b * t_5 t_7 = y0 * (((c * t_3) + t_2) + t_6) t_8 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_5)) tmp = 0 if x <= -3.4e+178: tmp = c * t_4 elif x <= -2.6e+105: tmp = a * (y2 * ((t * y5) - (x * y1))) elif x <= -4400000000.0: tmp = t_7 elif x <= -1.15e-110: tmp = t_8 elif x <= -4.8e-219: tmp = t_1 elif x <= -1.4e-269: tmp = t_8 elif x <= 6.5e-301: tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2)))) elif x <= 1.76e-280: tmp = t_1 elif x <= 3.7e-273: tmp = b * (k * ((z * y0) - (y * y4))) elif x <= 1.75e-201: tmp = t_7 elif x <= 3.9e-115: tmp = c * ((t_4 + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))) elif x <= 1.65e+49: tmp = y0 * (t_2 + t_6) else: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y5 * Float64(Float64(Float64(j * Float64(y0 * y3)) - Float64(i * Float64(t * j))) + Float64(a * Float64(Float64(t * y2) - Float64(y * y3))))) t_2 = Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) t_3 = Float64(Float64(x * y2) - Float64(z * y3)) t_4 = Float64(y0 * t_3) t_5 = Float64(Float64(z * k) - Float64(x * j)) t_6 = Float64(b * t_5) t_7 = Float64(y0 * Float64(Float64(Float64(c * t_3) + t_2) + t_6)) t_8 = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * t_5))) tmp = 0.0 if (x <= -3.4e+178) tmp = Float64(c * t_4); elseif (x <= -2.6e+105) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); elseif (x <= -4400000000.0) tmp = t_7; elseif (x <= -1.15e-110) tmp = t_8; elseif (x <= -4.8e-219) tmp = t_1; elseif (x <= -1.4e-269) tmp = t_8; elseif (x <= 6.5e-301) tmp = Float64(Float64(Float64(k * y2) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) - Float64(a * Float64(x * y2))))); elseif (x <= 1.76e-280) tmp = t_1; elseif (x <= 3.7e-273) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (x <= 1.75e-201) tmp = t_7; elseif (x <= 3.9e-115) tmp = Float64(c * Float64(Float64(t_4 + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (x <= 1.65e+49) tmp = Float64(y0 * Float64(t_2 + t_6)); else tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); 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 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3)))); t_2 = y5 * ((j * y3) - (k * y2)); t_3 = (x * y2) - (z * y3); t_4 = y0 * t_3; t_5 = (z * k) - (x * j); t_6 = b * t_5; t_7 = y0 * (((c * t_3) + t_2) + t_6); t_8 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_5)); tmp = 0.0; if (x <= -3.4e+178) tmp = c * t_4; elseif (x <= -2.6e+105) tmp = a * (y2 * ((t * y5) - (x * y1))); elseif (x <= -4400000000.0) tmp = t_7; elseif (x <= -1.15e-110) tmp = t_8; elseif (x <= -4.8e-219) tmp = t_1; elseif (x <= -1.4e-269) tmp = t_8; elseif (x <= 6.5e-301) tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2)))); elseif (x <= 1.76e-280) tmp = t_1; elseif (x <= 3.7e-273) tmp = b * (k * ((z * y0) - (y * y4))); elseif (x <= 1.75e-201) tmp = t_7; elseif (x <= 3.9e-115) tmp = c * ((t_4 + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))); elseif (x <= 1.65e+49) tmp = y0 * (t_2 + t_6); else tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y5 * N[(N[(N[(j * N[(y0 * y3), $MachinePrecision]), $MachinePrecision] - N[(i * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y0 * t$95$3), $MachinePrecision]}, Block[{t$95$5 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(b * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(y0 * N[(N[(N[(c * t$95$3), $MachinePrecision] + t$95$2), $MachinePrecision] + t$95$6), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -3.4e+178], N[(c * t$95$4), $MachinePrecision], If[LessEqual[x, -2.6e+105], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4400000000.0], t$95$7, If[LessEqual[x, -1.15e-110], t$95$8, If[LessEqual[x, -4.8e-219], t$95$1, If[LessEqual[x, -1.4e-269], t$95$8, If[LessEqual[x, 6.5e-301], N[(N[(N[(k * y2), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.76e-280], t$95$1, If[LessEqual[x, 3.7e-273], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.75e-201], t$95$7, If[LessEqual[x, 3.9e-115], N[(c * N[(N[(t$95$4 + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.65e+49], N[(y0 * N[(t$95$2 + t$95$6), $MachinePrecision]), $MachinePrecision], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y5 \cdot \left(\left(j \cdot \left(y0 \cdot y3\right) - i \cdot \left(t \cdot j\right)\right) + a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
t_2 := y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\\
t_3 := x \cdot y2 - z \cdot y3\\
t_4 := y0 \cdot t_3\\
t_5 := z \cdot k - x \cdot j\\
t_6 := b \cdot t_5\\
t_7 := y0 \cdot \left(\left(c \cdot t_3 + t_2\right) + t_6\right)\\
t_8 := b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot t_5\right)\\
\mathbf{if}\;x \leq -3.4 \cdot 10^{+178}:\\
\;\;\;\;c \cdot t_4\\
\mathbf{elif}\;x \leq -2.6 \cdot 10^{+105}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{elif}\;x \leq -4400000000:\\
\;\;\;\;t_7\\
\mathbf{elif}\;x \leq -1.15 \cdot 10^{-110}:\\
\;\;\;\;t_8\\
\mathbf{elif}\;x \leq -4.8 \cdot 10^{-219}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq -1.4 \cdot 10^{-269}:\\
\;\;\;\;t_8\\
\mathbf{elif}\;x \leq 6.5 \cdot 10^{-301}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) - a \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 1.76 \cdot 10^{-280}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 3.7 \cdot 10^{-273}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 1.75 \cdot 10^{-201}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;x \leq 3.9 \cdot 10^{-115}:\\
\;\;\;\;c \cdot \left(\left(t_4 + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq 1.65 \cdot 10^{+49}:\\
\;\;\;\;y0 \cdot \left(t_2 + t_6\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if x < -3.4000000000000003e178Initial program 28.6%
Taylor expanded in y0 around inf 57.3%
+-commutative57.3%
mul-1-neg57.3%
unsub-neg57.3%
*-commutative57.3%
*-commutative57.3%
*-commutative57.3%
*-commutative57.3%
Simplified57.3%
Taylor expanded in c around inf 71.7%
if -3.4000000000000003e178 < x < -2.6000000000000002e105Initial program 26.7%
Taylor expanded in y2 around inf 59.7%
Taylor expanded in a around inf 73.6%
distribute-lft-out--73.6%
*-commutative73.6%
Simplified73.6%
if -2.6000000000000002e105 < x < -4.4e9 or 3.7000000000000003e-273 < x < 1.75000000000000004e-201Initial program 29.4%
Taylor expanded in y0 around inf 62.4%
+-commutative62.4%
mul-1-neg62.4%
unsub-neg62.4%
*-commutative62.4%
*-commutative62.4%
*-commutative62.4%
*-commutative62.4%
Simplified62.4%
if -4.4e9 < x < -1.1500000000000001e-110 or -4.80000000000000028e-219 < x < -1.39999999999999997e-269Initial program 37.6%
Taylor expanded in b around inf 64.9%
if -1.1500000000000001e-110 < x < -4.80000000000000028e-219 or 6.49999999999999991e-301 < x < 1.76000000000000003e-280Initial program 33.3%
Taylor expanded in y5 around -inf 56.9%
Taylor expanded in k around 0 64.0%
if -1.39999999999999997e-269 < x < 6.49999999999999991e-301Initial program 19.8%
Taylor expanded in y1 around inf 71.0%
distribute-lft-out--71.0%
*-commutative71.0%
*-commutative71.0%
*-commutative71.0%
Simplified71.0%
Taylor expanded in y3 around 0 61.1%
+-commutative61.1%
mul-1-neg61.1%
unsub-neg61.1%
associate-*r*61.1%
*-commutative61.1%
*-commutative61.1%
*-commutative61.1%
Simplified61.1%
if 1.76000000000000003e-280 < x < 3.7000000000000003e-273Initial program 32.8%
Taylor expanded in b around inf 34.9%
Taylor expanded in k around inf 100.0%
distribute-lft-out--100.0%
Simplified100.0%
if 1.75000000000000004e-201 < x < 3.8999999999999998e-115Initial program 47.8%
Taylor expanded in c around inf 52.5%
+-commutative52.5%
mul-1-neg52.5%
unsub-neg52.5%
*-commutative52.5%
*-commutative52.5%
*-commutative52.5%
*-commutative52.5%
Simplified52.5%
if 3.8999999999999998e-115 < x < 1.6499999999999999e49Initial program 29.9%
Taylor expanded in y0 around inf 50.7%
+-commutative50.7%
mul-1-neg50.7%
unsub-neg50.7%
*-commutative50.7%
*-commutative50.7%
*-commutative50.7%
*-commutative50.7%
Simplified50.7%
Taylor expanded in c around 0 51.0%
mul-1-neg51.0%
distribute-rgt-neg-in51.0%
*-commutative51.0%
*-commutative51.0%
distribute-neg-in51.0%
unsub-neg51.0%
distribute-rgt-neg-in51.0%
neg-sub051.0%
associate-+l-51.0%
neg-sub051.0%
+-commutative51.0%
sub-neg51.0%
sub-neg51.0%
Simplified51.0%
if 1.6499999999999999e49 < x Initial program 26.4%
Taylor expanded in x around inf 56.8%
Final simplification61.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j))))))
(t_2 (* x (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))))
(t_3
(*
y5
(+ (- (* j (* y0 y3)) (* i (* t j))) (* a (- (* t y2) (* y y3)))))))
(if (<= b -2.3e+115)
t_1
(if (<= b -1.8e-24)
(*
c
(+
(+ (* y0 (- (* x y2) (* z y3))) (* i (- (* z t) (* x y))))
(* y4 (- (* y y3) (* t y2)))))
(if (<= b -7e-90)
(* (* i y5) (- (* y k) (* t j)))
(if (<= b -8e-163)
t_3
(if (<= b -1e-294)
t_2
(if (<= b 7.8e-263)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= b 9.5e-216)
t_2
(if (<= b 1.25e-199)
(* i (* x (- (* j y1) (* y c))))
(if (<= b 6.9e-87)
t_3
(if (<= b 9.8e-61)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= b 4e+100)
(* y0 (* y2 (- (* x c) (* k y5))))
t_1)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
double t_2 = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
double t_3 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))));
double tmp;
if (b <= -2.3e+115) {
tmp = t_1;
} else if (b <= -1.8e-24) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (b <= -7e-90) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (b <= -8e-163) {
tmp = t_3;
} else if (b <= -1e-294) {
tmp = t_2;
} else if (b <= 7.8e-263) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (b <= 9.5e-216) {
tmp = t_2;
} else if (b <= 1.25e-199) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (b <= 6.9e-87) {
tmp = t_3;
} else if (b <= 9.8e-61) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (b <= 4e+100) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
t_2 = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))))
t_3 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))))
if (b <= (-2.3d+115)) then
tmp = t_1
else if (b <= (-1.8d-24)) then
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))))
else if (b <= (-7d-90)) then
tmp = (i * y5) * ((y * k) - (t * j))
else if (b <= (-8d-163)) then
tmp = t_3
else if (b <= (-1d-294)) then
tmp = t_2
else if (b <= 7.8d-263) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (b <= 9.5d-216) then
tmp = t_2
else if (b <= 1.25d-199) then
tmp = i * (x * ((j * y1) - (y * c)))
else if (b <= 6.9d-87) then
tmp = t_3
else if (b <= 9.8d-61) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (b <= 4d+100) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
double t_2 = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
double t_3 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))));
double tmp;
if (b <= -2.3e+115) {
tmp = t_1;
} else if (b <= -1.8e-24) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (b <= -7e-90) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (b <= -8e-163) {
tmp = t_3;
} else if (b <= -1e-294) {
tmp = t_2;
} else if (b <= 7.8e-263) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (b <= 9.5e-216) {
tmp = t_2;
} else if (b <= 1.25e-199) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (b <= 6.9e-87) {
tmp = t_3;
} else if (b <= 9.8e-61) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (b <= 4e+100) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) t_2 = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) t_3 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3)))) tmp = 0 if b <= -2.3e+115: tmp = t_1 elif b <= -1.8e-24: tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))) elif b <= -7e-90: tmp = (i * y5) * ((y * k) - (t * j)) elif b <= -8e-163: tmp = t_3 elif b <= -1e-294: tmp = t_2 elif b <= 7.8e-263: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif b <= 9.5e-216: tmp = t_2 elif b <= 1.25e-199: tmp = i * (x * ((j * y1) - (y * c))) elif b <= 6.9e-87: tmp = t_3 elif b <= 9.8e-61: tmp = t * (y2 * ((a * y5) - (c * y4))) elif b <= 4e+100: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))) t_2 = Float64(x * Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))))) t_3 = Float64(y5 * Float64(Float64(Float64(j * Float64(y0 * y3)) - Float64(i * Float64(t * j))) + Float64(a * Float64(Float64(t * y2) - Float64(y * y3))))) tmp = 0.0 if (b <= -2.3e+115) tmp = t_1; elseif (b <= -1.8e-24) tmp = Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (b <= -7e-90) tmp = Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))); elseif (b <= -8e-163) tmp = t_3; elseif (b <= -1e-294) tmp = t_2; elseif (b <= 7.8e-263) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (b <= 9.5e-216) tmp = t_2; elseif (b <= 1.25e-199) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); elseif (b <= 6.9e-87) tmp = t_3; elseif (b <= 9.8e-61) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (b <= 4e+100) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); t_2 = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))); t_3 = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3)))); tmp = 0.0; if (b <= -2.3e+115) tmp = t_1; elseif (b <= -1.8e-24) tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))); elseif (b <= -7e-90) tmp = (i * y5) * ((y * k) - (t * j)); elseif (b <= -8e-163) tmp = t_3; elseif (b <= -1e-294) tmp = t_2; elseif (b <= 7.8e-263) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (b <= 9.5e-216) tmp = t_2; elseif (b <= 1.25e-199) tmp = i * (x * ((j * y1) - (y * c))); elseif (b <= 6.9e-87) tmp = t_3; elseif (b <= 9.8e-61) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (b <= 4e+100) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y5 * N[(N[(N[(j * N[(y0 * y3), $MachinePrecision]), $MachinePrecision] - N[(i * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.3e+115], t$95$1, If[LessEqual[b, -1.8e-24], N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -7e-90], N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -8e-163], t$95$3, If[LessEqual[b, -1e-294], t$95$2, If[LessEqual[b, 7.8e-263], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9.5e-216], t$95$2, If[LessEqual[b, 1.25e-199], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 6.9e-87], t$95$3, If[LessEqual[b, 9.8e-61], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4e+100], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_2 := x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
t_3 := y5 \cdot \left(\left(j \cdot \left(y0 \cdot y3\right) - i \cdot \left(t \cdot j\right)\right) + a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;b \leq -2.3 \cdot 10^{+115}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq -1.8 \cdot 10^{-24}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;b \leq -7 \cdot 10^{-90}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right)\\
\mathbf{elif}\;b \leq -8 \cdot 10^{-163}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;b \leq -1 \cdot 10^{-294}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq 7.8 \cdot 10^{-263}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;b \leq 9.5 \cdot 10^{-216}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq 1.25 \cdot 10^{-199}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{elif}\;b \leq 6.9 \cdot 10^{-87}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;b \leq 9.8 \cdot 10^{-61}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;b \leq 4 \cdot 10^{+100}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if b < -2.30000000000000004e115 or 4.00000000000000006e100 < b Initial program 27.0%
Taylor expanded in b around inf 60.6%
if -2.30000000000000004e115 < b < -1.8e-24Initial program 27.5%
Taylor expanded in c around inf 55.0%
+-commutative55.0%
mul-1-neg55.0%
unsub-neg55.0%
*-commutative55.0%
*-commutative55.0%
*-commutative55.0%
*-commutative55.0%
Simplified55.0%
if -1.8e-24 < b < -6.9999999999999997e-90Initial program 45.3%
Taylor expanded in y5 around -inf 36.7%
Taylor expanded in i around inf 46.5%
cancel-sign-sub-inv46.5%
fma-udef46.5%
associate-*r*46.4%
fma-udef46.4%
cancel-sign-sub-inv46.4%
Simplified46.4%
if -6.9999999999999997e-90 < b < -7.99999999999999939e-163 or 1.2499999999999999e-199 < b < 6.90000000000000042e-87Initial program 43.5%
Taylor expanded in y5 around -inf 54.7%
Taylor expanded in k around 0 52.1%
if -7.99999999999999939e-163 < b < -1.00000000000000002e-294 or 7.79999999999999939e-263 < b < 9.49999999999999943e-216Initial program 32.5%
Taylor expanded in x around inf 62.5%
Taylor expanded in j around 0 59.7%
if -1.00000000000000002e-294 < b < 7.79999999999999939e-263Initial program 25.0%
Taylor expanded in y2 around inf 50.3%
Taylor expanded in k around inf 62.9%
*-commutative62.9%
*-commutative62.9%
Simplified62.9%
if 9.49999999999999943e-216 < b < 1.2499999999999999e-199Initial program 25.0%
Taylor expanded in i around -inf 26.0%
Taylor expanded in x around inf 76.5%
*-commutative76.5%
Simplified76.5%
if 6.90000000000000042e-87 < b < 9.80000000000000004e-61Initial program 20.0%
Taylor expanded in y2 around inf 40.0%
Taylor expanded in t around inf 100.0%
if 9.80000000000000004e-61 < b < 4.00000000000000006e100Initial program 31.9%
Taylor expanded in y2 around inf 45.1%
Taylor expanded in y0 around -inf 49.0%
mul-1-neg49.0%
distribute-rgt-neg-in49.0%
+-commutative49.0%
mul-1-neg49.0%
unsub-neg49.0%
*-commutative49.0%
*-commutative49.0%
Simplified49.0%
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 (- (* a y5) (* c y4)))
(t_2 (- (* x y2) (* z y3)))
(t_3
(*
y0
(+
(+ (* c t_2) (* y5 (- (* j y3) (* k y2))))
(* b (- (* z k) (* x j))))))
(t_4 (- (* y y3) (* t y2)))
(t_5 (- (* k y2) (* j y3)))
(t_6
(*
y1
(+
(* i (- (* x j) (* z k)))
(+ (* y4 t_5) (* a (- (* z y3) (* x y2))))))))
(if (<= t -2.2e+152)
(* t (* y2 t_1))
(if (<= t -1.6e+123)
t_6
(if (<= t -3.2e+110)
(* a (* b (* z (- t))))
(if (<= t -5.6e+60)
(* y4 (+ (+ (* b (- (* t j) (* y k))) (* y1 t_5)) (* c t_4)))
(if (<= t -2.9e+42)
t_6
(if (<= t -7e-55)
(* c (+ (+ (* y0 t_2) (* i (- (* z t) (* x y)))) (* y4 t_4)))
(if (<= t -5.5e-285)
t_3
(if (<= t 1.55e-304)
(* b (* k (- (* z y0) (* y y4))))
(if (<= t 2.3e-146)
t_3
(if (<= t 5.2e+159)
(*
y2
(+
(+
(* k (- (* y1 y4) (* y0 y5)))
(* x (- (* c y0) (* a y1))))
(* t t_1)))
(* b (* t (- (* j y4) (* z 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 = (a * y5) - (c * y4);
double t_2 = (x * y2) - (z * y3);
double t_3 = y0 * (((c * t_2) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
double t_4 = (y * y3) - (t * y2);
double t_5 = (k * y2) - (j * y3);
double t_6 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_5) + (a * ((z * y3) - (x * y2)))));
double tmp;
if (t <= -2.2e+152) {
tmp = t * (y2 * t_1);
} else if (t <= -1.6e+123) {
tmp = t_6;
} else if (t <= -3.2e+110) {
tmp = a * (b * (z * -t));
} else if (t <= -5.6e+60) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_5)) + (c * t_4));
} else if (t <= -2.9e+42) {
tmp = t_6;
} else if (t <= -7e-55) {
tmp = c * (((y0 * t_2) + (i * ((z * t) - (x * y)))) + (y4 * t_4));
} else if (t <= -5.5e-285) {
tmp = t_3;
} else if (t <= 1.55e-304) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (t <= 2.3e-146) {
tmp = t_3;
} else if (t <= 5.2e+159) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * t_1));
} else {
tmp = b * (t * ((j * y4) - (z * 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) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: tmp
t_1 = (a * y5) - (c * y4)
t_2 = (x * y2) - (z * y3)
t_3 = y0 * (((c * t_2) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))))
t_4 = (y * y3) - (t * y2)
t_5 = (k * y2) - (j * y3)
t_6 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_5) + (a * ((z * y3) - (x * y2)))))
if (t <= (-2.2d+152)) then
tmp = t * (y2 * t_1)
else if (t <= (-1.6d+123)) then
tmp = t_6
else if (t <= (-3.2d+110)) then
tmp = a * (b * (z * -t))
else if (t <= (-5.6d+60)) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_5)) + (c * t_4))
else if (t <= (-2.9d+42)) then
tmp = t_6
else if (t <= (-7d-55)) then
tmp = c * (((y0 * t_2) + (i * ((z * t) - (x * y)))) + (y4 * t_4))
else if (t <= (-5.5d-285)) then
tmp = t_3
else if (t <= 1.55d-304) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (t <= 2.3d-146) then
tmp = t_3
else if (t <= 5.2d+159) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * t_1))
else
tmp = b * (t * ((j * y4) - (z * 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 = (a * y5) - (c * y4);
double t_2 = (x * y2) - (z * y3);
double t_3 = y0 * (((c * t_2) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
double t_4 = (y * y3) - (t * y2);
double t_5 = (k * y2) - (j * y3);
double t_6 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_5) + (a * ((z * y3) - (x * y2)))));
double tmp;
if (t <= -2.2e+152) {
tmp = t * (y2 * t_1);
} else if (t <= -1.6e+123) {
tmp = t_6;
} else if (t <= -3.2e+110) {
tmp = a * (b * (z * -t));
} else if (t <= -5.6e+60) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_5)) + (c * t_4));
} else if (t <= -2.9e+42) {
tmp = t_6;
} else if (t <= -7e-55) {
tmp = c * (((y0 * t_2) + (i * ((z * t) - (x * y)))) + (y4 * t_4));
} else if (t <= -5.5e-285) {
tmp = t_3;
} else if (t <= 1.55e-304) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (t <= 2.3e-146) {
tmp = t_3;
} else if (t <= 5.2e+159) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * t_1));
} else {
tmp = b * (t * ((j * y4) - (z * a)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * y5) - (c * y4) t_2 = (x * y2) - (z * y3) t_3 = y0 * (((c * t_2) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j)))) t_4 = (y * y3) - (t * y2) t_5 = (k * y2) - (j * y3) t_6 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_5) + (a * ((z * y3) - (x * y2))))) tmp = 0 if t <= -2.2e+152: tmp = t * (y2 * t_1) elif t <= -1.6e+123: tmp = t_6 elif t <= -3.2e+110: tmp = a * (b * (z * -t)) elif t <= -5.6e+60: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_5)) + (c * t_4)) elif t <= -2.9e+42: tmp = t_6 elif t <= -7e-55: tmp = c * (((y0 * t_2) + (i * ((z * t) - (x * y)))) + (y4 * t_4)) elif t <= -5.5e-285: tmp = t_3 elif t <= 1.55e-304: tmp = b * (k * ((z * y0) - (y * y4))) elif t <= 2.3e-146: tmp = t_3 elif t <= 5.2e+159: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * t_1)) else: tmp = b * (t * ((j * y4) - (z * a))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(a * y5) - Float64(c * y4)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(y0 * Float64(Float64(Float64(c * t_2) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))) t_4 = Float64(Float64(y * y3) - Float64(t * y2)) t_5 = Float64(Float64(k * y2) - Float64(j * y3)) t_6 = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y4 * t_5) + Float64(a * Float64(Float64(z * y3) - Float64(x * y2)))))) tmp = 0.0 if (t <= -2.2e+152) tmp = Float64(t * Float64(y2 * t_1)); elseif (t <= -1.6e+123) tmp = t_6; elseif (t <= -3.2e+110) tmp = Float64(a * Float64(b * Float64(z * Float64(-t)))); elseif (t <= -5.6e+60) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * t_5)) + Float64(c * t_4))); elseif (t <= -2.9e+42) tmp = t_6; elseif (t <= -7e-55) tmp = Float64(c * Float64(Float64(Float64(y0 * t_2) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * t_4))); elseif (t <= -5.5e-285) tmp = t_3; elseif (t <= 1.55e-304) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (t <= 2.3e-146) tmp = t_3; elseif (t <= 5.2e+159) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * t_1))); else tmp = Float64(b * Float64(t * Float64(Float64(j * y4) - Float64(z * 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 = (a * y5) - (c * y4); t_2 = (x * y2) - (z * y3); t_3 = y0 * (((c * t_2) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j)))); t_4 = (y * y3) - (t * y2); t_5 = (k * y2) - (j * y3); t_6 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_5) + (a * ((z * y3) - (x * y2))))); tmp = 0.0; if (t <= -2.2e+152) tmp = t * (y2 * t_1); elseif (t <= -1.6e+123) tmp = t_6; elseif (t <= -3.2e+110) tmp = a * (b * (z * -t)); elseif (t <= -5.6e+60) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_5)) + (c * t_4)); elseif (t <= -2.9e+42) tmp = t_6; elseif (t <= -7e-55) tmp = c * (((y0 * t_2) + (i * ((z * t) - (x * y)))) + (y4 * t_4)); elseif (t <= -5.5e-285) tmp = t_3; elseif (t <= 1.55e-304) tmp = b * (k * ((z * y0) - (y * y4))); elseif (t <= 2.3e-146) tmp = t_3; elseif (t <= 5.2e+159) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * t_1)); else tmp = b * (t * ((j * y4) - (z * 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[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y0 * N[(N[(N[(c * t$95$2), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y4 * t$95$5), $MachinePrecision] + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.2e+152], N[(t * N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.6e+123], t$95$6, If[LessEqual[t, -3.2e+110], N[(a * N[(b * N[(z * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -5.6e+60], 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$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.9e+42], t$95$6, If[LessEqual[t, -7e-55], N[(c * N[(N[(N[(y0 * t$95$2), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -5.5e-285], t$95$3, If[LessEqual[t, 1.55e-304], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.3e-146], t$95$3, If[LessEqual[t, 5.2e+159], 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$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(t * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot y5 - c \cdot y4\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := y0 \cdot \left(\left(c \cdot t_2 + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_4 := y \cdot y3 - t \cdot y2\\
t_5 := k \cdot y2 - j \cdot y3\\
t_6 := y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t_5 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\
\mathbf{if}\;t \leq -2.2 \cdot 10^{+152}:\\
\;\;\;\;t \cdot \left(y2 \cdot t_1\right)\\
\mathbf{elif}\;t \leq -1.6 \cdot 10^{+123}:\\
\;\;\;\;t_6\\
\mathbf{elif}\;t \leq -3.2 \cdot 10^{+110}:\\
\;\;\;\;a \cdot \left(b \cdot \left(z \cdot \left(-t\right)\right)\right)\\
\mathbf{elif}\;t \leq -5.6 \cdot 10^{+60}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot t_5\right) + c \cdot t_4\right)\\
\mathbf{elif}\;t \leq -2.9 \cdot 10^{+42}:\\
\;\;\;\;t_6\\
\mathbf{elif}\;t \leq -7 \cdot 10^{-55}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot t_2 + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot t_4\right)\\
\mathbf{elif}\;t \leq -5.5 \cdot 10^{-285}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;t \leq 1.55 \cdot 10^{-304}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq 2.3 \cdot 10^{-146}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{+159}:\\
\;\;\;\;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_1\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
\end{array}
\end{array}
if t < -2.1999999999999998e152Initial program 40.0%
Taylor expanded in y2 around inf 52.4%
Taylor expanded in t around inf 60.4%
if -2.1999999999999998e152 < t < -1.60000000000000002e123 or -5.6e60 < t < -2.89999999999999981e42Initial program 30.6%
Taylor expanded in y1 around -inf 81.3%
mul-1-neg81.3%
*-commutative81.3%
distribute-rgt-neg-in81.3%
Simplified81.3%
if -1.60000000000000002e123 < t < -3.19999999999999994e110Initial program 0.0%
Taylor expanded in b around inf 66.7%
Taylor expanded in a around inf 100.0%
associate-*r*69.8%
*-commutative69.8%
Simplified69.8%
Taylor expanded in y around 0 100.0%
mul-1-neg100.0%
*-commutative100.0%
distribute-rgt-neg-in100.0%
*-commutative100.0%
Simplified100.0%
if -3.19999999999999994e110 < t < -5.6e60Initial program 35.6%
Taylor expanded in y4 around inf 64.4%
if -2.89999999999999981e42 < t < -7.00000000000000051e-55Initial program 33.3%
Taylor expanded in c around inf 53.6%
+-commutative53.6%
mul-1-neg53.6%
unsub-neg53.6%
*-commutative53.6%
*-commutative53.6%
*-commutative53.6%
*-commutative53.6%
Simplified53.6%
if -7.00000000000000051e-55 < t < -5.5000000000000001e-285 or 1.54999999999999992e-304 < t < 2.3000000000000001e-146Initial program 36.5%
Taylor expanded in y0 around inf 55.8%
+-commutative55.8%
mul-1-neg55.8%
unsub-neg55.8%
*-commutative55.8%
*-commutative55.8%
*-commutative55.8%
*-commutative55.8%
Simplified55.8%
if -5.5000000000000001e-285 < t < 1.54999999999999992e-304Initial program 8.7%
Taylor expanded in b around inf 45.6%
Taylor expanded in k around inf 59.1%
distribute-lft-out--59.1%
Simplified59.1%
if 2.3000000000000001e-146 < t < 5.2000000000000001e159Initial program 30.6%
Taylor expanded in y2 around inf 55.6%
if 5.2000000000000001e159 < t Initial program 16.2%
Taylor expanded in b around inf 36.0%
Taylor expanded in t around -inf 64.0%
mul-1-neg64.0%
distribute-rgt-neg-in64.0%
+-commutative64.0%
mul-1-neg64.0%
unsub-neg64.0%
Simplified64.0%
Final simplification59.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* k y2) (* j y3)))
(t_2 (- (* x y2) (* z y3)))
(t_3 (* y2 (- (* c y0) (* a y1))))
(t_4 (- (* z y3) (* x y2)))
(t_5 (* y5 (- (* j y3) (* k y2))))
(t_6 (- (* z t) (* x y)))
(t_7 (- (* z k) (* x j)))
(t_8 (* b t_7))
(t_9 (* y0 (+ (+ (* c t_2) t_5) t_8)))
(t_10 (- (* y y3) (* t y2)))
(t_11 (- (* t j) (* y k))))
(if (<= a -5e+101)
(* a (+ (* y5 (- (* t y2) (* y y3))) (- (* y1 t_4) (* b t_6))))
(if (<= a -3.2e-55)
(* c (+ (+ (* y0 t_2) (* i t_6)) (* y4 t_10)))
(if (<= a -5.9e-208)
t_9
(if (<= a -1.36e-248)
(*
x
(+ (+ (* y (- (* a b) (* c i))) t_3) (* j (- (* i y1) (* b y0)))))
(if (<= a 3.3e-282)
t_9
(if (<= a 6.6e-106)
(* b (+ (+ (* a (- (* x y) (* z t))) (* y4 t_11)) (* y0 t_7)))
(if (<= a 6e-30)
(* (* i y5) (- (* y k) (* t j)))
(if (<= a 7.5e-11)
(* a (* (* x y) b))
(if (<= a 6.2e+42)
(* y4 (+ (+ (* b t_11) (* y1 t_1)) (* c t_10)))
(if (<= a 2.6e+80)
(*
y1
(+ (* i (- (* x j) (* z k))) (+ (* y4 t_1) (* a t_4))))
(if (<= a 2.05e+173)
(* y0 (+ t_5 t_8))
(* x 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 = (k * y2) - (j * y3);
double t_2 = (x * y2) - (z * y3);
double t_3 = y2 * ((c * y0) - (a * y1));
double t_4 = (z * y3) - (x * y2);
double t_5 = y5 * ((j * y3) - (k * y2));
double t_6 = (z * t) - (x * y);
double t_7 = (z * k) - (x * j);
double t_8 = b * t_7;
double t_9 = y0 * (((c * t_2) + t_5) + t_8);
double t_10 = (y * y3) - (t * y2);
double t_11 = (t * j) - (y * k);
double tmp;
if (a <= -5e+101) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((y1 * t_4) - (b * t_6)));
} else if (a <= -3.2e-55) {
tmp = c * (((y0 * t_2) + (i * t_6)) + (y4 * t_10));
} else if (a <= -5.9e-208) {
tmp = t_9;
} else if (a <= -1.36e-248) {
tmp = x * (((y * ((a * b) - (c * i))) + t_3) + (j * ((i * y1) - (b * y0))));
} else if (a <= 3.3e-282) {
tmp = t_9;
} else if (a <= 6.6e-106) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_11)) + (y0 * t_7));
} else if (a <= 6e-30) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (a <= 7.5e-11) {
tmp = a * ((x * y) * b);
} else if (a <= 6.2e+42) {
tmp = y4 * (((b * t_11) + (y1 * t_1)) + (c * t_10));
} else if (a <= 2.6e+80) {
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) + (a * t_4)));
} else if (a <= 2.05e+173) {
tmp = y0 * (t_5 + t_8);
} else {
tmp = x * 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_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 = (k * y2) - (j * y3)
t_2 = (x * y2) - (z * y3)
t_3 = y2 * ((c * y0) - (a * y1))
t_4 = (z * y3) - (x * y2)
t_5 = y5 * ((j * y3) - (k * y2))
t_6 = (z * t) - (x * y)
t_7 = (z * k) - (x * j)
t_8 = b * t_7
t_9 = y0 * (((c * t_2) + t_5) + t_8)
t_10 = (y * y3) - (t * y2)
t_11 = (t * j) - (y * k)
if (a <= (-5d+101)) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((y1 * t_4) - (b * t_6)))
else if (a <= (-3.2d-55)) then
tmp = c * (((y0 * t_2) + (i * t_6)) + (y4 * t_10))
else if (a <= (-5.9d-208)) then
tmp = t_9
else if (a <= (-1.36d-248)) then
tmp = x * (((y * ((a * b) - (c * i))) + t_3) + (j * ((i * y1) - (b * y0))))
else if (a <= 3.3d-282) then
tmp = t_9
else if (a <= 6.6d-106) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_11)) + (y0 * t_7))
else if (a <= 6d-30) then
tmp = (i * y5) * ((y * k) - (t * j))
else if (a <= 7.5d-11) then
tmp = a * ((x * y) * b)
else if (a <= 6.2d+42) then
tmp = y4 * (((b * t_11) + (y1 * t_1)) + (c * t_10))
else if (a <= 2.6d+80) then
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) + (a * t_4)))
else if (a <= 2.05d+173) then
tmp = y0 * (t_5 + t_8)
else
tmp = x * 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 = (k * y2) - (j * y3);
double t_2 = (x * y2) - (z * y3);
double t_3 = y2 * ((c * y0) - (a * y1));
double t_4 = (z * y3) - (x * y2);
double t_5 = y5 * ((j * y3) - (k * y2));
double t_6 = (z * t) - (x * y);
double t_7 = (z * k) - (x * j);
double t_8 = b * t_7;
double t_9 = y0 * (((c * t_2) + t_5) + t_8);
double t_10 = (y * y3) - (t * y2);
double t_11 = (t * j) - (y * k);
double tmp;
if (a <= -5e+101) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((y1 * t_4) - (b * t_6)));
} else if (a <= -3.2e-55) {
tmp = c * (((y0 * t_2) + (i * t_6)) + (y4 * t_10));
} else if (a <= -5.9e-208) {
tmp = t_9;
} else if (a <= -1.36e-248) {
tmp = x * (((y * ((a * b) - (c * i))) + t_3) + (j * ((i * y1) - (b * y0))));
} else if (a <= 3.3e-282) {
tmp = t_9;
} else if (a <= 6.6e-106) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_11)) + (y0 * t_7));
} else if (a <= 6e-30) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (a <= 7.5e-11) {
tmp = a * ((x * y) * b);
} else if (a <= 6.2e+42) {
tmp = y4 * (((b * t_11) + (y1 * t_1)) + (c * t_10));
} else if (a <= 2.6e+80) {
tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) + (a * t_4)));
} else if (a <= 2.05e+173) {
tmp = y0 * (t_5 + t_8);
} else {
tmp = x * t_3;
}
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 = (x * y2) - (z * y3) t_3 = y2 * ((c * y0) - (a * y1)) t_4 = (z * y3) - (x * y2) t_5 = y5 * ((j * y3) - (k * y2)) t_6 = (z * t) - (x * y) t_7 = (z * k) - (x * j) t_8 = b * t_7 t_9 = y0 * (((c * t_2) + t_5) + t_8) t_10 = (y * y3) - (t * y2) t_11 = (t * j) - (y * k) tmp = 0 if a <= -5e+101: tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((y1 * t_4) - (b * t_6))) elif a <= -3.2e-55: tmp = c * (((y0 * t_2) + (i * t_6)) + (y4 * t_10)) elif a <= -5.9e-208: tmp = t_9 elif a <= -1.36e-248: tmp = x * (((y * ((a * b) - (c * i))) + t_3) + (j * ((i * y1) - (b * y0)))) elif a <= 3.3e-282: tmp = t_9 elif a <= 6.6e-106: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_11)) + (y0 * t_7)) elif a <= 6e-30: tmp = (i * y5) * ((y * k) - (t * j)) elif a <= 7.5e-11: tmp = a * ((x * y) * b) elif a <= 6.2e+42: tmp = y4 * (((b * t_11) + (y1 * t_1)) + (c * t_10)) elif a <= 2.6e+80: tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) + (a * t_4))) elif a <= 2.05e+173: tmp = y0 * (t_5 + t_8) else: tmp = x * 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(Float64(k * y2) - Float64(j * y3)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) t_4 = Float64(Float64(z * y3) - Float64(x * y2)) t_5 = Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) t_6 = Float64(Float64(z * t) - Float64(x * y)) t_7 = Float64(Float64(z * k) - Float64(x * j)) t_8 = Float64(b * t_7) t_9 = Float64(y0 * Float64(Float64(Float64(c * t_2) + t_5) + t_8)) t_10 = Float64(Float64(y * y3) - Float64(t * y2)) t_11 = Float64(Float64(t * j) - Float64(y * k)) tmp = 0.0 if (a <= -5e+101) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y1 * t_4) - Float64(b * t_6)))); elseif (a <= -3.2e-55) tmp = Float64(c * Float64(Float64(Float64(y0 * t_2) + Float64(i * t_6)) + Float64(y4 * t_10))); elseif (a <= -5.9e-208) tmp = t_9; elseif (a <= -1.36e-248) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + t_3) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (a <= 3.3e-282) tmp = t_9; elseif (a <= 6.6e-106) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_11)) + Float64(y0 * t_7))); elseif (a <= 6e-30) tmp = Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))); elseif (a <= 7.5e-11) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (a <= 6.2e+42) tmp = Float64(y4 * Float64(Float64(Float64(b * t_11) + Float64(y1 * t_1)) + Float64(c * t_10))); elseif (a <= 2.6e+80) tmp = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y4 * t_1) + Float64(a * t_4)))); elseif (a <= 2.05e+173) tmp = Float64(y0 * Float64(t_5 + t_8)); else tmp = Float64(x * 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 = (k * y2) - (j * y3); t_2 = (x * y2) - (z * y3); t_3 = y2 * ((c * y0) - (a * y1)); t_4 = (z * y3) - (x * y2); t_5 = y5 * ((j * y3) - (k * y2)); t_6 = (z * t) - (x * y); t_7 = (z * k) - (x * j); t_8 = b * t_7; t_9 = y0 * (((c * t_2) + t_5) + t_8); t_10 = (y * y3) - (t * y2); t_11 = (t * j) - (y * k); tmp = 0.0; if (a <= -5e+101) tmp = a * ((y5 * ((t * y2) - (y * y3))) + ((y1 * t_4) - (b * t_6))); elseif (a <= -3.2e-55) tmp = c * (((y0 * t_2) + (i * t_6)) + (y4 * t_10)); elseif (a <= -5.9e-208) tmp = t_9; elseif (a <= -1.36e-248) tmp = x * (((y * ((a * b) - (c * i))) + t_3) + (j * ((i * y1) - (b * y0)))); elseif (a <= 3.3e-282) tmp = t_9; elseif (a <= 6.6e-106) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_11)) + (y0 * t_7)); elseif (a <= 6e-30) tmp = (i * y5) * ((y * k) - (t * j)); elseif (a <= 7.5e-11) tmp = a * ((x * y) * b); elseif (a <= 6.2e+42) tmp = y4 * (((b * t_11) + (y1 * t_1)) + (c * t_10)); elseif (a <= 2.6e+80) tmp = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_1) + (a * t_4))); elseif (a <= 2.05e+173) tmp = y0 * (t_5 + t_8); else tmp = x * 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[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(b * t$95$7), $MachinePrecision]}, Block[{t$95$9 = N[(y0 * N[(N[(N[(c * t$95$2), $MachinePrecision] + t$95$5), $MachinePrecision] + t$95$8), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$11 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -5e+101], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y1 * t$95$4), $MachinePrecision] - N[(b * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.2e-55], N[(c * N[(N[(N[(y0 * t$95$2), $MachinePrecision] + N[(i * t$95$6), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.9e-208], t$95$9, If[LessEqual[a, -1.36e-248], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$3), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.3e-282], t$95$9, If[LessEqual[a, 6.6e-106], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$11), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6e-30], N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7.5e-11], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.2e+42], N[(y4 * N[(N[(N[(b * t$95$11), $MachinePrecision] + N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.6e+80], 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], If[LessEqual[a, 2.05e+173], N[(y0 * N[(t$95$5 + t$95$8), $MachinePrecision]), $MachinePrecision], N[(x * t$95$3), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\\
t_4 := z \cdot y3 - x \cdot y2\\
t_5 := y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\\
t_6 := z \cdot t - x \cdot y\\
t_7 := z \cdot k - x \cdot j\\
t_8 := b \cdot t_7\\
t_9 := y0 \cdot \left(\left(c \cdot t_2 + t_5\right) + t_8\right)\\
t_10 := y \cdot y3 - t \cdot y2\\
t_11 := t \cdot j - y \cdot k\\
\mathbf{if}\;a \leq -5 \cdot 10^{+101}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y1 \cdot t_4 - b \cdot t_6\right)\right)\\
\mathbf{elif}\;a \leq -3.2 \cdot 10^{-55}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot t_2 + i \cdot t_6\right) + y4 \cdot t_10\right)\\
\mathbf{elif}\;a \leq -5.9 \cdot 10^{-208}:\\
\;\;\;\;t_9\\
\mathbf{elif}\;a \leq -1.36 \cdot 10^{-248}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + t_3\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq 3.3 \cdot 10^{-282}:\\
\;\;\;\;t_9\\
\mathbf{elif}\;a \leq 6.6 \cdot 10^{-106}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t_11\right) + y0 \cdot t_7\right)\\
\mathbf{elif}\;a \leq 6 \cdot 10^{-30}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right)\\
\mathbf{elif}\;a \leq 7.5 \cdot 10^{-11}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;a \leq 6.2 \cdot 10^{+42}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_11 + y1 \cdot t_1\right) + c \cdot t_10\right)\\
\mathbf{elif}\;a \leq 2.6 \cdot 10^{+80}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t_1 + a \cdot t_4\right)\right)\\
\mathbf{elif}\;a \leq 2.05 \cdot 10^{+173}:\\
\;\;\;\;y0 \cdot \left(t_5 + t_8\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot t_3\\
\end{array}
\end{array}
if a < -4.99999999999999989e101Initial program 16.7%
Taylor expanded in a around -inf 60.8%
mul-1-neg60.8%
*-commutative60.8%
distribute-rgt-neg-in60.8%
Simplified60.8%
if -4.99999999999999989e101 < a < -3.2000000000000001e-55Initial program 46.6%
Taylor expanded in c around inf 57.3%
+-commutative57.3%
mul-1-neg57.3%
unsub-neg57.3%
*-commutative57.3%
*-commutative57.3%
*-commutative57.3%
*-commutative57.3%
Simplified57.3%
if -3.2000000000000001e-55 < a < -5.90000000000000023e-208 or -1.3599999999999999e-248 < a < 3.3e-282Initial program 37.3%
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 -5.90000000000000023e-208 < a < -1.3599999999999999e-248Initial program 55.6%
Taylor expanded in x around inf 89.0%
if 3.3e-282 < a < 6.60000000000000031e-106Initial program 34.2%
Taylor expanded in b around inf 45.5%
if 6.60000000000000031e-106 < a < 5.9999999999999998e-30Initial program 25.0%
Taylor expanded in y5 around -inf 59.4%
Taylor expanded in i around inf 75.4%
cancel-sign-sub-inv75.4%
fma-udef75.4%
associate-*r*83.4%
fma-udef83.4%
cancel-sign-sub-inv83.4%
Simplified83.4%
if 5.9999999999999998e-30 < a < 7.5e-11Initial program 0.0%
Taylor expanded in b around inf 50.0%
Taylor expanded in x around inf 56.3%
*-commutative56.3%
Simplified56.3%
Taylor expanded in a around inf 100.0%
if 7.5e-11 < a < 6.2000000000000003e42Initial program 11.5%
Taylor expanded in y4 around inf 60.5%
if 6.2000000000000003e42 < a < 2.59999999999999982e80Initial program 21.9%
Taylor expanded in y1 around -inf 61.9%
mul-1-neg61.9%
*-commutative61.9%
distribute-rgt-neg-in61.9%
Simplified61.9%
if 2.59999999999999982e80 < a < 2.04999999999999988e173Initial program 35.0%
Taylor expanded in y0 around inf 60.5%
+-commutative60.5%
mul-1-neg60.5%
unsub-neg60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
Simplified60.5%
Taylor expanded in c around 0 65.6%
mul-1-neg65.6%
distribute-rgt-neg-in65.6%
*-commutative65.6%
*-commutative65.6%
distribute-neg-in65.6%
unsub-neg65.6%
distribute-rgt-neg-in65.6%
neg-sub065.6%
associate-+l-65.6%
neg-sub065.6%
+-commutative65.6%
sub-neg65.6%
sub-neg65.6%
Simplified65.6%
if 2.04999999999999988e173 < a Initial program 27.9%
Taylor expanded in y2 around inf 44.2%
Taylor expanded in x around inf 64.3%
*-commutative64.3%
Simplified64.3%
Final simplification61.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* k y2) (* j y3)))
(t_2 (- (* t j) (* y k)))
(t_3 (* y4 t_2))
(t_4
(*
i
(+
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* z t) (* x y))) (* y5 (- (* y k) (* t j)))))))
(t_5 (* y5 (- (* a (- (* t y2) (* y y3))) (+ (* i t_2) (* y0 t_1)))))
(t_6 (- (* z k) (* x j))))
(if (<= y4 -4.6e+164)
(* y4 (+ (+ (* b t_2) (* y1 t_1)) (* c (- (* y y3) (* t y2)))))
(if (<= y4 -3.6e+83)
t_4
(if (<= y4 -7.2e+36)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y4 -1.4e-141)
t_5
(if (<= y4 -1.22e-180)
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (* b t_6)))
(if (<= y4 -1.8e-275)
t_4
(if (<= y4 9.4e-296)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= y4 5.5e-91)
t_5
(if (<= y4 3e+83)
t_4
(if (<= y4 9.5e+192)
(* b (+ (+ (* a (- (* x y) (* z t))) t_3) (* y0 t_6)))
(if (<= y4 4.4e+278)
(* y1 (* y4 t_1))
(* b 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 = (k * y2) - (j * y3);
double t_2 = (t * j) - (y * k);
double t_3 = y4 * t_2;
double t_4 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
double t_5 = y5 * ((a * ((t * y2) - (y * y3))) - ((i * t_2) + (y0 * t_1)));
double t_6 = (z * k) - (x * j);
double tmp;
if (y4 <= -4.6e+164) {
tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
} else if (y4 <= -3.6e+83) {
tmp = t_4;
} else if (y4 <= -7.2e+36) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y4 <= -1.4e-141) {
tmp = t_5;
} else if (y4 <= -1.22e-180) {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * t_6));
} else if (y4 <= -1.8e-275) {
tmp = t_4;
} else if (y4 <= 9.4e-296) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (y4 <= 5.5e-91) {
tmp = t_5;
} else if (y4 <= 3e+83) {
tmp = t_4;
} else if (y4 <= 9.5e+192) {
tmp = b * (((a * ((x * y) - (z * t))) + t_3) + (y0 * t_6));
} else if (y4 <= 4.4e+278) {
tmp = y1 * (y4 * t_1);
} else {
tmp = b * 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) :: t_5
real(8) :: t_6
real(8) :: tmp
t_1 = (k * y2) - (j * y3)
t_2 = (t * j) - (y * k)
t_3 = y4 * t_2
t_4 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))))
t_5 = y5 * ((a * ((t * y2) - (y * y3))) - ((i * t_2) + (y0 * t_1)))
t_6 = (z * k) - (x * j)
if (y4 <= (-4.6d+164)) then
tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))))
else if (y4 <= (-3.6d+83)) then
tmp = t_4
else if (y4 <= (-7.2d+36)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y4 <= (-1.4d-141)) then
tmp = t_5
else if (y4 <= (-1.22d-180)) then
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * t_6))
else if (y4 <= (-1.8d-275)) then
tmp = t_4
else if (y4 <= 9.4d-296) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (y4 <= 5.5d-91) then
tmp = t_5
else if (y4 <= 3d+83) then
tmp = t_4
else if (y4 <= 9.5d+192) then
tmp = b * (((a * ((x * y) - (z * t))) + t_3) + (y0 * t_6))
else if (y4 <= 4.4d+278) then
tmp = y1 * (y4 * t_1)
else
tmp = b * 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 = (k * y2) - (j * y3);
double t_2 = (t * j) - (y * k);
double t_3 = y4 * t_2;
double t_4 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
double t_5 = y5 * ((a * ((t * y2) - (y * y3))) - ((i * t_2) + (y0 * t_1)));
double t_6 = (z * k) - (x * j);
double tmp;
if (y4 <= -4.6e+164) {
tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
} else if (y4 <= -3.6e+83) {
tmp = t_4;
} else if (y4 <= -7.2e+36) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y4 <= -1.4e-141) {
tmp = t_5;
} else if (y4 <= -1.22e-180) {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * t_6));
} else if (y4 <= -1.8e-275) {
tmp = t_4;
} else if (y4 <= 9.4e-296) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (y4 <= 5.5e-91) {
tmp = t_5;
} else if (y4 <= 3e+83) {
tmp = t_4;
} else if (y4 <= 9.5e+192) {
tmp = b * (((a * ((x * y) - (z * t))) + t_3) + (y0 * t_6));
} else if (y4 <= 4.4e+278) {
tmp = y1 * (y4 * t_1);
} else {
tmp = b * t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (k * y2) - (j * y3) t_2 = (t * j) - (y * k) t_3 = y4 * t_2 t_4 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))) t_5 = y5 * ((a * ((t * y2) - (y * y3))) - ((i * t_2) + (y0 * t_1))) t_6 = (z * k) - (x * j) tmp = 0 if y4 <= -4.6e+164: tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2)))) elif y4 <= -3.6e+83: tmp = t_4 elif y4 <= -7.2e+36: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y4 <= -1.4e-141: tmp = t_5 elif y4 <= -1.22e-180: tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * t_6)) elif y4 <= -1.8e-275: tmp = t_4 elif y4 <= 9.4e-296: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif y4 <= 5.5e-91: tmp = t_5 elif y4 <= 3e+83: tmp = t_4 elif y4 <= 9.5e+192: tmp = b * (((a * ((x * y) - (z * t))) + t_3) + (y0 * t_6)) elif y4 <= 4.4e+278: tmp = y1 * (y4 * t_1) else: tmp = b * 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(Float64(k * y2) - Float64(j * y3)) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = Float64(y4 * t_2) t_4 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))) t_5 = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) - Float64(Float64(i * t_2) + Float64(y0 * t_1)))) t_6 = Float64(Float64(z * k) - Float64(x * j)) tmp = 0.0 if (y4 <= -4.6e+164) tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * t_1)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y4 <= -3.6e+83) tmp = t_4; elseif (y4 <= -7.2e+36) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y4 <= -1.4e-141) tmp = t_5; elseif (y4 <= -1.22e-180) tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(b * t_6))); elseif (y4 <= -1.8e-275) tmp = t_4; elseif (y4 <= 9.4e-296) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (y4 <= 5.5e-91) tmp = t_5; elseif (y4 <= 3e+83) tmp = t_4; elseif (y4 <= 9.5e+192) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + t_3) + Float64(y0 * t_6))); elseif (y4 <= 4.4e+278) tmp = Float64(y1 * Float64(y4 * t_1)); else tmp = Float64(b * 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 = (k * y2) - (j * y3); t_2 = (t * j) - (y * k); t_3 = y4 * t_2; t_4 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))); t_5 = y5 * ((a * ((t * y2) - (y * y3))) - ((i * t_2) + (y0 * t_1))); t_6 = (z * k) - (x * j); tmp = 0.0; if (y4 <= -4.6e+164) tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2)))); elseif (y4 <= -3.6e+83) tmp = t_4; elseif (y4 <= -7.2e+36) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y4 <= -1.4e-141) tmp = t_5; elseif (y4 <= -1.22e-180) tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * t_6)); elseif (y4 <= -1.8e-275) tmp = t_4; elseif (y4 <= 9.4e-296) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (y4 <= 5.5e-91) tmp = t_5; elseif (y4 <= 3e+83) tmp = t_4; elseif (y4 <= 9.5e+192) tmp = b * (((a * ((x * y) - (z * t))) + t_3) + (y0 * t_6)); elseif (y4 <= 4.4e+278) tmp = y1 * (y4 * t_1); else tmp = b * 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[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y4 * t$95$2), $MachinePrecision]}, Block[{t$95$4 = N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(i * t$95$2), $MachinePrecision] + N[(y0 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -4.6e+164], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -3.6e+83], t$95$4, If[LessEqual[y4, -7.2e+36], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.4e-141], t$95$5, If[LessEqual[y4, -1.22e-180], N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.8e-275], t$95$4, If[LessEqual[y4, 9.4e-296], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 5.5e-91], t$95$5, If[LessEqual[y4, 3e+83], t$95$4, If[LessEqual[y4, 9.5e+192], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$3), $MachinePrecision] + N[(y0 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.4e+278], N[(y1 * N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision], N[(b * t$95$3), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := t \cdot j - y \cdot k\\
t_3 := y4 \cdot t_2\\
t_4 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
t_5 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) - \left(i \cdot t_2 + y0 \cdot t_1\right)\right)\\
t_6 := z \cdot k - x \cdot j\\
\mathbf{if}\;y4 \leq -4.6 \cdot 10^{+164}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_2 + y1 \cdot t_1\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -3.6 \cdot 10^{+83}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;y4 \leq -7.2 \cdot 10^{+36}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq -1.4 \cdot 10^{-141}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;y4 \leq -1.22 \cdot 10^{-180}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + b \cdot t_6\right)\\
\mathbf{elif}\;y4 \leq -1.8 \cdot 10^{-275}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;y4 \leq 9.4 \cdot 10^{-296}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 5.5 \cdot 10^{-91}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;y4 \leq 3 \cdot 10^{+83}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;y4 \leq 9.5 \cdot 10^{+192}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + t_3\right) + y0 \cdot t_6\right)\\
\mathbf{elif}\;y4 \leq 4.4 \cdot 10^{+278}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot t_1\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot t_3\\
\end{array}
\end{array}
if y4 < -4.5999999999999999e164Initial program 17.8%
Taylor expanded in y4 around inf 75.1%
if -4.5999999999999999e164 < y4 < -3.5999999999999997e83 or -1.22e-180 < y4 < -1.79999999999999985e-275 or 5.49999999999999965e-91 < y4 < 3e83Initial program 28.0%
Taylor expanded in i around -inf 59.2%
if -3.5999999999999997e83 < y4 < -7.1999999999999995e36Initial program 27.3%
Taylor expanded in y2 around inf 45.3%
Taylor expanded in k around inf 63.6%
*-commutative63.6%
*-commutative63.6%
Simplified63.6%
if -7.1999999999999995e36 < y4 < -1.40000000000000006e-141 or 9.4e-296 < y4 < 5.49999999999999965e-91Initial program 45.3%
Taylor expanded in y5 around -inf 63.8%
if -1.40000000000000006e-141 < y4 < -1.22e-180Initial program 40.0%
Taylor expanded in y0 around inf 60.1%
+-commutative60.1%
mul-1-neg60.1%
unsub-neg60.1%
*-commutative60.1%
*-commutative60.1%
*-commutative60.1%
*-commutative60.1%
Simplified60.1%
Taylor expanded in c around 0 70.5%
mul-1-neg70.5%
distribute-rgt-neg-in70.5%
*-commutative70.5%
*-commutative70.5%
distribute-neg-in70.5%
unsub-neg70.5%
distribute-rgt-neg-in70.5%
neg-sub070.5%
associate-+l-70.5%
neg-sub070.5%
+-commutative70.5%
sub-neg70.5%
sub-neg70.5%
Simplified70.5%
if -1.79999999999999985e-275 < y4 < 9.4e-296Initial program 21.9%
Taylor expanded in y2 around inf 73.3%
Taylor expanded in y0 around -inf 78.2%
mul-1-neg78.2%
distribute-rgt-neg-in78.2%
+-commutative78.2%
mul-1-neg78.2%
unsub-neg78.2%
*-commutative78.2%
*-commutative78.2%
Simplified78.2%
if 3e83 < y4 < 9.49999999999999931e192Initial program 29.3%
Taylor expanded in b around inf 64.7%
if 9.49999999999999931e192 < y4 < 4.39999999999999978e278Initial program 11.8%
Taylor expanded in y1 around inf 53.1%
distribute-lft-out--53.1%
*-commutative53.1%
*-commutative53.1%
*-commutative53.1%
Simplified53.1%
Taylor expanded in y4 around inf 65.1%
*-commutative65.1%
Simplified65.1%
if 4.39999999999999978e278 < y4 Initial program 0.0%
Taylor expanded in b around inf 80.7%
Taylor expanded in y4 around inf 80.7%
Final simplification65.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a b) (* c i)))
(t_2
(*
y
(+
(+ (* k (- (* i y5) (* b y4))) (* x t_1))
(* y3 (- (* c y4) (* a y5))))))
(t_3
(*
y5
(-
(* a (- (* t y2) (* y y3)))
(+ (* i (- (* t j) (* y k))) (* y0 (- (* k y2) (* j y3)))))))
(t_4 (- (* c y0) (* a y1))))
(if (<= y -2.4e-117)
t_2
(if (<= y -9e-223)
(*
y0
(+
(+ (* c (- (* x y2) (* z y3))) (* y5 (- (* j y3) (* k y2))))
(* b (- (* z k) (* x j)))))
(if (<= y -1.65e-294)
(*
i
(+
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* z t) (* x y))) (* y5 (- (* y k) (* t j))))))
(if (<= y 1.95e-301)
t_3
(if (<= y 1.75e-191)
(* x (+ (+ (* y t_1) (* y2 t_4)) (* j (- (* i y1) (* b y0)))))
(if (<= y 2.4e-133)
t_3
(if (<= y 1.35e-86)
(* b (* t (- (* j y4) (* z a))))
(if (<= y 6.9e+75)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_4))
(* t (- (* a y5) (* c y4)))))
t_2))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * b) - (c * i);
double t_2 = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))));
double t_3 = y5 * ((a * ((t * y2) - (y * y3))) - ((i * ((t * j) - (y * k))) + (y0 * ((k * y2) - (j * y3)))));
double t_4 = (c * y0) - (a * y1);
double tmp;
if (y <= -2.4e-117) {
tmp = t_2;
} else if (y <= -9e-223) {
tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
} else if (y <= -1.65e-294) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
} else if (y <= 1.95e-301) {
tmp = t_3;
} else if (y <= 1.75e-191) {
tmp = x * (((y * t_1) + (y2 * t_4)) + (j * ((i * y1) - (b * y0))));
} else if (y <= 2.4e-133) {
tmp = t_3;
} else if (y <= 1.35e-86) {
tmp = b * (t * ((j * y4) - (z * a)));
} else if (y <= 6.9e+75) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (a * b) - (c * i)
t_2 = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))))
t_3 = y5 * ((a * ((t * y2) - (y * y3))) - ((i * ((t * j) - (y * k))) + (y0 * ((k * y2) - (j * y3)))))
t_4 = (c * y0) - (a * y1)
if (y <= (-2.4d-117)) then
tmp = t_2
else if (y <= (-9d-223)) then
tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))))
else if (y <= (-1.65d-294)) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))))
else if (y <= 1.95d-301) then
tmp = t_3
else if (y <= 1.75d-191) then
tmp = x * (((y * t_1) + (y2 * t_4)) + (j * ((i * y1) - (b * y0))))
else if (y <= 2.4d-133) then
tmp = t_3
else if (y <= 1.35d-86) then
tmp = b * (t * ((j * y4) - (z * a)))
else if (y <= 6.9d+75) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * b) - (c * i);
double t_2 = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5))));
double t_3 = y5 * ((a * ((t * y2) - (y * y3))) - ((i * ((t * j) - (y * k))) + (y0 * ((k * y2) - (j * y3)))));
double t_4 = (c * y0) - (a * y1);
double tmp;
if (y <= -2.4e-117) {
tmp = t_2;
} else if (y <= -9e-223) {
tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
} else if (y <= -1.65e-294) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
} else if (y <= 1.95e-301) {
tmp = t_3;
} else if (y <= 1.75e-191) {
tmp = x * (((y * t_1) + (y2 * t_4)) + (j * ((i * y1) - (b * y0))));
} else if (y <= 2.4e-133) {
tmp = t_3;
} else if (y <= 1.35e-86) {
tmp = b * (t * ((j * y4) - (z * a)));
} else if (y <= 6.9e+75) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * b) - (c * i) t_2 = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5)))) t_3 = y5 * ((a * ((t * y2) - (y * y3))) - ((i * ((t * j) - (y * k))) + (y0 * ((k * y2) - (j * y3))))) t_4 = (c * y0) - (a * y1) tmp = 0 if y <= -2.4e-117: tmp = t_2 elif y <= -9e-223: tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j)))) elif y <= -1.65e-294: tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))) elif y <= 1.95e-301: tmp = t_3 elif y <= 1.75e-191: tmp = x * (((y * t_1) + (y2 * t_4)) + (j * ((i * y1) - (b * y0)))) elif y <= 2.4e-133: tmp = t_3 elif y <= 1.35e-86: tmp = b * (t * ((j * y4) - (z * a))) elif y <= 6.9e+75: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4)))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(a * b) - Float64(c * i)) t_2 = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * t_1)) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))) t_3 = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) - Float64(Float64(i * Float64(Float64(t * j) - Float64(y * k))) + Float64(y0 * Float64(Float64(k * y2) - Float64(j * y3)))))) t_4 = Float64(Float64(c * y0) - Float64(a * y1)) tmp = 0.0 if (y <= -2.4e-117) tmp = t_2; elseif (y <= -9e-223) tmp = Float64(y0 * Float64(Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (y <= -1.65e-294) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))); elseif (y <= 1.95e-301) tmp = t_3; elseif (y <= 1.75e-191) tmp = Float64(x * Float64(Float64(Float64(y * t_1) + Float64(y2 * t_4)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y <= 2.4e-133) tmp = t_3; elseif (y <= 1.35e-86) tmp = Float64(b * Float64(t * Float64(Float64(j * y4) - Float64(z * a)))); elseif (y <= 6.9e+75) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_4)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (a * b) - (c * i); t_2 = y * (((k * ((i * y5) - (b * y4))) + (x * t_1)) + (y3 * ((c * y4) - (a * y5)))); t_3 = y5 * ((a * ((t * y2) - (y * y3))) - ((i * ((t * j) - (y * k))) + (y0 * ((k * y2) - (j * y3))))); t_4 = (c * y0) - (a * y1); tmp = 0.0; if (y <= -2.4e-117) tmp = t_2; elseif (y <= -9e-223) tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j)))); elseif (y <= -1.65e-294) tmp = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))); elseif (y <= 1.95e-301) tmp = t_3; elseif (y <= 1.75e-191) tmp = x * (((y * t_1) + (y2 * t_4)) + (j * ((i * y1) - (b * y0)))); elseif (y <= 2.4e-133) tmp = t_3; elseif (y <= 1.35e-86) tmp = b * (t * ((j * y4) - (z * a))); elseif (y <= 6.9e+75) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4)))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(i * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.4e-117], t$95$2, If[LessEqual[y, -9e-223], N[(y0 * N[(N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.65e-294], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.95e-301], t$95$3, If[LessEqual[y, 1.75e-191], N[(x * N[(N[(N[(y * t$95$1), $MachinePrecision] + N[(y2 * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.4e-133], t$95$3, If[LessEqual[y, 1.35e-86], N[(b * N[(t * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 6.9e+75], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot b - c \cdot i\\
t_2 := y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot t_1\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
t_3 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) - \left(i \cdot \left(t \cdot j - y \cdot k\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right)\\
t_4 := c \cdot y0 - a \cdot y1\\
\mathbf{if}\;y \leq -2.4 \cdot 10^{-117}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y \leq -9 \cdot 10^{-223}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y \leq -1.65 \cdot 10^{-294}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
\mathbf{elif}\;y \leq 1.95 \cdot 10^{-301}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y \leq 1.75 \cdot 10^{-191}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t_1 + y2 \cdot t_4\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq 2.4 \cdot 10^{-133}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y \leq 1.35 \cdot 10^{-86}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
\mathbf{elif}\;y \leq 6.9 \cdot 10^{+75}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t_4\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if y < -2.40000000000000014e-117 or 6.9000000000000004e75 < y Initial program 26.6%
Taylor expanded in y around inf 59.6%
if -2.40000000000000014e-117 < y < -8.99999999999999935e-223Initial program 40.0%
Taylor expanded in y0 around inf 57.4%
+-commutative57.4%
mul-1-neg57.4%
unsub-neg57.4%
*-commutative57.4%
*-commutative57.4%
*-commutative57.4%
*-commutative57.4%
Simplified57.4%
if -8.99999999999999935e-223 < y < -1.65e-294Initial program 31.3%
Taylor expanded in i around -inf 68.8%
if -1.65e-294 < y < 1.9500000000000001e-301 or 1.75000000000000003e-191 < y < 2.4e-133Initial program 39.1%
Taylor expanded in y5 around -inf 78.4%
if 1.9500000000000001e-301 < y < 1.75000000000000003e-191Initial program 41.5%
Taylor expanded in x around inf 61.0%
if 2.4e-133 < y < 1.34999999999999996e-86Initial program 29.8%
Taylor expanded in b around inf 51.2%
Taylor expanded in t around -inf 71.1%
mul-1-neg71.1%
distribute-rgt-neg-in71.1%
+-commutative71.1%
mul-1-neg71.1%
unsub-neg71.1%
Simplified71.1%
if 1.34999999999999996e-86 < y < 6.9000000000000004e75Initial program 29.6%
Taylor expanded in y2 around inf 65.0%
Final simplification62.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* k (- (* z y0) (* y y4)))))
(t_2 (* y2 (- (* c y0) (* a y1)))))
(if (<= a -1e+226)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= a -5.3e+182)
(* (- (* t y2) (* y y3)) (* a y5))
(if (<= a -5.2e+104)
(* y1 (* y2 (- (* k y4) (* x a))))
(if (<= a -1.32e+86)
t_1
(if (<= a -1.15e-10)
(* x (+ (* y (- (* a b) (* c i))) t_2))
(if (<= a -1.38e-213)
(* y0 (* k (- (* z b) (* y2 y5))))
(if (<= a -1.08e-248)
(* i (* x (- (* j y1) (* y c))))
(if (<= a -1.1e-304)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= a 1.4e-159)
t_1
(if (<= a 1.85e+54)
(* (* i y5) (- (* y k) (* t j)))
(if (<= a 1.12e+174)
(*
y0
(+
(* y5 (- (* j y3) (* k y2)))
(* b (- (* z k) (* x j)))))
(* x t_2))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (k * ((z * y0) - (y * y4)));
double t_2 = y2 * ((c * y0) - (a * y1));
double tmp;
if (a <= -1e+226) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (a <= -5.3e+182) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else if (a <= -5.2e+104) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (a <= -1.32e+86) {
tmp = t_1;
} else if (a <= -1.15e-10) {
tmp = x * ((y * ((a * b) - (c * i))) + t_2);
} else if (a <= -1.38e-213) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (a <= -1.08e-248) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -1.1e-304) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 1.4e-159) {
tmp = t_1;
} else if (a <= 1.85e+54) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (a <= 1.12e+174) {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j))));
} else {
tmp = x * t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (k * ((z * y0) - (y * y4)))
t_2 = y2 * ((c * y0) - (a * y1))
if (a <= (-1d+226)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (a <= (-5.3d+182)) then
tmp = ((t * y2) - (y * y3)) * (a * y5)
else if (a <= (-5.2d+104)) then
tmp = y1 * (y2 * ((k * y4) - (x * a)))
else if (a <= (-1.32d+86)) then
tmp = t_1
else if (a <= (-1.15d-10)) then
tmp = x * ((y * ((a * b) - (c * i))) + t_2)
else if (a <= (-1.38d-213)) then
tmp = y0 * (k * ((z * b) - (y2 * y5)))
else if (a <= (-1.08d-248)) then
tmp = i * (x * ((j * y1) - (y * c)))
else if (a <= (-1.1d-304)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (a <= 1.4d-159) then
tmp = t_1
else if (a <= 1.85d+54) then
tmp = (i * y5) * ((y * k) - (t * j))
else if (a <= 1.12d+174) then
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j))))
else
tmp = x * t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (k * ((z * y0) - (y * y4)));
double t_2 = y2 * ((c * y0) - (a * y1));
double tmp;
if (a <= -1e+226) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (a <= -5.3e+182) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else if (a <= -5.2e+104) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (a <= -1.32e+86) {
tmp = t_1;
} else if (a <= -1.15e-10) {
tmp = x * ((y * ((a * b) - (c * i))) + t_2);
} else if (a <= -1.38e-213) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (a <= -1.08e-248) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -1.1e-304) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 1.4e-159) {
tmp = t_1;
} else if (a <= 1.85e+54) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (a <= 1.12e+174) {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j))));
} else {
tmp = x * t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (k * ((z * y0) - (y * y4))) t_2 = y2 * ((c * y0) - (a * y1)) tmp = 0 if a <= -1e+226: tmp = x * (y1 * ((i * j) - (a * y2))) elif a <= -5.3e+182: tmp = ((t * y2) - (y * y3)) * (a * y5) elif a <= -5.2e+104: tmp = y1 * (y2 * ((k * y4) - (x * a))) elif a <= -1.32e+86: tmp = t_1 elif a <= -1.15e-10: tmp = x * ((y * ((a * b) - (c * i))) + t_2) elif a <= -1.38e-213: tmp = y0 * (k * ((z * b) - (y2 * y5))) elif a <= -1.08e-248: tmp = i * (x * ((j * y1) - (y * c))) elif a <= -1.1e-304: tmp = c * (y0 * ((x * y2) - (z * y3))) elif a <= 1.4e-159: tmp = t_1 elif a <= 1.85e+54: tmp = (i * y5) * ((y * k) - (t * j)) elif a <= 1.12e+174: tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j)))) else: tmp = x * t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))) t_2 = Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) tmp = 0.0 if (a <= -1e+226) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (a <= -5.3e+182) tmp = Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(a * y5)); elseif (a <= -5.2e+104) tmp = Float64(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * a)))); elseif (a <= -1.32e+86) tmp = t_1; elseif (a <= -1.15e-10) tmp = Float64(x * Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + t_2)); elseif (a <= -1.38e-213) tmp = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))); elseif (a <= -1.08e-248) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); elseif (a <= -1.1e-304) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (a <= 1.4e-159) tmp = t_1; elseif (a <= 1.85e+54) tmp = Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))); elseif (a <= 1.12e+174) tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); else tmp = Float64(x * t_2); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (k * ((z * y0) - (y * y4))); t_2 = y2 * ((c * y0) - (a * y1)); tmp = 0.0; if (a <= -1e+226) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (a <= -5.3e+182) tmp = ((t * y2) - (y * y3)) * (a * y5); elseif (a <= -5.2e+104) tmp = y1 * (y2 * ((k * y4) - (x * a))); elseif (a <= -1.32e+86) tmp = t_1; elseif (a <= -1.15e-10) tmp = x * ((y * ((a * b) - (c * i))) + t_2); elseif (a <= -1.38e-213) tmp = y0 * (k * ((z * b) - (y2 * y5))); elseif (a <= -1.08e-248) tmp = i * (x * ((j * y1) - (y * c))); elseif (a <= -1.1e-304) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (a <= 1.4e-159) tmp = t_1; elseif (a <= 1.85e+54) tmp = (i * y5) * ((y * k) - (t * j)); elseif (a <= 1.12e+174) tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j)))); else tmp = x * t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1e+226], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.3e+182], N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(a * y5), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.2e+104], N[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.32e+86], t$95$1, If[LessEqual[a, -1.15e-10], N[(x * N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.38e-213], N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.08e-248], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.1e-304], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.4e-159], t$95$1, If[LessEqual[a, 1.85e+54], N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.12e+174], N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * t$95$2), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
t_2 := y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\\
\mathbf{if}\;a \leq -1 \cdot 10^{+226}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq -5.3 \cdot 10^{+182}:\\
\;\;\;\;\left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5\right)\\
\mathbf{elif}\;a \leq -5.2 \cdot 10^{+104}:\\
\;\;\;\;y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\mathbf{elif}\;a \leq -1.32 \cdot 10^{+86}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq -1.15 \cdot 10^{-10}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right) + t_2\right)\\
\mathbf{elif}\;a \leq -1.38 \cdot 10^{-213}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -1.08 \cdot 10^{-248}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{elif}\;a \leq -1.1 \cdot 10^{-304}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 1.4 \cdot 10^{-159}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 1.85 \cdot 10^{+54}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right)\\
\mathbf{elif}\;a \leq 1.12 \cdot 10^{+174}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot t_2\\
\end{array}
\end{array}
if a < -9.99999999999999961e225Initial program 10.3%
Taylor expanded in y1 around inf 23.9%
distribute-lft-out--23.9%
*-commutative23.9%
*-commutative23.9%
*-commutative23.9%
Simplified23.9%
Taylor expanded in x around inf 60.1%
mul-1-neg60.1%
*-commutative60.1%
*-commutative60.1%
Simplified60.1%
if -9.99999999999999961e225 < a < -5.3e182Initial program 12.5%
Taylor expanded in y5 around -inf 62.5%
Taylor expanded in a around inf 76.5%
associate-*r*88.3%
*-commutative88.3%
*-commutative88.3%
*-commutative88.3%
Simplified88.3%
if -5.3e182 < a < -5.20000000000000001e104Initial program 26.2%
Taylor expanded in y2 around inf 38.3%
Taylor expanded in y1 around inf 48.9%
+-commutative48.9%
mul-1-neg48.9%
unsub-neg48.9%
Simplified48.9%
if -5.20000000000000001e104 < a < -1.32e86 or -1.1e-304 < a < 1.4000000000000001e-159Initial program 36.5%
Taylor expanded in b around inf 50.1%
Taylor expanded in k around inf 52.7%
distribute-lft-out--52.7%
Simplified52.7%
if -1.32e86 < a < -1.15000000000000004e-10Initial program 47.5%
Taylor expanded in x around inf 62.1%
Taylor expanded in j around 0 62.4%
if -1.15000000000000004e-10 < a < -1.37999999999999998e-213Initial program 35.2%
Taylor expanded in y0 around inf 46.2%
+-commutative46.2%
mul-1-neg46.2%
unsub-neg46.2%
*-commutative46.2%
*-commutative46.2%
*-commutative46.2%
*-commutative46.2%
Simplified46.2%
Taylor expanded in k around -inf 44.4%
+-commutative44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
Simplified44.4%
if -1.37999999999999998e-213 < a < -1.08e-248Initial program 55.6%
Taylor expanded in i around -inf 66.6%
Taylor expanded in x around inf 78.0%
*-commutative78.0%
Simplified78.0%
if -1.08e-248 < a < -1.1e-304Initial program 36.4%
Taylor expanded in y0 around inf 64.1%
+-commutative64.1%
mul-1-neg64.1%
unsub-neg64.1%
*-commutative64.1%
*-commutative64.1%
*-commutative64.1%
*-commutative64.1%
Simplified64.1%
Taylor expanded in c around inf 73.2%
if 1.4000000000000001e-159 < a < 1.8500000000000001e54Initial program 24.0%
Taylor expanded in y5 around -inf 46.2%
Taylor expanded in i around inf 45.7%
cancel-sign-sub-inv45.7%
fma-udef45.7%
associate-*r*48.2%
fma-udef48.2%
cancel-sign-sub-inv48.2%
Simplified48.2%
if 1.8500000000000001e54 < a < 1.11999999999999993e174Initial program 33.2%
Taylor expanded in y0 around inf 52.4%
+-commutative52.4%
mul-1-neg52.4%
unsub-neg52.4%
*-commutative52.4%
*-commutative52.4%
*-commutative52.4%
*-commutative52.4%
Simplified52.4%
Taylor expanded in c around 0 56.4%
mul-1-neg56.4%
distribute-rgt-neg-in56.4%
*-commutative56.4%
*-commutative56.4%
distribute-neg-in56.4%
unsub-neg56.4%
distribute-rgt-neg-in56.4%
neg-sub056.4%
associate-+l-56.4%
neg-sub056.4%
+-commutative56.4%
sub-neg56.4%
sub-neg56.4%
Simplified56.4%
if 1.11999999999999993e174 < a Initial program 27.9%
Taylor expanded in y2 around inf 44.2%
Taylor expanded in x around inf 64.3%
*-commutative64.3%
Simplified64.3%
Final simplification56.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* z k) (* x j))))
(if (<= k -7.2e+152)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= k -7e+37)
(+
(* (* k y2) (- (* y1 y4) (* y0 y5)))
(* y1 (- (* i (- (* x j) (* z k))) (* a (* x y2)))))
(if (<= k -2.4e-77)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 t_1)))
(if (<= k -1.12e-113)
(*
y5
(+ (- (* j (* y0 y3)) (* i (* t j))) (* a (- (* t y2) (* y y3)))))
(if (<= k -8.5e-115)
(* i (* (* x y) (- c)))
(if (<= k -7.5e-140)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= k -4.8e-240)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= k -7.4e-289)
(* b (* t (- (* j y4) (* z a))))
(if (<= k 90000000.0)
(*
x
(+
(* y (- (* a b) (* c i)))
(* y2 (- (* c y0) (* a y1)))))
(if (<= k 2.35e+176)
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (* b t_1)))
(* i (* y (- (* k y5) (* x c))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (z * k) - (x * j);
double tmp;
if (k <= -7.2e+152) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (k <= -7e+37) {
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))));
} else if (k <= -2.4e-77) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_1));
} else if (k <= -1.12e-113) {
tmp = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))));
} else if (k <= -8.5e-115) {
tmp = i * ((x * y) * -c);
} else if (k <= -7.5e-140) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (k <= -4.8e-240) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (k <= -7.4e-289) {
tmp = b * (t * ((j * y4) - (z * a)));
} else if (k <= 90000000.0) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (k <= 2.35e+176) {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * t_1));
} else {
tmp = i * (y * ((k * y5) - (x * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (z * k) - (x * j)
if (k <= (-7.2d+152)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (k <= (-7d+37)) then
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))))
else if (k <= (-2.4d-77)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_1))
else if (k <= (-1.12d-113)) then
tmp = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))))
else if (k <= (-8.5d-115)) then
tmp = i * ((x * y) * -c)
else if (k <= (-7.5d-140)) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (k <= (-4.8d-240)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (k <= (-7.4d-289)) then
tmp = b * (t * ((j * y4) - (z * a)))
else if (k <= 90000000.0d0) then
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))))
else if (k <= 2.35d+176) then
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * t_1))
else
tmp = i * (y * ((k * y5) - (x * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (z * k) - (x * j);
double tmp;
if (k <= -7.2e+152) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (k <= -7e+37) {
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))));
} else if (k <= -2.4e-77) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_1));
} else if (k <= -1.12e-113) {
tmp = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3))));
} else if (k <= -8.5e-115) {
tmp = i * ((x * y) * -c);
} else if (k <= -7.5e-140) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (k <= -4.8e-240) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (k <= -7.4e-289) {
tmp = b * (t * ((j * y4) - (z * a)));
} else if (k <= 90000000.0) {
tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
} else if (k <= 2.35e+176) {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * t_1));
} else {
tmp = i * (y * ((k * y5) - (x * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (z * k) - (x * j) tmp = 0 if k <= -7.2e+152: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif k <= -7e+37: tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2)))) elif k <= -2.4e-77: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_1)) elif k <= -1.12e-113: tmp = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3)))) elif k <= -8.5e-115: tmp = i * ((x * y) * -c) elif k <= -7.5e-140: tmp = a * (x * ((y * b) - (y1 * y2))) elif k <= -4.8e-240: tmp = c * (y0 * ((x * y2) - (z * y3))) elif k <= -7.4e-289: tmp = b * (t * ((j * y4) - (z * a))) elif k <= 90000000.0: tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) elif k <= 2.35e+176: tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * t_1)) else: tmp = i * (y * ((k * y5) - (x * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(z * k) - Float64(x * j)) tmp = 0.0 if (k <= -7.2e+152) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (k <= -7e+37) tmp = Float64(Float64(Float64(k * y2) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) - Float64(a * Float64(x * y2))))); elseif (k <= -2.4e-77) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * t_1))); elseif (k <= -1.12e-113) tmp = Float64(y5 * Float64(Float64(Float64(j * Float64(y0 * y3)) - Float64(i * Float64(t * j))) + Float64(a * Float64(Float64(t * y2) - Float64(y * y3))))); elseif (k <= -8.5e-115) tmp = Float64(i * Float64(Float64(x * y) * Float64(-c))); elseif (k <= -7.5e-140) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (k <= -4.8e-240) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (k <= -7.4e-289) tmp = Float64(b * Float64(t * Float64(Float64(j * y4) - Float64(z * a)))); elseif (k <= 90000000.0) tmp = Float64(x * Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))))); elseif (k <= 2.35e+176) tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(b * t_1))); else tmp = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(x * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (z * k) - (x * j); tmp = 0.0; if (k <= -7.2e+152) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (k <= -7e+37) tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2)))); elseif (k <= -2.4e-77) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * t_1)); elseif (k <= -1.12e-113) tmp = y5 * (((j * (y0 * y3)) - (i * (t * j))) + (a * ((t * y2) - (y * y3)))); elseif (k <= -8.5e-115) tmp = i * ((x * y) * -c); elseif (k <= -7.5e-140) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (k <= -4.8e-240) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (k <= -7.4e-289) tmp = b * (t * ((j * y4) - (z * a))); elseif (k <= 90000000.0) tmp = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))); elseif (k <= 2.35e+176) tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * t_1)); else tmp = i * (y * ((k * y5) - (x * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -7.2e+152], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -7e+37], N[(N[(N[(k * y2), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -2.4e-77], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.12e-113], N[(y5 * N[(N[(N[(j * N[(y0 * y3), $MachinePrecision]), $MachinePrecision] - N[(i * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -8.5e-115], N[(i * N[(N[(x * y), $MachinePrecision] * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -7.5e-140], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -4.8e-240], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -7.4e-289], N[(b * N[(t * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 90000000.0], N[(x * N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.35e+176], N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot k - x \cdot j\\
\mathbf{if}\;k \leq -7.2 \cdot 10^{+152}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq -7 \cdot 10^{+37}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) - a \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -2.4 \cdot 10^{-77}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot t_1\right)\\
\mathbf{elif}\;k \leq -1.12 \cdot 10^{-113}:\\
\;\;\;\;y5 \cdot \left(\left(j \cdot \left(y0 \cdot y3\right) - i \cdot \left(t \cdot j\right)\right) + a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;k \leq -8.5 \cdot 10^{-115}:\\
\;\;\;\;i \cdot \left(\left(x \cdot y\right) \cdot \left(-c\right)\right)\\
\mathbf{elif}\;k \leq -7.5 \cdot 10^{-140}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -4.8 \cdot 10^{-240}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;k \leq -7.4 \cdot 10^{-289}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
\mathbf{elif}\;k \leq 90000000:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;k \leq 2.35 \cdot 10^{+176}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + b \cdot t_1\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\end{array}
\end{array}
if k < -7.1999999999999998e152Initial program 12.1%
Taylor expanded in y2 around inf 54.9%
Taylor expanded in y0 around -inf 55.5%
mul-1-neg55.5%
distribute-rgt-neg-in55.5%
+-commutative55.5%
mul-1-neg55.5%
unsub-neg55.5%
*-commutative55.5%
*-commutative55.5%
Simplified55.5%
if -7.1999999999999998e152 < k < -7e37Initial program 26.0%
Taylor expanded in y1 around inf 61.5%
distribute-lft-out--61.5%
*-commutative61.5%
*-commutative61.5%
*-commutative61.5%
Simplified61.5%
Taylor expanded in y3 around 0 74.5%
+-commutative74.5%
mul-1-neg74.5%
unsub-neg74.5%
associate-*r*74.5%
*-commutative74.5%
*-commutative74.5%
*-commutative74.5%
Simplified74.5%
if -7e37 < k < -2.3999999999999999e-77Initial program 41.7%
Taylor expanded in b around inf 49.4%
if -2.3999999999999999e-77 < k < -1.1200000000000001e-113Initial program 40.0%
Taylor expanded in y5 around -inf 70.2%
Taylor expanded in k around 0 60.6%
if -1.1200000000000001e-113 < k < -8.49999999999999953e-115Initial program 50.0%
Taylor expanded in i around -inf 50.0%
Taylor expanded in y around inf 100.0%
Taylor expanded in k around 0 100.0%
if -8.49999999999999953e-115 < k < -7.4999999999999998e-140Initial program 42.5%
Taylor expanded in x around inf 65.2%
Taylor expanded in a around inf 65.9%
if -7.4999999999999998e-140 < k < -4.7999999999999999e-240Initial program 33.5%
Taylor expanded in y0 around inf 52.2%
+-commutative52.2%
mul-1-neg52.2%
unsub-neg52.2%
*-commutative52.2%
*-commutative52.2%
*-commutative52.2%
*-commutative52.2%
Simplified52.2%
Taylor expanded in c around inf 53.0%
if -4.7999999999999999e-240 < k < -7.39999999999999977e-289Initial program 8.6%
Taylor expanded in b around inf 53.7%
Taylor expanded in t around -inf 59.0%
mul-1-neg59.0%
distribute-rgt-neg-in59.0%
+-commutative59.0%
mul-1-neg59.0%
unsub-neg59.0%
Simplified59.0%
if -7.39999999999999977e-289 < k < 9e7Initial program 40.9%
Taylor expanded in x around inf 45.6%
Taylor expanded in j around 0 47.4%
if 9e7 < k < 2.34999999999999991e176Initial program 37.9%
Taylor expanded in y0 around inf 52.5%
+-commutative52.5%
mul-1-neg52.5%
unsub-neg52.5%
*-commutative52.5%
*-commutative52.5%
*-commutative52.5%
*-commutative52.5%
Simplified52.5%
Taylor expanded in c around 0 56.2%
mul-1-neg56.2%
distribute-rgt-neg-in56.2%
*-commutative56.2%
*-commutative56.2%
distribute-neg-in56.2%
unsub-neg56.2%
distribute-rgt-neg-in56.2%
neg-sub056.2%
associate-+l-56.2%
neg-sub056.2%
+-commutative56.2%
sub-neg56.2%
sub-neg56.2%
Simplified56.2%
if 2.34999999999999991e176 < k Initial program 16.7%
Taylor expanded in i around -inf 45.9%
Taylor expanded in y around inf 62.9%
Final simplification55.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y2 (- (* c y0) (* a y1)))))
(t_2 (* y0 (* k (- (* z b) (* y2 y5))))))
(if (<= a -4.3e+229)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= a -2e+166)
(* (- (* t y2) (* y y3)) (* a y5))
(if (<= a -7.6e+78)
(* (* a y1) (- (* z y3) (* x y2)))
(if (<= a -5.3e+22)
(* (- (* x j) (* z k)) (* i y1))
(if (<= a -8.4e-13)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= a -4.1e-203)
t_2
(if (<= a -2.05e-250)
(* i (* x (- (* j y1) (* y c))))
(if (<= a -1.4e-304)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= a 6.2e-159)
(* b (* k (- (* z y0) (* y y4))))
(if (<= a 1e-31)
(* (* i y5) (- (* y k) (* t j)))
(if (<= a 1.45e+79)
t_1
(if (<= a 1.25e+103)
(* (* j y0) (* y3 y5))
(if (<= a 3.3e+173) t_2 t_1)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y2 * ((c * y0) - (a * y1)));
double t_2 = y0 * (k * ((z * b) - (y2 * y5)));
double tmp;
if (a <= -4.3e+229) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (a <= -2e+166) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else if (a <= -7.6e+78) {
tmp = (a * y1) * ((z * y3) - (x * y2));
} else if (a <= -5.3e+22) {
tmp = ((x * j) - (z * k)) * (i * y1);
} else if (a <= -8.4e-13) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (a <= -4.1e-203) {
tmp = t_2;
} else if (a <= -2.05e-250) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -1.4e-304) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 6.2e-159) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (a <= 1e-31) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (a <= 1.45e+79) {
tmp = t_1;
} else if (a <= 1.25e+103) {
tmp = (j * y0) * (y3 * y5);
} else if (a <= 3.3e+173) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x * (y2 * ((c * y0) - (a * y1)))
t_2 = y0 * (k * ((z * b) - (y2 * y5)))
if (a <= (-4.3d+229)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (a <= (-2d+166)) then
tmp = ((t * y2) - (y * y3)) * (a * y5)
else if (a <= (-7.6d+78)) then
tmp = (a * y1) * ((z * y3) - (x * y2))
else if (a <= (-5.3d+22)) then
tmp = ((x * j) - (z * k)) * (i * y1)
else if (a <= (-8.4d-13)) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (a <= (-4.1d-203)) then
tmp = t_2
else if (a <= (-2.05d-250)) then
tmp = i * (x * ((j * y1) - (y * c)))
else if (a <= (-1.4d-304)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (a <= 6.2d-159) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (a <= 1d-31) then
tmp = (i * y5) * ((y * k) - (t * j))
else if (a <= 1.45d+79) then
tmp = t_1
else if (a <= 1.25d+103) then
tmp = (j * y0) * (y3 * y5)
else if (a <= 3.3d+173) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (y2 * ((c * y0) - (a * y1)));
double t_2 = y0 * (k * ((z * b) - (y2 * y5)));
double tmp;
if (a <= -4.3e+229) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (a <= -2e+166) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else if (a <= -7.6e+78) {
tmp = (a * y1) * ((z * y3) - (x * y2));
} else if (a <= -5.3e+22) {
tmp = ((x * j) - (z * k)) * (i * y1);
} else if (a <= -8.4e-13) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (a <= -4.1e-203) {
tmp = t_2;
} else if (a <= -2.05e-250) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -1.4e-304) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 6.2e-159) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (a <= 1e-31) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (a <= 1.45e+79) {
tmp = t_1;
} else if (a <= 1.25e+103) {
tmp = (j * y0) * (y3 * y5);
} else if (a <= 3.3e+173) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y2 * ((c * y0) - (a * y1))) t_2 = y0 * (k * ((z * b) - (y2 * y5))) tmp = 0 if a <= -4.3e+229: tmp = x * (y1 * ((i * j) - (a * y2))) elif a <= -2e+166: tmp = ((t * y2) - (y * y3)) * (a * y5) elif a <= -7.6e+78: tmp = (a * y1) * ((z * y3) - (x * y2)) elif a <= -5.3e+22: tmp = ((x * j) - (z * k)) * (i * y1) elif a <= -8.4e-13: tmp = a * (x * ((y * b) - (y1 * y2))) elif a <= -4.1e-203: tmp = t_2 elif a <= -2.05e-250: tmp = i * (x * ((j * y1) - (y * c))) elif a <= -1.4e-304: tmp = c * (y0 * ((x * y2) - (z * y3))) elif a <= 6.2e-159: tmp = b * (k * ((z * y0) - (y * y4))) elif a <= 1e-31: tmp = (i * y5) * ((y * k) - (t * j)) elif a <= 1.45e+79: tmp = t_1 elif a <= 1.25e+103: tmp = (j * y0) * (y3 * y5) elif a <= 3.3e+173: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) t_2 = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))) tmp = 0.0 if (a <= -4.3e+229) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (a <= -2e+166) tmp = Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(a * y5)); elseif (a <= -7.6e+78) tmp = Float64(Float64(a * y1) * Float64(Float64(z * y3) - Float64(x * y2))); elseif (a <= -5.3e+22) tmp = Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(i * y1)); elseif (a <= -8.4e-13) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (a <= -4.1e-203) tmp = t_2; elseif (a <= -2.05e-250) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); elseif (a <= -1.4e-304) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (a <= 6.2e-159) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (a <= 1e-31) tmp = Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))); elseif (a <= 1.45e+79) tmp = t_1; elseif (a <= 1.25e+103) tmp = Float64(Float64(j * y0) * Float64(y3 * y5)); elseif (a <= 3.3e+173) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (y2 * ((c * y0) - (a * y1))); t_2 = y0 * (k * ((z * b) - (y2 * y5))); tmp = 0.0; if (a <= -4.3e+229) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (a <= -2e+166) tmp = ((t * y2) - (y * y3)) * (a * y5); elseif (a <= -7.6e+78) tmp = (a * y1) * ((z * y3) - (x * y2)); elseif (a <= -5.3e+22) tmp = ((x * j) - (z * k)) * (i * y1); elseif (a <= -8.4e-13) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (a <= -4.1e-203) tmp = t_2; elseif (a <= -2.05e-250) tmp = i * (x * ((j * y1) - (y * c))); elseif (a <= -1.4e-304) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (a <= 6.2e-159) tmp = b * (k * ((z * y0) - (y * y4))); elseif (a <= 1e-31) tmp = (i * y5) * ((y * k) - (t * j)); elseif (a <= 1.45e+79) tmp = t_1; elseif (a <= 1.25e+103) tmp = (j * y0) * (y3 * y5); elseif (a <= 3.3e+173) tmp = t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -4.3e+229], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2e+166], N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(a * y5), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -7.6e+78], N[(N[(a * y1), $MachinePrecision] * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.3e+22], N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(i * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -8.4e-13], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.1e-203], t$95$2, If[LessEqual[a, -2.05e-250], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.4e-304], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.2e-159], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1e-31], N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.45e+79], t$95$1, If[LessEqual[a, 1.25e+103], N[(N[(j * y0), $MachinePrecision] * N[(y3 * y5), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.3e+173], t$95$2, t$95$1]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
t_2 := y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{if}\;a \leq -4.3 \cdot 10^{+229}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq -2 \cdot 10^{+166}:\\
\;\;\;\;\left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5\right)\\
\mathbf{elif}\;a \leq -7.6 \cdot 10^{+78}:\\
\;\;\;\;\left(a \cdot y1\right) \cdot \left(z \cdot y3 - x \cdot y2\right)\\
\mathbf{elif}\;a \leq -5.3 \cdot 10^{+22}:\\
\;\;\;\;\left(x \cdot j - z \cdot k\right) \cdot \left(i \cdot y1\right)\\
\mathbf{elif}\;a \leq -8.4 \cdot 10^{-13}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq -4.1 \cdot 10^{-203}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq -2.05 \cdot 10^{-250}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{elif}\;a \leq -1.4 \cdot 10^{-304}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 6.2 \cdot 10^{-159}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 10^{-31}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right)\\
\mathbf{elif}\;a \leq 1.45 \cdot 10^{+79}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq 1.25 \cdot 10^{+103}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5\right)\\
\mathbf{elif}\;a \leq 3.3 \cdot 10^{+173}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if a < -4.29999999999999991e229Initial program 10.3%
Taylor expanded in y1 around inf 23.9%
distribute-lft-out--23.9%
*-commutative23.9%
*-commutative23.9%
*-commutative23.9%
Simplified23.9%
Taylor expanded in x around inf 60.1%
mul-1-neg60.1%
*-commutative60.1%
*-commutative60.1%
Simplified60.1%
if -4.29999999999999991e229 < a < -1.99999999999999988e166Initial program 9.1%
Taylor expanded in y5 around -inf 63.6%
Taylor expanded in a around inf 56.5%
associate-*r*73.6%
*-commutative73.6%
*-commutative73.6%
*-commutative73.6%
Simplified73.6%
if -1.99999999999999988e166 < a < -7.5999999999999998e78Initial program 29.8%
Taylor expanded in y1 around inf 41.0%
distribute-lft-out--41.0%
*-commutative41.0%
*-commutative41.0%
*-commutative41.0%
Simplified41.0%
Taylor expanded in a around inf 46.5%
mul-1-neg46.5%
associate-*r*46.5%
*-commutative46.5%
distribute-rgt-neg-in46.5%
Simplified46.5%
if -7.5999999999999998e78 < a < -5.2999999999999998e22Initial program 45.5%
Taylor expanded in y1 around inf 55.1%
distribute-lft-out--55.1%
*-commutative55.1%
*-commutative55.1%
*-commutative55.1%
Simplified55.1%
Taylor expanded in i around inf 56.1%
mul-1-neg56.1%
associate-*r*73.4%
distribute-lft-neg-in73.4%
Simplified73.4%
if -5.2999999999999998e22 < a < -8.39999999999999955e-13Initial program 55.4%
Taylor expanded in x around inf 66.5%
Taylor expanded in a around inf 56.6%
if -8.39999999999999955e-13 < a < -4.09999999999999981e-203 or 1.25e103 < a < 3.29999999999999996e173Initial program 31.4%
Taylor expanded in y0 around inf 49.3%
+-commutative49.3%
mul-1-neg49.3%
unsub-neg49.3%
*-commutative49.3%
*-commutative49.3%
*-commutative49.3%
*-commutative49.3%
Simplified49.3%
Taylor expanded in k around -inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
*-commutative48.1%
Simplified48.1%
if -4.09999999999999981e-203 < a < -2.05000000000000008e-250Initial program 55.6%
Taylor expanded in i around -inf 66.6%
Taylor expanded in x around inf 78.0%
*-commutative78.0%
Simplified78.0%
if -2.05000000000000008e-250 < a < -1.3999999999999999e-304Initial program 36.4%
Taylor expanded in y0 around inf 64.1%
+-commutative64.1%
mul-1-neg64.1%
unsub-neg64.1%
*-commutative64.1%
*-commutative64.1%
*-commutative64.1%
*-commutative64.1%
Simplified64.1%
Taylor expanded in c around inf 73.2%
if -1.3999999999999999e-304 < a < 6.2e-159Initial program 36.7%
Taylor expanded in b around inf 48.8%
Taylor expanded in k around inf 48.9%
distribute-lft-out--48.9%
Simplified48.9%
if 6.2e-159 < a < 1e-31Initial program 32.3%
Taylor expanded in y5 around -inf 49.6%
Taylor expanded in i around inf 52.7%
cancel-sign-sub-inv52.7%
fma-udef52.7%
associate-*r*56.5%
fma-udef56.5%
cancel-sign-sub-inv56.5%
Simplified56.5%
if 1e-31 < a < 1.44999999999999996e79 or 3.29999999999999996e173 < a Initial program 22.7%
Taylor expanded in y2 around inf 47.1%
Taylor expanded in x around inf 56.5%
*-commutative56.5%
Simplified56.5%
if 1.44999999999999996e79 < a < 1.25e103Initial program 57.1%
Taylor expanded in y0 around inf 58.2%
+-commutative58.2%
mul-1-neg58.2%
unsub-neg58.2%
*-commutative58.2%
*-commutative58.2%
*-commutative58.2%
*-commutative58.2%
Simplified58.2%
Taylor expanded in j around -inf 58.3%
+-commutative58.3%
mul-1-neg58.3%
unsub-neg58.3%
*-commutative58.3%
Simplified58.3%
Taylor expanded in y3 around inf 45.5%
associate-*r*58.5%
*-commutative58.5%
Simplified58.5%
Final simplification56.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))))
(t_2
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (* b (- (* z k) (* x j)))))))
(if (<= k -4.1e+152)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= k -7.2e+14)
(+
(* (* k y2) (- (* y1 y4) (* y0 y5)))
(* y1 (- (* i (- (* x j) (* z k))) (* a (* x y2)))))
(if (<= k -3.2e-114)
t_2
(if (<= k -4.2e-233)
t_1
(if (<= k -7.6e-241)
t_2
(if (<= k -3.1e-300)
(* b (* t (- (* j y4) (* z a))))
(if (<= k 1.1)
t_1
(if (<= k 3.9e+176)
t_2
(* i (* y (- (* k y5) (* x c))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
double t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j))));
double tmp;
if (k <= -4.1e+152) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (k <= -7.2e+14) {
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))));
} else if (k <= -3.2e-114) {
tmp = t_2;
} else if (k <= -4.2e-233) {
tmp = t_1;
} else if (k <= -7.6e-241) {
tmp = t_2;
} else if (k <= -3.1e-300) {
tmp = b * (t * ((j * y4) - (z * a)));
} else if (k <= 1.1) {
tmp = t_1;
} else if (k <= 3.9e+176) {
tmp = t_2;
} else {
tmp = i * (y * ((k * y5) - (x * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))))
t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j))))
if (k <= (-4.1d+152)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (k <= (-7.2d+14)) then
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))))
else if (k <= (-3.2d-114)) then
tmp = t_2
else if (k <= (-4.2d-233)) then
tmp = t_1
else if (k <= (-7.6d-241)) then
tmp = t_2
else if (k <= (-3.1d-300)) then
tmp = b * (t * ((j * y4) - (z * a)))
else if (k <= 1.1d0) then
tmp = t_1
else if (k <= 3.9d+176) then
tmp = t_2
else
tmp = i * (y * ((k * y5) - (x * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1))));
double t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j))));
double tmp;
if (k <= -4.1e+152) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (k <= -7.2e+14) {
tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2))));
} else if (k <= -3.2e-114) {
tmp = t_2;
} else if (k <= -4.2e-233) {
tmp = t_1;
} else if (k <= -7.6e-241) {
tmp = t_2;
} else if (k <= -3.1e-300) {
tmp = b * (t * ((j * y4) - (z * a)));
} else if (k <= 1.1) {
tmp = t_1;
} else if (k <= 3.9e+176) {
tmp = t_2;
} else {
tmp = i * (y * ((k * y5) - (x * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j)))) tmp = 0 if k <= -4.1e+152: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif k <= -7.2e+14: tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2)))) elif k <= -3.2e-114: tmp = t_2 elif k <= -4.2e-233: tmp = t_1 elif k <= -7.6e-241: tmp = t_2 elif k <= -3.1e-300: tmp = b * (t * ((j * y4) - (z * a))) elif k <= 1.1: tmp = t_1 elif k <= 3.9e+176: tmp = t_2 else: tmp = i * (y * ((k * y5) - (x * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))))) t_2 = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))) tmp = 0.0 if (k <= -4.1e+152) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (k <= -7.2e+14) tmp = Float64(Float64(Float64(k * y2) * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) - Float64(a * Float64(x * y2))))); elseif (k <= -3.2e-114) tmp = t_2; elseif (k <= -4.2e-233) tmp = t_1; elseif (k <= -7.6e-241) tmp = t_2; elseif (k <= -3.1e-300) tmp = Float64(b * Float64(t * Float64(Float64(j * y4) - Float64(z * a)))); elseif (k <= 1.1) tmp = t_1; elseif (k <= 3.9e+176) tmp = t_2; else tmp = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(x * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * ((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))); t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (b * ((z * k) - (x * j)))); tmp = 0.0; if (k <= -4.1e+152) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (k <= -7.2e+14) tmp = ((k * y2) * ((y1 * y4) - (y0 * y5))) + (y1 * ((i * ((x * j) - (z * k))) - (a * (x * y2)))); elseif (k <= -3.2e-114) tmp = t_2; elseif (k <= -4.2e-233) tmp = t_1; elseif (k <= -7.6e-241) tmp = t_2; elseif (k <= -3.1e-300) tmp = b * (t * ((j * y4) - (z * a))); elseif (k <= 1.1) tmp = t_1; elseif (k <= 3.9e+176) tmp = t_2; else tmp = i * (y * ((k * y5) - (x * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -4.1e+152], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -7.2e+14], N[(N[(N[(k * y2), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -3.2e-114], t$95$2, If[LessEqual[k, -4.2e-233], t$95$1, If[LessEqual[k, -7.6e-241], t$95$2, If[LessEqual[k, -3.1e-300], N[(b * N[(t * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.1], t$95$1, If[LessEqual[k, 3.9e+176], t$95$2, N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
t_2 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;k \leq -4.1 \cdot 10^{+152}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq -7.2 \cdot 10^{+14}:\\
\;\;\;\;\left(k \cdot y2\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) - a \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq -3.2 \cdot 10^{-114}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;k \leq -4.2 \cdot 10^{-233}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;k \leq -7.6 \cdot 10^{-241}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;k \leq -3.1 \cdot 10^{-300}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
\mathbf{elif}\;k \leq 1.1:\\
\;\;\;\;t_1\\
\mathbf{elif}\;k \leq 3.9 \cdot 10^{+176}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\end{array}
\end{array}
if k < -4.0999999999999998e152Initial program 12.1%
Taylor expanded in y2 around inf 54.9%
Taylor expanded in y0 around -inf 55.5%
mul-1-neg55.5%
distribute-rgt-neg-in55.5%
+-commutative55.5%
mul-1-neg55.5%
unsub-neg55.5%
*-commutative55.5%
*-commutative55.5%
Simplified55.5%
if -4.0999999999999998e152 < k < -7.2e14Initial program 30.8%
Taylor expanded in y1 around inf 49.4%
distribute-lft-out--49.4%
*-commutative49.4%
*-commutative49.4%
*-commutative49.4%
Simplified49.4%
Taylor expanded in y3 around 0 59.9%
+-commutative59.9%
mul-1-neg59.9%
unsub-neg59.9%
associate-*r*59.9%
*-commutative59.9%
*-commutative59.9%
*-commutative59.9%
Simplified59.9%
if -7.2e14 < k < -3.2000000000000002e-114 or -4.1999999999999997e-233 < k < -7.5999999999999998e-241 or 1.1000000000000001 < k < 3.9000000000000001e176Initial program 36.6%
Taylor expanded in y0 around inf 52.7%
+-commutative52.7%
mul-1-neg52.7%
unsub-neg52.7%
*-commutative52.7%
*-commutative52.7%
*-commutative52.7%
*-commutative52.7%
Simplified52.7%
Taylor expanded in c around 0 54.5%
mul-1-neg54.5%
distribute-rgt-neg-in54.5%
*-commutative54.5%
*-commutative54.5%
distribute-neg-in54.5%
unsub-neg54.5%
distribute-rgt-neg-in54.5%
neg-sub054.5%
associate-+l-54.5%
neg-sub054.5%
+-commutative54.5%
sub-neg54.5%
sub-neg54.5%
Simplified54.5%
if -3.2000000000000002e-114 < k < -4.1999999999999997e-233 or -3.1000000000000002e-300 < k < 1.1000000000000001Initial program 40.5%
Taylor expanded in x around inf 46.8%
Taylor expanded in j around 0 48.3%
if -7.5999999999999998e-241 < k < -3.1000000000000002e-300Initial program 15.7%
Taylor expanded in b around inf 57.3%
Taylor expanded in t around -inf 54.7%
mul-1-neg54.7%
distribute-rgt-neg-in54.7%
+-commutative54.7%
mul-1-neg54.7%
unsub-neg54.7%
Simplified54.7%
if 3.9000000000000001e176 < k Initial program 16.7%
Taylor expanded in i around -inf 45.9%
Taylor expanded in y around inf 62.9%
Final simplification53.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (* k (- (* z b) (* y2 y5))))))
(if (<= a -2.1e+228)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= a -1.75e+161)
(* (- (* t y2) (* y y3)) (* a y5))
(if (<= a -8.2e+77)
(* (* a y1) (- (* z y3) (* x y2)))
(if (<= a -2e+24)
(* (- (* x j) (* z k)) (* i y1))
(if (<= a -3.5e-10)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= a -1.75e-202)
t_1
(if (<= a -6.1e-257)
(* i (* x (- (* j y1) (* y c))))
(if (<= a -3.5e-304)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= a 1.95e-159)
(* b (* k (- (* z y0) (* y y4))))
(if (<= a 2.9e+22)
(* (* i y5) (- (* y k) (* t j)))
(if (<= a 1.65e+103)
(* y3 (* y5 (- (* j y0) (* y a))))
(if (<= a 2.8e+173)
t_1
(* x (* y2 (- (* c y0) (* a 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 = y0 * (k * ((z * b) - (y2 * y5)));
double tmp;
if (a <= -2.1e+228) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (a <= -1.75e+161) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else if (a <= -8.2e+77) {
tmp = (a * y1) * ((z * y3) - (x * y2));
} else if (a <= -2e+24) {
tmp = ((x * j) - (z * k)) * (i * y1);
} else if (a <= -3.5e-10) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (a <= -1.75e-202) {
tmp = t_1;
} else if (a <= -6.1e-257) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -3.5e-304) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 1.95e-159) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (a <= 2.9e+22) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (a <= 1.65e+103) {
tmp = y3 * (y5 * ((j * y0) - (y * a)));
} else if (a <= 2.8e+173) {
tmp = t_1;
} else {
tmp = x * (y2 * ((c * y0) - (a * 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 = y0 * (k * ((z * b) - (y2 * y5)))
if (a <= (-2.1d+228)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (a <= (-1.75d+161)) then
tmp = ((t * y2) - (y * y3)) * (a * y5)
else if (a <= (-8.2d+77)) then
tmp = (a * y1) * ((z * y3) - (x * y2))
else if (a <= (-2d+24)) then
tmp = ((x * j) - (z * k)) * (i * y1)
else if (a <= (-3.5d-10)) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (a <= (-1.75d-202)) then
tmp = t_1
else if (a <= (-6.1d-257)) then
tmp = i * (x * ((j * y1) - (y * c)))
else if (a <= (-3.5d-304)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (a <= 1.95d-159) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (a <= 2.9d+22) then
tmp = (i * y5) * ((y * k) - (t * j))
else if (a <= 1.65d+103) then
tmp = y3 * (y5 * ((j * y0) - (y * a)))
else if (a <= 2.8d+173) then
tmp = t_1
else
tmp = x * (y2 * ((c * y0) - (a * 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 = y0 * (k * ((z * b) - (y2 * y5)));
double tmp;
if (a <= -2.1e+228) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (a <= -1.75e+161) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else if (a <= -8.2e+77) {
tmp = (a * y1) * ((z * y3) - (x * y2));
} else if (a <= -2e+24) {
tmp = ((x * j) - (z * k)) * (i * y1);
} else if (a <= -3.5e-10) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (a <= -1.75e-202) {
tmp = t_1;
} else if (a <= -6.1e-257) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -3.5e-304) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 1.95e-159) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (a <= 2.9e+22) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (a <= 1.65e+103) {
tmp = y3 * (y5 * ((j * y0) - (y * a)));
} else if (a <= 2.8e+173) {
tmp = t_1;
} else {
tmp = x * (y2 * ((c * y0) - (a * y1)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * (k * ((z * b) - (y2 * y5))) tmp = 0 if a <= -2.1e+228: tmp = x * (y1 * ((i * j) - (a * y2))) elif a <= -1.75e+161: tmp = ((t * y2) - (y * y3)) * (a * y5) elif a <= -8.2e+77: tmp = (a * y1) * ((z * y3) - (x * y2)) elif a <= -2e+24: tmp = ((x * j) - (z * k)) * (i * y1) elif a <= -3.5e-10: tmp = a * (x * ((y * b) - (y1 * y2))) elif a <= -1.75e-202: tmp = t_1 elif a <= -6.1e-257: tmp = i * (x * ((j * y1) - (y * c))) elif a <= -3.5e-304: tmp = c * (y0 * ((x * y2) - (z * y3))) elif a <= 1.95e-159: tmp = b * (k * ((z * y0) - (y * y4))) elif a <= 2.9e+22: tmp = (i * y5) * ((y * k) - (t * j)) elif a <= 1.65e+103: tmp = y3 * (y5 * ((j * y0) - (y * a))) elif a <= 2.8e+173: tmp = t_1 else: tmp = x * (y2 * ((c * y0) - (a * y1))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))) tmp = 0.0 if (a <= -2.1e+228) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (a <= -1.75e+161) tmp = Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(a * y5)); elseif (a <= -8.2e+77) tmp = Float64(Float64(a * y1) * Float64(Float64(z * y3) - Float64(x * y2))); elseif (a <= -2e+24) tmp = Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(i * y1)); elseif (a <= -3.5e-10) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (a <= -1.75e-202) tmp = t_1; elseif (a <= -6.1e-257) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); elseif (a <= -3.5e-304) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (a <= 1.95e-159) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (a <= 2.9e+22) tmp = Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))); elseif (a <= 1.65e+103) tmp = Float64(y3 * Float64(y5 * Float64(Float64(j * y0) - Float64(y * a)))); elseif (a <= 2.8e+173) tmp = t_1; else tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * 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 = y0 * (k * ((z * b) - (y2 * y5))); tmp = 0.0; if (a <= -2.1e+228) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (a <= -1.75e+161) tmp = ((t * y2) - (y * y3)) * (a * y5); elseif (a <= -8.2e+77) tmp = (a * y1) * ((z * y3) - (x * y2)); elseif (a <= -2e+24) tmp = ((x * j) - (z * k)) * (i * y1); elseif (a <= -3.5e-10) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (a <= -1.75e-202) tmp = t_1; elseif (a <= -6.1e-257) tmp = i * (x * ((j * y1) - (y * c))); elseif (a <= -3.5e-304) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (a <= 1.95e-159) tmp = b * (k * ((z * y0) - (y * y4))); elseif (a <= 2.9e+22) tmp = (i * y5) * ((y * k) - (t * j)); elseif (a <= 1.65e+103) tmp = y3 * (y5 * ((j * y0) - (y * a))); elseif (a <= 2.8e+173) tmp = t_1; else tmp = x * (y2 * ((c * y0) - (a * 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[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.1e+228], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.75e+161], N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(a * y5), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -8.2e+77], N[(N[(a * y1), $MachinePrecision] * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2e+24], N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(i * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.5e-10], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.75e-202], t$95$1, If[LessEqual[a, -6.1e-257], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.5e-304], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.95e-159], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.9e+22], N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.65e+103], N[(y3 * N[(y5 * N[(N[(j * y0), $MachinePrecision] - N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.8e+173], t$95$1, N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{if}\;a \leq -2.1 \cdot 10^{+228}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq -1.75 \cdot 10^{+161}:\\
\;\;\;\;\left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5\right)\\
\mathbf{elif}\;a \leq -8.2 \cdot 10^{+77}:\\
\;\;\;\;\left(a \cdot y1\right) \cdot \left(z \cdot y3 - x \cdot y2\right)\\
\mathbf{elif}\;a \leq -2 \cdot 10^{+24}:\\
\;\;\;\;\left(x \cdot j - z \cdot k\right) \cdot \left(i \cdot y1\right)\\
\mathbf{elif}\;a \leq -3.5 \cdot 10^{-10}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq -1.75 \cdot 10^{-202}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;a \leq -6.1 \cdot 10^{-257}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{elif}\;a \leq -3.5 \cdot 10^{-304}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 1.95 \cdot 10^{-159}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 2.9 \cdot 10^{+22}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right)\\
\mathbf{elif}\;a \leq 1.65 \cdot 10^{+103}:\\
\;\;\;\;y3 \cdot \left(y5 \cdot \left(j \cdot y0 - y \cdot a\right)\right)\\
\mathbf{elif}\;a \leq 2.8 \cdot 10^{+173}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\end{array}
\end{array}
if a < -2.09999999999999994e228Initial program 10.3%
Taylor expanded in y1 around inf 23.9%
distribute-lft-out--23.9%
*-commutative23.9%
*-commutative23.9%
*-commutative23.9%
Simplified23.9%
Taylor expanded in x around inf 60.1%
mul-1-neg60.1%
*-commutative60.1%
*-commutative60.1%
Simplified60.1%
if -2.09999999999999994e228 < a < -1.74999999999999994e161Initial program 9.1%
Taylor expanded in y5 around -inf 63.6%
Taylor expanded in a around inf 56.5%
associate-*r*73.6%
*-commutative73.6%
*-commutative73.6%
*-commutative73.6%
Simplified73.6%
if -1.74999999999999994e161 < a < -8.2000000000000002e77Initial program 29.8%
Taylor expanded in y1 around inf 41.0%
distribute-lft-out--41.0%
*-commutative41.0%
*-commutative41.0%
*-commutative41.0%
Simplified41.0%
Taylor expanded in a around inf 46.5%
mul-1-neg46.5%
associate-*r*46.5%
*-commutative46.5%
distribute-rgt-neg-in46.5%
Simplified46.5%
if -8.2000000000000002e77 < a < -2e24Initial program 45.5%
Taylor expanded in y1 around inf 55.1%
distribute-lft-out--55.1%
*-commutative55.1%
*-commutative55.1%
*-commutative55.1%
Simplified55.1%
Taylor expanded in i around inf 56.1%
mul-1-neg56.1%
associate-*r*73.4%
distribute-lft-neg-in73.4%
Simplified73.4%
if -2e24 < a < -3.4999999999999998e-10Initial program 55.4%
Taylor expanded in x around inf 66.5%
Taylor expanded in a around inf 56.6%
if -3.4999999999999998e-10 < a < -1.75e-202 or 1.65000000000000004e103 < a < 2.79999999999999982e173Initial program 31.4%
Taylor expanded in y0 around inf 49.3%
+-commutative49.3%
mul-1-neg49.3%
unsub-neg49.3%
*-commutative49.3%
*-commutative49.3%
*-commutative49.3%
*-commutative49.3%
Simplified49.3%
Taylor expanded in k around -inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
*-commutative48.1%
Simplified48.1%
if -1.75e-202 < a < -6.0999999999999996e-257Initial program 55.6%
Taylor expanded in i around -inf 66.6%
Taylor expanded in x around inf 78.0%
*-commutative78.0%
Simplified78.0%
if -6.0999999999999996e-257 < a < -3.5e-304Initial program 36.4%
Taylor expanded in y0 around inf 64.1%
+-commutative64.1%
mul-1-neg64.1%
unsub-neg64.1%
*-commutative64.1%
*-commutative64.1%
*-commutative64.1%
*-commutative64.1%
Simplified64.1%
Taylor expanded in c around inf 73.2%
if -3.5e-304 < a < 1.94999999999999988e-159Initial program 36.7%
Taylor expanded in b around inf 48.8%
Taylor expanded in k around inf 48.9%
distribute-lft-out--48.9%
Simplified48.9%
if 1.94999999999999988e-159 < a < 2.9e22Initial program 27.1%
Taylor expanded in y5 around -inf 44.8%
Taylor expanded in i around inf 47.4%
cancel-sign-sub-inv47.4%
fma-udef47.4%
associate-*r*50.6%
fma-udef50.6%
cancel-sign-sub-inv50.6%
Simplified50.6%
if 2.9e22 < a < 1.65000000000000004e103Initial program 33.2%
Taylor expanded in y5 around -inf 53.3%
Taylor expanded in y3 around inf 53.5%
distribute-lft-out--53.5%
*-commutative53.5%
Simplified53.5%
if 2.79999999999999982e173 < a Initial program 27.9%
Taylor expanded in y2 around inf 44.2%
Taylor expanded in x around inf 64.3%
*-commutative64.3%
Simplified64.3%
Final simplification56.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* z (- y1)))
(t_2 (* y0 (* y5 (- (* j y3) (* k y2)))))
(t_3 (* j (* x (- (* i y1) (* b y0)))))
(t_4 (* c (* y0 (- (* x y2) (* z y3))))))
(if (<= y1 -3e+243)
(* k (* i t_1))
(if (<= y1 -1.5e+203)
t_3
(if (<= y1 -7.2e+185)
(* i (* k t_1))
(if (<= y1 -0.055)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= y1 -8.6e-92)
t_2
(if (<= y1 -7.4e-157)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y1 -6.5e-239)
t_4
(if (<= y1 5.2e-284)
(* y0 (* k (- (* z b) (* y2 y5))))
(if (<= y1 2.4e-178)
t_4
(if (<= y1 1.4e+142)
t_2
(if (<= y1 5.5e+231)
t_3
(* y1 (* y4 (- (* k y2) (* j y3)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * -y1;
double t_2 = y0 * (y5 * ((j * y3) - (k * y2)));
double t_3 = j * (x * ((i * y1) - (b * y0)));
double t_4 = c * (y0 * ((x * y2) - (z * y3)));
double tmp;
if (y1 <= -3e+243) {
tmp = k * (i * t_1);
} else if (y1 <= -1.5e+203) {
tmp = t_3;
} else if (y1 <= -7.2e+185) {
tmp = i * (k * t_1);
} else if (y1 <= -0.055) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y1 <= -8.6e-92) {
tmp = t_2;
} else if (y1 <= -7.4e-157) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= -6.5e-239) {
tmp = t_4;
} else if (y1 <= 5.2e-284) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (y1 <= 2.4e-178) {
tmp = t_4;
} else if (y1 <= 1.4e+142) {
tmp = t_2;
} else if (y1 <= 5.5e+231) {
tmp = t_3;
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = z * -y1
t_2 = y0 * (y5 * ((j * y3) - (k * y2)))
t_3 = j * (x * ((i * y1) - (b * y0)))
t_4 = c * (y0 * ((x * y2) - (z * y3)))
if (y1 <= (-3d+243)) then
tmp = k * (i * t_1)
else if (y1 <= (-1.5d+203)) then
tmp = t_3
else if (y1 <= (-7.2d+185)) then
tmp = i * (k * t_1)
else if (y1 <= (-0.055d0)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (y1 <= (-8.6d-92)) then
tmp = t_2
else if (y1 <= (-7.4d-157)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y1 <= (-6.5d-239)) then
tmp = t_4
else if (y1 <= 5.2d-284) then
tmp = y0 * (k * ((z * b) - (y2 * y5)))
else if (y1 <= 2.4d-178) then
tmp = t_4
else if (y1 <= 1.4d+142) then
tmp = t_2
else if (y1 <= 5.5d+231) then
tmp = t_3
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * -y1;
double t_2 = y0 * (y5 * ((j * y3) - (k * y2)));
double t_3 = j * (x * ((i * y1) - (b * y0)));
double t_4 = c * (y0 * ((x * y2) - (z * y3)));
double tmp;
if (y1 <= -3e+243) {
tmp = k * (i * t_1);
} else if (y1 <= -1.5e+203) {
tmp = t_3;
} else if (y1 <= -7.2e+185) {
tmp = i * (k * t_1);
} else if (y1 <= -0.055) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y1 <= -8.6e-92) {
tmp = t_2;
} else if (y1 <= -7.4e-157) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= -6.5e-239) {
tmp = t_4;
} else if (y1 <= 5.2e-284) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (y1 <= 2.4e-178) {
tmp = t_4;
} else if (y1 <= 1.4e+142) {
tmp = t_2;
} else if (y1 <= 5.5e+231) {
tmp = t_3;
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = z * -y1 t_2 = y0 * (y5 * ((j * y3) - (k * y2))) t_3 = j * (x * ((i * y1) - (b * y0))) t_4 = c * (y0 * ((x * y2) - (z * y3))) tmp = 0 if y1 <= -3e+243: tmp = k * (i * t_1) elif y1 <= -1.5e+203: tmp = t_3 elif y1 <= -7.2e+185: tmp = i * (k * t_1) elif y1 <= -0.055: tmp = x * (y2 * ((c * y0) - (a * y1))) elif y1 <= -8.6e-92: tmp = t_2 elif y1 <= -7.4e-157: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y1 <= -6.5e-239: tmp = t_4 elif y1 <= 5.2e-284: tmp = y0 * (k * ((z * b) - (y2 * y5))) elif y1 <= 2.4e-178: tmp = t_4 elif y1 <= 1.4e+142: tmp = t_2 elif y1 <= 5.5e+231: tmp = t_3 else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(z * Float64(-y1)) t_2 = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) t_3 = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) t_4 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) tmp = 0.0 if (y1 <= -3e+243) tmp = Float64(k * Float64(i * t_1)); elseif (y1 <= -1.5e+203) tmp = t_3; elseif (y1 <= -7.2e+185) tmp = Float64(i * Float64(k * t_1)); elseif (y1 <= -0.055) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (y1 <= -8.6e-92) tmp = t_2; elseif (y1 <= -7.4e-157) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y1 <= -6.5e-239) tmp = t_4; elseif (y1 <= 5.2e-284) tmp = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))); elseif (y1 <= 2.4e-178) tmp = t_4; elseif (y1 <= 1.4e+142) tmp = t_2; elseif (y1 <= 5.5e+231) tmp = t_3; else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = z * -y1; t_2 = y0 * (y5 * ((j * y3) - (k * y2))); t_3 = j * (x * ((i * y1) - (b * y0))); t_4 = c * (y0 * ((x * y2) - (z * y3))); tmp = 0.0; if (y1 <= -3e+243) tmp = k * (i * t_1); elseif (y1 <= -1.5e+203) tmp = t_3; elseif (y1 <= -7.2e+185) tmp = i * (k * t_1); elseif (y1 <= -0.055) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (y1 <= -8.6e-92) tmp = t_2; elseif (y1 <= -7.4e-157) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y1 <= -6.5e-239) tmp = t_4; elseif (y1 <= 5.2e-284) tmp = y0 * (k * ((z * b) - (y2 * y5))); elseif (y1 <= 2.4e-178) tmp = t_4; elseif (y1 <= 1.4e+142) tmp = t_2; elseif (y1 <= 5.5e+231) tmp = t_3; else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * (-y1)), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -3e+243], N[(k * N[(i * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.5e+203], t$95$3, If[LessEqual[y1, -7.2e+185], N[(i * N[(k * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -0.055], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -8.6e-92], t$95$2, If[LessEqual[y1, -7.4e-157], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -6.5e-239], t$95$4, If[LessEqual[y1, 5.2e-284], N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.4e-178], t$95$4, If[LessEqual[y1, 1.4e+142], t$95$2, If[LessEqual[y1, 5.5e+231], t$95$3, N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(-y1\right)\\
t_2 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
t_3 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_4 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y1 \leq -3 \cdot 10^{+243}:\\
\;\;\;\;k \cdot \left(i \cdot t_1\right)\\
\mathbf{elif}\;y1 \leq -1.5 \cdot 10^{+203}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y1 \leq -7.2 \cdot 10^{+185}:\\
\;\;\;\;i \cdot \left(k \cdot t_1\right)\\
\mathbf{elif}\;y1 \leq -0.055:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y1 \leq -8.6 \cdot 10^{-92}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y1 \leq -7.4 \cdot 10^{-157}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -6.5 \cdot 10^{-239}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;y1 \leq 5.2 \cdot 10^{-284}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq 2.4 \cdot 10^{-178}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;y1 \leq 1.4 \cdot 10^{+142}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y1 \leq 5.5 \cdot 10^{+231}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -2.99999999999999984e243Initial program 7.1%
Taylor expanded in y1 around inf 42.9%
distribute-lft-out--42.9%
*-commutative42.9%
*-commutative42.9%
*-commutative42.9%
Simplified42.9%
Taylor expanded in i around inf 44.3%
mul-1-neg44.3%
associate-*r*37.4%
distribute-lft-neg-in37.4%
Simplified37.4%
Taylor expanded in k around inf 57.8%
mul-1-neg57.8%
*-commutative57.8%
distribute-rgt-neg-in57.8%
*-commutative57.8%
Simplified57.8%
Taylor expanded in k around 0 57.8%
mul-1-neg57.8%
*-commutative57.8%
distribute-rgt-neg-in57.8%
associate-*r*64.5%
Simplified64.5%
if -2.99999999999999984e243 < y1 < -1.5e203 or 1.4e142 < y1 < 5.5e231Initial program 31.7%
Taylor expanded in x around inf 50.3%
Taylor expanded in j around inf 59.8%
*-commutative59.8%
*-commutative59.8%
Simplified59.8%
if -1.5e203 < y1 < -7.20000000000000058e185Initial program 20.0%
Taylor expanded in y1 around inf 20.0%
distribute-lft-out--20.0%
*-commutative20.0%
*-commutative20.0%
*-commutative20.0%
Simplified20.0%
Taylor expanded in i around inf 42.2%
mul-1-neg42.2%
associate-*r*42.9%
distribute-lft-neg-in42.9%
Simplified42.9%
Taylor expanded in k around inf 81.3%
mul-1-neg81.3%
*-commutative81.3%
distribute-rgt-neg-in81.3%
*-commutative81.3%
Simplified81.3%
if -7.20000000000000058e185 < y1 < -0.0550000000000000003Initial program 32.7%
Taylor expanded in y2 around inf 41.2%
Taylor expanded in x around inf 51.5%
*-commutative51.5%
Simplified51.5%
if -0.0550000000000000003 < y1 < -8.60000000000000027e-92 or 2.40000000000000005e-178 < y1 < 1.4e142Initial program 34.4%
Taylor expanded in y0 around inf 46.2%
+-commutative46.2%
mul-1-neg46.2%
unsub-neg46.2%
*-commutative46.2%
*-commutative46.2%
*-commutative46.2%
*-commutative46.2%
Simplified46.2%
Taylor expanded in y5 around inf 42.2%
*-commutative42.2%
*-commutative42.2%
Simplified42.2%
if -8.60000000000000027e-92 < y1 < -7.3999999999999995e-157Initial program 57.0%
Taylor expanded in y2 around inf 50.4%
Taylor expanded in t around inf 50.6%
if -7.3999999999999995e-157 < y1 < -6.5000000000000003e-239 or 5.2e-284 < y1 < 2.40000000000000005e-178Initial program 30.0%
Taylor expanded in y0 around inf 37.0%
+-commutative37.0%
mul-1-neg37.0%
unsub-neg37.0%
*-commutative37.0%
*-commutative37.0%
*-commutative37.0%
*-commutative37.0%
Simplified37.0%
Taylor expanded in c around inf 45.2%
if -6.5000000000000003e-239 < y1 < 5.2e-284Initial program 36.7%
Taylor expanded in y0 around inf 63.2%
+-commutative63.2%
mul-1-neg63.2%
unsub-neg63.2%
*-commutative63.2%
*-commutative63.2%
*-commutative63.2%
*-commutative63.2%
Simplified63.2%
Taylor expanded in k around -inf 52.2%
+-commutative52.2%
mul-1-neg52.2%
unsub-neg52.2%
*-commutative52.2%
Simplified52.2%
if 5.5e231 < y1 Initial program 7.7%
Taylor expanded in y1 around inf 46.7%
distribute-lft-out--46.7%
*-commutative46.7%
*-commutative46.7%
*-commutative46.7%
Simplified46.7%
Taylor expanded in y4 around inf 69.7%
*-commutative69.7%
Simplified69.7%
Final simplification50.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y0 (- (* x y2) (* z y3)))))
(t_2 (* z (- y1)))
(t_3 (* j (* x (- (* i y1) (* b y0))))))
(if (<= y1 -3.8e+243)
(* k (* i t_2))
(if (<= y1 -4.6e+210)
t_3
(if (<= y1 -7e+185)
(* i (* k t_2))
(if (<= y1 -0.054)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= y1 -4.9e-119)
(* (* a b) (- (* x y) (* z t)))
(if (<= y1 -1.35e-214)
t_1
(if (<= y1 -2.15e-232)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y1 2.45e-278)
(* y0 (* k (- (* z b) (* y2 y5))))
(if (<= y1 9.6e-179)
t_1
(if (<= y1 5.4e+141)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y1 7.5e+230)
t_3
(* y1 (* y4 (- (* k y2) (* j y3)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y0 * ((x * y2) - (z * y3)));
double t_2 = z * -y1;
double t_3 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (y1 <= -3.8e+243) {
tmp = k * (i * t_2);
} else if (y1 <= -4.6e+210) {
tmp = t_3;
} else if (y1 <= -7e+185) {
tmp = i * (k * t_2);
} else if (y1 <= -0.054) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y1 <= -4.9e-119) {
tmp = (a * b) * ((x * y) - (z * t));
} else if (y1 <= -1.35e-214) {
tmp = t_1;
} else if (y1 <= -2.15e-232) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 2.45e-278) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (y1 <= 9.6e-179) {
tmp = t_1;
} else if (y1 <= 5.4e+141) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y1 <= 7.5e+230) {
tmp = t_3;
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = c * (y0 * ((x * y2) - (z * y3)))
t_2 = z * -y1
t_3 = j * (x * ((i * y1) - (b * y0)))
if (y1 <= (-3.8d+243)) then
tmp = k * (i * t_2)
else if (y1 <= (-4.6d+210)) then
tmp = t_3
else if (y1 <= (-7d+185)) then
tmp = i * (k * t_2)
else if (y1 <= (-0.054d0)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (y1 <= (-4.9d-119)) then
tmp = (a * b) * ((x * y) - (z * t))
else if (y1 <= (-1.35d-214)) then
tmp = t_1
else if (y1 <= (-2.15d-232)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y1 <= 2.45d-278) then
tmp = y0 * (k * ((z * b) - (y2 * y5)))
else if (y1 <= 9.6d-179) then
tmp = t_1
else if (y1 <= 5.4d+141) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y1 <= 7.5d+230) then
tmp = t_3
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y0 * ((x * y2) - (z * y3)));
double t_2 = z * -y1;
double t_3 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (y1 <= -3.8e+243) {
tmp = k * (i * t_2);
} else if (y1 <= -4.6e+210) {
tmp = t_3;
} else if (y1 <= -7e+185) {
tmp = i * (k * t_2);
} else if (y1 <= -0.054) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y1 <= -4.9e-119) {
tmp = (a * b) * ((x * y) - (z * t));
} else if (y1 <= -1.35e-214) {
tmp = t_1;
} else if (y1 <= -2.15e-232) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 2.45e-278) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (y1 <= 9.6e-179) {
tmp = t_1;
} else if (y1 <= 5.4e+141) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y1 <= 7.5e+230) {
tmp = t_3;
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y0 * ((x * y2) - (z * y3))) t_2 = z * -y1 t_3 = j * (x * ((i * y1) - (b * y0))) tmp = 0 if y1 <= -3.8e+243: tmp = k * (i * t_2) elif y1 <= -4.6e+210: tmp = t_3 elif y1 <= -7e+185: tmp = i * (k * t_2) elif y1 <= -0.054: tmp = x * (y2 * ((c * y0) - (a * y1))) elif y1 <= -4.9e-119: tmp = (a * b) * ((x * y) - (z * t)) elif y1 <= -1.35e-214: tmp = t_1 elif y1 <= -2.15e-232: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y1 <= 2.45e-278: tmp = y0 * (k * ((z * b) - (y2 * y5))) elif y1 <= 9.6e-179: tmp = t_1 elif y1 <= 5.4e+141: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y1 <= 7.5e+230: tmp = t_3 else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) t_2 = Float64(z * Float64(-y1)) t_3 = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) tmp = 0.0 if (y1 <= -3.8e+243) tmp = Float64(k * Float64(i * t_2)); elseif (y1 <= -4.6e+210) tmp = t_3; elseif (y1 <= -7e+185) tmp = Float64(i * Float64(k * t_2)); elseif (y1 <= -0.054) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (y1 <= -4.9e-119) tmp = Float64(Float64(a * b) * Float64(Float64(x * y) - Float64(z * t))); elseif (y1 <= -1.35e-214) tmp = t_1; elseif (y1 <= -2.15e-232) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y1 <= 2.45e-278) tmp = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))); elseif (y1 <= 9.6e-179) tmp = t_1; elseif (y1 <= 5.4e+141) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y1 <= 7.5e+230) tmp = t_3; else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y0 * ((x * y2) - (z * y3))); t_2 = z * -y1; t_3 = j * (x * ((i * y1) - (b * y0))); tmp = 0.0; if (y1 <= -3.8e+243) tmp = k * (i * t_2); elseif (y1 <= -4.6e+210) tmp = t_3; elseif (y1 <= -7e+185) tmp = i * (k * t_2); elseif (y1 <= -0.054) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (y1 <= -4.9e-119) tmp = (a * b) * ((x * y) - (z * t)); elseif (y1 <= -1.35e-214) tmp = t_1; elseif (y1 <= -2.15e-232) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y1 <= 2.45e-278) tmp = y0 * (k * ((z * b) - (y2 * y5))); elseif (y1 <= 9.6e-179) tmp = t_1; elseif (y1 <= 5.4e+141) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y1 <= 7.5e+230) tmp = t_3; else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * (-y1)), $MachinePrecision]}, Block[{t$95$3 = N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -3.8e+243], N[(k * N[(i * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4.6e+210], t$95$3, If[LessEqual[y1, -7e+185], N[(i * N[(k * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -0.054], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4.9e-119], N[(N[(a * b), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.35e-214], t$95$1, If[LessEqual[y1, -2.15e-232], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.45e-278], N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 9.6e-179], t$95$1, If[LessEqual[y1, 5.4e+141], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 7.5e+230], t$95$3, N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
t_2 := z \cdot \left(-y1\right)\\
t_3 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y1 \leq -3.8 \cdot 10^{+243}:\\
\;\;\;\;k \cdot \left(i \cdot t_2\right)\\
\mathbf{elif}\;y1 \leq -4.6 \cdot 10^{+210}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y1 \leq -7 \cdot 10^{+185}:\\
\;\;\;\;i \cdot \left(k \cdot t_2\right)\\
\mathbf{elif}\;y1 \leq -0.054:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y1 \leq -4.9 \cdot 10^{-119}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y - z \cdot t\right)\\
\mathbf{elif}\;y1 \leq -1.35 \cdot 10^{-214}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq -2.15 \cdot 10^{-232}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 2.45 \cdot 10^{-278}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq 9.6 \cdot 10^{-179}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq 5.4 \cdot 10^{+141}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 7.5 \cdot 10^{+230}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -3.79999999999999998e243Initial program 7.1%
Taylor expanded in y1 around inf 42.9%
distribute-lft-out--42.9%
*-commutative42.9%
*-commutative42.9%
*-commutative42.9%
Simplified42.9%
Taylor expanded in i around inf 44.3%
mul-1-neg44.3%
associate-*r*37.4%
distribute-lft-neg-in37.4%
Simplified37.4%
Taylor expanded in k around inf 57.8%
mul-1-neg57.8%
*-commutative57.8%
distribute-rgt-neg-in57.8%
*-commutative57.8%
Simplified57.8%
Taylor expanded in k around 0 57.8%
mul-1-neg57.8%
*-commutative57.8%
distribute-rgt-neg-in57.8%
associate-*r*64.5%
Simplified64.5%
if -3.79999999999999998e243 < y1 < -4.5999999999999998e210 or 5.4000000000000002e141 < y1 < 7.5000000000000004e230Initial program 31.7%
Taylor expanded in x around inf 50.3%
Taylor expanded in j around inf 59.8%
*-commutative59.8%
*-commutative59.8%
Simplified59.8%
if -4.5999999999999998e210 < y1 < -7.00000000000000046e185Initial program 20.0%
Taylor expanded in y1 around inf 20.0%
distribute-lft-out--20.0%
*-commutative20.0%
*-commutative20.0%
*-commutative20.0%
Simplified20.0%
Taylor expanded in i around inf 42.2%
mul-1-neg42.2%
associate-*r*42.9%
distribute-lft-neg-in42.9%
Simplified42.9%
Taylor expanded in k around inf 81.3%
mul-1-neg81.3%
*-commutative81.3%
distribute-rgt-neg-in81.3%
*-commutative81.3%
Simplified81.3%
if -7.00000000000000046e185 < y1 < -0.0539999999999999994Initial program 32.7%
Taylor expanded in y2 around inf 41.2%
Taylor expanded in x around inf 51.5%
*-commutative51.5%
Simplified51.5%
if -0.0539999999999999994 < y1 < -4.9e-119Initial program 42.2%
Taylor expanded in b around inf 30.2%
Taylor expanded in a around inf 30.0%
associate-*r*30.0%
*-commutative30.0%
Simplified30.0%
if -4.9e-119 < y1 < -1.35e-214 or 2.4500000000000001e-278 < y1 < 9.6000000000000002e-179Initial program 35.9%
Taylor expanded in y0 around inf 44.4%
+-commutative44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
*-commutative44.4%
*-commutative44.4%
*-commutative44.4%
Simplified44.4%
Taylor expanded in c around inf 50.2%
if -1.35e-214 < y1 < -2.1499999999999998e-232Initial program 25.0%
Taylor expanded in y2 around inf 52.2%
Taylor expanded in t around inf 52.6%
if -2.1499999999999998e-232 < y1 < 2.4500000000000001e-278Initial program 34.9%
Taylor expanded in y0 around inf 60.0%
+-commutative60.0%
mul-1-neg60.0%
unsub-neg60.0%
*-commutative60.0%
*-commutative60.0%
*-commutative60.0%
*-commutative60.0%
Simplified60.0%
Taylor expanded in k around -inf 49.6%
+-commutative49.6%
mul-1-neg49.6%
unsub-neg49.6%
*-commutative49.6%
Simplified49.6%
if 9.6000000000000002e-179 < y1 < 5.4000000000000002e141Initial program 32.6%
Taylor expanded in y0 around inf 53.8%
+-commutative53.8%
mul-1-neg53.8%
unsub-neg53.8%
*-commutative53.8%
*-commutative53.8%
*-commutative53.8%
*-commutative53.8%
Simplified53.8%
Taylor expanded in y5 around inf 46.5%
*-commutative46.5%
*-commutative46.5%
Simplified46.5%
if 7.5000000000000004e230 < y1 Initial program 7.7%
Taylor expanded in y1 around inf 46.7%
distribute-lft-out--46.7%
*-commutative46.7%
*-commutative46.7%
*-commutative46.7%
Simplified46.7%
Taylor expanded in y4 around inf 69.7%
*-commutative69.7%
Simplified69.7%
Final simplification51.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y0 -1.3e+176)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y0 -8e+47)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y0 -1.2e-37)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y0 -7.5e-79)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y0 -3.2e-138)
(* y1 (* y2 (- (* k y4) (* x a))))
(if (<= y0 -8.5e-206)
(* (* x y) (- (* a b) (* c i)))
(if (<= y0 1.02e-287)
(* a (* y1 (- (* z y3) (* x y2))))
(if (<= y0 2.3e-254)
(* (* a b) (- (* x y) (* z t)))
(if (<= y0 5.8e-58)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y0 1.3e+237)
(* (- (* x c) (* k y5)) (* y0 y2))
(if (<= y0 1.7e+291)
(* b (* x (- (* y a) (* j y0))))
(* k (* y2 (- (* y1 y4) (* y0 y5))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -1.3e+176) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y0 <= -8e+47) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -1.2e-37) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= -7.5e-79) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y0 <= -3.2e-138) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (y0 <= -8.5e-206) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 1.02e-287) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (y0 <= 2.3e-254) {
tmp = (a * b) * ((x * y) - (z * t));
} else if (y0 <= 5.8e-58) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y0 <= 1.3e+237) {
tmp = ((x * c) - (k * y5)) * (y0 * y2);
} else if (y0 <= 1.7e+291) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y0 <= (-1.3d+176)) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y0 <= (-8d+47)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y0 <= (-1.2d-37)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y0 <= (-7.5d-79)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y0 <= (-3.2d-138)) then
tmp = y1 * (y2 * ((k * y4) - (x * a)))
else if (y0 <= (-8.5d-206)) then
tmp = (x * y) * ((a * b) - (c * i))
else if (y0 <= 1.02d-287) then
tmp = a * (y1 * ((z * y3) - (x * y2)))
else if (y0 <= 2.3d-254) then
tmp = (a * b) * ((x * y) - (z * t))
else if (y0 <= 5.8d-58) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y0 <= 1.3d+237) then
tmp = ((x * c) - (k * y5)) * (y0 * y2)
else if (y0 <= 1.7d+291) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -1.3e+176) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y0 <= -8e+47) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y0 <= -1.2e-37) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= -7.5e-79) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y0 <= -3.2e-138) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (y0 <= -8.5e-206) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (y0 <= 1.02e-287) {
tmp = a * (y1 * ((z * y3) - (x * y2)));
} else if (y0 <= 2.3e-254) {
tmp = (a * b) * ((x * y) - (z * t));
} else if (y0 <= 5.8e-58) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y0 <= 1.3e+237) {
tmp = ((x * c) - (k * y5)) * (y0 * y2);
} else if (y0 <= 1.7e+291) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -1.3e+176: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y0 <= -8e+47: tmp = b * (y0 * ((z * k) - (x * j))) elif y0 <= -1.2e-37: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y0 <= -7.5e-79: tmp = b * (y4 * ((t * j) - (y * k))) elif y0 <= -3.2e-138: tmp = y1 * (y2 * ((k * y4) - (x * a))) elif y0 <= -8.5e-206: tmp = (x * y) * ((a * b) - (c * i)) elif y0 <= 1.02e-287: tmp = a * (y1 * ((z * y3) - (x * y2))) elif y0 <= 2.3e-254: tmp = (a * b) * ((x * y) - (z * t)) elif y0 <= 5.8e-58: tmp = i * (y1 * ((x * j) - (z * k))) elif y0 <= 1.3e+237: tmp = ((x * c) - (k * y5)) * (y0 * y2) elif y0 <= 1.7e+291: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -1.3e+176) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y0 <= -8e+47) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y0 <= -1.2e-37) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y0 <= -7.5e-79) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y0 <= -3.2e-138) tmp = Float64(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * a)))); elseif (y0 <= -8.5e-206) tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i))); elseif (y0 <= 1.02e-287) tmp = Float64(a * Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))); elseif (y0 <= 2.3e-254) tmp = Float64(Float64(a * b) * Float64(Float64(x * y) - Float64(z * t))); elseif (y0 <= 5.8e-58) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y0 <= 1.3e+237) tmp = Float64(Float64(Float64(x * c) - Float64(k * y5)) * Float64(y0 * y2)); elseif (y0 <= 1.7e+291) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y0 <= -1.3e+176) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y0 <= -8e+47) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y0 <= -1.2e-37) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y0 <= -7.5e-79) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y0 <= -3.2e-138) tmp = y1 * (y2 * ((k * y4) - (x * a))); elseif (y0 <= -8.5e-206) tmp = (x * y) * ((a * b) - (c * i)); elseif (y0 <= 1.02e-287) tmp = a * (y1 * ((z * y3) - (x * y2))); elseif (y0 <= 2.3e-254) tmp = (a * b) * ((x * y) - (z * t)); elseif (y0 <= 5.8e-58) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y0 <= 1.3e+237) tmp = ((x * c) - (k * y5)) * (y0 * y2); elseif (y0 <= 1.7e+291) tmp = b * (x * ((y * a) - (j * y0))); else tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -1.3e+176], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -8e+47], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.2e-37], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -7.5e-79], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -3.2e-138], N[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -8.5e-206], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.02e-287], N[(a * N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.3e-254], N[(N[(a * b), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.8e-58], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.3e+237], N[(N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.7e+291], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -1.3 \cdot 10^{+176}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq -8 \cdot 10^{+47}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq -1.2 \cdot 10^{-37}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq -7.5 \cdot 10^{-79}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y0 \leq -3.2 \cdot 10^{-138}:\\
\;\;\;\;y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\mathbf{elif}\;y0 \leq -8.5 \cdot 10^{-206}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\
\mathbf{elif}\;y0 \leq 1.02 \cdot 10^{-287}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 2.3 \cdot 10^{-254}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y - z \cdot t\right)\\
\mathbf{elif}\;y0 \leq 5.8 \cdot 10^{-58}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y0 \leq 1.3 \cdot 10^{+237}:\\
\;\;\;\;\left(x \cdot c - k \cdot y5\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;y0 \leq 1.7 \cdot 10^{+291}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y0 < -1.29999999999999995e176Initial program 40.0%
Taylor expanded in y0 around inf 73.5%
+-commutative73.5%
mul-1-neg73.5%
unsub-neg73.5%
*-commutative73.5%
*-commutative73.5%
*-commutative73.5%
*-commutative73.5%
Simplified73.5%
Taylor expanded in y5 around inf 77.0%
*-commutative77.0%
*-commutative77.0%
Simplified77.0%
if -1.29999999999999995e176 < y0 < -8.0000000000000004e47Initial program 15.3%
Taylor expanded in b around inf 46.6%
Taylor expanded in y0 around inf 47.1%
if -8.0000000000000004e47 < y0 < -1.19999999999999995e-37Initial program 42.4%
Taylor expanded in y2 around inf 54.4%
Taylor expanded in t around inf 50.8%
if -1.19999999999999995e-37 < y0 < -7.49999999999999969e-79Initial program 30.6%
Taylor expanded in b around inf 46.3%
Taylor expanded in y4 around inf 46.4%
if -7.49999999999999969e-79 < y0 < -3.2000000000000001e-138Initial program 17.1%
Taylor expanded in y2 around inf 51.0%
Taylor expanded in y1 around inf 59.2%
+-commutative59.2%
mul-1-neg59.2%
unsub-neg59.2%
Simplified59.2%
if -3.2000000000000001e-138 < y0 < -8.5000000000000005e-206Initial program 41.5%
Taylor expanded in x around inf 68.6%
Taylor expanded in y around inf 51.8%
associate-*r*51.8%
*-commutative51.8%
Simplified51.8%
if -8.5000000000000005e-206 < y0 < 1.01999999999999999e-287Initial program 22.6%
Taylor expanded in y1 around inf 32.8%
distribute-lft-out--32.8%
*-commutative32.8%
*-commutative32.8%
*-commutative32.8%
Simplified32.8%
Taylor expanded in a around inf 37.2%
mul-1-neg37.2%
*-commutative37.2%
Simplified37.2%
if 1.01999999999999999e-287 < y0 < 2.2999999999999999e-254Initial program 36.6%
Taylor expanded in b around inf 50.6%
Taylor expanded in a around inf 64.8%
associate-*r*56.0%
*-commutative56.0%
Simplified56.0%
if 2.2999999999999999e-254 < y0 < 5.7999999999999998e-58Initial program 60.6%
Taylor expanded in y1 around inf 42.9%
distribute-lft-out--42.9%
*-commutative42.9%
*-commutative42.9%
*-commutative42.9%
Simplified42.9%
Taylor expanded in i around -inf 47.8%
if 5.7999999999999998e-58 < y0 < 1.30000000000000001e237Initial program 19.3%
Taylor expanded in y2 around inf 44.2%
Taylor expanded in y0 around inf 41.3%
associate-*r*41.3%
+-commutative41.3%
mul-1-neg41.3%
unsub-neg41.3%
*-commutative41.3%
*-commutative41.3%
Simplified41.3%
if 1.30000000000000001e237 < y0 < 1.70000000000000012e291Initial program 27.3%
Taylor expanded in b around inf 27.7%
Taylor expanded in x around inf 73.3%
*-commutative73.3%
Simplified73.3%
if 1.70000000000000012e291 < y0 Initial program 0.0%
Taylor expanded in y2 around inf 33.3%
Taylor expanded in k around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Final simplification51.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y0 (- (* x y2) (* z y3)))))
(t_2 (* z (- y1)))
(t_3 (* x (* y1 (- (* i j) (* a y2))))))
(if (<= y1 -3.8e+243)
(* k (* i t_2))
(if (<= y1 -1.95e+208)
t_3
(if (<= y1 -1.35e+188)
(* i (* k t_2))
(if (<= y1 -0.055)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= y1 -2.25e-119)
(* (* a b) (- (* x y) (* z t)))
(if (<= y1 -2.55e-209)
t_1
(if (<= y1 -2.45e-231)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y1 2.8e-279)
(* y0 (* k (- (* z b) (* y2 y5))))
(if (<= y1 1.8e-173)
t_1
(if (<= y1 2.35e+232)
t_3
(* y1 (* y4 (- (* k y2) (* j y3))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y0 * ((x * y2) - (z * y3)));
double t_2 = z * -y1;
double t_3 = x * (y1 * ((i * j) - (a * y2)));
double tmp;
if (y1 <= -3.8e+243) {
tmp = k * (i * t_2);
} else if (y1 <= -1.95e+208) {
tmp = t_3;
} else if (y1 <= -1.35e+188) {
tmp = i * (k * t_2);
} else if (y1 <= -0.055) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y1 <= -2.25e-119) {
tmp = (a * b) * ((x * y) - (z * t));
} else if (y1 <= -2.55e-209) {
tmp = t_1;
} else if (y1 <= -2.45e-231) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 2.8e-279) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (y1 <= 1.8e-173) {
tmp = t_1;
} else if (y1 <= 2.35e+232) {
tmp = t_3;
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = c * (y0 * ((x * y2) - (z * y3)))
t_2 = z * -y1
t_3 = x * (y1 * ((i * j) - (a * y2)))
if (y1 <= (-3.8d+243)) then
tmp = k * (i * t_2)
else if (y1 <= (-1.95d+208)) then
tmp = t_3
else if (y1 <= (-1.35d+188)) then
tmp = i * (k * t_2)
else if (y1 <= (-0.055d0)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (y1 <= (-2.25d-119)) then
tmp = (a * b) * ((x * y) - (z * t))
else if (y1 <= (-2.55d-209)) then
tmp = t_1
else if (y1 <= (-2.45d-231)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y1 <= 2.8d-279) then
tmp = y0 * (k * ((z * b) - (y2 * y5)))
else if (y1 <= 1.8d-173) then
tmp = t_1
else if (y1 <= 2.35d+232) then
tmp = t_3
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y0 * ((x * y2) - (z * y3)));
double t_2 = z * -y1;
double t_3 = x * (y1 * ((i * j) - (a * y2)));
double tmp;
if (y1 <= -3.8e+243) {
tmp = k * (i * t_2);
} else if (y1 <= -1.95e+208) {
tmp = t_3;
} else if (y1 <= -1.35e+188) {
tmp = i * (k * t_2);
} else if (y1 <= -0.055) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y1 <= -2.25e-119) {
tmp = (a * b) * ((x * y) - (z * t));
} else if (y1 <= -2.55e-209) {
tmp = t_1;
} else if (y1 <= -2.45e-231) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 2.8e-279) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (y1 <= 1.8e-173) {
tmp = t_1;
} else if (y1 <= 2.35e+232) {
tmp = t_3;
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y0 * ((x * y2) - (z * y3))) t_2 = z * -y1 t_3 = x * (y1 * ((i * j) - (a * y2))) tmp = 0 if y1 <= -3.8e+243: tmp = k * (i * t_2) elif y1 <= -1.95e+208: tmp = t_3 elif y1 <= -1.35e+188: tmp = i * (k * t_2) elif y1 <= -0.055: tmp = x * (y2 * ((c * y0) - (a * y1))) elif y1 <= -2.25e-119: tmp = (a * b) * ((x * y) - (z * t)) elif y1 <= -2.55e-209: tmp = t_1 elif y1 <= -2.45e-231: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y1 <= 2.8e-279: tmp = y0 * (k * ((z * b) - (y2 * y5))) elif y1 <= 1.8e-173: tmp = t_1 elif y1 <= 2.35e+232: tmp = t_3 else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) t_2 = Float64(z * Float64(-y1)) t_3 = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))) tmp = 0.0 if (y1 <= -3.8e+243) tmp = Float64(k * Float64(i * t_2)); elseif (y1 <= -1.95e+208) tmp = t_3; elseif (y1 <= -1.35e+188) tmp = Float64(i * Float64(k * t_2)); elseif (y1 <= -0.055) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (y1 <= -2.25e-119) tmp = Float64(Float64(a * b) * Float64(Float64(x * y) - Float64(z * t))); elseif (y1 <= -2.55e-209) tmp = t_1; elseif (y1 <= -2.45e-231) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y1 <= 2.8e-279) tmp = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))); elseif (y1 <= 1.8e-173) tmp = t_1; elseif (y1 <= 2.35e+232) tmp = t_3; else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y0 * ((x * y2) - (z * y3))); t_2 = z * -y1; t_3 = x * (y1 * ((i * j) - (a * y2))); tmp = 0.0; if (y1 <= -3.8e+243) tmp = k * (i * t_2); elseif (y1 <= -1.95e+208) tmp = t_3; elseif (y1 <= -1.35e+188) tmp = i * (k * t_2); elseif (y1 <= -0.055) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (y1 <= -2.25e-119) tmp = (a * b) * ((x * y) - (z * t)); elseif (y1 <= -2.55e-209) tmp = t_1; elseif (y1 <= -2.45e-231) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y1 <= 2.8e-279) tmp = y0 * (k * ((z * b) - (y2 * y5))); elseif (y1 <= 1.8e-173) tmp = t_1; elseif (y1 <= 2.35e+232) tmp = t_3; else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * (-y1)), $MachinePrecision]}, Block[{t$95$3 = N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -3.8e+243], N[(k * N[(i * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.95e+208], t$95$3, If[LessEqual[y1, -1.35e+188], N[(i * N[(k * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -0.055], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.25e-119], N[(N[(a * b), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.55e-209], t$95$1, If[LessEqual[y1, -2.45e-231], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.8e-279], N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.8e-173], t$95$1, If[LessEqual[y1, 2.35e+232], t$95$3, N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
t_2 := z \cdot \left(-y1\right)\\
t_3 := x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{if}\;y1 \leq -3.8 \cdot 10^{+243}:\\
\;\;\;\;k \cdot \left(i \cdot t_2\right)\\
\mathbf{elif}\;y1 \leq -1.95 \cdot 10^{+208}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y1 \leq -1.35 \cdot 10^{+188}:\\
\;\;\;\;i \cdot \left(k \cdot t_2\right)\\
\mathbf{elif}\;y1 \leq -0.055:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y1 \leq -2.25 \cdot 10^{-119}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(x \cdot y - z \cdot t\right)\\
\mathbf{elif}\;y1 \leq -2.55 \cdot 10^{-209}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq -2.45 \cdot 10^{-231}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 2.8 \cdot 10^{-279}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq 1.8 \cdot 10^{-173}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq 2.35 \cdot 10^{+232}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -3.79999999999999998e243Initial program 7.1%
Taylor expanded in y1 around inf 42.9%
distribute-lft-out--42.9%
*-commutative42.9%
*-commutative42.9%
*-commutative42.9%
Simplified42.9%
Taylor expanded in i around inf 44.3%
mul-1-neg44.3%
associate-*r*37.4%
distribute-lft-neg-in37.4%
Simplified37.4%
Taylor expanded in k around inf 57.8%
mul-1-neg57.8%
*-commutative57.8%
distribute-rgt-neg-in57.8%
*-commutative57.8%
Simplified57.8%
Taylor expanded in k around 0 57.8%
mul-1-neg57.8%
*-commutative57.8%
distribute-rgt-neg-in57.8%
associate-*r*64.5%
Simplified64.5%
if -3.79999999999999998e243 < y1 < -1.95e208 or 1.79999999999999986e-173 < y1 < 2.34999999999999996e232Initial program 33.2%
Taylor expanded in y1 around inf 45.6%
distribute-lft-out--45.6%
*-commutative45.6%
*-commutative45.6%
*-commutative45.6%
Simplified45.6%
Taylor expanded in x around inf 46.4%
mul-1-neg46.4%
*-commutative46.4%
*-commutative46.4%
Simplified46.4%
if -1.95e208 < y1 < -1.35e188Initial program 20.0%
Taylor expanded in y1 around inf 20.0%
distribute-lft-out--20.0%
*-commutative20.0%
*-commutative20.0%
*-commutative20.0%
Simplified20.0%
Taylor expanded in i around inf 42.2%
mul-1-neg42.2%
associate-*r*42.9%
distribute-lft-neg-in42.9%
Simplified42.9%
Taylor expanded in k around inf 81.3%
mul-1-neg81.3%
*-commutative81.3%
distribute-rgt-neg-in81.3%
*-commutative81.3%
Simplified81.3%
if -1.35e188 < y1 < -0.0550000000000000003Initial program 32.7%
Taylor expanded in y2 around inf 41.2%
Taylor expanded in x around inf 51.5%
*-commutative51.5%
Simplified51.5%
if -0.0550000000000000003 < y1 < -2.2500000000000001e-119Initial program 42.2%
Taylor expanded in b around inf 30.2%
Taylor expanded in a around inf 30.0%
associate-*r*30.0%
*-commutative30.0%
Simplified30.0%
if -2.2500000000000001e-119 < y1 < -2.5499999999999998e-209 or 2.8000000000000001e-279 < y1 < 1.79999999999999986e-173Initial program 34.6%
Taylor expanded in y0 around inf 46.4%
+-commutative46.4%
mul-1-neg46.4%
unsub-neg46.4%
*-commutative46.4%
*-commutative46.4%
*-commutative46.4%
*-commutative46.4%
Simplified46.4%
Taylor expanded in c around inf 50.2%
if -2.5499999999999998e-209 < y1 < -2.45000000000000002e-231Initial program 25.0%
Taylor expanded in y2 around inf 52.2%
Taylor expanded in t around inf 52.6%
if -2.45000000000000002e-231 < y1 < 2.8000000000000001e-279Initial program 34.9%
Taylor expanded in y0 around inf 60.0%
+-commutative60.0%
mul-1-neg60.0%
unsub-neg60.0%
*-commutative60.0%
*-commutative60.0%
*-commutative60.0%
*-commutative60.0%
Simplified60.0%
Taylor expanded in k around -inf 49.6%
+-commutative49.6%
mul-1-neg49.6%
unsub-neg49.6%
*-commutative49.6%
Simplified49.6%
if 2.34999999999999996e232 < y1 Initial program 7.7%
Taylor expanded in y1 around inf 46.7%
distribute-lft-out--46.7%
*-commutative46.7%
*-commutative46.7%
*-commutative46.7%
Simplified46.7%
Taylor expanded in y4 around inf 69.7%
*-commutative69.7%
Simplified69.7%
Final simplification49.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y2 (- (* c y0) (* a y1))))
(t_2 (* y0 (* k (- (* z b) (* y2 y5))))))
(if (<= a -2.5e+225)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= a -5.8e+182)
(* (- (* t y2) (* y y3)) (* a y5))
(if (<= a -1.6e-11)
(* x (+ (* y (- (* a b) (* c i))) t_1))
(if (<= a -1.92e-218)
t_2
(if (<= a -5e-259)
(* i (* x (- (* j y1) (* y c))))
(if (<= a -1.55e-304)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= a 1.1e-158)
(* b (* k (- (* z y0) (* y y4))))
(if (<= a 1.7e+22)
(* (* i y5) (- (* y k) (* t j)))
(if (<= a 1.15e+103)
(* y3 (* y5 (- (* j y0) (* y a))))
(if (<= a 1.3e+173) t_2 (* x 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 = y2 * ((c * y0) - (a * y1));
double t_2 = y0 * (k * ((z * b) - (y2 * y5)));
double tmp;
if (a <= -2.5e+225) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (a <= -5.8e+182) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else if (a <= -1.6e-11) {
tmp = x * ((y * ((a * b) - (c * i))) + t_1);
} else if (a <= -1.92e-218) {
tmp = t_2;
} else if (a <= -5e-259) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -1.55e-304) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 1.1e-158) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (a <= 1.7e+22) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (a <= 1.15e+103) {
tmp = y3 * (y5 * ((j * y0) - (y * a)));
} else if (a <= 1.3e+173) {
tmp = t_2;
} else {
tmp = x * t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = y2 * ((c * y0) - (a * y1))
t_2 = y0 * (k * ((z * b) - (y2 * y5)))
if (a <= (-2.5d+225)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (a <= (-5.8d+182)) then
tmp = ((t * y2) - (y * y3)) * (a * y5)
else if (a <= (-1.6d-11)) then
tmp = x * ((y * ((a * b) - (c * i))) + t_1)
else if (a <= (-1.92d-218)) then
tmp = t_2
else if (a <= (-5d-259)) then
tmp = i * (x * ((j * y1) - (y * c)))
else if (a <= (-1.55d-304)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (a <= 1.1d-158) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (a <= 1.7d+22) then
tmp = (i * y5) * ((y * k) - (t * j))
else if (a <= 1.15d+103) then
tmp = y3 * (y5 * ((j * y0) - (y * a)))
else if (a <= 1.3d+173) then
tmp = t_2
else
tmp = x * 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 = y2 * ((c * y0) - (a * y1));
double t_2 = y0 * (k * ((z * b) - (y2 * y5)));
double tmp;
if (a <= -2.5e+225) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (a <= -5.8e+182) {
tmp = ((t * y2) - (y * y3)) * (a * y5);
} else if (a <= -1.6e-11) {
tmp = x * ((y * ((a * b) - (c * i))) + t_1);
} else if (a <= -1.92e-218) {
tmp = t_2;
} else if (a <= -5e-259) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -1.55e-304) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (a <= 1.1e-158) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (a <= 1.7e+22) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (a <= 1.15e+103) {
tmp = y3 * (y5 * ((j * y0) - (y * a)));
} else if (a <= 1.3e+173) {
tmp = t_2;
} else {
tmp = x * t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y2 * ((c * y0) - (a * y1)) t_2 = y0 * (k * ((z * b) - (y2 * y5))) tmp = 0 if a <= -2.5e+225: tmp = x * (y1 * ((i * j) - (a * y2))) elif a <= -5.8e+182: tmp = ((t * y2) - (y * y3)) * (a * y5) elif a <= -1.6e-11: tmp = x * ((y * ((a * b) - (c * i))) + t_1) elif a <= -1.92e-218: tmp = t_2 elif a <= -5e-259: tmp = i * (x * ((j * y1) - (y * c))) elif a <= -1.55e-304: tmp = c * (y0 * ((x * y2) - (z * y3))) elif a <= 1.1e-158: tmp = b * (k * ((z * y0) - (y * y4))) elif a <= 1.7e+22: tmp = (i * y5) * ((y * k) - (t * j)) elif a <= 1.15e+103: tmp = y3 * (y5 * ((j * y0) - (y * a))) elif a <= 1.3e+173: tmp = t_2 else: tmp = x * 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(y2 * Float64(Float64(c * y0) - Float64(a * y1))) t_2 = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))) tmp = 0.0 if (a <= -2.5e+225) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (a <= -5.8e+182) tmp = Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(a * y5)); elseif (a <= -1.6e-11) tmp = Float64(x * Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + t_1)); elseif (a <= -1.92e-218) tmp = t_2; elseif (a <= -5e-259) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); elseif (a <= -1.55e-304) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (a <= 1.1e-158) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (a <= 1.7e+22) tmp = Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))); elseif (a <= 1.15e+103) tmp = Float64(y3 * Float64(y5 * Float64(Float64(j * y0) - Float64(y * a)))); elseif (a <= 1.3e+173) tmp = t_2; else tmp = Float64(x * 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 = y2 * ((c * y0) - (a * y1)); t_2 = y0 * (k * ((z * b) - (y2 * y5))); tmp = 0.0; if (a <= -2.5e+225) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (a <= -5.8e+182) tmp = ((t * y2) - (y * y3)) * (a * y5); elseif (a <= -1.6e-11) tmp = x * ((y * ((a * b) - (c * i))) + t_1); elseif (a <= -1.92e-218) tmp = t_2; elseif (a <= -5e-259) tmp = i * (x * ((j * y1) - (y * c))); elseif (a <= -1.55e-304) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (a <= 1.1e-158) tmp = b * (k * ((z * y0) - (y * y4))); elseif (a <= 1.7e+22) tmp = (i * y5) * ((y * k) - (t * j)); elseif (a <= 1.15e+103) tmp = y3 * (y5 * ((j * y0) - (y * a))); elseif (a <= 1.3e+173) tmp = t_2; else tmp = x * 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[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.5e+225], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.8e+182], N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(a * y5), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.6e-11], N[(x * N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.92e-218], t$95$2, If[LessEqual[a, -5e-259], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.55e-304], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.1e-158], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.7e+22], N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.15e+103], N[(y3 * N[(y5 * N[(N[(j * y0), $MachinePrecision] - N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.3e+173], t$95$2, N[(x * t$95$1), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\\
t_2 := y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{if}\;a \leq -2.5 \cdot 10^{+225}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq -5.8 \cdot 10^{+182}:\\
\;\;\;\;\left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5\right)\\
\mathbf{elif}\;a \leq -1.6 \cdot 10^{-11}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right) + t_1\right)\\
\mathbf{elif}\;a \leq -1.92 \cdot 10^{-218}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;a \leq -5 \cdot 10^{-259}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{elif}\;a \leq -1.55 \cdot 10^{-304}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 1.1 \cdot 10^{-158}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 1.7 \cdot 10^{+22}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right)\\
\mathbf{elif}\;a \leq 1.15 \cdot 10^{+103}:\\
\;\;\;\;y3 \cdot \left(y5 \cdot \left(j \cdot y0 - y \cdot a\right)\right)\\
\mathbf{elif}\;a \leq 1.3 \cdot 10^{+173}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;x \cdot t_1\\
\end{array}
\end{array}
if a < -2.4999999999999999e225Initial program 10.3%
Taylor expanded in y1 around inf 23.9%
distribute-lft-out--23.9%
*-commutative23.9%
*-commutative23.9%
*-commutative23.9%
Simplified23.9%
Taylor expanded in x around inf 60.1%
mul-1-neg60.1%
*-commutative60.1%
*-commutative60.1%
Simplified60.1%
if -2.4999999999999999e225 < a < -5.7999999999999997e182Initial program 12.5%
Taylor expanded in y5 around -inf 62.5%
Taylor expanded in a around inf 76.5%
associate-*r*88.3%
*-commutative88.3%
*-commutative88.3%
*-commutative88.3%
Simplified88.3%
if -5.7999999999999997e182 < a < -1.59999999999999997e-11Initial program 37.1%
Taylor expanded in x around inf 45.0%
Taylor expanded in j around 0 49.6%
if -1.59999999999999997e-11 < a < -1.92000000000000011e-218 or 1.15000000000000004e103 < a < 1.2999999999999999e173Initial program 31.4%
Taylor expanded in y0 around inf 49.3%
+-commutative49.3%
mul-1-neg49.3%
unsub-neg49.3%
*-commutative49.3%
*-commutative49.3%
*-commutative49.3%
*-commutative49.3%
Simplified49.3%
Taylor expanded in k around -inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
*-commutative48.1%
Simplified48.1%
if -1.92000000000000011e-218 < a < -4.99999999999999977e-259Initial program 55.6%
Taylor expanded in i around -inf 66.6%
Taylor expanded in x around inf 78.0%
*-commutative78.0%
Simplified78.0%
if -4.99999999999999977e-259 < a < -1.54999999999999992e-304Initial program 36.4%
Taylor expanded in y0 around inf 64.1%
+-commutative64.1%
mul-1-neg64.1%
unsub-neg64.1%
*-commutative64.1%
*-commutative64.1%
*-commutative64.1%
*-commutative64.1%
Simplified64.1%
Taylor expanded in c around inf 73.2%
if -1.54999999999999992e-304 < a < 1.1000000000000001e-158Initial program 36.7%
Taylor expanded in b around inf 48.8%
Taylor expanded in k around inf 48.9%
distribute-lft-out--48.9%
Simplified48.9%
if 1.1000000000000001e-158 < a < 1.7e22Initial program 27.1%
Taylor expanded in y5 around -inf 44.8%
Taylor expanded in i around inf 47.4%
cancel-sign-sub-inv47.4%
fma-udef47.4%
associate-*r*50.6%
fma-udef50.6%
cancel-sign-sub-inv50.6%
Simplified50.6%
if 1.7e22 < a < 1.15000000000000004e103Initial program 33.2%
Taylor expanded in y5 around -inf 53.3%
Taylor expanded in y3 around inf 53.5%
distribute-lft-out--53.5%
*-commutative53.5%
Simplified53.5%
if 1.2999999999999999e173 < a Initial program 27.9%
Taylor expanded in y2 around inf 44.2%
Taylor expanded in x around inf 64.3%
*-commutative64.3%
Simplified64.3%
Final simplification55.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y0 (- (* z k) (* x j)))))
(t_2 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= b -1.65e+169)
t_1
(if (<= b -1.15e+46)
(* b (* y4 (- (* t j) (* y k))))
(if (<= b -1.7e+26)
t_1
(if (<= b -34.0)
t_2
(if (<= b 4.5e-294)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= b 5e-254)
t_2
(if (<= b 4.15e-199)
t_1
(if (<= b 7.5e+109)
(* t (* y2 (- (* a y5) (* c y4))))
(* b (* x (- (* y a) (* j y0))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (b <= -1.65e+169) {
tmp = t_1;
} else if (b <= -1.15e+46) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (b <= -1.7e+26) {
tmp = t_1;
} else if (b <= -34.0) {
tmp = t_2;
} else if (b <= 4.5e-294) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= 5e-254) {
tmp = t_2;
} else if (b <= 4.15e-199) {
tmp = t_1;
} else if (b <= 7.5e+109) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (y0 * ((z * k) - (x * j)))
t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)))
if (b <= (-1.65d+169)) then
tmp = t_1
else if (b <= (-1.15d+46)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (b <= (-1.7d+26)) then
tmp = t_1
else if (b <= (-34.0d0)) then
tmp = t_2
else if (b <= 4.5d-294) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (b <= 5d-254) then
tmp = t_2
else if (b <= 4.15d-199) then
tmp = t_1
else if (b <= 7.5d+109) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (b <= -1.65e+169) {
tmp = t_1;
} else if (b <= -1.15e+46) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (b <= -1.7e+26) {
tmp = t_1;
} else if (b <= -34.0) {
tmp = t_2;
} else if (b <= 4.5e-294) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= 5e-254) {
tmp = t_2;
} else if (b <= 4.15e-199) {
tmp = t_1;
} else if (b <= 7.5e+109) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y0 * ((z * k) - (x * j))) t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if b <= -1.65e+169: tmp = t_1 elif b <= -1.15e+46: tmp = b * (y4 * ((t * j) - (y * k))) elif b <= -1.7e+26: tmp = t_1 elif b <= -34.0: tmp = t_2 elif b <= 4.5e-294: tmp = c * (y0 * ((x * y2) - (z * y3))) elif b <= 5e-254: tmp = t_2 elif b <= 4.15e-199: tmp = t_1 elif b <= 7.5e+109: tmp = t * (y2 * ((a * y5) - (c * y4))) else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_2 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (b <= -1.65e+169) tmp = t_1; elseif (b <= -1.15e+46) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (b <= -1.7e+26) tmp = t_1; elseif (b <= -34.0) tmp = t_2; elseif (b <= 4.5e-294) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (b <= 5e-254) tmp = t_2; elseif (b <= 4.15e-199) tmp = t_1; elseif (b <= 7.5e+109) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y0 * ((z * k) - (x * j))); t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (b <= -1.65e+169) tmp = t_1; elseif (b <= -1.15e+46) tmp = b * (y4 * ((t * j) - (y * k))); elseif (b <= -1.7e+26) tmp = t_1; elseif (b <= -34.0) tmp = t_2; elseif (b <= 4.5e-294) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (b <= 5e-254) tmp = t_2; elseif (b <= 4.15e-199) tmp = t_1; elseif (b <= 7.5e+109) tmp = t * (y2 * ((a * y5) - (c * y4))); else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.65e+169], t$95$1, If[LessEqual[b, -1.15e+46], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.7e+26], t$95$1, If[LessEqual[b, -34.0], t$95$2, If[LessEqual[b, 4.5e-294], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 5e-254], t$95$2, If[LessEqual[b, 4.15e-199], t$95$1, If[LessEqual[b, 7.5e+109], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_2 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;b \leq -1.65 \cdot 10^{+169}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq -1.15 \cdot 10^{+46}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;b \leq -1.7 \cdot 10^{+26}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq -34:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq 4.5 \cdot 10^{-294}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq 5 \cdot 10^{-254}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq 4.15 \cdot 10^{-199}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq 7.5 \cdot 10^{+109}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if b < -1.6499999999999998e169 or -1.15e46 < b < -1.7000000000000001e26 or 5.0000000000000003e-254 < b < 4.1499999999999999e-199Initial program 27.7%
Taylor expanded in b around inf 57.9%
Taylor expanded in y0 around inf 54.2%
if -1.6499999999999998e169 < b < -1.15e46Initial program 44.3%
Taylor expanded in b around inf 28.5%
Taylor expanded in y4 around inf 40.1%
if -1.7000000000000001e26 < b < -34 or 4.49999999999999981e-294 < b < 5.0000000000000003e-254Initial program 15.0%
Taylor expanded in y2 around inf 45.3%
Taylor expanded in k around inf 60.7%
*-commutative60.7%
*-commutative60.7%
Simplified60.7%
if -34 < b < 4.49999999999999981e-294Initial program 38.5%
Taylor expanded in y0 around inf 46.1%
+-commutative46.1%
mul-1-neg46.1%
unsub-neg46.1%
*-commutative46.1%
*-commutative46.1%
*-commutative46.1%
*-commutative46.1%
Simplified46.1%
Taylor expanded in c around inf 39.5%
if 4.1499999999999999e-199 < b < 7.50000000000000018e109Initial program 33.3%
Taylor expanded in y2 around inf 43.7%
Taylor expanded in t around inf 42.1%
if 7.50000000000000018e109 < b Initial program 24.6%
Taylor expanded in b around inf 57.7%
Taylor expanded in x around inf 42.5%
*-commutative42.5%
Simplified42.5%
Final simplification45.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y0 (- (* z k) (* x j)))))
(t_2 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= b -2.8e+169)
t_1
(if (<= b -1e+40)
(* b (* y4 (- (* t j) (* y k))))
(if (<= b -4.3e+27)
t_1
(if (<= b -0.245)
t_2
(if (<= b 5e-294)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= b 1.9e-262)
t_2
(if (<= b 4.5e-199)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= b 1.9e+110)
(* t (* y2 (- (* a y5) (* c y4))))
(* b (* x (- (* y a) (* j y0))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (b <= -2.8e+169) {
tmp = t_1;
} else if (b <= -1e+40) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (b <= -4.3e+27) {
tmp = t_1;
} else if (b <= -0.245) {
tmp = t_2;
} else if (b <= 5e-294) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= 1.9e-262) {
tmp = t_2;
} else if (b <= 4.5e-199) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (b <= 1.9e+110) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (y0 * ((z * k) - (x * j)))
t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)))
if (b <= (-2.8d+169)) then
tmp = t_1
else if (b <= (-1d+40)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (b <= (-4.3d+27)) then
tmp = t_1
else if (b <= (-0.245d0)) then
tmp = t_2
else if (b <= 5d-294) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (b <= 1.9d-262) then
tmp = t_2
else if (b <= 4.5d-199) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (b <= 1.9d+110) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (b <= -2.8e+169) {
tmp = t_1;
} else if (b <= -1e+40) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (b <= -4.3e+27) {
tmp = t_1;
} else if (b <= -0.245) {
tmp = t_2;
} else if (b <= 5e-294) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= 1.9e-262) {
tmp = t_2;
} else if (b <= 4.5e-199) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (b <= 1.9e+110) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y0 * ((z * k) - (x * j))) t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if b <= -2.8e+169: tmp = t_1 elif b <= -1e+40: tmp = b * (y4 * ((t * j) - (y * k))) elif b <= -4.3e+27: tmp = t_1 elif b <= -0.245: tmp = t_2 elif b <= 5e-294: tmp = c * (y0 * ((x * y2) - (z * y3))) elif b <= 1.9e-262: tmp = t_2 elif b <= 4.5e-199: tmp = x * (y2 * ((c * y0) - (a * y1))) elif b <= 1.9e+110: tmp = t * (y2 * ((a * y5) - (c * y4))) else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_2 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (b <= -2.8e+169) tmp = t_1; elseif (b <= -1e+40) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (b <= -4.3e+27) tmp = t_1; elseif (b <= -0.245) tmp = t_2; elseif (b <= 5e-294) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (b <= 1.9e-262) tmp = t_2; elseif (b <= 4.5e-199) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (b <= 1.9e+110) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y0 * ((z * k) - (x * j))); t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (b <= -2.8e+169) tmp = t_1; elseif (b <= -1e+40) tmp = b * (y4 * ((t * j) - (y * k))); elseif (b <= -4.3e+27) tmp = t_1; elseif (b <= -0.245) tmp = t_2; elseif (b <= 5e-294) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (b <= 1.9e-262) tmp = t_2; elseif (b <= 4.5e-199) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (b <= 1.9e+110) tmp = t * (y2 * ((a * y5) - (c * y4))); else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.8e+169], t$95$1, If[LessEqual[b, -1e+40], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4.3e+27], t$95$1, If[LessEqual[b, -0.245], t$95$2, If[LessEqual[b, 5e-294], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.9e-262], t$95$2, If[LessEqual[b, 4.5e-199], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.9e+110], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_2 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;b \leq -2.8 \cdot 10^{+169}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq -1 \cdot 10^{+40}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;b \leq -4.3 \cdot 10^{+27}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq -0.245:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq 5 \cdot 10^{-294}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq 1.9 \cdot 10^{-262}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq 4.5 \cdot 10^{-199}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;b \leq 1.9 \cdot 10^{+110}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if b < -2.8000000000000002e169 or -1.00000000000000003e40 < b < -4.30000000000000008e27Initial program 21.3%
Taylor expanded in b around inf 69.4%
Taylor expanded in y0 around inf 57.5%
if -2.8000000000000002e169 < b < -1.00000000000000003e40Initial program 44.3%
Taylor expanded in b around inf 28.5%
Taylor expanded in y4 around inf 40.1%
if -4.30000000000000008e27 < b < -0.245 or 5.0000000000000003e-294 < b < 1.9000000000000001e-262Initial program 17.7%
Taylor expanded in y2 around inf 47.4%
Taylor expanded in k around inf 65.5%
*-commutative65.5%
*-commutative65.5%
Simplified65.5%
if -0.245 < b < 5.0000000000000003e-294Initial program 38.5%
Taylor expanded in y0 around inf 46.1%
+-commutative46.1%
mul-1-neg46.1%
unsub-neg46.1%
*-commutative46.1%
*-commutative46.1%
*-commutative46.1%
*-commutative46.1%
Simplified46.1%
Taylor expanded in c around inf 39.5%
if 1.9000000000000001e-262 < b < 4.49999999999999998e-199Initial program 40.0%
Taylor expanded in y2 around inf 40.5%
Taylor expanded in x around inf 40.9%
*-commutative40.9%
Simplified40.9%
if 4.49999999999999998e-199 < b < 1.89999999999999994e110Initial program 33.3%
Taylor expanded in y2 around inf 43.7%
Taylor expanded in t around inf 42.1%
if 1.89999999999999994e110 < b Initial program 24.6%
Taylor expanded in b around inf 57.7%
Taylor expanded in x around inf 42.5%
*-commutative42.5%
Simplified42.5%
Final simplification45.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (* k (- (* z b) (* y2 y5)))))
(t_2 (* k (* y2 (- (* y1 y4) (* y0 y5))))))
(if (<= b -7e+92)
t_1
(if (<= b 3.8e-294)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= b 1.25e-262)
t_2
(if (<= b 6e-199)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= b 2.45e+89)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= b 3.6e+143)
t_2
(if (<= b 1.22e+151)
(* y0 (* y5 (* j y3)))
(if (<= b 3.4e+277)
t_1
(* b (* x (- (* y a) (* j y0))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * (k * ((z * b) - (y2 * y5)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (b <= -7e+92) {
tmp = t_1;
} else if (b <= 3.8e-294) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= 1.25e-262) {
tmp = t_2;
} else if (b <= 6e-199) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (b <= 2.45e+89) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (b <= 3.6e+143) {
tmp = t_2;
} else if (b <= 1.22e+151) {
tmp = y0 * (y5 * (j * y3));
} else if (b <= 3.4e+277) {
tmp = t_1;
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = y0 * (k * ((z * b) - (y2 * y5)))
t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)))
if (b <= (-7d+92)) then
tmp = t_1
else if (b <= 3.8d-294) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (b <= 1.25d-262) then
tmp = t_2
else if (b <= 6d-199) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (b <= 2.45d+89) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (b <= 3.6d+143) then
tmp = t_2
else if (b <= 1.22d+151) then
tmp = y0 * (y5 * (j * y3))
else if (b <= 3.4d+277) then
tmp = t_1
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * (k * ((z * b) - (y2 * y5)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (b <= -7e+92) {
tmp = t_1;
} else if (b <= 3.8e-294) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= 1.25e-262) {
tmp = t_2;
} else if (b <= 6e-199) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (b <= 2.45e+89) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (b <= 3.6e+143) {
tmp = t_2;
} else if (b <= 1.22e+151) {
tmp = y0 * (y5 * (j * y3));
} else if (b <= 3.4e+277) {
tmp = t_1;
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * (k * ((z * b) - (y2 * y5))) t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if b <= -7e+92: tmp = t_1 elif b <= 3.8e-294: tmp = c * (y0 * ((x * y2) - (z * y3))) elif b <= 1.25e-262: tmp = t_2 elif b <= 6e-199: tmp = x * (y2 * ((c * y0) - (a * y1))) elif b <= 2.45e+89: tmp = t * (y2 * ((a * y5) - (c * y4))) elif b <= 3.6e+143: tmp = t_2 elif b <= 1.22e+151: tmp = y0 * (y5 * (j * y3)) elif b <= 3.4e+277: tmp = t_1 else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))) t_2 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (b <= -7e+92) tmp = t_1; elseif (b <= 3.8e-294) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (b <= 1.25e-262) tmp = t_2; elseif (b <= 6e-199) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (b <= 2.45e+89) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (b <= 3.6e+143) tmp = t_2; elseif (b <= 1.22e+151) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); elseif (b <= 3.4e+277) tmp = t_1; else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y0 * (k * ((z * b) - (y2 * y5))); t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (b <= -7e+92) tmp = t_1; elseif (b <= 3.8e-294) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (b <= 1.25e-262) tmp = t_2; elseif (b <= 6e-199) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (b <= 2.45e+89) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (b <= 3.6e+143) tmp = t_2; elseif (b <= 1.22e+151) tmp = y0 * (y5 * (j * y3)); elseif (b <= 3.4e+277) tmp = t_1; else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -7e+92], t$95$1, If[LessEqual[b, 3.8e-294], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.25e-262], t$95$2, If[LessEqual[b, 6e-199], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.45e+89], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.6e+143], t$95$2, If[LessEqual[b, 1.22e+151], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.4e+277], t$95$1, N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
t_2 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{if}\;b \leq -7 \cdot 10^{+92}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq 3.8 \cdot 10^{-294}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq 1.25 \cdot 10^{-262}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq 6 \cdot 10^{-199}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;b \leq 2.45 \cdot 10^{+89}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;b \leq 3.6 \cdot 10^{+143}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq 1.22 \cdot 10^{+151}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq 3.4 \cdot 10^{+277}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if b < -6.99999999999999972e92 or 1.22000000000000005e151 < b < 3.4000000000000001e277Initial program 30.6%
Taylor expanded in y0 around inf 46.2%
+-commutative46.2%
mul-1-neg46.2%
unsub-neg46.2%
*-commutative46.2%
*-commutative46.2%
*-commutative46.2%
*-commutative46.2%
Simplified46.2%
Taylor expanded in k around -inf 48.3%
+-commutative48.3%
mul-1-neg48.3%
unsub-neg48.3%
*-commutative48.3%
Simplified48.3%
if -6.99999999999999972e92 < b < 3.8e-294Initial program 33.9%
Taylor expanded in y0 around inf 48.3%
+-commutative48.3%
mul-1-neg48.3%
unsub-neg48.3%
*-commutative48.3%
*-commutative48.3%
*-commutative48.3%
*-commutative48.3%
Simplified48.3%
Taylor expanded in c around inf 38.6%
if 3.8e-294 < b < 1.24999999999999998e-262 or 2.44999999999999998e89 < b < 3.5999999999999999e143Initial program 20.7%
Taylor expanded in y2 around inf 48.8%
Taylor expanded in k around inf 52.9%
*-commutative52.9%
*-commutative52.9%
Simplified52.9%
if 1.24999999999999998e-262 < b < 5.99999999999999966e-199Initial program 40.0%
Taylor expanded in y2 around inf 40.5%
Taylor expanded in x around inf 40.9%
*-commutative40.9%
Simplified40.9%
if 5.99999999999999966e-199 < b < 2.44999999999999998e89Initial program 33.9%
Taylor expanded in y2 around inf 40.5%
Taylor expanded in t around inf 45.9%
if 3.5999999999999999e143 < b < 1.22000000000000005e151Initial program 0.0%
Taylor expanded in y0 around inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
*-commutative100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in j around -inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y3 around inf 51.5%
associate-*r*100.0%
*-commutative100.0%
Simplified100.0%
if 3.4000000000000001e277 < b Initial program 20.0%
Taylor expanded in b around inf 100.0%
Taylor expanded in x around inf 80.9%
*-commutative80.9%
Simplified80.9%
Final simplification45.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (* k (- (* z b) (* y2 y5))))))
(if (<= b -8.6e+164)
t_1
(if (<= b -5e+36)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= b -5.6e+27)
(* b (* y0 (- (* z k) (* x j))))
(if (<= b -3.8e-305)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= b 9.2e+89)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= b 7.3e+142)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= b 2e+149)
(* y0 (* y5 (* j y3)))
(if (<= b 3.4e+276)
t_1
(* b (* x (- (* y a) (* j y0))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * (k * ((z * b) - (y2 * y5)));
double tmp;
if (b <= -8.6e+164) {
tmp = t_1;
} else if (b <= -5e+36) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (b <= -5.6e+27) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (b <= -3.8e-305) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= 9.2e+89) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (b <= 7.3e+142) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (b <= 2e+149) {
tmp = y0 * (y5 * (j * y3));
} else if (b <= 3.4e+276) {
tmp = t_1;
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y0 * (k * ((z * b) - (y2 * y5)))
if (b <= (-8.6d+164)) then
tmp = t_1
else if (b <= (-5d+36)) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (b <= (-5.6d+27)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (b <= (-3.8d-305)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (b <= 9.2d+89) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (b <= 7.3d+142) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (b <= 2d+149) then
tmp = y0 * (y5 * (j * y3))
else if (b <= 3.4d+276) then
tmp = t_1
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y0 * (k * ((z * b) - (y2 * y5)));
double tmp;
if (b <= -8.6e+164) {
tmp = t_1;
} else if (b <= -5e+36) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (b <= -5.6e+27) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (b <= -3.8e-305) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= 9.2e+89) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (b <= 7.3e+142) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (b <= 2e+149) {
tmp = y0 * (y5 * (j * y3));
} else if (b <= 3.4e+276) {
tmp = t_1;
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * (k * ((z * b) - (y2 * y5))) tmp = 0 if b <= -8.6e+164: tmp = t_1 elif b <= -5e+36: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif b <= -5.6e+27: tmp = b * (y0 * ((z * k) - (x * j))) elif b <= -3.8e-305: tmp = c * (y0 * ((x * y2) - (z * y3))) elif b <= 9.2e+89: tmp = t * (y2 * ((a * y5) - (c * y4))) elif b <= 7.3e+142: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif b <= 2e+149: tmp = y0 * (y5 * (j * y3)) elif b <= 3.4e+276: tmp = t_1 else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))) tmp = 0.0 if (b <= -8.6e+164) tmp = t_1; elseif (b <= -5e+36) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (b <= -5.6e+27) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (b <= -3.8e-305) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (b <= 9.2e+89) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (b <= 7.3e+142) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (b <= 2e+149) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); elseif (b <= 3.4e+276) tmp = t_1; else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y0 * (k * ((z * b) - (y2 * y5))); tmp = 0.0; if (b <= -8.6e+164) tmp = t_1; elseif (b <= -5e+36) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (b <= -5.6e+27) tmp = b * (y0 * ((z * k) - (x * j))); elseif (b <= -3.8e-305) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (b <= 9.2e+89) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (b <= 7.3e+142) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (b <= 2e+149) tmp = y0 * (y5 * (j * y3)); elseif (b <= 3.4e+276) tmp = t_1; else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -8.6e+164], t$95$1, If[LessEqual[b, -5e+36], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -5.6e+27], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -3.8e-305], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9.2e+89], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 7.3e+142], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2e+149], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.4e+276], t$95$1, N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{if}\;b \leq -8.6 \cdot 10^{+164}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq -5 \cdot 10^{+36}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;b \leq -5.6 \cdot 10^{+27}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;b \leq -3.8 \cdot 10^{-305}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq 9.2 \cdot 10^{+89}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;b \leq 7.3 \cdot 10^{+142}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;b \leq 2 \cdot 10^{+149}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq 3.4 \cdot 10^{+276}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if b < -8.6e164 or 2.0000000000000001e149 < b < 3.39999999999999983e276Initial program 26.3%
Taylor expanded in y0 around inf 51.6%
+-commutative51.6%
mul-1-neg51.6%
unsub-neg51.6%
*-commutative51.6%
*-commutative51.6%
*-commutative51.6%
*-commutative51.6%
Simplified51.6%
Taylor expanded in k around -inf 51.8%
+-commutative51.8%
mul-1-neg51.8%
unsub-neg51.8%
*-commutative51.8%
Simplified51.8%
if -8.6e164 < b < -4.99999999999999977e36Initial program 36.7%
Taylor expanded in y0 around inf 41.0%
+-commutative41.0%
mul-1-neg41.0%
unsub-neg41.0%
*-commutative41.0%
*-commutative41.0%
*-commutative41.0%
*-commutative41.0%
Simplified41.0%
Taylor expanded in y5 around inf 47.1%
*-commutative47.1%
*-commutative47.1%
Simplified47.1%
if -4.99999999999999977e36 < b < -5.5999999999999999e27Initial program 20.0%
Taylor expanded in b around inf 40.1%
Taylor expanded in y0 around inf 60.9%
if -5.5999999999999999e27 < b < -3.8e-305Initial program 37.7%
Taylor expanded in y0 around inf 44.8%
+-commutative44.8%
mul-1-neg44.8%
unsub-neg44.8%
*-commutative44.8%
*-commutative44.8%
*-commutative44.8%
*-commutative44.8%
Simplified44.8%
Taylor expanded in c around inf 40.2%
if -3.8e-305 < b < 9.1999999999999996e89Initial program 32.0%
Taylor expanded in y2 around inf 41.5%
Taylor expanded in t around inf 41.6%
if 9.1999999999999996e89 < b < 7.29999999999999987e142Initial program 26.3%
Taylor expanded in y2 around inf 53.2%
Taylor expanded in k around inf 43.6%
*-commutative43.6%
*-commutative43.6%
Simplified43.6%
if 7.29999999999999987e142 < b < 2.0000000000000001e149Initial program 0.0%
Taylor expanded in y0 around inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
*-commutative100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in j around -inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y3 around inf 51.5%
associate-*r*100.0%
*-commutative100.0%
Simplified100.0%
if 3.39999999999999983e276 < b Initial program 20.0%
Taylor expanded in b around inf 100.0%
Taylor expanded in x around inf 80.9%
*-commutative80.9%
Simplified80.9%
Final simplification45.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -1.08e+164)
(* b (* (* x y) a))
(if (<= y -2.8e-156)
(* i (* j (* x y1)))
(if (<= y -1.05e-284)
(* y0 (* j (* y3 y5)))
(if (<= y 4.4e-160)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y 3.3e-20)
(* a (* b (* z (- t))))
(if (or (<= y 3.6e+81) (not (<= y 4e+203)))
(* b (* x (- (* y a) (* j y0))))
(* i (* k (* y 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 (y <= -1.08e+164) {
tmp = b * ((x * y) * a);
} else if (y <= -2.8e-156) {
tmp = i * (j * (x * y1));
} else if (y <= -1.05e-284) {
tmp = y0 * (j * (y3 * y5));
} else if (y <= 4.4e-160) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 3.3e-20) {
tmp = a * (b * (z * -t));
} else if ((y <= 3.6e+81) || !(y <= 4e+203)) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = i * (k * (y * 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 (y <= (-1.08d+164)) then
tmp = b * ((x * y) * a)
else if (y <= (-2.8d-156)) then
tmp = i * (j * (x * y1))
else if (y <= (-1.05d-284)) then
tmp = y0 * (j * (y3 * y5))
else if (y <= 4.4d-160) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y <= 3.3d-20) then
tmp = a * (b * (z * -t))
else if ((y <= 3.6d+81) .or. (.not. (y <= 4d+203))) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = i * (k * (y * 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 (y <= -1.08e+164) {
tmp = b * ((x * y) * a);
} else if (y <= -2.8e-156) {
tmp = i * (j * (x * y1));
} else if (y <= -1.05e-284) {
tmp = y0 * (j * (y3 * y5));
} else if (y <= 4.4e-160) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 3.3e-20) {
tmp = a * (b * (z * -t));
} else if ((y <= 3.6e+81) || !(y <= 4e+203)) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = i * (k * (y * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -1.08e+164: tmp = b * ((x * y) * a) elif y <= -2.8e-156: tmp = i * (j * (x * y1)) elif y <= -1.05e-284: tmp = y0 * (j * (y3 * y5)) elif y <= 4.4e-160: tmp = b * (y0 * ((z * k) - (x * j))) elif y <= 3.3e-20: tmp = a * (b * (z * -t)) elif (y <= 3.6e+81) or not (y <= 4e+203): tmp = b * (x * ((y * a) - (j * y0))) else: tmp = i * (k * (y * 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 (y <= -1.08e+164) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -2.8e-156) tmp = Float64(i * Float64(j * Float64(x * y1))); elseif (y <= -1.05e-284) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); elseif (y <= 4.4e-160) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y <= 3.3e-20) tmp = Float64(a * Float64(b * Float64(z * Float64(-t)))); elseif ((y <= 3.6e+81) || !(y <= 4e+203)) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(i * Float64(k * Float64(y * 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 (y <= -1.08e+164) tmp = b * ((x * y) * a); elseif (y <= -2.8e-156) tmp = i * (j * (x * y1)); elseif (y <= -1.05e-284) tmp = y0 * (j * (y3 * y5)); elseif (y <= 4.4e-160) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y <= 3.3e-20) tmp = a * (b * (z * -t)); elseif ((y <= 3.6e+81) || ~((y <= 4e+203))) tmp = b * (x * ((y * a) - (j * y0))); else tmp = i * (k * (y * 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[y, -1.08e+164], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -2.8e-156], N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.05e-284], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.4e-160], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3.3e-20], N[(a * N[(b * N[(z * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y, 3.6e+81], N[Not[LessEqual[y, 4e+203]], $MachinePrecision]], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.08 \cdot 10^{+164}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -2.8 \cdot 10^{-156}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;y \leq -1.05 \cdot 10^{-284}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y \leq 4.4 \cdot 10^{-160}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y \leq 3.3 \cdot 10^{-20}:\\
\;\;\;\;a \cdot \left(b \cdot \left(z \cdot \left(-t\right)\right)\right)\\
\mathbf{elif}\;y \leq 3.6 \cdot 10^{+81} \lor \neg \left(y \leq 4 \cdot 10^{+203}\right):\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\end{array}
\end{array}
if y < -1.08e164Initial program 15.6%
Taylor expanded in b around inf 33.6%
Taylor expanded in x around inf 46.5%
*-commutative46.5%
Simplified46.5%
Taylor expanded in a around inf 50.5%
if -1.08e164 < y < -2.8000000000000002e-156Initial program 27.9%
Taylor expanded in y1 around inf 35.3%
distribute-lft-out--35.3%
*-commutative35.3%
*-commutative35.3%
*-commutative35.3%
Simplified35.3%
Taylor expanded in i around inf 29.3%
mul-1-neg29.3%
associate-*r*26.1%
distribute-lft-neg-in26.1%
Simplified26.1%
Taylor expanded in k around 0 26.1%
if -2.8000000000000002e-156 < y < -1.04999999999999996e-284Initial program 50.0%
Taylor expanded in y0 around inf 56.9%
+-commutative56.9%
mul-1-neg56.9%
unsub-neg56.9%
*-commutative56.9%
*-commutative56.9%
*-commutative56.9%
*-commutative56.9%
Simplified56.9%
Taylor expanded in j around -inf 48.2%
+-commutative48.2%
mul-1-neg48.2%
unsub-neg48.2%
*-commutative48.2%
Simplified48.2%
Taylor expanded in y3 around inf 41.6%
if -1.04999999999999996e-284 < y < 4.4e-160Initial program 42.1%
Taylor expanded in b around inf 43.0%
Taylor expanded in y0 around inf 38.2%
if 4.4e-160 < y < 3.3e-20Initial program 28.9%
Taylor expanded in b around inf 35.5%
Taylor expanded in a around inf 32.5%
associate-*r*26.3%
*-commutative26.3%
Simplified26.3%
Taylor expanded in y around 0 27.3%
mul-1-neg27.3%
*-commutative27.3%
distribute-rgt-neg-in27.3%
*-commutative27.3%
Simplified27.3%
if 3.3e-20 < y < 3.60000000000000005e81 or 4e203 < y Initial program 24.6%
Taylor expanded in b around inf 39.5%
Taylor expanded in x around inf 51.7%
*-commutative51.7%
Simplified51.7%
if 3.60000000000000005e81 < y < 4e203Initial program 29.6%
Taylor expanded in i around -inf 44.8%
Taylor expanded in y around inf 48.8%
Taylor expanded in k around inf 41.8%
associate-*r*41.8%
mul-1-neg41.8%
*-commutative41.8%
Simplified41.8%
Final simplification38.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* z (- y1))) (t_2 (* x (* y1 (- (* i j) (* a y2))))))
(if (<= y1 -1.45e+243)
(* k (* i t_1))
(if (<= y1 -9.8e+207)
t_2
(if (<= y1 -1.8e+183)
(* i (* k t_1))
(if (<= y1 -50000.0)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= y1 -3.8e-119)
(* (* i y5) (- (* y k) (* t j)))
(if (<= y1 1.05e-173)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y1 1.25e+232)
t_2
(* y1 (* y4 (- (* k y2) (* j y3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * -y1;
double t_2 = x * (y1 * ((i * j) - (a * y2)));
double tmp;
if (y1 <= -1.45e+243) {
tmp = k * (i * t_1);
} else if (y1 <= -9.8e+207) {
tmp = t_2;
} else if (y1 <= -1.8e+183) {
tmp = i * (k * t_1);
} else if (y1 <= -50000.0) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y1 <= -3.8e-119) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (y1 <= 1.05e-173) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y1 <= 1.25e+232) {
tmp = t_2;
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = z * -y1
t_2 = x * (y1 * ((i * j) - (a * y2)))
if (y1 <= (-1.45d+243)) then
tmp = k * (i * t_1)
else if (y1 <= (-9.8d+207)) then
tmp = t_2
else if (y1 <= (-1.8d+183)) then
tmp = i * (k * t_1)
else if (y1 <= (-50000.0d0)) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (y1 <= (-3.8d-119)) then
tmp = (i * y5) * ((y * k) - (t * j))
else if (y1 <= 1.05d-173) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y1 <= 1.25d+232) then
tmp = t_2
else
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * -y1;
double t_2 = x * (y1 * ((i * j) - (a * y2)));
double tmp;
if (y1 <= -1.45e+243) {
tmp = k * (i * t_1);
} else if (y1 <= -9.8e+207) {
tmp = t_2;
} else if (y1 <= -1.8e+183) {
tmp = i * (k * t_1);
} else if (y1 <= -50000.0) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y1 <= -3.8e-119) {
tmp = (i * y5) * ((y * k) - (t * j));
} else if (y1 <= 1.05e-173) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y1 <= 1.25e+232) {
tmp = t_2;
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = z * -y1 t_2 = x * (y1 * ((i * j) - (a * y2))) tmp = 0 if y1 <= -1.45e+243: tmp = k * (i * t_1) elif y1 <= -9.8e+207: tmp = t_2 elif y1 <= -1.8e+183: tmp = i * (k * t_1) elif y1 <= -50000.0: tmp = x * (y2 * ((c * y0) - (a * y1))) elif y1 <= -3.8e-119: tmp = (i * y5) * ((y * k) - (t * j)) elif y1 <= 1.05e-173: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y1 <= 1.25e+232: tmp = t_2 else: tmp = y1 * (y4 * ((k * y2) - (j * y3))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(z * Float64(-y1)) t_2 = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))) tmp = 0.0 if (y1 <= -1.45e+243) tmp = Float64(k * Float64(i * t_1)); elseif (y1 <= -9.8e+207) tmp = t_2; elseif (y1 <= -1.8e+183) tmp = Float64(i * Float64(k * t_1)); elseif (y1 <= -50000.0) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (y1 <= -3.8e-119) tmp = Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))); elseif (y1 <= 1.05e-173) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y1 <= 1.25e+232) tmp = t_2; else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = z * -y1; t_2 = x * (y1 * ((i * j) - (a * y2))); tmp = 0.0; if (y1 <= -1.45e+243) tmp = k * (i * t_1); elseif (y1 <= -9.8e+207) tmp = t_2; elseif (y1 <= -1.8e+183) tmp = i * (k * t_1); elseif (y1 <= -50000.0) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (y1 <= -3.8e-119) tmp = (i * y5) * ((y * k) - (t * j)); elseif (y1 <= 1.05e-173) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y1 <= 1.25e+232) tmp = t_2; else tmp = y1 * (y4 * ((k * y2) - (j * y3))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * (-y1)), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -1.45e+243], N[(k * N[(i * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -9.8e+207], t$95$2, If[LessEqual[y1, -1.8e+183], N[(i * N[(k * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -50000.0], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.8e-119], N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.05e-173], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.25e+232], t$95$2, N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(-y1\right)\\
t_2 := x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{if}\;y1 \leq -1.45 \cdot 10^{+243}:\\
\;\;\;\;k \cdot \left(i \cdot t_1\right)\\
\mathbf{elif}\;y1 \leq -9.8 \cdot 10^{+207}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y1 \leq -1.8 \cdot 10^{+183}:\\
\;\;\;\;i \cdot \left(k \cdot t_1\right)\\
\mathbf{elif}\;y1 \leq -50000:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y1 \leq -3.8 \cdot 10^{-119}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right)\\
\mathbf{elif}\;y1 \leq 1.05 \cdot 10^{-173}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq 1.25 \cdot 10^{+232}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -1.45000000000000003e243Initial program 7.1%
Taylor expanded in y1 around inf 42.9%
distribute-lft-out--42.9%
*-commutative42.9%
*-commutative42.9%
*-commutative42.9%
Simplified42.9%
Taylor expanded in i around inf 44.3%
mul-1-neg44.3%
associate-*r*37.4%
distribute-lft-neg-in37.4%
Simplified37.4%
Taylor expanded in k around inf 57.8%
mul-1-neg57.8%
*-commutative57.8%
distribute-rgt-neg-in57.8%
*-commutative57.8%
Simplified57.8%
Taylor expanded in k around 0 57.8%
mul-1-neg57.8%
*-commutative57.8%
distribute-rgt-neg-in57.8%
associate-*r*64.5%
Simplified64.5%
if -1.45000000000000003e243 < y1 < -9.8000000000000001e207 or 1.05000000000000001e-173 < y1 < 1.24999999999999997e232Initial program 33.2%
Taylor expanded in y1 around inf 45.6%
distribute-lft-out--45.6%
*-commutative45.6%
*-commutative45.6%
*-commutative45.6%
Simplified45.6%
Taylor expanded in x around inf 46.4%
mul-1-neg46.4%
*-commutative46.4%
*-commutative46.4%
Simplified46.4%
if -9.8000000000000001e207 < y1 < -1.80000000000000012e183Initial program 20.0%
Taylor expanded in y1 around inf 20.0%
distribute-lft-out--20.0%
*-commutative20.0%
*-commutative20.0%
*-commutative20.0%
Simplified20.0%
Taylor expanded in i around inf 42.2%
mul-1-neg42.2%
associate-*r*42.9%
distribute-lft-neg-in42.9%
Simplified42.9%
Taylor expanded in k around inf 81.3%
mul-1-neg81.3%
*-commutative81.3%
distribute-rgt-neg-in81.3%
*-commutative81.3%
Simplified81.3%
if -1.80000000000000012e183 < y1 < -5e4Initial program 29.9%
Taylor expanded in y2 around inf 42.8%
Taylor expanded in x around inf 53.6%
*-commutative53.6%
Simplified53.6%
if -5e4 < y1 < -3.79999999999999975e-119Initial program 46.6%
Taylor expanded in y5 around -inf 36.1%
Taylor expanded in i around inf 31.9%
cancel-sign-sub-inv31.9%
fma-udef31.9%
associate-*r*31.5%
fma-udef31.5%
cancel-sign-sub-inv31.5%
Simplified31.5%
if -3.79999999999999975e-119 < y1 < 1.05000000000000001e-173Initial program 34.2%
Taylor expanded in y0 around inf 47.5%
+-commutative47.5%
mul-1-neg47.5%
unsub-neg47.5%
*-commutative47.5%
*-commutative47.5%
*-commutative47.5%
*-commutative47.5%
Simplified47.5%
Taylor expanded in c around inf 44.2%
if 1.24999999999999997e232 < y1 Initial program 7.7%
Taylor expanded in y1 around inf 46.7%
distribute-lft-out--46.7%
*-commutative46.7%
*-commutative46.7%
*-commutative46.7%
Simplified46.7%
Taylor expanded in y4 around inf 69.7%
*-commutative69.7%
Simplified69.7%
Final simplification48.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= t -1.8e+151)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= t -1.85e+42)
(* y1 (* y4 (- (* k y2) (* j y3))))
(if (<= t -2.5e-149)
(* (* x y) (- (* a b) (* c i)))
(if (<= t 0.22)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= t 8.8e+89)
(* (* t b) (- (* j y4) (* z a)))
(if (<= t 1.4e+143)
(* (- (* x c) (* k y5)) (* y0 y2))
(* (* a b) (* t (- z))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (t <= -1.8e+151) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (t <= -1.85e+42) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (t <= -2.5e-149) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (t <= 0.22) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (t <= 8.8e+89) {
tmp = (t * b) * ((j * y4) - (z * a));
} else if (t <= 1.4e+143) {
tmp = ((x * c) - (k * y5)) * (y0 * y2);
} else {
tmp = (a * b) * (t * -z);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (t <= (-1.8d+151)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (t <= (-1.85d+42)) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else if (t <= (-2.5d-149)) then
tmp = (x * y) * ((a * b) - (c * i))
else if (t <= 0.22d0) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (t <= 8.8d+89) then
tmp = (t * b) * ((j * y4) - (z * a))
else if (t <= 1.4d+143) then
tmp = ((x * c) - (k * y5)) * (y0 * y2)
else
tmp = (a * b) * (t * -z)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (t <= -1.8e+151) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (t <= -1.85e+42) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (t <= -2.5e-149) {
tmp = (x * y) * ((a * b) - (c * i));
} else if (t <= 0.22) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (t <= 8.8e+89) {
tmp = (t * b) * ((j * y4) - (z * a));
} else if (t <= 1.4e+143) {
tmp = ((x * c) - (k * y5)) * (y0 * y2);
} else {
tmp = (a * b) * (t * -z);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if t <= -1.8e+151: tmp = t * (y2 * ((a * y5) - (c * y4))) elif t <= -1.85e+42: tmp = y1 * (y4 * ((k * y2) - (j * y3))) elif t <= -2.5e-149: tmp = (x * y) * ((a * b) - (c * i)) elif t <= 0.22: tmp = c * (y0 * ((x * y2) - (z * y3))) elif t <= 8.8e+89: tmp = (t * b) * ((j * y4) - (z * a)) elif t <= 1.4e+143: tmp = ((x * c) - (k * y5)) * (y0 * y2) else: tmp = (a * b) * (t * -z) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (t <= -1.8e+151) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (t <= -1.85e+42) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (t <= -2.5e-149) tmp = Float64(Float64(x * y) * Float64(Float64(a * b) - Float64(c * i))); elseif (t <= 0.22) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (t <= 8.8e+89) tmp = Float64(Float64(t * b) * Float64(Float64(j * y4) - Float64(z * a))); elseif (t <= 1.4e+143) tmp = Float64(Float64(Float64(x * c) - Float64(k * y5)) * Float64(y0 * y2)); else tmp = Float64(Float64(a * b) * Float64(t * Float64(-z))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (t <= -1.8e+151) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (t <= -1.85e+42) tmp = y1 * (y4 * ((k * y2) - (j * y3))); elseif (t <= -2.5e-149) tmp = (x * y) * ((a * b) - (c * i)); elseif (t <= 0.22) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (t <= 8.8e+89) tmp = (t * b) * ((j * y4) - (z * a)); elseif (t <= 1.4e+143) tmp = ((x * c) - (k * y5)) * (y0 * y2); else tmp = (a * b) * (t * -z); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -1.8e+151], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.85e+42], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.5e-149], N[(N[(x * y), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.22], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8.8e+89], N[(N[(t * b), $MachinePrecision] * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.4e+143], N[(N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], N[(N[(a * b), $MachinePrecision] * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.8 \cdot 10^{+151}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq -1.85 \cdot 10^{+42}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq -2.5 \cdot 10^{-149}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(a \cdot b - c \cdot i\right)\\
\mathbf{elif}\;t \leq 0.22:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq 8.8 \cdot 10^{+89}:\\
\;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4 - z \cdot a\right)\\
\mathbf{elif}\;t \leq 1.4 \cdot 10^{+143}:\\
\;\;\;\;\left(x \cdot c - k \cdot y5\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{else}:\\
\;\;\;\;\left(a \cdot b\right) \cdot \left(t \cdot \left(-z\right)\right)\\
\end{array}
\end{array}
if t < -1.8e151Initial program 40.0%
Taylor expanded in y2 around inf 52.4%
Taylor expanded in t around inf 60.4%
if -1.8e151 < t < -1.84999999999999998e42Initial program 29.9%
Taylor expanded in y1 around inf 56.0%
distribute-lft-out--56.0%
*-commutative56.0%
*-commutative56.0%
*-commutative56.0%
Simplified56.0%
Taylor expanded in y4 around inf 38.5%
*-commutative38.5%
Simplified38.5%
if -1.84999999999999998e42 < t < -2.49999999999999984e-149Initial program 33.3%
Taylor expanded in x around inf 37.7%
Taylor expanded in y around inf 43.6%
associate-*r*40.0%
*-commutative40.0%
Simplified40.0%
if -2.49999999999999984e-149 < t < 0.220000000000000001Initial program 32.1%
Taylor expanded in y0 around inf 49.5%
+-commutative49.5%
mul-1-neg49.5%
unsub-neg49.5%
*-commutative49.5%
*-commutative49.5%
*-commutative49.5%
*-commutative49.5%
Simplified49.5%
Taylor expanded in c around inf 38.0%
if 0.220000000000000001 < t < 8.8000000000000001e89Initial program 41.6%
Taylor expanded in b around inf 17.4%
Taylor expanded in t around inf 43.0%
associate-*r*50.8%
+-commutative50.8%
mul-1-neg50.8%
unsub-neg50.8%
Simplified50.8%
if 8.8000000000000001e89 < t < 1.39999999999999999e143Initial program 14.3%
Taylor expanded in y2 around inf 85.7%
Taylor expanded in y0 around inf 86.6%
associate-*r*86.6%
+-commutative86.6%
mul-1-neg86.6%
unsub-neg86.6%
*-commutative86.6%
*-commutative86.6%
Simplified86.6%
if 1.39999999999999999e143 < t Initial program 18.0%
Taylor expanded in b around inf 35.7%
Taylor expanded in a around inf 47.4%
associate-*r*50.8%
*-commutative50.8%
Simplified50.8%
Taylor expanded in y around 0 50.8%
mul-1-neg50.8%
distribute-lft-neg-out50.8%
*-commutative50.8%
Simplified50.8%
Final simplification44.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 (<= y1 -1.4e+242)
(* k (* i (* z (- y1))))
(if (<= y1 -1.3e+203)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 -4e+102)
t_1
(if (<= y1 -1.6e+33)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y1 5.4e-100) (* c (* y0 (- (* x y2) (* z y3)))) 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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y1 <= -1.4e+242) {
tmp = k * (i * (z * -y1));
} else if (y1 <= -1.3e+203) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -4e+102) {
tmp = t_1;
} else if (y1 <= -1.6e+33) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y1 <= 5.4e-100) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} 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 = i * (y1 * ((x * j) - (z * k)))
if (y1 <= (-1.4d+242)) then
tmp = k * (i * (z * -y1))
else if (y1 <= (-1.3d+203)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= (-4d+102)) then
tmp = t_1
else if (y1 <= (-1.6d+33)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y1 <= 5.4d-100) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y1 <= -1.4e+242) {
tmp = k * (i * (z * -y1));
} else if (y1 <= -1.3e+203) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -4e+102) {
tmp = t_1;
} else if (y1 <= -1.6e+33) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y1 <= 5.4e-100) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} 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 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y1 <= -1.4e+242: tmp = k * (i * (z * -y1)) elif y1 <= -1.3e+203: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= -4e+102: tmp = t_1 elif y1 <= -1.6e+33: tmp = b * (y0 * ((z * k) - (x * j))) elif y1 <= 5.4e-100: tmp = c * (y0 * ((x * y2) - (z * y3))) 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(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y1 <= -1.4e+242) tmp = Float64(k * Float64(i * Float64(z * Float64(-y1)))); elseif (y1 <= -1.3e+203) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= -4e+102) tmp = t_1; elseif (y1 <= -1.6e+33) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y1 <= 5.4e-100) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); 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 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y1 <= -1.4e+242) tmp = k * (i * (z * -y1)); elseif (y1 <= -1.3e+203) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= -4e+102) tmp = t_1; elseif (y1 <= -1.6e+33) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y1 <= 5.4e-100) tmp = c * (y0 * ((x * y2) - (z * y3))); 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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -1.4e+242], N[(k * N[(i * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.3e+203], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4e+102], t$95$1, If[LessEqual[y1, -1.6e+33], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.4e-100], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y1 \leq -1.4 \cdot 10^{+242}:\\
\;\;\;\;k \cdot \left(i \cdot \left(z \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;y1 \leq -1.3 \cdot 10^{+203}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq -4 \cdot 10^{+102}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq -1.6 \cdot 10^{+33}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 5.4 \cdot 10^{-100}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y1 < -1.4e242Initial program 7.1%
Taylor expanded in y1 around inf 42.9%
distribute-lft-out--42.9%
*-commutative42.9%
*-commutative42.9%
*-commutative42.9%
Simplified42.9%
Taylor expanded in i around inf 44.3%
mul-1-neg44.3%
associate-*r*37.4%
distribute-lft-neg-in37.4%
Simplified37.4%
Taylor expanded in k around inf 57.8%
mul-1-neg57.8%
*-commutative57.8%
distribute-rgt-neg-in57.8%
*-commutative57.8%
Simplified57.8%
Taylor expanded in k around 0 57.8%
mul-1-neg57.8%
*-commutative57.8%
distribute-rgt-neg-in57.8%
associate-*r*64.5%
Simplified64.5%
if -1.4e242 < y1 < -1.2999999999999999e203Initial program 37.5%
Taylor expanded in x around inf 62.5%
Taylor expanded in j around inf 75.0%
*-commutative75.0%
*-commutative75.0%
Simplified75.0%
if -1.2999999999999999e203 < y1 < -3.99999999999999991e102 or 5.40000000000000031e-100 < y1 Initial program 28.4%
Taylor expanded in y1 around inf 51.0%
distribute-lft-out--51.0%
*-commutative51.0%
*-commutative51.0%
*-commutative51.0%
Simplified51.0%
Taylor expanded in i around -inf 37.4%
if -3.99999999999999991e102 < y1 < -1.60000000000000009e33Initial program 38.0%
Taylor expanded in b around inf 57.7%
Taylor expanded in y0 around inf 53.3%
if -1.60000000000000009e33 < y1 < 5.40000000000000031e-100Initial program 34.5%
Taylor expanded in y0 around inf 39.3%
+-commutative39.3%
mul-1-neg39.3%
unsub-neg39.3%
*-commutative39.3%
*-commutative39.3%
*-commutative39.3%
*-commutative39.3%
Simplified39.3%
Taylor expanded in c around inf 34.7%
Final simplification40.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
(if (<= i -6e+79)
(* (* x j) (* i y1))
(if (<= i -1.05e-36)
t_1
(if (<= i 6.5e-164)
(* (* j y0) (* y3 y5))
(if (<= i 1.6e+136) t_1 (* j (* i (* t (- y5))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (i <= -6e+79) {
tmp = (x * j) * (i * y1);
} else if (i <= -1.05e-36) {
tmp = t_1;
} else if (i <= 6.5e-164) {
tmp = (j * y0) * (y3 * y5);
} else if (i <= 1.6e+136) {
tmp = t_1;
} else {
tmp = j * (i * (t * -y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
if (i <= (-6d+79)) then
tmp = (x * j) * (i * y1)
else if (i <= (-1.05d-36)) then
tmp = t_1
else if (i <= 6.5d-164) then
tmp = (j * y0) * (y3 * y5)
else if (i <= 1.6d+136) then
tmp = t_1
else
tmp = j * (i * (t * -y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (i <= -6e+79) {
tmp = (x * j) * (i * y1);
} else if (i <= -1.05e-36) {
tmp = t_1;
} else if (i <= 6.5e-164) {
tmp = (j * y0) * (y3 * y5);
} else if (i <= 1.6e+136) {
tmp = t_1;
} else {
tmp = j * (i * (t * -y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (x * ((y * a) - (j * y0))) tmp = 0 if i <= -6e+79: tmp = (x * j) * (i * y1) elif i <= -1.05e-36: tmp = t_1 elif i <= 6.5e-164: tmp = (j * y0) * (y3 * y5) elif i <= 1.6e+136: tmp = t_1 else: tmp = j * (i * (t * -y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (i <= -6e+79) tmp = Float64(Float64(x * j) * Float64(i * y1)); elseif (i <= -1.05e-36) tmp = t_1; elseif (i <= 6.5e-164) tmp = Float64(Float64(j * y0) * Float64(y3 * y5)); elseif (i <= 1.6e+136) tmp = t_1; else tmp = Float64(j * Float64(i * Float64(t * Float64(-y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (i <= -6e+79) tmp = (x * j) * (i * y1); elseif (i <= -1.05e-36) tmp = t_1; elseif (i <= 6.5e-164) tmp = (j * y0) * (y3 * y5); elseif (i <= 1.6e+136) tmp = t_1; else tmp = j * (i * (t * -y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -6e+79], N[(N[(x * j), $MachinePrecision] * N[(i * y1), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.05e-36], t$95$1, If[LessEqual[i, 6.5e-164], N[(N[(j * y0), $MachinePrecision] * N[(y3 * y5), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.6e+136], t$95$1, N[(j * N[(i * N[(t * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;i \leq -6 \cdot 10^{+79}:\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1\right)\\
\mathbf{elif}\;i \leq -1.05 \cdot 10^{-36}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;i \leq 6.5 \cdot 10^{-164}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5\right)\\
\mathbf{elif}\;i \leq 1.6 \cdot 10^{+136}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(i \cdot \left(t \cdot \left(-y5\right)\right)\right)\\
\end{array}
\end{array}
if i < -5.99999999999999948e79Initial program 39.2%
Taylor expanded in y1 around inf 39.7%
distribute-lft-out--39.7%
*-commutative39.7%
*-commutative39.7%
*-commutative39.7%
Simplified39.7%
Taylor expanded in i around inf 38.7%
mul-1-neg38.7%
associate-*r*44.2%
distribute-lft-neg-in44.2%
Simplified44.2%
Taylor expanded in k around 0 36.7%
mul-1-neg36.7%
distribute-lft-neg-out36.7%
*-commutative36.7%
Simplified36.7%
if -5.99999999999999948e79 < i < -1.04999999999999995e-36 or 6.50000000000000004e-164 < i < 1.59999999999999994e136Initial program 25.3%
Taylor expanded in b around inf 41.4%
Taylor expanded in x around inf 37.3%
*-commutative37.3%
Simplified37.3%
if -1.04999999999999995e-36 < i < 6.50000000000000004e-164Initial program 36.8%
Taylor expanded in y0 around inf 47.4%
+-commutative47.4%
mul-1-neg47.4%
unsub-neg47.4%
*-commutative47.4%
*-commutative47.4%
*-commutative47.4%
*-commutative47.4%
Simplified47.4%
Taylor expanded in j around -inf 27.7%
+-commutative27.7%
mul-1-neg27.7%
unsub-neg27.7%
*-commutative27.7%
Simplified27.7%
Taylor expanded in y3 around inf 22.8%
associate-*r*25.2%
*-commutative25.2%
Simplified25.2%
if 1.59999999999999994e136 < i Initial program 23.3%
Taylor expanded in y5 around -inf 49.3%
Taylor expanded in i around inf 33.8%
cancel-sign-sub-inv33.8%
fma-udef33.8%
associate-*r*40.2%
fma-udef40.2%
cancel-sign-sub-inv40.2%
Simplified40.2%
Taylor expanded in j around inf 26.7%
*-commutative26.7%
associate-*l*31.2%
*-commutative31.2%
Simplified31.2%
Final simplification32.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
(if (<= y5 -8.5e+136)
(* y0 (* j (* y3 y5)))
(if (<= y5 -3.2e+30)
t_1
(if (<= y5 -1.65e-81)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y5 9e-46)
t_1
(if (<= y5 3.1e+198)
(* i (* j (* t (- y5))))
(* i (* k (* y y5))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (y5 <= -8.5e+136) {
tmp = y0 * (j * (y3 * y5));
} else if (y5 <= -3.2e+30) {
tmp = t_1;
} else if (y5 <= -1.65e-81) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y5 <= 9e-46) {
tmp = t_1;
} else if (y5 <= 3.1e+198) {
tmp = i * (j * (t * -y5));
} else {
tmp = i * (k * (y * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
if (y5 <= (-8.5d+136)) then
tmp = y0 * (j * (y3 * y5))
else if (y5 <= (-3.2d+30)) then
tmp = t_1
else if (y5 <= (-1.65d-81)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y5 <= 9d-46) then
tmp = t_1
else if (y5 <= 3.1d+198) then
tmp = i * (j * (t * -y5))
else
tmp = i * (k * (y * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (y5 <= -8.5e+136) {
tmp = y0 * (j * (y3 * y5));
} else if (y5 <= -3.2e+30) {
tmp = t_1;
} else if (y5 <= -1.65e-81) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y5 <= 9e-46) {
tmp = t_1;
} else if (y5 <= 3.1e+198) {
tmp = i * (j * (t * -y5));
} else {
tmp = i * (k * (y * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (x * ((y * a) - (j * y0))) tmp = 0 if y5 <= -8.5e+136: tmp = y0 * (j * (y3 * y5)) elif y5 <= -3.2e+30: tmp = t_1 elif y5 <= -1.65e-81: tmp = b * (y4 * ((t * j) - (y * k))) elif y5 <= 9e-46: tmp = t_1 elif y5 <= 3.1e+198: tmp = i * (j * (t * -y5)) else: tmp = i * (k * (y * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (y5 <= -8.5e+136) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); elseif (y5 <= -3.2e+30) tmp = t_1; elseif (y5 <= -1.65e-81) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y5 <= 9e-46) tmp = t_1; elseif (y5 <= 3.1e+198) tmp = Float64(i * Float64(j * Float64(t * Float64(-y5)))); else tmp = Float64(i * Float64(k * Float64(y * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (y5 <= -8.5e+136) tmp = y0 * (j * (y3 * y5)); elseif (y5 <= -3.2e+30) tmp = t_1; elseif (y5 <= -1.65e-81) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y5 <= 9e-46) tmp = t_1; elseif (y5 <= 3.1e+198) tmp = i * (j * (t * -y5)); else tmp = i * (k * (y * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -8.5e+136], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.2e+30], t$95$1, If[LessEqual[y5, -1.65e-81], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9e-46], t$95$1, If[LessEqual[y5, 3.1e+198], N[(i * N[(j * N[(t * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;y5 \leq -8.5 \cdot 10^{+136}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq -3.2 \cdot 10^{+30}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y5 \leq -1.65 \cdot 10^{-81}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y5 \leq 9 \cdot 10^{-46}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y5 \leq 3.1 \cdot 10^{+198}:\\
\;\;\;\;i \cdot \left(j \cdot \left(t \cdot \left(-y5\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\end{array}
\end{array}
if y5 < -8.49999999999999966e136Initial program 29.4%
Taylor expanded in y0 around inf 64.8%
+-commutative64.8%
mul-1-neg64.8%
unsub-neg64.8%
*-commutative64.8%
*-commutative64.8%
*-commutative64.8%
*-commutative64.8%
Simplified64.8%
Taylor expanded in j around -inf 38.6%
+-commutative38.6%
mul-1-neg38.6%
unsub-neg38.6%
*-commutative38.6%
Simplified38.6%
Taylor expanded in y3 around inf 38.8%
if -8.49999999999999966e136 < y5 < -3.19999999999999973e30 or -1.64999999999999994e-81 < y5 < 9.00000000000000001e-46Initial program 28.4%
Taylor expanded in b around inf 37.0%
Taylor expanded in x around inf 30.9%
*-commutative30.9%
Simplified30.9%
if -3.19999999999999973e30 < y5 < -1.64999999999999994e-81Initial program 31.9%
Taylor expanded in b around inf 48.7%
Taylor expanded in y4 around inf 41.9%
if 9.00000000000000001e-46 < y5 < 3.09999999999999975e198Initial program 39.0%
Taylor expanded in y5 around -inf 49.6%
Taylor expanded in i around inf 39.7%
cancel-sign-sub-inv39.7%
fma-udef39.7%
associate-*r*39.7%
fma-udef39.7%
cancel-sign-sub-inv39.7%
Simplified39.7%
Taylor expanded in j around inf 32.7%
*-commutative32.7%
Simplified32.7%
if 3.09999999999999975e198 < y5 Initial program 34.5%
Taylor expanded in i around -inf 38.5%
Taylor expanded in y around inf 42.8%
Taylor expanded in k around inf 46.0%
associate-*r*46.0%
mul-1-neg46.0%
*-commutative46.0%
Simplified46.0%
Final simplification35.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y0 (- (* z k) (* x j))))))
(if (<= y1 -2.4e+101)
(* k (* i (* z (- y1))))
(if (<= y1 -1.5e+33)
t_1
(if (<= y1 1.95e-120)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y1 8.4e+170) (* y0 (* j (* y3 y5))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double tmp;
if (y1 <= -2.4e+101) {
tmp = k * (i * (z * -y1));
} else if (y1 <= -1.5e+33) {
tmp = t_1;
} else if (y1 <= 1.95e-120) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y1 <= 8.4e+170) {
tmp = y0 * (j * (y3 * y5));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (y0 * ((z * k) - (x * j)))
if (y1 <= (-2.4d+101)) then
tmp = k * (i * (z * -y1))
else if (y1 <= (-1.5d+33)) then
tmp = t_1
else if (y1 <= 1.95d-120) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y1 <= 8.4d+170) then
tmp = y0 * (j * (y3 * y5))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double tmp;
if (y1 <= -2.4e+101) {
tmp = k * (i * (z * -y1));
} else if (y1 <= -1.5e+33) {
tmp = t_1;
} else if (y1 <= 1.95e-120) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y1 <= 8.4e+170) {
tmp = y0 * (j * (y3 * y5));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y0 * ((z * k) - (x * j))) tmp = 0 if y1 <= -2.4e+101: tmp = k * (i * (z * -y1)) elif y1 <= -1.5e+33: tmp = t_1 elif y1 <= 1.95e-120: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y1 <= 8.4e+170: tmp = y0 * (j * (y3 * y5)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) tmp = 0.0 if (y1 <= -2.4e+101) tmp = Float64(k * Float64(i * Float64(z * Float64(-y1)))); elseif (y1 <= -1.5e+33) tmp = t_1; elseif (y1 <= 1.95e-120) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y1 <= 8.4e+170) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y0 * ((z * k) - (x * j))); tmp = 0.0; if (y1 <= -2.4e+101) tmp = k * (i * (z * -y1)); elseif (y1 <= -1.5e+33) tmp = t_1; elseif (y1 <= 1.95e-120) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y1 <= 8.4e+170) tmp = y0 * (j * (y3 * y5)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -2.4e+101], N[(k * N[(i * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.5e+33], t$95$1, If[LessEqual[y1, 1.95e-120], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 8.4e+170], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;y1 \leq -2.4 \cdot 10^{+101}:\\
\;\;\;\;k \cdot \left(i \cdot \left(z \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;y1 \leq -1.5 \cdot 10^{+33}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y1 \leq 1.95 \cdot 10^{-120}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq 8.4 \cdot 10^{+170}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y1 < -2.39999999999999988e101Initial program 24.0%
Taylor expanded in y1 around inf 48.2%
distribute-lft-out--48.2%
*-commutative48.2%
*-commutative48.2%
*-commutative48.2%
Simplified48.2%
Taylor expanded in i around inf 38.3%
mul-1-neg38.3%
associate-*r*40.4%
distribute-lft-neg-in40.4%
Simplified40.4%
Taylor expanded in k around inf 40.2%
mul-1-neg40.2%
*-commutative40.2%
distribute-rgt-neg-in40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in k around 0 40.2%
mul-1-neg40.2%
*-commutative40.2%
distribute-rgt-neg-in40.2%
associate-*r*42.2%
Simplified42.2%
if -2.39999999999999988e101 < y1 < -1.49999999999999992e33 or 8.39999999999999991e170 < y1 Initial program 25.0%
Taylor expanded in b around inf 50.7%
Taylor expanded in y0 around inf 43.9%
if -1.49999999999999992e33 < y1 < 1.9500000000000001e-120Initial program 34.8%
Taylor expanded in y0 around inf 38.9%
+-commutative38.9%
mul-1-neg38.9%
unsub-neg38.9%
*-commutative38.9%
*-commutative38.9%
*-commutative38.9%
*-commutative38.9%
Simplified38.9%
Taylor expanded in c around inf 34.2%
if 1.9500000000000001e-120 < y1 < 8.39999999999999991e170Initial program 35.5%
Taylor expanded in y0 around inf 59.3%
+-commutative59.3%
mul-1-neg59.3%
unsub-neg59.3%
*-commutative59.3%
*-commutative59.3%
*-commutative59.3%
*-commutative59.3%
Simplified59.3%
Taylor expanded in j around -inf 43.1%
+-commutative43.1%
mul-1-neg43.1%
unsub-neg43.1%
*-commutative43.1%
Simplified43.1%
Taylor expanded in y3 around inf 40.8%
Final simplification38.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* y0 (* y3 y5)))) (t_2 (* i (* j (* x y1)))))
(if (<= y -1e+164)
(* b (* (* x y) a))
(if (<= y -6e-154)
t_2
(if (<= y -3.1e-277)
t_1
(if (<= y 2.5e-211)
t_2
(if (<= y 1.5e+32) t_1 (* a (* (* x y) b)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (y0 * (y3 * y5));
double t_2 = i * (j * (x * y1));
double tmp;
if (y <= -1e+164) {
tmp = b * ((x * y) * a);
} else if (y <= -6e-154) {
tmp = t_2;
} else if (y <= -3.1e-277) {
tmp = t_1;
} else if (y <= 2.5e-211) {
tmp = t_2;
} else if (y <= 1.5e+32) {
tmp = t_1;
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = j * (y0 * (y3 * y5))
t_2 = i * (j * (x * y1))
if (y <= (-1d+164)) then
tmp = b * ((x * y) * a)
else if (y <= (-6d-154)) then
tmp = t_2
else if (y <= (-3.1d-277)) then
tmp = t_1
else if (y <= 2.5d-211) then
tmp = t_2
else if (y <= 1.5d+32) then
tmp = t_1
else
tmp = a * ((x * y) * b)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (y0 * (y3 * y5));
double t_2 = i * (j * (x * y1));
double tmp;
if (y <= -1e+164) {
tmp = b * ((x * y) * a);
} else if (y <= -6e-154) {
tmp = t_2;
} else if (y <= -3.1e-277) {
tmp = t_1;
} else if (y <= 2.5e-211) {
tmp = t_2;
} else if (y <= 1.5e+32) {
tmp = t_1;
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (y0 * (y3 * y5)) t_2 = i * (j * (x * y1)) tmp = 0 if y <= -1e+164: tmp = b * ((x * y) * a) elif y <= -6e-154: tmp = t_2 elif y <= -3.1e-277: tmp = t_1 elif y <= 2.5e-211: tmp = t_2 elif y <= 1.5e+32: tmp = t_1 else: tmp = a * ((x * y) * b) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(y0 * Float64(y3 * y5))) t_2 = Float64(i * Float64(j * Float64(x * y1))) tmp = 0.0 if (y <= -1e+164) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -6e-154) tmp = t_2; elseif (y <= -3.1e-277) tmp = t_1; elseif (y <= 2.5e-211) tmp = t_2; elseif (y <= 1.5e+32) tmp = t_1; else tmp = Float64(a * Float64(Float64(x * y) * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (y0 * (y3 * y5)); t_2 = i * (j * (x * y1)); tmp = 0.0; if (y <= -1e+164) tmp = b * ((x * y) * a); elseif (y <= -6e-154) tmp = t_2; elseif (y <= -3.1e-277) tmp = t_1; elseif (y <= 2.5e-211) tmp = t_2; elseif (y <= 1.5e+32) tmp = t_1; else tmp = a * ((x * y) * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1e+164], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -6e-154], t$95$2, If[LessEqual[y, -3.1e-277], t$95$1, If[LessEqual[y, 2.5e-211], t$95$2, If[LessEqual[y, 1.5e+32], t$95$1, N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
t_2 := i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{if}\;y \leq -1 \cdot 10^{+164}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -6 \cdot 10^{-154}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y \leq -3.1 \cdot 10^{-277}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq 2.5 \cdot 10^{-211}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y \leq 1.5 \cdot 10^{+32}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if y < -1e164Initial program 15.6%
Taylor expanded in b around inf 33.6%
Taylor expanded in x around inf 46.5%
*-commutative46.5%
Simplified46.5%
Taylor expanded in a around inf 50.5%
if -1e164 < y < -6.0000000000000005e-154 or -3.09999999999999979e-277 < y < 2.5000000000000001e-211Initial program 32.2%
Taylor expanded in y1 around inf 41.0%
distribute-lft-out--41.0%
*-commutative41.0%
*-commutative41.0%
*-commutative41.0%
Simplified41.0%
Taylor expanded in i around inf 30.5%
mul-1-neg30.5%
associate-*r*28.3%
distribute-lft-neg-in28.3%
Simplified28.3%
Taylor expanded in k around 0 28.4%
if -6.0000000000000005e-154 < y < -3.09999999999999979e-277 or 2.5000000000000001e-211 < y < 1.5e32Initial program 39.3%
Taylor expanded in y0 around inf 45.0%
+-commutative45.0%
mul-1-neg45.0%
unsub-neg45.0%
*-commutative45.0%
*-commutative45.0%
*-commutative45.0%
*-commutative45.0%
Simplified45.0%
Taylor expanded in j around -inf 28.7%
+-commutative28.7%
mul-1-neg28.7%
unsub-neg28.7%
*-commutative28.7%
Simplified28.7%
Taylor expanded in y3 around inf 27.7%
if 1.5e32 < y Initial program 25.4%
Taylor expanded in b around inf 41.1%
Taylor expanded in x around inf 40.0%
*-commutative40.0%
Simplified40.0%
Taylor expanded in a around inf 38.4%
Final simplification32.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* j (* x y1)))))
(if (<= y -9.4e+163)
(* b (* (* x y) a))
(if (<= y -1.55e-158)
t_1
(if (<= y -1.05e-270)
(* y0 (* j (* y3 y5)))
(if (<= y 1.02e-209)
t_1
(if (<= y 1.7e+32) (* j (* y0 (* y3 y5))) (* a (* (* x y) b)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (j * (x * y1));
double tmp;
if (y <= -9.4e+163) {
tmp = b * ((x * y) * a);
} else if (y <= -1.55e-158) {
tmp = t_1;
} else if (y <= -1.05e-270) {
tmp = y0 * (j * (y3 * y5));
} else if (y <= 1.02e-209) {
tmp = t_1;
} else if (y <= 1.7e+32) {
tmp = j * (y0 * (y3 * y5));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (j * (x * y1))
if (y <= (-9.4d+163)) then
tmp = b * ((x * y) * a)
else if (y <= (-1.55d-158)) then
tmp = t_1
else if (y <= (-1.05d-270)) then
tmp = y0 * (j * (y3 * y5))
else if (y <= 1.02d-209) then
tmp = t_1
else if (y <= 1.7d+32) then
tmp = j * (y0 * (y3 * y5))
else
tmp = a * ((x * y) * b)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (j * (x * y1));
double tmp;
if (y <= -9.4e+163) {
tmp = b * ((x * y) * a);
} else if (y <= -1.55e-158) {
tmp = t_1;
} else if (y <= -1.05e-270) {
tmp = y0 * (j * (y3 * y5));
} else if (y <= 1.02e-209) {
tmp = t_1;
} else if (y <= 1.7e+32) {
tmp = j * (y0 * (y3 * y5));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (j * (x * y1)) tmp = 0 if y <= -9.4e+163: tmp = b * ((x * y) * a) elif y <= -1.55e-158: tmp = t_1 elif y <= -1.05e-270: tmp = y0 * (j * (y3 * y5)) elif y <= 1.02e-209: tmp = t_1 elif y <= 1.7e+32: tmp = j * (y0 * (y3 * y5)) else: tmp = a * ((x * y) * b) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(j * Float64(x * y1))) tmp = 0.0 if (y <= -9.4e+163) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -1.55e-158) tmp = t_1; elseif (y <= -1.05e-270) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); elseif (y <= 1.02e-209) tmp = t_1; elseif (y <= 1.7e+32) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); else tmp = Float64(a * Float64(Float64(x * y) * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (j * (x * y1)); tmp = 0.0; if (y <= -9.4e+163) tmp = b * ((x * y) * a); elseif (y <= -1.55e-158) tmp = t_1; elseif (y <= -1.05e-270) tmp = y0 * (j * (y3 * y5)); elseif (y <= 1.02e-209) tmp = t_1; elseif (y <= 1.7e+32) tmp = j * (y0 * (y3 * y5)); else tmp = a * ((x * y) * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -9.4e+163], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.55e-158], t$95$1, If[LessEqual[y, -1.05e-270], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.02e-209], t$95$1, If[LessEqual[y, 1.7e+32], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{if}\;y \leq -9.4 \cdot 10^{+163}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -1.55 \cdot 10^{-158}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq -1.05 \cdot 10^{-270}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y \leq 1.02 \cdot 10^{-209}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq 1.7 \cdot 10^{+32}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if y < -9.40000000000000037e163Initial program 15.6%
Taylor expanded in b around inf 33.6%
Taylor expanded in x around inf 46.5%
*-commutative46.5%
Simplified46.5%
Taylor expanded in a around inf 50.5%
if -9.40000000000000037e163 < y < -1.55000000000000009e-158 or -1.04999999999999998e-270 < y < 1.01999999999999999e-209Initial program 32.2%
Taylor expanded in y1 around inf 41.0%
distribute-lft-out--41.0%
*-commutative41.0%
*-commutative41.0%
*-commutative41.0%
Simplified41.0%
Taylor expanded in i around inf 30.5%
mul-1-neg30.5%
associate-*r*28.3%
distribute-lft-neg-in28.3%
Simplified28.3%
Taylor expanded in k around 0 28.4%
if -1.55000000000000009e-158 < y < -1.04999999999999998e-270Initial program 51.7%
Taylor expanded in y0 around inf 55.9%
+-commutative55.9%
mul-1-neg55.9%
unsub-neg55.9%
*-commutative55.9%
*-commutative55.9%
*-commutative55.9%
*-commutative55.9%
Simplified55.9%
Taylor expanded in j around -inf 46.2%
+-commutative46.2%
mul-1-neg46.2%
unsub-neg46.2%
*-commutative46.2%
Simplified46.2%
Taylor expanded in y3 around inf 42.4%
if 1.01999999999999999e-209 < y < 1.69999999999999989e32Initial program 32.8%
Taylor expanded in y0 around inf 39.3%
+-commutative39.3%
mul-1-neg39.3%
unsub-neg39.3%
*-commutative39.3%
*-commutative39.3%
*-commutative39.3%
*-commutative39.3%
Simplified39.3%
Taylor expanded in j around -inf 19.5%
+-commutative19.5%
mul-1-neg19.5%
unsub-neg19.5%
*-commutative19.5%
Simplified19.5%
Taylor expanded in y3 around inf 20.0%
if 1.69999999999999989e32 < y Initial program 25.4%
Taylor expanded in b around inf 41.1%
Taylor expanded in x around inf 40.0%
*-commutative40.0%
Simplified40.0%
Taylor expanded in a around inf 38.4%
Final simplification32.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* j (* x y1)))))
(if (<= y -3.8e+164)
(* b (* (* x y) a))
(if (<= y -1.06e-159)
t_1
(if (<= y -8.8e-277)
(* y0 (* j (* y3 y5)))
(if (<= y 7e-210)
t_1
(if (<= y 4.9e+52) (* (* j y0) (* y3 y5)) (* a (* (* x y) b)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (j * (x * y1));
double tmp;
if (y <= -3.8e+164) {
tmp = b * ((x * y) * a);
} else if (y <= -1.06e-159) {
tmp = t_1;
} else if (y <= -8.8e-277) {
tmp = y0 * (j * (y3 * y5));
} else if (y <= 7e-210) {
tmp = t_1;
} else if (y <= 4.9e+52) {
tmp = (j * y0) * (y3 * y5);
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (j * (x * y1))
if (y <= (-3.8d+164)) then
tmp = b * ((x * y) * a)
else if (y <= (-1.06d-159)) then
tmp = t_1
else if (y <= (-8.8d-277)) then
tmp = y0 * (j * (y3 * y5))
else if (y <= 7d-210) then
tmp = t_1
else if (y <= 4.9d+52) then
tmp = (j * y0) * (y3 * y5)
else
tmp = a * ((x * y) * b)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (j * (x * y1));
double tmp;
if (y <= -3.8e+164) {
tmp = b * ((x * y) * a);
} else if (y <= -1.06e-159) {
tmp = t_1;
} else if (y <= -8.8e-277) {
tmp = y0 * (j * (y3 * y5));
} else if (y <= 7e-210) {
tmp = t_1;
} else if (y <= 4.9e+52) {
tmp = (j * y0) * (y3 * y5);
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (j * (x * y1)) tmp = 0 if y <= -3.8e+164: tmp = b * ((x * y) * a) elif y <= -1.06e-159: tmp = t_1 elif y <= -8.8e-277: tmp = y0 * (j * (y3 * y5)) elif y <= 7e-210: tmp = t_1 elif y <= 4.9e+52: tmp = (j * y0) * (y3 * y5) else: tmp = a * ((x * y) * b) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(j * Float64(x * y1))) tmp = 0.0 if (y <= -3.8e+164) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= -1.06e-159) tmp = t_1; elseif (y <= -8.8e-277) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); elseif (y <= 7e-210) tmp = t_1; elseif (y <= 4.9e+52) tmp = Float64(Float64(j * y0) * Float64(y3 * y5)); else tmp = Float64(a * Float64(Float64(x * y) * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (j * (x * y1)); tmp = 0.0; if (y <= -3.8e+164) tmp = b * ((x * y) * a); elseif (y <= -1.06e-159) tmp = t_1; elseif (y <= -8.8e-277) tmp = y0 * (j * (y3 * y5)); elseif (y <= 7e-210) tmp = t_1; elseif (y <= 4.9e+52) tmp = (j * y0) * (y3 * y5); else tmp = a * ((x * y) * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -3.8e+164], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.06e-159], t$95$1, If[LessEqual[y, -8.8e-277], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 7e-210], t$95$1, If[LessEqual[y, 4.9e+52], N[(N[(j * y0), $MachinePrecision] * N[(y3 * y5), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{if}\;y \leq -3.8 \cdot 10^{+164}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq -1.06 \cdot 10^{-159}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq -8.8 \cdot 10^{-277}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y \leq 7 \cdot 10^{-210}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq 4.9 \cdot 10^{+52}:\\
\;\;\;\;\left(j \cdot y0\right) \cdot \left(y3 \cdot y5\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if y < -3.80000000000000021e164Initial program 15.6%
Taylor expanded in b around inf 33.6%
Taylor expanded in x around inf 46.5%
*-commutative46.5%
Simplified46.5%
Taylor expanded in a around inf 50.5%
if -3.80000000000000021e164 < y < -1.06e-159 or -8.79999999999999983e-277 < y < 7.00000000000000031e-210Initial program 32.2%
Taylor expanded in y1 around inf 41.0%
distribute-lft-out--41.0%
*-commutative41.0%
*-commutative41.0%
*-commutative41.0%
Simplified41.0%
Taylor expanded in i around inf 30.5%
mul-1-neg30.5%
associate-*r*28.3%
distribute-lft-neg-in28.3%
Simplified28.3%
Taylor expanded in k around 0 28.4%
if -1.06e-159 < y < -8.79999999999999983e-277Initial program 51.7%
Taylor expanded in y0 around inf 55.9%
+-commutative55.9%
mul-1-neg55.9%
unsub-neg55.9%
*-commutative55.9%
*-commutative55.9%
*-commutative55.9%
*-commutative55.9%
Simplified55.9%
Taylor expanded in j around -inf 46.2%
+-commutative46.2%
mul-1-neg46.2%
unsub-neg46.2%
*-commutative46.2%
Simplified46.2%
Taylor expanded in y3 around inf 42.4%
if 7.00000000000000031e-210 < y < 4.89999999999999997e52Initial program 31.2%
Taylor expanded in y0 around inf 43.7%
+-commutative43.7%
mul-1-neg43.7%
unsub-neg43.7%
*-commutative43.7%
*-commutative43.7%
*-commutative43.7%
*-commutative43.7%
Simplified43.7%
Taylor expanded in j around -inf 21.0%
+-commutative21.0%
mul-1-neg21.0%
unsub-neg21.0%
*-commutative21.0%
Simplified21.0%
Taylor expanded in y3 around inf 18.3%
associate-*r*21.4%
*-commutative21.4%
Simplified21.4%
if 4.89999999999999997e52 < y Initial program 26.4%
Taylor expanded in b around inf 40.0%
Taylor expanded in x around inf 38.9%
*-commutative38.9%
Simplified38.9%
Taylor expanded in a around inf 40.7%
Final simplification33.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -4.5e+109)
(* k (* i (* z (- y1))))
(if (<= y1 -1.6e+33)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y1 9.5e-104)
(* c (* y0 (- (* x y2) (* z y3))))
(* i (* y1 (- (* x j) (* z k))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -4.5e+109) {
tmp = k * (i * (z * -y1));
} else if (y1 <= -1.6e+33) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y1 <= 9.5e-104) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = i * (y1 * ((x * j) - (z * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y1 <= (-4.5d+109)) then
tmp = k * (i * (z * -y1))
else if (y1 <= (-1.6d+33)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y1 <= 9.5d-104) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else
tmp = i * (y1 * ((x * j) - (z * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -4.5e+109) {
tmp = k * (i * (z * -y1));
} else if (y1 <= -1.6e+33) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y1 <= 9.5e-104) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = i * (y1 * ((x * j) - (z * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -4.5e+109: tmp = k * (i * (z * -y1)) elif y1 <= -1.6e+33: tmp = b * (y0 * ((z * k) - (x * j))) elif y1 <= 9.5e-104: tmp = c * (y0 * ((x * y2) - (z * y3))) else: tmp = i * (y1 * ((x * j) - (z * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -4.5e+109) tmp = Float64(k * Float64(i * Float64(z * Float64(-y1)))); elseif (y1 <= -1.6e+33) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y1 <= 9.5e-104) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); else tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y1 <= -4.5e+109) tmp = k * (i * (z * -y1)); elseif (y1 <= -1.6e+33) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y1 <= 9.5e-104) tmp = c * (y0 * ((x * y2) - (z * y3))); else tmp = i * (y1 * ((x * j) - (z * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -4.5e+109], N[(k * N[(i * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.6e+33], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 9.5e-104], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -4.5 \cdot 10^{+109}:\\
\;\;\;\;k \cdot \left(i \cdot \left(z \cdot \left(-y1\right)\right)\right)\\
\mathbf{elif}\;y1 \leq -1.6 \cdot 10^{+33}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 9.5 \cdot 10^{-104}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\end{array}
\end{array}
if y1 < -4.4999999999999996e109Initial program 24.0%
Taylor expanded in y1 around inf 48.2%
distribute-lft-out--48.2%
*-commutative48.2%
*-commutative48.2%
*-commutative48.2%
Simplified48.2%
Taylor expanded in i around inf 38.3%
mul-1-neg38.3%
associate-*r*40.4%
distribute-lft-neg-in40.4%
Simplified40.4%
Taylor expanded in k around inf 40.2%
mul-1-neg40.2%
*-commutative40.2%
distribute-rgt-neg-in40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in k around 0 40.2%
mul-1-neg40.2%
*-commutative40.2%
distribute-rgt-neg-in40.2%
associate-*r*42.2%
Simplified42.2%
if -4.4999999999999996e109 < y1 < -1.60000000000000009e33Initial program 38.0%
Taylor expanded in b around inf 57.7%
Taylor expanded in y0 around inf 53.3%
if -1.60000000000000009e33 < y1 < 9.5000000000000002e-104Initial program 34.5%
Taylor expanded in y0 around inf 39.3%
+-commutative39.3%
mul-1-neg39.3%
unsub-neg39.3%
*-commutative39.3%
*-commutative39.3%
*-commutative39.3%
*-commutative39.3%
Simplified39.3%
Taylor expanded in c around inf 34.7%
if 9.5000000000000002e-104 < y1 Initial program 28.0%
Taylor expanded in y1 around inf 51.2%
distribute-lft-out--51.2%
*-commutative51.2%
*-commutative51.2%
*-commutative51.2%
Simplified51.2%
Taylor expanded in i around -inf 35.5%
Final simplification37.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y -1.45e+166) (* b (* (* x y) a)) (if (<= y 1.15e+53) (* i (* j (* x y1))) (* a (* (* x y) b)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -1.45e+166) {
tmp = b * ((x * y) * a);
} else if (y <= 1.15e+53) {
tmp = i * (j * (x * y1));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-1.45d+166)) then
tmp = b * ((x * y) * a)
else if (y <= 1.15d+53) then
tmp = i * (j * (x * y1))
else
tmp = a * ((x * y) * b)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -1.45e+166) {
tmp = b * ((x * y) * a);
} else if (y <= 1.15e+53) {
tmp = i * (j * (x * y1));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -1.45e+166: tmp = b * ((x * y) * a) elif y <= 1.15e+53: tmp = i * (j * (x * y1)) else: tmp = a * ((x * y) * b) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -1.45e+166) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= 1.15e+53) tmp = Float64(i * Float64(j * Float64(x * y1))); else tmp = Float64(a * Float64(Float64(x * y) * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -1.45e+166) tmp = b * ((x * y) * a); elseif (y <= 1.15e+53) tmp = i * (j * (x * y1)); else tmp = a * ((x * y) * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -1.45e+166], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.15e+53], N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.45 \cdot 10^{+166}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq 1.15 \cdot 10^{+53}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if y < -1.4500000000000001e166Initial program 15.6%
Taylor expanded in b around inf 33.6%
Taylor expanded in x around inf 46.5%
*-commutative46.5%
Simplified46.5%
Taylor expanded in a around inf 50.5%
if -1.4500000000000001e166 < y < 1.1500000000000001e53Initial program 35.1%
Taylor expanded in y1 around inf 40.7%
distribute-lft-out--40.7%
*-commutative40.7%
*-commutative40.7%
*-commutative40.7%
Simplified40.7%
Taylor expanded in i around inf 23.7%
mul-1-neg23.7%
associate-*r*23.2%
distribute-lft-neg-in23.2%
Simplified23.2%
Taylor expanded in k around 0 19.8%
if 1.1500000000000001e53 < y Initial program 26.4%
Taylor expanded in b around inf 40.0%
Taylor expanded in x around inf 38.9%
*-commutative38.9%
Simplified38.9%
Taylor expanded in a around inf 40.7%
Final simplification27.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= a -1.7e-264) (* b (* (* x y) a)) (* a (* y (* x b)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -1.7e-264) {
tmp = b * ((x * y) * a);
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (a <= (-1.7d-264)) then
tmp = b * ((x * y) * a)
else
tmp = a * (y * (x * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (a <= -1.7e-264) {
tmp = b * ((x * y) * a);
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if a <= -1.7e-264: tmp = b * ((x * y) * a) else: tmp = a * (y * (x * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (a <= -1.7e-264) tmp = Float64(b * Float64(Float64(x * y) * a)); else tmp = Float64(a * Float64(y * Float64(x * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (a <= -1.7e-264) tmp = b * ((x * y) * a); else tmp = a * (y * (x * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -1.7e-264], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.7 \cdot 10^{-264}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\end{array}
\end{array}
if a < -1.6999999999999999e-264Initial program 31.4%
Taylor expanded in b around inf 32.9%
Taylor expanded in x around inf 26.2%
*-commutative26.2%
Simplified26.2%
Taylor expanded in a around inf 23.9%
if -1.6999999999999999e-264 < a Initial program 31.2%
Taylor expanded in b around inf 36.8%
Taylor expanded in x around inf 21.7%
*-commutative21.7%
Simplified21.7%
Taylor expanded in a around inf 15.9%
expm1-log1p-u8.5%
expm1-udef8.5%
Applied egg-rr8.5%
expm1-def8.5%
expm1-log1p15.9%
*-commutative15.9%
*-commutative15.9%
associate-*l*18.7%
Simplified18.7%
Final simplification21.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= b -2e-35) (* a (* y (* x b))) (* b (* x (* y a)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (b <= -2e-35) {
tmp = a * (y * (x * b));
} else {
tmp = b * (x * (y * a));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (b <= (-2d-35)) then
tmp = a * (y * (x * b))
else
tmp = b * (x * (y * a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (b <= -2e-35) {
tmp = a * (y * (x * b));
} else {
tmp = b * (x * (y * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if b <= -2e-35: tmp = a * (y * (x * b)) else: tmp = b * (x * (y * a)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (b <= -2e-35) tmp = Float64(a * Float64(y * Float64(x * b))); else tmp = Float64(b * Float64(x * Float64(y * a))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (b <= -2e-35) tmp = a * (y * (x * b)); else tmp = b * (x * (y * a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -2e-35], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(x * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2 \cdot 10^{-35}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a\right)\right)\\
\end{array}
\end{array}
if b < -2.00000000000000002e-35Initial program 29.9%
Taylor expanded in b around inf 46.9%
Taylor expanded in x around inf 25.9%
*-commutative25.9%
Simplified25.9%
Taylor expanded in a around inf 24.6%
expm1-log1p-u13.9%
expm1-udef13.9%
Applied egg-rr13.9%
expm1-def13.9%
expm1-log1p24.6%
*-commutative24.6%
*-commutative24.6%
associate-*l*28.4%
Simplified28.4%
if -2.00000000000000002e-35 < b Initial program 31.9%
Taylor expanded in b around inf 29.8%
Taylor expanded in x around inf 22.9%
*-commutative22.9%
Simplified22.9%
Taylor expanded in a around inf 17.9%
Final simplification21.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* (* x y) b)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * ((x * y) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * ((x * y) * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(Float64(x * y) * b)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * ((x * y) * b); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Initial program 31.3%
Taylor expanded in b around inf 35.0%
Taylor expanded in x around inf 23.8%
*-commutative23.8%
Simplified23.8%
Taylor expanded in a around inf 19.2%
Final simplification19.2%
(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 2023334
(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
:herbie-target
(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)))))