
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 42 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* j y3) (* k y2)))
(t_2 (- (* t j) (* y k)))
(t_3 (- (* y1 y4) (* y0 y5)))
(t_4
(*
i
(+
(* y1 (- (* x j) (* z k)))
(- (* y5 (- (* y k) (* t j))) (* c (- (* x y) (* z t)))))))
(t_5 (- (* c y4) (* a y5)))
(t_6
(*
y3
(+
(* y t_5)
(+ (* j (- (* y0 y5) (* y1 y4))) (* z (- (* a y1) (* c y0))))))))
(if (<= i -3.3e+134)
t_4
(if (<= i -2e+88)
(* i (* t (- (* z c) (* j y5))))
(if (<= i -3.5e+32)
t_4
(if (<= i -3e-123)
(*
y2
(+
(+ (* k t_3) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4)))))
(if (<= i 3.3e-300)
(* y5 (+ (* a (- (* t y2) (* y y3))) (- (* y0 t_1) (* i t_2))))
(if (<= i 6.2e-231)
t_6
(if (<= i 1.52e-143)
(+
(* (- (* k y2) (* j y3)) t_3)
(* y4 (+ (* b t_2) (* c (- (* y y3) (* t y2))))))
(if (<= i 9.5e-107)
t_6
(if (<= i 3.5e-6)
(*
y0
(+
(+ (* y5 t_1) (* c (- (* x y2) (* z y3))))
(* b (- (* z k) (* x j)))))
(if (<= i 8e+39)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= i 2.65e+157)
(*
y
(+
(+
(* k (- (* i y5) (* b y4)))
(* x (- (* a b) (* c i))))
(* y3 t_5)))
t_4)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (j * y3) - (k * y2);
double t_2 = (t * j) - (y * k);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
double t_5 = (c * y4) - (a * y5);
double t_6 = y3 * ((y * t_5) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
double tmp;
if (i <= -3.3e+134) {
tmp = t_4;
} else if (i <= -2e+88) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (i <= -3.5e+32) {
tmp = t_4;
} else if (i <= -3e-123) {
tmp = y2 * (((k * t_3) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (i <= 3.3e-300) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_1) - (i * t_2)));
} else if (i <= 6.2e-231) {
tmp = t_6;
} else if (i <= 1.52e-143) {
tmp = (((k * y2) - (j * y3)) * t_3) + (y4 * ((b * t_2) + (c * ((y * y3) - (t * y2)))));
} else if (i <= 9.5e-107) {
tmp = t_6;
} else if (i <= 3.5e-6) {
tmp = y0 * (((y5 * t_1) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (i <= 8e+39) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (i <= 2.65e+157) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_5));
} else {
tmp = t_4;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: tmp
t_1 = (j * y3) - (k * y2)
t_2 = (t * j) - (y * k)
t_3 = (y1 * y4) - (y0 * y5)
t_4 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))))
t_5 = (c * y4) - (a * y5)
t_6 = y3 * ((y * t_5) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))))
if (i <= (-3.3d+134)) then
tmp = t_4
else if (i <= (-2d+88)) then
tmp = i * (t * ((z * c) - (j * y5)))
else if (i <= (-3.5d+32)) then
tmp = t_4
else if (i <= (-3d-123)) then
tmp = y2 * (((k * t_3) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
else if (i <= 3.3d-300) then
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_1) - (i * t_2)))
else if (i <= 6.2d-231) then
tmp = t_6
else if (i <= 1.52d-143) then
tmp = (((k * y2) - (j * y3)) * t_3) + (y4 * ((b * t_2) + (c * ((y * y3) - (t * y2)))))
else if (i <= 9.5d-107) then
tmp = t_6
else if (i <= 3.5d-6) then
tmp = y0 * (((y5 * t_1) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))))
else if (i <= 8d+39) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (i <= 2.65d+157) then
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_5))
else
tmp = t_4
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (j * y3) - (k * y2);
double t_2 = (t * j) - (y * k);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
double t_5 = (c * y4) - (a * y5);
double t_6 = y3 * ((y * t_5) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
double tmp;
if (i <= -3.3e+134) {
tmp = t_4;
} else if (i <= -2e+88) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (i <= -3.5e+32) {
tmp = t_4;
} else if (i <= -3e-123) {
tmp = y2 * (((k * t_3) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (i <= 3.3e-300) {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_1) - (i * t_2)));
} else if (i <= 6.2e-231) {
tmp = t_6;
} else if (i <= 1.52e-143) {
tmp = (((k * y2) - (j * y3)) * t_3) + (y4 * ((b * t_2) + (c * ((y * y3) - (t * y2)))));
} else if (i <= 9.5e-107) {
tmp = t_6;
} else if (i <= 3.5e-6) {
tmp = y0 * (((y5 * t_1) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (i <= 8e+39) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (i <= 2.65e+157) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_5));
} else {
tmp = t_4;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (j * y3) - (k * y2) t_2 = (t * j) - (y * k) t_3 = (y1 * y4) - (y0 * y5) t_4 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))) t_5 = (c * y4) - (a * y5) t_6 = y3 * ((y * t_5) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))) tmp = 0 if i <= -3.3e+134: tmp = t_4 elif i <= -2e+88: tmp = i * (t * ((z * c) - (j * y5))) elif i <= -3.5e+32: tmp = t_4 elif i <= -3e-123: tmp = y2 * (((k * t_3) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) elif i <= 3.3e-300: tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_1) - (i * t_2))) elif i <= 6.2e-231: tmp = t_6 elif i <= 1.52e-143: tmp = (((k * y2) - (j * y3)) * t_3) + (y4 * ((b * t_2) + (c * ((y * y3) - (t * y2))))) elif i <= 9.5e-107: tmp = t_6 elif i <= 3.5e-6: tmp = y0 * (((y5 * t_1) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))) elif i <= 8e+39: tmp = t * (y4 * ((b * j) - (c * y2))) elif i <= 2.65e+157: tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_5)) else: tmp = t_4 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(j * y3) - Float64(k * y2)) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_4 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * Float64(Float64(x * y) - Float64(z * t)))))) t_5 = Float64(Float64(c * y4) - Float64(a * y5)) t_6 = Float64(y3 * Float64(Float64(y * t_5) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))) tmp = 0.0 if (i <= -3.3e+134) tmp = t_4; elseif (i <= -2e+88) tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); elseif (i <= -3.5e+32) tmp = t_4; elseif (i <= -3e-123) tmp = Float64(y2 * Float64(Float64(Float64(k * t_3) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (i <= 3.3e-300) tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(y0 * t_1) - Float64(i * t_2)))); elseif (i <= 6.2e-231) tmp = t_6; elseif (i <= 1.52e-143) tmp = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_3) + Float64(y4 * Float64(Float64(b * t_2) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2)))))); elseif (i <= 9.5e-107) tmp = t_6; elseif (i <= 3.5e-6) tmp = Float64(y0 * Float64(Float64(Float64(y5 * t_1) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (i <= 8e+39) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (i <= 2.65e+157) tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * Float64(Float64(a * b) - Float64(c * i)))) + Float64(y3 * t_5))); else tmp = t_4; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (j * y3) - (k * y2); t_2 = (t * j) - (y * k); t_3 = (y1 * y4) - (y0 * y5); t_4 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))); t_5 = (c * y4) - (a * y5); t_6 = y3 * ((y * t_5) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))); tmp = 0.0; if (i <= -3.3e+134) tmp = t_4; elseif (i <= -2e+88) tmp = i * (t * ((z * c) - (j * y5))); elseif (i <= -3.5e+32) tmp = t_4; elseif (i <= -3e-123) tmp = y2 * (((k * t_3) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); elseif (i <= 3.3e-300) tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((y0 * t_1) - (i * t_2))); elseif (i <= 6.2e-231) tmp = t_6; elseif (i <= 1.52e-143) tmp = (((k * y2) - (j * y3)) * t_3) + (y4 * ((b * t_2) + (c * ((y * y3) - (t * y2))))); elseif (i <= 9.5e-107) tmp = t_6; elseif (i <= 3.5e-6) tmp = y0 * (((y5 * t_1) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))); elseif (i <= 8e+39) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (i <= 2.65e+157) tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_5)); else tmp = t_4; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y3 * N[(N[(y * t$95$5), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -3.3e+134], t$95$4, If[LessEqual[i, -2e+88], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.5e+32], t$95$4, If[LessEqual[i, -3e-123], N[(y2 * N[(N[(N[(k * t$95$3), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.3e-300], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * t$95$1), $MachinePrecision] - N[(i * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 6.2e-231], t$95$6, If[LessEqual[i, 1.52e-143], N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$3), $MachinePrecision] + N[(y4 * N[(N[(b * t$95$2), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 9.5e-107], t$95$6, If[LessEqual[i, 3.5e-6], N[(y0 * N[(N[(N[(y5 * t$95$1), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8e+39], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.65e+157], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$4]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot y3 - k \cdot y2\\
t_2 := t \cdot j - y \cdot k\\
t_3 := y1 \cdot y4 - y0 \cdot y5\\
t_4 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\
t_5 := c \cdot y4 - a \cdot y5\\
t_6 := y3 \cdot \left(y \cdot t\_5 + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{if}\;i \leq -3.3 \cdot 10^{+134}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;i \leq -2 \cdot 10^{+88}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq -3.5 \cdot 10^{+32}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;i \leq -3 \cdot 10^{-123}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t\_3 + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq 3.3 \cdot 10^{-300}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(y0 \cdot t\_1 - i \cdot t\_2\right)\right)\\
\mathbf{elif}\;i \leq 6.2 \cdot 10^{-231}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;i \leq 1.52 \cdot 10^{-143}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot t\_3 + y4 \cdot \left(b \cdot t\_2 + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 9.5 \cdot 10^{-107}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;i \leq 3.5 \cdot 10^{-6}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot t\_1 + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;i \leq 8 \cdot 10^{+39}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 2.65 \cdot 10^{+157}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot t\_5\right)\\
\mathbf{else}:\\
\;\;\;\;t\_4\\
\end{array}
\end{array}
if i < -3.3e134 or -1.99999999999999992e88 < i < -3.5000000000000001e32 or 2.6499999999999999e157 < i Initial program 18.2%
Taylor expanded in i around -inf 67.3%
if -3.3e134 < i < -1.99999999999999992e88Initial program 8.3%
Taylor expanded in i around -inf 25.1%
Taylor expanded in t around -inf 67.2%
mul-1-neg67.2%
*-commutative67.2%
distribute-rgt-neg-in67.2%
+-commutative67.2%
mul-1-neg67.2%
unsub-neg67.2%
*-commutative67.2%
*-commutative67.2%
Simplified67.2%
if -3.5000000000000001e32 < i < -2.99999999999999984e-123Initial program 23.3%
Taylor expanded in y2 around inf 60.5%
if -2.99999999999999984e-123 < i < 3.3000000000000002e-300Initial program 43.8%
Taylor expanded in y5 around -inf 71.0%
if 3.3000000000000002e-300 < i < 6.19999999999999976e-231 or 1.51999999999999997e-143 < i < 9.4999999999999999e-107Initial program 29.6%
Taylor expanded in y3 around -inf 75.0%
if 6.19999999999999976e-231 < i < 1.51999999999999997e-143Initial program 40.5%
Taylor expanded in y4 around inf 65.7%
if 9.4999999999999999e-107 < i < 3.49999999999999995e-6Initial program 27.6%
Taylor expanded in y0 around inf 64.2%
if 3.49999999999999995e-6 < i < 7.99999999999999952e39Initial program 30.0%
Taylor expanded in y4 around inf 30.8%
Taylor expanded in t around inf 90.3%
if 7.99999999999999952e39 < i < 2.6499999999999999e157Initial program 42.1%
Taylor expanded in y around inf 63.2%
Final simplification68.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* k y2) (* j y3)))
(t_2
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* z k) (* x j))))
(* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* t_1 (- (* y1 y4) (* y0 y5))))))
(if (<= t_2 INFINITY)
t_2
(*
y1
(+
(+ (* a (- (* z y3) (* x y2))) (* y4 t_1))
(* i (- (* x j) (* z k))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_1 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * t_1)) + (i * ((x * j) - (z * k))));
}
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 = (k * y2) - (j * y3);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_1 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * t_1)) + (i * ((x * j) - (z * k))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (k * y2) - (j * y3) t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_1 * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * t_1)) + (i * ((x * j) - (z * k)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(k * y2) - Float64(j * y3)) t_2 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(z * k) - Float64(x * j)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(t_1 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(y1 * Float64(Float64(Float64(a * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y4 * t_1)) + Float64(i * Float64(Float64(x * j) - Float64(z * k))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (k * y2) - (j * y3); t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_1 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * t_1)) + (i * ((x * j) - (z * k)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, Infinity], t$95$2, N[(y1 * N[(N[(N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) + \left(b \cdot y0 - i \cdot y1\right) \cdot \left(z \cdot k - x \cdot j\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + t\_1 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_2 \leq \infty:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(\left(a \cdot \left(z \cdot y3 - x \cdot y2\right) + y4 \cdot t\_1\right) + i \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 88.6%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
Taylor expanded in y1 around inf 40.4%
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
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* j (- (* y0 y5) (* y1 y4))) (* z (- (* a y1) (* c y0)))))))
(t_2 (- (* t y2) (* y y3)))
(t_3
(*
i
(+
(* y1 (- (* x j) (* z k)))
(- (* y5 (- (* y k) (* t j))) (* c (- (* x y) (* z t)))))))
(t_4 (- (* c y0) (* a y1)))
(t_5
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_4))
(* j (- (* i y1) (* b y0))))))
(t_6 (- (* t j) (* y k))))
(if (<= i -1.1e+134)
t_3
(if (<= i -4.6e+88)
(* i (* t (- (* z c) (* j y5))))
(if (<= i -3.8e+32)
t_3
(if (<= i -1.1e-122)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_4))
(* t (- (* a y5) (* c y4)))))
(if (<= i 4.4e-302)
(* y5 (+ (* a t_2) (- (* y0 (- (* j y3) (* k y2))) (* i t_6))))
(if (<= i 2.85e-232)
t_1
(if (<= i 1.65e-144)
(*
y4
(- (+ (* b t_6) (* y1 (- (* k y2) (* j y3)))) (* c t_2)))
(if (<= i 2.7e-98)
t_1
(if (<= i 2.7e-12)
t_5
(if (<= i 2.15e-10)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= i 7.8e+43)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= i 1.15e+110)
t_5
(if (<= i 1.05e+114)
(* b (* x (- (* y a) (* j y0))))
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 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
double t_2 = (t * y2) - (y * y3);
double t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
double t_4 = (c * y0) - (a * y1);
double t_5 = x * (((y * ((a * b) - (c * i))) + (y2 * t_4)) + (j * ((i * y1) - (b * y0))));
double t_6 = (t * j) - (y * k);
double tmp;
if (i <= -1.1e+134) {
tmp = t_3;
} else if (i <= -4.6e+88) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (i <= -3.8e+32) {
tmp = t_3;
} else if (i <= -1.1e-122) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))));
} else if (i <= 4.4e-302) {
tmp = y5 * ((a * t_2) + ((y0 * ((j * y3) - (k * y2))) - (i * t_6)));
} else if (i <= 2.85e-232) {
tmp = t_1;
} else if (i <= 1.65e-144) {
tmp = y4 * (((b * t_6) + (y1 * ((k * y2) - (j * y3)))) - (c * t_2));
} else if (i <= 2.7e-98) {
tmp = t_1;
} else if (i <= 2.7e-12) {
tmp = t_5;
} else if (i <= 2.15e-10) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (i <= 7.8e+43) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (i <= 1.15e+110) {
tmp = t_5;
} else if (i <= 1.05e+114) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = 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 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))))
t_2 = (t * y2) - (y * y3)
t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))))
t_4 = (c * y0) - (a * y1)
t_5 = x * (((y * ((a * b) - (c * i))) + (y2 * t_4)) + (j * ((i * y1) - (b * y0))))
t_6 = (t * j) - (y * k)
if (i <= (-1.1d+134)) then
tmp = t_3
else if (i <= (-4.6d+88)) then
tmp = i * (t * ((z * c) - (j * y5)))
else if (i <= (-3.8d+32)) then
tmp = t_3
else if (i <= (-1.1d-122)) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))))
else if (i <= 4.4d-302) then
tmp = y5 * ((a * t_2) + ((y0 * ((j * y3) - (k * y2))) - (i * t_6)))
else if (i <= 2.85d-232) then
tmp = t_1
else if (i <= 1.65d-144) then
tmp = y4 * (((b * t_6) + (y1 * ((k * y2) - (j * y3)))) - (c * t_2))
else if (i <= 2.7d-98) then
tmp = t_1
else if (i <= 2.7d-12) then
tmp = t_5
else if (i <= 2.15d-10) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (i <= 7.8d+43) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (i <= 1.15d+110) then
tmp = t_5
else if (i <= 1.05d+114) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = 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 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
double t_2 = (t * y2) - (y * y3);
double t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
double t_4 = (c * y0) - (a * y1);
double t_5 = x * (((y * ((a * b) - (c * i))) + (y2 * t_4)) + (j * ((i * y1) - (b * y0))));
double t_6 = (t * j) - (y * k);
double tmp;
if (i <= -1.1e+134) {
tmp = t_3;
} else if (i <= -4.6e+88) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (i <= -3.8e+32) {
tmp = t_3;
} else if (i <= -1.1e-122) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))));
} else if (i <= 4.4e-302) {
tmp = y5 * ((a * t_2) + ((y0 * ((j * y3) - (k * y2))) - (i * t_6)));
} else if (i <= 2.85e-232) {
tmp = t_1;
} else if (i <= 1.65e-144) {
tmp = y4 * (((b * t_6) + (y1 * ((k * y2) - (j * y3)))) - (c * t_2));
} else if (i <= 2.7e-98) {
tmp = t_1;
} else if (i <= 2.7e-12) {
tmp = t_5;
} else if (i <= 2.15e-10) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (i <= 7.8e+43) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (i <= 1.15e+110) {
tmp = t_5;
} else if (i <= 1.05e+114) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))) t_2 = (t * y2) - (y * y3) t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))) t_4 = (c * y0) - (a * y1) t_5 = x * (((y * ((a * b) - (c * i))) + (y2 * t_4)) + (j * ((i * y1) - (b * y0)))) t_6 = (t * j) - (y * k) tmp = 0 if i <= -1.1e+134: tmp = t_3 elif i <= -4.6e+88: tmp = i * (t * ((z * c) - (j * y5))) elif i <= -3.8e+32: tmp = t_3 elif i <= -1.1e-122: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4)))) elif i <= 4.4e-302: tmp = y5 * ((a * t_2) + ((y0 * ((j * y3) - (k * y2))) - (i * t_6))) elif i <= 2.85e-232: tmp = t_1 elif i <= 1.65e-144: tmp = y4 * (((b * t_6) + (y1 * ((k * y2) - (j * y3)))) - (c * t_2)) elif i <= 2.7e-98: tmp = t_1 elif i <= 2.7e-12: tmp = t_5 elif i <= 2.15e-10: tmp = c * (y0 * ((x * y2) - (z * y3))) elif i <= 7.8e+43: tmp = t * (y4 * ((b * j) - (c * y2))) elif i <= 1.15e+110: tmp = t_5 elif i <= 1.05e+114: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = 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(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))) t_2 = Float64(Float64(t * y2) - Float64(y * y3)) t_3 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * Float64(Float64(x * y) - Float64(z * t)))))) t_4 = Float64(Float64(c * y0) - Float64(a * y1)) t_5 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_4)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) t_6 = Float64(Float64(t * j) - Float64(y * k)) tmp = 0.0 if (i <= -1.1e+134) tmp = t_3; elseif (i <= -4.6e+88) tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); elseif (i <= -3.8e+32) tmp = t_3; elseif (i <= -1.1e-122) 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))))); elseif (i <= 4.4e-302) tmp = Float64(y5 * Float64(Float64(a * t_2) + Float64(Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2))) - Float64(i * t_6)))); elseif (i <= 2.85e-232) tmp = t_1; elseif (i <= 1.65e-144) tmp = Float64(y4 * Float64(Float64(Float64(b * t_6) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) - Float64(c * t_2))); elseif (i <= 2.7e-98) tmp = t_1; elseif (i <= 2.7e-12) tmp = t_5; elseif (i <= 2.15e-10) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (i <= 7.8e+43) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (i <= 1.15e+110) tmp = t_5; elseif (i <= 1.05e+114) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = 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 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))); t_2 = (t * y2) - (y * y3); t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))); t_4 = (c * y0) - (a * y1); t_5 = x * (((y * ((a * b) - (c * i))) + (y2 * t_4)) + (j * ((i * y1) - (b * y0)))); t_6 = (t * j) - (y * k); tmp = 0.0; if (i <= -1.1e+134) tmp = t_3; elseif (i <= -4.6e+88) tmp = i * (t * ((z * c) - (j * y5))); elseif (i <= -3.8e+32) tmp = t_3; elseif (i <= -1.1e-122) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4)))); elseif (i <= 4.4e-302) tmp = y5 * ((a * t_2) + ((y0 * ((j * y3) - (k * y2))) - (i * t_6))); elseif (i <= 2.85e-232) tmp = t_1; elseif (i <= 1.65e-144) tmp = y4 * (((b * t_6) + (y1 * ((k * y2) - (j * y3)))) - (c * t_2)); elseif (i <= 2.7e-98) tmp = t_1; elseif (i <= 2.7e-12) tmp = t_5; elseif (i <= 2.15e-10) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (i <= 7.8e+43) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (i <= 1.15e+110) tmp = t_5; elseif (i <= 1.05e+114) tmp = b * (x * ((y * a) - (j * y0))); else tmp = 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[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.1e+134], t$95$3, If[LessEqual[i, -4.6e+88], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.8e+32], t$95$3, If[LessEqual[i, -1.1e-122], 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], If[LessEqual[i, 4.4e-302], N[(y5 * N[(N[(a * t$95$2), $MachinePrecision] + N[(N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.85e-232], t$95$1, If[LessEqual[i, 1.65e-144], 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 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.7e-98], t$95$1, If[LessEqual[i, 2.7e-12], t$95$5, If[LessEqual[i, 2.15e-10], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 7.8e+43], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.15e+110], t$95$5, If[LessEqual[i, 1.05e+114], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
t_2 := t \cdot y2 - y \cdot y3\\
t_3 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\
t_4 := c \cdot y0 - a \cdot y1\\
t_5 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_4\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_6 := t \cdot j - y \cdot k\\
\mathbf{if}\;i \leq -1.1 \cdot 10^{+134}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq -4.6 \cdot 10^{+88}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq -3.8 \cdot 10^{+32}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq -1.1 \cdot 10^{-122}:\\
\;\;\;\;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{elif}\;i \leq 4.4 \cdot 10^{-302}:\\
\;\;\;\;y5 \cdot \left(a \cdot t\_2 + \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right) - i \cdot t\_6\right)\right)\\
\mathbf{elif}\;i \leq 2.85 \cdot 10^{-232}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 1.65 \cdot 10^{-144}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_6 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot t\_2\right)\\
\mathbf{elif}\;i \leq 2.7 \cdot 10^{-98}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 2.7 \cdot 10^{-12}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;i \leq 2.15 \cdot 10^{-10}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;i \leq 7.8 \cdot 10^{+43}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 1.15 \cdot 10^{+110}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;i \leq 1.05 \cdot 10^{+114}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_3\\
\end{array}
\end{array}
if i < -1.1e134 or -4.6000000000000003e88 < i < -3.8000000000000003e32 or 1.05e114 < i Initial program 20.6%
Taylor expanded in i around -inf 66.0%
if -1.1e134 < i < -4.6000000000000003e88Initial program 8.3%
Taylor expanded in i around -inf 25.1%
Taylor expanded in t around -inf 67.2%
mul-1-neg67.2%
*-commutative67.2%
distribute-rgt-neg-in67.2%
+-commutative67.2%
mul-1-neg67.2%
unsub-neg67.2%
*-commutative67.2%
*-commutative67.2%
Simplified67.2%
if -3.8000000000000003e32 < i < -1.1e-122Initial program 23.3%
Taylor expanded in y2 around inf 60.5%
if -1.1e-122 < i < 4.40000000000000015e-302Initial program 43.8%
Taylor expanded in y5 around -inf 71.0%
if 4.40000000000000015e-302 < i < 2.8500000000000001e-232 or 1.64999999999999998e-144 < i < 2.6999999999999999e-98Initial program 26.3%
Taylor expanded in y3 around -inf 74.1%
if 2.8500000000000001e-232 < i < 1.64999999999999998e-144Initial program 42.2%
Taylor expanded in y4 around inf 60.0%
if 2.6999999999999999e-98 < i < 2.6999999999999998e-12 or 7.8000000000000001e43 < i < 1.15e110Initial program 28.8%
Taylor expanded in x around inf 64.6%
if 2.6999999999999998e-12 < i < 2.15000000000000007e-10Initial program 50.0%
Taylor expanded in c around inf 100.0%
Taylor expanded in y0 around inf 100.0%
if 2.15000000000000007e-10 < i < 7.8000000000000001e43Initial program 30.0%
Taylor expanded in y4 around inf 30.8%
Taylor expanded in t around inf 90.3%
if 1.15e110 < i < 1.05e114Initial program 66.7%
Taylor expanded in b around inf 67.6%
Taylor expanded in x around inf 100.0%
Final simplification68.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* j (- (* y0 y5) (* y1 y4))) (* z (- (* a y1) (* c y0)))))))
(t_2 (- (* t y2) (* y y3)))
(t_3
(*
i
(+
(* y1 (- (* x j) (* z k)))
(- (* y5 (- (* y k) (* t j))) (* c (- (* x y) (* z t)))))))
(t_4 (- (* j y3) (* k y2)))
(t_5 (- (* t j) (* y k))))
(if (<= i -5.6e+133)
t_3
(if (<= i -3.6e+87)
(* i (* t (- (* z c) (* j y5))))
(if (<= i -1.5e+33)
t_3
(if (<= i -5.5e-123)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4)))))
(if (<= i 3.3e-298)
(* y5 (+ (* a t_2) (- (* y0 t_4) (* i t_5))))
(if (<= i 2.7e-232)
t_1
(if (<= i 6.2e-147)
(*
y4
(- (+ (* b t_5) (* y1 (- (* k y2) (* j y3)))) (* c t_2)))
(if (<= i 3.2e-105)
t_1
(if (<= i 3.4e-6)
(*
y0
(+
(+ (* y5 t_4) (* c (- (* x y2) (* z y3))))
(* b (- (* z k) (* x j)))))
(if (<= i 1.1e+45)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= i 8e+113)
(* b (* x (- (* y a) (* j y0))))
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 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
double t_2 = (t * y2) - (y * y3);
double t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
double t_4 = (j * y3) - (k * y2);
double t_5 = (t * j) - (y * k);
double tmp;
if (i <= -5.6e+133) {
tmp = t_3;
} else if (i <= -3.6e+87) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (i <= -1.5e+33) {
tmp = t_3;
} else if (i <= -5.5e-123) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (i <= 3.3e-298) {
tmp = y5 * ((a * t_2) + ((y0 * t_4) - (i * t_5)));
} else if (i <= 2.7e-232) {
tmp = t_1;
} else if (i <= 6.2e-147) {
tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) - (c * t_2));
} else if (i <= 3.2e-105) {
tmp = t_1;
} else if (i <= 3.4e-6) {
tmp = y0 * (((y5 * t_4) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (i <= 1.1e+45) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (i <= 8e+113) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = 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) :: tmp
t_1 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))))
t_2 = (t * y2) - (y * y3)
t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))))
t_4 = (j * y3) - (k * y2)
t_5 = (t * j) - (y * k)
if (i <= (-5.6d+133)) then
tmp = t_3
else if (i <= (-3.6d+87)) then
tmp = i * (t * ((z * c) - (j * y5)))
else if (i <= (-1.5d+33)) then
tmp = t_3
else if (i <= (-5.5d-123)) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
else if (i <= 3.3d-298) then
tmp = y5 * ((a * t_2) + ((y0 * t_4) - (i * t_5)))
else if (i <= 2.7d-232) then
tmp = t_1
else if (i <= 6.2d-147) then
tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) - (c * t_2))
else if (i <= 3.2d-105) then
tmp = t_1
else if (i <= 3.4d-6) then
tmp = y0 * (((y5 * t_4) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))))
else if (i <= 1.1d+45) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (i <= 8d+113) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = 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 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
double t_2 = (t * y2) - (y * y3);
double t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
double t_4 = (j * y3) - (k * y2);
double t_5 = (t * j) - (y * k);
double tmp;
if (i <= -5.6e+133) {
tmp = t_3;
} else if (i <= -3.6e+87) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (i <= -1.5e+33) {
tmp = t_3;
} else if (i <= -5.5e-123) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (i <= 3.3e-298) {
tmp = y5 * ((a * t_2) + ((y0 * t_4) - (i * t_5)));
} else if (i <= 2.7e-232) {
tmp = t_1;
} else if (i <= 6.2e-147) {
tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) - (c * t_2));
} else if (i <= 3.2e-105) {
tmp = t_1;
} else if (i <= 3.4e-6) {
tmp = y0 * (((y5 * t_4) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (i <= 1.1e+45) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (i <= 8e+113) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))) t_2 = (t * y2) - (y * y3) t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))) t_4 = (j * y3) - (k * y2) t_5 = (t * j) - (y * k) tmp = 0 if i <= -5.6e+133: tmp = t_3 elif i <= -3.6e+87: tmp = i * (t * ((z * c) - (j * y5))) elif i <= -1.5e+33: tmp = t_3 elif i <= -5.5e-123: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) elif i <= 3.3e-298: tmp = y5 * ((a * t_2) + ((y0 * t_4) - (i * t_5))) elif i <= 2.7e-232: tmp = t_1 elif i <= 6.2e-147: tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) - (c * t_2)) elif i <= 3.2e-105: tmp = t_1 elif i <= 3.4e-6: tmp = y0 * (((y5 * t_4) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))) elif i <= 1.1e+45: tmp = t * (y4 * ((b * j) - (c * y2))) elif i <= 8e+113: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = 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(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))) t_2 = Float64(Float64(t * y2) - Float64(y * y3)) t_3 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * Float64(Float64(x * y) - Float64(z * t)))))) t_4 = Float64(Float64(j * y3) - Float64(k * y2)) t_5 = Float64(Float64(t * j) - Float64(y * k)) tmp = 0.0 if (i <= -5.6e+133) tmp = t_3; elseif (i <= -3.6e+87) tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); elseif (i <= -1.5e+33) tmp = t_3; elseif (i <= -5.5e-123) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (i <= 3.3e-298) tmp = Float64(y5 * Float64(Float64(a * t_2) + Float64(Float64(y0 * t_4) - Float64(i * t_5)))); elseif (i <= 2.7e-232) tmp = t_1; elseif (i <= 6.2e-147) tmp = Float64(y4 * Float64(Float64(Float64(b * t_5) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) - Float64(c * t_2))); elseif (i <= 3.2e-105) tmp = t_1; elseif (i <= 3.4e-6) tmp = Float64(y0 * Float64(Float64(Float64(y5 * t_4) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (i <= 1.1e+45) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (i <= 8e+113) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = 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 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))); t_2 = (t * y2) - (y * y3); t_3 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))); t_4 = (j * y3) - (k * y2); t_5 = (t * j) - (y * k); tmp = 0.0; if (i <= -5.6e+133) tmp = t_3; elseif (i <= -3.6e+87) tmp = i * (t * ((z * c) - (j * y5))); elseif (i <= -1.5e+33) tmp = t_3; elseif (i <= -5.5e-123) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); elseif (i <= 3.3e-298) tmp = y5 * ((a * t_2) + ((y0 * t_4) - (i * t_5))); elseif (i <= 2.7e-232) tmp = t_1; elseif (i <= 6.2e-147) tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) - (c * t_2)); elseif (i <= 3.2e-105) tmp = t_1; elseif (i <= 3.4e-6) tmp = y0 * (((y5 * t_4) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))); elseif (i <= 1.1e+45) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (i <= 8e+113) tmp = b * (x * ((y * a) - (j * y0))); else tmp = 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[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -5.6e+133], t$95$3, If[LessEqual[i, -3.6e+87], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.5e+33], t$95$3, If[LessEqual[i, -5.5e-123], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.3e-298], N[(y5 * N[(N[(a * t$95$2), $MachinePrecision] + N[(N[(y0 * t$95$4), $MachinePrecision] - N[(i * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.7e-232], t$95$1, If[LessEqual[i, 6.2e-147], N[(y4 * N[(N[(N[(b * t$95$5), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.2e-105], t$95$1, If[LessEqual[i, 3.4e-6], N[(y0 * N[(N[(N[(y5 * t$95$4), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.1e+45], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8e+113], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
t_2 := t \cdot y2 - y \cdot y3\\
t_3 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\
t_4 := j \cdot y3 - k \cdot y2\\
t_5 := t \cdot j - y \cdot k\\
\mathbf{if}\;i \leq -5.6 \cdot 10^{+133}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq -3.6 \cdot 10^{+87}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq -1.5 \cdot 10^{+33}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq -5.5 \cdot 10^{-123}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq 3.3 \cdot 10^{-298}:\\
\;\;\;\;y5 \cdot \left(a \cdot t\_2 + \left(y0 \cdot t\_4 - i \cdot t\_5\right)\right)\\
\mathbf{elif}\;i \leq 2.7 \cdot 10^{-232}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 6.2 \cdot 10^{-147}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_5 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot t\_2\right)\\
\mathbf{elif}\;i \leq 3.2 \cdot 10^{-105}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 3.4 \cdot 10^{-6}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot t\_4 + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;i \leq 1.1 \cdot 10^{+45}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 8 \cdot 10^{+113}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_3\\
\end{array}
\end{array}
if i < -5.60000000000000033e133 or -3.59999999999999994e87 < i < -1.49999999999999992e33 or 8e113 < i Initial program 20.6%
Taylor expanded in i around -inf 66.0%
if -5.60000000000000033e133 < i < -3.59999999999999994e87Initial program 8.3%
Taylor expanded in i around -inf 25.1%
Taylor expanded in t around -inf 67.2%
mul-1-neg67.2%
*-commutative67.2%
distribute-rgt-neg-in67.2%
+-commutative67.2%
mul-1-neg67.2%
unsub-neg67.2%
*-commutative67.2%
*-commutative67.2%
Simplified67.2%
if -1.49999999999999992e33 < i < -5.5e-123Initial program 23.3%
Taylor expanded in y2 around inf 60.5%
if -5.5e-123 < i < 3.3000000000000002e-298Initial program 43.8%
Taylor expanded in y5 around -inf 71.0%
if 3.3000000000000002e-298 < i < 2.6999999999999999e-232 or 6.2000000000000005e-147 < i < 3.19999999999999981e-105Initial program 28.4%
Taylor expanded in y3 around -inf 72.0%
if 2.6999999999999999e-232 < i < 6.2000000000000005e-147Initial program 42.2%
Taylor expanded in y4 around inf 60.0%
if 3.19999999999999981e-105 < i < 3.40000000000000006e-6Initial program 27.6%
Taylor expanded in y0 around inf 64.2%
if 3.40000000000000006e-6 < i < 1.1e45Initial program 30.0%
Taylor expanded in y4 around inf 30.8%
Taylor expanded in t around inf 90.3%
if 1.1e45 < i < 8e113Initial program 38.5%
Taylor expanded in b around inf 54.3%
Taylor expanded in x around inf 62.1%
Final simplification66.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t y2) (* y y3)))
(t_2 (- (* j y3) (* k y2)))
(t_3 (- (* t j) (* y k)))
(t_4
(*
i
(+
(* y1 (- (* x j) (* z k)))
(- (* y5 (- (* y k) (* t j))) (* c (- (* x y) (* z t)))))))
(t_5 (- (* c y4) (* a y5)))
(t_6
(*
y3
(+
(* y t_5)
(+ (* j (- (* y0 y5) (* y1 y4))) (* z (- (* a y1) (* c y0))))))))
(if (<= i -7e+133)
t_4
(if (<= i -4.45e+83)
(* i (* t (- (* z c) (* j y5))))
(if (<= i -6.2e+32)
t_4
(if (<= i -2.6e-123)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4)))))
(if (<= i 1.76e-302)
(* y5 (+ (* a t_1) (- (* y0 t_2) (* i t_3))))
(if (<= i 9.5e-234)
t_6
(if (<= i 6e-145)
(*
y4
(- (+ (* b t_3) (* y1 (- (* k y2) (* j y3)))) (* c t_1)))
(if (<= i 5.2e-106)
t_6
(if (<= i 3.2e-7)
(*
y0
(+
(+ (* y5 t_2) (* c (- (* x y2) (* z y3))))
(* b (- (* z k) (* x j)))))
(if (<= i 1.7e+42)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= i 5.5e+157)
(*
y
(+
(+
(* k (- (* i y5) (* b y4)))
(* x (- (* a b) (* c i))))
(* y3 t_5)))
t_4)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * y2) - (y * y3);
double t_2 = (j * y3) - (k * y2);
double t_3 = (t * j) - (y * k);
double t_4 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
double t_5 = (c * y4) - (a * y5);
double t_6 = y3 * ((y * t_5) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
double tmp;
if (i <= -7e+133) {
tmp = t_4;
} else if (i <= -4.45e+83) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (i <= -6.2e+32) {
tmp = t_4;
} else if (i <= -2.6e-123) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (i <= 1.76e-302) {
tmp = y5 * ((a * t_1) + ((y0 * t_2) - (i * t_3)));
} else if (i <= 9.5e-234) {
tmp = t_6;
} else if (i <= 6e-145) {
tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) - (c * t_1));
} else if (i <= 5.2e-106) {
tmp = t_6;
} else if (i <= 3.2e-7) {
tmp = y0 * (((y5 * t_2) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (i <= 1.7e+42) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (i <= 5.5e+157) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_5));
} else {
tmp = t_4;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: tmp
t_1 = (t * y2) - (y * y3)
t_2 = (j * y3) - (k * y2)
t_3 = (t * j) - (y * k)
t_4 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))))
t_5 = (c * y4) - (a * y5)
t_6 = y3 * ((y * t_5) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))))
if (i <= (-7d+133)) then
tmp = t_4
else if (i <= (-4.45d+83)) then
tmp = i * (t * ((z * c) - (j * y5)))
else if (i <= (-6.2d+32)) then
tmp = t_4
else if (i <= (-2.6d-123)) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
else if (i <= 1.76d-302) then
tmp = y5 * ((a * t_1) + ((y0 * t_2) - (i * t_3)))
else if (i <= 9.5d-234) then
tmp = t_6
else if (i <= 6d-145) then
tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) - (c * t_1))
else if (i <= 5.2d-106) then
tmp = t_6
else if (i <= 3.2d-7) then
tmp = y0 * (((y5 * t_2) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))))
else if (i <= 1.7d+42) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (i <= 5.5d+157) then
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_5))
else
tmp = t_4
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * y2) - (y * y3);
double t_2 = (j * y3) - (k * y2);
double t_3 = (t * j) - (y * k);
double t_4 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
double t_5 = (c * y4) - (a * y5);
double t_6 = y3 * ((y * t_5) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
double tmp;
if (i <= -7e+133) {
tmp = t_4;
} else if (i <= -4.45e+83) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (i <= -6.2e+32) {
tmp = t_4;
} else if (i <= -2.6e-123) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (i <= 1.76e-302) {
tmp = y5 * ((a * t_1) + ((y0 * t_2) - (i * t_3)));
} else if (i <= 9.5e-234) {
tmp = t_6;
} else if (i <= 6e-145) {
tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) - (c * t_1));
} else if (i <= 5.2e-106) {
tmp = t_6;
} else if (i <= 3.2e-7) {
tmp = y0 * (((y5 * t_2) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (i <= 1.7e+42) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (i <= 5.5e+157) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_5));
} else {
tmp = t_4;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * y2) - (y * y3) t_2 = (j * y3) - (k * y2) t_3 = (t * j) - (y * k) t_4 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))) t_5 = (c * y4) - (a * y5) t_6 = y3 * ((y * t_5) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))) tmp = 0 if i <= -7e+133: tmp = t_4 elif i <= -4.45e+83: tmp = i * (t * ((z * c) - (j * y5))) elif i <= -6.2e+32: tmp = t_4 elif i <= -2.6e-123: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) elif i <= 1.76e-302: tmp = y5 * ((a * t_1) + ((y0 * t_2) - (i * t_3))) elif i <= 9.5e-234: tmp = t_6 elif i <= 6e-145: tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) - (c * t_1)) elif i <= 5.2e-106: tmp = t_6 elif i <= 3.2e-7: tmp = y0 * (((y5 * t_2) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))) elif i <= 1.7e+42: tmp = t * (y4 * ((b * j) - (c * y2))) elif i <= 5.5e+157: tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_5)) else: tmp = t_4 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * y2) - Float64(y * y3)) t_2 = Float64(Float64(j * y3) - Float64(k * y2)) t_3 = Float64(Float64(t * j) - Float64(y * k)) t_4 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * Float64(Float64(x * y) - Float64(z * t)))))) t_5 = Float64(Float64(c * y4) - Float64(a * y5)) t_6 = Float64(y3 * Float64(Float64(y * t_5) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))) tmp = 0.0 if (i <= -7e+133) tmp = t_4; elseif (i <= -4.45e+83) tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); elseif (i <= -6.2e+32) tmp = t_4; elseif (i <= -2.6e-123) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (i <= 1.76e-302) tmp = Float64(y5 * Float64(Float64(a * t_1) + Float64(Float64(y0 * t_2) - Float64(i * t_3)))); elseif (i <= 9.5e-234) tmp = t_6; elseif (i <= 6e-145) tmp = Float64(y4 * Float64(Float64(Float64(b * t_3) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) - Float64(c * t_1))); elseif (i <= 5.2e-106) tmp = t_6; elseif (i <= 3.2e-7) tmp = Float64(y0 * Float64(Float64(Float64(y5 * t_2) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (i <= 1.7e+42) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (i <= 5.5e+157) tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * Float64(Float64(a * b) - Float64(c * i)))) + Float64(y3 * t_5))); else tmp = t_4; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (t * y2) - (y * y3); t_2 = (j * y3) - (k * y2); t_3 = (t * j) - (y * k); t_4 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))); t_5 = (c * y4) - (a * y5); t_6 = y3 * ((y * t_5) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))); tmp = 0.0; if (i <= -7e+133) tmp = t_4; elseif (i <= -4.45e+83) tmp = i * (t * ((z * c) - (j * y5))); elseif (i <= -6.2e+32) tmp = t_4; elseif (i <= -2.6e-123) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); elseif (i <= 1.76e-302) tmp = y5 * ((a * t_1) + ((y0 * t_2) - (i * t_3))); elseif (i <= 9.5e-234) tmp = t_6; elseif (i <= 6e-145) tmp = y4 * (((b * t_3) + (y1 * ((k * y2) - (j * y3)))) - (c * t_1)); elseif (i <= 5.2e-106) tmp = t_6; elseif (i <= 3.2e-7) tmp = y0 * (((y5 * t_2) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))); elseif (i <= 1.7e+42) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (i <= 5.5e+157) tmp = y * (((k * ((i * y5) - (b * y4))) + (x * ((a * b) - (c * i)))) + (y3 * t_5)); else tmp = t_4; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y3 * N[(N[(y * t$95$5), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -7e+133], t$95$4, If[LessEqual[i, -4.45e+83], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -6.2e+32], t$95$4, If[LessEqual[i, -2.6e-123], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.76e-302], N[(y5 * N[(N[(a * t$95$1), $MachinePrecision] + N[(N[(y0 * t$95$2), $MachinePrecision] - N[(i * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 9.5e-234], t$95$6, If[LessEqual[i, 6e-145], N[(y4 * N[(N[(N[(b * t$95$3), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 5.2e-106], t$95$6, If[LessEqual[i, 3.2e-7], N[(y0 * N[(N[(N[(y5 * t$95$2), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.7e+42], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 5.5e+157], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$4]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot y2 - y \cdot y3\\
t_2 := j \cdot y3 - k \cdot y2\\
t_3 := t \cdot j - y \cdot k\\
t_4 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\
t_5 := c \cdot y4 - a \cdot y5\\
t_6 := y3 \cdot \left(y \cdot t\_5 + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
\mathbf{if}\;i \leq -7 \cdot 10^{+133}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;i \leq -4.45 \cdot 10^{+83}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq -6.2 \cdot 10^{+32}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;i \leq -2.6 \cdot 10^{-123}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq 1.76 \cdot 10^{-302}:\\
\;\;\;\;y5 \cdot \left(a \cdot t\_1 + \left(y0 \cdot t\_2 - i \cdot t\_3\right)\right)\\
\mathbf{elif}\;i \leq 9.5 \cdot 10^{-234}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;i \leq 6 \cdot 10^{-145}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_3 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot t\_1\right)\\
\mathbf{elif}\;i \leq 5.2 \cdot 10^{-106}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;i \leq 3.2 \cdot 10^{-7}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot t\_2 + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;i \leq 1.7 \cdot 10^{+42}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 5.5 \cdot 10^{+157}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot t\_5\right)\\
\mathbf{else}:\\
\;\;\;\;t\_4\\
\end{array}
\end{array}
if i < -6.9999999999999997e133 or -4.45000000000000022e83 < i < -6.19999999999999986e32 or 5.5000000000000003e157 < i Initial program 18.2%
Taylor expanded in i around -inf 67.3%
if -6.9999999999999997e133 < i < -4.45000000000000022e83Initial program 8.3%
Taylor expanded in i around -inf 25.1%
Taylor expanded in t around -inf 67.2%
mul-1-neg67.2%
*-commutative67.2%
distribute-rgt-neg-in67.2%
+-commutative67.2%
mul-1-neg67.2%
unsub-neg67.2%
*-commutative67.2%
*-commutative67.2%
Simplified67.2%
if -6.19999999999999986e32 < i < -2.59999999999999995e-123Initial program 23.3%
Taylor expanded in y2 around inf 60.5%
if -2.59999999999999995e-123 < i < 1.76000000000000011e-302Initial program 43.8%
Taylor expanded in y5 around -inf 71.0%
if 1.76000000000000011e-302 < i < 9.4999999999999999e-234 or 5.99999999999999985e-145 < i < 5.2000000000000001e-106Initial program 28.4%
Taylor expanded in y3 around -inf 72.0%
if 9.4999999999999999e-234 < i < 5.99999999999999985e-145Initial program 42.2%
Taylor expanded in y4 around inf 60.0%
if 5.2000000000000001e-106 < i < 3.2000000000000001e-7Initial program 27.6%
Taylor expanded in y0 around inf 64.2%
if 3.2000000000000001e-7 < i < 1.69999999999999988e42Initial program 30.0%
Taylor expanded in y4 around inf 30.8%
Taylor expanded in t around inf 90.3%
if 1.69999999999999988e42 < i < 5.5000000000000003e157Initial program 42.1%
Taylor expanded in y around inf 63.2%
Final simplification67.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* j (- (* y0 y5) (* y1 y4))) (* z (- (* a y1) (* c y0)))))))
(t_2
(*
i
(+
(* y1 (- (* x j) (* z k)))
(- (* y5 (- (* y k) (* t j))) (* c (- (* x y) (* z t))))))))
(if (<= i -1.25e+134)
t_2
(if (<= i -3.2e+83)
(* i (* t (- (* z c) (* j y5))))
(if (<= i -4.5e+32)
t_2
(if (<= i -2e-143)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c y4)))))
(if (<= i 3.8e-238)
t_1
(if (<= i 1.35e-139)
(*
y4
(-
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* t y2) (* y y3)))))
(if (<= i 3.5e-6)
t_1
(if (<= i 4.5e+51)
(* t (* y4 (- (* b j) (* c y2))))
t_2))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
double t_2 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
double tmp;
if (i <= -1.25e+134) {
tmp = t_2;
} else if (i <= -3.2e+83) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (i <= -4.5e+32) {
tmp = t_2;
} else if (i <= -2e-143) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (i <= 3.8e-238) {
tmp = t_1;
} else if (i <= 1.35e-139) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) - (c * ((t * y2) - (y * y3))));
} else if (i <= 3.5e-6) {
tmp = t_1;
} else if (i <= 4.5e+51) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))))
t_2 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))))
if (i <= (-1.25d+134)) then
tmp = t_2
else if (i <= (-3.2d+83)) then
tmp = i * (t * ((z * c) - (j * y5)))
else if (i <= (-4.5d+32)) then
tmp = t_2
else if (i <= (-2d-143)) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))))
else if (i <= 3.8d-238) then
tmp = t_1
else if (i <= 1.35d-139) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) - (c * ((t * y2) - (y * y3))))
else if (i <= 3.5d-6) then
tmp = t_1
else if (i <= 4.5d+51) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0)))));
double t_2 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
double tmp;
if (i <= -1.25e+134) {
tmp = t_2;
} else if (i <= -3.2e+83) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (i <= -4.5e+32) {
tmp = t_2;
} else if (i <= -2e-143) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
} else if (i <= 3.8e-238) {
tmp = t_1;
} else if (i <= 1.35e-139) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) - (c * ((t * y2) - (y * y3))));
} else if (i <= 3.5e-6) {
tmp = t_1;
} else if (i <= 4.5e+51) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))) t_2 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))) tmp = 0 if i <= -1.25e+134: tmp = t_2 elif i <= -3.2e+83: tmp = i * (t * ((z * c) - (j * y5))) elif i <= -4.5e+32: tmp = t_2 elif i <= -2e-143: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) elif i <= 3.8e-238: tmp = t_1 elif i <= 1.35e-139: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) - (c * ((t * y2) - (y * y3)))) elif i <= 3.5e-6: tmp = t_1 elif i <= 4.5e+51: tmp = t * (y4 * ((b * j) - (c * y2))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))))) t_2 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * Float64(Float64(x * y) - Float64(z * t)))))) tmp = 0.0 if (i <= -1.25e+134) tmp = t_2; elseif (i <= -3.2e+83) tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); elseif (i <= -4.5e+32) tmp = t_2; elseif (i <= -2e-143) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (i <= 3.8e-238) tmp = t_1; elseif (i <= 1.35e-139) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) - Float64(c * Float64(Float64(t * y2) - Float64(y * y3))))); elseif (i <= 3.5e-6) tmp = t_1; elseif (i <= 4.5e+51) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) + (z * ((a * y1) - (c * y0))))); t_2 = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))); tmp = 0.0; if (i <= -1.25e+134) tmp = t_2; elseif (i <= -3.2e+83) tmp = i * (t * ((z * c) - (j * y5))); elseif (i <= -4.5e+32) tmp = t_2; elseif (i <= -2e-143) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); elseif (i <= 3.8e-238) tmp = t_1; elseif (i <= 1.35e-139) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) - (c * ((t * y2) - (y * y3)))); elseif (i <= 3.5e-6) tmp = t_1; elseif (i <= 4.5e+51) tmp = t * (y4 * ((b * j) - (c * y2))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.25e+134], t$95$2, If[LessEqual[i, -3.2e+83], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -4.5e+32], t$95$2, If[LessEqual[i, -2e-143], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.8e-238], t$95$1, If[LessEqual[i, 1.35e-139], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.5e-6], t$95$1, If[LessEqual[i, 4.5e+51], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\right)\\
t_2 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\
\mathbf{if}\;i \leq -1.25 \cdot 10^{+134}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;i \leq -3.2 \cdot 10^{+83}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq -4.5 \cdot 10^{+32}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;i \leq -2 \cdot 10^{-143}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq 3.8 \cdot 10^{-238}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 1.35 \cdot 10^{-139}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;i \leq 3.5 \cdot 10^{-6}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 4.5 \cdot 10^{+51}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if i < -1.24999999999999995e134 or -3.1999999999999999e83 < i < -4.5000000000000003e32 or 4.5e51 < i Initial program 23.6%
Taylor expanded in i around -inf 62.5%
if -1.24999999999999995e134 < i < -3.1999999999999999e83Initial program 8.3%
Taylor expanded in i around -inf 25.1%
Taylor expanded in t around -inf 67.2%
mul-1-neg67.2%
*-commutative67.2%
distribute-rgt-neg-in67.2%
+-commutative67.2%
mul-1-neg67.2%
unsub-neg67.2%
*-commutative67.2%
*-commutative67.2%
Simplified67.2%
if -4.5000000000000003e32 < i < -1.9999999999999999e-143Initial program 28.1%
Taylor expanded in y2 around inf 59.8%
if -1.9999999999999999e-143 < i < 3.7999999999999997e-238 or 1.3499999999999999e-139 < i < 3.49999999999999995e-6Initial program 34.7%
Taylor expanded in y3 around -inf 55.2%
if 3.7999999999999997e-238 < i < 1.3499999999999999e-139Initial program 39.0%
Taylor expanded in y4 around inf 63.1%
if 3.49999999999999995e-6 < i < 4.5e51Initial program 25.0%
Taylor expanded in y4 around inf 25.7%
Taylor expanded in t around inf 75.4%
Final simplification60.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y (- (* a b) (* c i))))
(t_2 (- (* i y1) (* b y0)))
(t_3 (* x (+ (+ t_1 (* y2 (- (* c y0) (* a y1)))) (* j t_2)))))
(if (<= k -2.2e+142)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= k -8e+89)
(* x t_1)
(if (<= k -4.8e+57)
(* (* j y5) (- (* y0 y3) (* t i)))
(if (<= k -2.9e-64)
(* y5 (* a (- (* t y2) (* y y3))))
(if (<= k -6.8e-239)
t_3
(if (<= k 2.9e-289)
(* y3 (* y4 (- (* y c) (* j y1))))
(if (<= k 8.2e-26)
t_3
(if (<= k 4e+67)
(*
y
(+
(* k (- (* i y5) (* b y4)))
(* y3 (- (* c y4) (* a y5)))))
(if (<= k 2.1e+92)
(* (* x j) t_2)
(* b (* k (- (* z y0) (* y y4)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * ((a * b) - (c * i));
double t_2 = (i * y1) - (b * y0);
double t_3 = x * ((t_1 + (y2 * ((c * y0) - (a * y1)))) + (j * t_2));
double tmp;
if (k <= -2.2e+142) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (k <= -8e+89) {
tmp = x * t_1;
} else if (k <= -4.8e+57) {
tmp = (j * y5) * ((y0 * y3) - (t * i));
} else if (k <= -2.9e-64) {
tmp = y5 * (a * ((t * y2) - (y * y3)));
} else if (k <= -6.8e-239) {
tmp = t_3;
} else if (k <= 2.9e-289) {
tmp = y3 * (y4 * ((y * c) - (j * y1)));
} else if (k <= 8.2e-26) {
tmp = t_3;
} else if (k <= 4e+67) {
tmp = y * ((k * ((i * y5) - (b * y4))) + (y3 * ((c * y4) - (a * y5))));
} else if (k <= 2.1e+92) {
tmp = (x * j) * t_2;
} else {
tmp = b * (k * ((z * y0) - (y * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = y * ((a * b) - (c * i))
t_2 = (i * y1) - (b * y0)
t_3 = x * ((t_1 + (y2 * ((c * y0) - (a * y1)))) + (j * t_2))
if (k <= (-2.2d+142)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (k <= (-8d+89)) then
tmp = x * t_1
else if (k <= (-4.8d+57)) then
tmp = (j * y5) * ((y0 * y3) - (t * i))
else if (k <= (-2.9d-64)) then
tmp = y5 * (a * ((t * y2) - (y * y3)))
else if (k <= (-6.8d-239)) then
tmp = t_3
else if (k <= 2.9d-289) then
tmp = y3 * (y4 * ((y * c) - (j * y1)))
else if (k <= 8.2d-26) then
tmp = t_3
else if (k <= 4d+67) then
tmp = y * ((k * ((i * y5) - (b * y4))) + (y3 * ((c * y4) - (a * y5))))
else if (k <= 2.1d+92) then
tmp = (x * j) * t_2
else
tmp = b * (k * ((z * y0) - (y * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * ((a * b) - (c * i));
double t_2 = (i * y1) - (b * y0);
double t_3 = x * ((t_1 + (y2 * ((c * y0) - (a * y1)))) + (j * t_2));
double tmp;
if (k <= -2.2e+142) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (k <= -8e+89) {
tmp = x * t_1;
} else if (k <= -4.8e+57) {
tmp = (j * y5) * ((y0 * y3) - (t * i));
} else if (k <= -2.9e-64) {
tmp = y5 * (a * ((t * y2) - (y * y3)));
} else if (k <= -6.8e-239) {
tmp = t_3;
} else if (k <= 2.9e-289) {
tmp = y3 * (y4 * ((y * c) - (j * y1)));
} else if (k <= 8.2e-26) {
tmp = t_3;
} else if (k <= 4e+67) {
tmp = y * ((k * ((i * y5) - (b * y4))) + (y3 * ((c * y4) - (a * y5))));
} else if (k <= 2.1e+92) {
tmp = (x * j) * t_2;
} else {
tmp = b * (k * ((z * y0) - (y * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y * ((a * b) - (c * i)) t_2 = (i * y1) - (b * y0) t_3 = x * ((t_1 + (y2 * ((c * y0) - (a * y1)))) + (j * t_2)) tmp = 0 if k <= -2.2e+142: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif k <= -8e+89: tmp = x * t_1 elif k <= -4.8e+57: tmp = (j * y5) * ((y0 * y3) - (t * i)) elif k <= -2.9e-64: tmp = y5 * (a * ((t * y2) - (y * y3))) elif k <= -6.8e-239: tmp = t_3 elif k <= 2.9e-289: tmp = y3 * (y4 * ((y * c) - (j * y1))) elif k <= 8.2e-26: tmp = t_3 elif k <= 4e+67: tmp = y * ((k * ((i * y5) - (b * y4))) + (y3 * ((c * y4) - (a * y5)))) elif k <= 2.1e+92: tmp = (x * j) * t_2 else: tmp = b * (k * ((z * y0) - (y * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y * Float64(Float64(a * b) - Float64(c * i))) t_2 = Float64(Float64(i * y1) - Float64(b * y0)) t_3 = Float64(x * Float64(Float64(t_1 + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * t_2))) tmp = 0.0 if (k <= -2.2e+142) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (k <= -8e+89) tmp = Float64(x * t_1); elseif (k <= -4.8e+57) tmp = Float64(Float64(j * y5) * Float64(Float64(y0 * y3) - Float64(t * i))); elseif (k <= -2.9e-64) tmp = Float64(y5 * Float64(a * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (k <= -6.8e-239) tmp = t_3; elseif (k <= 2.9e-289) tmp = Float64(y3 * Float64(y4 * Float64(Float64(y * c) - Float64(j * y1)))); elseif (k <= 8.2e-26) tmp = t_3; elseif (k <= 4e+67) tmp = Float64(y * Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (k <= 2.1e+92) tmp = Float64(Float64(x * j) * t_2); else tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y * ((a * b) - (c * i)); t_2 = (i * y1) - (b * y0); t_3 = x * ((t_1 + (y2 * ((c * y0) - (a * y1)))) + (j * t_2)); tmp = 0.0; if (k <= -2.2e+142) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (k <= -8e+89) tmp = x * t_1; elseif (k <= -4.8e+57) tmp = (j * y5) * ((y0 * y3) - (t * i)); elseif (k <= -2.9e-64) tmp = y5 * (a * ((t * y2) - (y * y3))); elseif (k <= -6.8e-239) tmp = t_3; elseif (k <= 2.9e-289) tmp = y3 * (y4 * ((y * c) - (j * y1))); elseif (k <= 8.2e-26) tmp = t_3; elseif (k <= 4e+67) tmp = y * ((k * ((i * y5) - (b * y4))) + (y3 * ((c * y4) - (a * y5)))); elseif (k <= 2.1e+92) tmp = (x * j) * t_2; else tmp = b * (k * ((z * y0) - (y * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(x * N[(N[(t$95$1 + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -2.2e+142], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -8e+89], N[(x * t$95$1), $MachinePrecision], If[LessEqual[k, -4.8e+57], N[(N[(j * y5), $MachinePrecision] * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -2.9e-64], N[(y5 * N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -6.8e-239], t$95$3, If[LessEqual[k, 2.9e-289], N[(y3 * N[(y4 * N[(N[(y * c), $MachinePrecision] - N[(j * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 8.2e-26], t$95$3, If[LessEqual[k, 4e+67], N[(y * N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.1e+92], N[(N[(x * j), $MachinePrecision] * t$95$2), $MachinePrecision], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(a \cdot b - c \cdot i\right)\\
t_2 := i \cdot y1 - b \cdot y0\\
t_3 := x \cdot \left(\left(t\_1 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot t\_2\right)\\
\mathbf{if}\;k \leq -2.2 \cdot 10^{+142}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;k \leq -8 \cdot 10^{+89}:\\
\;\;\;\;x \cdot t\_1\\
\mathbf{elif}\;k \leq -4.8 \cdot 10^{+57}:\\
\;\;\;\;\left(j \cdot y5\right) \cdot \left(y0 \cdot y3 - t \cdot i\right)\\
\mathbf{elif}\;k \leq -2.9 \cdot 10^{-64}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;k \leq -6.8 \cdot 10^{-239}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;k \leq 2.9 \cdot 10^{-289}:\\
\;\;\;\;y3 \cdot \left(y4 \cdot \left(y \cdot c - j \cdot y1\right)\right)\\
\mathbf{elif}\;k \leq 8.2 \cdot 10^{-26}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;k \leq 4 \cdot 10^{+67}:\\
\;\;\;\;y \cdot \left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq 2.1 \cdot 10^{+92}:\\
\;\;\;\;\left(x \cdot j\right) \cdot t\_2\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\end{array}
\end{array}
if k < -2.19999999999999987e142Initial program 40.7%
Taylor expanded in y4 around inf 63.4%
Taylor expanded in k around inf 63.6%
+-commutative63.6%
mul-1-neg63.6%
unsub-neg63.6%
Simplified63.6%
if -2.19999999999999987e142 < k < -7.99999999999999996e89Initial program 27.1%
Taylor expanded in x around inf 55.7%
Taylor expanded in y around inf 73.5%
if -7.99999999999999996e89 < k < -4.80000000000000009e57Initial program 20.0%
Taylor expanded in y5 around -inf 31.0%
Taylor expanded in j around inf 62.2%
associate-*r*62.2%
+-commutative62.2%
mul-1-neg62.2%
unsub-neg62.2%
Simplified62.2%
if -4.80000000000000009e57 < k < -2.8999999999999999e-64Initial program 30.7%
Taylor expanded in y5 around -inf 39.5%
Taylor expanded in a around inf 57.6%
if -2.8999999999999999e-64 < k < -6.8e-239 or 2.90000000000000006e-289 < k < 8.1999999999999997e-26Initial program 28.6%
Taylor expanded in x around inf 48.5%
if -6.8e-239 < k < 2.90000000000000006e-289Initial program 23.5%
Taylor expanded in y4 around inf 37.8%
Taylor expanded in y3 around -inf 50.5%
associate-*r*50.5%
neg-mul-150.5%
Simplified50.5%
if 8.1999999999999997e-26 < k < 3.99999999999999993e67Initial program 22.7%
Taylor expanded in y around inf 54.9%
Taylor expanded in x around 0 59.4%
distribute-lft-out--59.4%
Simplified59.4%
if 3.99999999999999993e67 < k < 2.09999999999999986e92Initial program 20.0%
Taylor expanded in x around inf 30.4%
Taylor expanded in j around inf 70.4%
associate-*r*60.8%
*-commutative60.8%
*-commutative60.8%
*-commutative60.8%
Simplified60.8%
if 2.09999999999999986e92 < k Initial program 30.6%
Taylor expanded in b around inf 33.2%
Taylor expanded in k around -inf 51.8%
associate-*r*51.8%
neg-mul-151.8%
Simplified51.8%
Final simplification54.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y0) (* a y1)))
(t_2
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_1))
(* t (- (* a y5) (* c y4)))))))
(if (<= y -6e+130)
(* i (* y (- (* k y5) (* x c))))
(if (<= y -2.2e-28)
t_2
(if (<= y -7e-148)
(*
i
(+
(* y1 (- (* x j) (* z k)))
(- (* y5 (- (* y k) (* t j))) (* c (- (* x y) (* z t))))))
(if (<= y -2.1e-195)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y 7.5e-187)
t_2
(if (<= y 1.55e-87)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y 1e+22)
t_2
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_1))
(* 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 = (c * y0) - (a * y1);
double t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))));
double tmp;
if (y <= -6e+130) {
tmp = i * (y * ((k * y5) - (x * c)));
} else if (y <= -2.2e-28) {
tmp = t_2;
} else if (y <= -7e-148) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
} else if (y <= -2.1e-195) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y <= 7.5e-187) {
tmp = t_2;
} else if (y <= 1.55e-87) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 1e+22) {
tmp = t_2;
} else {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (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) :: tmp
t_1 = (c * y0) - (a * y1)
t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))))
if (y <= (-6d+130)) then
tmp = i * (y * ((k * y5) - (x * c)))
else if (y <= (-2.2d-28)) then
tmp = t_2
else if (y <= (-7d-148)) then
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))))
else if (y <= (-2.1d-195)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y <= 7.5d-187) then
tmp = t_2
else if (y <= 1.55d-87) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y <= 1d+22) then
tmp = t_2
else
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (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 = (c * y0) - (a * y1);
double t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))));
double tmp;
if (y <= -6e+130) {
tmp = i * (y * ((k * y5) - (x * c)));
} else if (y <= -2.2e-28) {
tmp = t_2;
} else if (y <= -7e-148) {
tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t)))));
} else if (y <= -2.1e-195) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y <= 7.5e-187) {
tmp = t_2;
} else if (y <= 1.55e-87) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 1e+22) {
tmp = t_2;
} else {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (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 = (c * y0) - (a * y1) t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4)))) tmp = 0 if y <= -6e+130: tmp = i * (y * ((k * y5) - (x * c))) elif y <= -2.2e-28: tmp = t_2 elif y <= -7e-148: tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))) elif y <= -2.1e-195: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y <= 7.5e-187: tmp = t_2 elif y <= 1.55e-87: tmp = b * (y0 * ((z * k) - (x * j))) elif y <= 1e+22: tmp = t_2 else: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (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(Float64(c * y0) - Float64(a * y1)) t_2 = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_1)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))) tmp = 0.0 if (y <= -6e+130) tmp = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(x * c)))); elseif (y <= -2.2e-28) tmp = t_2; elseif (y <= -7e-148) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * Float64(Float64(x * y) - Float64(z * t)))))); elseif (y <= -2.1e-195) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y <= 7.5e-187) tmp = t_2; elseif (y <= 1.55e-87) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y <= 1e+22) tmp = t_2; else tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_1)) + 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 = (c * y0) - (a * y1); t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4)))); tmp = 0.0; if (y <= -6e+130) tmp = i * (y * ((k * y5) - (x * c))); elseif (y <= -2.2e-28) tmp = t_2; elseif (y <= -7e-148) tmp = i * ((y1 * ((x * j) - (z * k))) + ((y5 * ((y * k) - (t * j))) - (c * ((x * y) - (z * t))))); elseif (y <= -2.1e-195) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y <= 7.5e-187) tmp = t_2; elseif (y <= 1.55e-87) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y <= 1e+22) tmp = t_2; else tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (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[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -6e+130], N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -2.2e-28], t$95$2, If[LessEqual[y, -7e-148], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -2.1e-195], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 7.5e-187], t$95$2, If[LessEqual[y, 1.55e-87], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1e+22], t$95$2, N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $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 := c \cdot y0 - a \cdot y1\\
t_2 := y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_1\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{if}\;y \leq -6 \cdot 10^{+130}:\\
\;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{elif}\;y \leq -2.2 \cdot 10^{-28}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq -7 \cdot 10^{-148}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot \left(x \cdot y - z \cdot t\right)\right)\right)\\
\mathbf{elif}\;y \leq -2.1 \cdot 10^{-195}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y \leq 7.5 \cdot 10^{-187}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq 1.55 \cdot 10^{-87}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y \leq 10^{+22}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_1\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if y < -5.9999999999999999e130Initial program 25.0%
Taylor expanded in y around inf 57.5%
Taylor expanded in i around inf 55.4%
+-commutative55.4%
mul-1-neg55.4%
unsub-neg55.4%
Simplified55.4%
if -5.9999999999999999e130 < y < -2.19999999999999996e-28 or -2.1e-195 < y < 7.5000000000000004e-187 or 1.54999999999999999e-87 < y < 1e22Initial program 34.3%
Taylor expanded in y2 around inf 52.0%
if -2.19999999999999996e-28 < y < -7.0000000000000001e-148Initial program 38.9%
Taylor expanded in i around -inf 66.7%
if -7.0000000000000001e-148 < y < -2.1e-195Initial program 28.6%
Taylor expanded in c around inf 64.3%
Taylor expanded in y0 around inf 65.5%
if 7.5000000000000004e-187 < y < 1.54999999999999999e-87Initial program 35.6%
Taylor expanded in b around inf 55.5%
Taylor expanded in y0 around inf 55.8%
if 1e22 < y Initial program 18.8%
Taylor expanded in x around inf 55.9%
Final simplification55.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y0) (* a y1)))
(t_2
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_1))
(* t (- (* a y5) (* c y4)))))))
(if (<= y -3.9e+130)
(* i (* y (- (* k y5) (* x c))))
(if (<= y -4e-56)
t_2
(if (<= y -1.65e-166)
(* j (* y4 (- (* t b) (* y1 y3))))
(if (<= y 5.8e-187)
t_2
(if (<= y 9.8e-85)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y 9.2e+21)
t_2
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_1))
(* 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 = (c * y0) - (a * y1);
double t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))));
double tmp;
if (y <= -3.9e+130) {
tmp = i * (y * ((k * y5) - (x * c)));
} else if (y <= -4e-56) {
tmp = t_2;
} else if (y <= -1.65e-166) {
tmp = j * (y4 * ((t * b) - (y1 * y3)));
} else if (y <= 5.8e-187) {
tmp = t_2;
} else if (y <= 9.8e-85) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 9.2e+21) {
tmp = t_2;
} else {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (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) :: tmp
t_1 = (c * y0) - (a * y1)
t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))))
if (y <= (-3.9d+130)) then
tmp = i * (y * ((k * y5) - (x * c)))
else if (y <= (-4d-56)) then
tmp = t_2
else if (y <= (-1.65d-166)) then
tmp = j * (y4 * ((t * b) - (y1 * y3)))
else if (y <= 5.8d-187) then
tmp = t_2
else if (y <= 9.8d-85) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y <= 9.2d+21) then
tmp = t_2
else
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (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 = (c * y0) - (a * y1);
double t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4))));
double tmp;
if (y <= -3.9e+130) {
tmp = i * (y * ((k * y5) - (x * c)));
} else if (y <= -4e-56) {
tmp = t_2;
} else if (y <= -1.65e-166) {
tmp = j * (y4 * ((t * b) - (y1 * y3)));
} else if (y <= 5.8e-187) {
tmp = t_2;
} else if (y <= 9.8e-85) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 9.2e+21) {
tmp = t_2;
} else {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (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 = (c * y0) - (a * y1) t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4)))) tmp = 0 if y <= -3.9e+130: tmp = i * (y * ((k * y5) - (x * c))) elif y <= -4e-56: tmp = t_2 elif y <= -1.65e-166: tmp = j * (y4 * ((t * b) - (y1 * y3))) elif y <= 5.8e-187: tmp = t_2 elif y <= 9.8e-85: tmp = b * (y0 * ((z * k) - (x * j))) elif y <= 9.2e+21: tmp = t_2 else: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (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(Float64(c * y0) - Float64(a * y1)) t_2 = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_1)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))) tmp = 0.0 if (y <= -3.9e+130) tmp = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(x * c)))); elseif (y <= -4e-56) tmp = t_2; elseif (y <= -1.65e-166) tmp = Float64(j * Float64(y4 * Float64(Float64(t * b) - Float64(y1 * y3)))); elseif (y <= 5.8e-187) tmp = t_2; elseif (y <= 9.8e-85) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y <= 9.2e+21) tmp = t_2; else tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_1)) + 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 = (c * y0) - (a * y1); t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) + (t * ((a * y5) - (c * y4)))); tmp = 0.0; if (y <= -3.9e+130) tmp = i * (y * ((k * y5) - (x * c))); elseif (y <= -4e-56) tmp = t_2; elseif (y <= -1.65e-166) tmp = j * (y4 * ((t * b) - (y1 * y3))); elseif (y <= 5.8e-187) tmp = t_2; elseif (y <= 9.8e-85) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y <= 9.2e+21) tmp = t_2; else tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (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[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -3.9e+130], N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -4e-56], t$95$2, If[LessEqual[y, -1.65e-166], N[(j * N[(y4 * N[(N[(t * b), $MachinePrecision] - N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.8e-187], t$95$2, If[LessEqual[y, 9.8e-85], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9.2e+21], t$95$2, N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $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 := c \cdot y0 - a \cdot y1\\
t_2 := y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_1\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{if}\;y \leq -3.9 \cdot 10^{+130}:\\
\;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{elif}\;y \leq -4 \cdot 10^{-56}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq -1.65 \cdot 10^{-166}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(t \cdot b - y1 \cdot y3\right)\right)\\
\mathbf{elif}\;y \leq 5.8 \cdot 10^{-187}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq 9.8 \cdot 10^{-85}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y \leq 9.2 \cdot 10^{+21}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_1\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\end{array}
\end{array}
if y < -3.9000000000000002e130Initial program 25.0%
Taylor expanded in y around inf 57.5%
Taylor expanded in i around inf 55.4%
+-commutative55.4%
mul-1-neg55.4%
unsub-neg55.4%
Simplified55.4%
if -3.9000000000000002e130 < y < -4.0000000000000002e-56 or -1.65000000000000009e-166 < y < 5.79999999999999977e-187 or 9.80000000000000029e-85 < y < 9.2e21Initial program 34.2%
Taylor expanded in y2 around inf 51.8%
if -4.0000000000000002e-56 < y < -1.65000000000000009e-166Initial program 35.0%
Taylor expanded in y4 around inf 35.6%
Taylor expanded in j around inf 52.5%
+-commutative52.5%
mul-1-neg52.5%
unsub-neg52.5%
Simplified52.5%
if 5.79999999999999977e-187 < y < 9.80000000000000029e-85Initial program 35.6%
Taylor expanded in b around inf 55.5%
Taylor expanded in y0 around inf 55.8%
if 9.2e21 < y Initial program 18.8%
Taylor expanded in x around inf 55.9%
Final simplification53.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* t (- (* j y4) (* z a)))))
(t_2 (* b (* y0 (- (* z k) (* x j)))))
(t_3 (* i (* y (- (* k y5) (* x c))))))
(if (<= y0 -5.2e-125)
t_2
(if (<= y0 -4.7e-229)
t_1
(if (<= y0 8.5e-290)
t_3
(if (<= y0 6.2e-137)
(* j (* y4 (- (* t b) (* y1 y3))))
(if (<= y0 5.8e-81)
t_3
(if (<= y0 14600.0)
t_1
(if (<= y0 1.8e+213)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y0 2.3e+263) t_2 (* y5 (* (- k) (* y0 y2)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (t * ((j * y4) - (z * a)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = i * (y * ((k * y5) - (x * c)));
double tmp;
if (y0 <= -5.2e-125) {
tmp = t_2;
} else if (y0 <= -4.7e-229) {
tmp = t_1;
} else if (y0 <= 8.5e-290) {
tmp = t_3;
} else if (y0 <= 6.2e-137) {
tmp = j * (y4 * ((t * b) - (y1 * y3)));
} else if (y0 <= 5.8e-81) {
tmp = t_3;
} else if (y0 <= 14600.0) {
tmp = t_1;
} else if (y0 <= 1.8e+213) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y0 <= 2.3e+263) {
tmp = t_2;
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = b * (t * ((j * y4) - (z * a)))
t_2 = b * (y0 * ((z * k) - (x * j)))
t_3 = i * (y * ((k * y5) - (x * c)))
if (y0 <= (-5.2d-125)) then
tmp = t_2
else if (y0 <= (-4.7d-229)) then
tmp = t_1
else if (y0 <= 8.5d-290) then
tmp = t_3
else if (y0 <= 6.2d-137) then
tmp = j * (y4 * ((t * b) - (y1 * y3)))
else if (y0 <= 5.8d-81) then
tmp = t_3
else if (y0 <= 14600.0d0) then
tmp = t_1
else if (y0 <= 1.8d+213) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y0 <= 2.3d+263) then
tmp = t_2
else
tmp = y5 * (-k * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (t * ((j * y4) - (z * a)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = i * (y * ((k * y5) - (x * c)));
double tmp;
if (y0 <= -5.2e-125) {
tmp = t_2;
} else if (y0 <= -4.7e-229) {
tmp = t_1;
} else if (y0 <= 8.5e-290) {
tmp = t_3;
} else if (y0 <= 6.2e-137) {
tmp = j * (y4 * ((t * b) - (y1 * y3)));
} else if (y0 <= 5.8e-81) {
tmp = t_3;
} else if (y0 <= 14600.0) {
tmp = t_1;
} else if (y0 <= 1.8e+213) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y0 <= 2.3e+263) {
tmp = t_2;
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (t * ((j * y4) - (z * a))) t_2 = b * (y0 * ((z * k) - (x * j))) t_3 = i * (y * ((k * y5) - (x * c))) tmp = 0 if y0 <= -5.2e-125: tmp = t_2 elif y0 <= -4.7e-229: tmp = t_1 elif y0 <= 8.5e-290: tmp = t_3 elif y0 <= 6.2e-137: tmp = j * (y4 * ((t * b) - (y1 * y3))) elif y0 <= 5.8e-81: tmp = t_3 elif y0 <= 14600.0: tmp = t_1 elif y0 <= 1.8e+213: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y0 <= 2.3e+263: tmp = t_2 else: tmp = y5 * (-k * (y0 * y2)) 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(t * Float64(Float64(j * y4) - Float64(z * a)))) t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_3 = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(x * c)))) tmp = 0.0 if (y0 <= -5.2e-125) tmp = t_2; elseif (y0 <= -4.7e-229) tmp = t_1; elseif (y0 <= 8.5e-290) tmp = t_3; elseif (y0 <= 6.2e-137) tmp = Float64(j * Float64(y4 * Float64(Float64(t * b) - Float64(y1 * y3)))); elseif (y0 <= 5.8e-81) tmp = t_3; elseif (y0 <= 14600.0) tmp = t_1; elseif (y0 <= 1.8e+213) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y0 <= 2.3e+263) tmp = t_2; else tmp = Float64(y5 * Float64(Float64(-k) * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (t * ((j * y4) - (z * a))); t_2 = b * (y0 * ((z * k) - (x * j))); t_3 = i * (y * ((k * y5) - (x * c))); tmp = 0.0; if (y0 <= -5.2e-125) tmp = t_2; elseif (y0 <= -4.7e-229) tmp = t_1; elseif (y0 <= 8.5e-290) tmp = t_3; elseif (y0 <= 6.2e-137) tmp = j * (y4 * ((t * b) - (y1 * y3))); elseif (y0 <= 5.8e-81) tmp = t_3; elseif (y0 <= 14600.0) tmp = t_1; elseif (y0 <= 1.8e+213) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y0 <= 2.3e+263) tmp = t_2; else tmp = y5 * (-k * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(t * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -5.2e-125], t$95$2, If[LessEqual[y0, -4.7e-229], t$95$1, If[LessEqual[y0, 8.5e-290], t$95$3, If[LessEqual[y0, 6.2e-137], N[(j * N[(y4 * N[(N[(t * b), $MachinePrecision] - N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.8e-81], t$95$3, If[LessEqual[y0, 14600.0], t$95$1, If[LessEqual[y0, 1.8e+213], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.3e+263], t$95$2, N[(y5 * N[((-k) * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := i \cdot \left(y \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{if}\;y0 \leq -5.2 \cdot 10^{-125}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq -4.7 \cdot 10^{-229}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 8.5 \cdot 10^{-290}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y0 \leq 6.2 \cdot 10^{-137}:\\
\;\;\;\;j \cdot \left(y4 \cdot \left(t \cdot b - y1 \cdot y3\right)\right)\\
\mathbf{elif}\;y0 \leq 5.8 \cdot 10^{-81}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y0 \leq 14600:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 1.8 \cdot 10^{+213}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y0 \leq 2.3 \cdot 10^{+263}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(\left(-k\right) \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -5.20000000000000011e-125 or 1.8000000000000001e213 < y0 < 2.29999999999999997e263Initial program 27.8%
Taylor expanded in b around inf 35.9%
Taylor expanded in y0 around inf 42.7%
if -5.20000000000000011e-125 < y0 < -4.70000000000000034e-229 or 5.79999999999999978e-81 < y0 < 14600Initial program 27.8%
Taylor expanded in b around inf 49.1%
Taylor expanded in t around inf 55.3%
+-commutative55.3%
mul-1-neg55.3%
unsub-neg55.3%
Simplified55.3%
if -4.70000000000000034e-229 < y0 < 8.50000000000000045e-290 or 6.19999999999999955e-137 < y0 < 5.79999999999999978e-81Initial program 32.2%
Taylor expanded in y around inf 55.1%
Taylor expanded in i around inf 55.5%
+-commutative55.5%
mul-1-neg55.5%
unsub-neg55.5%
Simplified55.5%
if 8.50000000000000045e-290 < y0 < 6.19999999999999955e-137Initial program 39.0%
Taylor expanded in y4 around inf 39.4%
Taylor expanded in j around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
Simplified40.2%
if 14600 < y0 < 1.8000000000000001e213Initial program 26.0%
Taylor expanded in c around inf 47.6%
Taylor expanded in y0 around inf 52.2%
if 2.29999999999999997e263 < y0 Initial program 15.4%
Taylor expanded in y5 around -inf 54.2%
Taylor expanded in y0 around inf 77.2%
Taylor expanded in k around inf 77.1%
*-commutative77.1%
*-commutative77.1%
Simplified77.1%
Final simplification49.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -2.65e+244)
(* y2 (* y4 (- (* k y1) (* t c))))
(if (<= y2 -8.5e+109)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y2 -6.8e-16)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= y2 3e-282)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y2 2.1e-172)
(* b (* k (- (* z y0) (* y y4))))
(if (<= y2 1.25e+161)
(* b (* x (- (* y a) (* j y0))))
(* y5 (* y0 (- (* j y3) (* k y2)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.65e+244) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (y2 <= -8.5e+109) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y2 <= -6.8e-16) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (y2 <= 3e-282) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 2.1e-172) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (y2 <= 1.25e+161) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y5 * (y0 * ((j * y3) - (k * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-2.65d+244)) then
tmp = y2 * (y4 * ((k * y1) - (t * c)))
else if (y2 <= (-8.5d+109)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y2 <= (-6.8d-16)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (y2 <= 3d-282) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y2 <= 2.1d-172) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (y2 <= 1.25d+161) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = y5 * (y0 * ((j * y3) - (k * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.65e+244) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (y2 <= -8.5e+109) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y2 <= -6.8e-16) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (y2 <= 3e-282) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 2.1e-172) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (y2 <= 1.25e+161) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = y5 * (y0 * ((j * y3) - (k * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -2.65e+244: tmp = y2 * (y4 * ((k * y1) - (t * c))) elif y2 <= -8.5e+109: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y2 <= -6.8e-16: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif y2 <= 3e-282: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y2 <= 2.1e-172: tmp = b * (k * ((z * y0) - (y * y4))) elif y2 <= 1.25e+161: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = y5 * (y0 * ((j * y3) - (k * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -2.65e+244) tmp = Float64(y2 * Float64(y4 * Float64(Float64(k * y1) - Float64(t * c)))); elseif (y2 <= -8.5e+109) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y2 <= -6.8e-16) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (y2 <= 3e-282) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y2 <= 2.1e-172) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (y2 <= 1.25e+161) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(y5 * Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -2.65e+244) tmp = y2 * (y4 * ((k * y1) - (t * c))); elseif (y2 <= -8.5e+109) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y2 <= -6.8e-16) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (y2 <= 3e-282) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y2 <= 2.1e-172) tmp = b * (k * ((z * y0) - (y * y4))); elseif (y2 <= 1.25e+161) tmp = b * (x * ((y * a) - (j * y0))); else tmp = y5 * (y0 * ((j * y3) - (k * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -2.65e+244], N[(y2 * N[(y4 * N[(N[(k * y1), $MachinePrecision] - N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -8.5e+109], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -6.8e-16], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3e-282], 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[y2, 2.1e-172], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.25e+161], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y5 * N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2.65 \cdot 10^{+244}:\\
\;\;\;\;y2 \cdot \left(y4 \cdot \left(k \cdot y1 - t \cdot c\right)\right)\\
\mathbf{elif}\;y2 \leq -8.5 \cdot 10^{+109}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq -6.8 \cdot 10^{-16}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 3 \cdot 10^{-282}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 2.1 \cdot 10^{-172}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 1.25 \cdot 10^{+161}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -2.6499999999999999e244Initial program 23.5%
Taylor expanded in y4 around inf 41.7%
Taylor expanded in y2 around inf 60.0%
if -2.6499999999999999e244 < y2 < -8.5000000000000004e109Initial program 18.5%
Taylor expanded in c around inf 50.5%
Taylor expanded in y0 around inf 63.8%
if -8.5000000000000004e109 < y2 < -6.8e-16Initial program 18.5%
Taylor expanded in y4 around inf 37.3%
Taylor expanded in k around inf 45.6%
+-commutative45.6%
mul-1-neg45.6%
unsub-neg45.6%
Simplified45.6%
if -6.8e-16 < y2 < 3.0000000000000001e-282Initial program 37.7%
Taylor expanded in b around inf 54.9%
if 3.0000000000000001e-282 < y2 < 2.0999999999999999e-172Initial program 31.3%
Taylor expanded in b around inf 41.0%
Taylor expanded in k around -inf 54.0%
associate-*r*54.0%
neg-mul-154.0%
Simplified54.0%
if 2.0999999999999999e-172 < y2 < 1.2499999999999999e161Initial program 28.7%
Taylor expanded in b around inf 31.6%
Taylor expanded in x around inf 41.5%
if 1.2499999999999999e161 < y2 Initial program 29.0%
Taylor expanded in y5 around -inf 53.7%
Taylor expanded in y0 around inf 58.2%
Final simplification51.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y0 (- (* z k) (* x j)))))
(t_2 (* c (* y0 (- (* x y2) (* z y3))))))
(if (<= y4 -9.8e+241)
(* j (* y1 (* y3 (- y4))))
(if (<= y4 -5.8e+93)
t_2
(if (<= y4 -9.5e-68)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= y4 -1.8e-195)
t_1
(if (<= y4 2.6e-107)
(* c (* x (- (* y0 y2) (* y i))))
(if (<= y4 7.1e-19)
t_1
(if (<= y4 5e+69) t_2 (* b (* j (- (* t y4) (* x 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 = c * (y0 * ((x * y2) - (z * y3)));
double tmp;
if (y4 <= -9.8e+241) {
tmp = j * (y1 * (y3 * -y4));
} else if (y4 <= -5.8e+93) {
tmp = t_2;
} else if (y4 <= -9.5e-68) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y4 <= -1.8e-195) {
tmp = t_1;
} else if (y4 <= 2.6e-107) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else if (y4 <= 7.1e-19) {
tmp = t_1;
} else if (y4 <= 5e+69) {
tmp = t_2;
} else {
tmp = b * (j * ((t * y4) - (x * 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 = c * (y0 * ((x * y2) - (z * y3)))
if (y4 <= (-9.8d+241)) then
tmp = j * (y1 * (y3 * -y4))
else if (y4 <= (-5.8d+93)) then
tmp = t_2
else if (y4 <= (-9.5d-68)) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (y4 <= (-1.8d-195)) then
tmp = t_1
else if (y4 <= 2.6d-107) then
tmp = c * (x * ((y0 * y2) - (y * i)))
else if (y4 <= 7.1d-19) then
tmp = t_1
else if (y4 <= 5d+69) then
tmp = t_2
else
tmp = b * (j * ((t * y4) - (x * 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 = c * (y0 * ((x * y2) - (z * y3)));
double tmp;
if (y4 <= -9.8e+241) {
tmp = j * (y1 * (y3 * -y4));
} else if (y4 <= -5.8e+93) {
tmp = t_2;
} else if (y4 <= -9.5e-68) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y4 <= -1.8e-195) {
tmp = t_1;
} else if (y4 <= 2.6e-107) {
tmp = c * (x * ((y0 * y2) - (y * i)));
} else if (y4 <= 7.1e-19) {
tmp = t_1;
} else if (y4 <= 5e+69) {
tmp = t_2;
} else {
tmp = b * (j * ((t * y4) - (x * 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 = c * (y0 * ((x * y2) - (z * y3))) tmp = 0 if y4 <= -9.8e+241: tmp = j * (y1 * (y3 * -y4)) elif y4 <= -5.8e+93: tmp = t_2 elif y4 <= -9.5e-68: tmp = c * (t * ((z * i) - (y2 * y4))) elif y4 <= -1.8e-195: tmp = t_1 elif y4 <= 2.6e-107: tmp = c * (x * ((y0 * y2) - (y * i))) elif y4 <= 7.1e-19: tmp = t_1 elif y4 <= 5e+69: tmp = t_2 else: tmp = b * (j * ((t * y4) - (x * 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(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) tmp = 0.0 if (y4 <= -9.8e+241) tmp = Float64(j * Float64(y1 * Float64(y3 * Float64(-y4)))); elseif (y4 <= -5.8e+93) tmp = t_2; elseif (y4 <= -9.5e-68) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y4 <= -1.8e-195) tmp = t_1; elseif (y4 <= 2.6e-107) tmp = Float64(c * Float64(x * Float64(Float64(y0 * y2) - Float64(y * i)))); elseif (y4 <= 7.1e-19) tmp = t_1; elseif (y4 <= 5e+69) tmp = t_2; else tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * 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 = c * (y0 * ((x * y2) - (z * y3))); tmp = 0.0; if (y4 <= -9.8e+241) tmp = j * (y1 * (y3 * -y4)); elseif (y4 <= -5.8e+93) tmp = t_2; elseif (y4 <= -9.5e-68) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (y4 <= -1.8e-195) tmp = t_1; elseif (y4 <= 2.6e-107) tmp = c * (x * ((y0 * y2) - (y * i))); elseif (y4 <= 7.1e-19) tmp = t_1; elseif (y4 <= 5e+69) tmp = t_2; else tmp = b * (j * ((t * y4) - (x * 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[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -9.8e+241], N[(j * N[(y1 * N[(y3 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -5.8e+93], t$95$2, If[LessEqual[y4, -9.5e-68], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.8e-195], t$95$1, If[LessEqual[y4, 2.6e-107], N[(c * N[(x * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 7.1e-19], t$95$1, If[LessEqual[y4, 5e+69], t$95$2, N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * 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 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y4 \leq -9.8 \cdot 10^{+241}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y3 \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;y4 \leq -5.8 \cdot 10^{+93}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq -9.5 \cdot 10^{-68}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq -1.8 \cdot 10^{-195}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 2.6 \cdot 10^{-107}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{elif}\;y4 \leq 7.1 \cdot 10^{-19}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 5 \cdot 10^{+69}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\end{array}
\end{array}
if y4 < -9.79999999999999943e241Initial program 19.0%
Taylor expanded in y4 around inf 61.9%
Taylor expanded in y1 around inf 62.7%
Taylor expanded in k around 0 57.6%
associate-*r*57.6%
neg-mul-157.6%
*-commutative57.6%
Simplified57.6%
if -9.79999999999999943e241 < y4 < -5.7999999999999997e93 or 7.09999999999999978e-19 < y4 < 5.00000000000000036e69Initial program 25.6%
Taylor expanded in c around inf 43.1%
Taylor expanded in y0 around inf 45.7%
if -5.7999999999999997e93 < y4 < -9.4999999999999997e-68Initial program 33.8%
Taylor expanded in c around inf 47.6%
Taylor expanded in t around inf 47.3%
if -9.4999999999999997e-68 < y4 < -1.8e-195 or 2.6000000000000001e-107 < y4 < 7.09999999999999978e-19Initial program 37.3%
Taylor expanded in b around inf 43.8%
Taylor expanded in y0 around inf 46.0%
if -1.8e-195 < y4 < 2.6000000000000001e-107Initial program 35.2%
Taylor expanded in c around inf 40.8%
Taylor expanded in x around inf 41.1%
+-commutative41.1%
mul-1-neg41.1%
unsub-neg41.1%
Simplified41.1%
if 5.00000000000000036e69 < y4 Initial program 15.3%
Taylor expanded in b around inf 41.1%
Taylor expanded in j around inf 50.2%
Final simplification46.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* y c) (* y3 y4))))
(if (<= c -1.15e+224)
(* c (* t (* y2 (- y4))))
(if (<= c -1.15e+97)
t_1
(if (<= c -7.6e-31)
(* k (* y1 (* y2 y4)))
(if (<= c -1.05e-263)
(* b (* a (* t (- z))))
(if (<= c 8.2e-274)
(* b (* t (* j y4)))
(if (<= c 1e+130) (* b (* (* x j) (- y0))) t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * c) * (y3 * y4);
double tmp;
if (c <= -1.15e+224) {
tmp = c * (t * (y2 * -y4));
} else if (c <= -1.15e+97) {
tmp = t_1;
} else if (c <= -7.6e-31) {
tmp = k * (y1 * (y2 * y4));
} else if (c <= -1.05e-263) {
tmp = b * (a * (t * -z));
} else if (c <= 8.2e-274) {
tmp = b * (t * (j * y4));
} else if (c <= 1e+130) {
tmp = b * ((x * j) * -y0);
} 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 = (y * c) * (y3 * y4)
if (c <= (-1.15d+224)) then
tmp = c * (t * (y2 * -y4))
else if (c <= (-1.15d+97)) then
tmp = t_1
else if (c <= (-7.6d-31)) then
tmp = k * (y1 * (y2 * y4))
else if (c <= (-1.05d-263)) then
tmp = b * (a * (t * -z))
else if (c <= 8.2d-274) then
tmp = b * (t * (j * y4))
else if (c <= 1d+130) then
tmp = b * ((x * j) * -y0)
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 = (y * c) * (y3 * y4);
double tmp;
if (c <= -1.15e+224) {
tmp = c * (t * (y2 * -y4));
} else if (c <= -1.15e+97) {
tmp = t_1;
} else if (c <= -7.6e-31) {
tmp = k * (y1 * (y2 * y4));
} else if (c <= -1.05e-263) {
tmp = b * (a * (t * -z));
} else if (c <= 8.2e-274) {
tmp = b * (t * (j * y4));
} else if (c <= 1e+130) {
tmp = b * ((x * j) * -y0);
} 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 = (y * c) * (y3 * y4) tmp = 0 if c <= -1.15e+224: tmp = c * (t * (y2 * -y4)) elif c <= -1.15e+97: tmp = t_1 elif c <= -7.6e-31: tmp = k * (y1 * (y2 * y4)) elif c <= -1.05e-263: tmp = b * (a * (t * -z)) elif c <= 8.2e-274: tmp = b * (t * (j * y4)) elif c <= 1e+130: tmp = b * ((x * j) * -y0) 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(Float64(y * c) * Float64(y3 * y4)) tmp = 0.0 if (c <= -1.15e+224) tmp = Float64(c * Float64(t * Float64(y2 * Float64(-y4)))); elseif (c <= -1.15e+97) tmp = t_1; elseif (c <= -7.6e-31) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (c <= -1.05e-263) tmp = Float64(b * Float64(a * Float64(t * Float64(-z)))); elseif (c <= 8.2e-274) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (c <= 1e+130) tmp = Float64(b * Float64(Float64(x * j) * Float64(-y0))); 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 = (y * c) * (y3 * y4); tmp = 0.0; if (c <= -1.15e+224) tmp = c * (t * (y2 * -y4)); elseif (c <= -1.15e+97) tmp = t_1; elseif (c <= -7.6e-31) tmp = k * (y1 * (y2 * y4)); elseif (c <= -1.05e-263) tmp = b * (a * (t * -z)); elseif (c <= 8.2e-274) tmp = b * (t * (j * y4)); elseif (c <= 1e+130) tmp = b * ((x * j) * -y0); 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[(N[(y * c), $MachinePrecision] * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.15e+224], N[(c * N[(t * N[(y2 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.15e+97], t$95$1, If[LessEqual[c, -7.6e-31], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.05e-263], N[(b * N[(a * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 8.2e-274], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1e+130], N[(b * N[(N[(x * j), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(y \cdot c\right) \cdot \left(y3 \cdot y4\right)\\
\mathbf{if}\;c \leq -1.15 \cdot 10^{+224}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y2 \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;c \leq -1.15 \cdot 10^{+97}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -7.6 \cdot 10^{-31}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq -1.05 \cdot 10^{-263}:\\
\;\;\;\;b \cdot \left(a \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;c \leq 8.2 \cdot 10^{-274}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq 10^{+130}:\\
\;\;\;\;b \cdot \left(\left(x \cdot j\right) \cdot \left(-y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -1.1500000000000001e224Initial program 11.8%
Taylor expanded in c around inf 59.2%
Taylor expanded in y4 around inf 36.6%
Taylor expanded in y around 0 42.0%
associate-*r*42.0%
neg-mul-142.0%
Simplified42.0%
if -1.1500000000000001e224 < c < -1.15000000000000003e97 or 1.0000000000000001e130 < c Initial program 24.3%
Taylor expanded in c around inf 58.5%
Taylor expanded in y4 around inf 39.7%
Taylor expanded in y around inf 35.5%
associate-*r*39.8%
*-commutative39.8%
Simplified39.8%
if -1.15000000000000003e97 < c < -7.5999999999999999e-31Initial program 36.6%
Taylor expanded in y4 around inf 41.4%
Taylor expanded in y1 around inf 25.9%
Taylor expanded in k around inf 45.2%
*-commutative45.2%
Simplified45.2%
if -7.5999999999999999e-31 < c < -1.05000000000000001e-263Initial program 31.9%
Taylor expanded in b around inf 42.0%
Taylor expanded in t around inf 34.9%
+-commutative34.9%
mul-1-neg34.9%
unsub-neg34.9%
Simplified34.9%
Taylor expanded in j around 0 32.9%
mul-1-neg32.9%
*-commutative32.9%
distribute-rgt-neg-in32.9%
Simplified32.9%
if -1.05000000000000001e-263 < c < 8.19999999999999975e-274Initial program 33.3%
Taylor expanded in b around inf 38.9%
Taylor expanded in t around inf 38.9%
+-commutative38.9%
mul-1-neg38.9%
unsub-neg38.9%
Simplified38.9%
Taylor expanded in j around inf 39.0%
if 8.19999999999999975e-274 < c < 1.0000000000000001e130Initial program 30.3%
Taylor expanded in b around inf 38.6%
Taylor expanded in j around inf 33.7%
Taylor expanded in t around 0 26.0%
mul-1-neg26.0%
distribute-rgt-neg-in26.0%
*-commutative26.0%
distribute-rgt-neg-in26.0%
Simplified26.0%
Taylor expanded in b around 0 26.0%
mul-1-neg26.0%
distribute-rgt-neg-in26.0%
associate-*r*26.9%
distribute-rgt-neg-in26.9%
Simplified26.9%
Final simplification34.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -2.1e+94)
(* y1 (* k (* y2 y4)))
(if (<= y2 -1.65e+19)
(* c (* y4 (* t (- y2))))
(if (<= y2 -0.095)
(* y1 (* (* j y3) (- y4)))
(if (<= y2 -1.08e-218)
(* b (* t (* j y4)))
(if (<= y2 3.5e-245)
(* a (* b (* t (- z))))
(if (<= y2 1.92e+110)
(* b (* x (* j (- y0))))
(* y1 (* y4 (* k y2))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.1e+94) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -1.65e+19) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -0.095) {
tmp = y1 * ((j * y3) * -y4);
} else if (y2 <= -1.08e-218) {
tmp = b * (t * (j * y4));
} else if (y2 <= 3.5e-245) {
tmp = a * (b * (t * -z));
} else if (y2 <= 1.92e+110) {
tmp = b * (x * (j * -y0));
} else {
tmp = y1 * (y4 * (k * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-2.1d+94)) then
tmp = y1 * (k * (y2 * y4))
else if (y2 <= (-1.65d+19)) then
tmp = c * (y4 * (t * -y2))
else if (y2 <= (-0.095d0)) then
tmp = y1 * ((j * y3) * -y4)
else if (y2 <= (-1.08d-218)) then
tmp = b * (t * (j * y4))
else if (y2 <= 3.5d-245) then
tmp = a * (b * (t * -z))
else if (y2 <= 1.92d+110) then
tmp = b * (x * (j * -y0))
else
tmp = y1 * (y4 * (k * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.1e+94) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -1.65e+19) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -0.095) {
tmp = y1 * ((j * y3) * -y4);
} else if (y2 <= -1.08e-218) {
tmp = b * (t * (j * y4));
} else if (y2 <= 3.5e-245) {
tmp = a * (b * (t * -z));
} else if (y2 <= 1.92e+110) {
tmp = b * (x * (j * -y0));
} else {
tmp = y1 * (y4 * (k * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -2.1e+94: tmp = y1 * (k * (y2 * y4)) elif y2 <= -1.65e+19: tmp = c * (y4 * (t * -y2)) elif y2 <= -0.095: tmp = y1 * ((j * y3) * -y4) elif y2 <= -1.08e-218: tmp = b * (t * (j * y4)) elif y2 <= 3.5e-245: tmp = a * (b * (t * -z)) elif y2 <= 1.92e+110: tmp = b * (x * (j * -y0)) else: tmp = y1 * (y4 * (k * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -2.1e+94) tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); elseif (y2 <= -1.65e+19) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); elseif (y2 <= -0.095) tmp = Float64(y1 * Float64(Float64(j * y3) * Float64(-y4))); elseif (y2 <= -1.08e-218) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= 3.5e-245) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); elseif (y2 <= 1.92e+110) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(y1 * Float64(y4 * Float64(k * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -2.1e+94) tmp = y1 * (k * (y2 * y4)); elseif (y2 <= -1.65e+19) tmp = c * (y4 * (t * -y2)); elseif (y2 <= -0.095) tmp = y1 * ((j * y3) * -y4); elseif (y2 <= -1.08e-218) tmp = b * (t * (j * y4)); elseif (y2 <= 3.5e-245) tmp = a * (b * (t * -z)); elseif (y2 <= 1.92e+110) tmp = b * (x * (j * -y0)); else tmp = y1 * (y4 * (k * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -2.1e+94], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.65e+19], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -0.095], N[(y1 * N[(N[(j * y3), $MachinePrecision] * (-y4)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.08e-218], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.5e-245], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.92e+110], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2.1 \cdot 10^{+94}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -1.65 \cdot 10^{+19}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -0.095:\\
\;\;\;\;y1 \cdot \left(\left(j \cdot y3\right) \cdot \left(-y4\right)\right)\\
\mathbf{elif}\;y2 \leq -1.08 \cdot 10^{-218}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 3.5 \cdot 10^{-245}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;y2 \leq 1.92 \cdot 10^{+110}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -2.09999999999999989e94Initial program 24.6%
Taylor expanded in y4 around inf 34.0%
Taylor expanded in y1 around inf 34.3%
Taylor expanded in k around inf 43.0%
*-commutative43.0%
Simplified43.0%
if -2.09999999999999989e94 < y2 < -1.65e19Initial program 14.3%
Taylor expanded in c around inf 50.1%
Taylor expanded in y4 around inf 50.3%
Taylor expanded in y around 0 37.0%
mul-1-neg37.0%
associate-*r*50.3%
*-commutative50.3%
distribute-lft-neg-in50.3%
*-commutative50.3%
distribute-rgt-neg-in50.3%
Simplified50.3%
if -1.65e19 < y2 < -0.095000000000000001Initial program 0.0%
Taylor expanded in y4 around inf 25.0%
Taylor expanded in y1 around inf 75.7%
Taylor expanded in k around 0 75.7%
neg-mul-175.7%
distribute-rgt-neg-in75.7%
Simplified75.7%
if -0.095000000000000001 < y2 < -1.08e-218Initial program 32.8%
Taylor expanded in b around inf 49.1%
Taylor expanded in t around inf 38.6%
+-commutative38.6%
mul-1-neg38.6%
unsub-neg38.6%
Simplified38.6%
Taylor expanded in j around inf 29.3%
if -1.08e-218 < y2 < 3.50000000000000016e-245Initial program 42.4%
Taylor expanded in b around inf 58.0%
Taylor expanded in t around inf 34.7%
+-commutative34.7%
mul-1-neg34.7%
unsub-neg34.7%
Simplified34.7%
Taylor expanded in j around 0 40.7%
associate-*r*40.7%
neg-mul-140.7%
*-commutative40.7%
Simplified40.7%
if 3.50000000000000016e-245 < y2 < 1.9199999999999999e110Initial program 25.8%
Taylor expanded in b around inf 27.5%
Taylor expanded in j around inf 33.2%
Taylor expanded in t around 0 26.9%
mul-1-neg26.9%
distribute-rgt-neg-in26.9%
*-commutative26.9%
distribute-rgt-neg-in26.9%
Simplified26.9%
Taylor expanded in x around 0 26.9%
*-commutative26.9%
neg-mul-126.9%
distribute-rgt-neg-in26.9%
associate-*r*28.2%
Simplified28.2%
if 1.9199999999999999e110 < y2 Initial program 31.4%
Taylor expanded in y4 around inf 24.3%
Taylor expanded in y1 around inf 43.8%
Taylor expanded in k around inf 34.5%
associate-*r*36.8%
Simplified36.8%
Final simplification35.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -8.2e+93)
(* y1 (* k (* y2 y4)))
(if (<= y2 -2.1e+17)
(* c (* y4 (* t (- y2))))
(if (<= y2 -0.125)
(* y1 (* (* j y3) (- y4)))
(if (<= y2 -1.06e-219)
(* b (* t (* j y4)))
(if (<= y2 1.1e-245)
(* a (* b (* t (- z))))
(if (<= y2 2e+159)
(* b (* x (* j (- y0))))
(* k (* (* y2 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) {
double tmp;
if (y2 <= -8.2e+93) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -2.1e+17) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -0.125) {
tmp = y1 * ((j * y3) * -y4);
} else if (y2 <= -1.06e-219) {
tmp = b * (t * (j * y4));
} else if (y2 <= 1.1e-245) {
tmp = a * (b * (t * -z));
} else if (y2 <= 2e+159) {
tmp = b * (x * (j * -y0));
} else {
tmp = k * ((y2 * y5) * -y0);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-8.2d+93)) then
tmp = y1 * (k * (y2 * y4))
else if (y2 <= (-2.1d+17)) then
tmp = c * (y4 * (t * -y2))
else if (y2 <= (-0.125d0)) then
tmp = y1 * ((j * y3) * -y4)
else if (y2 <= (-1.06d-219)) then
tmp = b * (t * (j * y4))
else if (y2 <= 1.1d-245) then
tmp = a * (b * (t * -z))
else if (y2 <= 2d+159) then
tmp = b * (x * (j * -y0))
else
tmp = k * ((y2 * y5) * -y0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -8.2e+93) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -2.1e+17) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -0.125) {
tmp = y1 * ((j * y3) * -y4);
} else if (y2 <= -1.06e-219) {
tmp = b * (t * (j * y4));
} else if (y2 <= 1.1e-245) {
tmp = a * (b * (t * -z));
} else if (y2 <= 2e+159) {
tmp = b * (x * (j * -y0));
} else {
tmp = k * ((y2 * y5) * -y0);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -8.2e+93: tmp = y1 * (k * (y2 * y4)) elif y2 <= -2.1e+17: tmp = c * (y4 * (t * -y2)) elif y2 <= -0.125: tmp = y1 * ((j * y3) * -y4) elif y2 <= -1.06e-219: tmp = b * (t * (j * y4)) elif y2 <= 1.1e-245: tmp = a * (b * (t * -z)) elif y2 <= 2e+159: tmp = b * (x * (j * -y0)) else: tmp = k * ((y2 * y5) * -y0) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -8.2e+93) tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); elseif (y2 <= -2.1e+17) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); elseif (y2 <= -0.125) tmp = Float64(y1 * Float64(Float64(j * y3) * Float64(-y4))); elseif (y2 <= -1.06e-219) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= 1.1e-245) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); elseif (y2 <= 2e+159) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(k * Float64(Float64(y2 * y5) * Float64(-y0))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -8.2e+93) tmp = y1 * (k * (y2 * y4)); elseif (y2 <= -2.1e+17) tmp = c * (y4 * (t * -y2)); elseif (y2 <= -0.125) tmp = y1 * ((j * y3) * -y4); elseif (y2 <= -1.06e-219) tmp = b * (t * (j * y4)); elseif (y2 <= 1.1e-245) tmp = a * (b * (t * -z)); elseif (y2 <= 2e+159) tmp = b * (x * (j * -y0)); else tmp = k * ((y2 * y5) * -y0); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -8.2e+93], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.1e+17], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -0.125], N[(y1 * N[(N[(j * y3), $MachinePrecision] * (-y4)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.06e-219], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.1e-245], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2e+159], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(N[(y2 * y5), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -8.2 \cdot 10^{+93}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -2.1 \cdot 10^{+17}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -0.125:\\
\;\;\;\;y1 \cdot \left(\left(j \cdot y3\right) \cdot \left(-y4\right)\right)\\
\mathbf{elif}\;y2 \leq -1.06 \cdot 10^{-219}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 1.1 \cdot 10^{-245}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;y2 \leq 2 \cdot 10^{+159}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(\left(y2 \cdot y5\right) \cdot \left(-y0\right)\right)\\
\end{array}
\end{array}
if y2 < -8.2000000000000002e93Initial program 24.6%
Taylor expanded in y4 around inf 34.0%
Taylor expanded in y1 around inf 34.3%
Taylor expanded in k around inf 43.0%
*-commutative43.0%
Simplified43.0%
if -8.2000000000000002e93 < y2 < -2.1e17Initial program 14.3%
Taylor expanded in c around inf 50.1%
Taylor expanded in y4 around inf 50.3%
Taylor expanded in y around 0 37.0%
mul-1-neg37.0%
associate-*r*50.3%
*-commutative50.3%
distribute-lft-neg-in50.3%
*-commutative50.3%
distribute-rgt-neg-in50.3%
Simplified50.3%
if -2.1e17 < y2 < -0.125Initial program 0.0%
Taylor expanded in y4 around inf 25.0%
Taylor expanded in y1 around inf 75.7%
Taylor expanded in k around 0 75.7%
neg-mul-175.7%
distribute-rgt-neg-in75.7%
Simplified75.7%
if -0.125 < y2 < -1.06e-219Initial program 32.8%
Taylor expanded in b around inf 49.1%
Taylor expanded in t around inf 38.6%
+-commutative38.6%
mul-1-neg38.6%
unsub-neg38.6%
Simplified38.6%
Taylor expanded in j around inf 29.3%
if -1.06e-219 < y2 < 1.09999999999999996e-245Initial program 42.4%
Taylor expanded in b around inf 58.0%
Taylor expanded in t around inf 34.7%
+-commutative34.7%
mul-1-neg34.7%
unsub-neg34.7%
Simplified34.7%
Taylor expanded in j around 0 40.7%
associate-*r*40.7%
neg-mul-140.7%
*-commutative40.7%
Simplified40.7%
if 1.09999999999999996e-245 < y2 < 1.9999999999999999e159Initial program 27.4%
Taylor expanded in b around inf 31.0%
Taylor expanded in j around inf 33.8%
Taylor expanded in t around 0 26.3%
mul-1-neg26.3%
distribute-rgt-neg-in26.3%
*-commutative26.3%
distribute-rgt-neg-in26.3%
Simplified26.3%
Taylor expanded in x around 0 26.3%
*-commutative26.3%
neg-mul-126.3%
distribute-rgt-neg-in26.3%
associate-*r*27.3%
Simplified27.3%
if 1.9999999999999999e159 < y2 Initial program 29.0%
Taylor expanded in y5 around -inf 53.7%
Taylor expanded in y0 around inf 58.2%
Taylor expanded in k around inf 47.9%
Final simplification36.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -6.3e+92)
(* y1 (* k (* y2 y4)))
(if (<= y2 -8e+17)
(* c (* y4 (* t (- y2))))
(if (<= y2 -0.062)
(* y1 (* (* j y3) (- y4)))
(if (<= y2 -7.2e-221)
(* b (* t (* j y4)))
(if (<= y2 1.15e-245)
(* a (* b (* t (- z))))
(if (<= y2 1.55e+159)
(* b (* x (* j (- y0))))
(* y5 (* (- k) (* y0 y2))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -6.3e+92) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -8e+17) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -0.062) {
tmp = y1 * ((j * y3) * -y4);
} else if (y2 <= -7.2e-221) {
tmp = b * (t * (j * y4));
} else if (y2 <= 1.15e-245) {
tmp = a * (b * (t * -z));
} else if (y2 <= 1.55e+159) {
tmp = b * (x * (j * -y0));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-6.3d+92)) then
tmp = y1 * (k * (y2 * y4))
else if (y2 <= (-8d+17)) then
tmp = c * (y4 * (t * -y2))
else if (y2 <= (-0.062d0)) then
tmp = y1 * ((j * y3) * -y4)
else if (y2 <= (-7.2d-221)) then
tmp = b * (t * (j * y4))
else if (y2 <= 1.15d-245) then
tmp = a * (b * (t * -z))
else if (y2 <= 1.55d+159) then
tmp = b * (x * (j * -y0))
else
tmp = y5 * (-k * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -6.3e+92) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -8e+17) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -0.062) {
tmp = y1 * ((j * y3) * -y4);
} else if (y2 <= -7.2e-221) {
tmp = b * (t * (j * y4));
} else if (y2 <= 1.15e-245) {
tmp = a * (b * (t * -z));
} else if (y2 <= 1.55e+159) {
tmp = b * (x * (j * -y0));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -6.3e+92: tmp = y1 * (k * (y2 * y4)) elif y2 <= -8e+17: tmp = c * (y4 * (t * -y2)) elif y2 <= -0.062: tmp = y1 * ((j * y3) * -y4) elif y2 <= -7.2e-221: tmp = b * (t * (j * y4)) elif y2 <= 1.15e-245: tmp = a * (b * (t * -z)) elif y2 <= 1.55e+159: tmp = b * (x * (j * -y0)) else: tmp = y5 * (-k * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -6.3e+92) tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); elseif (y2 <= -8e+17) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); elseif (y2 <= -0.062) tmp = Float64(y1 * Float64(Float64(j * y3) * Float64(-y4))); elseif (y2 <= -7.2e-221) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= 1.15e-245) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); elseif (y2 <= 1.55e+159) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(y5 * Float64(Float64(-k) * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -6.3e+92) tmp = y1 * (k * (y2 * y4)); elseif (y2 <= -8e+17) tmp = c * (y4 * (t * -y2)); elseif (y2 <= -0.062) tmp = y1 * ((j * y3) * -y4); elseif (y2 <= -7.2e-221) tmp = b * (t * (j * y4)); elseif (y2 <= 1.15e-245) tmp = a * (b * (t * -z)); elseif (y2 <= 1.55e+159) tmp = b * (x * (j * -y0)); else tmp = y5 * (-k * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -6.3e+92], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -8e+17], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -0.062], N[(y1 * N[(N[(j * y3), $MachinePrecision] * (-y4)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -7.2e-221], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.15e-245], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.55e+159], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y5 * N[((-k) * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -6.3 \cdot 10^{+92}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -8 \cdot 10^{+17}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -0.062:\\
\;\;\;\;y1 \cdot \left(\left(j \cdot y3\right) \cdot \left(-y4\right)\right)\\
\mathbf{elif}\;y2 \leq -7.2 \cdot 10^{-221}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 1.15 \cdot 10^{-245}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;y2 \leq 1.55 \cdot 10^{+159}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(\left(-k\right) \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -6.2999999999999999e92Initial program 24.6%
Taylor expanded in y4 around inf 34.0%
Taylor expanded in y1 around inf 34.3%
Taylor expanded in k around inf 43.0%
*-commutative43.0%
Simplified43.0%
if -6.2999999999999999e92 < y2 < -8e17Initial program 14.3%
Taylor expanded in c around inf 50.1%
Taylor expanded in y4 around inf 50.3%
Taylor expanded in y around 0 37.0%
mul-1-neg37.0%
associate-*r*50.3%
*-commutative50.3%
distribute-lft-neg-in50.3%
*-commutative50.3%
distribute-rgt-neg-in50.3%
Simplified50.3%
if -8e17 < y2 < -0.062Initial program 0.0%
Taylor expanded in y4 around inf 25.0%
Taylor expanded in y1 around inf 75.7%
Taylor expanded in k around 0 75.7%
neg-mul-175.7%
distribute-rgt-neg-in75.7%
Simplified75.7%
if -0.062 < y2 < -7.20000000000000022e-221Initial program 32.8%
Taylor expanded in b around inf 49.1%
Taylor expanded in t around inf 38.6%
+-commutative38.6%
mul-1-neg38.6%
unsub-neg38.6%
Simplified38.6%
Taylor expanded in j around inf 29.3%
if -7.20000000000000022e-221 < y2 < 1.1500000000000001e-245Initial program 42.4%
Taylor expanded in b around inf 58.0%
Taylor expanded in t around inf 34.7%
+-commutative34.7%
mul-1-neg34.7%
unsub-neg34.7%
Simplified34.7%
Taylor expanded in j around 0 40.7%
associate-*r*40.7%
neg-mul-140.7%
*-commutative40.7%
Simplified40.7%
if 1.1500000000000001e-245 < y2 < 1.5499999999999999e159Initial program 27.4%
Taylor expanded in b around inf 31.0%
Taylor expanded in j around inf 33.8%
Taylor expanded in t around 0 26.3%
mul-1-neg26.3%
distribute-rgt-neg-in26.3%
*-commutative26.3%
distribute-rgt-neg-in26.3%
Simplified26.3%
Taylor expanded in x around 0 26.3%
*-commutative26.3%
neg-mul-126.3%
distribute-rgt-neg-in26.3%
associate-*r*27.3%
Simplified27.3%
if 1.5499999999999999e159 < y2 Initial program 29.0%
Taylor expanded in y5 around -inf 53.7%
Taylor expanded in y0 around inf 58.2%
Taylor expanded in k around inf 54.5%
*-commutative54.5%
*-commutative54.5%
Simplified54.5%
Final simplification37.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* t (- (* j y4) (* z a)))))
(t_2 (* b (* y0 (- (* z k) (* x j))))))
(if (<= y0 -1e-119)
t_2
(if (<= y0 -2.6e-259)
t_1
(if (<= y0 3.5e-176)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= y0 1.02e+133)
t_1
(if (<= y0 8.2e+263) t_2 (* y5 (* (- k) (* y0 y2))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (t * ((j * y4) - (z * a)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double tmp;
if (y0 <= -1e-119) {
tmp = t_2;
} else if (y0 <= -2.6e-259) {
tmp = t_1;
} else if (y0 <= 3.5e-176) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y0 <= 1.02e+133) {
tmp = t_1;
} else if (y0 <= 8.2e+263) {
tmp = t_2;
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (t * ((j * y4) - (z * a)))
t_2 = b * (y0 * ((z * k) - (x * j)))
if (y0 <= (-1d-119)) then
tmp = t_2
else if (y0 <= (-2.6d-259)) then
tmp = t_1
else if (y0 <= 3.5d-176) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (y0 <= 1.02d+133) then
tmp = t_1
else if (y0 <= 8.2d+263) then
tmp = t_2
else
tmp = y5 * (-k * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (t * ((j * y4) - (z * a)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double tmp;
if (y0 <= -1e-119) {
tmp = t_2;
} else if (y0 <= -2.6e-259) {
tmp = t_1;
} else if (y0 <= 3.5e-176) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y0 <= 1.02e+133) {
tmp = t_1;
} else if (y0 <= 8.2e+263) {
tmp = t_2;
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (t * ((j * y4) - (z * a))) t_2 = b * (y0 * ((z * k) - (x * j))) tmp = 0 if y0 <= -1e-119: tmp = t_2 elif y0 <= -2.6e-259: tmp = t_1 elif y0 <= 3.5e-176: tmp = c * (t * ((z * i) - (y2 * y4))) elif y0 <= 1.02e+133: tmp = t_1 elif y0 <= 8.2e+263: tmp = t_2 else: tmp = y5 * (-k * (y0 * y2)) 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(t * Float64(Float64(j * y4) - Float64(z * a)))) t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) tmp = 0.0 if (y0 <= -1e-119) tmp = t_2; elseif (y0 <= -2.6e-259) tmp = t_1; elseif (y0 <= 3.5e-176) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y0 <= 1.02e+133) tmp = t_1; elseif (y0 <= 8.2e+263) tmp = t_2; else tmp = Float64(y5 * Float64(Float64(-k) * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (t * ((j * y4) - (z * a))); t_2 = b * (y0 * ((z * k) - (x * j))); tmp = 0.0; if (y0 <= -1e-119) tmp = t_2; elseif (y0 <= -2.6e-259) tmp = t_1; elseif (y0 <= 3.5e-176) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (y0 <= 1.02e+133) tmp = t_1; elseif (y0 <= 8.2e+263) tmp = t_2; else tmp = y5 * (-k * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(t * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1e-119], t$95$2, If[LessEqual[y0, -2.6e-259], t$95$1, If[LessEqual[y0, 3.5e-176], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.02e+133], t$95$1, If[LessEqual[y0, 8.2e+263], t$95$2, N[(y5 * N[((-k) * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;y0 \leq -1 \cdot 10^{-119}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y0 \leq -2.6 \cdot 10^{-259}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 3.5 \cdot 10^{-176}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 1.02 \cdot 10^{+133}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 8.2 \cdot 10^{+263}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(\left(-k\right) \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -1.00000000000000001e-119 or 1.02e133 < y0 < 8.19999999999999971e263Initial program 28.2%
Taylor expanded in b around inf 34.9%
Taylor expanded in y0 around inf 44.1%
if -1.00000000000000001e-119 < y0 < -2.60000000000000001e-259 or 3.5e-176 < y0 < 1.02e133Initial program 27.8%
Taylor expanded in b around inf 36.6%
Taylor expanded in t around inf 40.5%
+-commutative40.5%
mul-1-neg40.5%
unsub-neg40.5%
Simplified40.5%
if -2.60000000000000001e-259 < y0 < 3.5e-176Initial program 37.1%
Taylor expanded in c around inf 42.8%
Taylor expanded in t around inf 35.7%
if 8.19999999999999971e263 < y0 Initial program 15.4%
Taylor expanded in y5 around -inf 54.2%
Taylor expanded in y0 around inf 77.2%
Taylor expanded in k around inf 77.1%
*-commutative77.1%
*-commutative77.1%
Simplified77.1%
Final simplification43.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))))
(if (<= c -1e+92)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= c -5.8e-292)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= c 2.4e-176)
t_1
(if (<= c 1.1e-119)
(* b (* x (- (* y a) (* j y0))))
(if (<= c 3e+216) t_1 (* c (* z (- (* t i) (* y0 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 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (c <= -1e+92) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (c <= -5.8e-292) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (c <= 2.4e-176) {
tmp = t_1;
} else if (c <= 1.1e-119) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (c <= 3e+216) {
tmp = t_1;
} else {
tmp = c * (z * ((t * i) - (y0 * 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) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
if (c <= (-1d+92)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (c <= (-5.8d-292)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (c <= 2.4d-176) then
tmp = t_1
else if (c <= 1.1d-119) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (c <= 3d+216) then
tmp = t_1
else
tmp = c * (z * ((t * i) - (y0 * 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 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (c <= -1e+92) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (c <= -5.8e-292) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (c <= 2.4e-176) {
tmp = t_1;
} else if (c <= 1.1e-119) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (c <= 3e+216) {
tmp = t_1;
} else {
tmp = c * (z * ((t * i) - (y0 * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if c <= -1e+92: tmp = c * (y0 * ((x * y2) - (z * y3))) elif c <= -5.8e-292: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif c <= 2.4e-176: tmp = t_1 elif c <= 1.1e-119: tmp = b * (x * ((y * a) - (j * y0))) elif c <= 3e+216: tmp = t_1 else: tmp = c * (z * ((t * i) - (y0 * y3))) 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(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (c <= -1e+92) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (c <= -5.8e-292) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (c <= 2.4e-176) tmp = t_1; elseif (c <= 1.1e-119) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (c <= 3e+216) tmp = t_1; else tmp = Float64(c * Float64(z * Float64(Float64(t * i) - Float64(y0 * 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 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (c <= -1e+92) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (c <= -5.8e-292) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (c <= 2.4e-176) tmp = t_1; elseif (c <= 1.1e-119) tmp = b * (x * ((y * a) - (j * y0))); elseif (c <= 3e+216) tmp = t_1; else tmp = c * (z * ((t * i) - (y0 * 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[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1e+92], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -5.8e-292], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.4e-176], t$95$1, If[LessEqual[c, 1.1e-119], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3e+216], t$95$1, N[(c * N[(z * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;c \leq -1 \cdot 10^{+92}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq -5.8 \cdot 10^{-292}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;c \leq 2.4 \cdot 10^{-176}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 1.1 \cdot 10^{-119}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 3 \cdot 10^{+216}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(z \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\end{array}
\end{array}
if c < -1e92Initial program 21.7%
Taylor expanded in c around inf 60.2%
Taylor expanded in y0 around inf 53.2%
if -1e92 < c < -5.79999999999999985e-292Initial program 34.1%
Taylor expanded in y4 around inf 45.0%
Taylor expanded in k around inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
Simplified48.1%
if -5.79999999999999985e-292 < c < 2.40000000000000006e-176 or 1.1e-119 < c < 2.9999999999999998e216Initial program 27.2%
Taylor expanded in b around inf 36.8%
Taylor expanded in j around inf 42.6%
if 2.40000000000000006e-176 < c < 1.1e-119Initial program 30.0%
Taylor expanded in b around inf 50.3%
Taylor expanded in x around inf 61.3%
if 2.9999999999999998e216 < c Initial program 32.0%
Taylor expanded in c around inf 64.2%
Taylor expanded in z around inf 60.9%
+-commutative60.9%
mul-1-neg60.9%
unsub-neg60.9%
Simplified60.9%
Final simplification48.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))))
(if (<= c -1.1e+92)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= c -8.5e-292)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= c 2.3e-180)
t_1
(if (<= c 3.5e-116)
(* y (* y5 (- (* i k) (* a y3))))
(if (<= c 8.8e+216) t_1 (* c (* z (- (* t i) (* y0 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 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (c <= -1.1e+92) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (c <= -8.5e-292) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (c <= 2.3e-180) {
tmp = t_1;
} else if (c <= 3.5e-116) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (c <= 8.8e+216) {
tmp = t_1;
} else {
tmp = c * (z * ((t * i) - (y0 * 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) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
if (c <= (-1.1d+92)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (c <= (-8.5d-292)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (c <= 2.3d-180) then
tmp = t_1
else if (c <= 3.5d-116) then
tmp = y * (y5 * ((i * k) - (a * y3)))
else if (c <= 8.8d+216) then
tmp = t_1
else
tmp = c * (z * ((t * i) - (y0 * 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 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (c <= -1.1e+92) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (c <= -8.5e-292) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (c <= 2.3e-180) {
tmp = t_1;
} else if (c <= 3.5e-116) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (c <= 8.8e+216) {
tmp = t_1;
} else {
tmp = c * (z * ((t * i) - (y0 * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if c <= -1.1e+92: tmp = c * (y0 * ((x * y2) - (z * y3))) elif c <= -8.5e-292: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif c <= 2.3e-180: tmp = t_1 elif c <= 3.5e-116: tmp = y * (y5 * ((i * k) - (a * y3))) elif c <= 8.8e+216: tmp = t_1 else: tmp = c * (z * ((t * i) - (y0 * y3))) 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(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (c <= -1.1e+92) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (c <= -8.5e-292) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (c <= 2.3e-180) tmp = t_1; elseif (c <= 3.5e-116) tmp = Float64(y * Float64(y5 * Float64(Float64(i * k) - Float64(a * y3)))); elseif (c <= 8.8e+216) tmp = t_1; else tmp = Float64(c * Float64(z * Float64(Float64(t * i) - Float64(y0 * 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 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (c <= -1.1e+92) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (c <= -8.5e-292) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (c <= 2.3e-180) tmp = t_1; elseif (c <= 3.5e-116) tmp = y * (y5 * ((i * k) - (a * y3))); elseif (c <= 8.8e+216) tmp = t_1; else tmp = c * (z * ((t * i) - (y0 * 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[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.1e+92], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -8.5e-292], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.3e-180], t$95$1, If[LessEqual[c, 3.5e-116], N[(y * N[(y5 * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 8.8e+216], t$95$1, N[(c * N[(z * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;c \leq -1.1 \cdot 10^{+92}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq -8.5 \cdot 10^{-292}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;c \leq 2.3 \cdot 10^{-180}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 3.5 \cdot 10^{-116}:\\
\;\;\;\;y \cdot \left(y5 \cdot \left(i \cdot k - a \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq 8.8 \cdot 10^{+216}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(z \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\end{array}
\end{array}
if c < -1.09999999999999996e92Initial program 21.7%
Taylor expanded in c around inf 60.2%
Taylor expanded in y0 around inf 53.2%
if -1.09999999999999996e92 < c < -8.50000000000000066e-292Initial program 34.1%
Taylor expanded in y4 around inf 45.0%
Taylor expanded in k around inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
Simplified48.1%
if -8.50000000000000066e-292 < c < 2.29999999999999996e-180 or 3.49999999999999984e-116 < c < 8.8e216Initial program 27.3%
Taylor expanded in b around inf 37.0%
Taylor expanded in j around inf 43.1%
if 2.29999999999999996e-180 < c < 3.49999999999999984e-116Initial program 28.6%
Taylor expanded in y around inf 64.7%
Taylor expanded in y5 around inf 58.0%
if 8.8e216 < c Initial program 32.0%
Taylor expanded in c around inf 64.2%
Taylor expanded in z around inf 60.9%
+-commutative60.9%
mul-1-neg60.9%
unsub-neg60.9%
Simplified60.9%
Final simplification48.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -3.3e+111)
(* i (* y (- (* k y5) (* x c))))
(if (<= y -2.4e-194)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y 7.8e-308)
(* y2 (* y4 (- (* k y1) (* t c))))
(if (<= y 7e-83)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y 1.45e+201)
(* c (* y4 (- (* y y3) (* t y2))))
(* x (* y (- (* a b) (* c i))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -3.3e+111) {
tmp = i * (y * ((k * y5) - (x * c)));
} else if (y <= -2.4e-194) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y <= 7.8e-308) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (y <= 7e-83) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 1.45e+201) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = x * (y * ((a * b) - (c * i)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-3.3d+111)) then
tmp = i * (y * ((k * y5) - (x * c)))
else if (y <= (-2.4d-194)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y <= 7.8d-308) then
tmp = y2 * (y4 * ((k * y1) - (t * c)))
else if (y <= 7d-83) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y <= 1.45d+201) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else
tmp = x * (y * ((a * b) - (c * i)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -3.3e+111) {
tmp = i * (y * ((k * y5) - (x * c)));
} else if (y <= -2.4e-194) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y <= 7.8e-308) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (y <= 7e-83) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 1.45e+201) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = x * (y * ((a * b) - (c * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -3.3e+111: tmp = i * (y * ((k * y5) - (x * c))) elif y <= -2.4e-194: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y <= 7.8e-308: tmp = y2 * (y4 * ((k * y1) - (t * c))) elif y <= 7e-83: tmp = b * (y0 * ((z * k) - (x * j))) elif y <= 1.45e+201: tmp = c * (y4 * ((y * y3) - (t * y2))) else: tmp = x * (y * ((a * b) - (c * i))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -3.3e+111) tmp = Float64(i * Float64(y * Float64(Float64(k * y5) - Float64(x * c)))); elseif (y <= -2.4e-194) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y <= 7.8e-308) tmp = Float64(y2 * Float64(y4 * Float64(Float64(k * y1) - Float64(t * c)))); elseif (y <= 7e-83) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y <= 1.45e+201) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); else tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -3.3e+111) tmp = i * (y * ((k * y5) - (x * c))); elseif (y <= -2.4e-194) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y <= 7.8e-308) tmp = y2 * (y4 * ((k * y1) - (t * c))); elseif (y <= 7e-83) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y <= 1.45e+201) tmp = c * (y4 * ((y * y3) - (t * y2))); else tmp = x * (y * ((a * b) - (c * i))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -3.3e+111], N[(i * N[(y * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -2.4e-194], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 7.8e-308], N[(y2 * N[(y4 * N[(N[(k * y1), $MachinePrecision] - N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 7e-83], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.45e+201], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.3 \cdot 10^{+111}:\\
\;\;\;\;i \cdot \left(y \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{elif}\;y \leq -2.4 \cdot 10^{-194}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y \leq 7.8 \cdot 10^{-308}:\\
\;\;\;\;y2 \cdot \left(y4 \cdot \left(k \cdot y1 - t \cdot c\right)\right)\\
\mathbf{elif}\;y \leq 7 \cdot 10^{-83}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y \leq 1.45 \cdot 10^{+201}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\end{array}
\end{array}
if y < -3.3000000000000001e111Initial program 28.3%
Taylor expanded in y around inf 54.3%
Taylor expanded in i around inf 52.5%
+-commutative52.5%
mul-1-neg52.5%
unsub-neg52.5%
Simplified52.5%
if -3.3000000000000001e111 < y < -2.4e-194Initial program 31.9%
Taylor expanded in c around inf 55.2%
Taylor expanded in y0 around inf 46.9%
if -2.4e-194 < y < 7.7999999999999999e-308Initial program 40.7%
Taylor expanded in y4 around inf 45.3%
Taylor expanded in y2 around inf 49.4%
if 7.7999999999999999e-308 < y < 7.00000000000000061e-83Initial program 30.5%
Taylor expanded in b around inf 43.2%
Taylor expanded in y0 around inf 43.5%
if 7.00000000000000061e-83 < y < 1.4500000000000001e201Initial program 23.2%
Taylor expanded in c around inf 44.6%
Taylor expanded in y4 around inf 40.4%
if 1.4500000000000001e201 < y Initial program 20.0%
Taylor expanded in x around inf 52.0%
Taylor expanded in y around inf 64.6%
Final simplification47.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -2.85e+100)
(* y (+ (* k (- (* i y5) (* b y4))) (* y3 (- (* c y4) (* a y5)))))
(if (<= y -1.9e-193)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y 1.25e-306)
(* y2 (* y4 (- (* k y1) (* t c))))
(if (<= y 5.6e-87)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y 1.5e+204)
(* c (* y4 (- (* y y3) (* t y2))))
(* x (* y (- (* a b) (* c i))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -2.85e+100) {
tmp = y * ((k * ((i * y5) - (b * y4))) + (y3 * ((c * y4) - (a * y5))));
} else if (y <= -1.9e-193) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y <= 1.25e-306) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (y <= 5.6e-87) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 1.5e+204) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = x * (y * ((a * b) - (c * i)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-2.85d+100)) then
tmp = y * ((k * ((i * y5) - (b * y4))) + (y3 * ((c * y4) - (a * y5))))
else if (y <= (-1.9d-193)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y <= 1.25d-306) then
tmp = y2 * (y4 * ((k * y1) - (t * c)))
else if (y <= 5.6d-87) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y <= 1.5d+204) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else
tmp = x * (y * ((a * b) - (c * i)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -2.85e+100) {
tmp = y * ((k * ((i * y5) - (b * y4))) + (y3 * ((c * y4) - (a * y5))));
} else if (y <= -1.9e-193) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y <= 1.25e-306) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (y <= 5.6e-87) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y <= 1.5e+204) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = x * (y * ((a * b) - (c * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -2.85e+100: tmp = y * ((k * ((i * y5) - (b * y4))) + (y3 * ((c * y4) - (a * y5)))) elif y <= -1.9e-193: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y <= 1.25e-306: tmp = y2 * (y4 * ((k * y1) - (t * c))) elif y <= 5.6e-87: tmp = b * (y0 * ((z * k) - (x * j))) elif y <= 1.5e+204: tmp = c * (y4 * ((y * y3) - (t * y2))) else: tmp = x * (y * ((a * b) - (c * i))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -2.85e+100) tmp = Float64(y * Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (y <= -1.9e-193) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y <= 1.25e-306) tmp = Float64(y2 * Float64(y4 * Float64(Float64(k * y1) - Float64(t * c)))); elseif (y <= 5.6e-87) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y <= 1.5e+204) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); else tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -2.85e+100) tmp = y * ((k * ((i * y5) - (b * y4))) + (y3 * ((c * y4) - (a * y5)))); elseif (y <= -1.9e-193) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y <= 1.25e-306) tmp = y2 * (y4 * ((k * y1) - (t * c))); elseif (y <= 5.6e-87) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y <= 1.5e+204) tmp = c * (y4 * ((y * y3) - (t * y2))); else tmp = x * (y * ((a * b) - (c * i))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -2.85e+100], N[(y * N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.9e-193], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.25e-306], N[(y2 * N[(y4 * N[(N[(k * y1), $MachinePrecision] - N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.6e-87], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.5e+204], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.85 \cdot 10^{+100}:\\
\;\;\;\;y \cdot \left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;y \leq -1.9 \cdot 10^{-193}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y \leq 1.25 \cdot 10^{-306}:\\
\;\;\;\;y2 \cdot \left(y4 \cdot \left(k \cdot y1 - t \cdot c\right)\right)\\
\mathbf{elif}\;y \leq 5.6 \cdot 10^{-87}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y \leq 1.5 \cdot 10^{+204}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\end{array}
\end{array}
if y < -2.84999999999999992e100Initial program 27.2%
Taylor expanded in y around inf 52.2%
Taylor expanded in x around 0 52.5%
distribute-lft-out--52.5%
Simplified52.5%
if -2.84999999999999992e100 < y < -1.90000000000000002e-193Initial program 32.9%
Taylor expanded in c around inf 53.5%
Taylor expanded in y0 around inf 46.7%
if -1.90000000000000002e-193 < y < 1.25e-306Initial program 40.7%
Taylor expanded in y4 around inf 45.3%
Taylor expanded in y2 around inf 49.4%
if 1.25e-306 < y < 5.6000000000000002e-87Initial program 30.5%
Taylor expanded in b around inf 43.2%
Taylor expanded in y0 around inf 43.5%
if 5.6000000000000002e-87 < y < 1.49999999999999991e204Initial program 23.2%
Taylor expanded in c around inf 44.6%
Taylor expanded in y4 around inf 40.4%
if 1.49999999999999991e204 < y Initial program 20.0%
Taylor expanded in x around inf 52.0%
Taylor expanded in y around inf 64.6%
Final simplification47.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -0.17)
(* k (* y1 (* y2 y4)))
(if (<= y2 -2.2e-273)
(* b (* t (* j y4)))
(if (<= y2 8.2e-307)
(* a (* y5 (* y (- y3))))
(if (<= y2 4.6e-254)
(* b (* j (* t y4)))
(if (<= y2 5.8e+107)
(* b (* x (* j (- y0))))
(* y1 (* y4 (* k y2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -0.17) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= -2.2e-273) {
tmp = b * (t * (j * y4));
} else if (y2 <= 8.2e-307) {
tmp = a * (y5 * (y * -y3));
} else if (y2 <= 4.6e-254) {
tmp = b * (j * (t * y4));
} else if (y2 <= 5.8e+107) {
tmp = b * (x * (j * -y0));
} else {
tmp = y1 * (y4 * (k * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-0.17d0)) then
tmp = k * (y1 * (y2 * y4))
else if (y2 <= (-2.2d-273)) then
tmp = b * (t * (j * y4))
else if (y2 <= 8.2d-307) then
tmp = a * (y5 * (y * -y3))
else if (y2 <= 4.6d-254) then
tmp = b * (j * (t * y4))
else if (y2 <= 5.8d+107) then
tmp = b * (x * (j * -y0))
else
tmp = y1 * (y4 * (k * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -0.17) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= -2.2e-273) {
tmp = b * (t * (j * y4));
} else if (y2 <= 8.2e-307) {
tmp = a * (y5 * (y * -y3));
} else if (y2 <= 4.6e-254) {
tmp = b * (j * (t * y4));
} else if (y2 <= 5.8e+107) {
tmp = b * (x * (j * -y0));
} else {
tmp = y1 * (y4 * (k * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -0.17: tmp = k * (y1 * (y2 * y4)) elif y2 <= -2.2e-273: tmp = b * (t * (j * y4)) elif y2 <= 8.2e-307: tmp = a * (y5 * (y * -y3)) elif y2 <= 4.6e-254: tmp = b * (j * (t * y4)) elif y2 <= 5.8e+107: tmp = b * (x * (j * -y0)) else: tmp = y1 * (y4 * (k * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -0.17) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y2 <= -2.2e-273) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= 8.2e-307) tmp = Float64(a * Float64(y5 * Float64(y * Float64(-y3)))); elseif (y2 <= 4.6e-254) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif (y2 <= 5.8e+107) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(y1 * Float64(y4 * Float64(k * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -0.17) tmp = k * (y1 * (y2 * y4)); elseif (y2 <= -2.2e-273) tmp = b * (t * (j * y4)); elseif (y2 <= 8.2e-307) tmp = a * (y5 * (y * -y3)); elseif (y2 <= 4.6e-254) tmp = b * (j * (t * y4)); elseif (y2 <= 5.8e+107) tmp = b * (x * (j * -y0)); else tmp = y1 * (y4 * (k * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -0.17], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.2e-273], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8.2e-307], N[(a * N[(y5 * N[(y * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.6e-254], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.8e+107], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -0.17:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -2.2 \cdot 10^{-273}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 8.2 \cdot 10^{-307}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(y \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;y2 \leq 4.6 \cdot 10^{-254}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 5.8 \cdot 10^{+107}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -0.170000000000000012Initial program 20.7%
Taylor expanded in y4 around inf 35.4%
Taylor expanded in y1 around inf 32.8%
Taylor expanded in k around inf 37.4%
*-commutative37.4%
Simplified37.4%
if -0.170000000000000012 < y2 < -2.1999999999999998e-273Initial program 34.3%
Taylor expanded in b around inf 48.5%
Taylor expanded in t around inf 37.4%
+-commutative37.4%
mul-1-neg37.4%
unsub-neg37.4%
Simplified37.4%
Taylor expanded in j around inf 31.5%
if -2.1999999999999998e-273 < y2 < 8.20000000000000064e-307Initial program 55.6%
Taylor expanded in y around inf 67.1%
Taylor expanded in y5 around inf 56.2%
Taylor expanded in i around 0 56.5%
mul-1-neg56.5%
distribute-rgt-neg-in56.5%
associate-*r*56.5%
distribute-rgt-neg-in56.5%
Simplified56.5%
if 8.20000000000000064e-307 < y2 < 4.5999999999999997e-254Initial program 35.7%
Taylor expanded in b around inf 64.3%
Taylor expanded in j around inf 44.1%
Taylor expanded in t around inf 37.3%
if 4.5999999999999997e-254 < y2 < 5.79999999999999975e107Initial program 26.1%
Taylor expanded in b around inf 27.7%
Taylor expanded in j around inf 32.0%
Taylor expanded in t around 0 25.9%
mul-1-neg25.9%
distribute-rgt-neg-in25.9%
*-commutative25.9%
distribute-rgt-neg-in25.9%
Simplified25.9%
Taylor expanded in x around 0 25.9%
*-commutative25.9%
neg-mul-125.9%
distribute-rgt-neg-in25.9%
associate-*r*27.1%
Simplified27.1%
if 5.79999999999999975e107 < y2 Initial program 31.4%
Taylor expanded in y4 around inf 24.3%
Taylor expanded in y1 around inf 43.8%
Taylor expanded in k around inf 34.5%
associate-*r*36.8%
Simplified36.8%
Final simplification33.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -0.065)
(* k (* y1 (* y2 y4)))
(if (<= y2 -8e-274)
(* b (* t (* j y4)))
(if (<= y2 9e-309)
(* a (* y5 (* y (- y3))))
(if (<= y2 3.25e-248)
(* b (* a (* t (- z))))
(if (<= y2 1.45e+104)
(* b (* x (* j (- y0))))
(* y1 (* y4 (* k y2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -0.065) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= -8e-274) {
tmp = b * (t * (j * y4));
} else if (y2 <= 9e-309) {
tmp = a * (y5 * (y * -y3));
} else if (y2 <= 3.25e-248) {
tmp = b * (a * (t * -z));
} else if (y2 <= 1.45e+104) {
tmp = b * (x * (j * -y0));
} else {
tmp = y1 * (y4 * (k * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-0.065d0)) then
tmp = k * (y1 * (y2 * y4))
else if (y2 <= (-8d-274)) then
tmp = b * (t * (j * y4))
else if (y2 <= 9d-309) then
tmp = a * (y5 * (y * -y3))
else if (y2 <= 3.25d-248) then
tmp = b * (a * (t * -z))
else if (y2 <= 1.45d+104) then
tmp = b * (x * (j * -y0))
else
tmp = y1 * (y4 * (k * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -0.065) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= -8e-274) {
tmp = b * (t * (j * y4));
} else if (y2 <= 9e-309) {
tmp = a * (y5 * (y * -y3));
} else if (y2 <= 3.25e-248) {
tmp = b * (a * (t * -z));
} else if (y2 <= 1.45e+104) {
tmp = b * (x * (j * -y0));
} else {
tmp = y1 * (y4 * (k * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -0.065: tmp = k * (y1 * (y2 * y4)) elif y2 <= -8e-274: tmp = b * (t * (j * y4)) elif y2 <= 9e-309: tmp = a * (y5 * (y * -y3)) elif y2 <= 3.25e-248: tmp = b * (a * (t * -z)) elif y2 <= 1.45e+104: tmp = b * (x * (j * -y0)) else: tmp = y1 * (y4 * (k * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -0.065) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y2 <= -8e-274) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= 9e-309) tmp = Float64(a * Float64(y5 * Float64(y * Float64(-y3)))); elseif (y2 <= 3.25e-248) tmp = Float64(b * Float64(a * Float64(t * Float64(-z)))); elseif (y2 <= 1.45e+104) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(y1 * Float64(y4 * Float64(k * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -0.065) tmp = k * (y1 * (y2 * y4)); elseif (y2 <= -8e-274) tmp = b * (t * (j * y4)); elseif (y2 <= 9e-309) tmp = a * (y5 * (y * -y3)); elseif (y2 <= 3.25e-248) tmp = b * (a * (t * -z)); elseif (y2 <= 1.45e+104) tmp = b * (x * (j * -y0)); else tmp = y1 * (y4 * (k * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -0.065], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -8e-274], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9e-309], N[(a * N[(y5 * N[(y * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.25e-248], N[(b * N[(a * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.45e+104], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -0.065:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -8 \cdot 10^{-274}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 9 \cdot 10^{-309}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(y \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;y2 \leq 3.25 \cdot 10^{-248}:\\
\;\;\;\;b \cdot \left(a \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;y2 \leq 1.45 \cdot 10^{+104}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -0.065000000000000002Initial program 20.7%
Taylor expanded in y4 around inf 35.4%
Taylor expanded in y1 around inf 32.8%
Taylor expanded in k around inf 37.4%
*-commutative37.4%
Simplified37.4%
if -0.065000000000000002 < y2 < -7.99999999999999973e-274Initial program 34.3%
Taylor expanded in b around inf 48.5%
Taylor expanded in t around inf 37.4%
+-commutative37.4%
mul-1-neg37.4%
unsub-neg37.4%
Simplified37.4%
Taylor expanded in j around inf 31.5%
if -7.99999999999999973e-274 < y2 < 9.0000000000000021e-309Initial program 55.6%
Taylor expanded in y around inf 67.1%
Taylor expanded in y5 around inf 56.2%
Taylor expanded in i around 0 56.5%
mul-1-neg56.5%
distribute-rgt-neg-in56.5%
associate-*r*56.5%
distribute-rgt-neg-in56.5%
Simplified56.5%
if 9.0000000000000021e-309 < y2 < 3.25e-248Initial program 37.5%
Taylor expanded in b around inf 62.5%
Taylor expanded in t around inf 45.0%
+-commutative45.0%
mul-1-neg45.0%
unsub-neg45.0%
Simplified45.0%
Taylor expanded in j around 0 33.6%
mul-1-neg33.6%
*-commutative33.6%
distribute-rgt-neg-in33.6%
Simplified33.6%
if 3.25e-248 < y2 < 1.4499999999999999e104Initial program 25.5%
Taylor expanded in b around inf 27.1%
Taylor expanded in j around inf 32.8%
Taylor expanded in t around 0 26.6%
mul-1-neg26.6%
distribute-rgt-neg-in26.6%
*-commutative26.6%
distribute-rgt-neg-in26.6%
Simplified26.6%
Taylor expanded in x around 0 26.6%
*-commutative26.6%
neg-mul-126.6%
distribute-rgt-neg-in26.6%
associate-*r*27.8%
Simplified27.8%
if 1.4499999999999999e104 < y2 Initial program 31.4%
Taylor expanded in y4 around inf 24.3%
Taylor expanded in y1 around inf 43.8%
Taylor expanded in k around inf 34.5%
associate-*r*36.8%
Simplified36.8%
Final simplification33.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -7.6e+92)
(* y1 (* k (* y2 y4)))
(if (<= y2 -1.45e+19)
(* c (* y4 (* t (- y2))))
(if (<= y2 -0.185)
(* y1 (* (* j y3) (- y4)))
(if (<= y2 -7.3e-165)
(* b (* t (* j y4)))
(if (<= y2 6.2e+108)
(* b (* x (* j (- y0))))
(* y1 (* y4 (* k y2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -7.6e+92) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -1.45e+19) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -0.185) {
tmp = y1 * ((j * y3) * -y4);
} else if (y2 <= -7.3e-165) {
tmp = b * (t * (j * y4));
} else if (y2 <= 6.2e+108) {
tmp = b * (x * (j * -y0));
} else {
tmp = y1 * (y4 * (k * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-7.6d+92)) then
tmp = y1 * (k * (y2 * y4))
else if (y2 <= (-1.45d+19)) then
tmp = c * (y4 * (t * -y2))
else if (y2 <= (-0.185d0)) then
tmp = y1 * ((j * y3) * -y4)
else if (y2 <= (-7.3d-165)) then
tmp = b * (t * (j * y4))
else if (y2 <= 6.2d+108) then
tmp = b * (x * (j * -y0))
else
tmp = y1 * (y4 * (k * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -7.6e+92) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -1.45e+19) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -0.185) {
tmp = y1 * ((j * y3) * -y4);
} else if (y2 <= -7.3e-165) {
tmp = b * (t * (j * y4));
} else if (y2 <= 6.2e+108) {
tmp = b * (x * (j * -y0));
} else {
tmp = y1 * (y4 * (k * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -7.6e+92: tmp = y1 * (k * (y2 * y4)) elif y2 <= -1.45e+19: tmp = c * (y4 * (t * -y2)) elif y2 <= -0.185: tmp = y1 * ((j * y3) * -y4) elif y2 <= -7.3e-165: tmp = b * (t * (j * y4)) elif y2 <= 6.2e+108: tmp = b * (x * (j * -y0)) else: tmp = y1 * (y4 * (k * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -7.6e+92) tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); elseif (y2 <= -1.45e+19) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); elseif (y2 <= -0.185) tmp = Float64(y1 * Float64(Float64(j * y3) * Float64(-y4))); elseif (y2 <= -7.3e-165) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= 6.2e+108) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(y1 * Float64(y4 * Float64(k * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -7.6e+92) tmp = y1 * (k * (y2 * y4)); elseif (y2 <= -1.45e+19) tmp = c * (y4 * (t * -y2)); elseif (y2 <= -0.185) tmp = y1 * ((j * y3) * -y4); elseif (y2 <= -7.3e-165) tmp = b * (t * (j * y4)); elseif (y2 <= 6.2e+108) tmp = b * (x * (j * -y0)); else tmp = y1 * (y4 * (k * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -7.6e+92], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.45e+19], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -0.185], N[(y1 * N[(N[(j * y3), $MachinePrecision] * (-y4)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -7.3e-165], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.2e+108], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -7.6 \cdot 10^{+92}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -1.45 \cdot 10^{+19}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -0.185:\\
\;\;\;\;y1 \cdot \left(\left(j \cdot y3\right) \cdot \left(-y4\right)\right)\\
\mathbf{elif}\;y2 \leq -7.3 \cdot 10^{-165}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 6.2 \cdot 10^{+108}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -7.6000000000000001e92Initial program 24.6%
Taylor expanded in y4 around inf 34.0%
Taylor expanded in y1 around inf 34.3%
Taylor expanded in k around inf 43.0%
*-commutative43.0%
Simplified43.0%
if -7.6000000000000001e92 < y2 < -1.45e19Initial program 14.3%
Taylor expanded in c around inf 50.1%
Taylor expanded in y4 around inf 50.3%
Taylor expanded in y around 0 37.0%
mul-1-neg37.0%
associate-*r*50.3%
*-commutative50.3%
distribute-lft-neg-in50.3%
*-commutative50.3%
distribute-rgt-neg-in50.3%
Simplified50.3%
if -1.45e19 < y2 < -0.185Initial program 0.0%
Taylor expanded in y4 around inf 25.0%
Taylor expanded in y1 around inf 75.7%
Taylor expanded in k around 0 75.7%
neg-mul-175.7%
distribute-rgt-neg-in75.7%
Simplified75.7%
if -0.185 < y2 < -7.2999999999999999e-165Initial program 35.9%
Taylor expanded in b around inf 53.3%
Taylor expanded in t around inf 36.7%
+-commutative36.7%
mul-1-neg36.7%
unsub-neg36.7%
Simplified36.7%
Taylor expanded in j around inf 27.7%
if -7.2999999999999999e-165 < y2 < 6.2000000000000003e108Initial program 30.1%
Taylor expanded in b around inf 36.4%
Taylor expanded in j around inf 36.2%
Taylor expanded in t around 0 28.0%
mul-1-neg28.0%
distribute-rgt-neg-in28.0%
*-commutative28.0%
distribute-rgt-neg-in28.0%
Simplified28.0%
Taylor expanded in x around 0 28.0%
*-commutative28.0%
neg-mul-128.0%
distribute-rgt-neg-in28.0%
associate-*r*28.7%
Simplified28.7%
if 6.2000000000000003e108 < y2 Initial program 31.4%
Taylor expanded in y4 around inf 24.3%
Taylor expanded in y1 around inf 43.8%
Taylor expanded in k around inf 34.5%
associate-*r*36.8%
Simplified36.8%
Final simplification34.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -4.9e+92)
(* y1 (* k (* y2 y4)))
(if (<= y2 -72000.0)
(* c (* y4 (* t (- y2))))
(if (<= y2 -5e-76)
(* b (* t (* j y4)))
(if (<= y2 -8e-170)
(* y5 (* y0 (* j y3)))
(if (<= y2 1.5e+160)
(* b (* x (* j (- y0))))
(* y5 (* (- k) (* y0 y2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -4.9e+92) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -72000.0) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -5e-76) {
tmp = b * (t * (j * y4));
} else if (y2 <= -8e-170) {
tmp = y5 * (y0 * (j * y3));
} else if (y2 <= 1.5e+160) {
tmp = b * (x * (j * -y0));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-4.9d+92)) then
tmp = y1 * (k * (y2 * y4))
else if (y2 <= (-72000.0d0)) then
tmp = c * (y4 * (t * -y2))
else if (y2 <= (-5d-76)) then
tmp = b * (t * (j * y4))
else if (y2 <= (-8d-170)) then
tmp = y5 * (y0 * (j * y3))
else if (y2 <= 1.5d+160) then
tmp = b * (x * (j * -y0))
else
tmp = y5 * (-k * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -4.9e+92) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -72000.0) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -5e-76) {
tmp = b * (t * (j * y4));
} else if (y2 <= -8e-170) {
tmp = y5 * (y0 * (j * y3));
} else if (y2 <= 1.5e+160) {
tmp = b * (x * (j * -y0));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -4.9e+92: tmp = y1 * (k * (y2 * y4)) elif y2 <= -72000.0: tmp = c * (y4 * (t * -y2)) elif y2 <= -5e-76: tmp = b * (t * (j * y4)) elif y2 <= -8e-170: tmp = y5 * (y0 * (j * y3)) elif y2 <= 1.5e+160: tmp = b * (x * (j * -y0)) else: tmp = y5 * (-k * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -4.9e+92) tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); elseif (y2 <= -72000.0) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); elseif (y2 <= -5e-76) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= -8e-170) tmp = Float64(y5 * Float64(y0 * Float64(j * y3))); elseif (y2 <= 1.5e+160) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(y5 * Float64(Float64(-k) * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -4.9e+92) tmp = y1 * (k * (y2 * y4)); elseif (y2 <= -72000.0) tmp = c * (y4 * (t * -y2)); elseif (y2 <= -5e-76) tmp = b * (t * (j * y4)); elseif (y2 <= -8e-170) tmp = y5 * (y0 * (j * y3)); elseif (y2 <= 1.5e+160) tmp = b * (x * (j * -y0)); else tmp = y5 * (-k * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -4.9e+92], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -72000.0], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -5e-76], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -8e-170], N[(y5 * N[(y0 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.5e+160], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y5 * N[((-k) * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -4.9 \cdot 10^{+92}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -72000:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -5 \cdot 10^{-76}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -8 \cdot 10^{-170}:\\
\;\;\;\;y5 \cdot \left(y0 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 1.5 \cdot 10^{+160}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(\left(-k\right) \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -4.9000000000000002e92Initial program 24.6%
Taylor expanded in y4 around inf 34.0%
Taylor expanded in y1 around inf 34.3%
Taylor expanded in k around inf 43.0%
*-commutative43.0%
Simplified43.0%
if -4.9000000000000002e92 < y2 < -72000Initial program 12.5%
Taylor expanded in c around inf 50.1%
Taylor expanded in y4 around inf 50.5%
Taylor expanded in y around 0 38.9%
mul-1-neg38.9%
associate-*r*50.5%
*-commutative50.5%
distribute-lft-neg-in50.5%
*-commutative50.5%
distribute-rgt-neg-in50.5%
Simplified50.5%
if -72000 < y2 < -4.9999999999999998e-76Initial program 37.5%
Taylor expanded in b around inf 52.4%
Taylor expanded in t around inf 44.9%
+-commutative44.9%
mul-1-neg44.9%
unsub-neg44.9%
Simplified44.9%
Taylor expanded in j around inf 33.0%
if -4.9999999999999998e-76 < y2 < -7.99999999999999987e-170Initial program 28.5%
Taylor expanded in y5 around -inf 61.2%
Taylor expanded in y0 around inf 40.0%
Taylor expanded in k around 0 34.5%
neg-mul-118.3%
distribute-rgt-neg-in18.3%
Simplified34.5%
if -7.99999999999999987e-170 < y2 < 1.4999999999999999e160Initial program 31.0%
Taylor expanded in b around inf 38.2%
Taylor expanded in j around inf 36.6%
Taylor expanded in t around 0 27.6%
mul-1-neg27.6%
distribute-rgt-neg-in27.6%
*-commutative27.6%
distribute-rgt-neg-in27.6%
Simplified27.6%
Taylor expanded in x around 0 27.6%
*-commutative27.6%
neg-mul-127.6%
distribute-rgt-neg-in27.6%
associate-*r*28.3%
Simplified28.3%
if 1.4999999999999999e160 < y2 Initial program 29.0%
Taylor expanded in y5 around -inf 53.7%
Taylor expanded in y0 around inf 58.2%
Taylor expanded in k around inf 54.5%
*-commutative54.5%
*-commutative54.5%
Simplified54.5%
Final simplification35.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -5.6e+92)
(* y1 (* k (* y2 y4)))
(if (<= y2 -2300.0)
(* c (* y4 (* t (- y2))))
(if (<= y2 -7.8e-73)
(* b (* t (* j y4)))
(if (<= y2 -4.2e-213)
(* y5 (* j (* y0 y3)))
(if (<= y2 2.05e+162)
(* b (* x (* j (- y0))))
(* y5 (* (- k) (* y0 y2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -5.6e+92) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -2300.0) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -7.8e-73) {
tmp = b * (t * (j * y4));
} else if (y2 <= -4.2e-213) {
tmp = y5 * (j * (y0 * y3));
} else if (y2 <= 2.05e+162) {
tmp = b * (x * (j * -y0));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-5.6d+92)) then
tmp = y1 * (k * (y2 * y4))
else if (y2 <= (-2300.0d0)) then
tmp = c * (y4 * (t * -y2))
else if (y2 <= (-7.8d-73)) then
tmp = b * (t * (j * y4))
else if (y2 <= (-4.2d-213)) then
tmp = y5 * (j * (y0 * y3))
else if (y2 <= 2.05d+162) then
tmp = b * (x * (j * -y0))
else
tmp = y5 * (-k * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -5.6e+92) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -2300.0) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -7.8e-73) {
tmp = b * (t * (j * y4));
} else if (y2 <= -4.2e-213) {
tmp = y5 * (j * (y0 * y3));
} else if (y2 <= 2.05e+162) {
tmp = b * (x * (j * -y0));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -5.6e+92: tmp = y1 * (k * (y2 * y4)) elif y2 <= -2300.0: tmp = c * (y4 * (t * -y2)) elif y2 <= -7.8e-73: tmp = b * (t * (j * y4)) elif y2 <= -4.2e-213: tmp = y5 * (j * (y0 * y3)) elif y2 <= 2.05e+162: tmp = b * (x * (j * -y0)) else: tmp = y5 * (-k * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -5.6e+92) tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); elseif (y2 <= -2300.0) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); elseif (y2 <= -7.8e-73) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= -4.2e-213) tmp = Float64(y5 * Float64(j * Float64(y0 * y3))); elseif (y2 <= 2.05e+162) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(y5 * Float64(Float64(-k) * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -5.6e+92) tmp = y1 * (k * (y2 * y4)); elseif (y2 <= -2300.0) tmp = c * (y4 * (t * -y2)); elseif (y2 <= -7.8e-73) tmp = b * (t * (j * y4)); elseif (y2 <= -4.2e-213) tmp = y5 * (j * (y0 * y3)); elseif (y2 <= 2.05e+162) tmp = b * (x * (j * -y0)); else tmp = y5 * (-k * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -5.6e+92], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2300.0], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -7.8e-73], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -4.2e-213], N[(y5 * N[(j * N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.05e+162], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y5 * N[((-k) * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -5.6 \cdot 10^{+92}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -2300:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -7.8 \cdot 10^{-73}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -4.2 \cdot 10^{-213}:\\
\;\;\;\;y5 \cdot \left(j \cdot \left(y0 \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 2.05 \cdot 10^{+162}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(\left(-k\right) \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -5.60000000000000001e92Initial program 24.6%
Taylor expanded in y4 around inf 34.0%
Taylor expanded in y1 around inf 34.3%
Taylor expanded in k around inf 43.0%
*-commutative43.0%
Simplified43.0%
if -5.60000000000000001e92 < y2 < -2300Initial program 12.5%
Taylor expanded in c around inf 50.1%
Taylor expanded in y4 around inf 50.5%
Taylor expanded in y around 0 38.9%
mul-1-neg38.9%
associate-*r*50.5%
*-commutative50.5%
distribute-lft-neg-in50.5%
*-commutative50.5%
distribute-rgt-neg-in50.5%
Simplified50.5%
if -2300 < y2 < -7.79999999999999963e-73Initial program 37.5%
Taylor expanded in b around inf 52.4%
Taylor expanded in t around inf 44.9%
+-commutative44.9%
mul-1-neg44.9%
unsub-neg44.9%
Simplified44.9%
Taylor expanded in j around inf 33.0%
if -7.79999999999999963e-73 < y2 < -4.1999999999999997e-213Initial program 29.7%
Taylor expanded in y5 around -inf 46.3%
Taylor expanded in y0 around inf 34.6%
Taylor expanded in k around 0 34.5%
associate-*r*34.5%
neg-mul-134.5%
Simplified34.5%
if -4.1999999999999997e-213 < y2 < 2.05e162Initial program 30.9%
Taylor expanded in b around inf 38.3%
Taylor expanded in j around inf 36.6%
Taylor expanded in t around 0 27.3%
mul-1-neg27.3%
distribute-rgt-neg-in27.3%
*-commutative27.3%
distribute-rgt-neg-in27.3%
Simplified27.3%
Taylor expanded in x around 0 27.3%
*-commutative27.3%
neg-mul-127.3%
distribute-rgt-neg-in27.3%
associate-*r*28.0%
Simplified28.0%
if 2.05e162 < y2 Initial program 29.0%
Taylor expanded in y5 around -inf 53.7%
Taylor expanded in y0 around inf 58.2%
Taylor expanded in k around inf 54.5%
*-commutative54.5%
*-commutative54.5%
Simplified54.5%
Final simplification35.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -3.9e+93)
(* y1 (* k (* y2 y4)))
(if (<= y2 -115000.0)
(* c (* y4 (* t (- y2))))
(if (<= y2 -3.6e-68)
(* b (* t (* j y4)))
(if (<= y2 -1.25e-213)
(* y5 (* y3 (* j y0)))
(if (<= y2 2.4e+159)
(* b (* x (* j (- y0))))
(* y5 (* (- k) (* y0 y2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.9e+93) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -115000.0) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -3.6e-68) {
tmp = b * (t * (j * y4));
} else if (y2 <= -1.25e-213) {
tmp = y5 * (y3 * (j * y0));
} else if (y2 <= 2.4e+159) {
tmp = b * (x * (j * -y0));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-3.9d+93)) then
tmp = y1 * (k * (y2 * y4))
else if (y2 <= (-115000.0d0)) then
tmp = c * (y4 * (t * -y2))
else if (y2 <= (-3.6d-68)) then
tmp = b * (t * (j * y4))
else if (y2 <= (-1.25d-213)) then
tmp = y5 * (y3 * (j * y0))
else if (y2 <= 2.4d+159) then
tmp = b * (x * (j * -y0))
else
tmp = y5 * (-k * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.9e+93) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -115000.0) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -3.6e-68) {
tmp = b * (t * (j * y4));
} else if (y2 <= -1.25e-213) {
tmp = y5 * (y3 * (j * y0));
} else if (y2 <= 2.4e+159) {
tmp = b * (x * (j * -y0));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -3.9e+93: tmp = y1 * (k * (y2 * y4)) elif y2 <= -115000.0: tmp = c * (y4 * (t * -y2)) elif y2 <= -3.6e-68: tmp = b * (t * (j * y4)) elif y2 <= -1.25e-213: tmp = y5 * (y3 * (j * y0)) elif y2 <= 2.4e+159: tmp = b * (x * (j * -y0)) else: tmp = y5 * (-k * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -3.9e+93) tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); elseif (y2 <= -115000.0) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); elseif (y2 <= -3.6e-68) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= -1.25e-213) tmp = Float64(y5 * Float64(y3 * Float64(j * y0))); elseif (y2 <= 2.4e+159) tmp = Float64(b * Float64(x * Float64(j * Float64(-y0)))); else tmp = Float64(y5 * Float64(Float64(-k) * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -3.9e+93) tmp = y1 * (k * (y2 * y4)); elseif (y2 <= -115000.0) tmp = c * (y4 * (t * -y2)); elseif (y2 <= -3.6e-68) tmp = b * (t * (j * y4)); elseif (y2 <= -1.25e-213) tmp = y5 * (y3 * (j * y0)); elseif (y2 <= 2.4e+159) tmp = b * (x * (j * -y0)); else tmp = y5 * (-k * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -3.9e+93], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -115000.0], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.6e-68], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.25e-213], N[(y5 * N[(y3 * N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.4e+159], N[(b * N[(x * N[(j * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y5 * N[((-k) * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -3.9 \cdot 10^{+93}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -115000:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -3.6 \cdot 10^{-68}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -1.25 \cdot 10^{-213}:\\
\;\;\;\;y5 \cdot \left(y3 \cdot \left(j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 2.4 \cdot 10^{+159}:\\
\;\;\;\;b \cdot \left(x \cdot \left(j \cdot \left(-y0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(\left(-k\right) \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -3.9000000000000002e93Initial program 24.6%
Taylor expanded in y4 around inf 34.0%
Taylor expanded in y1 around inf 34.3%
Taylor expanded in k around inf 43.0%
*-commutative43.0%
Simplified43.0%
if -3.9000000000000002e93 < y2 < -115000Initial program 12.5%
Taylor expanded in c around inf 50.1%
Taylor expanded in y4 around inf 50.5%
Taylor expanded in y around 0 38.9%
mul-1-neg38.9%
associate-*r*50.5%
*-commutative50.5%
distribute-lft-neg-in50.5%
*-commutative50.5%
distribute-rgt-neg-in50.5%
Simplified50.5%
if -115000 < y2 < -3.60000000000000007e-68Initial program 37.5%
Taylor expanded in b around inf 52.4%
Taylor expanded in t around inf 44.9%
+-commutative44.9%
mul-1-neg44.9%
unsub-neg44.9%
Simplified44.9%
Taylor expanded in j around inf 33.0%
if -3.60000000000000007e-68 < y2 < -1.24999999999999994e-213Initial program 29.7%
Taylor expanded in y5 around -inf 46.3%
Taylor expanded in y0 around inf 34.6%
Taylor expanded in k around 0 34.5%
mul-1-neg34.5%
associate-*r*38.4%
distribute-rgt-neg-in38.4%
*-commutative38.4%
Simplified38.4%
if -1.24999999999999994e-213 < y2 < 2.4e159Initial program 30.9%
Taylor expanded in b around inf 38.3%
Taylor expanded in j around inf 36.6%
Taylor expanded in t around 0 27.3%
mul-1-neg27.3%
distribute-rgt-neg-in27.3%
*-commutative27.3%
distribute-rgt-neg-in27.3%
Simplified27.3%
Taylor expanded in x around 0 27.3%
*-commutative27.3%
neg-mul-127.3%
distribute-rgt-neg-in27.3%
associate-*r*28.0%
Simplified28.0%
if 2.4e159 < y2 Initial program 29.0%
Taylor expanded in y5 around -inf 53.7%
Taylor expanded in y0 around inf 58.2%
Taylor expanded in k around inf 54.5%
*-commutative54.5%
*-commutative54.5%
Simplified54.5%
Final simplification36.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -3.15e+90)
(* y1 (* k (* y2 y4)))
(if (<= y2 -1.7e+17)
(* c (* y4 (* t (- y2))))
(if (<= y2 -0.047)
(* y1 (* (* j y3) (- y4)))
(if (<= y2 4.3e+173)
(* b (* j (- (* t y4) (* x y0))))
(* y5 (* (- k) (* y0 y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.15e+90) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -1.7e+17) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -0.047) {
tmp = y1 * ((j * y3) * -y4);
} else if (y2 <= 4.3e+173) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-3.15d+90)) then
tmp = y1 * (k * (y2 * y4))
else if (y2 <= (-1.7d+17)) then
tmp = c * (y4 * (t * -y2))
else if (y2 <= (-0.047d0)) then
tmp = y1 * ((j * y3) * -y4)
else if (y2 <= 4.3d+173) then
tmp = b * (j * ((t * y4) - (x * y0)))
else
tmp = y5 * (-k * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -3.15e+90) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -1.7e+17) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -0.047) {
tmp = y1 * ((j * y3) * -y4);
} else if (y2 <= 4.3e+173) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -3.15e+90: tmp = y1 * (k * (y2 * y4)) elif y2 <= -1.7e+17: tmp = c * (y4 * (t * -y2)) elif y2 <= -0.047: tmp = y1 * ((j * y3) * -y4) elif y2 <= 4.3e+173: tmp = b * (j * ((t * y4) - (x * y0))) else: tmp = y5 * (-k * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -3.15e+90) tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); elseif (y2 <= -1.7e+17) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); elseif (y2 <= -0.047) tmp = Float64(y1 * Float64(Float64(j * y3) * Float64(-y4))); elseif (y2 <= 4.3e+173) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = Float64(y5 * Float64(Float64(-k) * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -3.15e+90) tmp = y1 * (k * (y2 * y4)); elseif (y2 <= -1.7e+17) tmp = c * (y4 * (t * -y2)); elseif (y2 <= -0.047) tmp = y1 * ((j * y3) * -y4); elseif (y2 <= 4.3e+173) tmp = b * (j * ((t * y4) - (x * y0))); else tmp = y5 * (-k * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -3.15e+90], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.7e+17], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -0.047], N[(y1 * N[(N[(j * y3), $MachinePrecision] * (-y4)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.3e+173], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y5 * N[((-k) * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -3.15 \cdot 10^{+90}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -1.7 \cdot 10^{+17}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -0.047:\\
\;\;\;\;y1 \cdot \left(\left(j \cdot y3\right) \cdot \left(-y4\right)\right)\\
\mathbf{elif}\;y2 \leq 4.3 \cdot 10^{+173}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(\left(-k\right) \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -3.15e90Initial program 24.6%
Taylor expanded in y4 around inf 34.0%
Taylor expanded in y1 around inf 34.3%
Taylor expanded in k around inf 43.0%
*-commutative43.0%
Simplified43.0%
if -3.15e90 < y2 < -1.7e17Initial program 14.3%
Taylor expanded in c around inf 50.1%
Taylor expanded in y4 around inf 50.3%
Taylor expanded in y around 0 37.0%
mul-1-neg37.0%
associate-*r*50.3%
*-commutative50.3%
distribute-lft-neg-in50.3%
*-commutative50.3%
distribute-rgt-neg-in50.3%
Simplified50.3%
if -1.7e17 < y2 < -0.047Initial program 0.0%
Taylor expanded in y4 around inf 20.7%
Taylor expanded in y1 around inf 60.9%
Taylor expanded in k around 0 60.9%
neg-mul-160.9%
distribute-rgt-neg-in60.9%
Simplified60.9%
if -0.047 < y2 < 4.30000000000000025e173Initial program 31.8%
Taylor expanded in b around inf 41.2%
Taylor expanded in j around inf 35.3%
if 4.30000000000000025e173 < y2 Initial program 29.6%
Taylor expanded in y5 around -inf 50.2%
Taylor expanded in y0 around inf 55.3%
Taylor expanded in k around inf 55.2%
*-commutative55.2%
*-commutative55.2%
Simplified55.2%
Final simplification39.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -1.55e+91)
(* y1 (* k (* y2 y4)))
(if (<= y2 -2300.0)
(* c (* y4 (* t (- y2))))
(if (<= y2 -2.5e-64)
(* b (* t (- (* j y4) (* z a))))
(if (<= y2 1.55e+178)
(* b (* j (- (* t y4) (* x y0))))
(* y5 (* (- k) (* y0 y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.55e+91) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -2300.0) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -2.5e-64) {
tmp = b * (t * ((j * y4) - (z * a)));
} else if (y2 <= 1.55e+178) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-1.55d+91)) then
tmp = y1 * (k * (y2 * y4))
else if (y2 <= (-2300.0d0)) then
tmp = c * (y4 * (t * -y2))
else if (y2 <= (-2.5d-64)) then
tmp = b * (t * ((j * y4) - (z * a)))
else if (y2 <= 1.55d+178) then
tmp = b * (j * ((t * y4) - (x * y0)))
else
tmp = y5 * (-k * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.55e+91) {
tmp = y1 * (k * (y2 * y4));
} else if (y2 <= -2300.0) {
tmp = c * (y4 * (t * -y2));
} else if (y2 <= -2.5e-64) {
tmp = b * (t * ((j * y4) - (z * a)));
} else if (y2 <= 1.55e+178) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -1.55e+91: tmp = y1 * (k * (y2 * y4)) elif y2 <= -2300.0: tmp = c * (y4 * (t * -y2)) elif y2 <= -2.5e-64: tmp = b * (t * ((j * y4) - (z * a))) elif y2 <= 1.55e+178: tmp = b * (j * ((t * y4) - (x * y0))) else: tmp = y5 * (-k * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -1.55e+91) tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); elseif (y2 <= -2300.0) tmp = Float64(c * Float64(y4 * Float64(t * Float64(-y2)))); elseif (y2 <= -2.5e-64) tmp = Float64(b * Float64(t * Float64(Float64(j * y4) - Float64(z * a)))); elseif (y2 <= 1.55e+178) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = Float64(y5 * Float64(Float64(-k) * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -1.55e+91) tmp = y1 * (k * (y2 * y4)); elseif (y2 <= -2300.0) tmp = c * (y4 * (t * -y2)); elseif (y2 <= -2.5e-64) tmp = b * (t * ((j * y4) - (z * a))); elseif (y2 <= 1.55e+178) tmp = b * (j * ((t * y4) - (x * y0))); else tmp = y5 * (-k * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -1.55e+91], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2300.0], N[(c * N[(y4 * N[(t * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.5e-64], N[(b * N[(t * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.55e+178], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y5 * N[((-k) * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -1.55 \cdot 10^{+91}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -2300:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(t \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y2 \leq -2.5 \cdot 10^{-64}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
\mathbf{elif}\;y2 \leq 1.55 \cdot 10^{+178}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(\left(-k\right) \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -1.54999999999999999e91Initial program 24.6%
Taylor expanded in y4 around inf 34.0%
Taylor expanded in y1 around inf 34.3%
Taylor expanded in k around inf 43.0%
*-commutative43.0%
Simplified43.0%
if -1.54999999999999999e91 < y2 < -2300Initial program 12.5%
Taylor expanded in c around inf 50.1%
Taylor expanded in y4 around inf 50.5%
Taylor expanded in y around 0 38.9%
mul-1-neg38.9%
associate-*r*50.5%
*-commutative50.5%
distribute-lft-neg-in50.5%
*-commutative50.5%
distribute-rgt-neg-in50.5%
Simplified50.5%
if -2300 < y2 < -2.50000000000000017e-64Initial program 35.7%
Taylor expanded in b around inf 52.6%
Taylor expanded in t around inf 44.1%
+-commutative44.1%
mul-1-neg44.1%
unsub-neg44.1%
Simplified44.1%
if -2.50000000000000017e-64 < y2 < 1.54999999999999996e178Initial program 30.8%
Taylor expanded in b around inf 39.5%
Taylor expanded in j around inf 35.7%
if 1.54999999999999996e178 < y2 Initial program 29.6%
Taylor expanded in y5 around -inf 50.2%
Taylor expanded in y0 around inf 55.3%
Taylor expanded in k around inf 55.2%
*-commutative55.2%
*-commutative55.2%
Simplified55.2%
Final simplification40.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))))
(if (<= t -1.95e-62)
t_1
(if (<= t 6e-145)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= t 3.7e+62)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= t 2.2e+194) t_1 (* c (* t (- (* z i) (* y2 y4))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -1.95e-62) {
tmp = t_1;
} else if (t <= 6e-145) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (t <= 3.7e+62) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (t <= 2.2e+194) {
tmp = t_1;
} else {
tmp = c * (t * ((z * i) - (y2 * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
if (t <= (-1.95d-62)) then
tmp = t_1
else if (t <= 6d-145) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (t <= 3.7d+62) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (t <= 2.2d+194) then
tmp = t_1
else
tmp = c * (t * ((z * i) - (y2 * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -1.95e-62) {
tmp = t_1;
} else if (t <= 6e-145) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (t <= 3.7e+62) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (t <= 2.2e+194) {
tmp = t_1;
} else {
tmp = c * (t * ((z * i) - (y2 * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if t <= -1.95e-62: tmp = t_1 elif t <= 6e-145: tmp = c * (y0 * ((x * y2) - (z * y3))) elif t <= 3.7e+62: tmp = c * (y4 * ((y * y3) - (t * y2))) elif t <= 2.2e+194: tmp = t_1 else: tmp = c * (t * ((z * i) - (y2 * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (t <= -1.95e-62) tmp = t_1; elseif (t <= 6e-145) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (t <= 3.7e+62) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (t <= 2.2e+194) tmp = t_1; else tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (t <= -1.95e-62) tmp = t_1; elseif (t <= 6e-145) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (t <= 3.7e+62) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (t <= 2.2e+194) tmp = t_1; else tmp = c * (t * ((z * i) - (y2 * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.95e-62], t$95$1, If[LessEqual[t, 6e-145], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.7e+62], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.2e+194], t$95$1, N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;t \leq -1.95 \cdot 10^{-62}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 6 \cdot 10^{-145}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq 3.7 \cdot 10^{+62}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;t \leq 2.2 \cdot 10^{+194}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -1.9500000000000002e-62 or 3.70000000000000014e62 < t < 2.2000000000000001e194Initial program 25.5%
Taylor expanded in b around inf 36.8%
Taylor expanded in j around inf 44.3%
if -1.9500000000000002e-62 < t < 5.99999999999999985e-145Initial program 30.0%
Taylor expanded in c around inf 46.2%
Taylor expanded in y0 around inf 36.5%
if 5.99999999999999985e-145 < t < 3.70000000000000014e62Initial program 29.7%
Taylor expanded in c around inf 45.6%
Taylor expanded in y4 around inf 46.3%
if 2.2000000000000001e194 < t Initial program 34.4%
Taylor expanded in c around inf 37.7%
Taylor expanded in t around inf 50.5%
Final simplification42.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y1 (* y2 y4)))))
(if (<= y2 -0.185)
t_1
(if (<= y2 -6.8e-282)
(* b (* t (* j y4)))
(if (<= y2 3.7e-166)
(* y (* i (* k y5)))
(if (<= y2 1.12e+135) (* c (* y4 (* y 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 = k * (y1 * (y2 * y4));
double tmp;
if (y2 <= -0.185) {
tmp = t_1;
} else if (y2 <= -6.8e-282) {
tmp = b * (t * (j * y4));
} else if (y2 <= 3.7e-166) {
tmp = y * (i * (k * y5));
} else if (y2 <= 1.12e+135) {
tmp = c * (y4 * (y * 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 = k * (y1 * (y2 * y4))
if (y2 <= (-0.185d0)) then
tmp = t_1
else if (y2 <= (-6.8d-282)) then
tmp = b * (t * (j * y4))
else if (y2 <= 3.7d-166) then
tmp = y * (i * (k * y5))
else if (y2 <= 1.12d+135) then
tmp = c * (y4 * (y * 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 = k * (y1 * (y2 * y4));
double tmp;
if (y2 <= -0.185) {
tmp = t_1;
} else if (y2 <= -6.8e-282) {
tmp = b * (t * (j * y4));
} else if (y2 <= 3.7e-166) {
tmp = y * (i * (k * y5));
} else if (y2 <= 1.12e+135) {
tmp = c * (y4 * (y * 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 = k * (y1 * (y2 * y4)) tmp = 0 if y2 <= -0.185: tmp = t_1 elif y2 <= -6.8e-282: tmp = b * (t * (j * y4)) elif y2 <= 3.7e-166: tmp = y * (i * (k * y5)) elif y2 <= 1.12e+135: tmp = c * (y4 * (y * 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(k * Float64(y1 * Float64(y2 * y4))) tmp = 0.0 if (y2 <= -0.185) tmp = t_1; elseif (y2 <= -6.8e-282) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= 3.7e-166) tmp = Float64(y * Float64(i * Float64(k * y5))); elseif (y2 <= 1.12e+135) tmp = Float64(c * Float64(y4 * Float64(y * 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 = k * (y1 * (y2 * y4)); tmp = 0.0; if (y2 <= -0.185) tmp = t_1; elseif (y2 <= -6.8e-282) tmp = b * (t * (j * y4)); elseif (y2 <= 3.7e-166) tmp = y * (i * (k * y5)); elseif (y2 <= 1.12e+135) tmp = c * (y4 * (y * 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[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -0.185], t$95$1, If[LessEqual[y2, -6.8e-282], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.7e-166], N[(y * N[(i * N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.12e+135], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{if}\;y2 \leq -0.185:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -6.8 \cdot 10^{-282}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 3.7 \cdot 10^{-166}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 1.12 \cdot 10^{+135}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -0.185 or 1.1199999999999999e135 < y2 Initial program 24.9%
Taylor expanded in y4 around inf 32.2%
Taylor expanded in y1 around inf 38.6%
Taylor expanded in k around inf 36.7%
*-commutative36.7%
Simplified36.7%
if -0.185 < y2 < -6.79999999999999997e-282Initial program 34.9%
Taylor expanded in b around inf 50.6%
Taylor expanded in t around inf 38.0%
+-commutative38.0%
mul-1-neg38.0%
unsub-neg38.0%
Simplified38.0%
Taylor expanded in j around inf 30.3%
if -6.79999999999999997e-282 < y2 < 3.7000000000000003e-166Initial program 32.6%
Taylor expanded in y around inf 45.9%
Taylor expanded in y5 around inf 31.7%
Taylor expanded in i around inf 29.5%
*-commutative29.5%
Simplified29.5%
if 3.7000000000000003e-166 < y2 < 1.1199999999999999e135Initial program 27.1%
Taylor expanded in c around inf 44.4%
Taylor expanded in y4 around inf 31.5%
Taylor expanded in y around inf 26.5%
Final simplification31.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -0.16)
(* k (* y1 (* y2 y4)))
(if (<= y2 -2.5e-281)
(* b (* t (* j y4)))
(if (<= y2 1.25e-165)
(* y (* i (* k y5)))
(if (<= y2 8.5e+134) (* c (* y4 (* y y3))) (* y1 (* k (* y2 y4))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -0.16) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= -2.5e-281) {
tmp = b * (t * (j * y4));
} else if (y2 <= 1.25e-165) {
tmp = y * (i * (k * y5));
} else if (y2 <= 8.5e+134) {
tmp = c * (y4 * (y * y3));
} else {
tmp = y1 * (k * (y2 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-0.16d0)) then
tmp = k * (y1 * (y2 * y4))
else if (y2 <= (-2.5d-281)) then
tmp = b * (t * (j * y4))
else if (y2 <= 1.25d-165) then
tmp = y * (i * (k * y5))
else if (y2 <= 8.5d+134) then
tmp = c * (y4 * (y * y3))
else
tmp = y1 * (k * (y2 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -0.16) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= -2.5e-281) {
tmp = b * (t * (j * y4));
} else if (y2 <= 1.25e-165) {
tmp = y * (i * (k * y5));
} else if (y2 <= 8.5e+134) {
tmp = c * (y4 * (y * y3));
} else {
tmp = y1 * (k * (y2 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -0.16: tmp = k * (y1 * (y2 * y4)) elif y2 <= -2.5e-281: tmp = b * (t * (j * y4)) elif y2 <= 1.25e-165: tmp = y * (i * (k * y5)) elif y2 <= 8.5e+134: tmp = c * (y4 * (y * y3)) else: tmp = y1 * (k * (y2 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -0.16) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y2 <= -2.5e-281) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= 1.25e-165) tmp = Float64(y * Float64(i * Float64(k * y5))); elseif (y2 <= 8.5e+134) tmp = Float64(c * Float64(y4 * Float64(y * y3))); else tmp = Float64(y1 * Float64(k * Float64(y2 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -0.16) tmp = k * (y1 * (y2 * y4)); elseif (y2 <= -2.5e-281) tmp = b * (t * (j * y4)); elseif (y2 <= 1.25e-165) tmp = y * (i * (k * y5)); elseif (y2 <= 8.5e+134) tmp = c * (y4 * (y * y3)); else tmp = y1 * (k * (y2 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -0.16], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.5e-281], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.25e-165], N[(y * N[(i * N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8.5e+134], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(k * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -0.16:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -2.5 \cdot 10^{-281}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-165}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 8.5 \cdot 10^{+134}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(k \cdot \left(y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -0.160000000000000003Initial program 20.7%
Taylor expanded in y4 around inf 35.4%
Taylor expanded in y1 around inf 32.8%
Taylor expanded in k around inf 37.4%
*-commutative37.4%
Simplified37.4%
if -0.160000000000000003 < y2 < -2.4999999999999999e-281Initial program 34.9%
Taylor expanded in b around inf 50.6%
Taylor expanded in t around inf 38.0%
+-commutative38.0%
mul-1-neg38.0%
unsub-neg38.0%
Simplified38.0%
Taylor expanded in j around inf 30.3%
if -2.4999999999999999e-281 < y2 < 1.24999999999999995e-165Initial program 32.6%
Taylor expanded in y around inf 45.9%
Taylor expanded in y5 around inf 31.7%
Taylor expanded in i around inf 29.5%
*-commutative29.5%
Simplified29.5%
if 1.24999999999999995e-165 < y2 < 8.50000000000000024e134Initial program 27.1%
Taylor expanded in c around inf 44.4%
Taylor expanded in y4 around inf 31.5%
Taylor expanded in y around inf 26.5%
if 8.50000000000000024e134 < y2 Initial program 31.9%
Taylor expanded in y4 around inf 26.7%
Taylor expanded in y1 around inf 48.2%
Taylor expanded in k around inf 38.0%
*-commutative38.0%
Simplified38.0%
Final simplification32.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -0.18)
(* k (* y1 (* y2 y4)))
(if (<= y2 -2.3e-281)
(* b (* t (* j y4)))
(if (<= y2 2.2e-166)
(* y (* i (* k y5)))
(if (<= y2 1.15e+134) (* c (* y4 (* y y3))) (* y1 (* y4 (* k y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -0.18) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= -2.3e-281) {
tmp = b * (t * (j * y4));
} else if (y2 <= 2.2e-166) {
tmp = y * (i * (k * y5));
} else if (y2 <= 1.15e+134) {
tmp = c * (y4 * (y * y3));
} else {
tmp = y1 * (y4 * (k * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-0.18d0)) then
tmp = k * (y1 * (y2 * y4))
else if (y2 <= (-2.3d-281)) then
tmp = b * (t * (j * y4))
else if (y2 <= 2.2d-166) then
tmp = y * (i * (k * y5))
else if (y2 <= 1.15d+134) then
tmp = c * (y4 * (y * y3))
else
tmp = y1 * (y4 * (k * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -0.18) {
tmp = k * (y1 * (y2 * y4));
} else if (y2 <= -2.3e-281) {
tmp = b * (t * (j * y4));
} else if (y2 <= 2.2e-166) {
tmp = y * (i * (k * y5));
} else if (y2 <= 1.15e+134) {
tmp = c * (y4 * (y * y3));
} else {
tmp = y1 * (y4 * (k * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -0.18: tmp = k * (y1 * (y2 * y4)) elif y2 <= -2.3e-281: tmp = b * (t * (j * y4)) elif y2 <= 2.2e-166: tmp = y * (i * (k * y5)) elif y2 <= 1.15e+134: tmp = c * (y4 * (y * y3)) else: tmp = y1 * (y4 * (k * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -0.18) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y2 <= -2.3e-281) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= 2.2e-166) tmp = Float64(y * Float64(i * Float64(k * y5))); elseif (y2 <= 1.15e+134) tmp = Float64(c * Float64(y4 * Float64(y * y3))); else tmp = Float64(y1 * Float64(y4 * Float64(k * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -0.18) tmp = k * (y1 * (y2 * y4)); elseif (y2 <= -2.3e-281) tmp = b * (t * (j * y4)); elseif (y2 <= 2.2e-166) tmp = y * (i * (k * y5)); elseif (y2 <= 1.15e+134) tmp = c * (y4 * (y * y3)); else tmp = y1 * (y4 * (k * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -0.18], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.3e-281], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.2e-166], N[(y * N[(i * N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.15e+134], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -0.18:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -2.3 \cdot 10^{-281}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 2.2 \cdot 10^{-166}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 1.15 \cdot 10^{+134}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2\right)\right)\\
\end{array}
\end{array}
if y2 < -0.17999999999999999Initial program 20.7%
Taylor expanded in y4 around inf 35.4%
Taylor expanded in y1 around inf 32.8%
Taylor expanded in k around inf 37.4%
*-commutative37.4%
Simplified37.4%
if -0.17999999999999999 < y2 < -2.29999999999999989e-281Initial program 34.9%
Taylor expanded in b around inf 50.6%
Taylor expanded in t around inf 38.0%
+-commutative38.0%
mul-1-neg38.0%
unsub-neg38.0%
Simplified38.0%
Taylor expanded in j around inf 30.3%
if -2.29999999999999989e-281 < y2 < 2.2000000000000001e-166Initial program 32.6%
Taylor expanded in y around inf 45.9%
Taylor expanded in y5 around inf 31.7%
Taylor expanded in i around inf 29.5%
*-commutative29.5%
Simplified29.5%
if 2.2000000000000001e-166 < y2 < 1.1499999999999999e134Initial program 27.1%
Taylor expanded in c around inf 44.4%
Taylor expanded in y4 around inf 31.5%
Taylor expanded in y around inf 26.5%
if 1.1499999999999999e134 < y2 Initial program 31.9%
Taylor expanded in y4 around inf 26.7%
Taylor expanded in y1 around inf 48.2%
Taylor expanded in k around inf 38.0%
associate-*r*40.5%
Simplified40.5%
Final simplification32.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -7.7e+241)
(* j (* y1 (* y3 (- y4))))
(if (or (<= y4 -8.5e+41) (not (<= y4 2.4e-19)))
(* b (* j (- (* t y4) (* x y0))))
(* b (* x (- (* y a) (* j y0)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -7.7e+241) {
tmp = j * (y1 * (y3 * -y4));
} else if ((y4 <= -8.5e+41) || !(y4 <= 2.4e-19)) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-7.7d+241)) then
tmp = j * (y1 * (y3 * -y4))
else if ((y4 <= (-8.5d+41)) .or. (.not. (y4 <= 2.4d-19))) then
tmp = b * (j * ((t * y4) - (x * y0)))
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -7.7e+241) {
tmp = j * (y1 * (y3 * -y4));
} else if ((y4 <= -8.5e+41) || !(y4 <= 2.4e-19)) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -7.7e+241: tmp = j * (y1 * (y3 * -y4)) elif (y4 <= -8.5e+41) or not (y4 <= 2.4e-19): tmp = b * (j * ((t * y4) - (x * y0))) else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -7.7e+241) tmp = Float64(j * Float64(y1 * Float64(y3 * Float64(-y4)))); elseif ((y4 <= -8.5e+41) || !(y4 <= 2.4e-19)) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -7.7e+241) tmp = j * (y1 * (y3 * -y4)); elseif ((y4 <= -8.5e+41) || ~((y4 <= 2.4e-19))) tmp = b * (j * ((t * y4) - (x * y0))); else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -7.7e+241], N[(j * N[(y1 * N[(y3 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y4, -8.5e+41], N[Not[LessEqual[y4, 2.4e-19]], $MachinePrecision]], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $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}
\mathbf{if}\;y4 \leq -7.7 \cdot 10^{+241}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y3 \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;y4 \leq -8.5 \cdot 10^{+41} \lor \neg \left(y4 \leq 2.4 \cdot 10^{-19}\right):\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if y4 < -7.69999999999999998e241Initial program 19.0%
Taylor expanded in y4 around inf 61.9%
Taylor expanded in y1 around inf 62.7%
Taylor expanded in k around 0 57.6%
associate-*r*57.6%
neg-mul-157.6%
*-commutative57.6%
Simplified57.6%
if -7.69999999999999998e241 < y4 < -8.49999999999999938e41 or 2.40000000000000023e-19 < y4 Initial program 21.8%
Taylor expanded in b around inf 36.2%
Taylor expanded in j around inf 41.5%
if -8.49999999999999938e41 < y4 < 2.40000000000000023e-19Initial program 35.6%
Taylor expanded in b around inf 35.5%
Taylor expanded in x around inf 33.4%
Final simplification38.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y0 (- (* z k) (* x j))))))
(if (<= y0 -1.4e-120)
t_1
(if (<= y0 7.8e+132)
(* b (* t (- (* j y4) (* z a))))
(if (<= y0 8.2e+263) t_1 (* y5 (* (- k) (* y0 y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double tmp;
if (y0 <= -1.4e-120) {
tmp = t_1;
} else if (y0 <= 7.8e+132) {
tmp = b * (t * ((j * y4) - (z * a)));
} else if (y0 <= 8.2e+263) {
tmp = t_1;
} else {
tmp = y5 * (-k * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (y0 * ((z * k) - (x * j)))
if (y0 <= (-1.4d-120)) then
tmp = t_1
else if (y0 <= 7.8d+132) then
tmp = b * (t * ((j * y4) - (z * a)))
else if (y0 <= 8.2d+263) then
tmp = t_1
else
tmp = y5 * (-k * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double tmp;
if (y0 <= -1.4e-120) {
tmp = t_1;
} else if (y0 <= 7.8e+132) {
tmp = b * (t * ((j * y4) - (z * a)));
} else if (y0 <= 8.2e+263) {
tmp = t_1;
} else {
tmp = y5 * (-k * (y0 * y2));
}
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 y0 <= -1.4e-120: tmp = t_1 elif y0 <= 7.8e+132: tmp = b * (t * ((j * y4) - (z * a))) elif y0 <= 8.2e+263: tmp = t_1 else: tmp = y5 * (-k * (y0 * y2)) 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 (y0 <= -1.4e-120) tmp = t_1; elseif (y0 <= 7.8e+132) tmp = Float64(b * Float64(t * Float64(Float64(j * y4) - Float64(z * a)))); elseif (y0 <= 8.2e+263) tmp = t_1; else tmp = Float64(y5 * Float64(Float64(-k) * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y0 * ((z * k) - (x * j))); tmp = 0.0; if (y0 <= -1.4e-120) tmp = t_1; elseif (y0 <= 7.8e+132) tmp = b * (t * ((j * y4) - (z * a))); elseif (y0 <= 8.2e+263) tmp = t_1; else tmp = y5 * (-k * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.4e-120], t$95$1, If[LessEqual[y0, 7.8e+132], N[(b * N[(t * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 8.2e+263], t$95$1, N[(y5 * N[((-k) * N[(y0 * y2), $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)\\
\mathbf{if}\;y0 \leq -1.4 \cdot 10^{-120}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y0 \leq 7.8 \cdot 10^{+132}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
\mathbf{elif}\;y0 \leq 8.2 \cdot 10^{+263}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(\left(-k\right) \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -1.39999999999999997e-120 or 7.80000000000000002e132 < y0 < 8.19999999999999971e263Initial program 28.2%
Taylor expanded in b around inf 34.9%
Taylor expanded in y0 around inf 44.1%
if -1.39999999999999997e-120 < y0 < 7.80000000000000002e132Initial program 30.7%
Taylor expanded in b around inf 37.7%
Taylor expanded in t around inf 34.9%
+-commutative34.9%
mul-1-neg34.9%
unsub-neg34.9%
Simplified34.9%
if 8.19999999999999971e263 < y0 Initial program 15.4%
Taylor expanded in y5 around -inf 54.2%
Taylor expanded in y0 around inf 77.2%
Taylor expanded in k around inf 77.1%
*-commutative77.1%
*-commutative77.1%
Simplified77.1%
Final simplification41.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (* t j)))))
(if (<= t -2.35e-42)
t_1
(if (<= t 5.4e-216)
(* i (* k (* y y5)))
(if (<= t 1.1e+85) (* c (* y4 (* y 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 = b * (y4 * (t * j));
double tmp;
if (t <= -2.35e-42) {
tmp = t_1;
} else if (t <= 5.4e-216) {
tmp = i * (k * (y * y5));
} else if (t <= 1.1e+85) {
tmp = c * (y4 * (y * 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 = b * (y4 * (t * j))
if (t <= (-2.35d-42)) then
tmp = t_1
else if (t <= 5.4d-216) then
tmp = i * (k * (y * y5))
else if (t <= 1.1d+85) then
tmp = c * (y4 * (y * 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 = b * (y4 * (t * j));
double tmp;
if (t <= -2.35e-42) {
tmp = t_1;
} else if (t <= 5.4e-216) {
tmp = i * (k * (y * y5));
} else if (t <= 1.1e+85) {
tmp = c * (y4 * (y * 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 = b * (y4 * (t * j)) tmp = 0 if t <= -2.35e-42: tmp = t_1 elif t <= 5.4e-216: tmp = i * (k * (y * y5)) elif t <= 1.1e+85: tmp = c * (y4 * (y * 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(b * Float64(y4 * Float64(t * j))) tmp = 0.0 if (t <= -2.35e-42) tmp = t_1; elseif (t <= 5.4e-216) tmp = Float64(i * Float64(k * Float64(y * y5))); elseif (t <= 1.1e+85) tmp = Float64(c * Float64(y4 * Float64(y * 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 = b * (y4 * (t * j)); tmp = 0.0; if (t <= -2.35e-42) tmp = t_1; elseif (t <= 5.4e-216) tmp = i * (k * (y * y5)); elseif (t <= 1.1e+85) tmp = c * (y4 * (y * 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[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.35e-42], t$95$1, If[LessEqual[t, 5.4e-216], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.1e+85], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\mathbf{if}\;t \leq -2.35 \cdot 10^{-42}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 5.4 \cdot 10^{-216}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 1.1 \cdot 10^{+85}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2.35e-42 or 1.1000000000000001e85 < t Initial program 27.8%
Taylor expanded in b around inf 38.5%
Taylor expanded in j around inf 42.3%
Taylor expanded in t around inf 32.1%
associate-*r*33.6%
Simplified33.6%
if -2.35e-42 < t < 5.3999999999999998e-216Initial program 31.0%
Taylor expanded in y around inf 38.3%
Taylor expanded in y5 around inf 25.0%
Taylor expanded in i around inf 20.1%
if 5.3999999999999998e-216 < t < 1.1000000000000001e85Initial program 27.6%
Taylor expanded in c around inf 45.8%
Taylor expanded in y4 around inf 37.4%
Taylor expanded in y around inf 32.5%
Final simplification29.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y1 (* y2 y4)))))
(if (<= y2 -0.14)
t_1
(if (<= y2 1.05e-259)
(* b (* t (* j y4)))
(if (<= y2 2.6e+140) (* c (* y4 (* y 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 = k * (y1 * (y2 * y4));
double tmp;
if (y2 <= -0.14) {
tmp = t_1;
} else if (y2 <= 1.05e-259) {
tmp = b * (t * (j * y4));
} else if (y2 <= 2.6e+140) {
tmp = c * (y4 * (y * 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 = k * (y1 * (y2 * y4))
if (y2 <= (-0.14d0)) then
tmp = t_1
else if (y2 <= 1.05d-259) then
tmp = b * (t * (j * y4))
else if (y2 <= 2.6d+140) then
tmp = c * (y4 * (y * 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 = k * (y1 * (y2 * y4));
double tmp;
if (y2 <= -0.14) {
tmp = t_1;
} else if (y2 <= 1.05e-259) {
tmp = b * (t * (j * y4));
} else if (y2 <= 2.6e+140) {
tmp = c * (y4 * (y * 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 = k * (y1 * (y2 * y4)) tmp = 0 if y2 <= -0.14: tmp = t_1 elif y2 <= 1.05e-259: tmp = b * (t * (j * y4)) elif y2 <= 2.6e+140: tmp = c * (y4 * (y * 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(k * Float64(y1 * Float64(y2 * y4))) tmp = 0.0 if (y2 <= -0.14) tmp = t_1; elseif (y2 <= 1.05e-259) tmp = Float64(b * Float64(t * Float64(j * y4))); elseif (y2 <= 2.6e+140) tmp = Float64(c * Float64(y4 * Float64(y * 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 = k * (y1 * (y2 * y4)); tmp = 0.0; if (y2 <= -0.14) tmp = t_1; elseif (y2 <= 1.05e-259) tmp = b * (t * (j * y4)); elseif (y2 <= 2.6e+140) tmp = c * (y4 * (y * 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[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -0.14], t$95$1, If[LessEqual[y2, 1.05e-259], N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.6e+140], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{if}\;y2 \leq -0.14:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 1.05 \cdot 10^{-259}:\\
\;\;\;\;b \cdot \left(t \cdot \left(j \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 2.6 \cdot 10^{+140}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -0.14000000000000001 or 2.6000000000000001e140 < y2 Initial program 24.9%
Taylor expanded in y4 around inf 32.2%
Taylor expanded in y1 around inf 38.6%
Taylor expanded in k around inf 36.7%
*-commutative36.7%
Simplified36.7%
if -0.14000000000000001 < y2 < 1.04999999999999999e-259Initial program 36.4%
Taylor expanded in b around inf 53.3%
Taylor expanded in t around inf 36.1%
+-commutative36.1%
mul-1-neg36.1%
unsub-neg36.1%
Simplified36.1%
Taylor expanded in j around inf 27.7%
if 1.04999999999999999e-259 < y2 < 2.6000000000000001e140Initial program 27.0%
Taylor expanded in c around inf 41.6%
Taylor expanded in y4 around inf 25.9%
Taylor expanded in y around inf 22.4%
Final simplification29.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= t -1.9e-24) (not (<= t 2.15e+82))) (* b (* y4 (* t j))) (* c (* y (* y3 y4)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((t <= -1.9e-24) || !(t <= 2.15e+82)) {
tmp = b * (y4 * (t * j));
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((t <= (-1.9d-24)) .or. (.not. (t <= 2.15d+82))) then
tmp = b * (y4 * (t * j))
else
tmp = c * (y * (y3 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((t <= -1.9e-24) || !(t <= 2.15e+82)) {
tmp = b * (y4 * (t * j));
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (t <= -1.9e-24) or not (t <= 2.15e+82): tmp = b * (y4 * (t * j)) else: tmp = c * (y * (y3 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((t <= -1.9e-24) || !(t <= 2.15e+82)) tmp = Float64(b * Float64(y4 * Float64(t * j))); else tmp = Float64(c * Float64(y * Float64(y3 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((t <= -1.9e-24) || ~((t <= 2.15e+82))) tmp = b * (y4 * (t * j)); else tmp = c * (y * (y3 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[t, -1.9e-24], N[Not[LessEqual[t, 2.15e+82]], $MachinePrecision]], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.9 \cdot 10^{-24} \lor \neg \left(t \leq 2.15 \cdot 10^{+82}\right):\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -1.90000000000000013e-24 or 2.15000000000000007e82 < t Initial program 28.5%
Taylor expanded in b around inf 39.4%
Taylor expanded in j around inf 43.3%
Taylor expanded in t around inf 32.8%
associate-*r*34.4%
Simplified34.4%
if -1.90000000000000013e-24 < t < 2.15000000000000007e82Initial program 28.9%
Taylor expanded in c around inf 46.8%
Taylor expanded in y4 around inf 23.3%
Taylor expanded in y around inf 19.0%
*-commutative19.0%
Simplified19.0%
Final simplification26.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= t -4e-26) (not (<= t 5.8e+83))) (* b (* y4 (* t j))) (* c (* y4 (* y y3)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((t <= -4e-26) || !(t <= 5.8e+83)) {
tmp = b * (y4 * (t * j));
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((t <= (-4d-26)) .or. (.not. (t <= 5.8d+83))) then
tmp = b * (y4 * (t * j))
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((t <= -4e-26) || !(t <= 5.8e+83)) {
tmp = b * (y4 * (t * j));
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (t <= -4e-26) or not (t <= 5.8e+83): tmp = b * (y4 * (t * j)) else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((t <= -4e-26) || !(t <= 5.8e+83)) tmp = Float64(b * Float64(y4 * Float64(t * j))); else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((t <= -4e-26) || ~((t <= 5.8e+83))) tmp = b * (y4 * (t * j)); else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[t, -4e-26], N[Not[LessEqual[t, 5.8e+83]], $MachinePrecision]], N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4 \cdot 10^{-26} \lor \neg \left(t \leq 5.8 \cdot 10^{+83}\right):\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if t < -4.0000000000000002e-26 or 5.79999999999999999e83 < t Initial program 28.5%
Taylor expanded in b around inf 39.4%
Taylor expanded in j around inf 43.3%
Taylor expanded in t around inf 32.8%
associate-*r*34.4%
Simplified34.4%
if -4.0000000000000002e-26 < t < 5.79999999999999999e83Initial program 28.9%
Taylor expanded in c around inf 46.8%
Taylor expanded in y4 around inf 23.3%
Taylor expanded in y around inf 21.2%
Final simplification27.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* b (* j (* t y4))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return b * (j * (t * y4));
}
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 = b * (j * (t * y4))
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 b * (j * (t * y4));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return b * (j * (t * y4))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(b * Float64(j * Float64(t * y4))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = b * (j * (t * y4)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
b \cdot \left(j \cdot \left(t \cdot y4\right)\right)
\end{array}
Initial program 28.7%
Taylor expanded in b around inf 36.0%
Taylor expanded in j around inf 31.1%
Taylor expanded in t around inf 18.3%
Final simplification18.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* b (* t (* j y4))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return b * (t * (j * y4));
}
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 = b * (t * (j * y4))
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 b * (t * (j * y4));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return b * (t * (j * y4))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(b * Float64(t * Float64(j * y4))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = b * (t * (j * y4)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(b * N[(t * N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
b \cdot \left(t \cdot \left(j \cdot y4\right)\right)
\end{array}
Initial program 28.7%
Taylor expanded in b around inf 36.0%
Taylor expanded in t around inf 25.5%
+-commutative25.5%
mul-1-neg25.5%
unsub-neg25.5%
Simplified25.5%
Taylor expanded in j around inf 18.7%
Final simplification18.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* b (* y4 (* t j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return b * (y4 * (t * j));
}
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 = b * (y4 * (t * j))
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 b * (y4 * (t * j));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return b * (y4 * (t * j))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(b * Float64(y4 * Float64(t * j))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = b * (y4 * (t * j)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(b * N[(y4 * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
b \cdot \left(y4 \cdot \left(t \cdot j\right)\right)
\end{array}
Initial program 28.7%
Taylor expanded in b around inf 36.0%
Taylor expanded in j around inf 31.1%
Taylor expanded in t around inf 18.3%
associate-*r*19.1%
Simplified19.1%
Final simplification19.1%
(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 2024072
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:name "Linear.Matrix:det44 from linear-1.19.1.3"
:precision binary64
:alt
(if (< y4 -7.206256231996481e+60) (- (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))))) (- (/ (- (* y2 t) (* y3 y)) (/ 1.0 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3.364603505246317e-66) (+ (- (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x))) (* (- (* b y0) (* i y1)) (- (* j x) (* k z)))) (- (* (- (* y0 c) (* a y1)) (- (* x y2) (* z y3))) (- (* (- (* t y2) (* y y3)) (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) (- (* k y2) (* j y3)))))) (if (< y4 -1.2000065055686116e-105) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 6.718963124057495e-279) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (if (< y4 4.77962681403792e-222) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 2.2852241541266835e-175) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (- (* k (* i (* z y1))) (+ (* j (* i (* x y1))) (* y0 (* k (* z b)))))) (- (* z (* y3 (* a y1))) (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3)))))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))))))))
(+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i)))) (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a)))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))