
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 46 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y2 (- (* c y0) (* a y1))))
(t_2 (- (* t j) (* y k)))
(t_3 (- (* i y5) (* b y4)))
(t_4 (- (* a b) (* c i)))
(t_5 (- (* x y) (* z t)))
(t_6
(*
y4
(+
(+ (* b t_2) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2))))))
(t_7
(*
k
(+
(+ (* y2 (- (* y1 y4) (* y0 y5))) (* y t_3))
(* z (- (* b y0) (* i y1))))))
(t_8 (- (* x j) (* z k)))
(t_9 (* y1 t_8))
(t_10 (- (* c y4) (* a y5))))
(if (<= x -6.6e+41)
(* x (+ (+ (* y t_4) t_1) (* j (- (* i y1) (* b y0)))))
(if (<= x -3.6e-73)
(* y1 (+ (* i t_8) (* a (- (* z y3) (* x y2)))))
(if (<= x -1.2e-298)
(*
y3
(+
(* y t_10)
(+ (* z (- (* a y1) (* c y0))) (* j (- (* y0 y5) (* y1 y4))))))
(if (<= x 2.2e-262)
(* i (+ t_9 (- (* y5 (- (* y k) (* t j))) (* c t_5))))
(if (<= x 3e-201)
t_6
(if (<= x 1.95e-76)
t_7
(if (<= x 8000000.0)
(* b (* x (- (* y a) (* j y0))))
(if (<= x 1.8e+41)
t_7
(if (<= x 4.2e+59)
(*
b
(+ (+ (* a t_5) (* y4 t_2)) (* y0 (- (* z k) (* x j)))))
(if (<= x 3.4e+95)
t_6
(if (<= x 5.1e+257)
(* y (+ (+ (* k t_3) (* x t_4)) (* y3 t_10)))
(if (<= x 1.52e+302) (* i t_9) (* x t_1)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * ((c * y0) - (a * y1));
double t_2 = (t * j) - (y * k);
double t_3 = (i * y5) - (b * y4);
double t_4 = (a * b) - (c * i);
double t_5 = (x * y) - (z * t);
double t_6 = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double t_7 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * t_3)) + (z * ((b * y0) - (i * y1))));
double t_8 = (x * j) - (z * k);
double t_9 = y1 * t_8;
double t_10 = (c * y4) - (a * y5);
double tmp;
if (x <= -6.6e+41) {
tmp = x * (((y * t_4) + t_1) + (j * ((i * y1) - (b * y0))));
} else if (x <= -3.6e-73) {
tmp = y1 * ((i * t_8) + (a * ((z * y3) - (x * y2))));
} else if (x <= -1.2e-298) {
tmp = y3 * ((y * t_10) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (x <= 2.2e-262) {
tmp = i * (t_9 + ((y5 * ((y * k) - (t * j))) - (c * t_5)));
} else if (x <= 3e-201) {
tmp = t_6;
} else if (x <= 1.95e-76) {
tmp = t_7;
} else if (x <= 8000000.0) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= 1.8e+41) {
tmp = t_7;
} else if (x <= 4.2e+59) {
tmp = b * (((a * t_5) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
} else if (x <= 3.4e+95) {
tmp = t_6;
} else if (x <= 5.1e+257) {
tmp = y * (((k * t_3) + (x * t_4)) + (y3 * t_10));
} else if (x <= 1.52e+302) {
tmp = i * t_9;
} else {
tmp = x * t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = y2 * ((c * y0) - (a * y1))
t_2 = (t * j) - (y * k)
t_3 = (i * y5) - (b * y4)
t_4 = (a * b) - (c * i)
t_5 = (x * y) - (z * t)
t_6 = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
t_7 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * t_3)) + (z * ((b * y0) - (i * y1))))
t_8 = (x * j) - (z * k)
t_9 = y1 * t_8
t_10 = (c * y4) - (a * y5)
if (x <= (-6.6d+41)) then
tmp = x * (((y * t_4) + t_1) + (j * ((i * y1) - (b * y0))))
else if (x <= (-3.6d-73)) then
tmp = y1 * ((i * t_8) + (a * ((z * y3) - (x * y2))))
else if (x <= (-1.2d-298)) then
tmp = y3 * ((y * t_10) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (x <= 2.2d-262) then
tmp = i * (t_9 + ((y5 * ((y * k) - (t * j))) - (c * t_5)))
else if (x <= 3d-201) then
tmp = t_6
else if (x <= 1.95d-76) then
tmp = t_7
else if (x <= 8000000.0d0) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (x <= 1.8d+41) then
tmp = t_7
else if (x <= 4.2d+59) then
tmp = b * (((a * t_5) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))))
else if (x <= 3.4d+95) then
tmp = t_6
else if (x <= 5.1d+257) then
tmp = y * (((k * t_3) + (x * t_4)) + (y3 * t_10))
else if (x <= 1.52d+302) then
tmp = i * t_9
else
tmp = x * t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * ((c * y0) - (a * y1));
double t_2 = (t * j) - (y * k);
double t_3 = (i * y5) - (b * y4);
double t_4 = (a * b) - (c * i);
double t_5 = (x * y) - (z * t);
double t_6 = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double t_7 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * t_3)) + (z * ((b * y0) - (i * y1))));
double t_8 = (x * j) - (z * k);
double t_9 = y1 * t_8;
double t_10 = (c * y4) - (a * y5);
double tmp;
if (x <= -6.6e+41) {
tmp = x * (((y * t_4) + t_1) + (j * ((i * y1) - (b * y0))));
} else if (x <= -3.6e-73) {
tmp = y1 * ((i * t_8) + (a * ((z * y3) - (x * y2))));
} else if (x <= -1.2e-298) {
tmp = y3 * ((y * t_10) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (x <= 2.2e-262) {
tmp = i * (t_9 + ((y5 * ((y * k) - (t * j))) - (c * t_5)));
} else if (x <= 3e-201) {
tmp = t_6;
} else if (x <= 1.95e-76) {
tmp = t_7;
} else if (x <= 8000000.0) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (x <= 1.8e+41) {
tmp = t_7;
} else if (x <= 4.2e+59) {
tmp = b * (((a * t_5) + (y4 * t_2)) + (y0 * ((z * k) - (x * j))));
} else if (x <= 3.4e+95) {
tmp = t_6;
} else if (x <= 5.1e+257) {
tmp = y * (((k * t_3) + (x * t_4)) + (y3 * t_10));
} else if (x <= 1.52e+302) {
tmp = i * t_9;
} else {
tmp = x * t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y2 * ((c * y0) - (a * y1)) t_2 = (t * j) - (y * k) t_3 = (i * y5) - (b * y4) t_4 = (a * b) - (c * i) t_5 = (x * y) - (z * t) t_6 = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) t_7 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * t_3)) + (z * ((b * y0) - (i * y1)))) t_8 = (x * j) - (z * k) t_9 = y1 * t_8 t_10 = (c * y4) - (a * y5) tmp = 0 if x <= -6.6e+41: tmp = x * (((y * t_4) + t_1) + (j * ((i * y1) - (b * y0)))) elif x <= -3.6e-73: tmp = y1 * ((i * t_8) + (a * ((z * y3) - (x * y2)))) elif x <= -1.2e-298: tmp = y3 * ((y * t_10) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif x <= 2.2e-262: tmp = i * (t_9 + ((y5 * ((y * k) - (t * j))) - (c * t_5))) elif x <= 3e-201: tmp = t_6 elif x <= 1.95e-76: tmp = t_7 elif x <= 8000000.0: tmp = b * (x * ((y * a) - (j * y0))) elif x <= 1.8e+41: tmp = t_7 elif x <= 4.2e+59: tmp = b * (((a * t_5) + (y4 * t_2)) + (y0 * ((z * k) - (x * j)))) elif x <= 3.4e+95: tmp = t_6 elif x <= 5.1e+257: tmp = y * (((k * t_3) + (x * t_4)) + (y3 * t_10)) elif x <= 1.52e+302: tmp = i * t_9 else: tmp = x * t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = Float64(Float64(i * y5) - Float64(b * y4)) t_4 = Float64(Float64(a * b) - Float64(c * i)) t_5 = Float64(Float64(x * y) - Float64(z * t)) t_6 = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) t_7 = Float64(k * Float64(Float64(Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(y * t_3)) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))) t_8 = Float64(Float64(x * j) - Float64(z * k)) t_9 = Float64(y1 * t_8) t_10 = Float64(Float64(c * y4) - Float64(a * y5)) tmp = 0.0 if (x <= -6.6e+41) tmp = Float64(x * Float64(Float64(Float64(y * t_4) + t_1) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (x <= -3.6e-73) tmp = Float64(y1 * Float64(Float64(i * t_8) + Float64(a * Float64(Float64(z * y3) - Float64(x * y2))))); elseif (x <= -1.2e-298) tmp = Float64(y3 * Float64(Float64(y * t_10) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))))); elseif (x <= 2.2e-262) tmp = Float64(i * Float64(t_9 + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * t_5)))); elseif (x <= 3e-201) tmp = t_6; elseif (x <= 1.95e-76) tmp = t_7; elseif (x <= 8000000.0) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (x <= 1.8e+41) tmp = t_7; elseif (x <= 4.2e+59) tmp = Float64(b * Float64(Float64(Float64(a * t_5) + Float64(y4 * t_2)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (x <= 3.4e+95) tmp = t_6; elseif (x <= 5.1e+257) tmp = Float64(y * Float64(Float64(Float64(k * t_3) + Float64(x * t_4)) + Float64(y3 * t_10))); elseif (x <= 1.52e+302) tmp = Float64(i * t_9); else tmp = Float64(x * t_1); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y2 * ((c * y0) - (a * y1)); t_2 = (t * j) - (y * k); t_3 = (i * y5) - (b * y4); t_4 = (a * b) - (c * i); t_5 = (x * y) - (z * t); t_6 = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); t_7 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + (y * t_3)) + (z * ((b * y0) - (i * y1)))); t_8 = (x * j) - (z * k); t_9 = y1 * t_8; t_10 = (c * y4) - (a * y5); tmp = 0.0; if (x <= -6.6e+41) tmp = x * (((y * t_4) + t_1) + (j * ((i * y1) - (b * y0)))); elseif (x <= -3.6e-73) tmp = y1 * ((i * t_8) + (a * ((z * y3) - (x * y2)))); elseif (x <= -1.2e-298) tmp = y3 * ((y * t_10) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (x <= 2.2e-262) tmp = i * (t_9 + ((y5 * ((y * k) - (t * j))) - (c * t_5))); elseif (x <= 3e-201) tmp = t_6; elseif (x <= 1.95e-76) tmp = t_7; elseif (x <= 8000000.0) tmp = b * (x * ((y * a) - (j * y0))); elseif (x <= 1.8e+41) tmp = t_7; elseif (x <= 4.2e+59) tmp = b * (((a * t_5) + (y4 * t_2)) + (y0 * ((z * k) - (x * j)))); elseif (x <= 3.4e+95) tmp = t_6; elseif (x <= 5.1e+257) tmp = y * (((k * t_3) + (x * t_4)) + (y3 * t_10)); elseif (x <= 1.52e+302) tmp = i * t_9; else tmp = x * t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(k * N[(N[(N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(y1 * t$95$8), $MachinePrecision]}, Block[{t$95$10 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -6.6e+41], N[(x * N[(N[(N[(y * t$95$4), $MachinePrecision] + t$95$1), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3.6e-73], N[(y1 * N[(N[(i * t$95$8), $MachinePrecision] + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.2e-298], N[(y3 * N[(N[(y * t$95$10), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.2e-262], N[(i * N[(t$95$9 + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3e-201], t$95$6, If[LessEqual[x, 1.95e-76], t$95$7, If[LessEqual[x, 8000000.0], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.8e+41], t$95$7, If[LessEqual[x, 4.2e+59], N[(b * N[(N[(N[(a * t$95$5), $MachinePrecision] + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.4e+95], t$95$6, If[LessEqual[x, 5.1e+257], N[(y * N[(N[(N[(k * t$95$3), $MachinePrecision] + N[(x * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(y3 * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.52e+302], N[(i * t$95$9), $MachinePrecision], N[(x * t$95$1), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\\
t_2 := t \cdot j - y \cdot k\\
t_3 := i \cdot y5 - b \cdot y4\\
t_4 := a \cdot b - c \cdot i\\
t_5 := x \cdot y - z \cdot t\\
t_6 := y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_7 := k \cdot \left(\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + y \cdot t\_3\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
t_8 := x \cdot j - z \cdot k\\
t_9 := y1 \cdot t\_8\\
t_10 := c \cdot y4 - a \cdot y5\\
\mathbf{if}\;x \leq -6.6 \cdot 10^{+41}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_4 + t\_1\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -3.6 \cdot 10^{-73}:\\
\;\;\;\;y1 \cdot \left(i \cdot t\_8 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq -1.2 \cdot 10^{-298}:\\
\;\;\;\;y3 \cdot \left(y \cdot t\_10 + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\right)\\
\mathbf{elif}\;x \leq 2.2 \cdot 10^{-262}:\\
\;\;\;\;i \cdot \left(t\_9 + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot t\_5\right)\right)\\
\mathbf{elif}\;x \leq 3 \cdot 10^{-201}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;x \leq 1.95 \cdot 10^{-76}:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;x \leq 8000000:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq 1.8 \cdot 10^{+41}:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;x \leq 4.2 \cdot 10^{+59}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t\_5 + y4 \cdot t\_2\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;x \leq 3.4 \cdot 10^{+95}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;x \leq 5.1 \cdot 10^{+257}:\\
\;\;\;\;y \cdot \left(\left(k \cdot t\_3 + x \cdot t\_4\right) + y3 \cdot t\_10\right)\\
\mathbf{elif}\;x \leq 1.52 \cdot 10^{+302}:\\
\;\;\;\;i \cdot t\_9\\
\mathbf{else}:\\
\;\;\;\;x \cdot t\_1\\
\end{array}
\end{array}
if x < -6.6000000000000001e41Initial program 22.2%
Taylor expanded in x around inf 61.4%
if -6.6000000000000001e41 < x < -3.5999999999999999e-73Initial program 52.4%
Taylor expanded in y1 around -inf 52.6%
associate-*r*52.6%
neg-mul-152.6%
+-commutative52.6%
mul-1-neg52.6%
unsub-neg52.6%
*-commutative52.6%
*-commutative52.6%
*-commutative52.6%
*-commutative52.6%
Simplified52.6%
Taylor expanded in y4 around 0 61.2%
if -3.5999999999999999e-73 < x < -1.19999999999999994e-298Initial program 43.5%
Taylor expanded in y3 around -inf 72.1%
if -1.19999999999999994e-298 < x < 2.19999999999999989e-262Initial program 33.3%
Taylor expanded in i around -inf 74.8%
if 2.19999999999999989e-262 < x < 3.00000000000000002e-201 or 4.19999999999999968e59 < x < 3.40000000000000022e95Initial program 37.9%
Taylor expanded in y4 around inf 76.5%
if 3.00000000000000002e-201 < x < 1.95000000000000013e-76 or 8e6 < x < 1.80000000000000013e41Initial program 32.5%
Taylor expanded in k around inf 62.4%
+-commutative62.4%
mul-1-neg62.4%
unsub-neg62.4%
*-commutative62.4%
associate-*r*62.4%
neg-mul-162.4%
Simplified62.4%
if 1.95000000000000013e-76 < x < 8e6Initial program 25.0%
Taylor expanded in b around inf 50.5%
Taylor expanded in x around inf 56.4%
if 1.80000000000000013e41 < x < 4.19999999999999968e59Initial program 14.3%
Taylor expanded in b around inf 85.9%
if 3.40000000000000022e95 < x < 5.1000000000000004e257Initial program 25.9%
Taylor expanded in y around inf 63.8%
if 5.1000000000000004e257 < x < 1.52000000000000003e302Initial program 0.0%
Taylor expanded in y1 around -inf 71.4%
associate-*r*71.4%
neg-mul-171.4%
+-commutative71.4%
mul-1-neg71.4%
unsub-neg71.4%
*-commutative71.4%
*-commutative71.4%
*-commutative71.4%
*-commutative71.4%
Simplified71.4%
Taylor expanded in i around -inf 100.0%
if 1.52000000000000003e302 < x Initial program 25.0%
Taylor expanded in y2 around inf 50.0%
*-commutative50.0%
Simplified50.0%
Taylor expanded in x around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Final simplification67.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y4) (* a y5)))
(t_2
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* x j) (* z k)) (- (* i y1) (* b y0))))
(* (- (* c y0) (* a y1)) (- (* x y2) (* z y3))))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* t_1 (- (* y y3) (* t y2))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_2 INFINITY)
t_2
(*
y3
(+
(* y t_1)
(+ (* z (- (* a y1) (* c y0))) (* j (- (* y0 y5) (* y1 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 = (c * y4) - (a * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = y3 * ((y * t_1) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
}
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 = (c * y4) - (a * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = y3 * ((y * t_1) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (c * y4) - (a * y5) t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = y3 * ((y * t_1) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * y4) - Float64(a * y5)) 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(x * j) - Float64(z * k)) * Float64(Float64(i * y1) - Float64(b * y0)))) + Float64(Float64(Float64(c * y0) - Float64(a * y1)) * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(t_1 * Float64(Float64(y * y3) - Float64(t * y2)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(y3 * Float64(Float64(y * t_1) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * 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 = (c * y4) - (a * y5); t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (t_1 * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = y3 * ((y * t_1) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $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[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, Infinity], t$95$2, N[(y3 * N[(N[(y * t$95$1), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y4 - a \cdot y5\\
t_2 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) + \left(x \cdot j - z \cdot k\right) \cdot \left(i \cdot y1 - b \cdot y0\right)\right) + \left(c \cdot y0 - a \cdot y1\right) \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + t\_1 \cdot \left(y \cdot y3 - t \cdot y2\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_2 \leq \infty:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(y \cdot t\_1 + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 94.5%
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 y3 around -inf 42.3%
Final simplification60.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* k y2) (* j y3)))
(t_2 (* y1 (+ (* i (- (* x j) (* z k))) (* y4 t_1))))
(t_3 (* y1 t_1))
(t_4 (* y (- (* i y5) (* b y4))))
(t_5
(*
k
(+
(+ (* y2 (- (* y1 y4) (* y0 y5))) t_4)
(* z (- (* b y0) (* i y1))))))
(t_6 (- (* t j) (* y k)))
(t_7 (- (* y y3) (* t y2))))
(if (<= y4 -5.6e+228)
(* y4 (+ (+ (* b t_6) t_3) (* c t_7)))
(if (<= y4 -2.2e+169)
(* k t_4)
(if (<= y4 -1.05e+119)
(* y4 (- t_3 (* c (* t y2))))
(if (<= y4 -2e+85)
(* y (* y3 (- (* c y4) (* a y5))))
(if (<= y4 -1.18e+24)
t_5
(if (<= y4 5e-272)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= y4 4.2e-138)
(*
c
(+
(+ (* y0 (- (* x y2) (* z y3))) (* i (- (* z t) (* x y))))
(* y4 t_7)))
(if (<= y4 2.9e-57)
t_5
(if (<= y4 0.0043)
t_2
(if (<= y4 2e+57)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 t_6))
(* y0 (- (* z k) (* x j)))))
(if (<= y4 1.55e+196)
t_2
(* k (* y4 (- (* y1 y2) (* y b)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = y1 * ((i * ((x * j) - (z * k))) + (y4 * t_1));
double t_3 = y1 * t_1;
double t_4 = y * ((i * y5) - (b * y4));
double t_5 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + t_4) + (z * ((b * y0) - (i * y1))));
double t_6 = (t * j) - (y * k);
double t_7 = (y * y3) - (t * y2);
double tmp;
if (y4 <= -5.6e+228) {
tmp = y4 * (((b * t_6) + t_3) + (c * t_7));
} else if (y4 <= -2.2e+169) {
tmp = k * t_4;
} else if (y4 <= -1.05e+119) {
tmp = y4 * (t_3 - (c * (t * y2)));
} else if (y4 <= -2e+85) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (y4 <= -1.18e+24) {
tmp = t_5;
} else if (y4 <= 5e-272) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y4 <= 4.2e-138) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * t_7));
} else if (y4 <= 2.9e-57) {
tmp = t_5;
} else if (y4 <= 0.0043) {
tmp = t_2;
} else if (y4 <= 2e+57) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_6)) + (y0 * ((z * k) - (x * j))));
} else if (y4 <= 1.55e+196) {
tmp = t_2;
} else {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: tmp
t_1 = (k * y2) - (j * y3)
t_2 = y1 * ((i * ((x * j) - (z * k))) + (y4 * t_1))
t_3 = y1 * t_1
t_4 = y * ((i * y5) - (b * y4))
t_5 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + t_4) + (z * ((b * y0) - (i * y1))))
t_6 = (t * j) - (y * k)
t_7 = (y * y3) - (t * y2)
if (y4 <= (-5.6d+228)) then
tmp = y4 * (((b * t_6) + t_3) + (c * t_7))
else if (y4 <= (-2.2d+169)) then
tmp = k * t_4
else if (y4 <= (-1.05d+119)) then
tmp = y4 * (t_3 - (c * (t * y2)))
else if (y4 <= (-2d+85)) then
tmp = y * (y3 * ((c * y4) - (a * y5)))
else if (y4 <= (-1.18d+24)) then
tmp = t_5
else if (y4 <= 5d-272) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (y4 <= 4.2d-138) then
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * t_7))
else if (y4 <= 2.9d-57) then
tmp = t_5
else if (y4 <= 0.0043d0) then
tmp = t_2
else if (y4 <= 2d+57) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_6)) + (y0 * ((z * k) - (x * j))))
else if (y4 <= 1.55d+196) then
tmp = t_2
else
tmp = k * (y4 * ((y1 * y2) - (y * b)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = y1 * ((i * ((x * j) - (z * k))) + (y4 * t_1));
double t_3 = y1 * t_1;
double t_4 = y * ((i * y5) - (b * y4));
double t_5 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + t_4) + (z * ((b * y0) - (i * y1))));
double t_6 = (t * j) - (y * k);
double t_7 = (y * y3) - (t * y2);
double tmp;
if (y4 <= -5.6e+228) {
tmp = y4 * (((b * t_6) + t_3) + (c * t_7));
} else if (y4 <= -2.2e+169) {
tmp = k * t_4;
} else if (y4 <= -1.05e+119) {
tmp = y4 * (t_3 - (c * (t * y2)));
} else if (y4 <= -2e+85) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (y4 <= -1.18e+24) {
tmp = t_5;
} else if (y4 <= 5e-272) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y4 <= 4.2e-138) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * t_7));
} else if (y4 <= 2.9e-57) {
tmp = t_5;
} else if (y4 <= 0.0043) {
tmp = t_2;
} else if (y4 <= 2e+57) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_6)) + (y0 * ((z * k) - (x * j))));
} else if (y4 <= 1.55e+196) {
tmp = t_2;
} else {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (k * y2) - (j * y3) t_2 = y1 * ((i * ((x * j) - (z * k))) + (y4 * t_1)) t_3 = y1 * t_1 t_4 = y * ((i * y5) - (b * y4)) t_5 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + t_4) + (z * ((b * y0) - (i * y1)))) t_6 = (t * j) - (y * k) t_7 = (y * y3) - (t * y2) tmp = 0 if y4 <= -5.6e+228: tmp = y4 * (((b * t_6) + t_3) + (c * t_7)) elif y4 <= -2.2e+169: tmp = k * t_4 elif y4 <= -1.05e+119: tmp = y4 * (t_3 - (c * (t * y2))) elif y4 <= -2e+85: tmp = y * (y3 * ((c * y4) - (a * y5))) elif y4 <= -1.18e+24: tmp = t_5 elif y4 <= 5e-272: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif y4 <= 4.2e-138: tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * t_7)) elif y4 <= 2.9e-57: tmp = t_5 elif y4 <= 0.0043: tmp = t_2 elif y4 <= 2e+57: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_6)) + (y0 * ((z * k) - (x * j)))) elif y4 <= 1.55e+196: tmp = t_2 else: tmp = k * (y4 * ((y1 * y2) - (y * b))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(k * y2) - Float64(j * y3)) t_2 = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(y4 * t_1))) t_3 = Float64(y1 * t_1) t_4 = Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) t_5 = Float64(k * Float64(Float64(Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + t_4) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))) t_6 = Float64(Float64(t * j) - Float64(y * k)) t_7 = Float64(Float64(y * y3) - Float64(t * y2)) tmp = 0.0 if (y4 <= -5.6e+228) tmp = Float64(y4 * Float64(Float64(Float64(b * t_6) + t_3) + Float64(c * t_7))); elseif (y4 <= -2.2e+169) tmp = Float64(k * t_4); elseif (y4 <= -1.05e+119) tmp = Float64(y4 * Float64(t_3 - Float64(c * Float64(t * y2)))); elseif (y4 <= -2e+85) tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))); elseif (y4 <= -1.18e+24) tmp = t_5; elseif (y4 <= 5e-272) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y4 <= 4.2e-138) tmp = Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * t_7))); elseif (y4 <= 2.9e-57) tmp = t_5; elseif (y4 <= 0.0043) tmp = t_2; elseif (y4 <= 2e+57) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_6)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y4 <= 1.55e+196) tmp = t_2; else tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (k * y2) - (j * y3); t_2 = y1 * ((i * ((x * j) - (z * k))) + (y4 * t_1)); t_3 = y1 * t_1; t_4 = y * ((i * y5) - (b * y4)); t_5 = k * (((y2 * ((y1 * y4) - (y0 * y5))) + t_4) + (z * ((b * y0) - (i * y1)))); t_6 = (t * j) - (y * k); t_7 = (y * y3) - (t * y2); tmp = 0.0; if (y4 <= -5.6e+228) tmp = y4 * (((b * t_6) + t_3) + (c * t_7)); elseif (y4 <= -2.2e+169) tmp = k * t_4; elseif (y4 <= -1.05e+119) tmp = y4 * (t_3 - (c * (t * y2))); elseif (y4 <= -2e+85) tmp = y * (y3 * ((c * y4) - (a * y5))); elseif (y4 <= -1.18e+24) tmp = t_5; elseif (y4 <= 5e-272) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (y4 <= 4.2e-138) tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * t_7)); elseif (y4 <= 2.9e-57) tmp = t_5; elseif (y4 <= 0.0043) tmp = t_2; elseif (y4 <= 2e+57) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_6)) + (y0 * ((z * k) - (x * j)))); elseif (y4 <= 1.55e+196) tmp = t_2; else tmp = k * (y4 * ((y1 * y2) - (y * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y1 * t$95$1), $MachinePrecision]}, Block[{t$95$4 = N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(k * N[(N[(N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$4), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -5.6e+228], N[(y4 * N[(N[(N[(b * t$95$6), $MachinePrecision] + t$95$3), $MachinePrecision] + N[(c * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.2e+169], N[(k * t$95$4), $MachinePrecision], If[LessEqual[y4, -1.05e+119], N[(y4 * N[(t$95$3 - N[(c * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2e+85], N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.18e+24], t$95$5, If[LessEqual[y4, 5e-272], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.2e-138], N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.9e-57], t$95$5, If[LessEqual[y4, 0.0043], t$95$2, If[LessEqual[y4, 2e+57], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$6), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.55e+196], t$95$2, N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + y4 \cdot t\_1\right)\\
t_3 := y1 \cdot t\_1\\
t_4 := y \cdot \left(i \cdot y5 - b \cdot y4\right)\\
t_5 := k \cdot \left(\left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + t\_4\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
t_6 := t \cdot j - y \cdot k\\
t_7 := y \cdot y3 - t \cdot y2\\
\mathbf{if}\;y4 \leq -5.6 \cdot 10^{+228}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_6 + t\_3\right) + c \cdot t\_7\right)\\
\mathbf{elif}\;y4 \leq -2.2 \cdot 10^{+169}:\\
\;\;\;\;k \cdot t\_4\\
\mathbf{elif}\;y4 \leq -1.05 \cdot 10^{+119}:\\
\;\;\;\;y4 \cdot \left(t\_3 - c \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y4 \leq -2 \cdot 10^{+85}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq -1.18 \cdot 10^{+24}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y4 \leq 5 \cdot 10^{-272}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y4 \leq 4.2 \cdot 10^{-138}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot t\_7\right)\\
\mathbf{elif}\;y4 \leq 2.9 \cdot 10^{-57}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y4 \leq 0.0043:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq 2 \cdot 10^{+57}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t\_6\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y4 \leq 1.55 \cdot 10^{+196}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\end{array}
\end{array}
if y4 < -5.5999999999999998e228Initial program 13.3%
Taylor expanded in y4 around inf 73.2%
if -5.5999999999999998e228 < y4 < -2.2e169Initial program 21.4%
Taylor expanded in k around inf 50.0%
+-commutative50.0%
mul-1-neg50.0%
unsub-neg50.0%
*-commutative50.0%
associate-*r*50.0%
neg-mul-150.0%
Simplified50.0%
Taylor expanded in y around inf 78.8%
if -2.2e169 < y4 < -1.04999999999999991e119Initial program 22.2%
Taylor expanded in y2 around inf 34.0%
*-commutative34.0%
Simplified34.0%
Taylor expanded in y4 around inf 68.0%
+-commutative68.0%
mul-1-neg68.0%
unsub-neg68.0%
*-commutative68.0%
*-commutative68.0%
Simplified68.0%
if -1.04999999999999991e119 < y4 < -2e85Initial program 37.5%
Taylor expanded in y3 around -inf 75.0%
Taylor expanded in y around inf 75.3%
if -2e85 < y4 < -1.17999999999999997e24 or 4.19999999999999972e-138 < y4 < 2.90000000000000025e-57Initial program 23.3%
Taylor expanded in k around inf 70.1%
+-commutative70.1%
mul-1-neg70.1%
unsub-neg70.1%
*-commutative70.1%
associate-*r*70.1%
neg-mul-170.1%
Simplified70.1%
if -1.17999999999999997e24 < y4 < 4.99999999999999982e-272Initial program 36.1%
Taylor expanded in x around inf 51.5%
if 4.99999999999999982e-272 < y4 < 4.19999999999999972e-138Initial program 48.4%
Taylor expanded in c around inf 55.5%
+-commutative55.5%
mul-1-neg55.5%
unsub-neg55.5%
*-commutative55.5%
*-commutative55.5%
*-commutative55.5%
*-commutative55.5%
Simplified55.5%
if 2.90000000000000025e-57 < y4 < 0.0043 or 2.0000000000000001e57 < y4 < 1.55000000000000005e196Initial program 31.9%
Taylor expanded in y1 around -inf 59.6%
associate-*r*59.6%
neg-mul-159.6%
+-commutative59.6%
mul-1-neg59.6%
unsub-neg59.6%
*-commutative59.6%
*-commutative59.6%
*-commutative59.6%
*-commutative59.6%
Simplified59.6%
Taylor expanded in a around 0 62.1%
if 0.0043 < y4 < 2.0000000000000001e57Initial program 50.0%
Taylor expanded in b around inf 64.4%
if 1.55000000000000005e196 < y4 Initial program 18.2%
Taylor expanded in k around inf 45.5%
+-commutative45.5%
mul-1-neg45.5%
unsub-neg45.5%
*-commutative45.5%
associate-*r*45.5%
neg-mul-145.5%
Simplified45.5%
Taylor expanded in y4 around inf 73.1%
Final simplification62.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* i y1) (* b y0)))
(t_2 (- (* k y2) (* j y3)))
(t_3
(*
y1
(+
(* i (- (* x j) (* z k)))
(+ (* y4 t_2) (* a (- (* z y3) (* x y2)))))))
(t_4 (- (* y1 y4) (* y0 y5)))
(t_5 (- (* y y3) (* t y2)))
(t_6 (- (* c y0) (* a y1)))
(t_7
(*
k
(+
(+ (* y2 t_4) (* y (- (* i y5) (* b y4))))
(* z (- (* b y0) (* i y1))))))
(t_8 (- (* x y2) (* z y3))))
(if (<= y1 -3.3e-32)
t_3
(if (<= y1 -7.8e-63)
(* y4 (+ (+ (* b (- (* t j) (* y k))) (* y1 t_2)) (* c t_5)))
(if (<= y1 -3.8e-70)
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 (- (* y0 y5) (* y1 y4))))
(* x t_1)))
(if (<= y1 -3.5e-133)
t_7
(if (<= y1 -1.9e-169)
(* c (+ (+ (* y0 t_8) (* i (- (* z t) (* x y)))) (* y4 t_5)))
(if (<= y1 -7.6e-240)
(* y0 (* k (- (* z b) (* y2 y5))))
(if (<= y1 1.56e-149)
(* x (+ (+ (* y (- (* a b) (* c i))) (* y2 t_6)) (* j t_1)))
(if (<= y1 3.6e-70)
(*
y0
(+
(+ (* c t_8) (* y5 (- (* j y3) (* k y2))))
(* b (- (* z k) (* x j)))))
(if (<= y1 1.1e-33)
t_7
(if (<= y1 1e+189)
(*
y2
(+
(+ (* x t_6) (* k t_4))
(* t (- (* a y5) (* c y4)))))
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 = (i * y1) - (b * y0);
double t_2 = (k * y2) - (j * y3);
double t_3 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) + (a * ((z * y3) - (x * y2)))));
double t_4 = (y1 * y4) - (y0 * y5);
double t_5 = (y * y3) - (t * y2);
double t_6 = (c * y0) - (a * y1);
double t_7 = k * (((y2 * t_4) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
double t_8 = (x * y2) - (z * y3);
double tmp;
if (y1 <= -3.3e-32) {
tmp = t_3;
} else if (y1 <= -7.8e-63) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_2)) + (c * t_5));
} else if (y1 <= -3.8e-70) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * t_1));
} else if (y1 <= -3.5e-133) {
tmp = t_7;
} else if (y1 <= -1.9e-169) {
tmp = c * (((y0 * t_8) + (i * ((z * t) - (x * y)))) + (y4 * t_5));
} else if (y1 <= -7.6e-240) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (y1 <= 1.56e-149) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_6)) + (j * t_1));
} else if (y1 <= 3.6e-70) {
tmp = y0 * (((c * t_8) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
} else if (y1 <= 1.1e-33) {
tmp = t_7;
} else if (y1 <= 1e+189) {
tmp = y2 * (((x * t_6) + (k * t_4)) + (t * ((a * y5) - (c * y4))));
} 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) :: t_7
real(8) :: t_8
real(8) :: tmp
t_1 = (i * y1) - (b * y0)
t_2 = (k * y2) - (j * y3)
t_3 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) + (a * ((z * y3) - (x * y2)))))
t_4 = (y1 * y4) - (y0 * y5)
t_5 = (y * y3) - (t * y2)
t_6 = (c * y0) - (a * y1)
t_7 = k * (((y2 * t_4) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))))
t_8 = (x * y2) - (z * y3)
if (y1 <= (-3.3d-32)) then
tmp = t_3
else if (y1 <= (-7.8d-63)) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_2)) + (c * t_5))
else if (y1 <= (-3.8d-70)) then
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * t_1))
else if (y1 <= (-3.5d-133)) then
tmp = t_7
else if (y1 <= (-1.9d-169)) then
tmp = c * (((y0 * t_8) + (i * ((z * t) - (x * y)))) + (y4 * t_5))
else if (y1 <= (-7.6d-240)) then
tmp = y0 * (k * ((z * b) - (y2 * y5)))
else if (y1 <= 1.56d-149) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_6)) + (j * t_1))
else if (y1 <= 3.6d-70) then
tmp = y0 * (((c * t_8) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))))
else if (y1 <= 1.1d-33) then
tmp = t_7
else if (y1 <= 1d+189) then
tmp = y2 * (((x * t_6) + (k * t_4)) + (t * ((a * y5) - (c * y4))))
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 = (i * y1) - (b * y0);
double t_2 = (k * y2) - (j * y3);
double t_3 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) + (a * ((z * y3) - (x * y2)))));
double t_4 = (y1 * y4) - (y0 * y5);
double t_5 = (y * y3) - (t * y2);
double t_6 = (c * y0) - (a * y1);
double t_7 = k * (((y2 * t_4) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1))));
double t_8 = (x * y2) - (z * y3);
double tmp;
if (y1 <= -3.3e-32) {
tmp = t_3;
} else if (y1 <= -7.8e-63) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_2)) + (c * t_5));
} else if (y1 <= -3.8e-70) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * t_1));
} else if (y1 <= -3.5e-133) {
tmp = t_7;
} else if (y1 <= -1.9e-169) {
tmp = c * (((y0 * t_8) + (i * ((z * t) - (x * y)))) + (y4 * t_5));
} else if (y1 <= -7.6e-240) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (y1 <= 1.56e-149) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_6)) + (j * t_1));
} else if (y1 <= 3.6e-70) {
tmp = y0 * (((c * t_8) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
} else if (y1 <= 1.1e-33) {
tmp = t_7;
} else if (y1 <= 1e+189) {
tmp = y2 * (((x * t_6) + (k * t_4)) + (t * ((a * y5) - (c * y4))));
} 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 = (i * y1) - (b * y0) t_2 = (k * y2) - (j * y3) t_3 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) + (a * ((z * y3) - (x * y2))))) t_4 = (y1 * y4) - (y0 * y5) t_5 = (y * y3) - (t * y2) t_6 = (c * y0) - (a * y1) t_7 = k * (((y2 * t_4) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))) t_8 = (x * y2) - (z * y3) tmp = 0 if y1 <= -3.3e-32: tmp = t_3 elif y1 <= -7.8e-63: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_2)) + (c * t_5)) elif y1 <= -3.8e-70: tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * t_1)) elif y1 <= -3.5e-133: tmp = t_7 elif y1 <= -1.9e-169: tmp = c * (((y0 * t_8) + (i * ((z * t) - (x * y)))) + (y4 * t_5)) elif y1 <= -7.6e-240: tmp = y0 * (k * ((z * b) - (y2 * y5))) elif y1 <= 1.56e-149: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_6)) + (j * t_1)) elif y1 <= 3.6e-70: tmp = y0 * (((c * t_8) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j)))) elif y1 <= 1.1e-33: tmp = t_7 elif y1 <= 1e+189: tmp = y2 * (((x * t_6) + (k * t_4)) + (t * ((a * y5) - (c * y4)))) 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(Float64(i * y1) - Float64(b * y0)) t_2 = Float64(Float64(k * y2) - Float64(j * y3)) t_3 = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(y4 * t_2) + Float64(a * Float64(Float64(z * y3) - Float64(x * y2)))))) t_4 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_5 = Float64(Float64(y * y3) - Float64(t * y2)) t_6 = Float64(Float64(c * y0) - Float64(a * y1)) t_7 = Float64(k * Float64(Float64(Float64(y2 * t_4) + Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))) t_8 = Float64(Float64(x * y2) - Float64(z * y3)) tmp = 0.0 if (y1 <= -3.3e-32) tmp = t_3; elseif (y1 <= -7.8e-63) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * t_2)) + Float64(c * t_5))); elseif (y1 <= -3.8e-70) tmp = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * t_1))); elseif (y1 <= -3.5e-133) tmp = t_7; elseif (y1 <= -1.9e-169) tmp = Float64(c * Float64(Float64(Float64(y0 * t_8) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * t_5))); elseif (y1 <= -7.6e-240) tmp = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))); elseif (y1 <= 1.56e-149) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_6)) + Float64(j * t_1))); elseif (y1 <= 3.6e-70) tmp = Float64(y0 * Float64(Float64(Float64(c * t_8) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (y1 <= 1.1e-33) tmp = t_7; elseif (y1 <= 1e+189) tmp = Float64(y2 * Float64(Float64(Float64(x * t_6) + Float64(k * t_4)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); 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 = (i * y1) - (b * y0); t_2 = (k * y2) - (j * y3); t_3 = y1 * ((i * ((x * j) - (z * k))) + ((y4 * t_2) + (a * ((z * y3) - (x * y2))))); t_4 = (y1 * y4) - (y0 * y5); t_5 = (y * y3) - (t * y2); t_6 = (c * y0) - (a * y1); t_7 = k * (((y2 * t_4) + (y * ((i * y5) - (b * y4)))) + (z * ((b * y0) - (i * y1)))); t_8 = (x * y2) - (z * y3); tmp = 0.0; if (y1 <= -3.3e-32) tmp = t_3; elseif (y1 <= -7.8e-63) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_2)) + (c * t_5)); elseif (y1 <= -3.8e-70) tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * t_1)); elseif (y1 <= -3.5e-133) tmp = t_7; elseif (y1 <= -1.9e-169) tmp = c * (((y0 * t_8) + (i * ((z * t) - (x * y)))) + (y4 * t_5)); elseif (y1 <= -7.6e-240) tmp = y0 * (k * ((z * b) - (y2 * y5))); elseif (y1 <= 1.56e-149) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_6)) + (j * t_1)); elseif (y1 <= 3.6e-70) tmp = y0 * (((c * t_8) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j)))); elseif (y1 <= 1.1e-33) tmp = t_7; elseif (y1 <= 1e+189) tmp = y2 * (((x * t_6) + (k * t_4)) + (t * ((a * y5) - (c * y4)))); 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[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y4 * t$95$2), $MachinePrecision] + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(k * N[(N[(N[(y2 * t$95$4), $MachinePrecision] + N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -3.3e-32], t$95$3, If[LessEqual[y1, -7.8e-63], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.8e-70], N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.5e-133], t$95$7, If[LessEqual[y1, -1.9e-169], N[(c * N[(N[(N[(y0 * t$95$8), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -7.6e-240], N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.56e-149], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$6), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.6e-70], N[(y0 * N[(N[(N[(c * t$95$8), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.1e-33], t$95$7, If[LessEqual[y1, 1e+189], N[(y2 * N[(N[(N[(x * t$95$6), $MachinePrecision] + N[(k * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot y1 - b \cdot y0\\
t_2 := k \cdot y2 - j \cdot y3\\
t_3 := y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + \left(y4 \cdot t\_2 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\
t_4 := y1 \cdot y4 - y0 \cdot y5\\
t_5 := y \cdot y3 - t \cdot y2\\
t_6 := c \cdot y0 - a \cdot y1\\
t_7 := k \cdot \left(\left(y2 \cdot t\_4 + y \cdot \left(i \cdot y5 - b \cdot y4\right)\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
t_8 := x \cdot y2 - z \cdot y3\\
\mathbf{if}\;y1 \leq -3.3 \cdot 10^{-32}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y1 \leq -7.8 \cdot 10^{-63}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot t\_2\right) + c \cdot t\_5\right)\\
\mathbf{elif}\;y1 \leq -3.8 \cdot 10^{-70}:\\
\;\;\;\;j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot t\_1\right)\\
\mathbf{elif}\;y1 \leq -3.5 \cdot 10^{-133}:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;y1 \leq -1.9 \cdot 10^{-169}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot t\_8 + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot t\_5\right)\\
\mathbf{elif}\;y1 \leq -7.6 \cdot 10^{-240}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq 1.56 \cdot 10^{-149}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_6\right) + j \cdot t\_1\right)\\
\mathbf{elif}\;y1 \leq 3.6 \cdot 10^{-70}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t\_8 + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 1.1 \cdot 10^{-33}:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;y1 \leq 10^{+189}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot t\_6 + k \cdot t\_4\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_3\\
\end{array}
\end{array}
if y1 < -3.30000000000000025e-32 or 1e189 < y1 Initial program 28.6%
Taylor expanded in y1 around -inf 63.4%
associate-*r*63.4%
neg-mul-163.4%
+-commutative63.4%
mul-1-neg63.4%
unsub-neg63.4%
*-commutative63.4%
*-commutative63.4%
*-commutative63.4%
*-commutative63.4%
Simplified63.4%
if -3.30000000000000025e-32 < y1 < -7.80000000000000044e-63Initial program 0.0%
Taylor expanded in y4 around inf 63.6%
if -7.80000000000000044e-63 < y1 < -3.7999999999999998e-70Initial program 0.0%
Taylor expanded in j around inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
Simplified100.0%
if -3.7999999999999998e-70 < y1 < -3.50000000000000003e-133 or 3.6000000000000002e-70 < y1 < 1.10000000000000003e-33Initial program 38.4%
Taylor expanded in k around inf 61.6%
+-commutative61.6%
mul-1-neg61.6%
unsub-neg61.6%
*-commutative61.6%
associate-*r*61.6%
neg-mul-161.6%
Simplified61.6%
if -3.50000000000000003e-133 < y1 < -1.9e-169Initial program 66.7%
Taylor expanded in c around inf 99.8%
+-commutative99.8%
mul-1-neg99.8%
unsub-neg99.8%
*-commutative99.8%
*-commutative99.8%
*-commutative99.8%
*-commutative99.8%
Simplified99.8%
if -1.9e-169 < y1 < -7.59999999999999977e-240Initial program 33.3%
Taylor expanded in y0 around inf 44.5%
+-commutative44.5%
mul-1-neg44.5%
unsub-neg44.5%
*-commutative44.5%
*-commutative44.5%
*-commutative44.5%
*-commutative44.5%
Simplified44.5%
Taylor expanded in k around -inf 62.3%
+-commutative62.3%
mul-1-neg62.3%
sub-neg62.3%
Simplified62.3%
if -7.59999999999999977e-240 < y1 < 1.5600000000000001e-149Initial program 39.1%
Taylor expanded in x around inf 51.4%
if 1.5600000000000001e-149 < y1 < 3.6000000000000002e-70Initial program 38.5%
Taylor expanded in y0 around inf 62.1%
+-commutative62.1%
mul-1-neg62.1%
unsub-neg62.1%
*-commutative62.1%
*-commutative62.1%
*-commutative62.1%
*-commutative62.1%
Simplified62.1%
if 1.10000000000000003e-33 < y1 < 1e189Initial program 31.5%
Taylor expanded in y2 around inf 52.6%
Final simplification61.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x j) (* z k)))
(t_2 (* i t_1))
(t_3 (- (* x y) (* z t)))
(t_4 (* y4 (- (* k y2) (* j y3))))
(t_5 (- (* z y3) (* x y2)))
(t_6 (* k (* y4 (- (* y1 y2) (* y b)))))
(t_7 (- (* c y0) (* a y1))))
(if (<= b -2.9e+274)
(* k (* z (- (* b y0) (* i y1))))
(if (<= b -1.15e+220)
t_6
(if (<= b -1.45e+212)
(*
y2
(+
(+ (* x t_7) (* k (- (* y1 y4) (* y0 y5))))
(* t (- (* a y5) (* c y4)))))
(if (<= b -1.4e+146)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_7))
(* j (- (* i y1) (* b y0)))))
(if (<= b -2.5e+89)
t_6
(if (<= b 6.8e-190)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+
(* z (- (* a y1) (* c y0)))
(* j (- (* y0 y5) (* y1 y4))))))
(if (<= b 3e-68)
(* y1 (+ t_2 (+ t_4 (* a t_5))))
(if (<= b 1.7e-49)
(*
a
(+ (+ (* b t_3) (* y1 t_5)) (* y5 (- (* t y2) (* y y3)))))
(if (<= b 205000000.0)
(*
i
(+ (* y1 t_1) (- (* y5 (- (* y k) (* t j))) (* c t_3))))
(if (<= b 2.6e+31)
(* y1 (+ t_2 t_4))
(*
b
(+
(+ (* a t_3) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * j) - (z * k);
double t_2 = i * t_1;
double t_3 = (x * y) - (z * t);
double t_4 = y4 * ((k * y2) - (j * y3));
double t_5 = (z * y3) - (x * y2);
double t_6 = k * (y4 * ((y1 * y2) - (y * b)));
double t_7 = (c * y0) - (a * y1);
double tmp;
if (b <= -2.9e+274) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (b <= -1.15e+220) {
tmp = t_6;
} else if (b <= -1.45e+212) {
tmp = y2 * (((x * t_7) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (b <= -1.4e+146) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_7)) + (j * ((i * y1) - (b * y0))));
} else if (b <= -2.5e+89) {
tmp = t_6;
} else if (b <= 6.8e-190) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (b <= 3e-68) {
tmp = y1 * (t_2 + (t_4 + (a * t_5)));
} else if (b <= 1.7e-49) {
tmp = a * (((b * t_3) + (y1 * t_5)) + (y5 * ((t * y2) - (y * y3))));
} else if (b <= 205000000.0) {
tmp = i * ((y1 * t_1) + ((y5 * ((y * k) - (t * j))) - (c * t_3)));
} else if (b <= 2.6e+31) {
tmp = y1 * (t_2 + t_4);
} else {
tmp = b * (((a * t_3) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: tmp
t_1 = (x * j) - (z * k)
t_2 = i * t_1
t_3 = (x * y) - (z * t)
t_4 = y4 * ((k * y2) - (j * y3))
t_5 = (z * y3) - (x * y2)
t_6 = k * (y4 * ((y1 * y2) - (y * b)))
t_7 = (c * y0) - (a * y1)
if (b <= (-2.9d+274)) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (b <= (-1.15d+220)) then
tmp = t_6
else if (b <= (-1.45d+212)) then
tmp = y2 * (((x * t_7) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))))
else if (b <= (-1.4d+146)) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_7)) + (j * ((i * y1) - (b * y0))))
else if (b <= (-2.5d+89)) then
tmp = t_6
else if (b <= 6.8d-190) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (b <= 3d-68) then
tmp = y1 * (t_2 + (t_4 + (a * t_5)))
else if (b <= 1.7d-49) then
tmp = a * (((b * t_3) + (y1 * t_5)) + (y5 * ((t * y2) - (y * y3))))
else if (b <= 205000000.0d0) then
tmp = i * ((y1 * t_1) + ((y5 * ((y * k) - (t * j))) - (c * t_3)))
else if (b <= 2.6d+31) then
tmp = y1 * (t_2 + t_4)
else
tmp = b * (((a * t_3) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * j) - (z * k);
double t_2 = i * t_1;
double t_3 = (x * y) - (z * t);
double t_4 = y4 * ((k * y2) - (j * y3));
double t_5 = (z * y3) - (x * y2);
double t_6 = k * (y4 * ((y1 * y2) - (y * b)));
double t_7 = (c * y0) - (a * y1);
double tmp;
if (b <= -2.9e+274) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (b <= -1.15e+220) {
tmp = t_6;
} else if (b <= -1.45e+212) {
tmp = y2 * (((x * t_7) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (b <= -1.4e+146) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_7)) + (j * ((i * y1) - (b * y0))));
} else if (b <= -2.5e+89) {
tmp = t_6;
} else if (b <= 6.8e-190) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (b <= 3e-68) {
tmp = y1 * (t_2 + (t_4 + (a * t_5)));
} else if (b <= 1.7e-49) {
tmp = a * (((b * t_3) + (y1 * t_5)) + (y5 * ((t * y2) - (y * y3))));
} else if (b <= 205000000.0) {
tmp = i * ((y1 * t_1) + ((y5 * ((y * k) - (t * j))) - (c * t_3)));
} else if (b <= 2.6e+31) {
tmp = y1 * (t_2 + t_4);
} else {
tmp = b * (((a * t_3) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * j) - (z * k) t_2 = i * t_1 t_3 = (x * y) - (z * t) t_4 = y4 * ((k * y2) - (j * y3)) t_5 = (z * y3) - (x * y2) t_6 = k * (y4 * ((y1 * y2) - (y * b))) t_7 = (c * y0) - (a * y1) tmp = 0 if b <= -2.9e+274: tmp = k * (z * ((b * y0) - (i * y1))) elif b <= -1.15e+220: tmp = t_6 elif b <= -1.45e+212: tmp = y2 * (((x * t_7) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))) elif b <= -1.4e+146: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_7)) + (j * ((i * y1) - (b * y0)))) elif b <= -2.5e+89: tmp = t_6 elif b <= 6.8e-190: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif b <= 3e-68: tmp = y1 * (t_2 + (t_4 + (a * t_5))) elif b <= 1.7e-49: tmp = a * (((b * t_3) + (y1 * t_5)) + (y5 * ((t * y2) - (y * y3)))) elif b <= 205000000.0: tmp = i * ((y1 * t_1) + ((y5 * ((y * k) - (t * j))) - (c * t_3))) elif b <= 2.6e+31: tmp = y1 * (t_2 + t_4) else: tmp = b * (((a * t_3) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * j) - Float64(z * k)) t_2 = Float64(i * t_1) t_3 = Float64(Float64(x * y) - Float64(z * t)) t_4 = Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) t_5 = Float64(Float64(z * y3) - Float64(x * y2)) t_6 = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))) t_7 = Float64(Float64(c * y0) - Float64(a * y1)) tmp = 0.0 if (b <= -2.9e+274) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (b <= -1.15e+220) tmp = t_6; elseif (b <= -1.45e+212) tmp = Float64(y2 * Float64(Float64(Float64(x * t_7) + Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (b <= -1.4e+146) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_7)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (b <= -2.5e+89) tmp = t_6; elseif (b <= 6.8e-190) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))))); elseif (b <= 3e-68) tmp = Float64(y1 * Float64(t_2 + Float64(t_4 + Float64(a * t_5)))); elseif (b <= 1.7e-49) tmp = Float64(a * Float64(Float64(Float64(b * t_3) + Float64(y1 * t_5)) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))); elseif (b <= 205000000.0) tmp = Float64(i * Float64(Float64(y1 * t_1) + Float64(Float64(y5 * Float64(Float64(y * k) - Float64(t * j))) - Float64(c * t_3)))); elseif (b <= 2.6e+31) tmp = Float64(y1 * Float64(t_2 + t_4)); else tmp = Float64(b * Float64(Float64(Float64(a * t_3) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * j) - (z * k); t_2 = i * t_1; t_3 = (x * y) - (z * t); t_4 = y4 * ((k * y2) - (j * y3)); t_5 = (z * y3) - (x * y2); t_6 = k * (y4 * ((y1 * y2) - (y * b))); t_7 = (c * y0) - (a * y1); tmp = 0.0; if (b <= -2.9e+274) tmp = k * (z * ((b * y0) - (i * y1))); elseif (b <= -1.15e+220) tmp = t_6; elseif (b <= -1.45e+212) tmp = y2 * (((x * t_7) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))); elseif (b <= -1.4e+146) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_7)) + (j * ((i * y1) - (b * y0)))); elseif (b <= -2.5e+89) tmp = t_6; elseif (b <= 6.8e-190) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (b <= 3e-68) tmp = y1 * (t_2 + (t_4 + (a * t_5))); elseif (b <= 1.7e-49) tmp = a * (((b * t_3) + (y1 * t_5)) + (y5 * ((t * y2) - (y * y3)))); elseif (b <= 205000000.0) tmp = i * ((y1 * t_1) + ((y5 * ((y * k) - (t * j))) - (c * t_3))); elseif (b <= 2.6e+31) tmp = y1 * (t_2 + t_4); else tmp = b * (((a * t_3) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.9e+274], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.15e+220], t$95$6, If[LessEqual[b, -1.45e+212], N[(y2 * N[(N[(N[(x * t$95$7), $MachinePrecision] + N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.4e+146], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$7), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -2.5e+89], t$95$6, If[LessEqual[b, 6.8e-190], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3e-68], N[(y1 * N[(t$95$2 + N[(t$95$4 + N[(a * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.7e-49], N[(a * N[(N[(N[(b * t$95$3), $MachinePrecision] + N[(y1 * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 205000000.0], N[(i * N[(N[(y1 * t$95$1), $MachinePrecision] + N[(N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.6e+31], N[(y1 * N[(t$95$2 + t$95$4), $MachinePrecision]), $MachinePrecision], N[(b * N[(N[(N[(a * t$95$3), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot j - z \cdot k\\
t_2 := i \cdot t\_1\\
t_3 := x \cdot y - z \cdot t\\
t_4 := y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\\
t_5 := z \cdot y3 - x \cdot y2\\
t_6 := k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
t_7 := c \cdot y0 - a \cdot y1\\
\mathbf{if}\;b \leq -2.9 \cdot 10^{+274}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;b \leq -1.15 \cdot 10^{+220}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;b \leq -1.45 \cdot 10^{+212}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot t\_7 + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;b \leq -1.4 \cdot 10^{+146}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_7\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;b \leq -2.5 \cdot 10^{+89}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;b \leq 6.8 \cdot 10^{-190}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\right)\\
\mathbf{elif}\;b \leq 3 \cdot 10^{-68}:\\
\;\;\;\;y1 \cdot \left(t\_2 + \left(t\_4 + a \cdot t\_5\right)\right)\\
\mathbf{elif}\;b \leq 1.7 \cdot 10^{-49}:\\
\;\;\;\;a \cdot \left(\left(b \cdot t\_3 + y1 \cdot t\_5\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq 205000000:\\
\;\;\;\;i \cdot \left(y1 \cdot t\_1 + \left(y5 \cdot \left(y \cdot k - t \cdot j\right) - c \cdot t\_3\right)\right)\\
\mathbf{elif}\;b \leq 2.6 \cdot 10^{+31}:\\
\;\;\;\;y1 \cdot \left(t\_2 + t\_4\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t\_3 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\end{array}
\end{array}
if b < -2.9e274Initial program 16.7%
Taylor expanded in k around inf 50.0%
+-commutative50.0%
mul-1-neg50.0%
unsub-neg50.0%
*-commutative50.0%
associate-*r*50.0%
neg-mul-150.0%
Simplified50.0%
Taylor expanded in z around inf 100.0%
if -2.9e274 < b < -1.14999999999999998e220 or -1.4e146 < b < -2.49999999999999992e89Initial program 19.2%
Taylor expanded in k around inf 46.3%
+-commutative46.3%
mul-1-neg46.3%
unsub-neg46.3%
*-commutative46.3%
associate-*r*46.3%
neg-mul-146.3%
Simplified46.3%
Taylor expanded in y4 around inf 66.0%
if -1.14999999999999998e220 < b < -1.4499999999999999e212Initial program 20.0%
Taylor expanded in y2 around inf 80.7%
if -1.4499999999999999e212 < b < -1.4e146Initial program 22.2%
Taylor expanded in x around inf 64.9%
if -2.49999999999999992e89 < b < 6.79999999999999963e-190Initial program 41.4%
Taylor expanded in y3 around -inf 60.1%
if 6.79999999999999963e-190 < b < 3e-68Initial program 38.4%
Taylor expanded in y1 around -inf 62.4%
associate-*r*62.4%
neg-mul-162.4%
+-commutative62.4%
mul-1-neg62.4%
unsub-neg62.4%
*-commutative62.4%
*-commutative62.4%
*-commutative62.4%
*-commutative62.4%
Simplified62.4%
if 3e-68 < b < 1.70000000000000002e-49Initial program 33.3%
Taylor expanded in a around inf 83.8%
+-commutative83.8%
mul-1-neg83.8%
unsub-neg83.8%
*-commutative83.8%
*-commutative83.8%
*-commutative83.8%
mul-1-neg83.8%
*-commutative83.8%
Simplified83.8%
if 1.70000000000000002e-49 < b < 2.05e8Initial program 38.8%
Taylor expanded in i around -inf 72.5%
if 2.05e8 < b < 2.6e31Initial program 0.0%
Taylor expanded in y1 around -inf 72.1%
associate-*r*72.1%
neg-mul-172.1%
+-commutative72.1%
mul-1-neg72.1%
unsub-neg72.1%
*-commutative72.1%
*-commutative72.1%
*-commutative72.1%
*-commutative72.1%
Simplified72.1%
Taylor expanded in a around 0 86.1%
if 2.6e31 < b Initial program 26.0%
Taylor expanded in b around inf 59.5%
Final simplification64.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (- (* x j) (* z k))))
(t_2 (* y1 (+ t_1 (* a (- (* z y3) (* x y2))))))
(t_3 (* y1 (+ t_1 (* y4 (- (* k y2) (* j y3)))))))
(if (<= y5 -3e+93)
(* y0 (* y3 (- (* j y5) (* z c))))
(if (<= y5 -5.5e+41)
t_2
(if (<= y5 -2e+14)
(* y0 (* k (- (* z b) (* y2 y5))))
(if (<= y5 -6e-71)
(* (* y1 y3) (- (* z a) (* j y4)))
(if (<= y5 -4.4e-174)
(* t (* c (- (* z i) (* y2 y4))))
(if (<= y5 -9.2e-189)
(* b (* x (- (* y a) (* j y0))))
(if (<= y5 1.9e-161)
t_3
(if (<= y5 1.5e-130)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= y5 1.95e-83)
t_3
(if (<= y5 1.6e-27)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y5 1.25e+33)
t_2
(* y0 (* y5 (- (* 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 t_1 = i * ((x * j) - (z * k));
double t_2 = y1 * (t_1 + (a * ((z * y3) - (x * y2))));
double t_3 = y1 * (t_1 + (y4 * ((k * y2) - (j * y3))));
double tmp;
if (y5 <= -3e+93) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y5 <= -5.5e+41) {
tmp = t_2;
} else if (y5 <= -2e+14) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (y5 <= -6e-71) {
tmp = (y1 * y3) * ((z * a) - (j * y4));
} else if (y5 <= -4.4e-174) {
tmp = t * (c * ((z * i) - (y2 * y4)));
} else if (y5 <= -9.2e-189) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= 1.9e-161) {
tmp = t_3;
} else if (y5 <= 1.5e-130) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y5 <= 1.95e-83) {
tmp = t_3;
} else if (y5 <= 1.6e-27) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y5 <= 1.25e+33) {
tmp = t_2;
} else {
tmp = y0 * (y5 * ((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) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = i * ((x * j) - (z * k))
t_2 = y1 * (t_1 + (a * ((z * y3) - (x * y2))))
t_3 = y1 * (t_1 + (y4 * ((k * y2) - (j * y3))))
if (y5 <= (-3d+93)) then
tmp = y0 * (y3 * ((j * y5) - (z * c)))
else if (y5 <= (-5.5d+41)) then
tmp = t_2
else if (y5 <= (-2d+14)) then
tmp = y0 * (k * ((z * b) - (y2 * y5)))
else if (y5 <= (-6d-71)) then
tmp = (y1 * y3) * ((z * a) - (j * y4))
else if (y5 <= (-4.4d-174)) then
tmp = t * (c * ((z * i) - (y2 * y4)))
else if (y5 <= (-9.2d-189)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y5 <= 1.9d-161) then
tmp = t_3
else if (y5 <= 1.5d-130) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (y5 <= 1.95d-83) then
tmp = t_3
else if (y5 <= 1.6d-27) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y5 <= 1.25d+33) then
tmp = t_2
else
tmp = y0 * (y5 * ((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 t_1 = i * ((x * j) - (z * k));
double t_2 = y1 * (t_1 + (a * ((z * y3) - (x * y2))));
double t_3 = y1 * (t_1 + (y4 * ((k * y2) - (j * y3))));
double tmp;
if (y5 <= -3e+93) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y5 <= -5.5e+41) {
tmp = t_2;
} else if (y5 <= -2e+14) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else if (y5 <= -6e-71) {
tmp = (y1 * y3) * ((z * a) - (j * y4));
} else if (y5 <= -4.4e-174) {
tmp = t * (c * ((z * i) - (y2 * y4)));
} else if (y5 <= -9.2e-189) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= 1.9e-161) {
tmp = t_3;
} else if (y5 <= 1.5e-130) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y5 <= 1.95e-83) {
tmp = t_3;
} else if (y5 <= 1.6e-27) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y5 <= 1.25e+33) {
tmp = t_2;
} else {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * ((x * j) - (z * k)) t_2 = y1 * (t_1 + (a * ((z * y3) - (x * y2)))) t_3 = y1 * (t_1 + (y4 * ((k * y2) - (j * y3)))) tmp = 0 if y5 <= -3e+93: tmp = y0 * (y3 * ((j * y5) - (z * c))) elif y5 <= -5.5e+41: tmp = t_2 elif y5 <= -2e+14: tmp = y0 * (k * ((z * b) - (y2 * y5))) elif y5 <= -6e-71: tmp = (y1 * y3) * ((z * a) - (j * y4)) elif y5 <= -4.4e-174: tmp = t * (c * ((z * i) - (y2 * y4))) elif y5 <= -9.2e-189: tmp = b * (x * ((y * a) - (j * y0))) elif y5 <= 1.9e-161: tmp = t_3 elif y5 <= 1.5e-130: tmp = x * (y2 * ((c * y0) - (a * y1))) elif y5 <= 1.95e-83: tmp = t_3 elif y5 <= 1.6e-27: tmp = k * (y * ((i * y5) - (b * y4))) elif y5 <= 1.25e+33: tmp = t_2 else: tmp = y0 * (y5 * ((j * y3) - (k * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(Float64(x * j) - Float64(z * k))) t_2 = Float64(y1 * Float64(t_1 + Float64(a * Float64(Float64(z * y3) - Float64(x * y2))))) t_3 = Float64(y1 * Float64(t_1 + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))))) tmp = 0.0 if (y5 <= -3e+93) tmp = Float64(y0 * Float64(y3 * Float64(Float64(j * y5) - Float64(z * c)))); elseif (y5 <= -5.5e+41) tmp = t_2; elseif (y5 <= -2e+14) tmp = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))); elseif (y5 <= -6e-71) tmp = Float64(Float64(y1 * y3) * Float64(Float64(z * a) - Float64(j * y4))); elseif (y5 <= -4.4e-174) tmp = Float64(t * Float64(c * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y5 <= -9.2e-189) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y5 <= 1.9e-161) tmp = t_3; elseif (y5 <= 1.5e-130) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (y5 <= 1.95e-83) tmp = t_3; elseif (y5 <= 1.6e-27) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y5 <= 1.25e+33) tmp = t_2; else tmp = Float64(y0 * Float64(y5 * 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) t_1 = i * ((x * j) - (z * k)); t_2 = y1 * (t_1 + (a * ((z * y3) - (x * y2)))); t_3 = y1 * (t_1 + (y4 * ((k * y2) - (j * y3)))); tmp = 0.0; if (y5 <= -3e+93) tmp = y0 * (y3 * ((j * y5) - (z * c))); elseif (y5 <= -5.5e+41) tmp = t_2; elseif (y5 <= -2e+14) tmp = y0 * (k * ((z * b) - (y2 * y5))); elseif (y5 <= -6e-71) tmp = (y1 * y3) * ((z * a) - (j * y4)); elseif (y5 <= -4.4e-174) tmp = t * (c * ((z * i) - (y2 * y4))); elseif (y5 <= -9.2e-189) tmp = b * (x * ((y * a) - (j * y0))); elseif (y5 <= 1.9e-161) tmp = t_3; elseif (y5 <= 1.5e-130) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (y5 <= 1.95e-83) tmp = t_3; elseif (y5 <= 1.6e-27) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y5 <= 1.25e+33) tmp = t_2; else tmp = y0 * (y5 * ((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_] := Block[{t$95$1 = N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(t$95$1 + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y1 * N[(t$95$1 + N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -3e+93], N[(y0 * N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5.5e+41], t$95$2, If[LessEqual[y5, -2e+14], N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -6e-71], N[(N[(y1 * y3), $MachinePrecision] * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -4.4e-174], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -9.2e-189], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.9e-161], t$95$3, If[LessEqual[y5, 1.5e-130], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.95e-83], t$95$3, If[LessEqual[y5, 1.6e-27], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.25e+33], t$95$2, N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(x \cdot j - z \cdot k\right)\\
t_2 := y1 \cdot \left(t\_1 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
t_3 := y1 \cdot \left(t\_1 + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{if}\;y5 \leq -3 \cdot 10^{+93}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{elif}\;y5 \leq -5.5 \cdot 10^{+41}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y5 \leq -2 \cdot 10^{+14}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq -6 \cdot 10^{-71}:\\
\;\;\;\;\left(y1 \cdot y3\right) \cdot \left(z \cdot a - j \cdot y4\right)\\
\mathbf{elif}\;y5 \leq -4.4 \cdot 10^{-174}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq -9.2 \cdot 10^{-189}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq 1.9 \cdot 10^{-161}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y5 \leq 1.5 \cdot 10^{-130}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y5 \leq 1.95 \cdot 10^{-83}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y5 \leq 1.6 \cdot 10^{-27}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 1.25 \cdot 10^{+33}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\end{array}
\end{array}
if y5 < -2.99999999999999978e93Initial program 21.6%
Taylor expanded in y0 around inf 48.7%
+-commutative48.7%
mul-1-neg48.7%
unsub-neg48.7%
*-commutative48.7%
*-commutative48.7%
*-commutative48.7%
*-commutative48.7%
Simplified48.7%
Taylor expanded in y3 around -inf 65.1%
associate-*r*65.1%
neg-mul-165.1%
Simplified65.1%
if -2.99999999999999978e93 < y5 < -5.5000000000000003e41 or 1.59999999999999995e-27 < y5 < 1.24999999999999993e33Initial program 41.9%
Taylor expanded in y1 around -inf 67.9%
associate-*r*67.9%
neg-mul-167.9%
+-commutative67.9%
mul-1-neg67.9%
unsub-neg67.9%
*-commutative67.9%
*-commutative67.9%
*-commutative67.9%
*-commutative67.9%
Simplified67.9%
Taylor expanded in y4 around 0 65.0%
if -5.5000000000000003e41 < y5 < -2e14Initial program 25.0%
Taylor expanded in y0 around inf 63.3%
+-commutative63.3%
mul-1-neg63.3%
unsub-neg63.3%
*-commutative63.3%
*-commutative63.3%
*-commutative63.3%
*-commutative63.3%
Simplified63.3%
Taylor expanded in k around -inf 50.8%
+-commutative50.8%
mul-1-neg50.8%
sub-neg50.8%
Simplified50.8%
if -2e14 < y5 < -6.0000000000000003e-71Initial program 30.0%
Taylor expanded in y1 around -inf 50.4%
associate-*r*50.4%
neg-mul-150.4%
+-commutative50.4%
mul-1-neg50.4%
unsub-neg50.4%
*-commutative50.4%
*-commutative50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in y3 around -inf 71.6%
associate-*r*71.6%
Simplified71.6%
if -6.0000000000000003e-71 < y5 < -4.40000000000000043e-174Initial program 20.4%
Taylor expanded in t around inf 30.7%
Taylor expanded in c around inf 60.7%
if -4.40000000000000043e-174 < y5 < -9.1999999999999993e-189Initial program 42.9%
Taylor expanded in b around inf 71.6%
Taylor expanded in x around inf 85.9%
if -9.1999999999999993e-189 < y5 < 1.9000000000000001e-161 or 1.49999999999999993e-130 < y5 < 1.95e-83Initial program 37.1%
Taylor expanded in y1 around -inf 59.5%
associate-*r*59.5%
neg-mul-159.5%
+-commutative59.5%
mul-1-neg59.5%
unsub-neg59.5%
*-commutative59.5%
*-commutative59.5%
*-commutative59.5%
*-commutative59.5%
Simplified59.5%
Taylor expanded in a around 0 59.8%
if 1.9000000000000001e-161 < y5 < 1.49999999999999993e-130Initial program 16.7%
Taylor expanded in y2 around inf 16.9%
*-commutative16.9%
Simplified16.9%
Taylor expanded in x around inf 68.4%
*-commutative68.4%
*-commutative68.4%
Simplified68.4%
if 1.95e-83 < y5 < 1.59999999999999995e-27Initial program 35.6%
Taylor expanded in k around inf 49.2%
+-commutative49.2%
mul-1-neg49.2%
unsub-neg49.2%
*-commutative49.2%
associate-*r*49.2%
neg-mul-149.2%
Simplified49.2%
Taylor expanded in y around inf 70.7%
if 1.24999999999999993e33 < y5 Initial program 32.1%
Taylor expanded in y0 around inf 32.9%
+-commutative32.9%
mul-1-neg32.9%
unsub-neg32.9%
*-commutative32.9%
*-commutative32.9%
*-commutative32.9%
*-commutative32.9%
Simplified32.9%
Taylor expanded in y5 around inf 45.3%
Final simplification60.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (- (* x j) (* z k))))
(t_2 (* y1 (+ t_1 (* y4 (- (* k y2) (* j y3))))))
(t_3 (* y1 (+ t_1 (* a (- (* z y3) (* x y2))))))
(t_4
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))))
(if (<= y5 -3.8e+94)
(* y0 (* y3 (- (* j y5) (* z c))))
(if (<= y5 -2.8e-171)
t_3
(if (<= y5 -8e-206)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y5 4.6e-250)
t_2
(if (<= y5 1.36e-129)
t_4
(if (<= y5 2.8e-85)
t_2
(if (<= y5 1.7e-27)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y5 2.7e+35)
t_3
(if (<= y5 1.02e+170)
t_4
(* a (* y2 (- (* t y5) (* x y1)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((x * j) - (z * k));
double t_2 = y1 * (t_1 + (y4 * ((k * y2) - (j * y3))));
double t_3 = y1 * (t_1 + (a * ((z * y3) - (x * y2))));
double t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (y5 <= -3.8e+94) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y5 <= -2.8e-171) {
tmp = t_3;
} else if (y5 <= -8e-206) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y5 <= 4.6e-250) {
tmp = t_2;
} else if (y5 <= 1.36e-129) {
tmp = t_4;
} else if (y5 <= 2.8e-85) {
tmp = t_2;
} else if (y5 <= 1.7e-27) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y5 <= 2.7e+35) {
tmp = t_3;
} else if (y5 <= 1.02e+170) {
tmp = t_4;
} else {
tmp = a * (y2 * ((t * y5) - (x * y1)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = i * ((x * j) - (z * k))
t_2 = y1 * (t_1 + (y4 * ((k * y2) - (j * y3))))
t_3 = y1 * (t_1 + (a * ((z * y3) - (x * y2))))
t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
if (y5 <= (-3.8d+94)) then
tmp = y0 * (y3 * ((j * y5) - (z * c)))
else if (y5 <= (-2.8d-171)) then
tmp = t_3
else if (y5 <= (-8d-206)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y5 <= 4.6d-250) then
tmp = t_2
else if (y5 <= 1.36d-129) then
tmp = t_4
else if (y5 <= 2.8d-85) then
tmp = t_2
else if (y5 <= 1.7d-27) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y5 <= 2.7d+35) then
tmp = t_3
else if (y5 <= 1.02d+170) then
tmp = t_4
else
tmp = a * (y2 * ((t * y5) - (x * y1)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((x * j) - (z * k));
double t_2 = y1 * (t_1 + (y4 * ((k * y2) - (j * y3))));
double t_3 = y1 * (t_1 + (a * ((z * y3) - (x * y2))));
double t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (y5 <= -3.8e+94) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y5 <= -2.8e-171) {
tmp = t_3;
} else if (y5 <= -8e-206) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y5 <= 4.6e-250) {
tmp = t_2;
} else if (y5 <= 1.36e-129) {
tmp = t_4;
} else if (y5 <= 2.8e-85) {
tmp = t_2;
} else if (y5 <= 1.7e-27) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y5 <= 2.7e+35) {
tmp = t_3;
} else if (y5 <= 1.02e+170) {
tmp = t_4;
} else {
tmp = a * (y2 * ((t * y5) - (x * y1)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * ((x * j) - (z * k)) t_2 = y1 * (t_1 + (y4 * ((k * y2) - (j * y3)))) t_3 = y1 * (t_1 + (a * ((z * y3) - (x * y2)))) t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) tmp = 0 if y5 <= -3.8e+94: tmp = y0 * (y3 * ((j * y5) - (z * c))) elif y5 <= -2.8e-171: tmp = t_3 elif y5 <= -8e-206: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y5 <= 4.6e-250: tmp = t_2 elif y5 <= 1.36e-129: tmp = t_4 elif y5 <= 2.8e-85: tmp = t_2 elif y5 <= 1.7e-27: tmp = k * (y * ((i * y5) - (b * y4))) elif y5 <= 2.7e+35: tmp = t_3 elif y5 <= 1.02e+170: tmp = t_4 else: tmp = a * (y2 * ((t * y5) - (x * y1))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(Float64(x * j) - Float64(z * k))) t_2 = Float64(y1 * Float64(t_1 + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))))) t_3 = Float64(y1 * Float64(t_1 + Float64(a * Float64(Float64(z * y3) - Float64(x * y2))))) t_4 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (y5 <= -3.8e+94) tmp = Float64(y0 * Float64(y3 * Float64(Float64(j * y5) - Float64(z * c)))); elseif (y5 <= -2.8e-171) tmp = t_3; elseif (y5 <= -8e-206) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y5 <= 4.6e-250) tmp = t_2; elseif (y5 <= 1.36e-129) tmp = t_4; elseif (y5 <= 2.8e-85) tmp = t_2; elseif (y5 <= 1.7e-27) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y5 <= 2.7e+35) tmp = t_3; elseif (y5 <= 1.02e+170) tmp = t_4; else tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * ((x * j) - (z * k)); t_2 = y1 * (t_1 + (y4 * ((k * y2) - (j * y3)))); t_3 = y1 * (t_1 + (a * ((z * y3) - (x * y2)))); t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); tmp = 0.0; if (y5 <= -3.8e+94) tmp = y0 * (y3 * ((j * y5) - (z * c))); elseif (y5 <= -2.8e-171) tmp = t_3; elseif (y5 <= -8e-206) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y5 <= 4.6e-250) tmp = t_2; elseif (y5 <= 1.36e-129) tmp = t_4; elseif (y5 <= 2.8e-85) tmp = t_2; elseif (y5 <= 1.7e-27) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y5 <= 2.7e+35) tmp = t_3; elseif (y5 <= 1.02e+170) tmp = t_4; else tmp = a * (y2 * ((t * y5) - (x * y1))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(t$95$1 + N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y1 * N[(t$95$1 + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -3.8e+94], N[(y0 * N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -2.8e-171], t$95$3, If[LessEqual[y5, -8e-206], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 4.6e-250], t$95$2, If[LessEqual[y5, 1.36e-129], t$95$4, If[LessEqual[y5, 2.8e-85], t$95$2, If[LessEqual[y5, 1.7e-27], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.7e+35], t$95$3, If[LessEqual[y5, 1.02e+170], t$95$4, N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(x \cdot j - z \cdot k\right)\\
t_2 := y1 \cdot \left(t\_1 + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
t_3 := y1 \cdot \left(t\_1 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
t_4 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y5 \leq -3.8 \cdot 10^{+94}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{elif}\;y5 \leq -2.8 \cdot 10^{-171}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y5 \leq -8 \cdot 10^{-206}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y5 \leq 4.6 \cdot 10^{-250}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y5 \leq 1.36 \cdot 10^{-129}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y5 \leq 2.8 \cdot 10^{-85}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y5 \leq 1.7 \cdot 10^{-27}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 2.7 \cdot 10^{+35}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y5 \leq 1.02 \cdot 10^{+170}:\\
\;\;\;\;t\_4\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\end{array}
\end{array}
if y5 < -3.7999999999999996e94Initial program 21.6%
Taylor expanded in y0 around inf 48.7%
+-commutative48.7%
mul-1-neg48.7%
unsub-neg48.7%
*-commutative48.7%
*-commutative48.7%
*-commutative48.7%
*-commutative48.7%
Simplified48.7%
Taylor expanded in y3 around -inf 65.1%
associate-*r*65.1%
neg-mul-165.1%
Simplified65.1%
if -3.7999999999999996e94 < y5 < -2.80000000000000023e-171 or 1.69999999999999985e-27 < y5 < 2.70000000000000003e35Initial program 31.6%
Taylor expanded in y1 around -inf 51.8%
associate-*r*51.8%
neg-mul-151.8%
+-commutative51.8%
mul-1-neg51.8%
unsub-neg51.8%
*-commutative51.8%
*-commutative51.8%
*-commutative51.8%
*-commutative51.8%
Simplified51.8%
Taylor expanded in y4 around 0 54.8%
if -2.80000000000000023e-171 < y5 < -8.00000000000000023e-206Initial program 40.0%
Taylor expanded in b around inf 80.1%
if -8.00000000000000023e-206 < y5 < 4.5999999999999999e-250 or 1.36000000000000002e-129 < y5 < 2.80000000000000017e-85Initial program 34.9%
Taylor expanded in y1 around -inf 67.8%
associate-*r*67.8%
neg-mul-167.8%
+-commutative67.8%
mul-1-neg67.8%
unsub-neg67.8%
*-commutative67.8%
*-commutative67.8%
*-commutative67.8%
*-commutative67.8%
Simplified67.8%
Taylor expanded in a around 0 69.9%
if 4.5999999999999999e-250 < y5 < 1.36000000000000002e-129 or 2.70000000000000003e35 < y5 < 1.02000000000000002e170Initial program 35.9%
Taylor expanded in x around inf 61.1%
if 2.80000000000000017e-85 < y5 < 1.69999999999999985e-27Initial program 35.6%
Taylor expanded in k around inf 49.2%
+-commutative49.2%
mul-1-neg49.2%
unsub-neg49.2%
*-commutative49.2%
associate-*r*49.2%
neg-mul-149.2%
Simplified49.2%
Taylor expanded in y around inf 70.7%
if 1.02000000000000002e170 < y5 Initial program 30.4%
Taylor expanded in y2 around inf 43.9%
*-commutative43.9%
Simplified43.9%
Taylor expanded in a around inf 44.6%
distribute-lft-out--44.6%
*-commutative44.6%
*-commutative44.6%
Simplified44.6%
Final simplification61.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(* y1 (+ (* i (- (* x j) (* z k))) (* y4 (- (* k y2) (* j y3)))))))
(if (<= y5 -1150000000000.0)
(* y0 (* y3 (- (* j y5) (* z c))))
(if (<= y5 -1.36e-70)
(* (* y1 y3) (- (* z a) (* j y4)))
(if (<= y5 -2.6e-173)
(* t (* c (- (* z i) (* y2 y4))))
(if (<= y5 -5e-201)
(* b (* x (- (* y a) (* j y0))))
(if (<= y5 -1.2e-205)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y5 1.45e-160)
t_1
(if (<= y5 1.02e-126)
(* x (* y2 (- (* c y0) (* a y1))))
(if (<= y5 6.5e-82)
t_1
(if (<= y5 0.00115)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y5 5.1e+67)
t_1
(* a (* y2 (- (* t y5) (* x y1))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y1 * ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3))));
double tmp;
if (y5 <= -1150000000000.0) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y5 <= -1.36e-70) {
tmp = (y1 * y3) * ((z * a) - (j * y4));
} else if (y5 <= -2.6e-173) {
tmp = t * (c * ((z * i) - (y2 * y4)));
} else if (y5 <= -5e-201) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= -1.2e-205) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y5 <= 1.45e-160) {
tmp = t_1;
} else if (y5 <= 1.02e-126) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y5 <= 6.5e-82) {
tmp = t_1;
} else if (y5 <= 0.00115) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y5 <= 5.1e+67) {
tmp = t_1;
} else {
tmp = a * (y2 * ((t * y5) - (x * y1)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y1 * ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3))))
if (y5 <= (-1150000000000.0d0)) then
tmp = y0 * (y3 * ((j * y5) - (z * c)))
else if (y5 <= (-1.36d-70)) then
tmp = (y1 * y3) * ((z * a) - (j * y4))
else if (y5 <= (-2.6d-173)) then
tmp = t * (c * ((z * i) - (y2 * y4)))
else if (y5 <= (-5d-201)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y5 <= (-1.2d-205)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y5 <= 1.45d-160) then
tmp = t_1
else if (y5 <= 1.02d-126) then
tmp = x * (y2 * ((c * y0) - (a * y1)))
else if (y5 <= 6.5d-82) then
tmp = t_1
else if (y5 <= 0.00115d0) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y5 <= 5.1d+67) then
tmp = t_1
else
tmp = a * (y2 * ((t * y5) - (x * y1)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y1 * ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3))));
double tmp;
if (y5 <= -1150000000000.0) {
tmp = y0 * (y3 * ((j * y5) - (z * c)));
} else if (y5 <= -1.36e-70) {
tmp = (y1 * y3) * ((z * a) - (j * y4));
} else if (y5 <= -2.6e-173) {
tmp = t * (c * ((z * i) - (y2 * y4)));
} else if (y5 <= -5e-201) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= -1.2e-205) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y5 <= 1.45e-160) {
tmp = t_1;
} else if (y5 <= 1.02e-126) {
tmp = x * (y2 * ((c * y0) - (a * y1)));
} else if (y5 <= 6.5e-82) {
tmp = t_1;
} else if (y5 <= 0.00115) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y5 <= 5.1e+67) {
tmp = t_1;
} else {
tmp = a * (y2 * ((t * y5) - (x * y1)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y1 * ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3)))) tmp = 0 if y5 <= -1150000000000.0: tmp = y0 * (y3 * ((j * y5) - (z * c))) elif y5 <= -1.36e-70: tmp = (y1 * y3) * ((z * a) - (j * y4)) elif y5 <= -2.6e-173: tmp = t * (c * ((z * i) - (y2 * y4))) elif y5 <= -5e-201: tmp = b * (x * ((y * a) - (j * y0))) elif y5 <= -1.2e-205: tmp = b * (y4 * ((t * j) - (y * k))) elif y5 <= 1.45e-160: tmp = t_1 elif y5 <= 1.02e-126: tmp = x * (y2 * ((c * y0) - (a * y1))) elif y5 <= 6.5e-82: tmp = t_1 elif y5 <= 0.00115: tmp = k * (y * ((i * y5) - (b * y4))) elif y5 <= 5.1e+67: tmp = t_1 else: tmp = a * (y2 * ((t * y5) - (x * y1))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))))) tmp = 0.0 if (y5 <= -1150000000000.0) tmp = Float64(y0 * Float64(y3 * Float64(Float64(j * y5) - Float64(z * c)))); elseif (y5 <= -1.36e-70) tmp = Float64(Float64(y1 * y3) * Float64(Float64(z * a) - Float64(j * y4))); elseif (y5 <= -2.6e-173) tmp = Float64(t * Float64(c * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y5 <= -5e-201) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y5 <= -1.2e-205) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y5 <= 1.45e-160) tmp = t_1; elseif (y5 <= 1.02e-126) tmp = Float64(x * Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))); elseif (y5 <= 6.5e-82) tmp = t_1; elseif (y5 <= 0.00115) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y5 <= 5.1e+67) tmp = t_1; else tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y1 * ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3)))); tmp = 0.0; if (y5 <= -1150000000000.0) tmp = y0 * (y3 * ((j * y5) - (z * c))); elseif (y5 <= -1.36e-70) tmp = (y1 * y3) * ((z * a) - (j * y4)); elseif (y5 <= -2.6e-173) tmp = t * (c * ((z * i) - (y2 * y4))); elseif (y5 <= -5e-201) tmp = b * (x * ((y * a) - (j * y0))); elseif (y5 <= -1.2e-205) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y5 <= 1.45e-160) tmp = t_1; elseif (y5 <= 1.02e-126) tmp = x * (y2 * ((c * y0) - (a * y1))); elseif (y5 <= 6.5e-82) tmp = t_1; elseif (y5 <= 0.00115) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y5 <= 5.1e+67) tmp = t_1; else tmp = a * (y2 * ((t * y5) - (x * y1))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1150000000000.0], N[(y0 * N[(y3 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.36e-70], N[(N[(y1 * y3), $MachinePrecision] * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -2.6e-173], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5e-201], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.2e-205], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.45e-160], t$95$1, If[LessEqual[y5, 1.02e-126], N[(x * N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 6.5e-82], t$95$1, If[LessEqual[y5, 0.00115], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.1e+67], t$95$1, N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{if}\;y5 \leq -1150000000000:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{elif}\;y5 \leq -1.36 \cdot 10^{-70}:\\
\;\;\;\;\left(y1 \cdot y3\right) \cdot \left(z \cdot a - j \cdot y4\right)\\
\mathbf{elif}\;y5 \leq -2.6 \cdot 10^{-173}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq -5 \cdot 10^{-201}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq -1.2 \cdot 10^{-205}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y5 \leq 1.45 \cdot 10^{-160}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 1.02 \cdot 10^{-126}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\\
\mathbf{elif}\;y5 \leq 6.5 \cdot 10^{-82}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 0.00115:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y5 \leq 5.1 \cdot 10^{+67}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\end{array}
\end{array}
if y5 < -1.15e12Initial program 26.3%
Taylor expanded in y0 around inf 51.0%
+-commutative51.0%
mul-1-neg51.0%
unsub-neg51.0%
*-commutative51.0%
*-commutative51.0%
*-commutative51.0%
*-commutative51.0%
Simplified51.0%
Taylor expanded in y3 around -inf 51.5%
associate-*r*51.5%
neg-mul-151.5%
Simplified51.5%
if -1.15e12 < y5 < -1.36000000000000001e-70Initial program 30.0%
Taylor expanded in y1 around -inf 50.4%
associate-*r*50.4%
neg-mul-150.4%
+-commutative50.4%
mul-1-neg50.4%
unsub-neg50.4%
*-commutative50.4%
*-commutative50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in y3 around -inf 71.6%
associate-*r*71.6%
Simplified71.6%
if -1.36000000000000001e-70 < y5 < -2.60000000000000003e-173Initial program 20.4%
Taylor expanded in t around inf 30.7%
Taylor expanded in c around inf 60.7%
if -2.60000000000000003e-173 < y5 < -4.9999999999999999e-201Initial program 42.9%
Taylor expanded in b around inf 71.6%
Taylor expanded in x around inf 85.9%
if -4.9999999999999999e-201 < y5 < -1.2000000000000001e-205Initial program 33.3%
Taylor expanded in b around inf 100.0%
Taylor expanded in y4 around inf 100.0%
if -1.2000000000000001e-205 < y5 < 1.45e-160 or 1.02000000000000004e-126 < y5 < 6.4999999999999997e-82 or 0.00115 < y5 < 5.1000000000000002e67Initial program 37.1%
Taylor expanded in y1 around -inf 60.1%
associate-*r*60.1%
neg-mul-160.1%
+-commutative60.1%
mul-1-neg60.1%
unsub-neg60.1%
*-commutative60.1%
*-commutative60.1%
*-commutative60.1%
*-commutative60.1%
Simplified60.1%
Taylor expanded in a around 0 60.5%
if 1.45e-160 < y5 < 1.02000000000000004e-126Initial program 16.7%
Taylor expanded in y2 around inf 16.9%
*-commutative16.9%
Simplified16.9%
Taylor expanded in x around inf 68.4%
*-commutative68.4%
*-commutative68.4%
Simplified68.4%
if 6.4999999999999997e-82 < y5 < 0.00115Initial program 40.8%
Taylor expanded in k around inf 49.6%
+-commutative49.6%
mul-1-neg49.6%
unsub-neg49.6%
*-commutative49.6%
associate-*r*49.6%
neg-mul-149.6%
Simplified49.6%
Taylor expanded in y around inf 59.0%
if 5.1000000000000002e67 < y5 Initial program 31.1%
Taylor expanded in y2 around inf 45.9%
*-commutative45.9%
Simplified45.9%
Taylor expanded in a around inf 46.5%
distribute-lft-out--46.5%
*-commutative46.5%
*-commutative46.5%
Simplified46.5%
Final simplification57.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (* k (- (* z b) (* y2 y5)))))
(t_2 (- (* c y0) (* a y1)))
(t_3
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_2))
(* j (- (* i y1) (* b y0))))))
(t_4 (* y1 (+ (* i (- (* x j) (* z k))) (* y4 (- (* k y2) (* j y3))))))
(t_5 (- (* x y2) (* z y3))))
(if (<= y1 -1.15e+144)
t_4
(if (<= y1 -0.0051)
t_3
(if (<= y1 -1.4e-171)
(*
c
(+
(+ (* y0 t_5) (* i (- (* z t) (* x y))))
(* y4 (- (* y y3) (* t y2)))))
(if (<= y1 -6.7e-239)
t_1
(if (<= y1 1.4e-151)
t_3
(if (<= y1 2.5e-71)
(*
y0
(+
(+ (* c t_5) (* y5 (- (* j y3) (* k y2))))
(* b (- (* z k) (* x j)))))
(if (<= y1 5.3e-41)
t_1
(if (<= y1 1.95e+213)
(*
y2
(+
(+ (* x t_2) (* k (- (* y1 y4) (* y0 y5))))
(* t (- (* a y5) (* c y4)))))
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 = y0 * (k * ((z * b) - (y2 * y5)));
double t_2 = (c * y0) - (a * y1);
double t_3 = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))));
double t_4 = y1 * ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3))));
double t_5 = (x * y2) - (z * y3);
double tmp;
if (y1 <= -1.15e+144) {
tmp = t_4;
} else if (y1 <= -0.0051) {
tmp = t_3;
} else if (y1 <= -1.4e-171) {
tmp = c * (((y0 * t_5) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (y1 <= -6.7e-239) {
tmp = t_1;
} else if (y1 <= 1.4e-151) {
tmp = t_3;
} else if (y1 <= 2.5e-71) {
tmp = y0 * (((c * t_5) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
} else if (y1 <= 5.3e-41) {
tmp = t_1;
} else if (y1 <= 1.95e+213) {
tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} 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) :: tmp
t_1 = y0 * (k * ((z * b) - (y2 * y5)))
t_2 = (c * y0) - (a * y1)
t_3 = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))))
t_4 = y1 * ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3))))
t_5 = (x * y2) - (z * y3)
if (y1 <= (-1.15d+144)) then
tmp = t_4
else if (y1 <= (-0.0051d0)) then
tmp = t_3
else if (y1 <= (-1.4d-171)) then
tmp = c * (((y0 * t_5) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))))
else if (y1 <= (-6.7d-239)) then
tmp = t_1
else if (y1 <= 1.4d-151) then
tmp = t_3
else if (y1 <= 2.5d-71) then
tmp = y0 * (((c * t_5) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))))
else if (y1 <= 5.3d-41) then
tmp = t_1
else if (y1 <= 1.95d+213) then
tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))))
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 = y0 * (k * ((z * b) - (y2 * y5)));
double t_2 = (c * y0) - (a * y1);
double t_3 = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))));
double t_4 = y1 * ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3))));
double t_5 = (x * y2) - (z * y3);
double tmp;
if (y1 <= -1.15e+144) {
tmp = t_4;
} else if (y1 <= -0.0051) {
tmp = t_3;
} else if (y1 <= -1.4e-171) {
tmp = c * (((y0 * t_5) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (y1 <= -6.7e-239) {
tmp = t_1;
} else if (y1 <= 1.4e-151) {
tmp = t_3;
} else if (y1 <= 2.5e-71) {
tmp = y0 * (((c * t_5) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j))));
} else if (y1 <= 5.3e-41) {
tmp = t_1;
} else if (y1 <= 1.95e+213) {
tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} 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 = y0 * (k * ((z * b) - (y2 * y5))) t_2 = (c * y0) - (a * y1) t_3 = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0)))) t_4 = y1 * ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3)))) t_5 = (x * y2) - (z * y3) tmp = 0 if y1 <= -1.15e+144: tmp = t_4 elif y1 <= -0.0051: tmp = t_3 elif y1 <= -1.4e-171: tmp = c * (((y0 * t_5) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))) elif y1 <= -6.7e-239: tmp = t_1 elif y1 <= 1.4e-151: tmp = t_3 elif y1 <= 2.5e-71: tmp = y0 * (((c * t_5) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j)))) elif y1 <= 5.3e-41: tmp = t_1 elif y1 <= 1.95e+213: tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))) 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(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_2)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) t_4 = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))))) t_5 = Float64(Float64(x * y2) - Float64(z * y3)) tmp = 0.0 if (y1 <= -1.15e+144) tmp = t_4; elseif (y1 <= -0.0051) tmp = t_3; elseif (y1 <= -1.4e-171) tmp = Float64(c * Float64(Float64(Float64(y0 * t_5) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y1 <= -6.7e-239) tmp = t_1; elseif (y1 <= 1.4e-151) tmp = t_3; elseif (y1 <= 2.5e-71) tmp = Float64(y0 * Float64(Float64(Float64(c * t_5) + Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (y1 <= 5.3e-41) tmp = t_1; elseif (y1 <= 1.95e+213) tmp = Float64(y2 * Float64(Float64(Float64(x * t_2) + Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); 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 = y0 * (k * ((z * b) - (y2 * y5))); t_2 = (c * y0) - (a * y1); t_3 = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0)))); t_4 = y1 * ((i * ((x * j) - (z * k))) + (y4 * ((k * y2) - (j * y3)))); t_5 = (x * y2) - (z * y3); tmp = 0.0; if (y1 <= -1.15e+144) tmp = t_4; elseif (y1 <= -0.0051) tmp = t_3; elseif (y1 <= -1.4e-171) tmp = c * (((y0 * t_5) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))); elseif (y1 <= -6.7e-239) tmp = t_1; elseif (y1 <= 1.4e-151) tmp = t_3; elseif (y1 <= 2.5e-71) tmp = y0 * (((c * t_5) + (y5 * ((j * y3) - (k * y2)))) + (b * ((z * k) - (x * j)))); elseif (y1 <= 5.3e-41) tmp = t_1; elseif (y1 <= 1.95e+213) tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))); 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[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -1.15e+144], t$95$4, If[LessEqual[y1, -0.0051], t$95$3, If[LessEqual[y1, -1.4e-171], N[(c * N[(N[(N[(y0 * t$95$5), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -6.7e-239], t$95$1, If[LessEqual[y1, 1.4e-151], t$95$3, If[LessEqual[y1, 2.5e-71], N[(y0 * N[(N[(N[(c * t$95$5), $MachinePrecision] + N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.3e-41], t$95$1, If[LessEqual[y1, 1.95e+213], N[(y2 * N[(N[(N[(x * t$95$2), $MachinePrecision] + N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$4]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_2\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_4 := y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
t_5 := x \cdot y2 - z \cdot y3\\
\mathbf{if}\;y1 \leq -1.15 \cdot 10^{+144}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y1 \leq -0.0051:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y1 \leq -1.4 \cdot 10^{-171}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot t\_5 + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -6.7 \cdot 10^{-239}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq 1.4 \cdot 10^{-151}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y1 \leq 2.5 \cdot 10^{-71}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot t\_5 + y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 5.3 \cdot 10^{-41}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq 1.95 \cdot 10^{+213}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot t\_2 + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_4\\
\end{array}
\end{array}
if y1 < -1.1500000000000001e144 or 1.9500000000000001e213 < y1 Initial program 30.4%
Taylor expanded in y1 around -inf 68.4%
associate-*r*68.4%
neg-mul-168.4%
+-commutative68.4%
mul-1-neg68.4%
unsub-neg68.4%
*-commutative68.4%
*-commutative68.4%
*-commutative68.4%
*-commutative68.4%
Simplified68.4%
Taylor expanded in a around 0 63.4%
if -1.1500000000000001e144 < y1 < -0.0051000000000000004 or -6.70000000000000038e-239 < y1 < 1.4e-151Initial program 30.7%
Taylor expanded in x around inf 59.0%
if -0.0051000000000000004 < y1 < -1.40000000000000011e-171Initial program 33.3%
Taylor expanded in c around inf 53.3%
+-commutative53.3%
mul-1-neg53.3%
unsub-neg53.3%
*-commutative53.3%
*-commutative53.3%
*-commutative53.3%
*-commutative53.3%
Simplified53.3%
if -1.40000000000000011e-171 < y1 < -6.70000000000000038e-239 or 2.49999999999999999e-71 < y1 < 5.29999999999999999e-41Initial program 33.3%
Taylor expanded in y0 around inf 33.6%
+-commutative33.6%
mul-1-neg33.6%
unsub-neg33.6%
*-commutative33.6%
*-commutative33.6%
*-commutative33.6%
*-commutative33.6%
Simplified33.6%
Taylor expanded in k around -inf 60.3%
+-commutative60.3%
mul-1-neg60.3%
sub-neg60.3%
Simplified60.3%
if 1.4e-151 < y1 < 2.49999999999999999e-71Initial program 33.3%
Taylor expanded in y0 around inf 67.1%
+-commutative67.1%
mul-1-neg67.1%
unsub-neg67.1%
*-commutative67.1%
*-commutative67.1%
*-commutative67.1%
*-commutative67.1%
Simplified67.1%
if 5.29999999999999999e-41 < y1 < 1.9500000000000001e213Initial program 33.6%
Taylor expanded in y2 around inf 51.4%
Final simplification57.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y1) (* c y0)))
(t_2 (- (* a y5) (* c y4)))
(t_3 (- (* y1 y4) (* y0 y5)))
(t_4 (- (* b y0) (* i y1)))
(t_5 (- (* c i) (* a b)))
(t_6
(+
(* (- (* k y2) (* j y3)) t_3)
(* y2 (+ (* x (- (* c y0) (* a y1))) (* t t_2)))))
(t_7 (- (* y0 y5) (* y1 y4)))
(t_8 (- (* i y5) (* b y4)))
(t_9 (- (* b y4) (* i y5)))
(t_10 (- (* c y4) (* a y5))))
(if (<= c -5.4e+58)
(*
c
(+
(+ (* y0 (- (* x y2) (* z y3))) (* i (- (* z t) (* x y))))
(* y4 (- (* y y3) (* t y2)))))
(if (<= c -3.2e-132)
t_6
(if (<= c 1.15e-305)
(* j (+ (+ (* t t_9) (* y3 t_7)) (* x (- (* i y1) (* b y0)))))
(if (<= c 4.1e-210)
(* y3 (+ (* y t_10) (+ (* z t_1) (* j t_7))))
(if (<= c 5e-172)
(* t (+ (+ (* z t_5) (* j t_9)) (* y2 t_2)))
(if (<= c 1.9e-115)
t_6
(if (<= c 1.56e+147)
(* z (+ (* k t_4) (+ (* t t_5) (* y3 t_1))))
(if (<= c 3.4e+189)
(*
y
(+ (+ (* k t_8) (* x (- (* a b) (* c i)))) (* y3 t_10)))
(* k (+ (+ (* y2 t_3) (* y t_8)) (* z 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 = (a * y1) - (c * y0);
double t_2 = (a * y5) - (c * y4);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = (b * y0) - (i * y1);
double t_5 = (c * i) - (a * b);
double t_6 = (((k * y2) - (j * y3)) * t_3) + (y2 * ((x * ((c * y0) - (a * y1))) + (t * t_2)));
double t_7 = (y0 * y5) - (y1 * y4);
double t_8 = (i * y5) - (b * y4);
double t_9 = (b * y4) - (i * y5);
double t_10 = (c * y4) - (a * y5);
double tmp;
if (c <= -5.4e+58) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (c <= -3.2e-132) {
tmp = t_6;
} else if (c <= 1.15e-305) {
tmp = j * (((t * t_9) + (y3 * t_7)) + (x * ((i * y1) - (b * y0))));
} else if (c <= 4.1e-210) {
tmp = y3 * ((y * t_10) + ((z * t_1) + (j * t_7)));
} else if (c <= 5e-172) {
tmp = t * (((z * t_5) + (j * t_9)) + (y2 * t_2));
} else if (c <= 1.9e-115) {
tmp = t_6;
} else if (c <= 1.56e+147) {
tmp = z * ((k * t_4) + ((t * t_5) + (y3 * t_1)));
} else if (c <= 3.4e+189) {
tmp = y * (((k * t_8) + (x * ((a * b) - (c * i)))) + (y3 * t_10));
} else {
tmp = k * (((y2 * t_3) + (y * t_8)) + (z * 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_10
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (a * y1) - (c * y0)
t_2 = (a * y5) - (c * y4)
t_3 = (y1 * y4) - (y0 * y5)
t_4 = (b * y0) - (i * y1)
t_5 = (c * i) - (a * b)
t_6 = (((k * y2) - (j * y3)) * t_3) + (y2 * ((x * ((c * y0) - (a * y1))) + (t * t_2)))
t_7 = (y0 * y5) - (y1 * y4)
t_8 = (i * y5) - (b * y4)
t_9 = (b * y4) - (i * y5)
t_10 = (c * y4) - (a * y5)
if (c <= (-5.4d+58)) then
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))))
else if (c <= (-3.2d-132)) then
tmp = t_6
else if (c <= 1.15d-305) then
tmp = j * (((t * t_9) + (y3 * t_7)) + (x * ((i * y1) - (b * y0))))
else if (c <= 4.1d-210) then
tmp = y3 * ((y * t_10) + ((z * t_1) + (j * t_7)))
else if (c <= 5d-172) then
tmp = t * (((z * t_5) + (j * t_9)) + (y2 * t_2))
else if (c <= 1.9d-115) then
tmp = t_6
else if (c <= 1.56d+147) then
tmp = z * ((k * t_4) + ((t * t_5) + (y3 * t_1)))
else if (c <= 3.4d+189) then
tmp = y * (((k * t_8) + (x * ((a * b) - (c * i)))) + (y3 * t_10))
else
tmp = k * (((y2 * t_3) + (y * t_8)) + (z * 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 = (a * y1) - (c * y0);
double t_2 = (a * y5) - (c * y4);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = (b * y0) - (i * y1);
double t_5 = (c * i) - (a * b);
double t_6 = (((k * y2) - (j * y3)) * t_3) + (y2 * ((x * ((c * y0) - (a * y1))) + (t * t_2)));
double t_7 = (y0 * y5) - (y1 * y4);
double t_8 = (i * y5) - (b * y4);
double t_9 = (b * y4) - (i * y5);
double t_10 = (c * y4) - (a * y5);
double tmp;
if (c <= -5.4e+58) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (c <= -3.2e-132) {
tmp = t_6;
} else if (c <= 1.15e-305) {
tmp = j * (((t * t_9) + (y3 * t_7)) + (x * ((i * y1) - (b * y0))));
} else if (c <= 4.1e-210) {
tmp = y3 * ((y * t_10) + ((z * t_1) + (j * t_7)));
} else if (c <= 5e-172) {
tmp = t * (((z * t_5) + (j * t_9)) + (y2 * t_2));
} else if (c <= 1.9e-115) {
tmp = t_6;
} else if (c <= 1.56e+147) {
tmp = z * ((k * t_4) + ((t * t_5) + (y3 * t_1)));
} else if (c <= 3.4e+189) {
tmp = y * (((k * t_8) + (x * ((a * b) - (c * i)))) + (y3 * t_10));
} else {
tmp = k * (((y2 * t_3) + (y * t_8)) + (z * t_4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * y1) - (c * y0) t_2 = (a * y5) - (c * y4) t_3 = (y1 * y4) - (y0 * y5) t_4 = (b * y0) - (i * y1) t_5 = (c * i) - (a * b) t_6 = (((k * y2) - (j * y3)) * t_3) + (y2 * ((x * ((c * y0) - (a * y1))) + (t * t_2))) t_7 = (y0 * y5) - (y1 * y4) t_8 = (i * y5) - (b * y4) t_9 = (b * y4) - (i * y5) t_10 = (c * y4) - (a * y5) tmp = 0 if c <= -5.4e+58: tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))) elif c <= -3.2e-132: tmp = t_6 elif c <= 1.15e-305: tmp = j * (((t * t_9) + (y3 * t_7)) + (x * ((i * y1) - (b * y0)))) elif c <= 4.1e-210: tmp = y3 * ((y * t_10) + ((z * t_1) + (j * t_7))) elif c <= 5e-172: tmp = t * (((z * t_5) + (j * t_9)) + (y2 * t_2)) elif c <= 1.9e-115: tmp = t_6 elif c <= 1.56e+147: tmp = z * ((k * t_4) + ((t * t_5) + (y3 * t_1))) elif c <= 3.4e+189: tmp = y * (((k * t_8) + (x * ((a * b) - (c * i)))) + (y3 * t_10)) else: tmp = k * (((y2 * t_3) + (y * t_8)) + (z * 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(a * y1) - Float64(c * y0)) t_2 = Float64(Float64(a * y5) - Float64(c * y4)) t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_4 = Float64(Float64(b * y0) - Float64(i * y1)) t_5 = Float64(Float64(c * i) - Float64(a * b)) t_6 = Float64(Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_3) + Float64(y2 * Float64(Float64(x * Float64(Float64(c * y0) - Float64(a * y1))) + Float64(t * t_2)))) t_7 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) t_8 = Float64(Float64(i * y5) - Float64(b * y4)) t_9 = Float64(Float64(b * y4) - Float64(i * y5)) t_10 = Float64(Float64(c * y4) - Float64(a * y5)) tmp = 0.0 if (c <= -5.4e+58) tmp = Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (c <= -3.2e-132) tmp = t_6; elseif (c <= 1.15e-305) tmp = Float64(j * Float64(Float64(Float64(t * t_9) + Float64(y3 * t_7)) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (c <= 4.1e-210) tmp = Float64(y3 * Float64(Float64(y * t_10) + Float64(Float64(z * t_1) + Float64(j * t_7)))); elseif (c <= 5e-172) tmp = Float64(t * Float64(Float64(Float64(z * t_5) + Float64(j * t_9)) + Float64(y2 * t_2))); elseif (c <= 1.9e-115) tmp = t_6; elseif (c <= 1.56e+147) tmp = Float64(z * Float64(Float64(k * t_4) + Float64(Float64(t * t_5) + Float64(y3 * t_1)))); elseif (c <= 3.4e+189) tmp = Float64(y * Float64(Float64(Float64(k * t_8) + Float64(x * Float64(Float64(a * b) - Float64(c * i)))) + Float64(y3 * t_10))); else tmp = Float64(k * Float64(Float64(Float64(y2 * t_3) + Float64(y * t_8)) + Float64(z * 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 = (a * y1) - (c * y0); t_2 = (a * y5) - (c * y4); t_3 = (y1 * y4) - (y0 * y5); t_4 = (b * y0) - (i * y1); t_5 = (c * i) - (a * b); t_6 = (((k * y2) - (j * y3)) * t_3) + (y2 * ((x * ((c * y0) - (a * y1))) + (t * t_2))); t_7 = (y0 * y5) - (y1 * y4); t_8 = (i * y5) - (b * y4); t_9 = (b * y4) - (i * y5); t_10 = (c * y4) - (a * y5); tmp = 0.0; if (c <= -5.4e+58) tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))); elseif (c <= -3.2e-132) tmp = t_6; elseif (c <= 1.15e-305) tmp = j * (((t * t_9) + (y3 * t_7)) + (x * ((i * y1) - (b * y0)))); elseif (c <= 4.1e-210) tmp = y3 * ((y * t_10) + ((z * t_1) + (j * t_7))); elseif (c <= 5e-172) tmp = t * (((z * t_5) + (j * t_9)) + (y2 * t_2)); elseif (c <= 1.9e-115) tmp = t_6; elseif (c <= 1.56e+147) tmp = z * ((k * t_4) + ((t * t_5) + (y3 * t_1))); elseif (c <= 3.4e+189) tmp = y * (((k * t_8) + (x * ((a * b) - (c * i)))) + (y3 * t_10)); else tmp = k * (((y2 * t_3) + (y * t_8)) + (z * 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[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$3), $MachinePrecision] + N[(y2 * N[(N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -5.4e+58], N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -3.2e-132], t$95$6, If[LessEqual[c, 1.15e-305], N[(j * N[(N[(N[(t * t$95$9), $MachinePrecision] + N[(y3 * t$95$7), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.1e-210], N[(y3 * N[(N[(y * t$95$10), $MachinePrecision] + N[(N[(z * t$95$1), $MachinePrecision] + N[(j * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5e-172], N[(t * N[(N[(N[(z * t$95$5), $MachinePrecision] + N[(j * t$95$9), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.9e-115], t$95$6, If[LessEqual[c, 1.56e+147], N[(z * N[(N[(k * t$95$4), $MachinePrecision] + N[(N[(t * t$95$5), $MachinePrecision] + N[(y3 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.4e+189], N[(y * N[(N[(N[(k * t$95$8), $MachinePrecision] + N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(N[(N[(y2 * t$95$3), $MachinePrecision] + N[(y * t$95$8), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot y1 - c \cdot y0\\
t_2 := a \cdot y5 - c \cdot y4\\
t_3 := y1 \cdot y4 - y0 \cdot y5\\
t_4 := b \cdot y0 - i \cdot y1\\
t_5 := c \cdot i - a \cdot b\\
t_6 := \left(k \cdot y2 - j \cdot y3\right) \cdot t\_3 + y2 \cdot \left(x \cdot \left(c \cdot y0 - a \cdot y1\right) + t \cdot t\_2\right)\\
t_7 := y0 \cdot y5 - y1 \cdot y4\\
t_8 := i \cdot y5 - b \cdot y4\\
t_9 := b \cdot y4 - i \cdot y5\\
t_10 := c \cdot y4 - a \cdot y5\\
\mathbf{if}\;c \leq -5.4 \cdot 10^{+58}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq -3.2 \cdot 10^{-132}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;c \leq 1.15 \cdot 10^{-305}:\\
\;\;\;\;j \cdot \left(\left(t \cdot t\_9 + y3 \cdot t\_7\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 4.1 \cdot 10^{-210}:\\
\;\;\;\;y3 \cdot \left(y \cdot t\_10 + \left(z \cdot t\_1 + j \cdot t\_7\right)\right)\\
\mathbf{elif}\;c \leq 5 \cdot 10^{-172}:\\
\;\;\;\;t \cdot \left(\left(z \cdot t\_5 + j \cdot t\_9\right) + y2 \cdot t\_2\right)\\
\mathbf{elif}\;c \leq 1.9 \cdot 10^{-115}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;c \leq 1.56 \cdot 10^{+147}:\\
\;\;\;\;z \cdot \left(k \cdot t\_4 + \left(t \cdot t\_5 + y3 \cdot t\_1\right)\right)\\
\mathbf{elif}\;c \leq 3.4 \cdot 10^{+189}:\\
\;\;\;\;y \cdot \left(\left(k \cdot t\_8 + x \cdot \left(a \cdot b - c \cdot i\right)\right) + y3 \cdot t\_10\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(\left(y2 \cdot t\_3 + y \cdot t\_8\right) + z \cdot t\_4\right)\\
\end{array}
\end{array}
if c < -5.4000000000000002e58Initial program 29.6%
Taylor expanded in c around inf 63.3%
+-commutative63.3%
mul-1-neg63.3%
unsub-neg63.3%
*-commutative63.3%
*-commutative63.3%
*-commutative63.3%
*-commutative63.3%
Simplified63.3%
if -5.4000000000000002e58 < c < -3.2000000000000002e-132 or 4.9999999999999999e-172 < c < 1.89999999999999996e-115Initial program 46.7%
Taylor expanded in y2 around inf 65.8%
*-commutative65.8%
Simplified65.8%
if -3.2000000000000002e-132 < c < 1.15e-305Initial program 32.5%
Taylor expanded in j around inf 59.3%
+-commutative59.3%
mul-1-neg59.3%
unsub-neg59.3%
*-commutative59.3%
Simplified59.3%
if 1.15e-305 < c < 4.09999999999999991e-210Initial program 27.3%
Taylor expanded in y3 around -inf 54.3%
if 4.09999999999999991e-210 < c < 4.9999999999999999e-172Initial program 50.0%
Taylor expanded in t around inf 99.7%
if 1.89999999999999996e-115 < c < 1.56e147Initial program 13.4%
Taylor expanded in z around -inf 53.1%
if 1.56e147 < c < 3.39999999999999983e189Initial program 45.3%
Taylor expanded in y around inf 81.7%
if 3.39999999999999983e189 < c Initial program 24.0%
Taylor expanded in k around inf 60.6%
+-commutative60.6%
mul-1-neg60.6%
unsub-neg60.6%
*-commutative60.6%
associate-*r*60.6%
neg-mul-160.6%
Simplified60.6%
Final simplification62.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -3.05e+131)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y2 -780000000000.0)
t_1
(if (<= y2 -1.2e-192)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y2 -2.8e-234)
(* b (* z (- (* k y0) (* t a))))
(if (<= y2 4.8e-219)
(* y0 (* b (- (* z k) (* x j))))
(if (<= y2 6.5e-199)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 2.55e-59)
t_1
(if (<= y2 1.35e+119)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y2 3e+154)
(* t (* a (- (* y2 y5) (* z b))))
(if (<= y2 1.5e+232)
(* y0 (* y2 (- (* x c) (* k y5))))
(* t (* c (- (* 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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.05e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -780000000000.0) {
tmp = t_1;
} else if (y2 <= -1.2e-192) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y2 <= -2.8e-234) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y2 <= 4.8e-219) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (y2 <= 6.5e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 2.55e-59) {
tmp = t_1;
} else if (y2 <= 1.35e+119) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 3e+154) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 1.5e+232) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-3.05d+131)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y2 <= (-780000000000.0d0)) then
tmp = t_1
else if (y2 <= (-1.2d-192)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y2 <= (-2.8d-234)) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (y2 <= 4.8d-219) then
tmp = y0 * (b * ((z * k) - (x * j)))
else if (y2 <= 6.5d-199) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 2.55d-59) then
tmp = t_1
else if (y2 <= 1.35d+119) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y2 <= 3d+154) then
tmp = t * (a * ((y2 * y5) - (z * b)))
else if (y2 <= 1.5d+232) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.05e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -780000000000.0) {
tmp = t_1;
} else if (y2 <= -1.2e-192) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y2 <= -2.8e-234) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y2 <= 4.8e-219) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (y2 <= 6.5e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 2.55e-59) {
tmp = t_1;
} else if (y2 <= 1.35e+119) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 3e+154) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 1.5e+232) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -3.05e+131: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y2 <= -780000000000.0: tmp = t_1 elif y2 <= -1.2e-192: tmp = k * (y * ((i * y5) - (b * y4))) elif y2 <= -2.8e-234: tmp = b * (z * ((k * y0) - (t * a))) elif y2 <= 4.8e-219: tmp = y0 * (b * ((z * k) - (x * j))) elif y2 <= 6.5e-199: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 2.55e-59: tmp = t_1 elif y2 <= 1.35e+119: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y2 <= 3e+154: tmp = t * (a * ((y2 * y5) - (z * b))) elif y2 <= 1.5e+232: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = t * (c * ((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(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -3.05e+131) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y2 <= -780000000000.0) tmp = t_1; elseif (y2 <= -1.2e-192) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y2 <= -2.8e-234) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (y2 <= 4.8e-219) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); elseif (y2 <= 6.5e-199) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 2.55e-59) tmp = t_1; elseif (y2 <= 1.35e+119) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y2 <= 3e+154) tmp = Float64(t * Float64(a * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= 1.5e+232) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = Float64(t * Float64(c * 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 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -3.05e+131) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y2 <= -780000000000.0) tmp = t_1; elseif (y2 <= -1.2e-192) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y2 <= -2.8e-234) tmp = b * (z * ((k * y0) - (t * a))); elseif (y2 <= 4.8e-219) tmp = y0 * (b * ((z * k) - (x * j))); elseif (y2 <= 6.5e-199) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 2.55e-59) tmp = t_1; elseif (y2 <= 1.35e+119) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y2 <= 3e+154) tmp = t * (a * ((y2 * y5) - (z * b))); elseif (y2 <= 1.5e+232) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = t * (c * ((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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.05e+131], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -780000000000.0], t$95$1, If[LessEqual[y2, -1.2e-192], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.8e-234], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.8e-219], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.5e-199], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.55e-59], t$95$1, If[LessEqual[y2, 1.35e+119], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3e+154], N[(t * N[(a * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.5e+232], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -3.05 \cdot 10^{+131}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -780000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -1.2 \cdot 10^{-192}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -2.8 \cdot 10^{-234}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;y2 \leq 4.8 \cdot 10^{-219}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 6.5 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 2.55 \cdot 10^{-59}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 1.35 \cdot 10^{+119}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq 3 \cdot 10^{+154}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 1.5 \cdot 10^{+232}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -3.0499999999999999e131Initial program 29.7%
Taylor expanded in k around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
associate-*r*39.6%
neg-mul-139.6%
Simplified39.6%
Taylor expanded in y2 around inf 53.3%
if -3.0499999999999999e131 < y2 < -7.8e11 or 6.50000000000000017e-199 < y2 < 2.5499999999999998e-59Initial program 37.0%
Taylor expanded in y1 around -inf 48.8%
associate-*r*48.8%
neg-mul-148.8%
+-commutative48.8%
mul-1-neg48.8%
unsub-neg48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in i around -inf 48.9%
if -7.8e11 < y2 < -1.2e-192Initial program 25.6%
Taylor expanded in k around inf 53.7%
+-commutative53.7%
mul-1-neg53.7%
unsub-neg53.7%
*-commutative53.7%
associate-*r*53.7%
neg-mul-153.7%
Simplified53.7%
Taylor expanded in y around inf 49.2%
if -1.2e-192 < y2 < -2.7999999999999999e-234Initial program 47.0%
Taylor expanded in b around inf 39.5%
Taylor expanded in z around -inf 47.7%
associate-*r*47.7%
neg-mul-147.7%
Simplified47.7%
if -2.7999999999999999e-234 < y2 < 4.80000000000000028e-219Initial program 45.8%
Taylor expanded in y0 around inf 51.2%
+-commutative51.2%
mul-1-neg51.2%
unsub-neg51.2%
*-commutative51.2%
*-commutative51.2%
*-commutative51.2%
*-commutative51.2%
Simplified51.2%
Taylor expanded in b around inf 51.3%
if 4.80000000000000028e-219 < y2 < 6.50000000000000017e-199Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 2.5499999999999998e-59 < y2 < 1.3499999999999999e119Initial program 27.2%
Taylor expanded in y0 around inf 37.5%
+-commutative37.5%
mul-1-neg37.5%
unsub-neg37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in y5 around inf 44.9%
if 1.3499999999999999e119 < y2 < 3.00000000000000026e154Initial program 50.0%
Taylor expanded in t around inf 51.3%
Taylor expanded in a around -inf 67.2%
mul-1-neg67.2%
Simplified67.2%
if 3.00000000000000026e154 < y2 < 1.50000000000000002e232Initial program 30.0%
Taylor expanded in y0 around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in y2 around inf 70.7%
if 1.50000000000000002e232 < y2 Initial program 13.0%
Taylor expanded in t around inf 34.9%
Taylor expanded in c around inf 65.5%
Final simplification53.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -3.3e+131)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y2 -60000000000.0)
t_1
(if (<= y2 -1.7e-193)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= y2 -2.8e-258)
(* y3 (* z (- (* a y1) (* c y0))))
(if (<= y2 1.06e-219)
(* y0 (* b (- (* z k) (* x j))))
(if (<= y2 4.1e-199)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 1.4e-59)
t_1
(if (<= y2 6e+118)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y2 7.2e+157)
(* t (* a (- (* y2 y5) (* z b))))
(if (<= y2 1e+236)
(* y0 (* y2 (- (* x c) (* k y5))))
(* t (* c (- (* 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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.3e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -60000000000.0) {
tmp = t_1;
} else if (y2 <= -1.7e-193) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (y2 <= -2.8e-258) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y2 <= 1.06e-219) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (y2 <= 4.1e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.4e-59) {
tmp = t_1;
} else if (y2 <= 6e+118) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 7.2e+157) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 1e+236) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-3.3d+131)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y2 <= (-60000000000.0d0)) then
tmp = t_1
else if (y2 <= (-1.7d-193)) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (y2 <= (-2.8d-258)) then
tmp = y3 * (z * ((a * y1) - (c * y0)))
else if (y2 <= 1.06d-219) then
tmp = y0 * (b * ((z * k) - (x * j)))
else if (y2 <= 4.1d-199) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 1.4d-59) then
tmp = t_1
else if (y2 <= 6d+118) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y2 <= 7.2d+157) then
tmp = t * (a * ((y2 * y5) - (z * b)))
else if (y2 <= 1d+236) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.3e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -60000000000.0) {
tmp = t_1;
} else if (y2 <= -1.7e-193) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (y2 <= -2.8e-258) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y2 <= 1.06e-219) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (y2 <= 4.1e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.4e-59) {
tmp = t_1;
} else if (y2 <= 6e+118) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 7.2e+157) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 1e+236) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -3.3e+131: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y2 <= -60000000000.0: tmp = t_1 elif y2 <= -1.7e-193: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif y2 <= -2.8e-258: tmp = y3 * (z * ((a * y1) - (c * y0))) elif y2 <= 1.06e-219: tmp = y0 * (b * ((z * k) - (x * j))) elif y2 <= 4.1e-199: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 1.4e-59: tmp = t_1 elif y2 <= 6e+118: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y2 <= 7.2e+157: tmp = t * (a * ((y2 * y5) - (z * b))) elif y2 <= 1e+236: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = t * (c * ((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(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -3.3e+131) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y2 <= -60000000000.0) tmp = t_1; elseif (y2 <= -1.7e-193) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (y2 <= -2.8e-258) tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (y2 <= 1.06e-219) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); elseif (y2 <= 4.1e-199) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 1.4e-59) tmp = t_1; elseif (y2 <= 6e+118) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y2 <= 7.2e+157) tmp = Float64(t * Float64(a * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= 1e+236) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = Float64(t * Float64(c * 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 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -3.3e+131) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y2 <= -60000000000.0) tmp = t_1; elseif (y2 <= -1.7e-193) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (y2 <= -2.8e-258) tmp = y3 * (z * ((a * y1) - (c * y0))); elseif (y2 <= 1.06e-219) tmp = y0 * (b * ((z * k) - (x * j))); elseif (y2 <= 4.1e-199) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 1.4e-59) tmp = t_1; elseif (y2 <= 6e+118) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y2 <= 7.2e+157) tmp = t * (a * ((y2 * y5) - (z * b))); elseif (y2 <= 1e+236) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = t * (c * ((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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.3e+131], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -60000000000.0], t$95$1, If[LessEqual[y2, -1.7e-193], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.8e-258], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.06e-219], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.1e-199], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.4e-59], t$95$1, If[LessEqual[y2, 6e+118], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.2e+157], N[(t * N[(a * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1e+236], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -3.3 \cdot 10^{+131}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -60000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -1.7 \cdot 10^{-193}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -2.8 \cdot 10^{-258}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.06 \cdot 10^{-219}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 4.1 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.4 \cdot 10^{-59}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 6 \cdot 10^{+118}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq 7.2 \cdot 10^{+157}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 10^{+236}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -3.2999999999999998e131Initial program 29.7%
Taylor expanded in k around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
associate-*r*39.6%
neg-mul-139.6%
Simplified39.6%
Taylor expanded in y2 around inf 53.3%
if -3.2999999999999998e131 < y2 < -6e10 or 4.10000000000000022e-199 < y2 < 1.3999999999999999e-59Initial program 37.0%
Taylor expanded in y1 around -inf 48.8%
associate-*r*48.8%
neg-mul-148.8%
+-commutative48.8%
mul-1-neg48.8%
unsub-neg48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in i around -inf 48.9%
if -6e10 < y2 < -1.7000000000000001e-193Initial program 27.5%
Taylor expanded in y3 around -inf 55.4%
Taylor expanded in j around inf 56.0%
if -1.7000000000000001e-193 < y2 < -2.8000000000000002e-258Initial program 47.3%
Taylor expanded in y3 around -inf 47.9%
Taylor expanded in z around inf 54.0%
if -2.8000000000000002e-258 < y2 < 1.06e-219Initial program 42.9%
Taylor expanded in y0 around inf 53.3%
+-commutative53.3%
mul-1-neg53.3%
unsub-neg53.3%
*-commutative53.3%
*-commutative53.3%
*-commutative53.3%
*-commutative53.3%
Simplified53.3%
Taylor expanded in b around inf 53.5%
if 1.06e-219 < y2 < 4.10000000000000022e-199Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 1.3999999999999999e-59 < y2 < 6e118Initial program 27.2%
Taylor expanded in y0 around inf 37.5%
+-commutative37.5%
mul-1-neg37.5%
unsub-neg37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in y5 around inf 44.9%
if 6e118 < y2 < 7.20000000000000049e157Initial program 50.0%
Taylor expanded in t around inf 51.3%
Taylor expanded in a around -inf 67.2%
mul-1-neg67.2%
Simplified67.2%
if 7.20000000000000049e157 < y2 < 1.00000000000000005e236Initial program 30.0%
Taylor expanded in y0 around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in y2 around inf 70.7%
if 1.00000000000000005e236 < y2 Initial program 13.0%
Taylor expanded in t around inf 34.9%
Taylor expanded in c around inf 65.5%
Final simplification54.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -1.7e+141)
(* a (* y2 (- (* t y5) (* x y1))))
(if (<= y2 -26000000000.0)
t_1
(if (<= y2 -1.95e-193)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= y2 -8.6e-268)
(* y3 (* z (- (* a y1) (* c y0))))
(if (<= y2 1.3e-219)
(* y0 (* b (- (* z k) (* x j))))
(if (<= y2 2.6e-198)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 1.2e-60)
t_1
(if (<= y2 1.02e+119)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y2 6.4e+153)
(* t (* a (- (* y2 y5) (* z b))))
(if (<= y2 7e+231)
(* y0 (* y2 (- (* x c) (* k y5))))
(* t (* c (- (* 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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -1.7e+141) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (y2 <= -26000000000.0) {
tmp = t_1;
} else if (y2 <= -1.95e-193) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (y2 <= -8.6e-268) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y2 <= 1.3e-219) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (y2 <= 2.6e-198) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.2e-60) {
tmp = t_1;
} else if (y2 <= 1.02e+119) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 6.4e+153) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 7e+231) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-1.7d+141)) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else if (y2 <= (-26000000000.0d0)) then
tmp = t_1
else if (y2 <= (-1.95d-193)) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (y2 <= (-8.6d-268)) then
tmp = y3 * (z * ((a * y1) - (c * y0)))
else if (y2 <= 1.3d-219) then
tmp = y0 * (b * ((z * k) - (x * j)))
else if (y2 <= 2.6d-198) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 1.2d-60) then
tmp = t_1
else if (y2 <= 1.02d+119) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y2 <= 6.4d+153) then
tmp = t * (a * ((y2 * y5) - (z * b)))
else if (y2 <= 7d+231) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -1.7e+141) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (y2 <= -26000000000.0) {
tmp = t_1;
} else if (y2 <= -1.95e-193) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (y2 <= -8.6e-268) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y2 <= 1.3e-219) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (y2 <= 2.6e-198) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.2e-60) {
tmp = t_1;
} else if (y2 <= 1.02e+119) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 6.4e+153) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 7e+231) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -1.7e+141: tmp = a * (y2 * ((t * y5) - (x * y1))) elif y2 <= -26000000000.0: tmp = t_1 elif y2 <= -1.95e-193: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif y2 <= -8.6e-268: tmp = y3 * (z * ((a * y1) - (c * y0))) elif y2 <= 1.3e-219: tmp = y0 * (b * ((z * k) - (x * j))) elif y2 <= 2.6e-198: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 1.2e-60: tmp = t_1 elif y2 <= 1.02e+119: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y2 <= 6.4e+153: tmp = t * (a * ((y2 * y5) - (z * b))) elif y2 <= 7e+231: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = t * (c * ((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(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -1.7e+141) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); elseif (y2 <= -26000000000.0) tmp = t_1; elseif (y2 <= -1.95e-193) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (y2 <= -8.6e-268) tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (y2 <= 1.3e-219) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); elseif (y2 <= 2.6e-198) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 1.2e-60) tmp = t_1; elseif (y2 <= 1.02e+119) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y2 <= 6.4e+153) tmp = Float64(t * Float64(a * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= 7e+231) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = Float64(t * Float64(c * 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 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -1.7e+141) tmp = a * (y2 * ((t * y5) - (x * y1))); elseif (y2 <= -26000000000.0) tmp = t_1; elseif (y2 <= -1.95e-193) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (y2 <= -8.6e-268) tmp = y3 * (z * ((a * y1) - (c * y0))); elseif (y2 <= 1.3e-219) tmp = y0 * (b * ((z * k) - (x * j))); elseif (y2 <= 2.6e-198) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 1.2e-60) tmp = t_1; elseif (y2 <= 1.02e+119) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y2 <= 6.4e+153) tmp = t * (a * ((y2 * y5) - (z * b))); elseif (y2 <= 7e+231) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = t * (c * ((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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.7e+141], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -26000000000.0], t$95$1, If[LessEqual[y2, -1.95e-193], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -8.6e-268], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.3e-219], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.6e-198], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.2e-60], t$95$1, If[LessEqual[y2, 1.02e+119], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.4e+153], N[(t * N[(a * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7e+231], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -1.7 \cdot 10^{+141}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq -26000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -1.95 \cdot 10^{-193}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -8.6 \cdot 10^{-268}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.3 \cdot 10^{-219}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 2.6 \cdot 10^{-198}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.2 \cdot 10^{-60}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 1.02 \cdot 10^{+119}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq 6.4 \cdot 10^{+153}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 7 \cdot 10^{+231}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -1.6999999999999999e141Initial program 29.4%
Taylor expanded in y2 around inf 56.1%
*-commutative56.1%
Simplified56.1%
Taylor expanded in a around inf 59.4%
distribute-lft-out--59.4%
*-commutative59.4%
*-commutative59.4%
Simplified59.4%
if -1.6999999999999999e141 < y2 < -2.6e10 or 2.60000000000000007e-198 < y2 < 1.20000000000000005e-60Initial program 36.8%
Taylor expanded in y1 around -inf 47.8%
associate-*r*47.8%
neg-mul-147.8%
+-commutative47.8%
mul-1-neg47.8%
unsub-neg47.8%
*-commutative47.8%
*-commutative47.8%
*-commutative47.8%
*-commutative47.8%
Simplified47.8%
Taylor expanded in i around -inf 47.9%
if -2.6e10 < y2 < -1.9499999999999999e-193Initial program 27.5%
Taylor expanded in y3 around -inf 55.4%
Taylor expanded in j around inf 56.0%
if -1.9499999999999999e-193 < y2 < -8.6e-268Initial program 47.3%
Taylor expanded in y3 around -inf 47.9%
Taylor expanded in z around inf 54.0%
if -8.6e-268 < y2 < 1.30000000000000001e-219Initial program 42.9%
Taylor expanded in y0 around inf 53.3%
+-commutative53.3%
mul-1-neg53.3%
unsub-neg53.3%
*-commutative53.3%
*-commutative53.3%
*-commutative53.3%
*-commutative53.3%
Simplified53.3%
Taylor expanded in b around inf 53.5%
if 1.30000000000000001e-219 < y2 < 2.60000000000000007e-198Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 1.20000000000000005e-60 < y2 < 1.02e119Initial program 27.2%
Taylor expanded in y0 around inf 37.5%
+-commutative37.5%
mul-1-neg37.5%
unsub-neg37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in y5 around inf 44.9%
if 1.02e119 < y2 < 6.4000000000000003e153Initial program 50.0%
Taylor expanded in t around inf 51.3%
Taylor expanded in a around -inf 67.2%
mul-1-neg67.2%
Simplified67.2%
if 6.4000000000000003e153 < y2 < 6.9999999999999997e231Initial program 30.0%
Taylor expanded in y0 around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in y2 around inf 70.7%
if 6.9999999999999997e231 < y2 Initial program 13.0%
Taylor expanded in t around inf 34.9%
Taylor expanded in c around inf 65.5%
Final simplification55.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -2e+186)
(* a (* y2 (- (* t y5) (* x y1))))
(if (<= y2 -1.8e+38)
(* y4 (- (* y1 (- (* k y2) (* j y3))) (* c (* t y2))))
(if (<= y2 -1.65e-193)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= y2 -3.4e-261)
(* y3 (* z (- (* a y1) (* c y0))))
(if (<= y2 8.2e-220)
(* y0 (* b (- (* z k) (* x j))))
(if (<= y2 6.2e-198)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 9.2e-60)
(* i (* y1 (- (* x j) (* z k))))
(if (<= y2 2.75e+119)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y2 4.3e+156)
(* t (* a (- (* y2 y5) (* z b))))
(if (<= y2 1.35e+230)
(* y0 (* y2 (- (* x c) (* k y5))))
(* t (* c (- (* 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 tmp;
if (y2 <= -2e+186) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (y2 <= -1.8e+38) {
tmp = y4 * ((y1 * ((k * y2) - (j * y3))) - (c * (t * y2)));
} else if (y2 <= -1.65e-193) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (y2 <= -3.4e-261) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y2 <= 8.2e-220) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (y2 <= 6.2e-198) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 9.2e-60) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y2 <= 2.75e+119) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 4.3e+156) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 1.35e+230) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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) :: tmp
if (y2 <= (-2d+186)) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else if (y2 <= (-1.8d+38)) then
tmp = y4 * ((y1 * ((k * y2) - (j * y3))) - (c * (t * y2)))
else if (y2 <= (-1.65d-193)) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (y2 <= (-3.4d-261)) then
tmp = y3 * (z * ((a * y1) - (c * y0)))
else if (y2 <= 8.2d-220) then
tmp = y0 * (b * ((z * k) - (x * j)))
else if (y2 <= 6.2d-198) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 9.2d-60) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (y2 <= 2.75d+119) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y2 <= 4.3d+156) then
tmp = t * (a * ((y2 * y5) - (z * b)))
else if (y2 <= 1.35d+230) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = t * (c * ((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 tmp;
if (y2 <= -2e+186) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (y2 <= -1.8e+38) {
tmp = y4 * ((y1 * ((k * y2) - (j * y3))) - (c * (t * y2)));
} else if (y2 <= -1.65e-193) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (y2 <= -3.4e-261) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y2 <= 8.2e-220) {
tmp = y0 * (b * ((z * k) - (x * j)));
} else if (y2 <= 6.2e-198) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 9.2e-60) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (y2 <= 2.75e+119) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 4.3e+156) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 1.35e+230) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((z * i) - (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 <= -2e+186: tmp = a * (y2 * ((t * y5) - (x * y1))) elif y2 <= -1.8e+38: tmp = y4 * ((y1 * ((k * y2) - (j * y3))) - (c * (t * y2))) elif y2 <= -1.65e-193: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif y2 <= -3.4e-261: tmp = y3 * (z * ((a * y1) - (c * y0))) elif y2 <= 8.2e-220: tmp = y0 * (b * ((z * k) - (x * j))) elif y2 <= 6.2e-198: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 9.2e-60: tmp = i * (y1 * ((x * j) - (z * k))) elif y2 <= 2.75e+119: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y2 <= 4.3e+156: tmp = t * (a * ((y2 * y5) - (z * b))) elif y2 <= 1.35e+230: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = t * (c * ((z * i) - (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 <= -2e+186) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); elseif (y2 <= -1.8e+38) tmp = Float64(y4 * Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) - Float64(c * Float64(t * y2)))); elseif (y2 <= -1.65e-193) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (y2 <= -3.4e-261) tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (y2 <= 8.2e-220) tmp = Float64(y0 * Float64(b * Float64(Float64(z * k) - Float64(x * j)))); elseif (y2 <= 6.2e-198) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 9.2e-60) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (y2 <= 2.75e+119) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y2 <= 4.3e+156) tmp = Float64(t * Float64(a * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= 1.35e+230) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = Float64(t * Float64(c * 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) tmp = 0.0; if (y2 <= -2e+186) tmp = a * (y2 * ((t * y5) - (x * y1))); elseif (y2 <= -1.8e+38) tmp = y4 * ((y1 * ((k * y2) - (j * y3))) - (c * (t * y2))); elseif (y2 <= -1.65e-193) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (y2 <= -3.4e-261) tmp = y3 * (z * ((a * y1) - (c * y0))); elseif (y2 <= 8.2e-220) tmp = y0 * (b * ((z * k) - (x * j))); elseif (y2 <= 6.2e-198) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 9.2e-60) tmp = i * (y1 * ((x * j) - (z * k))); elseif (y2 <= 2.75e+119) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y2 <= 4.3e+156) tmp = t * (a * ((y2 * y5) - (z * b))); elseif (y2 <= 1.35e+230) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = t * (c * ((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_] := If[LessEqual[y2, -2e+186], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.8e+38], N[(y4 * N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.65e-193], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.4e-261], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8.2e-220], N[(y0 * N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.2e-198], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9.2e-60], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.75e+119], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.3e+156], N[(t * N[(a * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.35e+230], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2 \cdot 10^{+186}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq -1.8 \cdot 10^{+38}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) - c \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq -1.65 \cdot 10^{-193}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -3.4 \cdot 10^{-261}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 8.2 \cdot 10^{-220}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 6.2 \cdot 10^{-198}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 9.2 \cdot 10^{-60}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y2 \leq 2.75 \cdot 10^{+119}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq 4.3 \cdot 10^{+156}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 1.35 \cdot 10^{+230}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -1.99999999999999996e186Initial program 25.9%
Taylor expanded in y2 around inf 62.9%
*-commutative62.9%
Simplified62.9%
Taylor expanded in a around inf 63.1%
distribute-lft-out--63.1%
*-commutative63.1%
*-commutative63.1%
Simplified63.1%
if -1.99999999999999996e186 < y2 < -1.79999999999999985e38Initial program 28.0%
Taylor expanded in y2 around inf 33.6%
*-commutative33.6%
Simplified33.6%
Taylor expanded in y4 around inf 57.0%
+-commutative57.0%
mul-1-neg57.0%
unsub-neg57.0%
*-commutative57.0%
*-commutative57.0%
Simplified57.0%
if -1.79999999999999985e38 < y2 < -1.6499999999999999e-193Initial program 27.9%
Taylor expanded in y3 around -inf 56.2%
Taylor expanded in j around inf 54.5%
if -1.6499999999999999e-193 < y2 < -3.4e-261Initial program 47.3%
Taylor expanded in y3 around -inf 47.9%
Taylor expanded in z around inf 54.0%
if -3.4e-261 < y2 < 8.19999999999999982e-220Initial program 42.9%
Taylor expanded in y0 around inf 53.3%
+-commutative53.3%
mul-1-neg53.3%
unsub-neg53.3%
*-commutative53.3%
*-commutative53.3%
*-commutative53.3%
*-commutative53.3%
Simplified53.3%
Taylor expanded in b around inf 53.5%
if 8.19999999999999982e-220 < y2 < 6.1999999999999997e-198Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 6.1999999999999997e-198 < y2 < 9.2000000000000005e-60Initial program 52.6%
Taylor expanded in y1 around -inf 49.0%
associate-*r*49.0%
neg-mul-149.0%
+-commutative49.0%
mul-1-neg49.0%
unsub-neg49.0%
*-commutative49.0%
*-commutative49.0%
*-commutative49.0%
*-commutative49.0%
Simplified49.0%
Taylor expanded in i around -inf 43.3%
if 9.2000000000000005e-60 < y2 < 2.7500000000000002e119Initial program 27.2%
Taylor expanded in y0 around inf 37.5%
+-commutative37.5%
mul-1-neg37.5%
unsub-neg37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in y5 around inf 44.9%
if 2.7500000000000002e119 < y2 < 4.29999999999999985e156Initial program 50.0%
Taylor expanded in t around inf 51.3%
Taylor expanded in a around -inf 67.2%
mul-1-neg67.2%
Simplified67.2%
if 4.29999999999999985e156 < y2 < 1.35000000000000002e230Initial program 30.0%
Taylor expanded in y0 around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in y2 around inf 70.7%
if 1.35000000000000002e230 < y2 Initial program 13.0%
Taylor expanded in t around inf 34.9%
Taylor expanded in c around inf 65.5%
Final simplification55.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (- (* x j) (* z k))))
(t_2
(*
c
(+
(+ (* y0 (- (* x y2) (* z y3))) (* i (- (* z t) (* x y))))
(* y4 (- (* y y3) (* t y2)))))))
(if (<= c -1.3e+39)
t_2
(if (<= c -1.35e-146)
(* y1 (+ t_1 (* y4 (- (* k y2) (* j y3)))))
(if (<= c -1.25e-258)
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0)))))
(if (<= c 2.35e-63)
(* y1 (+ t_1 (* a (- (* z y3) (* x y2)))))
(if (<= c 1.35e+172)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= c 3.3e+204) (* t (* c (- (* z i) (* y2 y4)))) t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((x * j) - (z * k));
double t_2 = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
double tmp;
if (c <= -1.3e+39) {
tmp = t_2;
} else if (c <= -1.35e-146) {
tmp = y1 * (t_1 + (y4 * ((k * y2) - (j * y3))));
} else if (c <= -1.25e-258) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (c <= 2.35e-63) {
tmp = y1 * (t_1 + (a * ((z * y3) - (x * y2))));
} else if (c <= 1.35e+172) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (c <= 3.3e+204) {
tmp = t * (c * ((z * i) - (y2 * y4)));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = i * ((x * j) - (z * k))
t_2 = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))))
if (c <= (-1.3d+39)) then
tmp = t_2
else if (c <= (-1.35d-146)) then
tmp = y1 * (t_1 + (y4 * ((k * y2) - (j * y3))))
else if (c <= (-1.25d-258)) then
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))))
else if (c <= 2.35d-63) then
tmp = y1 * (t_1 + (a * ((z * y3) - (x * y2))))
else if (c <= 1.35d+172) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (c <= 3.3d+204) then
tmp = t * (c * ((z * i) - (y2 * y4)))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((x * j) - (z * k));
double t_2 = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
double tmp;
if (c <= -1.3e+39) {
tmp = t_2;
} else if (c <= -1.35e-146) {
tmp = y1 * (t_1 + (y4 * ((k * y2) - (j * y3))));
} else if (c <= -1.25e-258) {
tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
} else if (c <= 2.35e-63) {
tmp = y1 * (t_1 + (a * ((z * y3) - (x * y2))));
} else if (c <= 1.35e+172) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (c <= 3.3e+204) {
tmp = t * (c * ((z * i) - (y2 * y4)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * ((x * j) - (z * k)) t_2 = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))) tmp = 0 if c <= -1.3e+39: tmp = t_2 elif c <= -1.35e-146: tmp = y1 * (t_1 + (y4 * ((k * y2) - (j * y3)))) elif c <= -1.25e-258: tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) elif c <= 2.35e-63: tmp = y1 * (t_1 + (a * ((z * y3) - (x * y2)))) elif c <= 1.35e+172: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif c <= 3.3e+204: tmp = t * (c * ((z * i) - (y2 * y4))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(Float64(x * j) - Float64(z * k))) t_2 = Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))) tmp = 0.0 if (c <= -1.3e+39) tmp = t_2; elseif (c <= -1.35e-146) tmp = Float64(y1 * Float64(t_1 + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))))); elseif (c <= -1.25e-258) tmp = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (c <= 2.35e-63) tmp = Float64(y1 * Float64(t_1 + Float64(a * Float64(Float64(z * y3) - Float64(x * y2))))); elseif (c <= 1.35e+172) 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 (c <= 3.3e+204) tmp = Float64(t * Float64(c * Float64(Float64(z * i) - Float64(y2 * y4)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * ((x * j) - (z * k)); t_2 = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))); tmp = 0.0; if (c <= -1.3e+39) tmp = t_2; elseif (c <= -1.35e-146) tmp = y1 * (t_1 + (y4 * ((k * y2) - (j * y3)))); elseif (c <= -1.25e-258) tmp = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); elseif (c <= 2.35e-63) tmp = y1 * (t_1 + (a * ((z * y3) - (x * y2)))); elseif (c <= 1.35e+172) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (c <= 3.3e+204) tmp = t * (c * ((z * i) - (y2 * y4))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.3e+39], t$95$2, If[LessEqual[c, -1.35e-146], N[(y1 * N[(t$95$1 + N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.25e-258], N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.35e-63], N[(y1 * N[(t$95$1 + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.35e+172], 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[c, 3.3e+204], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(x \cdot j - z \cdot k\right)\\
t_2 := c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -1.3 \cdot 10^{+39}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;c \leq -1.35 \cdot 10^{-146}:\\
\;\;\;\;y1 \cdot \left(t\_1 + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq -1.25 \cdot 10^{-258}:\\
\;\;\;\;j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 2.35 \cdot 10^{-63}:\\
\;\;\;\;y1 \cdot \left(t\_1 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq 1.35 \cdot 10^{+172}:\\
\;\;\;\;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}\;c \leq 3.3 \cdot 10^{+204}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if c < -1.3e39 or 3.2999999999999998e204 < c Initial program 29.9%
Taylor expanded in c around inf 61.4%
+-commutative61.4%
mul-1-neg61.4%
unsub-neg61.4%
*-commutative61.4%
*-commutative61.4%
*-commutative61.4%
*-commutative61.4%
Simplified61.4%
if -1.3e39 < c < -1.34999999999999997e-146Initial program 44.8%
Taylor expanded in y1 around -inf 52.1%
associate-*r*52.1%
neg-mul-152.1%
+-commutative52.1%
mul-1-neg52.1%
unsub-neg52.1%
*-commutative52.1%
*-commutative52.1%
*-commutative52.1%
*-commutative52.1%
Simplified52.1%
Taylor expanded in a around 0 51.8%
if -1.34999999999999997e-146 < c < -1.25e-258Initial program 33.6%
Taylor expanded in j around inf 62.6%
+-commutative62.6%
mul-1-neg62.6%
unsub-neg62.6%
*-commutative62.6%
Simplified62.6%
if -1.25e-258 < c < 2.35e-63Initial program 34.0%
Taylor expanded in y1 around -inf 46.2%
associate-*r*46.2%
neg-mul-146.2%
+-commutative46.2%
mul-1-neg46.2%
unsub-neg46.2%
*-commutative46.2%
*-commutative46.2%
*-commutative46.2%
*-commutative46.2%
Simplified46.2%
Taylor expanded in y4 around 0 46.6%
if 2.35e-63 < c < 1.35e172Initial program 16.0%
Taylor expanded in b around inf 52.7%
if 1.35e172 < c < 3.2999999999999998e204Initial program 33.2%
Taylor expanded in t around inf 55.8%
Taylor expanded in c around inf 67.1%
Final simplification55.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* y3 (- (* y0 y5) (* y1 y4)))))
(t_2 (- (* k y2) (* j y3)))
(t_3 (* i (- (* x j) (* z k)))))
(if (<= y3 -5e+253)
(* y4 (- (* y1 t_2) (* c (* t y2))))
(if (<= y3 -1.9e+55)
t_1
(if (<= y3 -3.8e-282)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y3 3.8e-220)
(*
c
(+
(+ (* y0 (- (* x y2) (* z y3))) (* i (- (* z t) (* x y))))
(* y4 (- (* y y3) (* t y2)))))
(if (<= y3 6.5e-183)
(* y1 (+ t_3 (* y4 t_2)))
(if (<= y3 1.2e-138)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= y3 2.25e+131)
(* y1 (+ t_3 (* a (- (* z y3) (* x y2)))))
(if (or (<= y3 8.5e+210) (not (<= y3 1.3e+261)))
t_1
(* c (* y0 (* z (- 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 = j * (y3 * ((y0 * y5) - (y1 * y4)));
double t_2 = (k * y2) - (j * y3);
double t_3 = i * ((x * j) - (z * k));
double tmp;
if (y3 <= -5e+253) {
tmp = y4 * ((y1 * t_2) - (c * (t * y2)));
} else if (y3 <= -1.9e+55) {
tmp = t_1;
} else if (y3 <= -3.8e-282) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y3 <= 3.8e-220) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (y3 <= 6.5e-183) {
tmp = y1 * (t_3 + (y4 * t_2));
} else if (y3 <= 1.2e-138) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (y3 <= 2.25e+131) {
tmp = y1 * (t_3 + (a * ((z * y3) - (x * y2))));
} else if ((y3 <= 8.5e+210) || !(y3 <= 1.3e+261)) {
tmp = t_1;
} else {
tmp = c * (y0 * (z * -y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = j * (y3 * ((y0 * y5) - (y1 * y4)))
t_2 = (k * y2) - (j * y3)
t_3 = i * ((x * j) - (z * k))
if (y3 <= (-5d+253)) then
tmp = y4 * ((y1 * t_2) - (c * (t * y2)))
else if (y3 <= (-1.9d+55)) then
tmp = t_1
else if (y3 <= (-3.8d-282)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y3 <= 3.8d-220) then
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))))
else if (y3 <= 6.5d-183) then
tmp = y1 * (t_3 + (y4 * t_2))
else if (y3 <= 1.2d-138) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (y3 <= 2.25d+131) then
tmp = y1 * (t_3 + (a * ((z * y3) - (x * y2))))
else if ((y3 <= 8.5d+210) .or. (.not. (y3 <= 1.3d+261))) then
tmp = t_1
else
tmp = c * (y0 * (z * -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 = j * (y3 * ((y0 * y5) - (y1 * y4)));
double t_2 = (k * y2) - (j * y3);
double t_3 = i * ((x * j) - (z * k));
double tmp;
if (y3 <= -5e+253) {
tmp = y4 * ((y1 * t_2) - (c * (t * y2)));
} else if (y3 <= -1.9e+55) {
tmp = t_1;
} else if (y3 <= -3.8e-282) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y3 <= 3.8e-220) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (y3 <= 6.5e-183) {
tmp = y1 * (t_3 + (y4 * t_2));
} else if (y3 <= 1.2e-138) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (y3 <= 2.25e+131) {
tmp = y1 * (t_3 + (a * ((z * y3) - (x * y2))));
} else if ((y3 <= 8.5e+210) || !(y3 <= 1.3e+261)) {
tmp = t_1;
} else {
tmp = c * (y0 * (z * -y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (y3 * ((y0 * y5) - (y1 * y4))) t_2 = (k * y2) - (j * y3) t_3 = i * ((x * j) - (z * k)) tmp = 0 if y3 <= -5e+253: tmp = y4 * ((y1 * t_2) - (c * (t * y2))) elif y3 <= -1.9e+55: tmp = t_1 elif y3 <= -3.8e-282: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y3 <= 3.8e-220: tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))) elif y3 <= 6.5e-183: tmp = y1 * (t_3 + (y4 * t_2)) elif y3 <= 1.2e-138: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif y3 <= 2.25e+131: tmp = y1 * (t_3 + (a * ((z * y3) - (x * y2)))) elif (y3 <= 8.5e+210) or not (y3 <= 1.3e+261): tmp = t_1 else: tmp = c * (y0 * (z * -y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) t_2 = Float64(Float64(k * y2) - Float64(j * y3)) t_3 = Float64(i * Float64(Float64(x * j) - Float64(z * k))) tmp = 0.0 if (y3 <= -5e+253) tmp = Float64(y4 * Float64(Float64(y1 * t_2) - Float64(c * Float64(t * y2)))); elseif (y3 <= -1.9e+55) tmp = t_1; elseif (y3 <= -3.8e-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 (y3 <= 3.8e-220) tmp = Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y3 <= 6.5e-183) tmp = Float64(y1 * Float64(t_3 + Float64(y4 * t_2))); elseif (y3 <= 1.2e-138) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (y3 <= 2.25e+131) tmp = Float64(y1 * Float64(t_3 + Float64(a * Float64(Float64(z * y3) - Float64(x * y2))))); elseif ((y3 <= 8.5e+210) || !(y3 <= 1.3e+261)) tmp = t_1; else tmp = Float64(c * Float64(y0 * Float64(z * Float64(-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 = j * (y3 * ((y0 * y5) - (y1 * y4))); t_2 = (k * y2) - (j * y3); t_3 = i * ((x * j) - (z * k)); tmp = 0.0; if (y3 <= -5e+253) tmp = y4 * ((y1 * t_2) - (c * (t * y2))); elseif (y3 <= -1.9e+55) tmp = t_1; elseif (y3 <= -3.8e-282) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y3 <= 3.8e-220) tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))); elseif (y3 <= 6.5e-183) tmp = y1 * (t_3 + (y4 * t_2)); elseif (y3 <= 1.2e-138) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (y3 <= 2.25e+131) tmp = y1 * (t_3 + (a * ((z * y3) - (x * y2)))); elseif ((y3 <= 8.5e+210) || ~((y3 <= 1.3e+261))) tmp = t_1; else tmp = c * (y0 * (z * -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[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -5e+253], N[(y4 * N[(N[(y1 * t$95$2), $MachinePrecision] - N[(c * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.9e+55], t$95$1, If[LessEqual[y3, -3.8e-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[y3, 3.8e-220], N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 6.5e-183], N[(y1 * N[(t$95$3 + N[(y4 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.2e-138], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.25e+131], N[(y1 * N[(t$95$3 + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y3, 8.5e+210], N[Not[LessEqual[y3, 1.3e+261]], $MachinePrecision]], t$95$1, N[(c * N[(y0 * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
t_2 := k \cdot y2 - j \cdot y3\\
t_3 := i \cdot \left(x \cdot j - z \cdot k\right)\\
\mathbf{if}\;y3 \leq -5 \cdot 10^{+253}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot t\_2 - c \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq -1.9 \cdot 10^{+55}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -3.8 \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}\;y3 \leq 3.8 \cdot 10^{-220}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 6.5 \cdot 10^{-183}:\\
\;\;\;\;y1 \cdot \left(t\_3 + y4 \cdot t\_2\right)\\
\mathbf{elif}\;y3 \leq 1.2 \cdot 10^{-138}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq 2.25 \cdot 10^{+131}:\\
\;\;\;\;y1 \cdot \left(t\_3 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 8.5 \cdot 10^{+210} \lor \neg \left(y3 \leq 1.3 \cdot 10^{+261}\right):\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\
\end{array}
\end{array}
if y3 < -4.9999999999999997e253Initial program 23.1%
Taylor expanded in y2 around inf 31.3%
*-commutative31.3%
Simplified31.3%
Taylor expanded in y4 around inf 69.2%
+-commutative69.2%
mul-1-neg69.2%
unsub-neg69.2%
*-commutative69.2%
*-commutative69.2%
Simplified69.2%
if -4.9999999999999997e253 < y3 < -1.9e55 or 2.2500000000000001e131 < y3 < 8.49999999999999975e210 or 1.29999999999999991e261 < y3 Initial program 29.0%
Taylor expanded in y3 around -inf 61.8%
Taylor expanded in j around inf 59.7%
if -1.9e55 < y3 < -3.79999999999999992e-282Initial program 32.3%
Taylor expanded in b around inf 49.4%
if -3.79999999999999992e-282 < y3 < 3.80000000000000009e-220Initial program 43.7%
Taylor expanded in c around inf 61.8%
+-commutative61.8%
mul-1-neg61.8%
unsub-neg61.8%
*-commutative61.8%
*-commutative61.8%
*-commutative61.8%
*-commutative61.8%
Simplified61.8%
if 3.80000000000000009e-220 < y3 < 6.50000000000000014e-183Initial program 11.1%
Taylor expanded in y1 around -inf 77.8%
associate-*r*77.8%
neg-mul-177.8%
+-commutative77.8%
mul-1-neg77.8%
unsub-neg77.8%
*-commutative77.8%
*-commutative77.8%
*-commutative77.8%
*-commutative77.8%
Simplified77.8%
Taylor expanded in a around 0 88.9%
if 6.50000000000000014e-183 < y3 < 1.2e-138Initial program 25.0%
Taylor expanded in y0 around inf 50.5%
+-commutative50.5%
mul-1-neg50.5%
unsub-neg50.5%
*-commutative50.5%
*-commutative50.5%
*-commutative50.5%
*-commutative50.5%
Simplified50.5%
Taylor expanded in y2 around inf 63.0%
if 1.2e-138 < y3 < 2.2500000000000001e131Initial program 36.5%
Taylor expanded in y1 around -inf 48.8%
associate-*r*48.8%
neg-mul-148.8%
+-commutative48.8%
mul-1-neg48.8%
unsub-neg48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in y4 around 0 52.6%
if 8.49999999999999975e210 < y3 < 1.29999999999999991e261Initial program 44.4%
Taylor expanded in y0 around inf 78.3%
+-commutative78.3%
mul-1-neg78.3%
unsub-neg78.3%
*-commutative78.3%
*-commutative78.3%
*-commutative78.3%
*-commutative78.3%
Simplified78.3%
Taylor expanded in y3 around -inf 57.3%
associate-*r*57.3%
neg-mul-157.3%
Simplified57.3%
Taylor expanded in c around inf 89.2%
associate-*r*89.2%
mul-1-neg89.2%
Simplified89.2%
Final simplification58.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -3.2e+131)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y2 -9000000000.0)
t_1
(if (<= y2 -1.45e-170)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= y2 7.2e-219)
(* k (* z (- (* b y0) (* i y1))))
(if (<= y2 3.5e-199)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 1.25e-60)
t_1
(if (<= y2 1.2e+119)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y2 6.3e+157)
(* t (* a (- (* y2 y5) (* z b))))
(if (<= y2 1.95e+233)
(* y0 (* y2 (- (* x c) (* k y5))))
(* t (* c (- (* 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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.2e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -9000000000.0) {
tmp = t_1;
} else if (y2 <= -1.45e-170) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (y2 <= 7.2e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 3.5e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.25e-60) {
tmp = t_1;
} else if (y2 <= 1.2e+119) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 6.3e+157) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 1.95e+233) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-3.2d+131)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y2 <= (-9000000000.0d0)) then
tmp = t_1
else if (y2 <= (-1.45d-170)) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (y2 <= 7.2d-219) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (y2 <= 3.5d-199) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 1.25d-60) then
tmp = t_1
else if (y2 <= 1.2d+119) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y2 <= 6.3d+157) then
tmp = t * (a * ((y2 * y5) - (z * b)))
else if (y2 <= 1.95d+233) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.2e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -9000000000.0) {
tmp = t_1;
} else if (y2 <= -1.45e-170) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (y2 <= 7.2e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 3.5e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.25e-60) {
tmp = t_1;
} else if (y2 <= 1.2e+119) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 6.3e+157) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 1.95e+233) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -3.2e+131: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y2 <= -9000000000.0: tmp = t_1 elif y2 <= -1.45e-170: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif y2 <= 7.2e-219: tmp = k * (z * ((b * y0) - (i * y1))) elif y2 <= 3.5e-199: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 1.25e-60: tmp = t_1 elif y2 <= 1.2e+119: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y2 <= 6.3e+157: tmp = t * (a * ((y2 * y5) - (z * b))) elif y2 <= 1.95e+233: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = t * (c * ((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(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -3.2e+131) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y2 <= -9000000000.0) tmp = t_1; elseif (y2 <= -1.45e-170) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (y2 <= 7.2e-219) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (y2 <= 3.5e-199) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 1.25e-60) tmp = t_1; elseif (y2 <= 1.2e+119) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y2 <= 6.3e+157) tmp = Float64(t * Float64(a * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= 1.95e+233) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = Float64(t * Float64(c * 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 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -3.2e+131) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y2 <= -9000000000.0) tmp = t_1; elseif (y2 <= -1.45e-170) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (y2 <= 7.2e-219) tmp = k * (z * ((b * y0) - (i * y1))); elseif (y2 <= 3.5e-199) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 1.25e-60) tmp = t_1; elseif (y2 <= 1.2e+119) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y2 <= 6.3e+157) tmp = t * (a * ((y2 * y5) - (z * b))); elseif (y2 <= 1.95e+233) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = t * (c * ((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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.2e+131], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -9000000000.0], t$95$1, If[LessEqual[y2, -1.45e-170], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.2e-219], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.5e-199], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.25e-60], t$95$1, If[LessEqual[y2, 1.2e+119], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.3e+157], N[(t * N[(a * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.95e+233], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -3.2 \cdot 10^{+131}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -9000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -1.45 \cdot 10^{-170}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 7.2 \cdot 10^{-219}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq 3.5 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.25 \cdot 10^{-60}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 1.2 \cdot 10^{+119}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq 6.3 \cdot 10^{+157}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 1.95 \cdot 10^{+233}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -3.2000000000000002e131Initial program 29.7%
Taylor expanded in k around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
associate-*r*39.6%
neg-mul-139.6%
Simplified39.6%
Taylor expanded in y2 around inf 53.3%
if -3.2000000000000002e131 < y2 < -9e9 or 3.4999999999999999e-199 < y2 < 1.25e-60Initial program 37.0%
Taylor expanded in y1 around -inf 48.8%
associate-*r*48.8%
neg-mul-148.8%
+-commutative48.8%
mul-1-neg48.8%
unsub-neg48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in i around -inf 48.9%
if -9e9 < y2 < -1.45e-170Initial program 27.7%
Taylor expanded in y3 around -inf 56.0%
Taylor expanded in j around inf 56.7%
if -1.45e-170 < y2 < 7.19999999999999947e-219Initial program 43.0%
Taylor expanded in k around inf 50.0%
+-commutative50.0%
mul-1-neg50.0%
unsub-neg50.0%
*-commutative50.0%
associate-*r*50.0%
neg-mul-150.0%
Simplified50.0%
Taylor expanded in z around inf 41.2%
if 7.19999999999999947e-219 < y2 < 3.4999999999999999e-199Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 1.25e-60 < y2 < 1.2e119Initial program 27.2%
Taylor expanded in y0 around inf 37.5%
+-commutative37.5%
mul-1-neg37.5%
unsub-neg37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in y5 around inf 44.9%
if 1.2e119 < y2 < 6.2999999999999997e157Initial program 50.0%
Taylor expanded in t around inf 51.3%
Taylor expanded in a around -inf 67.2%
mul-1-neg67.2%
Simplified67.2%
if 6.2999999999999997e157 < y2 < 1.9499999999999999e233Initial program 30.0%
Taylor expanded in y0 around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in y2 around inf 70.7%
if 1.9499999999999999e233 < y2 Initial program 13.0%
Taylor expanded in t around inf 34.9%
Taylor expanded in c around inf 65.5%
Final simplification52.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -3.3e+131)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y2 -4.8e-141)
t_1
(if (<= y2 4.7e-219)
(* k (* z (- (* b y0) (* i y1))))
(if (<= y2 4.5e-198)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 6.5e-61)
t_1
(if (<= y2 4.5e+36)
(* y0 (* y5 (* j y3)))
(if (<= y2 3.1e+167)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y2 5.2e+237)
(* y0 (* k (- (* z b) (* y2 y5))))
(* t (* c (- (* 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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.3e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -4.8e-141) {
tmp = t_1;
} else if (y2 <= 4.7e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 4.5e-198) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 6.5e-61) {
tmp = t_1;
} else if (y2 <= 4.5e+36) {
tmp = y0 * (y5 * (j * y3));
} else if (y2 <= 3.1e+167) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y2 <= 5.2e+237) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-3.3d+131)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y2 <= (-4.8d-141)) then
tmp = t_1
else if (y2 <= 4.7d-219) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (y2 <= 4.5d-198) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 6.5d-61) then
tmp = t_1
else if (y2 <= 4.5d+36) then
tmp = y0 * (y5 * (j * y3))
else if (y2 <= 3.1d+167) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y2 <= 5.2d+237) then
tmp = y0 * (k * ((z * b) - (y2 * y5)))
else
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.3e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -4.8e-141) {
tmp = t_1;
} else if (y2 <= 4.7e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 4.5e-198) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 6.5e-61) {
tmp = t_1;
} else if (y2 <= 4.5e+36) {
tmp = y0 * (y5 * (j * y3));
} else if (y2 <= 3.1e+167) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y2 <= 5.2e+237) {
tmp = y0 * (k * ((z * b) - (y2 * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -3.3e+131: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y2 <= -4.8e-141: tmp = t_1 elif y2 <= 4.7e-219: tmp = k * (z * ((b * y0) - (i * y1))) elif y2 <= 4.5e-198: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 6.5e-61: tmp = t_1 elif y2 <= 4.5e+36: tmp = y0 * (y5 * (j * y3)) elif y2 <= 3.1e+167: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y2 <= 5.2e+237: tmp = y0 * (k * ((z * b) - (y2 * y5))) else: tmp = t * (c * ((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(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -3.3e+131) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y2 <= -4.8e-141) tmp = t_1; elseif (y2 <= 4.7e-219) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (y2 <= 4.5e-198) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 6.5e-61) tmp = t_1; elseif (y2 <= 4.5e+36) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); elseif (y2 <= 3.1e+167) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y2 <= 5.2e+237) tmp = Float64(y0 * Float64(k * Float64(Float64(z * b) - Float64(y2 * y5)))); else tmp = Float64(t * Float64(c * 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 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -3.3e+131) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y2 <= -4.8e-141) tmp = t_1; elseif (y2 <= 4.7e-219) tmp = k * (z * ((b * y0) - (i * y1))); elseif (y2 <= 4.5e-198) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 6.5e-61) tmp = t_1; elseif (y2 <= 4.5e+36) tmp = y0 * (y5 * (j * y3)); elseif (y2 <= 3.1e+167) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y2 <= 5.2e+237) tmp = y0 * (k * ((z * b) - (y2 * y5))); else tmp = t * (c * ((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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.3e+131], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -4.8e-141], t$95$1, If[LessEqual[y2, 4.7e-219], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.5e-198], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.5e-61], t$95$1, If[LessEqual[y2, 4.5e+36], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.1e+167], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.2e+237], N[(y0 * N[(k * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -3.3 \cdot 10^{+131}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -4.8 \cdot 10^{-141}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 4.7 \cdot 10^{-219}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq 4.5 \cdot 10^{-198}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 6.5 \cdot 10^{-61}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 4.5 \cdot 10^{+36}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 3.1 \cdot 10^{+167}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 5.2 \cdot 10^{+237}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -3.2999999999999998e131Initial program 29.7%
Taylor expanded in k around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
associate-*r*39.6%
neg-mul-139.6%
Simplified39.6%
Taylor expanded in y2 around inf 53.3%
if -3.2999999999999998e131 < y2 < -4.8000000000000002e-141 or 4.4999999999999998e-198 < y2 < 6.4999999999999994e-61Initial program 31.5%
Taylor expanded in y1 around -inf 52.9%
associate-*r*52.9%
neg-mul-152.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in i around -inf 46.3%
if -4.8000000000000002e-141 < y2 < 4.7e-219Initial program 43.2%
Taylor expanded in k around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
associate-*r*54.6%
neg-mul-154.6%
Simplified54.6%
Taylor expanded in z around inf 40.0%
if 4.7e-219 < y2 < 4.4999999999999998e-198Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 6.4999999999999994e-61 < y2 < 4.49999999999999997e36Initial program 21.1%
Taylor expanded in y0 around inf 38.0%
+-commutative38.0%
mul-1-neg38.0%
unsub-neg38.0%
*-commutative38.0%
*-commutative38.0%
*-commutative38.0%
*-commutative38.0%
Simplified38.0%
Taylor expanded in y3 around -inf 50.7%
associate-*r*50.7%
neg-mul-150.7%
Simplified50.7%
Taylor expanded in c around 0 38.6%
associate-*r*38.6%
neg-mul-138.6%
Simplified38.6%
pow138.6%
associate-*r*38.5%
Applied egg-rr38.5%
unpow138.5%
associate-*l*38.6%
distribute-lft-neg-in38.6%
*-commutative38.6%
distribute-lft-neg-in38.6%
distribute-lft-neg-in38.6%
remove-double-neg38.6%
associate-*r*42.4%
*-commutative42.4%
Simplified42.4%
if 4.49999999999999997e36 < y2 < 3.1e167Initial program 39.0%
Taylor expanded in t around inf 49.1%
Taylor expanded in y2 around inf 46.3%
if 3.1e167 < y2 < 5.20000000000000005e237Initial program 37.5%
Taylor expanded in y0 around inf 50.2%
+-commutative50.2%
mul-1-neg50.2%
unsub-neg50.2%
*-commutative50.2%
*-commutative50.2%
*-commutative50.2%
*-commutative50.2%
Simplified50.2%
Taylor expanded in k around -inf 75.2%
+-commutative75.2%
mul-1-neg75.2%
sub-neg75.2%
Simplified75.2%
if 5.20000000000000005e237 < y2 Initial program 13.0%
Taylor expanded in t around inf 34.9%
Taylor expanded in c around inf 65.5%
Final simplification49.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -2.55e+132)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y2 -1.65e-138)
t_1
(if (<= y2 1.6e-219)
(* k (* z (- (* b y0) (* i y1))))
(if (<= y2 9e-198)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 6.8e-60)
t_1
(if (<= y2 1.3e+36)
(* y0 (* y5 (* j y3)))
(if (<= y2 2.05e+154)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y2 2.35e+234)
(* y0 (* y2 (- (* x c) (* k y5))))
(* t (* c (- (* 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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -2.55e+132) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -1.65e-138) {
tmp = t_1;
} else if (y2 <= 1.6e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 9e-198) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 6.8e-60) {
tmp = t_1;
} else if (y2 <= 1.3e+36) {
tmp = y0 * (y5 * (j * y3));
} else if (y2 <= 2.05e+154) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y2 <= 2.35e+234) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-2.55d+132)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y2 <= (-1.65d-138)) then
tmp = t_1
else if (y2 <= 1.6d-219) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (y2 <= 9d-198) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 6.8d-60) then
tmp = t_1
else if (y2 <= 1.3d+36) then
tmp = y0 * (y5 * (j * y3))
else if (y2 <= 2.05d+154) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y2 <= 2.35d+234) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -2.55e+132) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -1.65e-138) {
tmp = t_1;
} else if (y2 <= 1.6e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 9e-198) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 6.8e-60) {
tmp = t_1;
} else if (y2 <= 1.3e+36) {
tmp = y0 * (y5 * (j * y3));
} else if (y2 <= 2.05e+154) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y2 <= 2.35e+234) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -2.55e+132: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y2 <= -1.65e-138: tmp = t_1 elif y2 <= 1.6e-219: tmp = k * (z * ((b * y0) - (i * y1))) elif y2 <= 9e-198: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 6.8e-60: tmp = t_1 elif y2 <= 1.3e+36: tmp = y0 * (y5 * (j * y3)) elif y2 <= 2.05e+154: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y2 <= 2.35e+234: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = t * (c * ((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(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -2.55e+132) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y2 <= -1.65e-138) tmp = t_1; elseif (y2 <= 1.6e-219) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (y2 <= 9e-198) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 6.8e-60) tmp = t_1; elseif (y2 <= 1.3e+36) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); elseif (y2 <= 2.05e+154) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y2 <= 2.35e+234) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = Float64(t * Float64(c * 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 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -2.55e+132) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y2 <= -1.65e-138) tmp = t_1; elseif (y2 <= 1.6e-219) tmp = k * (z * ((b * y0) - (i * y1))); elseif (y2 <= 9e-198) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 6.8e-60) tmp = t_1; elseif (y2 <= 1.3e+36) tmp = y0 * (y5 * (j * y3)); elseif (y2 <= 2.05e+154) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y2 <= 2.35e+234) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = t * (c * ((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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.55e+132], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.65e-138], t$95$1, If[LessEqual[y2, 1.6e-219], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9e-198], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.8e-60], t$95$1, If[LessEqual[y2, 1.3e+36], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.05e+154], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.35e+234], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -2.55 \cdot 10^{+132}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -1.65 \cdot 10^{-138}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 1.6 \cdot 10^{-219}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq 9 \cdot 10^{-198}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 6.8 \cdot 10^{-60}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 1.3 \cdot 10^{+36}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 2.05 \cdot 10^{+154}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 2.35 \cdot 10^{+234}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -2.55e132Initial program 29.7%
Taylor expanded in k around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
associate-*r*39.6%
neg-mul-139.6%
Simplified39.6%
Taylor expanded in y2 around inf 53.3%
if -2.55e132 < y2 < -1.64999999999999991e-138 or 8.9999999999999996e-198 < y2 < 6.80000000000000013e-60Initial program 31.5%
Taylor expanded in y1 around -inf 52.9%
associate-*r*52.9%
neg-mul-152.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in i around -inf 46.3%
if -1.64999999999999991e-138 < y2 < 1.59999999999999999e-219Initial program 43.2%
Taylor expanded in k around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
associate-*r*54.6%
neg-mul-154.6%
Simplified54.6%
Taylor expanded in z around inf 40.0%
if 1.59999999999999999e-219 < y2 < 8.9999999999999996e-198Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 6.80000000000000013e-60 < y2 < 1.3000000000000001e36Initial program 21.1%
Taylor expanded in y0 around inf 38.0%
+-commutative38.0%
mul-1-neg38.0%
unsub-neg38.0%
*-commutative38.0%
*-commutative38.0%
*-commutative38.0%
*-commutative38.0%
Simplified38.0%
Taylor expanded in y3 around -inf 50.7%
associate-*r*50.7%
neg-mul-150.7%
Simplified50.7%
Taylor expanded in c around 0 38.6%
associate-*r*38.6%
neg-mul-138.6%
Simplified38.6%
pow138.6%
associate-*r*38.5%
Applied egg-rr38.5%
unpow138.5%
associate-*l*38.6%
distribute-lft-neg-in38.6%
*-commutative38.6%
distribute-lft-neg-in38.6%
distribute-lft-neg-in38.6%
remove-double-neg38.6%
associate-*r*42.4%
*-commutative42.4%
Simplified42.4%
if 1.3000000000000001e36 < y2 < 2.05e154Initial program 41.7%
Taylor expanded in t around inf 52.5%
Taylor expanded in y2 around inf 46.1%
if 2.05e154 < y2 < 2.3499999999999999e234Initial program 30.0%
Taylor expanded in y0 around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in y2 around inf 70.7%
if 2.3499999999999999e234 < y2 Initial program 13.0%
Taylor expanded in t around inf 34.9%
Taylor expanded in c around inf 65.5%
Final simplification49.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -3.05e+131)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y2 -3.4e-141)
t_1
(if (<= y2 2.4e-219)
(* k (* z (- (* b y0) (* i y1))))
(if (<= y2 1.35e-197)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 4.4e-61)
t_1
(if (<= y2 6e+80)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y2 2.5e+138)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y2 2.5e+233)
(* y0 (* y2 (- (* x c) (* k y5))))
(* t (* c (- (* 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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.05e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -3.4e-141) {
tmp = t_1;
} else if (y2 <= 2.4e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 1.35e-197) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 4.4e-61) {
tmp = t_1;
} else if (y2 <= 6e+80) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 2.5e+138) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y2 <= 2.5e+233) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-3.05d+131)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y2 <= (-3.4d-141)) then
tmp = t_1
else if (y2 <= 2.4d-219) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (y2 <= 1.35d-197) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 4.4d-61) then
tmp = t_1
else if (y2 <= 6d+80) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y2 <= 2.5d+138) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y2 <= 2.5d+233) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.05e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -3.4e-141) {
tmp = t_1;
} else if (y2 <= 2.4e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 1.35e-197) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 4.4e-61) {
tmp = t_1;
} else if (y2 <= 6e+80) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 2.5e+138) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y2 <= 2.5e+233) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -3.05e+131: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y2 <= -3.4e-141: tmp = t_1 elif y2 <= 2.4e-219: tmp = k * (z * ((b * y0) - (i * y1))) elif y2 <= 1.35e-197: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 4.4e-61: tmp = t_1 elif y2 <= 6e+80: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y2 <= 2.5e+138: tmp = k * (y * ((i * y5) - (b * y4))) elif y2 <= 2.5e+233: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = t * (c * ((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(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -3.05e+131) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y2 <= -3.4e-141) tmp = t_1; elseif (y2 <= 2.4e-219) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (y2 <= 1.35e-197) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 4.4e-61) tmp = t_1; elseif (y2 <= 6e+80) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y2 <= 2.5e+138) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y2 <= 2.5e+233) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = Float64(t * Float64(c * 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 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -3.05e+131) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y2 <= -3.4e-141) tmp = t_1; elseif (y2 <= 2.4e-219) tmp = k * (z * ((b * y0) - (i * y1))); elseif (y2 <= 1.35e-197) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 4.4e-61) tmp = t_1; elseif (y2 <= 6e+80) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y2 <= 2.5e+138) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y2 <= 2.5e+233) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = t * (c * ((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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.05e+131], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.4e-141], t$95$1, If[LessEqual[y2, 2.4e-219], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.35e-197], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.4e-61], t$95$1, If[LessEqual[y2, 6e+80], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.5e+138], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.5e+233], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -3.05 \cdot 10^{+131}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -3.4 \cdot 10^{-141}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 2.4 \cdot 10^{-219}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq 1.35 \cdot 10^{-197}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 4.4 \cdot 10^{-61}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 6 \cdot 10^{+80}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq 2.5 \cdot 10^{+138}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 2.5 \cdot 10^{+233}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -3.0499999999999999e131Initial program 29.7%
Taylor expanded in k around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
associate-*r*39.6%
neg-mul-139.6%
Simplified39.6%
Taylor expanded in y2 around inf 53.3%
if -3.0499999999999999e131 < y2 < -3.3999999999999998e-141 or 1.35000000000000009e-197 < y2 < 4.40000000000000017e-61Initial program 31.5%
Taylor expanded in y1 around -inf 52.9%
associate-*r*52.9%
neg-mul-152.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in i around -inf 46.3%
if -3.3999999999999998e-141 < y2 < 2.40000000000000014e-219Initial program 43.2%
Taylor expanded in k around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
associate-*r*54.6%
neg-mul-154.6%
Simplified54.6%
Taylor expanded in z around inf 40.0%
if 2.40000000000000014e-219 < y2 < 1.35000000000000009e-197Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 4.40000000000000017e-61 < y2 < 5.99999999999999974e80Initial program 26.3%
Taylor expanded in y0 around inf 39.5%
+-commutative39.5%
mul-1-neg39.5%
unsub-neg39.5%
*-commutative39.5%
*-commutative39.5%
*-commutative39.5%
*-commutative39.5%
Simplified39.5%
Taylor expanded in y5 around inf 52.5%
if 5.99999999999999974e80 < y2 < 2.50000000000000008e138Initial program 42.1%
Taylor expanded in k around inf 43.0%
+-commutative43.0%
mul-1-neg43.0%
unsub-neg43.0%
*-commutative43.0%
associate-*r*43.0%
neg-mul-143.0%
Simplified43.0%
Taylor expanded in y around inf 48.0%
if 2.50000000000000008e138 < y2 < 2.50000000000000004e233Initial program 30.8%
Taylor expanded in y0 around inf 38.6%
+-commutative38.6%
mul-1-neg38.6%
unsub-neg38.6%
*-commutative38.6%
*-commutative38.6%
*-commutative38.6%
*-commutative38.6%
Simplified38.6%
Taylor expanded in y2 around inf 62.3%
if 2.50000000000000004e233 < y2 Initial program 13.0%
Taylor expanded in t around inf 34.9%
Taylor expanded in c around inf 65.5%
Final simplification50.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -3.1e+131)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y2 -2.1e-138)
t_1
(if (<= y2 3.1e-219)
(* k (* z (- (* b y0) (* i y1))))
(if (<= y2 5.5e-199)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 3.4e-61)
t_1
(if (<= y2 3e+118)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y2 1.06e+158)
(* t (* a (- (* y2 y5) (* z b))))
(if (<= y2 2.7e+231)
(* y0 (* y2 (- (* x c) (* k y5))))
(* t (* c (- (* 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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.1e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -2.1e-138) {
tmp = t_1;
} else if (y2 <= 3.1e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 5.5e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 3.4e-61) {
tmp = t_1;
} else if (y2 <= 3e+118) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 1.06e+158) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 2.7e+231) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-3.1d+131)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y2 <= (-2.1d-138)) then
tmp = t_1
else if (y2 <= 3.1d-219) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (y2 <= 5.5d-199) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 3.4d-61) then
tmp = t_1
else if (y2 <= 3d+118) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y2 <= 1.06d+158) then
tmp = t * (a * ((y2 * y5) - (z * b)))
else if (y2 <= 2.7d+231) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.1e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -2.1e-138) {
tmp = t_1;
} else if (y2 <= 3.1e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 5.5e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 3.4e-61) {
tmp = t_1;
} else if (y2 <= 3e+118) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y2 <= 1.06e+158) {
tmp = t * (a * ((y2 * y5) - (z * b)));
} else if (y2 <= 2.7e+231) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -3.1e+131: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y2 <= -2.1e-138: tmp = t_1 elif y2 <= 3.1e-219: tmp = k * (z * ((b * y0) - (i * y1))) elif y2 <= 5.5e-199: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 3.4e-61: tmp = t_1 elif y2 <= 3e+118: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y2 <= 1.06e+158: tmp = t * (a * ((y2 * y5) - (z * b))) elif y2 <= 2.7e+231: tmp = y0 * (y2 * ((x * c) - (k * y5))) else: tmp = t * (c * ((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(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -3.1e+131) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y2 <= -2.1e-138) tmp = t_1; elseif (y2 <= 3.1e-219) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (y2 <= 5.5e-199) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 3.4e-61) tmp = t_1; elseif (y2 <= 3e+118) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y2 <= 1.06e+158) tmp = Float64(t * Float64(a * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= 2.7e+231) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); else tmp = Float64(t * Float64(c * 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 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -3.1e+131) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y2 <= -2.1e-138) tmp = t_1; elseif (y2 <= 3.1e-219) tmp = k * (z * ((b * y0) - (i * y1))); elseif (y2 <= 5.5e-199) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 3.4e-61) tmp = t_1; elseif (y2 <= 3e+118) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y2 <= 1.06e+158) tmp = t * (a * ((y2 * y5) - (z * b))); elseif (y2 <= 2.7e+231) tmp = y0 * (y2 * ((x * c) - (k * y5))); else tmp = t * (c * ((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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.1e+131], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.1e-138], t$95$1, If[LessEqual[y2, 3.1e-219], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.5e-199], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.4e-61], t$95$1, If[LessEqual[y2, 3e+118], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.06e+158], N[(t * N[(a * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.7e+231], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -3.1 \cdot 10^{+131}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -2.1 \cdot 10^{-138}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 3.1 \cdot 10^{-219}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq 5.5 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 3.4 \cdot 10^{-61}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 3 \cdot 10^{+118}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq 1.06 \cdot 10^{+158}:\\
\;\;\;\;t \cdot \left(a \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 2.7 \cdot 10^{+231}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -3.10000000000000016e131Initial program 29.7%
Taylor expanded in k around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
associate-*r*39.6%
neg-mul-139.6%
Simplified39.6%
Taylor expanded in y2 around inf 53.3%
if -3.10000000000000016e131 < y2 < -2.09999999999999986e-138 or 5.5000000000000001e-199 < y2 < 3.3999999999999998e-61Initial program 31.5%
Taylor expanded in y1 around -inf 52.9%
associate-*r*52.9%
neg-mul-152.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in i around -inf 46.3%
if -2.09999999999999986e-138 < y2 < 3.0999999999999997e-219Initial program 43.2%
Taylor expanded in k around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
associate-*r*54.6%
neg-mul-154.6%
Simplified54.6%
Taylor expanded in z around inf 40.0%
if 3.0999999999999997e-219 < y2 < 5.5000000000000001e-199Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 3.3999999999999998e-61 < y2 < 3e118Initial program 27.2%
Taylor expanded in y0 around inf 37.5%
+-commutative37.5%
mul-1-neg37.5%
unsub-neg37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in y5 around inf 44.9%
if 3e118 < y2 < 1.06e158Initial program 50.0%
Taylor expanded in t around inf 51.3%
Taylor expanded in a around -inf 67.2%
mul-1-neg67.2%
Simplified67.2%
if 1.06e158 < y2 < 2.6999999999999999e231Initial program 30.0%
Taylor expanded in y0 around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in y2 around inf 70.7%
if 2.6999999999999999e231 < y2 Initial program 13.0%
Taylor expanded in t around inf 34.9%
Taylor expanded in c around inf 65.5%
Final simplification50.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k)))))
(t_2 (* k (* y2 (- (* y1 y4) (* y0 y5)))))
(t_3 (* k (* y (- (* i y5) (* b y4))))))
(if (<= y2 -3.05e+131)
t_2
(if (<= y2 -90000000000.0)
t_1
(if (<= y2 -7.2e-219)
t_3
(if (<= y2 3.4e-199)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 1.68e-59)
t_1
(if (<= y2 8.2e+80)
(* y0 (* y5 (* j y3)))
(if (<= y2 2.45e+138) t_3 t_2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * ((x * j) - (z * k)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_3 = k * (y * ((i * y5) - (b * y4)));
double tmp;
if (y2 <= -3.05e+131) {
tmp = t_2;
} else if (y2 <= -90000000000.0) {
tmp = t_1;
} else if (y2 <= -7.2e-219) {
tmp = t_3;
} else if (y2 <= 3.4e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.68e-59) {
tmp = t_1;
} else if (y2 <= 8.2e+80) {
tmp = y0 * (y5 * (j * y3));
} else if (y2 <= 2.45e+138) {
tmp = t_3;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = i * (y1 * ((x * j) - (z * k)))
t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)))
t_3 = k * (y * ((i * y5) - (b * y4)))
if (y2 <= (-3.05d+131)) then
tmp = t_2
else if (y2 <= (-90000000000.0d0)) then
tmp = t_1
else if (y2 <= (-7.2d-219)) then
tmp = t_3
else if (y2 <= 3.4d-199) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 1.68d-59) then
tmp = t_1
else if (y2 <= 8.2d+80) then
tmp = y0 * (y5 * (j * y3))
else if (y2 <= 2.45d+138) then
tmp = t_3
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * ((x * j) - (z * k)));
double t_2 = k * (y2 * ((y1 * y4) - (y0 * y5)));
double t_3 = k * (y * ((i * y5) - (b * y4)));
double tmp;
if (y2 <= -3.05e+131) {
tmp = t_2;
} else if (y2 <= -90000000000.0) {
tmp = t_1;
} else if (y2 <= -7.2e-219) {
tmp = t_3;
} else if (y2 <= 3.4e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.68e-59) {
tmp = t_1;
} else if (y2 <= 8.2e+80) {
tmp = y0 * (y5 * (j * y3));
} else if (y2 <= 2.45e+138) {
tmp = t_3;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * ((x * j) - (z * k))) t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))) t_3 = k * (y * ((i * y5) - (b * y4))) tmp = 0 if y2 <= -3.05e+131: tmp = t_2 elif y2 <= -90000000000.0: tmp = t_1 elif y2 <= -7.2e-219: tmp = t_3 elif y2 <= 3.4e-199: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 1.68e-59: tmp = t_1 elif y2 <= 8.2e+80: tmp = y0 * (y5 * (j * y3)) elif y2 <= 2.45e+138: tmp = t_3 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) t_2 = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) t_3 = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) tmp = 0.0 if (y2 <= -3.05e+131) tmp = t_2; elseif (y2 <= -90000000000.0) tmp = t_1; elseif (y2 <= -7.2e-219) tmp = t_3; elseif (y2 <= 3.4e-199) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 1.68e-59) tmp = t_1; elseif (y2 <= 8.2e+80) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); elseif (y2 <= 2.45e+138) tmp = t_3; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (y1 * ((x * j) - (z * k))); t_2 = k * (y2 * ((y1 * y4) - (y0 * y5))); t_3 = k * (y * ((i * y5) - (b * y4))); tmp = 0.0; if (y2 <= -3.05e+131) tmp = t_2; elseif (y2 <= -90000000000.0) tmp = t_1; elseif (y2 <= -7.2e-219) tmp = t_3; elseif (y2 <= 3.4e-199) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 1.68e-59) tmp = t_1; elseif (y2 <= 8.2e+80) tmp = y0 * (y5 * (j * y3)); elseif (y2 <= 2.45e+138) tmp = t_3; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.05e+131], t$95$2, If[LessEqual[y2, -90000000000.0], t$95$1, If[LessEqual[y2, -7.2e-219], t$95$3, If[LessEqual[y2, 3.4e-199], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.68e-59], t$95$1, If[LessEqual[y2, 8.2e+80], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.45e+138], t$95$3, t$95$2]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
t_2 := k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
t_3 := k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{if}\;y2 \leq -3.05 \cdot 10^{+131}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq -90000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -7.2 \cdot 10^{-219}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y2 \leq 3.4 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.68 \cdot 10^{-59}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 8.2 \cdot 10^{+80}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 2.45 \cdot 10^{+138}:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y2 < -3.0499999999999999e131 or 2.44999999999999992e138 < y2 Initial program 24.7%
Taylor expanded in k around inf 35.4%
+-commutative35.4%
mul-1-neg35.4%
unsub-neg35.4%
*-commutative35.4%
associate-*r*35.4%
neg-mul-135.4%
Simplified35.4%
Taylor expanded in y2 around inf 53.5%
if -3.0499999999999999e131 < y2 < -9e10 or 3.40000000000000006e-199 < y2 < 1.67999999999999993e-59Initial program 37.0%
Taylor expanded in y1 around -inf 48.8%
associate-*r*48.8%
neg-mul-148.8%
+-commutative48.8%
mul-1-neg48.8%
unsub-neg48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in i around -inf 48.9%
if -9e10 < y2 < -7.19999999999999947e-219 or 8.20000000000000003e80 < y2 < 2.44999999999999992e138Initial program 33.4%
Taylor expanded in k around inf 52.2%
+-commutative52.2%
mul-1-neg52.2%
unsub-neg52.2%
*-commutative52.2%
associate-*r*52.2%
neg-mul-152.2%
Simplified52.2%
Taylor expanded in y around inf 44.3%
if -7.19999999999999947e-219 < y2 < 3.40000000000000006e-199Initial program 43.2%
Taylor expanded in b around inf 57.1%
Taylor expanded in x around inf 41.9%
if 1.67999999999999993e-59 < y2 < 8.20000000000000003e80Initial program 26.3%
Taylor expanded in y0 around inf 39.5%
+-commutative39.5%
mul-1-neg39.5%
unsub-neg39.5%
*-commutative39.5%
*-commutative39.5%
*-commutative39.5%
*-commutative39.5%
Simplified39.5%
Taylor expanded in y3 around -inf 49.2%
associate-*r*49.2%
neg-mul-149.2%
Simplified49.2%
Taylor expanded in c around 0 39.8%
associate-*r*39.8%
neg-mul-139.8%
Simplified39.8%
pow139.8%
associate-*r*36.7%
Applied egg-rr36.7%
unpow136.7%
associate-*l*39.8%
distribute-lft-neg-in39.8%
*-commutative39.8%
distribute-lft-neg-in39.8%
distribute-lft-neg-in39.8%
remove-double-neg39.8%
associate-*r*43.0%
*-commutative43.0%
Simplified43.0%
Final simplification47.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* y3 (- (* y0 y5) (* y1 y4))))))
(if (<= y3 -3.7e+253)
(* y4 (- (* y1 (- (* k y2) (* j y3))) (* c (* t y2))))
(if (<= y3 -1.4e+55)
t_1
(if (<= y3 -7.8e-294)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y3 2.4e+131)
(* y1 (+ (* i (- (* x j) (* z k))) (* a (- (* z y3) (* x y2)))))
(if (or (<= y3 5e+209) (not (<= y3 8e+260)))
t_1
(* c (* y0 (* z (- 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 = j * (y3 * ((y0 * y5) - (y1 * y4)));
double tmp;
if (y3 <= -3.7e+253) {
tmp = y4 * ((y1 * ((k * y2) - (j * y3))) - (c * (t * y2)));
} else if (y3 <= -1.4e+55) {
tmp = t_1;
} else if (y3 <= -7.8e-294) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y3 <= 2.4e+131) {
tmp = y1 * ((i * ((x * j) - (z * k))) + (a * ((z * y3) - (x * y2))));
} else if ((y3 <= 5e+209) || !(y3 <= 8e+260)) {
tmp = t_1;
} else {
tmp = c * (y0 * (z * -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 = j * (y3 * ((y0 * y5) - (y1 * y4)))
if (y3 <= (-3.7d+253)) then
tmp = y4 * ((y1 * ((k * y2) - (j * y3))) - (c * (t * y2)))
else if (y3 <= (-1.4d+55)) then
tmp = t_1
else if (y3 <= (-7.8d-294)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y3 <= 2.4d+131) then
tmp = y1 * ((i * ((x * j) - (z * k))) + (a * ((z * y3) - (x * y2))))
else if ((y3 <= 5d+209) .or. (.not. (y3 <= 8d+260))) then
tmp = t_1
else
tmp = c * (y0 * (z * -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 = j * (y3 * ((y0 * y5) - (y1 * y4)));
double tmp;
if (y3 <= -3.7e+253) {
tmp = y4 * ((y1 * ((k * y2) - (j * y3))) - (c * (t * y2)));
} else if (y3 <= -1.4e+55) {
tmp = t_1;
} else if (y3 <= -7.8e-294) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y3 <= 2.4e+131) {
tmp = y1 * ((i * ((x * j) - (z * k))) + (a * ((z * y3) - (x * y2))));
} else if ((y3 <= 5e+209) || !(y3 <= 8e+260)) {
tmp = t_1;
} else {
tmp = c * (y0 * (z * -y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (y3 * ((y0 * y5) - (y1 * y4))) tmp = 0 if y3 <= -3.7e+253: tmp = y4 * ((y1 * ((k * y2) - (j * y3))) - (c * (t * y2))) elif y3 <= -1.4e+55: tmp = t_1 elif y3 <= -7.8e-294: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y3 <= 2.4e+131: tmp = y1 * ((i * ((x * j) - (z * k))) + (a * ((z * y3) - (x * y2)))) elif (y3 <= 5e+209) or not (y3 <= 8e+260): tmp = t_1 else: tmp = c * (y0 * (z * -y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) tmp = 0.0 if (y3 <= -3.7e+253) tmp = Float64(y4 * Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) - Float64(c * Float64(t * y2)))); elseif (y3 <= -1.4e+55) tmp = t_1; elseif (y3 <= -7.8e-294) 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 (y3 <= 2.4e+131) tmp = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) + Float64(a * Float64(Float64(z * y3) - Float64(x * y2))))); elseif ((y3 <= 5e+209) || !(y3 <= 8e+260)) tmp = t_1; else tmp = Float64(c * Float64(y0 * Float64(z * Float64(-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 = j * (y3 * ((y0 * y5) - (y1 * y4))); tmp = 0.0; if (y3 <= -3.7e+253) tmp = y4 * ((y1 * ((k * y2) - (j * y3))) - (c * (t * y2))); elseif (y3 <= -1.4e+55) tmp = t_1; elseif (y3 <= -7.8e-294) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y3 <= 2.4e+131) tmp = y1 * ((i * ((x * j) - (z * k))) + (a * ((z * y3) - (x * y2)))); elseif ((y3 <= 5e+209) || ~((y3 <= 8e+260))) tmp = t_1; else tmp = c * (y0 * (z * -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[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -3.7e+253], N[(y4 * N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.4e+55], t$95$1, If[LessEqual[y3, -7.8e-294], 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[y3, 2.4e+131], N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y3, 5e+209], N[Not[LessEqual[y3, 8e+260]], $MachinePrecision]], t$95$1, N[(c * N[(y0 * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{if}\;y3 \leq -3.7 \cdot 10^{+253}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) - c \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq -1.4 \cdot 10^{+55}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-294}:\\
\;\;\;\;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}\;y3 \leq 2.4 \cdot 10^{+131}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 5 \cdot 10^{+209} \lor \neg \left(y3 \leq 8 \cdot 10^{+260}\right):\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\
\end{array}
\end{array}
if y3 < -3.70000000000000029e253Initial program 23.1%
Taylor expanded in y2 around inf 31.3%
*-commutative31.3%
Simplified31.3%
Taylor expanded in y4 around inf 69.2%
+-commutative69.2%
mul-1-neg69.2%
unsub-neg69.2%
*-commutative69.2%
*-commutative69.2%
Simplified69.2%
if -3.70000000000000029e253 < y3 < -1.4e55 or 2.3999999999999999e131 < y3 < 4.99999999999999964e209 or 8.00000000000000052e260 < y3 Initial program 29.0%
Taylor expanded in y3 around -inf 61.8%
Taylor expanded in j around inf 59.7%
if -1.4e55 < y3 < -7.8000000000000005e-294Initial program 31.3%
Taylor expanded in b around inf 49.5%
if -7.8000000000000005e-294 < y3 < 2.3999999999999999e131Initial program 35.6%
Taylor expanded in y1 around -inf 45.3%
associate-*r*45.3%
neg-mul-145.3%
+-commutative45.3%
mul-1-neg45.3%
unsub-neg45.3%
*-commutative45.3%
*-commutative45.3%
*-commutative45.3%
*-commutative45.3%
Simplified45.3%
Taylor expanded in y4 around 0 46.4%
if 4.99999999999999964e209 < y3 < 8.00000000000000052e260Initial program 44.4%
Taylor expanded in y0 around inf 78.3%
+-commutative78.3%
mul-1-neg78.3%
unsub-neg78.3%
*-commutative78.3%
*-commutative78.3%
*-commutative78.3%
*-commutative78.3%
Simplified78.3%
Taylor expanded in y3 around -inf 57.3%
associate-*r*57.3%
neg-mul-157.3%
Simplified57.3%
Taylor expanded in c around inf 89.2%
associate-*r*89.2%
mul-1-neg89.2%
Simplified89.2%
Final simplification54.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* z (- y3))) (t_2 (* y0 (* y5 (* j y3)))))
(if (<= y3 -1.55e+227)
(* y0 (* c t_1))
(if (<= y3 -2.6e+19)
t_2
(if (<= y3 2.9e-252)
(* b (* a (- (* x y) (* z t))))
(if (<= y3 720000000000.0)
(* k (* y4 (* y1 y2)))
(if (<= y3 3.6e+95)
(* y0 (* b (* x (- j))))
(if (<= y3 2e+131)
(* b (* k (* z y0)))
(if (<= y3 8.2e+269) (* c (* y0 t_1)) t_2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * -y3;
double t_2 = y0 * (y5 * (j * y3));
double tmp;
if (y3 <= -1.55e+227) {
tmp = y0 * (c * t_1);
} else if (y3 <= -2.6e+19) {
tmp = t_2;
} else if (y3 <= 2.9e-252) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y3 <= 720000000000.0) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 3.6e+95) {
tmp = y0 * (b * (x * -j));
} else if (y3 <= 2e+131) {
tmp = b * (k * (z * y0));
} else if (y3 <= 8.2e+269) {
tmp = c * (y0 * t_1);
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = z * -y3
t_2 = y0 * (y5 * (j * y3))
if (y3 <= (-1.55d+227)) then
tmp = y0 * (c * t_1)
else if (y3 <= (-2.6d+19)) then
tmp = t_2
else if (y3 <= 2.9d-252) then
tmp = b * (a * ((x * y) - (z * t)))
else if (y3 <= 720000000000.0d0) then
tmp = k * (y4 * (y1 * y2))
else if (y3 <= 3.6d+95) then
tmp = y0 * (b * (x * -j))
else if (y3 <= 2d+131) then
tmp = b * (k * (z * y0))
else if (y3 <= 8.2d+269) then
tmp = c * (y0 * t_1)
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * -y3;
double t_2 = y0 * (y5 * (j * y3));
double tmp;
if (y3 <= -1.55e+227) {
tmp = y0 * (c * t_1);
} else if (y3 <= -2.6e+19) {
tmp = t_2;
} else if (y3 <= 2.9e-252) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y3 <= 720000000000.0) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 3.6e+95) {
tmp = y0 * (b * (x * -j));
} else if (y3 <= 2e+131) {
tmp = b * (k * (z * y0));
} else if (y3 <= 8.2e+269) {
tmp = c * (y0 * t_1);
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = z * -y3 t_2 = y0 * (y5 * (j * y3)) tmp = 0 if y3 <= -1.55e+227: tmp = y0 * (c * t_1) elif y3 <= -2.6e+19: tmp = t_2 elif y3 <= 2.9e-252: tmp = b * (a * ((x * y) - (z * t))) elif y3 <= 720000000000.0: tmp = k * (y4 * (y1 * y2)) elif y3 <= 3.6e+95: tmp = y0 * (b * (x * -j)) elif y3 <= 2e+131: tmp = b * (k * (z * y0)) elif y3 <= 8.2e+269: tmp = c * (y0 * t_1) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(z * Float64(-y3)) t_2 = Float64(y0 * Float64(y5 * Float64(j * y3))) tmp = 0.0 if (y3 <= -1.55e+227) tmp = Float64(y0 * Float64(c * t_1)); elseif (y3 <= -2.6e+19) tmp = t_2; elseif (y3 <= 2.9e-252) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (y3 <= 720000000000.0) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (y3 <= 3.6e+95) tmp = Float64(y0 * Float64(b * Float64(x * Float64(-j)))); elseif (y3 <= 2e+131) tmp = Float64(b * Float64(k * Float64(z * y0))); elseif (y3 <= 8.2e+269) tmp = Float64(c * Float64(y0 * t_1)); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = z * -y3; t_2 = y0 * (y5 * (j * y3)); tmp = 0.0; if (y3 <= -1.55e+227) tmp = y0 * (c * t_1); elseif (y3 <= -2.6e+19) tmp = t_2; elseif (y3 <= 2.9e-252) tmp = b * (a * ((x * y) - (z * t))); elseif (y3 <= 720000000000.0) tmp = k * (y4 * (y1 * y2)); elseif (y3 <= 3.6e+95) tmp = y0 * (b * (x * -j)); elseif (y3 <= 2e+131) tmp = b * (k * (z * y0)); elseif (y3 <= 8.2e+269) tmp = c * (y0 * t_1); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * (-y3)), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.55e+227], N[(y0 * N[(c * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.6e+19], t$95$2, If[LessEqual[y3, 2.9e-252], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 720000000000.0], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.6e+95], N[(y0 * N[(b * N[(x * (-j)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2e+131], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8.2e+269], N[(c * N[(y0 * t$95$1), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(-y3\right)\\
t_2 := y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{if}\;y3 \leq -1.55 \cdot 10^{+227}:\\
\;\;\;\;y0 \cdot \left(c \cdot t\_1\right)\\
\mathbf{elif}\;y3 \leq -2.6 \cdot 10^{+19}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq 2.9 \cdot 10^{-252}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y3 \leq 720000000000:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 3.6 \cdot 10^{+95}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(x \cdot \left(-j\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 2 \cdot 10^{+131}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{elif}\;y3 \leq 8.2 \cdot 10^{+269}:\\
\;\;\;\;c \cdot \left(y0 \cdot t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y3 < -1.5499999999999999e227Initial program 17.4%
Taylor expanded in y0 around inf 21.8%
+-commutative21.8%
mul-1-neg21.8%
unsub-neg21.8%
*-commutative21.8%
*-commutative21.8%
*-commutative21.8%
*-commutative21.8%
Simplified21.8%
Taylor expanded in y3 around -inf 48.0%
associate-*r*48.0%
neg-mul-148.0%
Simplified48.0%
Taylor expanded in c around inf 48.6%
if -1.5499999999999999e227 < y3 < -2.6e19 or 8.20000000000000015e269 < y3 Initial program 27.6%
Taylor expanded in y0 around inf 44.0%
+-commutative44.0%
mul-1-neg44.0%
unsub-neg44.0%
*-commutative44.0%
*-commutative44.0%
*-commutative44.0%
*-commutative44.0%
Simplified44.0%
Taylor expanded in y3 around -inf 41.1%
associate-*r*41.1%
neg-mul-141.1%
Simplified41.1%
Taylor expanded in c around 0 41.4%
associate-*r*41.4%
neg-mul-141.4%
Simplified41.4%
pow141.4%
associate-*r*39.7%
Applied egg-rr39.7%
unpow139.7%
associate-*l*41.4%
distribute-lft-neg-in41.4%
*-commutative41.4%
distribute-lft-neg-in41.4%
distribute-lft-neg-in41.4%
remove-double-neg41.4%
associate-*r*46.7%
*-commutative46.7%
Simplified46.7%
if -2.6e19 < y3 < 2.9000000000000001e-252Initial program 37.9%
Taylor expanded in b around inf 45.1%
Taylor expanded in a around inf 27.2%
if 2.9000000000000001e-252 < y3 < 7.2e11Initial program 30.0%
Taylor expanded in k around inf 44.8%
+-commutative44.8%
mul-1-neg44.8%
unsub-neg44.8%
*-commutative44.8%
associate-*r*44.8%
neg-mul-144.8%
Simplified44.8%
Taylor expanded in y4 around inf 39.2%
Taylor expanded in y1 around inf 37.3%
if 7.2e11 < y3 < 3.59999999999999978e95Initial program 39.9%
Taylor expanded in y0 around inf 40.9%
+-commutative40.9%
mul-1-neg40.9%
unsub-neg40.9%
*-commutative40.9%
*-commutative40.9%
*-commutative40.9%
*-commutative40.9%
Simplified40.9%
Taylor expanded in b around inf 41.1%
Taylor expanded in k around 0 34.6%
associate-*r*34.6%
neg-mul-134.6%
Simplified34.6%
if 3.59999999999999978e95 < y3 < 1.9999999999999998e131Initial program 22.2%
Taylor expanded in y0 around inf 33.8%
+-commutative33.8%
mul-1-neg33.8%
unsub-neg33.8%
*-commutative33.8%
*-commutative33.8%
*-commutative33.8%
*-commutative33.8%
Simplified33.8%
Taylor expanded in b around inf 23.3%
Taylor expanded in k around inf 46.0%
if 1.9999999999999998e131 < y3 < 8.20000000000000015e269Initial program 39.9%
Taylor expanded in y0 around inf 40.7%
+-commutative40.7%
mul-1-neg40.7%
unsub-neg40.7%
*-commutative40.7%
*-commutative40.7%
*-commutative40.7%
*-commutative40.7%
Simplified40.7%
Taylor expanded in y3 around -inf 41.3%
associate-*r*41.3%
neg-mul-141.3%
Simplified41.3%
Taylor expanded in c around inf 48.1%
associate-*r*48.1%
mul-1-neg48.1%
Simplified48.1%
Final simplification38.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -1.9e+132)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y2 -15000000000000.0)
t_1
(if (<= y2 -1.15e-214)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y2 4.8e-199)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 3.3e-63)
t_1
(if (<= y2 2.8e+42)
(* y0 (* y5 (* j y3)))
(* k (* y4 (- (* y1 y2) (* y b))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -1.9e+132) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -15000000000000.0) {
tmp = t_1;
} else if (y2 <= -1.15e-214) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y2 <= 4.8e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 3.3e-63) {
tmp = t_1;
} else if (y2 <= 2.8e+42) {
tmp = y0 * (y5 * (j * y3));
} else {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-1.9d+132)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y2 <= (-15000000000000.0d0)) then
tmp = t_1
else if (y2 <= (-1.15d-214)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y2 <= 4.8d-199) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 3.3d-63) then
tmp = t_1
else if (y2 <= 2.8d+42) then
tmp = y0 * (y5 * (j * y3))
else
tmp = k * (y4 * ((y1 * y2) - (y * b)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -1.9e+132) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -15000000000000.0) {
tmp = t_1;
} else if (y2 <= -1.15e-214) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y2 <= 4.8e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 3.3e-63) {
tmp = t_1;
} else if (y2 <= 2.8e+42) {
tmp = y0 * (y5 * (j * y3));
} else {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -1.9e+132: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y2 <= -15000000000000.0: tmp = t_1 elif y2 <= -1.15e-214: tmp = k * (y * ((i * y5) - (b * y4))) elif y2 <= 4.8e-199: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 3.3e-63: tmp = t_1 elif y2 <= 2.8e+42: tmp = y0 * (y5 * (j * y3)) else: tmp = k * (y4 * ((y1 * y2) - (y * b))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -1.9e+132) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y2 <= -15000000000000.0) tmp = t_1; elseif (y2 <= -1.15e-214) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y2 <= 4.8e-199) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 3.3e-63) tmp = t_1; elseif (y2 <= 2.8e+42) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); else tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -1.9e+132) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y2 <= -15000000000000.0) tmp = t_1; elseif (y2 <= -1.15e-214) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y2 <= 4.8e-199) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 3.3e-63) tmp = t_1; elseif (y2 <= 2.8e+42) tmp = y0 * (y5 * (j * y3)); else tmp = k * (y4 * ((y1 * y2) - (y * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.9e+132], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -15000000000000.0], t$95$1, If[LessEqual[y2, -1.15e-214], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.8e-199], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.3e-63], t$95$1, If[LessEqual[y2, 2.8e+42], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -1.9 \cdot 10^{+132}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -15000000000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-214}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 4.8 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-63}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 2.8 \cdot 10^{+42}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\end{array}
\end{array}
if y2 < -1.90000000000000003e132Initial program 29.7%
Taylor expanded in k around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
associate-*r*39.6%
neg-mul-139.6%
Simplified39.6%
Taylor expanded in y2 around inf 53.3%
if -1.90000000000000003e132 < y2 < -1.5e13 or 4.79999999999999991e-199 < y2 < 3.29999999999999994e-63Initial program 37.0%
Taylor expanded in y1 around -inf 48.8%
associate-*r*48.8%
neg-mul-148.8%
+-commutative48.8%
mul-1-neg48.8%
unsub-neg48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in i around -inf 48.9%
if -1.5e13 < y2 < -1.15000000000000005e-214Initial program 30.1%
Taylor expanded in k around inf 55.7%
+-commutative55.7%
mul-1-neg55.7%
unsub-neg55.7%
*-commutative55.7%
associate-*r*55.7%
neg-mul-155.7%
Simplified55.7%
Taylor expanded in y around inf 42.9%
if -1.15000000000000005e-214 < y2 < 4.79999999999999991e-199Initial program 43.2%
Taylor expanded in b around inf 57.1%
Taylor expanded in x around inf 41.9%
if 3.29999999999999994e-63 < y2 < 2.7999999999999999e42Initial program 20.2%
Taylor expanded in y0 around inf 40.5%
+-commutative40.5%
mul-1-neg40.5%
unsub-neg40.5%
*-commutative40.5%
*-commutative40.5%
*-commutative40.5%
*-commutative40.5%
Simplified40.5%
Taylor expanded in y3 around -inf 52.6%
associate-*r*52.6%
neg-mul-152.6%
Simplified52.6%
Taylor expanded in c around 0 41.0%
associate-*r*41.0%
neg-mul-141.0%
Simplified41.0%
pow141.0%
associate-*r*37.2%
Applied egg-rr37.2%
unpow137.2%
associate-*l*41.0%
distribute-lft-neg-in41.0%
*-commutative41.0%
distribute-lft-neg-in41.0%
distribute-lft-neg-in41.0%
remove-double-neg41.0%
associate-*r*44.7%
*-commutative44.7%
Simplified44.7%
if 2.7999999999999999e42 < y2 Initial program 29.7%
Taylor expanded in k around inf 36.7%
+-commutative36.7%
mul-1-neg36.7%
unsub-neg36.7%
*-commutative36.7%
associate-*r*36.7%
neg-mul-136.7%
Simplified36.7%
Taylor expanded in y4 around inf 45.0%
Final simplification46.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -3.3e+131)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y2 -8.5e-138)
t_1
(if (<= y2 2.3e-219)
(* k (* z (- (* b y0) (* i y1))))
(if (<= y2 4.5e-199)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 3.3e-64)
t_1
(if (<= y2 2.8e+42)
(* y0 (* y5 (* j y3)))
(* k (* y4 (- (* y1 y2) (* y b))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.3e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -8.5e-138) {
tmp = t_1;
} else if (y2 <= 2.3e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 4.5e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 3.3e-64) {
tmp = t_1;
} else if (y2 <= 2.8e+42) {
tmp = y0 * (y5 * (j * y3));
} else {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-3.3d+131)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y2 <= (-8.5d-138)) then
tmp = t_1
else if (y2 <= 2.3d-219) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (y2 <= 4.5d-199) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 3.3d-64) then
tmp = t_1
else if (y2 <= 2.8d+42) then
tmp = y0 * (y5 * (j * y3))
else
tmp = k * (y4 * ((y1 * y2) - (y * b)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -3.3e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -8.5e-138) {
tmp = t_1;
} else if (y2 <= 2.3e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 4.5e-199) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 3.3e-64) {
tmp = t_1;
} else if (y2 <= 2.8e+42) {
tmp = y0 * (y5 * (j * y3));
} else {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -3.3e+131: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y2 <= -8.5e-138: tmp = t_1 elif y2 <= 2.3e-219: tmp = k * (z * ((b * y0) - (i * y1))) elif y2 <= 4.5e-199: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 3.3e-64: tmp = t_1 elif y2 <= 2.8e+42: tmp = y0 * (y5 * (j * y3)) else: tmp = k * (y4 * ((y1 * y2) - (y * b))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -3.3e+131) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y2 <= -8.5e-138) tmp = t_1; elseif (y2 <= 2.3e-219) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (y2 <= 4.5e-199) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 3.3e-64) tmp = t_1; elseif (y2 <= 2.8e+42) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); else tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -3.3e+131) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y2 <= -8.5e-138) tmp = t_1; elseif (y2 <= 2.3e-219) tmp = k * (z * ((b * y0) - (i * y1))); elseif (y2 <= 4.5e-199) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 3.3e-64) tmp = t_1; elseif (y2 <= 2.8e+42) tmp = y0 * (y5 * (j * y3)); else tmp = k * (y4 * ((y1 * y2) - (y * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.3e+131], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -8.5e-138], t$95$1, If[LessEqual[y2, 2.3e-219], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.5e-199], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.3e-64], t$95$1, If[LessEqual[y2, 2.8e+42], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -3.3 \cdot 10^{+131}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -8.5 \cdot 10^{-138}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 2.3 \cdot 10^{-219}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq 4.5 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-64}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 2.8 \cdot 10^{+42}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\end{array}
\end{array}
if y2 < -3.2999999999999998e131Initial program 29.7%
Taylor expanded in k around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
associate-*r*39.6%
neg-mul-139.6%
Simplified39.6%
Taylor expanded in y2 around inf 53.3%
if -3.2999999999999998e131 < y2 < -8.50000000000000035e-138 or 4.49999999999999998e-199 < y2 < 3.2999999999999999e-64Initial program 31.5%
Taylor expanded in y1 around -inf 52.9%
associate-*r*52.9%
neg-mul-152.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in i around -inf 46.3%
if -8.50000000000000035e-138 < y2 < 2.29999999999999988e-219Initial program 43.2%
Taylor expanded in k around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
associate-*r*54.6%
neg-mul-154.6%
Simplified54.6%
Taylor expanded in z around inf 40.0%
if 2.29999999999999988e-219 < y2 < 4.49999999999999998e-199Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 3.2999999999999999e-64 < y2 < 2.7999999999999999e42Initial program 20.2%
Taylor expanded in y0 around inf 40.5%
+-commutative40.5%
mul-1-neg40.5%
unsub-neg40.5%
*-commutative40.5%
*-commutative40.5%
*-commutative40.5%
*-commutative40.5%
Simplified40.5%
Taylor expanded in y3 around -inf 52.6%
associate-*r*52.6%
neg-mul-152.6%
Simplified52.6%
Taylor expanded in c around 0 41.0%
associate-*r*41.0%
neg-mul-141.0%
Simplified41.0%
pow141.0%
associate-*r*37.2%
Applied egg-rr37.2%
unpow137.2%
associate-*l*41.0%
distribute-lft-neg-in41.0%
*-commutative41.0%
distribute-lft-neg-in41.0%
distribute-lft-neg-in41.0%
remove-double-neg41.0%
associate-*r*44.7%
*-commutative44.7%
Simplified44.7%
if 2.7999999999999999e42 < y2 Initial program 29.7%
Taylor expanded in k around inf 36.7%
+-commutative36.7%
mul-1-neg36.7%
unsub-neg36.7%
*-commutative36.7%
associate-*r*36.7%
neg-mul-136.7%
Simplified36.7%
Taylor expanded in y4 around inf 45.0%
Final simplification46.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (- (* x j) (* z k))))))
(if (<= y2 -4.8e+131)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y2 -2.6e-141)
t_1
(if (<= y2 8.4e-219)
(* k (* z (- (* b y0) (* i y1))))
(if (<= y2 1.05e-197)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 1.55e-62)
t_1
(if (<= y2 4.8e+84)
(* y0 (* y5 (* j y3)))
(* t (* c (- (* 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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -4.8e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -2.6e-141) {
tmp = t_1;
} else if (y2 <= 8.4e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 1.05e-197) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.55e-62) {
tmp = t_1;
} else if (y2 <= 4.8e+84) {
tmp = y0 * (y5 * (j * y3));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)))
if (y2 <= (-4.8d+131)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y2 <= (-2.6d-141)) then
tmp = t_1
else if (y2 <= 8.4d-219) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (y2 <= 1.05d-197) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 1.55d-62) then
tmp = t_1
else if (y2 <= 4.8d+84) then
tmp = y0 * (y5 * (j * y3))
else
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k)));
double tmp;
if (y2 <= -4.8e+131) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y2 <= -2.6e-141) {
tmp = t_1;
} else if (y2 <= 8.4e-219) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y2 <= 1.05e-197) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.55e-62) {
tmp = t_1;
} else if (y2 <= 4.8e+84) {
tmp = y0 * (y5 * (j * y3));
} else {
tmp = t * (c * ((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 = i * (y1 * ((x * j) - (z * k))) tmp = 0 if y2 <= -4.8e+131: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y2 <= -2.6e-141: tmp = t_1 elif y2 <= 8.4e-219: tmp = k * (z * ((b * y0) - (i * y1))) elif y2 <= 1.05e-197: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 1.55e-62: tmp = t_1 elif y2 <= 4.8e+84: tmp = y0 * (y5 * (j * y3)) else: tmp = t * (c * ((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(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))) tmp = 0.0 if (y2 <= -4.8e+131) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y2 <= -2.6e-141) tmp = t_1; elseif (y2 <= 8.4e-219) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (y2 <= 1.05e-197) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 1.55e-62) tmp = t_1; elseif (y2 <= 4.8e+84) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); else tmp = Float64(t * Float64(c * 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 = i * (y1 * ((x * j) - (z * k))); tmp = 0.0; if (y2 <= -4.8e+131) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y2 <= -2.6e-141) tmp = t_1; elseif (y2 <= 8.4e-219) tmp = k * (z * ((b * y0) - (i * y1))); elseif (y2 <= 1.05e-197) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 1.55e-62) tmp = t_1; elseif (y2 <= 4.8e+84) tmp = y0 * (y5 * (j * y3)); else tmp = t * (c * ((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[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -4.8e+131], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.6e-141], t$95$1, If[LessEqual[y2, 8.4e-219], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.05e-197], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.55e-62], t$95$1, If[LessEqual[y2, 4.8e+84], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -4.8 \cdot 10^{+131}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq -2.6 \cdot 10^{-141}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 8.4 \cdot 10^{-219}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq 1.05 \cdot 10^{-197}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.55 \cdot 10^{-62}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 4.8 \cdot 10^{+84}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -4.7999999999999999e131Initial program 29.7%
Taylor expanded in k around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
associate-*r*39.6%
neg-mul-139.6%
Simplified39.6%
Taylor expanded in y2 around inf 53.3%
if -4.7999999999999999e131 < y2 < -2.60000000000000011e-141 or 1.05e-197 < y2 < 1.55e-62Initial program 31.5%
Taylor expanded in y1 around -inf 52.9%
associate-*r*52.9%
neg-mul-152.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in i around -inf 46.3%
if -2.60000000000000011e-141 < y2 < 8.40000000000000001e-219Initial program 43.2%
Taylor expanded in k around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
associate-*r*54.6%
neg-mul-154.6%
Simplified54.6%
Taylor expanded in z around inf 40.0%
if 8.40000000000000001e-219 < y2 < 1.05e-197Initial program 33.2%
Taylor expanded in b around inf 55.8%
Taylor expanded in x around inf 67.7%
if 1.55e-62 < y2 < 4.7999999999999999e84Initial program 24.7%
Taylor expanded in y0 around inf 43.2%
+-commutative43.2%
mul-1-neg43.2%
unsub-neg43.2%
*-commutative43.2%
*-commutative43.2%
*-commutative43.2%
*-commutative43.2%
Simplified43.2%
Taylor expanded in y3 around -inf 49.3%
associate-*r*49.3%
neg-mul-149.3%
Simplified49.3%
Taylor expanded in c around 0 40.5%
associate-*r*40.5%
neg-mul-140.5%
Simplified40.5%
pow140.5%
associate-*r*37.6%
Applied egg-rr37.6%
unpow137.6%
associate-*l*40.5%
distribute-lft-neg-in40.5%
*-commutative40.5%
distribute-lft-neg-in40.5%
distribute-lft-neg-in40.5%
remove-double-neg40.5%
associate-*r*43.5%
*-commutative43.5%
Simplified43.5%
if 4.7999999999999999e84 < y2 Initial program 28.3%
Taylor expanded in t around inf 34.7%
Taylor expanded in c around inf 46.3%
Final simplification46.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y0 (* z (- y3))))) (t_2 (* y0 (* y5 (* j y3)))))
(if (<= y3 -1.4e+228)
t_1
(if (<= y3 -1.06e-112)
t_2
(if (<= y3 4300000000000.0)
(* k (* y4 (* y1 y2)))
(if (<= y3 3.2e+95)
(* y0 (* b (* x (- j))))
(if (<= y3 1.8e+131)
(* b (* k (* z y0)))
(if (<= y3 1.35e+270) t_1 t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y0 * (z * -y3));
double t_2 = y0 * (y5 * (j * y3));
double tmp;
if (y3 <= -1.4e+228) {
tmp = t_1;
} else if (y3 <= -1.06e-112) {
tmp = t_2;
} else if (y3 <= 4300000000000.0) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 3.2e+95) {
tmp = y0 * (b * (x * -j));
} else if (y3 <= 1.8e+131) {
tmp = b * (k * (z * y0));
} else if (y3 <= 1.35e+270) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = c * (y0 * (z * -y3))
t_2 = y0 * (y5 * (j * y3))
if (y3 <= (-1.4d+228)) then
tmp = t_1
else if (y3 <= (-1.06d-112)) then
tmp = t_2
else if (y3 <= 4300000000000.0d0) then
tmp = k * (y4 * (y1 * y2))
else if (y3 <= 3.2d+95) then
tmp = y0 * (b * (x * -j))
else if (y3 <= 1.8d+131) then
tmp = b * (k * (z * y0))
else if (y3 <= 1.35d+270) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y0 * (z * -y3));
double t_2 = y0 * (y5 * (j * y3));
double tmp;
if (y3 <= -1.4e+228) {
tmp = t_1;
} else if (y3 <= -1.06e-112) {
tmp = t_2;
} else if (y3 <= 4300000000000.0) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 3.2e+95) {
tmp = y0 * (b * (x * -j));
} else if (y3 <= 1.8e+131) {
tmp = b * (k * (z * y0));
} else if (y3 <= 1.35e+270) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y0 * (z * -y3)) t_2 = y0 * (y5 * (j * y3)) tmp = 0 if y3 <= -1.4e+228: tmp = t_1 elif y3 <= -1.06e-112: tmp = t_2 elif y3 <= 4300000000000.0: tmp = k * (y4 * (y1 * y2)) elif y3 <= 3.2e+95: tmp = y0 * (b * (x * -j)) elif y3 <= 1.8e+131: tmp = b * (k * (z * y0)) elif y3 <= 1.35e+270: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y0 * Float64(z * Float64(-y3)))) t_2 = Float64(y0 * Float64(y5 * Float64(j * y3))) tmp = 0.0 if (y3 <= -1.4e+228) tmp = t_1; elseif (y3 <= -1.06e-112) tmp = t_2; elseif (y3 <= 4300000000000.0) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (y3 <= 3.2e+95) tmp = Float64(y0 * Float64(b * Float64(x * Float64(-j)))); elseif (y3 <= 1.8e+131) tmp = Float64(b * Float64(k * Float64(z * y0))); elseif (y3 <= 1.35e+270) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y0 * (z * -y3)); t_2 = y0 * (y5 * (j * y3)); tmp = 0.0; if (y3 <= -1.4e+228) tmp = t_1; elseif (y3 <= -1.06e-112) tmp = t_2; elseif (y3 <= 4300000000000.0) tmp = k * (y4 * (y1 * y2)); elseif (y3 <= 3.2e+95) tmp = y0 * (b * (x * -j)); elseif (y3 <= 1.8e+131) tmp = b * (k * (z * y0)); elseif (y3 <= 1.35e+270) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.4e+228], t$95$1, If[LessEqual[y3, -1.06e-112], t$95$2, If[LessEqual[y3, 4300000000000.0], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.2e+95], N[(y0 * N[(b * N[(x * (-j)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.8e+131], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.35e+270], t$95$1, t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\
t_2 := y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{if}\;y3 \leq -1.4 \cdot 10^{+228}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -1.06 \cdot 10^{-112}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq 4300000000000:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 3.2 \cdot 10^{+95}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(x \cdot \left(-j\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 1.8 \cdot 10^{+131}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{elif}\;y3 \leq 1.35 \cdot 10^{+270}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y3 < -1.4e228 or 1.80000000000000016e131 < y3 < 1.3499999999999999e270Initial program 30.2%
Taylor expanded in y0 around inf 32.5%
+-commutative32.5%
mul-1-neg32.5%
unsub-neg32.5%
*-commutative32.5%
*-commutative32.5%
*-commutative32.5%
*-commutative32.5%
Simplified32.5%
Taylor expanded in y3 around -inf 44.2%
associate-*r*44.2%
neg-mul-144.2%
Simplified44.2%
Taylor expanded in c around inf 46.6%
associate-*r*46.6%
mul-1-neg46.6%
Simplified46.6%
if -1.4e228 < y3 < -1.0600000000000001e-112 or 1.3499999999999999e270 < y3 Initial program 30.6%
Taylor expanded in y0 around inf 38.5%
+-commutative38.5%
mul-1-neg38.5%
unsub-neg38.5%
*-commutative38.5%
*-commutative38.5%
*-commutative38.5%
*-commutative38.5%
Simplified38.5%
Taylor expanded in y3 around -inf 35.4%
associate-*r*35.4%
neg-mul-135.4%
Simplified35.4%
Taylor expanded in c around 0 34.3%
associate-*r*34.3%
neg-mul-134.3%
Simplified34.3%
pow134.3%
associate-*r*31.9%
Applied egg-rr31.9%
unpow131.9%
associate-*l*34.3%
distribute-lft-neg-in34.3%
*-commutative34.3%
distribute-lft-neg-in34.3%
distribute-lft-neg-in34.3%
remove-double-neg34.3%
associate-*r*38.0%
*-commutative38.0%
Simplified38.0%
if -1.0600000000000001e-112 < y3 < 4.3e12Initial program 34.1%
Taylor expanded in k around inf 45.3%
+-commutative45.3%
mul-1-neg45.3%
unsub-neg45.3%
*-commutative45.3%
associate-*r*45.3%
neg-mul-145.3%
Simplified45.3%
Taylor expanded in y4 around inf 35.0%
Taylor expanded in y1 around inf 29.4%
if 4.3e12 < y3 < 3.2000000000000001e95Initial program 39.9%
Taylor expanded in y0 around inf 40.9%
+-commutative40.9%
mul-1-neg40.9%
unsub-neg40.9%
*-commutative40.9%
*-commutative40.9%
*-commutative40.9%
*-commutative40.9%
Simplified40.9%
Taylor expanded in b around inf 41.1%
Taylor expanded in k around 0 34.6%
associate-*r*34.6%
neg-mul-134.6%
Simplified34.6%
if 3.2000000000000001e95 < y3 < 1.80000000000000016e131Initial program 22.2%
Taylor expanded in y0 around inf 33.8%
+-commutative33.8%
mul-1-neg33.8%
unsub-neg33.8%
*-commutative33.8%
*-commutative33.8%
*-commutative33.8%
*-commutative33.8%
Simplified33.8%
Taylor expanded in b around inf 23.3%
Taylor expanded in k around inf 46.0%
Final simplification36.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* z (- y3))) (t_2 (* y0 (* y5 (* j y3)))))
(if (<= y3 -4.3e+228)
(* y0 (* c t_1))
(if (<= y3 -4e-112)
t_2
(if (<= y3 1020000000000.0)
(* k (* y4 (* y1 y2)))
(if (<= y3 2.7e+94)
(* y0 (* b (* x (- j))))
(if (<= y3 1.8e+131)
(* b (* k (* z y0)))
(if (<= y3 9e+269) (* c (* y0 t_1)) t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * -y3;
double t_2 = y0 * (y5 * (j * y3));
double tmp;
if (y3 <= -4.3e+228) {
tmp = y0 * (c * t_1);
} else if (y3 <= -4e-112) {
tmp = t_2;
} else if (y3 <= 1020000000000.0) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 2.7e+94) {
tmp = y0 * (b * (x * -j));
} else if (y3 <= 1.8e+131) {
tmp = b * (k * (z * y0));
} else if (y3 <= 9e+269) {
tmp = c * (y0 * t_1);
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = z * -y3
t_2 = y0 * (y5 * (j * y3))
if (y3 <= (-4.3d+228)) then
tmp = y0 * (c * t_1)
else if (y3 <= (-4d-112)) then
tmp = t_2
else if (y3 <= 1020000000000.0d0) then
tmp = k * (y4 * (y1 * y2))
else if (y3 <= 2.7d+94) then
tmp = y0 * (b * (x * -j))
else if (y3 <= 1.8d+131) then
tmp = b * (k * (z * y0))
else if (y3 <= 9d+269) then
tmp = c * (y0 * t_1)
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * -y3;
double t_2 = y0 * (y5 * (j * y3));
double tmp;
if (y3 <= -4.3e+228) {
tmp = y0 * (c * t_1);
} else if (y3 <= -4e-112) {
tmp = t_2;
} else if (y3 <= 1020000000000.0) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 2.7e+94) {
tmp = y0 * (b * (x * -j));
} else if (y3 <= 1.8e+131) {
tmp = b * (k * (z * y0));
} else if (y3 <= 9e+269) {
tmp = c * (y0 * t_1);
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = z * -y3 t_2 = y0 * (y5 * (j * y3)) tmp = 0 if y3 <= -4.3e+228: tmp = y0 * (c * t_1) elif y3 <= -4e-112: tmp = t_2 elif y3 <= 1020000000000.0: tmp = k * (y4 * (y1 * y2)) elif y3 <= 2.7e+94: tmp = y0 * (b * (x * -j)) elif y3 <= 1.8e+131: tmp = b * (k * (z * y0)) elif y3 <= 9e+269: tmp = c * (y0 * t_1) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(z * Float64(-y3)) t_2 = Float64(y0 * Float64(y5 * Float64(j * y3))) tmp = 0.0 if (y3 <= -4.3e+228) tmp = Float64(y0 * Float64(c * t_1)); elseif (y3 <= -4e-112) tmp = t_2; elseif (y3 <= 1020000000000.0) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (y3 <= 2.7e+94) tmp = Float64(y0 * Float64(b * Float64(x * Float64(-j)))); elseif (y3 <= 1.8e+131) tmp = Float64(b * Float64(k * Float64(z * y0))); elseif (y3 <= 9e+269) tmp = Float64(c * Float64(y0 * t_1)); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = z * -y3; t_2 = y0 * (y5 * (j * y3)); tmp = 0.0; if (y3 <= -4.3e+228) tmp = y0 * (c * t_1); elseif (y3 <= -4e-112) tmp = t_2; elseif (y3 <= 1020000000000.0) tmp = k * (y4 * (y1 * y2)); elseif (y3 <= 2.7e+94) tmp = y0 * (b * (x * -j)); elseif (y3 <= 1.8e+131) tmp = b * (k * (z * y0)); elseif (y3 <= 9e+269) tmp = c * (y0 * t_1); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * (-y3)), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -4.3e+228], N[(y0 * N[(c * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -4e-112], t$95$2, If[LessEqual[y3, 1020000000000.0], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.7e+94], N[(y0 * N[(b * N[(x * (-j)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.8e+131], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 9e+269], N[(c * N[(y0 * t$95$1), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(-y3\right)\\
t_2 := y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{if}\;y3 \leq -4.3 \cdot 10^{+228}:\\
\;\;\;\;y0 \cdot \left(c \cdot t\_1\right)\\
\mathbf{elif}\;y3 \leq -4 \cdot 10^{-112}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq 1020000000000:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 2.7 \cdot 10^{+94}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(x \cdot \left(-j\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 1.8 \cdot 10^{+131}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{elif}\;y3 \leq 9 \cdot 10^{+269}:\\
\;\;\;\;c \cdot \left(y0 \cdot t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y3 < -4.30000000000000032e228Initial program 17.4%
Taylor expanded in y0 around inf 21.8%
+-commutative21.8%
mul-1-neg21.8%
unsub-neg21.8%
*-commutative21.8%
*-commutative21.8%
*-commutative21.8%
*-commutative21.8%
Simplified21.8%
Taylor expanded in y3 around -inf 48.0%
associate-*r*48.0%
neg-mul-148.0%
Simplified48.0%
Taylor expanded in c around inf 48.6%
if -4.30000000000000032e228 < y3 < -3.9999999999999998e-112 or 9.0000000000000004e269 < y3 Initial program 30.6%
Taylor expanded in y0 around inf 38.5%
+-commutative38.5%
mul-1-neg38.5%
unsub-neg38.5%
*-commutative38.5%
*-commutative38.5%
*-commutative38.5%
*-commutative38.5%
Simplified38.5%
Taylor expanded in y3 around -inf 35.4%
associate-*r*35.4%
neg-mul-135.4%
Simplified35.4%
Taylor expanded in c around 0 34.3%
associate-*r*34.3%
neg-mul-134.3%
Simplified34.3%
pow134.3%
associate-*r*31.9%
Applied egg-rr31.9%
unpow131.9%
associate-*l*34.3%
distribute-lft-neg-in34.3%
*-commutative34.3%
distribute-lft-neg-in34.3%
distribute-lft-neg-in34.3%
remove-double-neg34.3%
associate-*r*38.0%
*-commutative38.0%
Simplified38.0%
if -3.9999999999999998e-112 < y3 < 1.02e12Initial program 34.1%
Taylor expanded in k around inf 45.3%
+-commutative45.3%
mul-1-neg45.3%
unsub-neg45.3%
*-commutative45.3%
associate-*r*45.3%
neg-mul-145.3%
Simplified45.3%
Taylor expanded in y4 around inf 35.0%
Taylor expanded in y1 around inf 29.4%
if 1.02e12 < y3 < 2.7000000000000001e94Initial program 39.9%
Taylor expanded in y0 around inf 40.9%
+-commutative40.9%
mul-1-neg40.9%
unsub-neg40.9%
*-commutative40.9%
*-commutative40.9%
*-commutative40.9%
*-commutative40.9%
Simplified40.9%
Taylor expanded in b around inf 41.1%
Taylor expanded in k around 0 34.6%
associate-*r*34.6%
neg-mul-134.6%
Simplified34.6%
if 2.7000000000000001e94 < y3 < 1.80000000000000016e131Initial program 22.2%
Taylor expanded in y0 around inf 33.8%
+-commutative33.8%
mul-1-neg33.8%
unsub-neg33.8%
*-commutative33.8%
*-commutative33.8%
*-commutative33.8%
*-commutative33.8%
Simplified33.8%
Taylor expanded in b around inf 23.3%
Taylor expanded in k around inf 46.0%
if 1.80000000000000016e131 < y3 < 9.0000000000000004e269Initial program 39.9%
Taylor expanded in y0 around inf 40.7%
+-commutative40.7%
mul-1-neg40.7%
unsub-neg40.7%
*-commutative40.7%
*-commutative40.7%
*-commutative40.7%
*-commutative40.7%
Simplified40.7%
Taylor expanded in y3 around -inf 41.3%
associate-*r*41.3%
neg-mul-141.3%
Simplified41.3%
Taylor expanded in c around inf 48.1%
associate-*r*48.1%
mul-1-neg48.1%
Simplified48.1%
Final simplification36.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y4 (* y1 y2)))))
(if (<= y5 -5.4e+154)
(* y0 (* y3 (* j y5)))
(if (<= y5 -4e-206)
(* b (* x (- (* y a) (* j y0))))
(if (<= y5 7e-306)
t_1
(if (<= y5 3.9e-23)
(* b (* a (- (* x y) (* z t))))
(if (<= y5 4.6e+83)
t_1
(if (<= y5 1.75e+115)
(* c (* y0 (* z (- y3))))
(* y0 (* k (* y2 (- y5))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y4 * (y1 * y2));
double tmp;
if (y5 <= -5.4e+154) {
tmp = y0 * (y3 * (j * y5));
} else if (y5 <= -4e-206) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= 7e-306) {
tmp = t_1;
} else if (y5 <= 3.9e-23) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y5 <= 4.6e+83) {
tmp = t_1;
} else if (y5 <= 1.75e+115) {
tmp = c * (y0 * (z * -y3));
} else {
tmp = y0 * (k * (y2 * -y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = k * (y4 * (y1 * y2))
if (y5 <= (-5.4d+154)) then
tmp = y0 * (y3 * (j * y5))
else if (y5 <= (-4d-206)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y5 <= 7d-306) then
tmp = t_1
else if (y5 <= 3.9d-23) then
tmp = b * (a * ((x * y) - (z * t)))
else if (y5 <= 4.6d+83) then
tmp = t_1
else if (y5 <= 1.75d+115) then
tmp = c * (y0 * (z * -y3))
else
tmp = y0 * (k * (y2 * -y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y4 * (y1 * y2));
double tmp;
if (y5 <= -5.4e+154) {
tmp = y0 * (y3 * (j * y5));
} else if (y5 <= -4e-206) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= 7e-306) {
tmp = t_1;
} else if (y5 <= 3.9e-23) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y5 <= 4.6e+83) {
tmp = t_1;
} else if (y5 <= 1.75e+115) {
tmp = c * (y0 * (z * -y3));
} else {
tmp = y0 * (k * (y2 * -y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y4 * (y1 * y2)) tmp = 0 if y5 <= -5.4e+154: tmp = y0 * (y3 * (j * y5)) elif y5 <= -4e-206: tmp = b * (x * ((y * a) - (j * y0))) elif y5 <= 7e-306: tmp = t_1 elif y5 <= 3.9e-23: tmp = b * (a * ((x * y) - (z * t))) elif y5 <= 4.6e+83: tmp = t_1 elif y5 <= 1.75e+115: tmp = c * (y0 * (z * -y3)) else: tmp = y0 * (k * (y2 * -y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y4 * Float64(y1 * y2))) tmp = 0.0 if (y5 <= -5.4e+154) tmp = Float64(y0 * Float64(y3 * Float64(j * y5))); elseif (y5 <= -4e-206) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y5 <= 7e-306) tmp = t_1; elseif (y5 <= 3.9e-23) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (y5 <= 4.6e+83) tmp = t_1; elseif (y5 <= 1.75e+115) tmp = Float64(c * Float64(y0 * Float64(z * Float64(-y3)))); else tmp = Float64(y0 * Float64(k * Float64(y2 * Float64(-y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = k * (y4 * (y1 * y2)); tmp = 0.0; if (y5 <= -5.4e+154) tmp = y0 * (y3 * (j * y5)); elseif (y5 <= -4e-206) tmp = b * (x * ((y * a) - (j * y0))); elseif (y5 <= 7e-306) tmp = t_1; elseif (y5 <= 3.9e-23) tmp = b * (a * ((x * y) - (z * t))); elseif (y5 <= 4.6e+83) tmp = t_1; elseif (y5 <= 1.75e+115) tmp = c * (y0 * (z * -y3)); else tmp = y0 * (k * (y2 * -y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -5.4e+154], N[(y0 * N[(y3 * N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -4e-206], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 7e-306], t$95$1, If[LessEqual[y5, 3.9e-23], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 4.6e+83], t$95$1, If[LessEqual[y5, 1.75e+115], N[(c * N[(y0 * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(k * N[(y2 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{if}\;y5 \leq -5.4 \cdot 10^{+154}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq -4 \cdot 10^{-206}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq 7 \cdot 10^{-306}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 3.9 \cdot 10^{-23}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y5 \leq 4.6 \cdot 10^{+83}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 1.75 \cdot 10^{+115}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\
\end{array}
\end{array}
if y5 < -5.40000000000000011e154Initial program 22.2%
Taylor expanded in y0 around inf 44.5%
+-commutative44.5%
mul-1-neg44.5%
unsub-neg44.5%
*-commutative44.5%
*-commutative44.5%
*-commutative44.5%
*-commutative44.5%
Simplified44.5%
Taylor expanded in y3 around -inf 67.0%
associate-*r*67.0%
neg-mul-167.0%
Simplified67.0%
Taylor expanded in c around 0 67.1%
mul-1-neg67.1%
Simplified67.1%
if -5.40000000000000011e154 < y5 < -4.00000000000000011e-206Initial program 28.7%
Taylor expanded in b around inf 37.5%
Taylor expanded in x around inf 36.9%
if -4.00000000000000011e-206 < y5 < 7.00000000000000035e-306 or 3.9e-23 < y5 < 4.5999999999999999e83Initial program 36.5%
Taylor expanded in k around inf 51.5%
+-commutative51.5%
mul-1-neg51.5%
unsub-neg51.5%
*-commutative51.5%
associate-*r*51.5%
neg-mul-151.5%
Simplified51.5%
Taylor expanded in y4 around inf 44.8%
Taylor expanded in y1 around inf 35.8%
if 7.00000000000000035e-306 < y5 < 3.9e-23Initial program 35.9%
Taylor expanded in b around inf 38.2%
Taylor expanded in a around inf 32.6%
if 4.5999999999999999e83 < y5 < 1.75000000000000003e115Initial program 44.4%
Taylor expanded in y0 around inf 34.1%
+-commutative34.1%
mul-1-neg34.1%
unsub-neg34.1%
*-commutative34.1%
*-commutative34.1%
*-commutative34.1%
*-commutative34.1%
Simplified34.1%
Taylor expanded in y3 around -inf 35.4%
associate-*r*35.4%
neg-mul-135.4%
Simplified35.4%
Taylor expanded in c around inf 45.9%
associate-*r*45.9%
mul-1-neg45.9%
Simplified45.9%
if 1.75000000000000003e115 < y5 Initial program 29.2%
Taylor expanded in y0 around inf 27.0%
+-commutative27.0%
mul-1-neg27.0%
unsub-neg27.0%
*-commutative27.0%
*-commutative27.0%
*-commutative27.0%
*-commutative27.0%
Simplified27.0%
Taylor expanded in y2 around inf 27.0%
Taylor expanded in c around 0 36.4%
associate-*r*36.4%
neg-mul-136.4%
Simplified36.4%
Final simplification39.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -5e+154)
(* y0 (* y3 (* j y5)))
(if (<= y5 -1.32e-191)
(* b (* x (- (* y a) (* j y0))))
(if (<= y5 9e-307)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y5 5.5e-22)
(* b (* a (- (* x y) (* z t))))
(if (<= y5 1.95e+83)
(* k (* y4 (* y1 y2)))
(if (<= y5 1.1e+117)
(* c (* y0 (* z (- y3))))
(* y0 (* k (* y2 (- y5)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -5e+154) {
tmp = y0 * (y3 * (j * y5));
} else if (y5 <= -1.32e-191) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= 9e-307) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y5 <= 5.5e-22) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y5 <= 1.95e+83) {
tmp = k * (y4 * (y1 * y2));
} else if (y5 <= 1.1e+117) {
tmp = c * (y0 * (z * -y3));
} else {
tmp = y0 * (k * (y2 * -y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y5 <= (-5d+154)) then
tmp = y0 * (y3 * (j * y5))
else if (y5 <= (-1.32d-191)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y5 <= 9d-307) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y5 <= 5.5d-22) then
tmp = b * (a * ((x * y) - (z * t)))
else if (y5 <= 1.95d+83) then
tmp = k * (y4 * (y1 * y2))
else if (y5 <= 1.1d+117) then
tmp = c * (y0 * (z * -y3))
else
tmp = y0 * (k * (y2 * -y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -5e+154) {
tmp = y0 * (y3 * (j * y5));
} else if (y5 <= -1.32e-191) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= 9e-307) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y5 <= 5.5e-22) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y5 <= 1.95e+83) {
tmp = k * (y4 * (y1 * y2));
} else if (y5 <= 1.1e+117) {
tmp = c * (y0 * (z * -y3));
} else {
tmp = y0 * (k * (y2 * -y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y5 <= -5e+154: tmp = y0 * (y3 * (j * y5)) elif y5 <= -1.32e-191: tmp = b * (x * ((y * a) - (j * y0))) elif y5 <= 9e-307: tmp = b * (y4 * ((t * j) - (y * k))) elif y5 <= 5.5e-22: tmp = b * (a * ((x * y) - (z * t))) elif y5 <= 1.95e+83: tmp = k * (y4 * (y1 * y2)) elif y5 <= 1.1e+117: tmp = c * (y0 * (z * -y3)) else: tmp = y0 * (k * (y2 * -y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -5e+154) tmp = Float64(y0 * Float64(y3 * Float64(j * y5))); elseif (y5 <= -1.32e-191) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y5 <= 9e-307) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y5 <= 5.5e-22) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (y5 <= 1.95e+83) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (y5 <= 1.1e+117) tmp = Float64(c * Float64(y0 * Float64(z * Float64(-y3)))); else tmp = Float64(y0 * Float64(k * Float64(y2 * Float64(-y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y5 <= -5e+154) tmp = y0 * (y3 * (j * y5)); elseif (y5 <= -1.32e-191) tmp = b * (x * ((y * a) - (j * y0))); elseif (y5 <= 9e-307) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y5 <= 5.5e-22) tmp = b * (a * ((x * y) - (z * t))); elseif (y5 <= 1.95e+83) tmp = k * (y4 * (y1 * y2)); elseif (y5 <= 1.1e+117) tmp = c * (y0 * (z * -y3)); else tmp = y0 * (k * (y2 * -y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -5e+154], N[(y0 * N[(y3 * N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.32e-191], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9e-307], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.5e-22], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.95e+83], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.1e+117], N[(c * N[(y0 * N[(z * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(k * N[(y2 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -5 \cdot 10^{+154}:\\
\;\;\;\;y0 \cdot \left(y3 \cdot \left(j \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq -1.32 \cdot 10^{-191}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq 9 \cdot 10^{-307}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y5 \leq 5.5 \cdot 10^{-22}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y5 \leq 1.95 \cdot 10^{+83}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y5 \leq 1.1 \cdot 10^{+117}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(z \cdot \left(-y3\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\
\end{array}
\end{array}
if y5 < -5.00000000000000004e154Initial program 22.2%
Taylor expanded in y0 around inf 44.5%
+-commutative44.5%
mul-1-neg44.5%
unsub-neg44.5%
*-commutative44.5%
*-commutative44.5%
*-commutative44.5%
*-commutative44.5%
Simplified44.5%
Taylor expanded in y3 around -inf 67.0%
associate-*r*67.0%
neg-mul-167.0%
Simplified67.0%
Taylor expanded in c around 0 67.1%
mul-1-neg67.1%
Simplified67.1%
if -5.00000000000000004e154 < y5 < -1.31999999999999996e-191Initial program 28.5%
Taylor expanded in b around inf 34.7%
Taylor expanded in x around inf 38.4%
if -1.31999999999999996e-191 < y5 < 8.99999999999999978e-307Initial program 38.9%
Taylor expanded in b around inf 36.5%
Taylor expanded in y4 around inf 37.2%
if 8.99999999999999978e-307 < y5 < 5.5000000000000001e-22Initial program 35.3%
Taylor expanded in b around inf 39.1%
Taylor expanded in a around inf 32.1%
if 5.5000000000000001e-22 < y5 < 1.9500000000000001e83Initial program 34.6%
Taylor expanded in k around inf 42.8%
+-commutative42.8%
mul-1-neg42.8%
unsub-neg42.8%
*-commutative42.8%
associate-*r*42.8%
neg-mul-142.8%
Simplified42.8%
Taylor expanded in y4 around inf 39.5%
Taylor expanded in y1 around inf 35.7%
if 1.9500000000000001e83 < y5 < 1.10000000000000007e117Initial program 44.4%
Taylor expanded in y0 around inf 34.1%
+-commutative34.1%
mul-1-neg34.1%
unsub-neg34.1%
*-commutative34.1%
*-commutative34.1%
*-commutative34.1%
*-commutative34.1%
Simplified34.1%
Taylor expanded in y3 around -inf 35.4%
associate-*r*35.4%
neg-mul-135.4%
Simplified35.4%
Taylor expanded in c around inf 45.9%
associate-*r*45.9%
mul-1-neg45.9%
Simplified45.9%
if 1.10000000000000007e117 < y5 Initial program 29.2%
Taylor expanded in y0 around inf 27.0%
+-commutative27.0%
mul-1-neg27.0%
unsub-neg27.0%
*-commutative27.0%
*-commutative27.0%
*-commutative27.0%
*-commutative27.0%
Simplified27.0%
Taylor expanded in y2 around inf 27.0%
Taylor expanded in c around 0 36.4%
associate-*r*36.4%
neg-mul-136.4%
Simplified36.4%
Final simplification39.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y0 (- (* x y2) (* z y3))))))
(if (<= y -5.2e+94)
t_1
(if (<= y -1.05e-57)
(* y0 (* j (* y3 y5)))
(if (<= y -2e-176)
t_1
(if (<= y 9.8e-216)
(* k (* y4 (* y1 y2)))
(if (<= y 4.6e-128) t_1 (* b (* x (- (* y a) (* j y0)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y0 * ((x * y2) - (z * y3)));
double tmp;
if (y <= -5.2e+94) {
tmp = t_1;
} else if (y <= -1.05e-57) {
tmp = y0 * (j * (y3 * y5));
} else if (y <= -2e-176) {
tmp = t_1;
} else if (y <= 9.8e-216) {
tmp = k * (y4 * (y1 * y2));
} else if (y <= 4.6e-128) {
tmp = t_1;
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (y0 * ((x * y2) - (z * y3)))
if (y <= (-5.2d+94)) then
tmp = t_1
else if (y <= (-1.05d-57)) then
tmp = y0 * (j * (y3 * y5))
else if (y <= (-2d-176)) then
tmp = t_1
else if (y <= 9.8d-216) then
tmp = k * (y4 * (y1 * y2))
else if (y <= 4.6d-128) then
tmp = t_1
else
tmp = b * (x * ((y * a) - (j * y0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y0 * ((x * y2) - (z * y3)));
double tmp;
if (y <= -5.2e+94) {
tmp = t_1;
} else if (y <= -1.05e-57) {
tmp = y0 * (j * (y3 * y5));
} else if (y <= -2e-176) {
tmp = t_1;
} else if (y <= 9.8e-216) {
tmp = k * (y4 * (y1 * y2));
} else if (y <= 4.6e-128) {
tmp = t_1;
} else {
tmp = b * (x * ((y * a) - (j * y0)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y0 * ((x * y2) - (z * y3))) tmp = 0 if y <= -5.2e+94: tmp = t_1 elif y <= -1.05e-57: tmp = y0 * (j * (y3 * y5)) elif y <= -2e-176: tmp = t_1 elif y <= 9.8e-216: tmp = k * (y4 * (y1 * y2)) elif y <= 4.6e-128: tmp = t_1 else: tmp = b * (x * ((y * a) - (j * y0))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) tmp = 0.0 if (y <= -5.2e+94) tmp = t_1; elseif (y <= -1.05e-57) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); elseif (y <= -2e-176) tmp = t_1; elseif (y <= 9.8e-216) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (y <= 4.6e-128) tmp = t_1; else tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y0 * ((x * y2) - (z * y3))); tmp = 0.0; if (y <= -5.2e+94) tmp = t_1; elseif (y <= -1.05e-57) tmp = y0 * (j * (y3 * y5)); elseif (y <= -2e-176) tmp = t_1; elseif (y <= 9.8e-216) tmp = k * (y4 * (y1 * y2)); elseif (y <= 4.6e-128) tmp = t_1; else tmp = b * (x * ((y * a) - (j * y0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -5.2e+94], t$95$1, If[LessEqual[y, -1.05e-57], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -2e-176], t$95$1, If[LessEqual[y, 9.8e-216], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.6e-128], t$95$1, N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;y \leq -5.2 \cdot 10^{+94}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -1.05 \cdot 10^{-57}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y \leq -2 \cdot 10^{-176}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 9.8 \cdot 10^{-216}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 4.6 \cdot 10^{-128}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\end{array}
\end{array}
if y < -5.1999999999999998e94 or -1.05e-57 < y < -2e-176 or 9.8000000000000003e-216 < y < 4.6000000000000002e-128Initial program 25.9%
Taylor expanded in y0 around inf 46.4%
+-commutative46.4%
mul-1-neg46.4%
unsub-neg46.4%
*-commutative46.4%
*-commutative46.4%
*-commutative46.4%
*-commutative46.4%
Simplified46.4%
Taylor expanded in c around inf 52.6%
if -5.1999999999999998e94 < y < -1.05e-57Initial program 44.3%
Taylor expanded in y0 around inf 34.3%
+-commutative34.3%
mul-1-neg34.3%
unsub-neg34.3%
*-commutative34.3%
*-commutative34.3%
*-commutative34.3%
*-commutative34.3%
Simplified34.3%
Taylor expanded in y3 around -inf 37.4%
associate-*r*37.4%
neg-mul-137.4%
Simplified37.4%
Taylor expanded in c around 0 37.2%
associate-*r*37.2%
neg-mul-137.2%
Simplified37.2%
if -2e-176 < y < 9.8000000000000003e-216Initial program 27.2%
Taylor expanded in k around inf 33.5%
+-commutative33.5%
mul-1-neg33.5%
unsub-neg33.5%
*-commutative33.5%
associate-*r*33.5%
neg-mul-133.5%
Simplified33.5%
Taylor expanded in y4 around inf 32.1%
Taylor expanded in y1 around inf 30.2%
if 4.6000000000000002e-128 < y Initial program 35.7%
Taylor expanded in b around inf 36.1%
Taylor expanded in x around inf 32.1%
Final simplification38.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -245000.0)
(* k (* b (* y4 (- y))))
(if (<= y4 4.4e-278)
(* b (* x (- (* y a) (* j y0))))
(if (<= y4 1.7e-249)
(* j (* y0 (* y3 y5)))
(if (<= y4 8e-187)
(* c (* y0 (- (* x y2) (* z y3))))
(* i (* y1 (- (* x j) (* z k)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -245000.0) {
tmp = k * (b * (y4 * -y));
} else if (y4 <= 4.4e-278) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y4 <= 1.7e-249) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 8e-187) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = i * (y1 * ((x * j) - (z * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-245000.0d0)) then
tmp = k * (b * (y4 * -y))
else if (y4 <= 4.4d-278) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y4 <= 1.7d-249) then
tmp = j * (y0 * (y3 * y5))
else if (y4 <= 8d-187) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else
tmp = i * (y1 * ((x * j) - (z * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -245000.0) {
tmp = k * (b * (y4 * -y));
} else if (y4 <= 4.4e-278) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y4 <= 1.7e-249) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 8e-187) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = i * (y1 * ((x * j) - (z * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -245000.0: tmp = k * (b * (y4 * -y)) elif y4 <= 4.4e-278: tmp = b * (x * ((y * a) - (j * y0))) elif y4 <= 1.7e-249: tmp = j * (y0 * (y3 * y5)) elif y4 <= 8e-187: tmp = c * (y0 * ((x * y2) - (z * y3))) else: tmp = i * (y1 * ((x * j) - (z * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -245000.0) tmp = Float64(k * Float64(b * Float64(y4 * Float64(-y)))); elseif (y4 <= 4.4e-278) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y4 <= 1.7e-249) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (y4 <= 8e-187) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); else tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -245000.0) tmp = k * (b * (y4 * -y)); elseif (y4 <= 4.4e-278) tmp = b * (x * ((y * a) - (j * y0))); elseif (y4 <= 1.7e-249) tmp = j * (y0 * (y3 * y5)); elseif (y4 <= 8e-187) tmp = c * (y0 * ((x * y2) - (z * y3))); else tmp = i * (y1 * ((x * j) - (z * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -245000.0], N[(k * N[(b * N[(y4 * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.4e-278], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.7e-249], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 8e-187], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -245000:\\
\;\;\;\;k \cdot \left(b \cdot \left(y4 \cdot \left(-y\right)\right)\right)\\
\mathbf{elif}\;y4 \leq 4.4 \cdot 10^{-278}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y4 \leq 1.7 \cdot 10^{-249}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 8 \cdot 10^{-187}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\end{array}
\end{array}
if y4 < -245000Initial program 19.0%
Taylor expanded in k around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
associate-*r*41.2%
neg-mul-141.2%
Simplified41.2%
Taylor expanded in y4 around inf 51.3%
Taylor expanded in y1 around 0 42.0%
associate-*r*42.0%
neg-mul-142.0%
*-commutative42.0%
Simplified42.0%
if -245000 < y4 < 4.4000000000000002e-278Initial program 39.7%
Taylor expanded in b around inf 31.8%
Taylor expanded in x around inf 34.1%
if 4.4000000000000002e-278 < y4 < 1.6999999999999999e-249Initial program 50.0%
Taylor expanded in y0 around inf 63.3%
+-commutative63.3%
mul-1-neg63.3%
unsub-neg63.3%
*-commutative63.3%
*-commutative63.3%
*-commutative63.3%
*-commutative63.3%
Simplified63.3%
Taylor expanded in y3 around -inf 63.7%
associate-*r*63.7%
neg-mul-163.7%
Simplified63.7%
Taylor expanded in c around 0 75.6%
if 1.6999999999999999e-249 < y4 < 8.0000000000000001e-187Initial program 52.5%
Taylor expanded in y0 around inf 43.2%
+-commutative43.2%
mul-1-neg43.2%
unsub-neg43.2%
*-commutative43.2%
*-commutative43.2%
*-commutative43.2%
*-commutative43.2%
Simplified43.2%
Taylor expanded in c around inf 38.0%
if 8.0000000000000001e-187 < y4 Initial program 30.5%
Taylor expanded in y1 around -inf 50.8%
associate-*r*50.8%
neg-mul-150.8%
+-commutative50.8%
mul-1-neg50.8%
unsub-neg50.8%
*-commutative50.8%
*-commutative50.8%
*-commutative50.8%
*-commutative50.8%
Simplified50.8%
Taylor expanded in i around -inf 40.0%
Final simplification40.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y4 -550.0)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y4 4.6e-274)
(* b (* x (- (* y a) (* j y0))))
(if (<= y4 1.7e-248)
(* j (* y0 (* y3 y5)))
(if (<= y4 8.8e-187)
(* c (* y0 (- (* x y2) (* z y3))))
(* i (* y1 (- (* x j) (* z k)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -550.0) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y4 <= 4.6e-274) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y4 <= 1.7e-248) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 8.8e-187) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = i * (y1 * ((x * j) - (z * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y4 <= (-550.0d0)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y4 <= 4.6d-274) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y4 <= 1.7d-248) then
tmp = j * (y0 * (y3 * y5))
else if (y4 <= 8.8d-187) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else
tmp = i * (y1 * ((x * j) - (z * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y4 <= -550.0) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y4 <= 4.6e-274) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y4 <= 1.7e-248) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 8.8e-187) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = i * (y1 * ((x * j) - (z * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y4 <= -550.0: tmp = k * (y * ((i * y5) - (b * y4))) elif y4 <= 4.6e-274: tmp = b * (x * ((y * a) - (j * y0))) elif y4 <= 1.7e-248: tmp = j * (y0 * (y3 * y5)) elif y4 <= 8.8e-187: tmp = c * (y0 * ((x * y2) - (z * y3))) else: tmp = i * (y1 * ((x * j) - (z * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y4 <= -550.0) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y4 <= 4.6e-274) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y4 <= 1.7e-248) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (y4 <= 8.8e-187) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); else tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y4 <= -550.0) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y4 <= 4.6e-274) tmp = b * (x * ((y * a) - (j * y0))); elseif (y4 <= 1.7e-248) tmp = j * (y0 * (y3 * y5)); elseif (y4 <= 8.8e-187) tmp = c * (y0 * ((x * y2) - (z * y3))); else tmp = i * (y1 * ((x * j) - (z * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -550.0], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.6e-274], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.7e-248], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 8.8e-187], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y4 \leq -550:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq 4.6 \cdot 10^{-274}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y4 \leq 1.7 \cdot 10^{-248}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 8.8 \cdot 10^{-187}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\end{array}
\end{array}
if y4 < -550Initial program 19.0%
Taylor expanded in k around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
associate-*r*41.2%
neg-mul-141.2%
Simplified41.2%
Taylor expanded in y around inf 46.7%
if -550 < y4 < 4.59999999999999992e-274Initial program 39.7%
Taylor expanded in b around inf 31.8%
Taylor expanded in x around inf 34.1%
if 4.59999999999999992e-274 < y4 < 1.6999999999999999e-248Initial program 50.0%
Taylor expanded in y0 around inf 63.3%
+-commutative63.3%
mul-1-neg63.3%
unsub-neg63.3%
*-commutative63.3%
*-commutative63.3%
*-commutative63.3%
*-commutative63.3%
Simplified63.3%
Taylor expanded in y3 around -inf 63.7%
associate-*r*63.7%
neg-mul-163.7%
Simplified63.7%
Taylor expanded in c around 0 75.6%
if 1.6999999999999999e-248 < y4 < 8.80000000000000032e-187Initial program 52.5%
Taylor expanded in y0 around inf 43.2%
+-commutative43.2%
mul-1-neg43.2%
unsub-neg43.2%
*-commutative43.2%
*-commutative43.2%
*-commutative43.2%
*-commutative43.2%
Simplified43.2%
Taylor expanded in c around inf 38.0%
if 8.80000000000000032e-187 < y4 Initial program 30.5%
Taylor expanded in y1 around -inf 50.8%
associate-*r*50.8%
neg-mul-150.8%
+-commutative50.8%
mul-1-neg50.8%
unsub-neg50.8%
*-commutative50.8%
*-commutative50.8%
*-commutative50.8%
*-commutative50.8%
Simplified50.8%
Taylor expanded in i around -inf 40.0%
Final simplification41.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -1.75e-112)
(* y0 (* y5 (* j y3)))
(if (<= y3 1.05e+26)
(* k (* y4 (* y1 y2)))
(if (<= y3 4.7e+163)
(* b (* k (* z y0)))
(if (<= y3 1e+203) (* b (* a (* t (- z)))) (* j (* y0 (* y3 y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -1.75e-112) {
tmp = y0 * (y5 * (j * y3));
} else if (y3 <= 1.05e+26) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 4.7e+163) {
tmp = b * (k * (z * y0));
} else if (y3 <= 1e+203) {
tmp = b * (a * (t * -z));
} else {
tmp = j * (y0 * (y3 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y3 <= (-1.75d-112)) then
tmp = y0 * (y5 * (j * y3))
else if (y3 <= 1.05d+26) then
tmp = k * (y4 * (y1 * y2))
else if (y3 <= 4.7d+163) then
tmp = b * (k * (z * y0))
else if (y3 <= 1d+203) then
tmp = b * (a * (t * -z))
else
tmp = j * (y0 * (y3 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -1.75e-112) {
tmp = y0 * (y5 * (j * y3));
} else if (y3 <= 1.05e+26) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 4.7e+163) {
tmp = b * (k * (z * y0));
} else if (y3 <= 1e+203) {
tmp = b * (a * (t * -z));
} else {
tmp = j * (y0 * (y3 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y3 <= -1.75e-112: tmp = y0 * (y5 * (j * y3)) elif y3 <= 1.05e+26: tmp = k * (y4 * (y1 * y2)) elif y3 <= 4.7e+163: tmp = b * (k * (z * y0)) elif y3 <= 1e+203: tmp = b * (a * (t * -z)) else: tmp = j * (y0 * (y3 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y3 <= -1.75e-112) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); elseif (y3 <= 1.05e+26) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (y3 <= 4.7e+163) tmp = Float64(b * Float64(k * Float64(z * y0))); elseif (y3 <= 1e+203) tmp = Float64(b * Float64(a * Float64(t * Float64(-z)))); else tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y3 <= -1.75e-112) tmp = y0 * (y5 * (j * y3)); elseif (y3 <= 1.05e+26) tmp = k * (y4 * (y1 * y2)); elseif (y3 <= 4.7e+163) tmp = b * (k * (z * y0)); elseif (y3 <= 1e+203) tmp = b * (a * (t * -z)); else tmp = j * (y0 * (y3 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -1.75e-112], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.05e+26], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.7e+163], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1e+203], N[(b * N[(a * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -1.75 \cdot 10^{-112}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq 1.05 \cdot 10^{+26}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 4.7 \cdot 10^{+163}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{elif}\;y3 \leq 10^{+203}:\\
\;\;\;\;b \cdot \left(a \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y3 < -1.74999999999999997e-112Initial program 28.6%
Taylor expanded in y0 around inf 33.4%
+-commutative33.4%
mul-1-neg33.4%
unsub-neg33.4%
*-commutative33.4%
*-commutative33.4%
*-commutative33.4%
*-commutative33.4%
Simplified33.4%
Taylor expanded in y3 around -inf 36.4%
associate-*r*36.4%
neg-mul-136.4%
Simplified36.4%
Taylor expanded in c around 0 26.4%
associate-*r*26.4%
neg-mul-126.4%
Simplified26.4%
pow126.4%
associate-*r*24.2%
Applied egg-rr24.2%
unpow124.2%
associate-*l*26.4%
distribute-lft-neg-in26.4%
*-commutative26.4%
distribute-lft-neg-in26.4%
distribute-lft-neg-in26.4%
remove-double-neg26.4%
associate-*r*30.7%
*-commutative30.7%
Simplified30.7%
if -1.74999999999999997e-112 < y3 < 1.05e26Initial program 34.3%
Taylor expanded in k around inf 45.9%
+-commutative45.9%
mul-1-neg45.9%
unsub-neg45.9%
*-commutative45.9%
associate-*r*45.9%
neg-mul-145.9%
Simplified45.9%
Taylor expanded in y4 around inf 34.4%
Taylor expanded in y1 around inf 28.1%
if 1.05e26 < y3 < 4.70000000000000019e163Initial program 29.6%
Taylor expanded in y0 around inf 37.8%
+-commutative37.8%
mul-1-neg37.8%
unsub-neg37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
Simplified37.8%
Taylor expanded in b around inf 45.4%
Taylor expanded in k around inf 34.5%
if 4.70000000000000019e163 < y3 < 9.9999999999999999e202Initial program 44.4%
Taylor expanded in b around inf 22.6%
Taylor expanded in a around inf 34.5%
Taylor expanded in x around 0 23.4%
neg-mul-123.4%
distribute-rgt-neg-in23.4%
Simplified23.4%
if 9.9999999999999999e202 < y3 Initial program 33.3%
Taylor expanded in y0 around inf 55.9%
+-commutative55.9%
mul-1-neg55.9%
unsub-neg55.9%
*-commutative55.9%
*-commutative55.9%
*-commutative55.9%
*-commutative55.9%
Simplified55.9%
Taylor expanded in y3 around -inf 56.4%
associate-*r*56.4%
neg-mul-156.4%
Simplified56.4%
Taylor expanded in c around 0 48.8%
Final simplification31.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* y0 (* y3 y5)))))
(if (<= y3 -1e-111)
t_1
(if (<= y3 1.9e+29)
(* k (* y4 (* y1 y2)))
(if (<= y3 5.1e+163)
(* b (* k (* z y0)))
(if (<= y3 4e+205) (* b (* (* x y) a)) 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 = j * (y0 * (y3 * y5));
double tmp;
if (y3 <= -1e-111) {
tmp = t_1;
} else if (y3 <= 1.9e+29) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 5.1e+163) {
tmp = b * (k * (z * y0));
} else if (y3 <= 4e+205) {
tmp = b * ((x * y) * a);
} 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 = j * (y0 * (y3 * y5))
if (y3 <= (-1d-111)) then
tmp = t_1
else if (y3 <= 1.9d+29) then
tmp = k * (y4 * (y1 * y2))
else if (y3 <= 5.1d+163) then
tmp = b * (k * (z * y0))
else if (y3 <= 4d+205) then
tmp = b * ((x * y) * a)
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 = j * (y0 * (y3 * y5));
double tmp;
if (y3 <= -1e-111) {
tmp = t_1;
} else if (y3 <= 1.9e+29) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 5.1e+163) {
tmp = b * (k * (z * y0));
} else if (y3 <= 4e+205) {
tmp = b * ((x * y) * a);
} 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 = j * (y0 * (y3 * y5)) tmp = 0 if y3 <= -1e-111: tmp = t_1 elif y3 <= 1.9e+29: tmp = k * (y4 * (y1 * y2)) elif y3 <= 5.1e+163: tmp = b * (k * (z * y0)) elif y3 <= 4e+205: tmp = b * ((x * y) * a) 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(j * Float64(y0 * Float64(y3 * y5))) tmp = 0.0 if (y3 <= -1e-111) tmp = t_1; elseif (y3 <= 1.9e+29) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (y3 <= 5.1e+163) tmp = Float64(b * Float64(k * Float64(z * y0))); elseif (y3 <= 4e+205) tmp = Float64(b * Float64(Float64(x * y) * a)); 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 = j * (y0 * (y3 * y5)); tmp = 0.0; if (y3 <= -1e-111) tmp = t_1; elseif (y3 <= 1.9e+29) tmp = k * (y4 * (y1 * y2)); elseif (y3 <= 5.1e+163) tmp = b * (k * (z * y0)); elseif (y3 <= 4e+205) tmp = b * ((x * y) * a); 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[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1e-111], t$95$1, If[LessEqual[y3, 1.9e+29], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 5.1e+163], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4e+205], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{if}\;y3 \leq -1 \cdot 10^{-111}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 1.9 \cdot 10^{+29}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 5.1 \cdot 10^{+163}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{elif}\;y3 \leq 4 \cdot 10^{+205}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y3 < -1.00000000000000009e-111 or 4.00000000000000007e205 < y3 Initial program 29.1%
Taylor expanded in y0 around inf 39.0%
+-commutative39.0%
mul-1-neg39.0%
unsub-neg39.0%
*-commutative39.0%
*-commutative39.0%
*-commutative39.0%
*-commutative39.0%
Simplified39.0%
Taylor expanded in y3 around -inf 41.4%
associate-*r*41.4%
neg-mul-141.4%
Simplified41.4%
Taylor expanded in c around 0 31.8%
if -1.00000000000000009e-111 < y3 < 1.89999999999999985e29Initial program 34.3%
Taylor expanded in k around inf 45.9%
+-commutative45.9%
mul-1-neg45.9%
unsub-neg45.9%
*-commutative45.9%
associate-*r*45.9%
neg-mul-145.9%
Simplified45.9%
Taylor expanded in y4 around inf 34.4%
Taylor expanded in y1 around inf 28.1%
if 1.89999999999999985e29 < y3 < 5.1000000000000002e163Initial program 29.6%
Taylor expanded in y0 around inf 37.8%
+-commutative37.8%
mul-1-neg37.8%
unsub-neg37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
Simplified37.8%
Taylor expanded in b around inf 45.4%
Taylor expanded in k around inf 34.5%
if 5.1000000000000002e163 < y3 < 4.00000000000000007e205Initial program 49.8%
Taylor expanded in b around inf 30.3%
Taylor expanded in a around inf 41.1%
Taylor expanded in x around inf 21.5%
Final simplification30.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -1e-111)
(* y0 (* y5 (* j y3)))
(if (<= y3 2.5e+26)
(* k (* y4 (* y1 y2)))
(if (<= y3 2.1e+164)
(* b (* k (* z y0)))
(if (<= y3 8.2e+206) (* b (* (* x y) a)) (* j (* y0 (* y3 y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -1e-111) {
tmp = y0 * (y5 * (j * y3));
} else if (y3 <= 2.5e+26) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 2.1e+164) {
tmp = b * (k * (z * y0));
} else if (y3 <= 8.2e+206) {
tmp = b * ((x * y) * a);
} else {
tmp = j * (y0 * (y3 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y3 <= (-1d-111)) then
tmp = y0 * (y5 * (j * y3))
else if (y3 <= 2.5d+26) then
tmp = k * (y4 * (y1 * y2))
else if (y3 <= 2.1d+164) then
tmp = b * (k * (z * y0))
else if (y3 <= 8.2d+206) then
tmp = b * ((x * y) * a)
else
tmp = j * (y0 * (y3 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -1e-111) {
tmp = y0 * (y5 * (j * y3));
} else if (y3 <= 2.5e+26) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 2.1e+164) {
tmp = b * (k * (z * y0));
} else if (y3 <= 8.2e+206) {
tmp = b * ((x * y) * a);
} else {
tmp = j * (y0 * (y3 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y3 <= -1e-111: tmp = y0 * (y5 * (j * y3)) elif y3 <= 2.5e+26: tmp = k * (y4 * (y1 * y2)) elif y3 <= 2.1e+164: tmp = b * (k * (z * y0)) elif y3 <= 8.2e+206: tmp = b * ((x * y) * a) else: tmp = j * (y0 * (y3 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y3 <= -1e-111) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); elseif (y3 <= 2.5e+26) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (y3 <= 2.1e+164) tmp = Float64(b * Float64(k * Float64(z * y0))); elseif (y3 <= 8.2e+206) tmp = Float64(b * Float64(Float64(x * y) * a)); else tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y3 <= -1e-111) tmp = y0 * (y5 * (j * y3)); elseif (y3 <= 2.5e+26) tmp = k * (y4 * (y1 * y2)); elseif (y3 <= 2.1e+164) tmp = b * (k * (z * y0)); elseif (y3 <= 8.2e+206) tmp = b * ((x * y) * a); else tmp = j * (y0 * (y3 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -1e-111], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.5e+26], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.1e+164], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8.2e+206], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -1 \cdot 10^{-111}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq 2.5 \cdot 10^{+26}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 2.1 \cdot 10^{+164}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{elif}\;y3 \leq 8.2 \cdot 10^{+206}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y3 < -1.00000000000000009e-111Initial program 28.6%
Taylor expanded in y0 around inf 33.4%
+-commutative33.4%
mul-1-neg33.4%
unsub-neg33.4%
*-commutative33.4%
*-commutative33.4%
*-commutative33.4%
*-commutative33.4%
Simplified33.4%
Taylor expanded in y3 around -inf 36.4%
associate-*r*36.4%
neg-mul-136.4%
Simplified36.4%
Taylor expanded in c around 0 26.4%
associate-*r*26.4%
neg-mul-126.4%
Simplified26.4%
pow126.4%
associate-*r*24.2%
Applied egg-rr24.2%
unpow124.2%
associate-*l*26.4%
distribute-lft-neg-in26.4%
*-commutative26.4%
distribute-lft-neg-in26.4%
distribute-lft-neg-in26.4%
remove-double-neg26.4%
associate-*r*30.7%
*-commutative30.7%
Simplified30.7%
if -1.00000000000000009e-111 < y3 < 2.5e26Initial program 34.3%
Taylor expanded in k around inf 45.9%
+-commutative45.9%
mul-1-neg45.9%
unsub-neg45.9%
*-commutative45.9%
associate-*r*45.9%
neg-mul-145.9%
Simplified45.9%
Taylor expanded in y4 around inf 34.4%
Taylor expanded in y1 around inf 28.1%
if 2.5e26 < y3 < 2.0999999999999999e164Initial program 29.6%
Taylor expanded in y0 around inf 37.8%
+-commutative37.8%
mul-1-neg37.8%
unsub-neg37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
*-commutative37.8%
Simplified37.8%
Taylor expanded in b around inf 45.4%
Taylor expanded in k around inf 34.5%
if 2.0999999999999999e164 < y3 < 8.2000000000000006e206Initial program 49.8%
Taylor expanded in b around inf 30.3%
Taylor expanded in a around inf 41.1%
Taylor expanded in x around inf 21.5%
if 8.2000000000000006e206 < y3 Initial program 30.8%
Taylor expanded in y0 around inf 57.9%
+-commutative57.9%
mul-1-neg57.9%
unsub-neg57.9%
*-commutative57.9%
*-commutative57.9%
*-commutative57.9%
*-commutative57.9%
Simplified57.9%
Taylor expanded in y3 around -inf 58.5%
associate-*r*58.5%
neg-mul-158.5%
Simplified58.5%
Taylor expanded in c around 0 50.5%
Final simplification31.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -2.7e-112)
(* y0 (* y5 (* j y3)))
(if (<= y3 4300000000000.0)
(* k (* y4 (* y1 y2)))
(if (<= y3 4.2e+94)
(* y0 (* b (* x (- j))))
(if (<= y3 3.3e+131) (* b (* k (* z y0))) (* j (* y0 (* y3 y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -2.7e-112) {
tmp = y0 * (y5 * (j * y3));
} else if (y3 <= 4300000000000.0) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 4.2e+94) {
tmp = y0 * (b * (x * -j));
} else if (y3 <= 3.3e+131) {
tmp = b * (k * (z * y0));
} else {
tmp = j * (y0 * (y3 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y3 <= (-2.7d-112)) then
tmp = y0 * (y5 * (j * y3))
else if (y3 <= 4300000000000.0d0) then
tmp = k * (y4 * (y1 * y2))
else if (y3 <= 4.2d+94) then
tmp = y0 * (b * (x * -j))
else if (y3 <= 3.3d+131) then
tmp = b * (k * (z * y0))
else
tmp = j * (y0 * (y3 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -2.7e-112) {
tmp = y0 * (y5 * (j * y3));
} else if (y3 <= 4300000000000.0) {
tmp = k * (y4 * (y1 * y2));
} else if (y3 <= 4.2e+94) {
tmp = y0 * (b * (x * -j));
} else if (y3 <= 3.3e+131) {
tmp = b * (k * (z * y0));
} else {
tmp = j * (y0 * (y3 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y3 <= -2.7e-112: tmp = y0 * (y5 * (j * y3)) elif y3 <= 4300000000000.0: tmp = k * (y4 * (y1 * y2)) elif y3 <= 4.2e+94: tmp = y0 * (b * (x * -j)) elif y3 <= 3.3e+131: tmp = b * (k * (z * y0)) else: tmp = j * (y0 * (y3 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y3 <= -2.7e-112) tmp = Float64(y0 * Float64(y5 * Float64(j * y3))); elseif (y3 <= 4300000000000.0) tmp = Float64(k * Float64(y4 * Float64(y1 * y2))); elseif (y3 <= 4.2e+94) tmp = Float64(y0 * Float64(b * Float64(x * Float64(-j)))); elseif (y3 <= 3.3e+131) tmp = Float64(b * Float64(k * Float64(z * y0))); else tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y3 <= -2.7e-112) tmp = y0 * (y5 * (j * y3)); elseif (y3 <= 4300000000000.0) tmp = k * (y4 * (y1 * y2)); elseif (y3 <= 4.2e+94) tmp = y0 * (b * (x * -j)); elseif (y3 <= 3.3e+131) tmp = b * (k * (z * y0)); else tmp = j * (y0 * (y3 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -2.7e-112], N[(y0 * N[(y5 * N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4300000000000.0], N[(k * N[(y4 * N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.2e+94], N[(y0 * N[(b * N[(x * (-j)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.3e+131], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -2.7 \cdot 10^{-112}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq 4300000000000:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 4.2 \cdot 10^{+94}:\\
\;\;\;\;y0 \cdot \left(b \cdot \left(x \cdot \left(-j\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 3.3 \cdot 10^{+131}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y3 < -2.7000000000000001e-112Initial program 28.6%
Taylor expanded in y0 around inf 33.4%
+-commutative33.4%
mul-1-neg33.4%
unsub-neg33.4%
*-commutative33.4%
*-commutative33.4%
*-commutative33.4%
*-commutative33.4%
Simplified33.4%
Taylor expanded in y3 around -inf 36.4%
associate-*r*36.4%
neg-mul-136.4%
Simplified36.4%
Taylor expanded in c around 0 26.4%
associate-*r*26.4%
neg-mul-126.4%
Simplified26.4%
pow126.4%
associate-*r*24.2%
Applied egg-rr24.2%
unpow124.2%
associate-*l*26.4%
distribute-lft-neg-in26.4%
*-commutative26.4%
distribute-lft-neg-in26.4%
distribute-lft-neg-in26.4%
remove-double-neg26.4%
associate-*r*30.7%
*-commutative30.7%
Simplified30.7%
if -2.7000000000000001e-112 < y3 < 4.3e12Initial program 34.1%
Taylor expanded in k around inf 45.3%
+-commutative45.3%
mul-1-neg45.3%
unsub-neg45.3%
*-commutative45.3%
associate-*r*45.3%
neg-mul-145.3%
Simplified45.3%
Taylor expanded in y4 around inf 35.0%
Taylor expanded in y1 around inf 29.4%
if 4.3e12 < y3 < 4.19999999999999979e94Initial program 39.9%
Taylor expanded in y0 around inf 40.9%
+-commutative40.9%
mul-1-neg40.9%
unsub-neg40.9%
*-commutative40.9%
*-commutative40.9%
*-commutative40.9%
*-commutative40.9%
Simplified40.9%
Taylor expanded in b around inf 41.1%
Taylor expanded in k around 0 34.6%
associate-*r*34.6%
neg-mul-134.6%
Simplified34.6%
if 4.19999999999999979e94 < y3 < 3.2999999999999998e131Initial program 20.0%
Taylor expanded in y0 around inf 30.4%
+-commutative30.4%
mul-1-neg30.4%
unsub-neg30.4%
*-commutative30.4%
*-commutative30.4%
*-commutative30.4%
*-commutative30.4%
Simplified30.4%
Taylor expanded in b around inf 31.0%
Taylor expanded in k around inf 51.4%
if 3.2999999999999998e131 < y3 Initial program 34.8%
Taylor expanded in y0 around inf 42.3%
+-commutative42.3%
mul-1-neg42.3%
unsub-neg42.3%
*-commutative42.3%
*-commutative42.3%
*-commutative42.3%
*-commutative42.3%
Simplified42.3%
Taylor expanded in y3 around -inf 42.8%
associate-*r*42.8%
neg-mul-142.8%
Simplified42.8%
Taylor expanded in c around 0 38.0%
Final simplification32.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y -6.8e+112) (not (<= y 2.5e-12))) (* b (* (* x y) a)) (* b (* k (* z 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 ((y <= -6.8e+112) || !(y <= 2.5e-12)) {
tmp = b * ((x * y) * a);
} else {
tmp = b * (k * (z * 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 ((y <= (-6.8d+112)) .or. (.not. (y <= 2.5d-12))) then
tmp = b * ((x * y) * a)
else
tmp = b * (k * (z * 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 ((y <= -6.8e+112) || !(y <= 2.5e-12)) {
tmp = b * ((x * y) * a);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y <= -6.8e+112) or not (y <= 2.5e-12): tmp = b * ((x * y) * a) else: tmp = b * (k * (z * 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 ((y <= -6.8e+112) || !(y <= 2.5e-12)) tmp = Float64(b * Float64(Float64(x * y) * a)); else tmp = Float64(b * Float64(k * Float64(z * 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 ((y <= -6.8e+112) || ~((y <= 2.5e-12))) tmp = b * ((x * y) * a); else tmp = b * (k * (z * y0)); 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[y, -6.8e+112], N[Not[LessEqual[y, 2.5e-12]], $MachinePrecision]], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -6.8 \cdot 10^{+112} \lor \neg \left(y \leq 2.5 \cdot 10^{-12}\right):\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\end{array}
\end{array}
if y < -6.79999999999999987e112 or 2.49999999999999985e-12 < y Initial program 28.3%
Taylor expanded in b around inf 39.0%
Taylor expanded in a around inf 32.3%
Taylor expanded in x around inf 27.5%
if -6.79999999999999987e112 < y < 2.49999999999999985e-12Initial program 34.5%
Taylor expanded in y0 around inf 35.1%
+-commutative35.1%
mul-1-neg35.1%
unsub-neg35.1%
*-commutative35.1%
*-commutative35.1%
*-commutative35.1%
*-commutative35.1%
Simplified35.1%
Taylor expanded in b around inf 27.2%
Taylor expanded in k around inf 21.1%
Final simplification23.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y3 -1e-111) (not (<= y3 40.0))) (* j (* y0 (* y3 y5))) (* k (* y1 (* 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 ((y3 <= -1e-111) || !(y3 <= 40.0)) {
tmp = j * (y0 * (y3 * y5));
} else {
tmp = k * (y1 * (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 ((y3 <= (-1d-111)) .or. (.not. (y3 <= 40.0d0))) then
tmp = j * (y0 * (y3 * y5))
else
tmp = k * (y1 * (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 ((y3 <= -1e-111) || !(y3 <= 40.0)) {
tmp = j * (y0 * (y3 * y5));
} else {
tmp = k * (y1 * (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 (y3 <= -1e-111) or not (y3 <= 40.0): tmp = j * (y0 * (y3 * y5)) else: tmp = k * (y1 * (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 ((y3 <= -1e-111) || !(y3 <= 40.0)) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); else tmp = Float64(k * Float64(y1 * 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 ((y3 <= -1e-111) || ~((y3 <= 40.0))) tmp = j * (y0 * (y3 * y5)); else tmp = k * (y1 * (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[Or[LessEqual[y3, -1e-111], N[Not[LessEqual[y3, 40.0]], $MachinePrecision]], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -1 \cdot 10^{-111} \lor \neg \left(y3 \leq 40\right):\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y3 < -1.00000000000000009e-111 or 40 < y3 Initial program 31.3%
Taylor expanded in y0 around inf 36.1%
+-commutative36.1%
mul-1-neg36.1%
unsub-neg36.1%
*-commutative36.1%
*-commutative36.1%
*-commutative36.1%
*-commutative36.1%
Simplified36.1%
Taylor expanded in y3 around -inf 37.4%
associate-*r*37.4%
neg-mul-137.4%
Simplified37.4%
Taylor expanded in c around 0 28.7%
if -1.00000000000000009e-111 < y3 < 40Initial program 33.4%
Taylor expanded in k around inf 47.2%
+-commutative47.2%
mul-1-neg47.2%
unsub-neg47.2%
*-commutative47.2%
associate-*r*47.2%
neg-mul-147.2%
Simplified47.2%
Taylor expanded in y4 around inf 34.4%
Taylor expanded in y1 around inf 25.4%
*-commutative25.4%
Simplified25.4%
Final simplification27.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y -1.2e+111) (* b (* (* x y) a)) (if (<= y 4.8e-10) (* b (* k (* z y0))) (* b (* y (* x a))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -1.2e+111) {
tmp = b * ((x * y) * a);
} else if (y <= 4.8e-10) {
tmp = b * (k * (z * y0));
} else {
tmp = b * (y * (x * a));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-1.2d+111)) then
tmp = b * ((x * y) * a)
else if (y <= 4.8d-10) then
tmp = b * (k * (z * y0))
else
tmp = b * (y * (x * a))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -1.2e+111) {
tmp = b * ((x * y) * a);
} else if (y <= 4.8e-10) {
tmp = b * (k * (z * y0));
} else {
tmp = b * (y * (x * a));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -1.2e+111: tmp = b * ((x * y) * a) elif y <= 4.8e-10: tmp = b * (k * (z * y0)) else: tmp = b * (y * (x * a)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -1.2e+111) tmp = Float64(b * Float64(Float64(x * y) * a)); elseif (y <= 4.8e-10) tmp = Float64(b * Float64(k * Float64(z * y0))); else tmp = Float64(b * Float64(y * Float64(x * a))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -1.2e+111) tmp = b * ((x * y) * a); elseif (y <= 4.8e-10) tmp = b * (k * (z * y0)); else tmp = b * (y * (x * a)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -1.2e+111], N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.8e-10], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.2 \cdot 10^{+111}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{elif}\;y \leq 4.8 \cdot 10^{-10}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\
\end{array}
\end{array}
if y < -1.20000000000000003e111Initial program 21.9%
Taylor expanded in b around inf 47.5%
Taylor expanded in a around inf 32.1%
Taylor expanded in x around inf 38.4%
if -1.20000000000000003e111 < y < 4.8e-10Initial program 34.5%
Taylor expanded in y0 around inf 35.1%
+-commutative35.1%
mul-1-neg35.1%
unsub-neg35.1%
*-commutative35.1%
*-commutative35.1%
*-commutative35.1%
*-commutative35.1%
Simplified35.1%
Taylor expanded in b around inf 27.2%
Taylor expanded in k around inf 21.1%
if 4.8e-10 < y Initial program 31.4%
Taylor expanded in b around inf 34.9%
Taylor expanded in a around inf 32.4%
Taylor expanded in x around inf 22.3%
associate-*r*22.3%
Simplified22.3%
Final simplification23.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y0 -5e-43) (* c (* x (* y0 y2))) (if (<= y0 4.25e+46) (* b (* y (* x a))) (* b (* k (* z 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 (y0 <= -5e-43) {
tmp = c * (x * (y0 * y2));
} else if (y0 <= 4.25e+46) {
tmp = b * (y * (x * a));
} else {
tmp = b * (k * (z * 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 (y0 <= (-5d-43)) then
tmp = c * (x * (y0 * y2))
else if (y0 <= 4.25d+46) then
tmp = b * (y * (x * a))
else
tmp = b * (k * (z * 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 (y0 <= -5e-43) {
tmp = c * (x * (y0 * y2));
} else if (y0 <= 4.25e+46) {
tmp = b * (y * (x * a));
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -5e-43: tmp = c * (x * (y0 * y2)) elif y0 <= 4.25e+46: tmp = b * (y * (x * a)) else: tmp = b * (k * (z * 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 (y0 <= -5e-43) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y0 <= 4.25e+46) tmp = Float64(b * Float64(y * Float64(x * a))); else tmp = Float64(b * Float64(k * Float64(z * 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 (y0 <= -5e-43) tmp = c * (x * (y0 * y2)); elseif (y0 <= 4.25e+46) tmp = b * (y * (x * a)); else tmp = b * (k * (z * 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[y0, -5e-43], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.25e+46], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -5 \cdot 10^{-43}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 4.25 \cdot 10^{+46}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\end{array}
\end{array}
if y0 < -5.00000000000000019e-43Initial program 26.8%
Taylor expanded in y0 around inf 46.6%
+-commutative46.6%
mul-1-neg46.6%
unsub-neg46.6%
*-commutative46.6%
*-commutative46.6%
*-commutative46.6%
*-commutative46.6%
Simplified46.6%
Taylor expanded in y2 around inf 45.4%
Taylor expanded in c around inf 32.3%
*-commutative32.3%
Simplified32.3%
if -5.00000000000000019e-43 < y0 < 4.2499999999999998e46Initial program 37.8%
Taylor expanded in b around inf 34.9%
Taylor expanded in a around inf 26.0%
Taylor expanded in x around inf 20.4%
associate-*r*21.1%
Simplified21.1%
if 4.2499999999999998e46 < y0 Initial program 23.5%
Taylor expanded in y0 around inf 55.3%
+-commutative55.3%
mul-1-neg55.3%
unsub-neg55.3%
*-commutative55.3%
*-commutative55.3%
*-commutative55.3%
*-commutative55.3%
Simplified55.3%
Taylor expanded in b around inf 34.4%
Taylor expanded in k around inf 36.6%
Final simplification27.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y0 -7.2e-43) (* c (* x (* y0 y2))) (if (<= y0 1.55e-43) (* b (* y (* x a))) (* j (* y0 (* y3 y5))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -7.2e-43) {
tmp = c * (x * (y0 * y2));
} else if (y0 <= 1.55e-43) {
tmp = b * (y * (x * a));
} else {
tmp = j * (y0 * (y3 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y0 <= (-7.2d-43)) then
tmp = c * (x * (y0 * y2))
else if (y0 <= 1.55d-43) then
tmp = b * (y * (x * a))
else
tmp = j * (y0 * (y3 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -7.2e-43) {
tmp = c * (x * (y0 * y2));
} else if (y0 <= 1.55e-43) {
tmp = b * (y * (x * a));
} else {
tmp = j * (y0 * (y3 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -7.2e-43: tmp = c * (x * (y0 * y2)) elif y0 <= 1.55e-43: tmp = b * (y * (x * a)) else: tmp = j * (y0 * (y3 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -7.2e-43) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y0 <= 1.55e-43) tmp = Float64(b * Float64(y * Float64(x * a))); else tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y0 <= -7.2e-43) tmp = c * (x * (y0 * y2)); elseif (y0 <= 1.55e-43) tmp = b * (y * (x * a)); else tmp = j * (y0 * (y3 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -7.2e-43], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.55e-43], N[(b * N[(y * N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -7.2 \cdot 10^{-43}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 1.55 \cdot 10^{-43}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y0 < -7.1999999999999998e-43Initial program 26.8%
Taylor expanded in y0 around inf 46.6%
+-commutative46.6%
mul-1-neg46.6%
unsub-neg46.6%
*-commutative46.6%
*-commutative46.6%
*-commutative46.6%
*-commutative46.6%
Simplified46.6%
Taylor expanded in y2 around inf 45.4%
Taylor expanded in c around inf 32.3%
*-commutative32.3%
Simplified32.3%
if -7.1999999999999998e-43 < y0 < 1.55e-43Initial program 39.0%
Taylor expanded in b around inf 35.7%
Taylor expanded in a around inf 26.7%
Taylor expanded in x around inf 21.4%
associate-*r*21.4%
Simplified21.4%
if 1.55e-43 < y0 Initial program 23.9%
Taylor expanded in y0 around inf 49.8%
+-commutative49.8%
mul-1-neg49.8%
unsub-neg49.8%
*-commutative49.8%
*-commutative49.8%
*-commutative49.8%
*-commutative49.8%
Simplified49.8%
Taylor expanded in y3 around -inf 45.4%
associate-*r*45.4%
neg-mul-145.4%
Simplified45.4%
Taylor expanded in c around 0 39.1%
Final simplification28.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* x (* y b))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (x * (y * b));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * (x * (y * b))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (x * (y * b));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (x * (y * b))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(x * Float64(y * b))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (x * (y * b)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(x * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(x \cdot \left(y \cdot b\right)\right)
\end{array}
Initial program 32.1%
Taylor expanded in b around inf 33.8%
Taylor expanded in a around inf 22.5%
Taylor expanded in x around inf 16.3%
associate-*r*15.3%
*-commutative15.3%
Simplified15.3%
pow115.3%
associate-*l*14.7%
Applied egg-rr14.7%
unpow114.7%
Simplified14.7%
Final simplification14.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* y (* x b))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y * (x * b));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * (y * (x * b))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y * (x * b));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (y * (x * b))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(y * Float64(x * b))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (y * (x * b)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(y \cdot \left(x \cdot b\right)\right)
\end{array}
Initial program 32.1%
Taylor expanded in b around inf 33.8%
Taylor expanded in a around inf 22.5%
Taylor expanded in x around inf 16.3%
associate-*r*15.3%
*-commutative15.3%
Simplified15.3%
Final simplification15.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* b (* (* x y) a)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return b * ((x * y) * a);
}
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 * ((x * y) * a)
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 * ((x * y) * a);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return b * ((x * y) * a)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(b * Float64(Float64(x * y) * a)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = b * ((x * y) * a); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
b \cdot \left(\left(x \cdot y\right) \cdot a\right)
\end{array}
Initial program 32.1%
Taylor expanded in b around inf 33.8%
Taylor expanded in a around inf 22.5%
Taylor expanded in x around inf 15.6%
Final simplification15.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y4 c) (* y5 a)))
(t_2 (- (* x y2) (* z y3)))
(t_3 (- (* y2 t) (* y3 y)))
(t_4 (- (* k y2) (* j y3)))
(t_5 (- (* y4 b) (* y5 i)))
(t_6 (* (- (* j t) (* k y)) t_5))
(t_7 (- (* b a) (* i c)))
(t_8 (* t_7 (- (* y x) (* t z))))
(t_9 (- (* j x) (* k z)))
(t_10 (* (- (* b y0) (* i y1)) t_9))
(t_11 (* t_9 (- (* y0 b) (* i y1))))
(t_12 (- (* y4 y1) (* y5 y0)))
(t_13 (* t_4 t_12))
(t_14 (* (- (* y2 k) (* y3 j)) t_12))
(t_15
(+
(-
(-
(- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
(* (* y5 t) (* i j)))
(- (* t_3 t_1) t_14))
(- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
(t_16
(+
(+
(- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
(+ (* (* y5 a) (* t y2)) t_13))
(-
(* t_2 (- (* c y0) (* a y1)))
(- t_10 (* (- (* y x) (* z t)) t_7)))))
(t_17 (- (* t y2) (* y y3))))
(if (< y4 -7.206256231996481e+60)
(- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
(if (< y4 -3.364603505246317e-66)
(+
(-
(- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
t_10)
(-
(* (- (* y0 c) (* a y1)) t_2)
(- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
(if (< y4 -1.2000065055686116e-105)
t_16
(if (< y4 6.718963124057495e-279)
t_15
(if (< y4 4.77962681403792e-222)
t_16
(if (< y4 2.2852241541266835e-175)
t_15
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(-
(* k (* i (* z y1)))
(+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
(-
(* z (* y3 (* a y1)))
(+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
(* (- (* t j) (* y k)) t_5))
(* t_17 t_1))
t_13)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_11
real(8) :: t_12
real(8) :: t_13
real(8) :: t_14
real(8) :: t_15
real(8) :: t_16
real(8) :: t_17
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (y4 * c) - (y5 * a)
t_2 = (x * y2) - (z * y3)
t_3 = (y2 * t) - (y3 * y)
t_4 = (k * y2) - (j * y3)
t_5 = (y4 * b) - (y5 * i)
t_6 = ((j * t) - (k * y)) * t_5
t_7 = (b * a) - (i * c)
t_8 = t_7 * ((y * x) - (t * z))
t_9 = (j * x) - (k * z)
t_10 = ((b * y0) - (i * y1)) * t_9
t_11 = t_9 * ((y0 * b) - (i * y1))
t_12 = (y4 * y1) - (y5 * y0)
t_13 = t_4 * t_12
t_14 = ((y2 * k) - (y3 * j)) * t_12
t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
t_17 = (t * y2) - (y * y3)
if (y4 < (-7.206256231996481d+60)) then
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
else if (y4 < (-3.364603505246317d-66)) then
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
else if (y4 < (-1.2000065055686116d-105)) then
tmp = t_16
else if (y4 < 6.718963124057495d-279) then
tmp = t_15
else if (y4 < 4.77962681403792d-222) then
tmp = t_16
else if (y4 < 2.2852241541266835d-175) then
tmp = t_15
else
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y4 * c) - (y5 * a);
double t_2 = (x * y2) - (z * y3);
double t_3 = (y2 * t) - (y3 * y);
double t_4 = (k * y2) - (j * y3);
double t_5 = (y4 * b) - (y5 * i);
double t_6 = ((j * t) - (k * y)) * t_5;
double t_7 = (b * a) - (i * c);
double t_8 = t_7 * ((y * x) - (t * z));
double t_9 = (j * x) - (k * z);
double t_10 = ((b * y0) - (i * y1)) * t_9;
double t_11 = t_9 * ((y0 * b) - (i * y1));
double t_12 = (y4 * y1) - (y5 * y0);
double t_13 = t_4 * t_12;
double t_14 = ((y2 * k) - (y3 * j)) * t_12;
double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
double t_17 = (t * y2) - (y * y3);
double tmp;
if (y4 < -7.206256231996481e+60) {
tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
} else if (y4 < -3.364603505246317e-66) {
tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
} else if (y4 < -1.2000065055686116e-105) {
tmp = t_16;
} else if (y4 < 6.718963124057495e-279) {
tmp = t_15;
} else if (y4 < 4.77962681403792e-222) {
tmp = t_16;
} else if (y4 < 2.2852241541266835e-175) {
tmp = t_15;
} else {
tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y4 * c) - (y5 * a) t_2 = (x * y2) - (z * y3) t_3 = (y2 * t) - (y3 * y) t_4 = (k * y2) - (j * y3) t_5 = (y4 * b) - (y5 * i) t_6 = ((j * t) - (k * y)) * t_5 t_7 = (b * a) - (i * c) t_8 = t_7 * ((y * x) - (t * z)) t_9 = (j * x) - (k * z) t_10 = ((b * y0) - (i * y1)) * t_9 t_11 = t_9 * ((y0 * b) - (i * y1)) t_12 = (y4 * y1) - (y5 * y0) t_13 = t_4 * t_12 t_14 = ((y2 * k) - (y3 * j)) * t_12 t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))) t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))) t_17 = (t * y2) - (y * y3) tmp = 0 if y4 < -7.206256231996481e+60: tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14) elif y4 < -3.364603505246317e-66: tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))) elif y4 < -1.2000065055686116e-105: tmp = t_16 elif y4 < 6.718963124057495e-279: tmp = t_15 elif y4 < 4.77962681403792e-222: tmp = t_16 elif y4 < 2.2852241541266835e-175: tmp = t_15 else: tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y4 * c) - Float64(y5 * a)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = Float64(Float64(y2 * t) - Float64(y3 * y)) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) t_5 = Float64(Float64(y4 * b) - Float64(y5 * i)) t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5) t_7 = Float64(Float64(b * a) - Float64(i * c)) t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z))) t_9 = Float64(Float64(j * x) - Float64(k * z)) t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9) t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1))) t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0)) t_13 = Float64(t_4 * t_12) t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12) t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a)))))) t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7)))) t_17 = Float64(Float64(t * y2) - Float64(y * y3)) tmp = 0.0 if (y4 < -7.206256231996481e+60) tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14)); elseif (y4 < -3.364603505246317e-66) tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4)))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y4 * c) - (y5 * a); t_2 = (x * y2) - (z * y3); t_3 = (y2 * t) - (y3 * y); t_4 = (k * y2) - (j * y3); t_5 = (y4 * b) - (y5 * i); t_6 = ((j * t) - (k * y)) * t_5; t_7 = (b * a) - (i * c); t_8 = t_7 * ((y * x) - (t * z)); t_9 = (j * x) - (k * z); t_10 = ((b * y0) - (i * y1)) * t_9; t_11 = t_9 * ((y0 * b) - (i * y1)); t_12 = (y4 * y1) - (y5 * y0); t_13 = t_4 * t_12; t_14 = ((y2 * k) - (y3 * j)) * t_12; t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a))))); t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7))); t_17 = (t * y2) - (y * y3); tmp = 0.0; if (y4 < -7.206256231996481e+60) tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14); elseif (y4 < -3.364603505246317e-66) tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4))); elseif (y4 < -1.2000065055686116e-105) tmp = t_16; elseif (y4 < 6.718963124057495e-279) tmp = t_15; elseif (y4 < 4.77962681403792e-222) tmp = t_16; elseif (y4 < 2.2852241541266835e-175) tmp = t_15; else tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot c - y5 \cdot a\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := y2 \cdot t - y3 \cdot y\\
t_4 := k \cdot y2 - j \cdot y3\\
t_5 := y4 \cdot b - y5 \cdot i\\
t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
t_7 := b \cdot a - i \cdot c\\
t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
t_9 := j \cdot x - k \cdot z\\
t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
t_12 := y4 \cdot y1 - y5 \cdot y0\\
t_13 := t\_4 \cdot t\_12\\
t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
t_17 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
\;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\
\mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
\;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\
\mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
\;\;\;\;t\_16\\
\mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
\;\;\;\;t\_15\\
\mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
\;\;\;\;t\_16\\
\mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
\;\;\;\;t\_15\\
\mathbf{else}:\\
\;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\
\end{array}
\end{array}
herbie shell --seed 2024053
(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)))))