
(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 33 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 (- (* y y3) (* t y2)))
(t_2 (- (* a b) (* c i)))
(t_3 (- (* c y0) (* a y1)))
(t_4 (- (* z k) (* x j)))
(t_5 (- (* i y1) (* b y0)))
(t_6
(*
z
(+
(* k (- (* b y0) (* i y1)))
(- (* y3 (- (* a y1) (* c y0))) (* t t_2)))))
(t_7 (- (* j y3) (* k y2)))
(t_8
(*
j
(+
(+ (* y3 (- (* y0 y5) (* y1 y4))) (* t (- (* b y4) (* i y5))))
(* x t_5))))
(t_9 (* x (+ (+ (* y t_2) (* y2 t_3)) (* j t_5))))
(t_10 (- (* x y2) (* z y3)))
(t_11 (* c (+ (+ (* i (- (* z t) (* x y))) (* y0 t_10)) (* y4 t_1))))
(t_12 (- (* t j) (* y k))))
(if (<= z -3e+48)
t_6
(if (<= z -1.3e-104)
(* y0 (+ (+ (* y5 t_7) (* c t_10)) (* b t_4)))
(if (<= z -3.9e-174)
(* y4 (+ (+ (* b t_12) (* y1 (- (* k y2) (* j y3)))) (* c t_1)))
(if (<= z -1.35e-229)
t_8
(if (<= z -1e-292)
t_9
(if (<= z 5.6e-302)
(* c (* y (* y3 y4)))
(if (<= z 8e-261)
(* b (+ (+ (* a (- (* x y) (* z t))) (* y4 t_12)) (* y0 t_4)))
(if (<= z 1.05e-230)
t_11
(if (<= z 1.1e-208)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_3))
(* t (- (* a y5) (* c y4)))))
(if (<= z 7.1e-165)
(* (* x c) (- (* y0 y2) (* y i)))
(if (<= z 1.65e-141)
(*
y1
(-
(* i (- (* x j) (* z k)))
(+ (* a t_10) (* y4 t_7))))
(if (<= z 3.5e+33)
t_8
(if (<= z 4.4e+107)
t_11
(if (<= z 9.2e+269) t_6 t_9))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * y3) - (t * y2);
double t_2 = (a * b) - (c * i);
double t_3 = (c * y0) - (a * y1);
double t_4 = (z * k) - (x * j);
double t_5 = (i * y1) - (b * y0);
double t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2)));
double t_7 = (j * y3) - (k * y2);
double t_8 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_5));
double t_9 = x * (((y * t_2) + (y2 * t_3)) + (j * t_5));
double t_10 = (x * y2) - (z * y3);
double t_11 = c * (((i * ((z * t) - (x * y))) + (y0 * t_10)) + (y4 * t_1));
double t_12 = (t * j) - (y * k);
double tmp;
if (z <= -3e+48) {
tmp = t_6;
} else if (z <= -1.3e-104) {
tmp = y0 * (((y5 * t_7) + (c * t_10)) + (b * t_4));
} else if (z <= -3.9e-174) {
tmp = y4 * (((b * t_12) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
} else if (z <= -1.35e-229) {
tmp = t_8;
} else if (z <= -1e-292) {
tmp = t_9;
} else if (z <= 5.6e-302) {
tmp = c * (y * (y3 * y4));
} else if (z <= 8e-261) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_12)) + (y0 * t_4));
} else if (z <= 1.05e-230) {
tmp = t_11;
} else if (z <= 1.1e-208) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4))));
} else if (z <= 7.1e-165) {
tmp = (x * c) * ((y0 * y2) - (y * i));
} else if (z <= 1.65e-141) {
tmp = y1 * ((i * ((x * j) - (z * k))) - ((a * t_10) + (y4 * t_7)));
} else if (z <= 3.5e+33) {
tmp = t_8;
} else if (z <= 4.4e+107) {
tmp = t_11;
} else if (z <= 9.2e+269) {
tmp = t_6;
} else {
tmp = t_9;
}
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_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 = (y * y3) - (t * y2)
t_2 = (a * b) - (c * i)
t_3 = (c * y0) - (a * y1)
t_4 = (z * k) - (x * j)
t_5 = (i * y1) - (b * y0)
t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2)))
t_7 = (j * y3) - (k * y2)
t_8 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_5))
t_9 = x * (((y * t_2) + (y2 * t_3)) + (j * t_5))
t_10 = (x * y2) - (z * y3)
t_11 = c * (((i * ((z * t) - (x * y))) + (y0 * t_10)) + (y4 * t_1))
t_12 = (t * j) - (y * k)
if (z <= (-3d+48)) then
tmp = t_6
else if (z <= (-1.3d-104)) then
tmp = y0 * (((y5 * t_7) + (c * t_10)) + (b * t_4))
else if (z <= (-3.9d-174)) then
tmp = y4 * (((b * t_12) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1))
else if (z <= (-1.35d-229)) then
tmp = t_8
else if (z <= (-1d-292)) then
tmp = t_9
else if (z <= 5.6d-302) then
tmp = c * (y * (y3 * y4))
else if (z <= 8d-261) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_12)) + (y0 * t_4))
else if (z <= 1.05d-230) then
tmp = t_11
else if (z <= 1.1d-208) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4))))
else if (z <= 7.1d-165) then
tmp = (x * c) * ((y0 * y2) - (y * i))
else if (z <= 1.65d-141) then
tmp = y1 * ((i * ((x * j) - (z * k))) - ((a * t_10) + (y4 * t_7)))
else if (z <= 3.5d+33) then
tmp = t_8
else if (z <= 4.4d+107) then
tmp = t_11
else if (z <= 9.2d+269) then
tmp = t_6
else
tmp = t_9
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * y3) - (t * y2);
double t_2 = (a * b) - (c * i);
double t_3 = (c * y0) - (a * y1);
double t_4 = (z * k) - (x * j);
double t_5 = (i * y1) - (b * y0);
double t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2)));
double t_7 = (j * y3) - (k * y2);
double t_8 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_5));
double t_9 = x * (((y * t_2) + (y2 * t_3)) + (j * t_5));
double t_10 = (x * y2) - (z * y3);
double t_11 = c * (((i * ((z * t) - (x * y))) + (y0 * t_10)) + (y4 * t_1));
double t_12 = (t * j) - (y * k);
double tmp;
if (z <= -3e+48) {
tmp = t_6;
} else if (z <= -1.3e-104) {
tmp = y0 * (((y5 * t_7) + (c * t_10)) + (b * t_4));
} else if (z <= -3.9e-174) {
tmp = y4 * (((b * t_12) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
} else if (z <= -1.35e-229) {
tmp = t_8;
} else if (z <= -1e-292) {
tmp = t_9;
} else if (z <= 5.6e-302) {
tmp = c * (y * (y3 * y4));
} else if (z <= 8e-261) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_12)) + (y0 * t_4));
} else if (z <= 1.05e-230) {
tmp = t_11;
} else if (z <= 1.1e-208) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4))));
} else if (z <= 7.1e-165) {
tmp = (x * c) * ((y0 * y2) - (y * i));
} else if (z <= 1.65e-141) {
tmp = y1 * ((i * ((x * j) - (z * k))) - ((a * t_10) + (y4 * t_7)));
} else if (z <= 3.5e+33) {
tmp = t_8;
} else if (z <= 4.4e+107) {
tmp = t_11;
} else if (z <= 9.2e+269) {
tmp = t_6;
} else {
tmp = t_9;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * y3) - (t * y2) t_2 = (a * b) - (c * i) t_3 = (c * y0) - (a * y1) t_4 = (z * k) - (x * j) t_5 = (i * y1) - (b * y0) t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2))) t_7 = (j * y3) - (k * y2) t_8 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_5)) t_9 = x * (((y * t_2) + (y2 * t_3)) + (j * t_5)) t_10 = (x * y2) - (z * y3) t_11 = c * (((i * ((z * t) - (x * y))) + (y0 * t_10)) + (y4 * t_1)) t_12 = (t * j) - (y * k) tmp = 0 if z <= -3e+48: tmp = t_6 elif z <= -1.3e-104: tmp = y0 * (((y5 * t_7) + (c * t_10)) + (b * t_4)) elif z <= -3.9e-174: tmp = y4 * (((b * t_12) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1)) elif z <= -1.35e-229: tmp = t_8 elif z <= -1e-292: tmp = t_9 elif z <= 5.6e-302: tmp = c * (y * (y3 * y4)) elif z <= 8e-261: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_12)) + (y0 * t_4)) elif z <= 1.05e-230: tmp = t_11 elif z <= 1.1e-208: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4)))) elif z <= 7.1e-165: tmp = (x * c) * ((y0 * y2) - (y * i)) elif z <= 1.65e-141: tmp = y1 * ((i * ((x * j) - (z * k))) - ((a * t_10) + (y4 * t_7))) elif z <= 3.5e+33: tmp = t_8 elif z <= 4.4e+107: tmp = t_11 elif z <= 9.2e+269: tmp = t_6 else: tmp = t_9 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y * y3) - Float64(t * y2)) t_2 = Float64(Float64(a * b) - Float64(c * i)) t_3 = Float64(Float64(c * y0) - Float64(a * y1)) t_4 = Float64(Float64(z * k) - Float64(x * j)) t_5 = Float64(Float64(i * y1) - Float64(b * y0)) t_6 = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(t * t_2)))) t_7 = Float64(Float64(j * y3) - Float64(k * y2)) t_8 = Float64(j * Float64(Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * t_5))) t_9 = Float64(x * Float64(Float64(Float64(y * t_2) + Float64(y2 * t_3)) + Float64(j * t_5))) t_10 = Float64(Float64(x * y2) - Float64(z * y3)) t_11 = Float64(c * Float64(Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(y0 * t_10)) + Float64(y4 * t_1))) t_12 = Float64(Float64(t * j) - Float64(y * k)) tmp = 0.0 if (z <= -3e+48) tmp = t_6; elseif (z <= -1.3e-104) tmp = Float64(y0 * Float64(Float64(Float64(y5 * t_7) + Float64(c * t_10)) + Float64(b * t_4))); elseif (z <= -3.9e-174) tmp = Float64(y4 * Float64(Float64(Float64(b * t_12) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * t_1))); elseif (z <= -1.35e-229) tmp = t_8; elseif (z <= -1e-292) tmp = t_9; elseif (z <= 5.6e-302) tmp = Float64(c * Float64(y * Float64(y3 * y4))); elseif (z <= 8e-261) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_12)) + Float64(y0 * t_4))); elseif (z <= 1.05e-230) tmp = t_11; elseif (z <= 1.1e-208) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_3)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (z <= 7.1e-165) tmp = Float64(Float64(x * c) * Float64(Float64(y0 * y2) - Float64(y * i))); elseif (z <= 1.65e-141) tmp = Float64(y1 * Float64(Float64(i * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(a * t_10) + Float64(y4 * t_7)))); elseif (z <= 3.5e+33) tmp = t_8; elseif (z <= 4.4e+107) tmp = t_11; elseif (z <= 9.2e+269) tmp = t_6; else tmp = t_9; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y * y3) - (t * y2); t_2 = (a * b) - (c * i); t_3 = (c * y0) - (a * y1); t_4 = (z * k) - (x * j); t_5 = (i * y1) - (b * y0); t_6 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2))); t_7 = (j * y3) - (k * y2); t_8 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_5)); t_9 = x * (((y * t_2) + (y2 * t_3)) + (j * t_5)); t_10 = (x * y2) - (z * y3); t_11 = c * (((i * ((z * t) - (x * y))) + (y0 * t_10)) + (y4 * t_1)); t_12 = (t * j) - (y * k); tmp = 0.0; if (z <= -3e+48) tmp = t_6; elseif (z <= -1.3e-104) tmp = y0 * (((y5 * t_7) + (c * t_10)) + (b * t_4)); elseif (z <= -3.9e-174) tmp = y4 * (((b * t_12) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1)); elseif (z <= -1.35e-229) tmp = t_8; elseif (z <= -1e-292) tmp = t_9; elseif (z <= 5.6e-302) tmp = c * (y * (y3 * y4)); elseif (z <= 8e-261) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_12)) + (y0 * t_4)); elseif (z <= 1.05e-230) tmp = t_11; elseif (z <= 1.1e-208) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4)))); elseif (z <= 7.1e-165) tmp = (x * c) * ((y0 * y2) - (y * i)); elseif (z <= 1.65e-141) tmp = y1 * ((i * ((x * j) - (z * k))) - ((a * t_10) + (y4 * t_7))); elseif (z <= 3.5e+33) tmp = t_8; elseif (z <= 4.4e+107) tmp = t_11; elseif (z <= 9.2e+269) tmp = t_6; else tmp = t_9; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(j * N[(N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(x * N[(N[(N[(y * t$95$2), $MachinePrecision] + N[(y2 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$11 = N[(c * N[(N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$10), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3e+48], t$95$6, If[LessEqual[z, -1.3e-104], N[(y0 * N[(N[(N[(y5 * t$95$7), $MachinePrecision] + N[(c * t$95$10), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3.9e-174], N[(y4 * N[(N[(N[(b * t$95$12), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.35e-229], t$95$8, If[LessEqual[z, -1e-292], t$95$9, If[LessEqual[z, 5.6e-302], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8e-261], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$12), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.05e-230], t$95$11, If[LessEqual[z, 1.1e-208], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.1e-165], N[(N[(x * c), $MachinePrecision] * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.65e-141], N[(y1 * N[(N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t$95$10), $MachinePrecision] + N[(y4 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.5e+33], t$95$8, If[LessEqual[z, 4.4e+107], t$95$11, If[LessEqual[z, 9.2e+269], t$95$6, t$95$9]]]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
t_2 := a \cdot b - c \cdot i\\
t_3 := c \cdot y0 - a \cdot y1\\
t_4 := z \cdot k - x \cdot j\\
t_5 := i \cdot y1 - b \cdot y0\\
t_6 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) - t \cdot t\_2\right)\right)\\
t_7 := j \cdot y3 - k \cdot y2\\
t_8 := j \cdot \left(\left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot t\_5\right)\\
t_9 := x \cdot \left(\left(y \cdot t\_2 + y2 \cdot t\_3\right) + j \cdot t\_5\right)\\
t_10 := x \cdot y2 - z \cdot y3\\
t_11 := c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot t\_10\right) + y4 \cdot t\_1\right)\\
t_12 := t \cdot j - y \cdot k\\
\mathbf{if}\;z \leq -3 \cdot 10^{+48}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;z \leq -1.3 \cdot 10^{-104}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot t\_7 + c \cdot t\_10\right) + b \cdot t\_4\right)\\
\mathbf{elif}\;z \leq -3.9 \cdot 10^{-174}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_12 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot t\_1\right)\\
\mathbf{elif}\;z \leq -1.35 \cdot 10^{-229}:\\
\;\;\;\;t\_8\\
\mathbf{elif}\;z \leq -1 \cdot 10^{-292}:\\
\;\;\;\;t\_9\\
\mathbf{elif}\;z \leq 5.6 \cdot 10^{-302}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 8 \cdot 10^{-261}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t\_12\right) + y0 \cdot t\_4\right)\\
\mathbf{elif}\;z \leq 1.05 \cdot 10^{-230}:\\
\;\;\;\;t\_11\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{-208}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_3\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 7.1 \cdot 10^{-165}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2 - y \cdot i\right)\\
\mathbf{elif}\;z \leq 1.65 \cdot 10^{-141}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j - z \cdot k\right) - \left(a \cdot t\_10 + y4 \cdot t\_7\right)\right)\\
\mathbf{elif}\;z \leq 3.5 \cdot 10^{+33}:\\
\;\;\;\;t\_8\\
\mathbf{elif}\;z \leq 4.4 \cdot 10^{+107}:\\
\;\;\;\;t\_11\\
\mathbf{elif}\;z \leq 9.2 \cdot 10^{+269}:\\
\;\;\;\;t\_6\\
\mathbf{else}:\\
\;\;\;\;t\_9\\
\end{array}
\end{array}
if z < -3e48 or 4.4e107 < z < 9.2000000000000002e269Initial program 26.3%
Taylor expanded in z around -inf 62.5%
if -3e48 < z < -1.30000000000000001e-104Initial program 50.7%
Taylor expanded in y0 around inf 63.7%
if -1.30000000000000001e-104 < z < -3.8999999999999999e-174Initial program 40.0%
Taylor expanded in y4 around inf 60.5%
if -3.8999999999999999e-174 < z < -1.3499999999999999e-229 or 1.65e-141 < z < 3.5000000000000001e33Initial program 21.7%
Taylor expanded in j around inf 69.9%
if -1.3499999999999999e-229 < z < -1.0000000000000001e-292 or 9.2000000000000002e269 < z Initial program 50.2%
Taylor expanded in x around inf 75.4%
if -1.0000000000000001e-292 < z < 5.6e-302Initial program 16.7%
Taylor expanded in c around inf 66.7%
Taylor expanded in y around -inf 66.7%
mul-1-neg66.7%
associate-*r*50.6%
*-commutative50.6%
Simplified50.6%
Taylor expanded in x around 0 83.6%
if 5.6e-302 < z < 7.99999999999999987e-261Initial program 42.9%
Taylor expanded in b around inf 72.3%
if 7.99999999999999987e-261 < z < 1.0499999999999999e-230 or 3.5000000000000001e33 < z < 4.4e107Initial program 39.9%
Taylor expanded in c around inf 68.2%
if 1.0499999999999999e-230 < z < 1.1e-208Initial program 100.0%
Taylor expanded in y2 around inf 75.2%
if 1.1e-208 < z < 7.10000000000000048e-165Initial program 10.0%
Taylor expanded in c around inf 60.0%
Taylor expanded in x around inf 70.9%
associate-*r*80.3%
+-commutative80.3%
mul-1-neg80.3%
unsub-neg80.3%
*-commutative80.3%
Simplified80.3%
if 7.10000000000000048e-165 < z < 1.65e-141Initial program 26.5%
Taylor expanded in y1 around inf 77.0%
Final simplification67.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y1 y4) (* y0 y5)))
(t_2
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* z k) (* x j))))
(* (- (* c y0) (* a y1)) (- (* x y2) (* z y3))))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) t_1))))
(if (<= t_2 INFINITY)
t_2
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(- (* z (- (* a y1) (* c y0))) (* j 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 = (y1 * y4) - (y0 * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * t_1);
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_1)));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * t_1);
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_1)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y1 * y4) - (y0 * y5) t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * t_1) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_1))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y1 * y4) - Float64(y0 * 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(b * y0) - Float64(i * y1)) * Float64(Float64(z * k) - Float64(x * j)))) + 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(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_1)) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(j * t_1)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y1 * y4) - (y0 * y5); t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * t_1); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_1))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * 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[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(z * k), $MachinePrecision] - N[(x * j), $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[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, Infinity], t$95$2, N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \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(b \cdot y0 - i \cdot y1\right) \cdot \left(z \cdot k - x \cdot j\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) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot t\_1\\
\mathbf{if}\;t\_2 \leq \infty:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) - j \cdot t\_1\right)\right)\\
\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 92.7%
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.2%
Final simplification60.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y y3) (* t y2)))
(t_2 (- (* a b) (* c i)))
(t_3
(*
z
(+
(* k (- (* b y0) (* i y1)))
(- (* y3 (- (* a y1) (* c y0))) (* t t_2)))))
(t_4 (- (* c y0) (* a y1)))
(t_5 (- (* z k) (* x j)))
(t_6 (- (* i y1) (* b y0)))
(t_7
(*
j
(+
(+ (* y3 (- (* y0 y5) (* y1 y4))) (* t (- (* b y4) (* i y5))))
(* x t_6))))
(t_8 (* x (+ (+ (* y t_2) (* y2 t_4)) (* j t_6))))
(t_9 (- (* x y2) (* z y3)))
(t_10 (* c (+ (+ (* i (- (* z t) (* x y))) (* y0 t_9)) (* y4 t_1))))
(t_11 (- (* t j) (* y k))))
(if (<= z -3.8e+41)
t_3
(if (<= z -6.5e-108)
(* y0 (+ (+ (* y5 (- (* j y3) (* k y2))) (* c t_9)) (* b t_5)))
(if (<= z -1.7e-174)
(* y4 (+ (+ (* b t_11) (* y1 (- (* k y2) (* j y3)))) (* c t_1)))
(if (<= z -3.2e-235)
t_7
(if (<= z -1.72e-292)
t_8
(if (<= z 4.6e-302)
(* c (* y (* y3 y4)))
(if (<= z 4.5e-261)
(* b (+ (+ (* a (- (* x y) (* z t))) (* y4 t_11)) (* y0 t_5)))
(if (<= z 1.4e-233)
t_10
(if (<= z 1.05e-208)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_4))
(* t (- (* a y5) (* c y4)))))
(if (<= z 1.55e-149)
(* (* x c) (- (* y0 y2) (* y i)))
(if (<= z 1.65e-141)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= z 1.1e+34)
t_7
(if (<= z 6.4e+106)
t_10
(if (<= z 9.2e+269) t_3 t_8))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * y3) - (t * y2);
double t_2 = (a * b) - (c * i);
double t_3 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2)));
double t_4 = (c * y0) - (a * y1);
double t_5 = (z * k) - (x * j);
double t_6 = (i * y1) - (b * y0);
double t_7 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_6));
double t_8 = x * (((y * t_2) + (y2 * t_4)) + (j * t_6));
double t_9 = (x * y2) - (z * y3);
double t_10 = c * (((i * ((z * t) - (x * y))) + (y0 * t_9)) + (y4 * t_1));
double t_11 = (t * j) - (y * k);
double tmp;
if (z <= -3.8e+41) {
tmp = t_3;
} else if (z <= -6.5e-108) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * t_9)) + (b * t_5));
} else if (z <= -1.7e-174) {
tmp = y4 * (((b * t_11) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
} else if (z <= -3.2e-235) {
tmp = t_7;
} else if (z <= -1.72e-292) {
tmp = t_8;
} else if (z <= 4.6e-302) {
tmp = c * (y * (y3 * y4));
} else if (z <= 4.5e-261) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_11)) + (y0 * t_5));
} else if (z <= 1.4e-233) {
tmp = t_10;
} else if (z <= 1.05e-208) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))));
} else if (z <= 1.55e-149) {
tmp = (x * c) * ((y0 * y2) - (y * i));
} else if (z <= 1.65e-141) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (z <= 1.1e+34) {
tmp = t_7;
} else if (z <= 6.4e+106) {
tmp = t_10;
} else if (z <= 9.2e+269) {
tmp = t_3;
} else {
tmp = t_8;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_11
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (y * y3) - (t * y2)
t_2 = (a * b) - (c * i)
t_3 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2)))
t_4 = (c * y0) - (a * y1)
t_5 = (z * k) - (x * j)
t_6 = (i * y1) - (b * y0)
t_7 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_6))
t_8 = x * (((y * t_2) + (y2 * t_4)) + (j * t_6))
t_9 = (x * y2) - (z * y3)
t_10 = c * (((i * ((z * t) - (x * y))) + (y0 * t_9)) + (y4 * t_1))
t_11 = (t * j) - (y * k)
if (z <= (-3.8d+41)) then
tmp = t_3
else if (z <= (-6.5d-108)) then
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * t_9)) + (b * t_5))
else if (z <= (-1.7d-174)) then
tmp = y4 * (((b * t_11) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1))
else if (z <= (-3.2d-235)) then
tmp = t_7
else if (z <= (-1.72d-292)) then
tmp = t_8
else if (z <= 4.6d-302) then
tmp = c * (y * (y3 * y4))
else if (z <= 4.5d-261) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_11)) + (y0 * t_5))
else if (z <= 1.4d-233) then
tmp = t_10
else if (z <= 1.05d-208) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))))
else if (z <= 1.55d-149) then
tmp = (x * c) * ((y0 * y2) - (y * i))
else if (z <= 1.65d-141) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (z <= 1.1d+34) then
tmp = t_7
else if (z <= 6.4d+106) then
tmp = t_10
else if (z <= 9.2d+269) then
tmp = t_3
else
tmp = t_8
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * y3) - (t * y2);
double t_2 = (a * b) - (c * i);
double t_3 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2)));
double t_4 = (c * y0) - (a * y1);
double t_5 = (z * k) - (x * j);
double t_6 = (i * y1) - (b * y0);
double t_7 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_6));
double t_8 = x * (((y * t_2) + (y2 * t_4)) + (j * t_6));
double t_9 = (x * y2) - (z * y3);
double t_10 = c * (((i * ((z * t) - (x * y))) + (y0 * t_9)) + (y4 * t_1));
double t_11 = (t * j) - (y * k);
double tmp;
if (z <= -3.8e+41) {
tmp = t_3;
} else if (z <= -6.5e-108) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * t_9)) + (b * t_5));
} else if (z <= -1.7e-174) {
tmp = y4 * (((b * t_11) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1));
} else if (z <= -3.2e-235) {
tmp = t_7;
} else if (z <= -1.72e-292) {
tmp = t_8;
} else if (z <= 4.6e-302) {
tmp = c * (y * (y3 * y4));
} else if (z <= 4.5e-261) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_11)) + (y0 * t_5));
} else if (z <= 1.4e-233) {
tmp = t_10;
} else if (z <= 1.05e-208) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))));
} else if (z <= 1.55e-149) {
tmp = (x * c) * ((y0 * y2) - (y * i));
} else if (z <= 1.65e-141) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (z <= 1.1e+34) {
tmp = t_7;
} else if (z <= 6.4e+106) {
tmp = t_10;
} else if (z <= 9.2e+269) {
tmp = t_3;
} else {
tmp = t_8;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y * y3) - (t * y2) t_2 = (a * b) - (c * i) t_3 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2))) t_4 = (c * y0) - (a * y1) t_5 = (z * k) - (x * j) t_6 = (i * y1) - (b * y0) t_7 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_6)) t_8 = x * (((y * t_2) + (y2 * t_4)) + (j * t_6)) t_9 = (x * y2) - (z * y3) t_10 = c * (((i * ((z * t) - (x * y))) + (y0 * t_9)) + (y4 * t_1)) t_11 = (t * j) - (y * k) tmp = 0 if z <= -3.8e+41: tmp = t_3 elif z <= -6.5e-108: tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * t_9)) + (b * t_5)) elif z <= -1.7e-174: tmp = y4 * (((b * t_11) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1)) elif z <= -3.2e-235: tmp = t_7 elif z <= -1.72e-292: tmp = t_8 elif z <= 4.6e-302: tmp = c * (y * (y3 * y4)) elif z <= 4.5e-261: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_11)) + (y0 * t_5)) elif z <= 1.4e-233: tmp = t_10 elif z <= 1.05e-208: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4)))) elif z <= 1.55e-149: tmp = (x * c) * ((y0 * y2) - (y * i)) elif z <= 1.65e-141: tmp = c * (t * ((z * i) - (y2 * y4))) elif z <= 1.1e+34: tmp = t_7 elif z <= 6.4e+106: tmp = t_10 elif z <= 9.2e+269: tmp = t_3 else: tmp = t_8 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y * y3) - Float64(t * y2)) t_2 = Float64(Float64(a * b) - Float64(c * i)) t_3 = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(t * t_2)))) t_4 = Float64(Float64(c * y0) - Float64(a * y1)) t_5 = Float64(Float64(z * k) - Float64(x * j)) t_6 = Float64(Float64(i * y1) - Float64(b * y0)) t_7 = Float64(j * Float64(Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * t_6))) t_8 = Float64(x * Float64(Float64(Float64(y * t_2) + Float64(y2 * t_4)) + Float64(j * t_6))) t_9 = Float64(Float64(x * y2) - Float64(z * y3)) t_10 = Float64(c * Float64(Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(y0 * t_9)) + Float64(y4 * t_1))) t_11 = Float64(Float64(t * j) - Float64(y * k)) tmp = 0.0 if (z <= -3.8e+41) tmp = t_3; elseif (z <= -6.5e-108) tmp = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * t_9)) + Float64(b * t_5))); elseif (z <= -1.7e-174) tmp = Float64(y4 * Float64(Float64(Float64(b * t_11) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * t_1))); elseif (z <= -3.2e-235) tmp = t_7; elseif (z <= -1.72e-292) tmp = t_8; elseif (z <= 4.6e-302) tmp = Float64(c * Float64(y * Float64(y3 * y4))); elseif (z <= 4.5e-261) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_11)) + Float64(y0 * t_5))); elseif (z <= 1.4e-233) tmp = t_10; elseif (z <= 1.05e-208) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_4)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (z <= 1.55e-149) tmp = Float64(Float64(x * c) * Float64(Float64(y0 * y2) - Float64(y * i))); elseif (z <= 1.65e-141) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (z <= 1.1e+34) tmp = t_7; elseif (z <= 6.4e+106) tmp = t_10; elseif (z <= 9.2e+269) tmp = t_3; else tmp = t_8; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y * y3) - (t * y2); t_2 = (a * b) - (c * i); t_3 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2))); t_4 = (c * y0) - (a * y1); t_5 = (z * k) - (x * j); t_6 = (i * y1) - (b * y0); t_7 = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_6)); t_8 = x * (((y * t_2) + (y2 * t_4)) + (j * t_6)); t_9 = (x * y2) - (z * y3); t_10 = c * (((i * ((z * t) - (x * y))) + (y0 * t_9)) + (y4 * t_1)); t_11 = (t * j) - (y * k); tmp = 0.0; if (z <= -3.8e+41) tmp = t_3; elseif (z <= -6.5e-108) tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * t_9)) + (b * t_5)); elseif (z <= -1.7e-174) tmp = y4 * (((b * t_11) + (y1 * ((k * y2) - (j * y3)))) + (c * t_1)); elseif (z <= -3.2e-235) tmp = t_7; elseif (z <= -1.72e-292) tmp = t_8; elseif (z <= 4.6e-302) tmp = c * (y * (y3 * y4)); elseif (z <= 4.5e-261) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_11)) + (y0 * t_5)); elseif (z <= 1.4e-233) tmp = t_10; elseif (z <= 1.05e-208) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4)))); elseif (z <= 1.55e-149) tmp = (x * c) * ((y0 * y2) - (y * i)); elseif (z <= 1.65e-141) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (z <= 1.1e+34) tmp = t_7; elseif (z <= 6.4e+106) tmp = t_10; elseif (z <= 9.2e+269) tmp = t_3; else tmp = t_8; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(j * N[(N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(x * N[(N[(N[(y * t$95$2), $MachinePrecision] + N[(y2 * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(c * N[(N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$9), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$11 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.8e+41], t$95$3, If[LessEqual[z, -6.5e-108], N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$9), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.7e-174], N[(y4 * N[(N[(N[(b * t$95$11), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3.2e-235], t$95$7, If[LessEqual[z, -1.72e-292], t$95$8, If[LessEqual[z, 4.6e-302], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.5e-261], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$11), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.4e-233], t$95$10, If[LessEqual[z, 1.05e-208], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.55e-149], N[(N[(x * c), $MachinePrecision] * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.65e-141], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.1e+34], t$95$7, If[LessEqual[z, 6.4e+106], t$95$10, If[LessEqual[z, 9.2e+269], t$95$3, t$95$8]]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
t_2 := a \cdot b - c \cdot i\\
t_3 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) - t \cdot t\_2\right)\right)\\
t_4 := c \cdot y0 - a \cdot y1\\
t_5 := z \cdot k - x \cdot j\\
t_6 := i \cdot y1 - b \cdot y0\\
t_7 := j \cdot \left(\left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot t\_6\right)\\
t_8 := x \cdot \left(\left(y \cdot t\_2 + y2 \cdot t\_4\right) + j \cdot t\_6\right)\\
t_9 := x \cdot y2 - z \cdot y3\\
t_10 := c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot t\_9\right) + y4 \cdot t\_1\right)\\
t_11 := t \cdot j - y \cdot k\\
\mathbf{if}\;z \leq -3.8 \cdot 10^{+41}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;z \leq -6.5 \cdot 10^{-108}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot t\_9\right) + b \cdot t\_5\right)\\
\mathbf{elif}\;z \leq -1.7 \cdot 10^{-174}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_11 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot t\_1\right)\\
\mathbf{elif}\;z \leq -3.2 \cdot 10^{-235}:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;z \leq -1.72 \cdot 10^{-292}:\\
\;\;\;\;t\_8\\
\mathbf{elif}\;z \leq 4.6 \cdot 10^{-302}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 4.5 \cdot 10^{-261}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t\_11\right) + y0 \cdot t\_5\right)\\
\mathbf{elif}\;z \leq 1.4 \cdot 10^{-233}:\\
\;\;\;\;t\_10\\
\mathbf{elif}\;z \leq 1.05 \cdot 10^{-208}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_4\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 1.55 \cdot 10^{-149}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2 - y \cdot i\right)\\
\mathbf{elif}\;z \leq 1.65 \cdot 10^{-141}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{+34}:\\
\;\;\;\;t\_7\\
\mathbf{elif}\;z \leq 6.4 \cdot 10^{+106}:\\
\;\;\;\;t\_10\\
\mathbf{elif}\;z \leq 9.2 \cdot 10^{+269}:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;t\_8\\
\end{array}
\end{array}
if z < -3.8000000000000001e41 or 6.3999999999999996e106 < z < 9.2000000000000002e269Initial program 26.3%
Taylor expanded in z around -inf 62.5%
if -3.8000000000000001e41 < z < -6.5000000000000002e-108Initial program 50.7%
Taylor expanded in y0 around inf 63.7%
if -6.5000000000000002e-108 < z < -1.7000000000000001e-174Initial program 40.0%
Taylor expanded in y4 around inf 60.5%
if -1.7000000000000001e-174 < z < -3.2000000000000001e-235 or 1.65e-141 < z < 1.1000000000000001e34Initial program 21.7%
Taylor expanded in j around inf 69.9%
if -3.2000000000000001e-235 < z < -1.7199999999999999e-292 or 9.2000000000000002e269 < z Initial program 50.2%
Taylor expanded in x around inf 75.4%
if -1.7199999999999999e-292 < z < 4.60000000000000004e-302Initial program 16.7%
Taylor expanded in c around inf 66.7%
Taylor expanded in y around -inf 66.7%
mul-1-neg66.7%
associate-*r*50.6%
*-commutative50.6%
Simplified50.6%
Taylor expanded in x around 0 83.6%
if 4.60000000000000004e-302 < z < 4.5000000000000001e-261Initial program 42.9%
Taylor expanded in b around inf 72.3%
if 4.5000000000000001e-261 < z < 1.4000000000000001e-233 or 1.1000000000000001e34 < z < 6.3999999999999996e106Initial program 39.9%
Taylor expanded in c around inf 68.2%
if 1.4000000000000001e-233 < z < 1.05000000000000006e-208Initial program 100.0%
Taylor expanded in y2 around inf 75.2%
if 1.05000000000000006e-208 < z < 1.54999999999999994e-149Initial program 9.1%
Taylor expanded in c around inf 63.7%
Taylor expanded in x around inf 73.5%
associate-*r*82.1%
+-commutative82.1%
mul-1-neg82.1%
unsub-neg82.1%
*-commutative82.1%
Simplified82.1%
if 1.54999999999999994e-149 < z < 1.65e-141Initial program 35.4%
Taylor expanded in c around inf 34.4%
Taylor expanded in t around inf 67.8%
Final simplification67.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y) (* z t)))
(t_2
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0))))))
(t_3 (- (* t j) (* y k)))
(t_4 (- (* k y2) (* j y3))))
(if (<= a -1.5e+56)
(* a (* b (* t (- (* y2 (/ y5 b)) z))))
(if (<= a -3.9e-23)
(* c (* z (- (* t i) (* y0 y3))))
(if (<= a -6.5e-276)
(* b (+ (+ (* a t_1) (* y4 t_3)) (* y0 (- (* z k) (* x j)))))
(if (<= a 7.5e-205)
(* y4 (+ (+ (* b t_3) (* y1 t_4)) (* c (- (* y y3) (* t y2)))))
(if (<= a 1.9e-14)
t_2
(if (<= a 2.9e+17)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= a 2.3e+43)
(* y1 (* y4 t_4))
(if (<= a 1.9e+64)
(* (* c i) (- (* z t) (* x y)))
(if (<= a 5.8e+74)
(* z (* a (- (* y1 y3) (* t b))))
(if (<= a 4.7e+166)
t_2
(*
a
(+ (* b t_1) (* y5 (- (* t y2) (* y y3)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double t_2 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double t_3 = (t * j) - (y * k);
double t_4 = (k * y2) - (j * y3);
double tmp;
if (a <= -1.5e+56) {
tmp = a * (b * (t * ((y2 * (y5 / b)) - z)));
} else if (a <= -3.9e-23) {
tmp = c * (z * ((t * i) - (y0 * y3)));
} else if (a <= -6.5e-276) {
tmp = b * (((a * t_1) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
} else if (a <= 7.5e-205) {
tmp = y4 * (((b * t_3) + (y1 * t_4)) + (c * ((y * y3) - (t * y2))));
} else if (a <= 1.9e-14) {
tmp = t_2;
} else if (a <= 2.9e+17) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (a <= 2.3e+43) {
tmp = y1 * (y4 * t_4);
} else if (a <= 1.9e+64) {
tmp = (c * i) * ((z * t) - (x * y));
} else if (a <= 5.8e+74) {
tmp = z * (a * ((y1 * y3) - (t * b)));
} else if (a <= 4.7e+166) {
tmp = t_2;
} else {
tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (x * y) - (z * t)
t_2 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
t_3 = (t * j) - (y * k)
t_4 = (k * y2) - (j * y3)
if (a <= (-1.5d+56)) then
tmp = a * (b * (t * ((y2 * (y5 / b)) - z)))
else if (a <= (-3.9d-23)) then
tmp = c * (z * ((t * i) - (y0 * y3)))
else if (a <= (-6.5d-276)) then
tmp = b * (((a * t_1) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))))
else if (a <= 7.5d-205) then
tmp = y4 * (((b * t_3) + (y1 * t_4)) + (c * ((y * y3) - (t * y2))))
else if (a <= 1.9d-14) then
tmp = t_2
else if (a <= 2.9d+17) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (a <= 2.3d+43) then
tmp = y1 * (y4 * t_4)
else if (a <= 1.9d+64) then
tmp = (c * i) * ((z * t) - (x * y))
else if (a <= 5.8d+74) then
tmp = z * (a * ((y1 * y3) - (t * b)))
else if (a <= 4.7d+166) then
tmp = t_2
else
tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double t_2 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double t_3 = (t * j) - (y * k);
double t_4 = (k * y2) - (j * y3);
double tmp;
if (a <= -1.5e+56) {
tmp = a * (b * (t * ((y2 * (y5 / b)) - z)));
} else if (a <= -3.9e-23) {
tmp = c * (z * ((t * i) - (y0 * y3)));
} else if (a <= -6.5e-276) {
tmp = b * (((a * t_1) + (y4 * t_3)) + (y0 * ((z * k) - (x * j))));
} else if (a <= 7.5e-205) {
tmp = y4 * (((b * t_3) + (y1 * t_4)) + (c * ((y * y3) - (t * y2))));
} else if (a <= 1.9e-14) {
tmp = t_2;
} else if (a <= 2.9e+17) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (a <= 2.3e+43) {
tmp = y1 * (y4 * t_4);
} else if (a <= 1.9e+64) {
tmp = (c * i) * ((z * t) - (x * y));
} else if (a <= 5.8e+74) {
tmp = z * (a * ((y1 * y3) - (t * b)));
} else if (a <= 4.7e+166) {
tmp = t_2;
} else {
tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) t_2 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) t_3 = (t * j) - (y * k) t_4 = (k * y2) - (j * y3) tmp = 0 if a <= -1.5e+56: tmp = a * (b * (t * ((y2 * (y5 / b)) - z))) elif a <= -3.9e-23: tmp = c * (z * ((t * i) - (y0 * y3))) elif a <= -6.5e-276: tmp = b * (((a * t_1) + (y4 * t_3)) + (y0 * ((z * k) - (x * j)))) elif a <= 7.5e-205: tmp = y4 * (((b * t_3) + (y1 * t_4)) + (c * ((y * y3) - (t * y2)))) elif a <= 1.9e-14: tmp = t_2 elif a <= 2.9e+17: tmp = c * (t * ((z * i) - (y2 * y4))) elif a <= 2.3e+43: tmp = y1 * (y4 * t_4) elif a <= 1.9e+64: tmp = (c * i) * ((z * t) - (x * y)) elif a <= 5.8e+74: tmp = z * (a * ((y1 * y3) - (t * b))) elif a <= 4.7e+166: tmp = t_2 else: tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) - Float64(z * t)) t_2 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) t_3 = Float64(Float64(t * j) - Float64(y * k)) t_4 = Float64(Float64(k * y2) - Float64(j * y3)) tmp = 0.0 if (a <= -1.5e+56) tmp = Float64(a * Float64(b * Float64(t * Float64(Float64(y2 * Float64(y5 / b)) - z)))); elseif (a <= -3.9e-23) tmp = Float64(c * Float64(z * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (a <= -6.5e-276) tmp = Float64(b * Float64(Float64(Float64(a * t_1) + Float64(y4 * t_3)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (a <= 7.5e-205) tmp = Float64(y4 * Float64(Float64(Float64(b * t_3) + Float64(y1 * t_4)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (a <= 1.9e-14) tmp = t_2; elseif (a <= 2.9e+17) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (a <= 2.3e+43) tmp = Float64(y1 * Float64(y4 * t_4)); elseif (a <= 1.9e+64) tmp = Float64(Float64(c * i) * Float64(Float64(z * t) - Float64(x * y))); elseif (a <= 5.8e+74) tmp = Float64(z * Float64(a * Float64(Float64(y1 * y3) - Float64(t * b)))); elseif (a <= 4.7e+166) tmp = t_2; else tmp = Float64(a * Float64(Float64(b * t_1) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * y) - (z * t); t_2 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); t_3 = (t * j) - (y * k); t_4 = (k * y2) - (j * y3); tmp = 0.0; if (a <= -1.5e+56) tmp = a * (b * (t * ((y2 * (y5 / b)) - z))); elseif (a <= -3.9e-23) tmp = c * (z * ((t * i) - (y0 * y3))); elseif (a <= -6.5e-276) tmp = b * (((a * t_1) + (y4 * t_3)) + (y0 * ((z * k) - (x * j)))); elseif (a <= 7.5e-205) tmp = y4 * (((b * t_3) + (y1 * t_4)) + (c * ((y * y3) - (t * y2)))); elseif (a <= 1.9e-14) tmp = t_2; elseif (a <= 2.9e+17) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (a <= 2.3e+43) tmp = y1 * (y4 * t_4); elseif (a <= 1.9e+64) tmp = (c * i) * ((z * t) - (x * y)); elseif (a <= 5.8e+74) tmp = z * (a * ((y1 * y3) - (t * b))); elseif (a <= 4.7e+166) tmp = t_2; else tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * 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[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.5e+56], N[(a * N[(b * N[(t * N[(N[(y2 * N[(y5 / b), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.9e-23], N[(c * N[(z * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -6.5e-276], N[(b * N[(N[(N[(a * t$95$1), $MachinePrecision] + N[(y4 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7.5e-205], N[(y4 * N[(N[(N[(b * t$95$3), $MachinePrecision] + N[(y1 * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.9e-14], t$95$2, If[LessEqual[a, 2.9e+17], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.3e+43], N[(y1 * N[(y4 * t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.9e+64], N[(N[(c * i), $MachinePrecision] * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.8e+74], N[(z * N[(a * N[(N[(y1 * y3), $MachinePrecision] - N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.7e+166], t$95$2, N[(a * N[(N[(b * t$95$1), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
t_2 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_3 := t \cdot j - y \cdot k\\
t_4 := k \cdot y2 - j \cdot y3\\
\mathbf{if}\;a \leq -1.5 \cdot 10^{+56}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(y2 \cdot \frac{y5}{b} - z\right)\right)\right)\\
\mathbf{elif}\;a \leq -3.9 \cdot 10^{-23}:\\
\;\;\;\;c \cdot \left(z \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq -6.5 \cdot 10^{-276}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t\_1 + y4 \cdot t\_3\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;a \leq 7.5 \cdot 10^{-205}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_3 + y1 \cdot t\_4\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq 1.9 \cdot 10^{-14}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq 2.9 \cdot 10^{+17}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 2.3 \cdot 10^{+43}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot t\_4\right)\\
\mathbf{elif}\;a \leq 1.9 \cdot 10^{+64}:\\
\;\;\;\;\left(c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\\
\mathbf{elif}\;a \leq 5.8 \cdot 10^{+74}:\\
\;\;\;\;z \cdot \left(a \cdot \left(y1 \cdot y3 - t \cdot b\right)\right)\\
\mathbf{elif}\;a \leq 4.7 \cdot 10^{+166}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot t\_1 + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\end{array}
\end{array}
if a < -1.50000000000000003e56Initial program 26.8%
Taylor expanded in a around inf 40.0%
Taylor expanded in b around inf 36.3%
+-commutative36.3%
mul-1-neg36.3%
unsub-neg36.3%
*-commutative36.3%
associate-/l*39.7%
+-commutative39.7%
mul-1-neg39.7%
unsub-neg39.7%
*-commutative39.7%
associate-/l*41.5%
*-commutative41.5%
Simplified41.5%
Taylor expanded in t around inf 47.4%
associate-/l*51.0%
Simplified51.0%
if -1.50000000000000003e56 < a < -3.9e-23Initial program 12.5%
Taylor expanded in c around inf 68.8%
Taylor expanded in z around inf 69.5%
if -3.9e-23 < a < -6.49999999999999981e-276Initial program 38.3%
Taylor expanded in b around inf 57.1%
if -6.49999999999999981e-276 < a < 7.4999999999999996e-205Initial program 39.1%
Taylor expanded in y4 around inf 57.7%
if 7.4999999999999996e-205 < a < 1.9000000000000001e-14 or 5.8000000000000005e74 < a < 4.7e166Initial program 27.1%
Taylor expanded in x around inf 50.8%
if 1.9000000000000001e-14 < a < 2.9e17Initial program 33.1%
Taylor expanded in c around inf 68.0%
Taylor expanded in t around inf 68.3%
if 2.9e17 < a < 2.3000000000000002e43Initial program 25.0%
Taylor expanded in y4 around inf 13.3%
Taylor expanded in y1 around inf 51.5%
if 2.3000000000000002e43 < a < 1.9000000000000001e64Initial program 83.1%
Taylor expanded in c around inf 52.1%
Taylor expanded in i around inf 51.5%
mul-1-neg51.5%
associate-*r*51.2%
*-commutative51.2%
*-commutative51.2%
Simplified51.2%
if 1.9000000000000001e64 < a < 5.8000000000000005e74Initial program 0.0%
Taylor expanded in z around -inf 0.0%
Taylor expanded in a around inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
Simplified100.0%
if 4.7e166 < a Initial program 44.1%
Taylor expanded in a around inf 76.5%
Taylor expanded in y1 around 0 67.0%
Final simplification56.9%
(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)))
(+ (* c (- (* z t) (* x y))) (* y5 (- (* y k) (* t j)))))))
(t_2 (- (* k y2) (* j y3)))
(t_3
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 t_2))
(* c (- (* y y3) (* t y2))))))
(t_4 (- (* c y0) (* a y1))))
(if (<= i -1.6e+26)
t_1
(if (<= i -1e-56)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_4))
(* t (- (* a y5) (* c y4)))))
(if (<= i -1.9e-73)
t_1
(if (<= i -2.65e-132)
(* t_2 (* y1 y4))
(if (<= i -7.5e-258)
(* (* y0 y3) (- (* j y5) (* z c)))
(if (<= i 9e-232)
t_3
(if (<= i 80000000.0)
(* a (* z (* t (- (/ (* y1 y3) t) b))))
(if (<= i 3.5e+52)
t_3
(if (<= i 1e+138)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_4))
(* j (- (* i y1) (* b y0)))))
(if (<= i 1.25e+178)
(*
a
(+
(* b (- (* x y) (* z t)))
(* y5 (- (* t y2) (* y y3)))))
t_1))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
double t_2 = (k * y2) - (j * y3);
double t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_2)) + (c * ((y * y3) - (t * y2))));
double t_4 = (c * y0) - (a * y1);
double tmp;
if (i <= -1.6e+26) {
tmp = t_1;
} else if (i <= -1e-56) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))));
} else if (i <= -1.9e-73) {
tmp = t_1;
} else if (i <= -2.65e-132) {
tmp = t_2 * (y1 * y4);
} else if (i <= -7.5e-258) {
tmp = (y0 * y3) * ((j * y5) - (z * c));
} else if (i <= 9e-232) {
tmp = t_3;
} else if (i <= 80000000.0) {
tmp = a * (z * (t * (((y1 * y3) / t) - b)));
} else if (i <= 3.5e+52) {
tmp = t_3;
} else if (i <= 1e+138) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_4)) + (j * ((i * y1) - (b * y0))));
} else if (i <= 1.25e+178) {
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))))
t_2 = (k * y2) - (j * y3)
t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_2)) + (c * ((y * y3) - (t * y2))))
t_4 = (c * y0) - (a * y1)
if (i <= (-1.6d+26)) then
tmp = t_1
else if (i <= (-1d-56)) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))))
else if (i <= (-1.9d-73)) then
tmp = t_1
else if (i <= (-2.65d-132)) then
tmp = t_2 * (y1 * y4)
else if (i <= (-7.5d-258)) then
tmp = (y0 * y3) * ((j * y5) - (z * c))
else if (i <= 9d-232) then
tmp = t_3
else if (i <= 80000000.0d0) then
tmp = a * (z * (t * (((y1 * y3) / t) - b)))
else if (i <= 3.5d+52) then
tmp = t_3
else if (i <= 1d+138) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_4)) + (j * ((i * y1) - (b * y0))))
else if (i <= 1.25d+178) then
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
double t_2 = (k * y2) - (j * y3);
double t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_2)) + (c * ((y * y3) - (t * y2))));
double t_4 = (c * y0) - (a * y1);
double tmp;
if (i <= -1.6e+26) {
tmp = t_1;
} else if (i <= -1e-56) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4))));
} else if (i <= -1.9e-73) {
tmp = t_1;
} else if (i <= -2.65e-132) {
tmp = t_2 * (y1 * y4);
} else if (i <= -7.5e-258) {
tmp = (y0 * y3) * ((j * y5) - (z * c));
} else if (i <= 9e-232) {
tmp = t_3;
} else if (i <= 80000000.0) {
tmp = a * (z * (t * (((y1 * y3) / t) - b)));
} else if (i <= 3.5e+52) {
tmp = t_3;
} else if (i <= 1e+138) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_4)) + (j * ((i * y1) - (b * y0))));
} else if (i <= 1.25e+178) {
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))) t_2 = (k * y2) - (j * y3) t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_2)) + (c * ((y * y3) - (t * y2)))) t_4 = (c * y0) - (a * y1) tmp = 0 if i <= -1.6e+26: tmp = t_1 elif i <= -1e-56: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4)))) elif i <= -1.9e-73: tmp = t_1 elif i <= -2.65e-132: tmp = t_2 * (y1 * y4) elif i <= -7.5e-258: tmp = (y0 * y3) * ((j * y5) - (z * c)) elif i <= 9e-232: tmp = t_3 elif i <= 80000000.0: tmp = a * (z * (t * (((y1 * y3) / t) - b))) elif i <= 3.5e+52: tmp = t_3 elif i <= 1e+138: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_4)) + (j * ((i * y1) - (b * y0)))) elif i <= 1.25e+178: tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3)))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))) t_2 = Float64(Float64(k * y2) - Float64(j * y3)) t_3 = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * t_2)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) t_4 = Float64(Float64(c * y0) - Float64(a * y1)) tmp = 0.0 if (i <= -1.6e+26) tmp = t_1; elseif (i <= -1e-56) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_4)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (i <= -1.9e-73) tmp = t_1; elseif (i <= -2.65e-132) tmp = Float64(t_2 * Float64(y1 * y4)); elseif (i <= -7.5e-258) tmp = Float64(Float64(y0 * y3) * Float64(Float64(j * y5) - Float64(z * c))); elseif (i <= 9e-232) tmp = t_3; elseif (i <= 80000000.0) tmp = Float64(a * Float64(z * Float64(t * Float64(Float64(Float64(y1 * y3) / t) - b)))); elseif (i <= 3.5e+52) tmp = t_3; elseif (i <= 1e+138) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_4)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (i <= 1.25e+178) tmp = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))); t_2 = (k * y2) - (j * y3); t_3 = y4 * (((b * ((t * j) - (y * k))) + (y1 * t_2)) + (c * ((y * y3) - (t * y2)))); t_4 = (c * y0) - (a * y1); tmp = 0.0; if (i <= -1.6e+26) tmp = t_1; elseif (i <= -1e-56) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_4)) + (t * ((a * y5) - (c * y4)))); elseif (i <= -1.9e-73) tmp = t_1; elseif (i <= -2.65e-132) tmp = t_2 * (y1 * y4); elseif (i <= -7.5e-258) tmp = (y0 * y3) * ((j * y5) - (z * c)); elseif (i <= 9e-232) tmp = t_3; elseif (i <= 80000000.0) tmp = a * (z * (t * (((y1 * y3) / t) - b))); elseif (i <= 3.5e+52) tmp = t_3; elseif (i <= 1e+138) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_4)) + (j * ((i * y1) - (b * y0)))); elseif (i <= 1.25e+178) tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3)))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = 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 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.6e+26], t$95$1, If[LessEqual[i, -1e-56], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.9e-73], t$95$1, If[LessEqual[i, -2.65e-132], N[(t$95$2 * N[(y1 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -7.5e-258], N[(N[(y0 * y3), $MachinePrecision] * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 9e-232], t$95$3, If[LessEqual[i, 80000000.0], N[(a * N[(z * N[(t * N[(N[(N[(y1 * y3), $MachinePrecision] / t), $MachinePrecision] - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.5e+52], t$95$3, If[LessEqual[i, 1e+138], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.25e+178], N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
t_2 := k \cdot y2 - j \cdot y3\\
t_3 := y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot t\_2\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_4 := c \cdot y0 - a \cdot y1\\
\mathbf{if}\;i \leq -1.6 \cdot 10^{+26}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -1 \cdot 10^{-56}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_4\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq -1.9 \cdot 10^{-73}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -2.65 \cdot 10^{-132}:\\
\;\;\;\;t\_2 \cdot \left(y1 \cdot y4\right)\\
\mathbf{elif}\;i \leq -7.5 \cdot 10^{-258}:\\
\;\;\;\;\left(y0 \cdot y3\right) \cdot \left(j \cdot y5 - z \cdot c\right)\\
\mathbf{elif}\;i \leq 9 \cdot 10^{-232}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq 80000000:\\
\;\;\;\;a \cdot \left(z \cdot \left(t \cdot \left(\frac{y1 \cdot y3}{t} - b\right)\right)\right)\\
\mathbf{elif}\;i \leq 3.5 \cdot 10^{+52}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq 10^{+138}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_4\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq 1.25 \cdot 10^{+178}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if i < -1.60000000000000014e26 or -1e-56 < i < -1.9000000000000001e-73 or 1.24999999999999998e178 < i Initial program 32.8%
Taylor expanded in i around -inf 60.5%
if -1.60000000000000014e26 < i < -1e-56Initial program 27.3%
Taylor expanded in y2 around inf 82.8%
if -1.9000000000000001e-73 < i < -2.65000000000000015e-132Initial program 64.3%
Taylor expanded in y4 around inf 57.3%
Taylor expanded in y1 around inf 65.2%
associate-*r*65.3%
*-commutative65.3%
Simplified65.3%
if -2.65000000000000015e-132 < i < -7.4999999999999998e-258Initial program 28.9%
Taylor expanded in y3 around -inf 60.4%
Taylor expanded in y0 around inf 54.1%
associate-*r*51.1%
*-commutative51.1%
+-commutative51.1%
mul-1-neg51.1%
unsub-neg51.1%
*-commutative51.1%
*-commutative51.1%
Simplified51.1%
if -7.4999999999999998e-258 < i < 8.99999999999999933e-232 or 8e7 < i < 3.5e52Initial program 34.8%
Taylor expanded in y4 around inf 57.7%
if 8.99999999999999933e-232 < i < 8e7Initial program 27.5%
Taylor expanded in a around inf 41.9%
Taylor expanded in z around inf 43.8%
+-commutative43.8%
mul-1-neg43.8%
unsub-neg43.8%
*-commutative43.8%
Simplified43.8%
Taylor expanded in t around inf 47.7%
if 3.5e52 < i < 1e138Initial program 20.4%
Taylor expanded in x around inf 73.4%
if 1e138 < i < 1.24999999999999998e178Initial program 45.5%
Taylor expanded in a around inf 46.1%
Taylor expanded in y1 around 0 51.3%
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 (- (* a b) (* c i)))
(t_2
(*
x
(+
(+ (* y t_1) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0))))))
(t_3 (- (* a y1) (* c y0)))
(t_4
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(- (* z t_3) (* j (- (* y1 y4) (* y0 y5))))))))
(if (<= x -4.5e+148)
t_2
(if (<= x -2.4e-174)
t_4
(if (<= x -4.5e-269)
(* z (+ (* k (- (* b y0) (* i y1))) (- (* y3 t_3) (* t t_1))))
(if (<= x 1.25e-218)
(* a (+ (* b (- (* x y) (* z t))) (* y5 (- (* t y2) (* y y3)))))
(if (<= x 3.9e-198)
(* c (* z (- (* t i) (* y0 y3))))
(if (<= x 6.2e-74)
t_4
(if (or (<= x 3.5e+160) (not (<= x 3.6e+228)))
t_2
(* b (* 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 = (a * b) - (c * i);
double t_2 = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double t_3 = (a * y1) - (c * y0);
double t_4 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * t_3) - (j * ((y1 * y4) - (y0 * y5)))));
double tmp;
if (x <= -4.5e+148) {
tmp = t_2;
} else if (x <= -2.4e-174) {
tmp = t_4;
} else if (x <= -4.5e-269) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * t_3) - (t * t_1)));
} else if (x <= 1.25e-218) {
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))));
} else if (x <= 3.9e-198) {
tmp = c * (z * ((t * i) - (y0 * y3)));
} else if (x <= 6.2e-74) {
tmp = t_4;
} else if ((x <= 3.5e+160) || !(x <= 3.6e+228)) {
tmp = t_2;
} else {
tmp = b * (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) :: tmp
t_1 = (a * b) - (c * i)
t_2 = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
t_3 = (a * y1) - (c * y0)
t_4 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * t_3) - (j * ((y1 * y4) - (y0 * y5)))))
if (x <= (-4.5d+148)) then
tmp = t_2
else if (x <= (-2.4d-174)) then
tmp = t_4
else if (x <= (-4.5d-269)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * t_3) - (t * t_1)))
else if (x <= 1.25d-218) then
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))))
else if (x <= 3.9d-198) then
tmp = c * (z * ((t * i) - (y0 * y3)))
else if (x <= 6.2d-74) then
tmp = t_4
else if ((x <= 3.5d+160) .or. (.not. (x <= 3.6d+228))) then
tmp = t_2
else
tmp = b * (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 = (a * b) - (c * i);
double t_2 = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double t_3 = (a * y1) - (c * y0);
double t_4 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * t_3) - (j * ((y1 * y4) - (y0 * y5)))));
double tmp;
if (x <= -4.5e+148) {
tmp = t_2;
} else if (x <= -2.4e-174) {
tmp = t_4;
} else if (x <= -4.5e-269) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * t_3) - (t * t_1)));
} else if (x <= 1.25e-218) {
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))));
} else if (x <= 3.9e-198) {
tmp = c * (z * ((t * i) - (y0 * y3)));
} else if (x <= 6.2e-74) {
tmp = t_4;
} else if ((x <= 3.5e+160) || !(x <= 3.6e+228)) {
tmp = t_2;
} else {
tmp = b * (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 = (a * b) - (c * i) t_2 = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) t_3 = (a * y1) - (c * y0) t_4 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * t_3) - (j * ((y1 * y4) - (y0 * y5))))) tmp = 0 if x <= -4.5e+148: tmp = t_2 elif x <= -2.4e-174: tmp = t_4 elif x <= -4.5e-269: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * t_3) - (t * t_1))) elif x <= 1.25e-218: tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3)))) elif x <= 3.9e-198: tmp = c * (z * ((t * i) - (y0 * y3))) elif x <= 6.2e-74: tmp = t_4 elif (x <= 3.5e+160) or not (x <= 3.6e+228): tmp = t_2 else: tmp = b * (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(a * b) - Float64(c * i)) t_2 = Float64(x * Float64(Float64(Float64(y * t_1) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) t_3 = Float64(Float64(a * y1) - Float64(c * y0)) t_4 = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * t_3) - Float64(j * Float64(Float64(y1 * y4) - Float64(y0 * y5)))))) tmp = 0.0 if (x <= -4.5e+148) tmp = t_2; elseif (x <= -2.4e-174) tmp = t_4; elseif (x <= -4.5e-269) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * t_3) - Float64(t * t_1)))); elseif (x <= 1.25e-218) tmp = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))); elseif (x <= 3.9e-198) tmp = Float64(c * Float64(z * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (x <= 6.2e-74) tmp = t_4; elseif ((x <= 3.5e+160) || !(x <= 3.6e+228)) tmp = t_2; else tmp = Float64(b * 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 = (a * b) - (c * i); t_2 = x * (((y * t_1) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); t_3 = (a * y1) - (c * y0); t_4 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * t_3) - (j * ((y1 * y4) - (y0 * y5))))); tmp = 0.0; if (x <= -4.5e+148) tmp = t_2; elseif (x <= -2.4e-174) tmp = t_4; elseif (x <= -4.5e-269) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * t_3) - (t * t_1))); elseif (x <= 1.25e-218) tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3)))); elseif (x <= 3.9e-198) tmp = c * (z * ((t * i) - (y0 * y3))); elseif (x <= 6.2e-74) tmp = t_4; elseif ((x <= 3.5e+160) || ~((x <= 3.6e+228))) tmp = t_2; else tmp = b * (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[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(N[(y * t$95$1), $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]}, Block[{t$95$3 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * t$95$3), $MachinePrecision] - N[(j * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -4.5e+148], t$95$2, If[LessEqual[x, -2.4e-174], t$95$4, If[LessEqual[x, -4.5e-269], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * t$95$3), $MachinePrecision] - N[(t * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.25e-218], N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3.9e-198], N[(c * N[(z * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.2e-74], t$95$4, If[Or[LessEqual[x, 3.5e+160], N[Not[LessEqual[x, 3.6e+228]], $MachinePrecision]], t$95$2, N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot b - c \cdot i\\
t_2 := x \cdot \left(\left(y \cdot t\_1 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_3 := a \cdot y1 - c \cdot y0\\
t_4 := y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot t\_3 - j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right)\\
\mathbf{if}\;x \leq -4.5 \cdot 10^{+148}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;x \leq -2.4 \cdot 10^{-174}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;x \leq -4.5 \cdot 10^{-269}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot t\_3 - t \cdot t\_1\right)\right)\\
\mathbf{elif}\;x \leq 1.25 \cdot 10^{-218}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq 3.9 \cdot 10^{-198}:\\
\;\;\;\;c \cdot \left(z \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq 6.2 \cdot 10^{-74}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;x \leq 3.5 \cdot 10^{+160} \lor \neg \left(x \leq 3.6 \cdot 10^{+228}\right):\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\end{array}
\end{array}
if x < -4.49999999999999994e148 or 6.2000000000000003e-74 < x < 3.50000000000000026e160 or 3.6e228 < x Initial program 25.8%
Taylor expanded in x around inf 63.9%
if -4.49999999999999994e148 < x < -2.4e-174 or 3.8999999999999999e-198 < x < 6.2000000000000003e-74Initial program 38.4%
Taylor expanded in y3 around -inf 53.2%
if -2.4e-174 < x < -4.5000000000000001e-269Initial program 44.3%
Taylor expanded in z around -inf 56.4%
if -4.5000000000000001e-269 < x < 1.2500000000000001e-218Initial program 37.3%
Taylor expanded in a around inf 48.9%
Taylor expanded in y1 around 0 59.6%
if 1.2500000000000001e-218 < x < 3.8999999999999999e-198Initial program 33.1%
Taylor expanded in c around inf 67.8%
Taylor expanded in z around inf 84.2%
if 3.50000000000000026e160 < x < 3.6e228Initial program 15.4%
Taylor expanded in b around inf 53.8%
Taylor expanded in y0 around inf 61.5%
Final simplification59.5%
(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 b) (* c i)))
(t_3 (- (* i y1) (* b y0)))
(t_4 (* x (+ (+ (* y t_2) (* y2 (- (* c y0) (* a y1)))) (* j t_3)))))
(if (<= x -9.2e+133)
t_4
(if (<= x -4.9e-119)
(*
j
(+
(+ (* y3 (- (* y0 y5) (* y1 y4))) (* t (- (* b y4) (* i y5))))
(* x t_3)))
(if (<= x -3.1e-269)
(* z (+ (* k (- (* b y0) (* i y1))) (- (* y3 t_1) (* t t_2))))
(if (<= x 1.15e-219)
(* a (+ (* b (- (* x y) (* z t))) (* y5 (- (* t y2) (* y y3)))))
(if (<= x 1.95e-197)
(* c (* z (- (* t i) (* y0 y3))))
(if (<= x 1.9e-74)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(- (* z t_1) (* j (- (* y1 y4) (* y0 y5))))))
(if (or (<= x 5.5e+162) (not (<= x 3.5e+228)))
t_4
(* b (* 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 = (a * y1) - (c * y0);
double t_2 = (a * b) - (c * i);
double t_3 = (i * y1) - (b * y0);
double t_4 = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3));
double tmp;
if (x <= -9.2e+133) {
tmp = t_4;
} else if (x <= -4.9e-119) {
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3));
} else if (x <= -3.1e-269) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * t_1) - (t * t_2)));
} else if (x <= 1.15e-219) {
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))));
} else if (x <= 1.95e-197) {
tmp = c * (z * ((t * i) - (y0 * y3)));
} else if (x <= 1.9e-74) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * t_1) - (j * ((y1 * y4) - (y0 * y5)))));
} else if ((x <= 5.5e+162) || !(x <= 3.5e+228)) {
tmp = t_4;
} else {
tmp = b * (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) :: tmp
t_1 = (a * y1) - (c * y0)
t_2 = (a * b) - (c * i)
t_3 = (i * y1) - (b * y0)
t_4 = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3))
if (x <= (-9.2d+133)) then
tmp = t_4
else if (x <= (-4.9d-119)) then
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3))
else if (x <= (-3.1d-269)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * t_1) - (t * t_2)))
else if (x <= 1.15d-219) then
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))))
else if (x <= 1.95d-197) then
tmp = c * (z * ((t * i) - (y0 * y3)))
else if (x <= 1.9d-74) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * t_1) - (j * ((y1 * y4) - (y0 * y5)))))
else if ((x <= 5.5d+162) .or. (.not. (x <= 3.5d+228))) then
tmp = t_4
else
tmp = b * (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 = (a * y1) - (c * y0);
double t_2 = (a * b) - (c * i);
double t_3 = (i * y1) - (b * y0);
double t_4 = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3));
double tmp;
if (x <= -9.2e+133) {
tmp = t_4;
} else if (x <= -4.9e-119) {
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3));
} else if (x <= -3.1e-269) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * t_1) - (t * t_2)));
} else if (x <= 1.15e-219) {
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))));
} else if (x <= 1.95e-197) {
tmp = c * (z * ((t * i) - (y0 * y3)));
} else if (x <= 1.9e-74) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * t_1) - (j * ((y1 * y4) - (y0 * y5)))));
} else if ((x <= 5.5e+162) || !(x <= 3.5e+228)) {
tmp = t_4;
} else {
tmp = b * (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 = (a * y1) - (c * y0) t_2 = (a * b) - (c * i) t_3 = (i * y1) - (b * y0) t_4 = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3)) tmp = 0 if x <= -9.2e+133: tmp = t_4 elif x <= -4.9e-119: tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3)) elif x <= -3.1e-269: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * t_1) - (t * t_2))) elif x <= 1.15e-219: tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3)))) elif x <= 1.95e-197: tmp = c * (z * ((t * i) - (y0 * y3))) elif x <= 1.9e-74: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * t_1) - (j * ((y1 * y4) - (y0 * y5))))) elif (x <= 5.5e+162) or not (x <= 3.5e+228): tmp = t_4 else: tmp = b * (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(a * y1) - Float64(c * y0)) t_2 = Float64(Float64(a * b) - Float64(c * i)) t_3 = Float64(Float64(i * y1) - Float64(b * y0)) t_4 = Float64(x * Float64(Float64(Float64(y * t_2) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * t_3))) tmp = 0.0 if (x <= -9.2e+133) tmp = t_4; elseif (x <= -4.9e-119) tmp = Float64(j * Float64(Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * t_3))); elseif (x <= -3.1e-269) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * t_1) - Float64(t * t_2)))); elseif (x <= 1.15e-219) tmp = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))); elseif (x <= 1.95e-197) tmp = Float64(c * Float64(z * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (x <= 1.9e-74) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * t_1) - Float64(j * Float64(Float64(y1 * y4) - Float64(y0 * y5)))))); elseif ((x <= 5.5e+162) || !(x <= 3.5e+228)) tmp = t_4; else tmp = Float64(b * 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 = (a * y1) - (c * y0); t_2 = (a * b) - (c * i); t_3 = (i * y1) - (b * y0); t_4 = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3)); tmp = 0.0; if (x <= -9.2e+133) tmp = t_4; elseif (x <= -4.9e-119) tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3)); elseif (x <= -3.1e-269) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * t_1) - (t * t_2))); elseif (x <= 1.15e-219) tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3)))); elseif (x <= 1.95e-197) tmp = c * (z * ((t * i) - (y0 * y3))); elseif (x <= 1.9e-74) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * t_1) - (j * ((y1 * y4) - (y0 * y5))))); elseif ((x <= 5.5e+162) || ~((x <= 3.5e+228))) tmp = t_4; else tmp = b * (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[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(x * N[(N[(N[(y * t$95$2), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -9.2e+133], t$95$4, If[LessEqual[x, -4.9e-119], N[(j * N[(N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3.1e-269], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * t$95$1), $MachinePrecision] - N[(t * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.15e-219], N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.95e-197], N[(c * N[(z * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.9e-74], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * t$95$1), $MachinePrecision] - N[(j * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[x, 5.5e+162], N[Not[LessEqual[x, 3.5e+228]], $MachinePrecision]], t$95$4, N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot y1 - c \cdot y0\\
t_2 := a \cdot b - c \cdot i\\
t_3 := i \cdot y1 - b \cdot y0\\
t_4 := x \cdot \left(\left(y \cdot t\_2 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot t\_3\right)\\
\mathbf{if}\;x \leq -9.2 \cdot 10^{+133}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;x \leq -4.9 \cdot 10^{-119}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot t\_3\right)\\
\mathbf{elif}\;x \leq -3.1 \cdot 10^{-269}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot t\_1 - t \cdot t\_2\right)\right)\\
\mathbf{elif}\;x \leq 1.15 \cdot 10^{-219}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq 1.95 \cdot 10^{-197}:\\
\;\;\;\;c \cdot \left(z \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq 1.9 \cdot 10^{-74}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot t\_1 - j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right)\\
\mathbf{elif}\;x \leq 5.5 \cdot 10^{+162} \lor \neg \left(x \leq 3.5 \cdot 10^{+228}\right):\\
\;\;\;\;t\_4\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\end{array}
\end{array}
if x < -9.1999999999999996e133 or 1.8999999999999998e-74 < x < 5.49999999999999966e162 or 3.5000000000000002e228 < x Initial program 25.6%
Taylor expanded in x around inf 63.2%
if -9.1999999999999996e133 < x < -4.9e-119Initial program 32.6%
Taylor expanded in j around inf 63.5%
if -4.9e-119 < x < -3.09999999999999967e-269Initial program 48.0%
Taylor expanded in z around -inf 54.6%
if -3.09999999999999967e-269 < x < 1.14999999999999994e-219Initial program 37.3%
Taylor expanded in a around inf 48.9%
Taylor expanded in y1 around 0 59.6%
if 1.14999999999999994e-219 < x < 1.95e-197Initial program 33.1%
Taylor expanded in c around inf 67.8%
Taylor expanded in z around inf 84.2%
if 1.95e-197 < x < 1.8999999999999998e-74Initial program 41.1%
Taylor expanded in y3 around -inf 53.9%
if 5.49999999999999966e162 < x < 3.5000000000000002e228Initial program 15.4%
Taylor expanded in b around inf 53.8%
Taylor expanded in y0 around inf 61.5%
Final simplification61.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2))))))
(t_2 (- (* c y0) (* a y1)))
(t_3
(*
i
(+
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* z t) (* x y))) (* y5 (- (* y k) (* t j)))))))
(t_4 (- (* y1 y4) (* y0 y5)))
(t_5
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(- (* z (- (* a y1) (* c y0))) (* j t_4))))))
(if (<= i -7e+29)
t_3
(if (<= i -2.2e-60)
(* y2 (+ (+ (* k t_4) (* x t_2)) (* t (- (* a y5) (* c y4)))))
(if (<= i -1.65e-259)
t_5
(if (<= i 5.7e-195)
t_1
(if (<= i 1.28e-86)
t_5
(if (<= i 2.7e+52)
t_1
(if (<= i 4.4e+140)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_2))
(* j (- (* i y1) (* b y0)))))
(if (<= i 1.28e+190) t_5 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 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double t_2 = (c * y0) - (a * y1);
double t_3 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
double t_4 = (y1 * y4) - (y0 * y5);
double t_5 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_4)));
double tmp;
if (i <= -7e+29) {
tmp = t_3;
} else if (i <= -2.2e-60) {
tmp = y2 * (((k * t_4) + (x * t_2)) + (t * ((a * y5) - (c * y4))));
} else if (i <= -1.65e-259) {
tmp = t_5;
} else if (i <= 5.7e-195) {
tmp = t_1;
} else if (i <= 1.28e-86) {
tmp = t_5;
} else if (i <= 2.7e+52) {
tmp = t_1;
} else if (i <= 4.4e+140) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))));
} else if (i <= 1.28e+190) {
tmp = t_5;
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
t_2 = (c * y0) - (a * y1)
t_3 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))))
t_4 = (y1 * y4) - (y0 * y5)
t_5 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_4)))
if (i <= (-7d+29)) then
tmp = t_3
else if (i <= (-2.2d-60)) then
tmp = y2 * (((k * t_4) + (x * t_2)) + (t * ((a * y5) - (c * y4))))
else if (i <= (-1.65d-259)) then
tmp = t_5
else if (i <= 5.7d-195) then
tmp = t_1
else if (i <= 1.28d-86) then
tmp = t_5
else if (i <= 2.7d+52) then
tmp = t_1
else if (i <= 4.4d+140) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))))
else if (i <= 1.28d+190) then
tmp = t_5
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 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double t_2 = (c * y0) - (a * y1);
double t_3 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j)))));
double t_4 = (y1 * y4) - (y0 * y5);
double t_5 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_4)));
double tmp;
if (i <= -7e+29) {
tmp = t_3;
} else if (i <= -2.2e-60) {
tmp = y2 * (((k * t_4) + (x * t_2)) + (t * ((a * y5) - (c * y4))));
} else if (i <= -1.65e-259) {
tmp = t_5;
} else if (i <= 5.7e-195) {
tmp = t_1;
} else if (i <= 1.28e-86) {
tmp = t_5;
} else if (i <= 2.7e+52) {
tmp = t_1;
} else if (i <= 4.4e+140) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))));
} else if (i <= 1.28e+190) {
tmp = t_5;
} 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 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) t_2 = (c * y0) - (a * y1) t_3 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))) t_4 = (y1 * y4) - (y0 * y5) t_5 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_4))) tmp = 0 if i <= -7e+29: tmp = t_3 elif i <= -2.2e-60: tmp = y2 * (((k * t_4) + (x * t_2)) + (t * ((a * y5) - (c * y4)))) elif i <= -1.65e-259: tmp = t_5 elif i <= 5.7e-195: tmp = t_1 elif i <= 1.28e-86: tmp = t_5 elif i <= 2.7e+52: tmp = t_1 elif i <= 4.4e+140: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0)))) elif i <= 1.28e+190: tmp = t_5 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(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) + Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))))) t_4 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_5 = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(j * t_4)))) tmp = 0.0 if (i <= -7e+29) tmp = t_3; elseif (i <= -2.2e-60) tmp = Float64(y2 * Float64(Float64(Float64(k * t_4) + Float64(x * t_2)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (i <= -1.65e-259) tmp = t_5; elseif (i <= 5.7e-195) tmp = t_1; elseif (i <= 1.28e-86) tmp = t_5; elseif (i <= 2.7e+52) tmp = t_1; elseif (i <= 4.4e+140) tmp = 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))))); elseif (i <= 1.28e+190) tmp = t_5; 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 = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); t_2 = (c * y0) - (a * y1); t_3 = i * ((y1 * ((x * j) - (z * k))) + ((c * ((z * t) - (x * y))) + (y5 * ((y * k) - (t * j))))); t_4 = (y1 * y4) - (y0 * y5); t_5 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_4))); tmp = 0.0; if (i <= -7e+29) tmp = t_3; elseif (i <= -2.2e-60) tmp = y2 * (((k * t_4) + (x * t_2)) + (t * ((a * y5) - (c * y4)))); elseif (i <= -1.65e-259) tmp = t_5; elseif (i <= 5.7e-195) tmp = t_1; elseif (i <= 1.28e-86) tmp = t_5; elseif (i <= 2.7e+52) tmp = t_1; elseif (i <= 4.4e+140) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0)))); elseif (i <= 1.28e+190) tmp = t_5; 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[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -7e+29], t$95$3, If[LessEqual[i, -2.2e-60], N[(y2 * N[(N[(N[(k * t$95$4), $MachinePrecision] + N[(x * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.65e-259], t$95$5, If[LessEqual[i, 5.7e-195], t$95$1, If[LessEqual[i, 1.28e-86], t$95$5, If[LessEqual[i, 2.7e+52], t$95$1, If[LessEqual[i, 4.4e+140], 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], If[LessEqual[i, 1.28e+190], t$95$5, t$95$3]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + \left(c \cdot \left(z \cdot t - x \cdot y\right) + y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\right)\\
t_4 := y1 \cdot y4 - y0 \cdot y5\\
t_5 := y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) - j \cdot t\_4\right)\right)\\
\mathbf{if}\;i \leq -7 \cdot 10^{+29}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq -2.2 \cdot 10^{-60}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t\_4 + x \cdot t\_2\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq -1.65 \cdot 10^{-259}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;i \leq 5.7 \cdot 10^{-195}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 1.28 \cdot 10^{-86}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;i \leq 2.7 \cdot 10^{+52}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 4.4 \cdot 10^{+140}:\\
\;\;\;\;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)\\
\mathbf{elif}\;i \leq 1.28 \cdot 10^{+190}:\\
\;\;\;\;t\_5\\
\mathbf{else}:\\
\;\;\;\;t\_3\\
\end{array}
\end{array}
if i < -6.99999999999999958e29 or 1.28e190 < i Initial program 32.4%
Taylor expanded in i around -inf 59.4%
if -6.99999999999999958e29 < i < -2.1999999999999999e-60Initial program 33.2%
Taylor expanded in y2 around inf 76.1%
if -2.1999999999999999e-60 < i < -1.65e-259 or 5.7e-195 < i < 1.27999999999999992e-86 or 4.3999999999999997e140 < i < 1.28e190Initial program 36.3%
Taylor expanded in y3 around -inf 57.9%
if -1.65e-259 < i < 5.7e-195 or 1.27999999999999992e-86 < i < 2.7e52Initial program 31.1%
Taylor expanded in y4 around inf 55.5%
if 2.7e52 < i < 4.3999999999999997e140Initial program 25.4%
Taylor expanded in x around inf 68.8%
Final simplification59.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (- (* t j) (* y k)))))
(t_2 (* b (* y0 (- (* z k) (* x j)))))
(t_3 (* a (* y5 (- (* t y2) (* y y3))))))
(if (<= y3 -2.8e+63)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y3 -96000.0)
t_1
(if (<= y3 -1.24e-82)
t_3
(if (<= y3 -4.8e-240)
t_2
(if (<= y3 8e-98)
t_1
(if (<= y3 8.5e-35)
t_3
(if (<= y3 0.007)
(* (* x c) (* y (- i)))
(if (<= y3 2.85e+45)
(* c (* x (* y0 y2)))
(if (<= y3 1e+123)
t_2
(if (<= y3 9.5e+190) t_3 (* c (* y (* y3 y4)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (y3 <= -2.8e+63) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -96000.0) {
tmp = t_1;
} else if (y3 <= -1.24e-82) {
tmp = t_3;
} else if (y3 <= -4.8e-240) {
tmp = t_2;
} else if (y3 <= 8e-98) {
tmp = t_1;
} else if (y3 <= 8.5e-35) {
tmp = t_3;
} else if (y3 <= 0.007) {
tmp = (x * c) * (y * -i);
} else if (y3 <= 2.85e+45) {
tmp = c * (x * (y0 * y2));
} else if (y3 <= 1e+123) {
tmp = t_2;
} else if (y3 <= 9.5e+190) {
tmp = t_3;
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
t_2 = b * (y0 * ((z * k) - (x * j)))
t_3 = a * (y5 * ((t * y2) - (y * y3)))
if (y3 <= (-2.8d+63)) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y3 <= (-96000.0d0)) then
tmp = t_1
else if (y3 <= (-1.24d-82)) then
tmp = t_3
else if (y3 <= (-4.8d-240)) then
tmp = t_2
else if (y3 <= 8d-98) then
tmp = t_1
else if (y3 <= 8.5d-35) then
tmp = t_3
else if (y3 <= 0.007d0) then
tmp = (x * c) * (y * -i)
else if (y3 <= 2.85d+45) then
tmp = c * (x * (y0 * y2))
else if (y3 <= 1d+123) then
tmp = t_2
else if (y3 <= 9.5d+190) then
tmp = t_3
else
tmp = c * (y * (y3 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double t_3 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (y3 <= -2.8e+63) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -96000.0) {
tmp = t_1;
} else if (y3 <= -1.24e-82) {
tmp = t_3;
} else if (y3 <= -4.8e-240) {
tmp = t_2;
} else if (y3 <= 8e-98) {
tmp = t_1;
} else if (y3 <= 8.5e-35) {
tmp = t_3;
} else if (y3 <= 0.007) {
tmp = (x * c) * (y * -i);
} else if (y3 <= 2.85e+45) {
tmp = c * (x * (y0 * y2));
} else if (y3 <= 1e+123) {
tmp = t_2;
} else if (y3 <= 9.5e+190) {
tmp = t_3;
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) t_2 = b * (y0 * ((z * k) - (x * j))) t_3 = a * (y5 * ((t * y2) - (y * y3))) tmp = 0 if y3 <= -2.8e+63: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y3 <= -96000.0: tmp = t_1 elif y3 <= -1.24e-82: tmp = t_3 elif y3 <= -4.8e-240: tmp = t_2 elif y3 <= 8e-98: tmp = t_1 elif y3 <= 8.5e-35: tmp = t_3 elif y3 <= 0.007: tmp = (x * c) * (y * -i) elif y3 <= 2.85e+45: tmp = c * (x * (y0 * y2)) elif y3 <= 1e+123: tmp = t_2 elif y3 <= 9.5e+190: tmp = t_3 else: tmp = c * (y * (y3 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_3 = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) tmp = 0.0 if (y3 <= -2.8e+63) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y3 <= -96000.0) tmp = t_1; elseif (y3 <= -1.24e-82) tmp = t_3; elseif (y3 <= -4.8e-240) tmp = t_2; elseif (y3 <= 8e-98) tmp = t_1; elseif (y3 <= 8.5e-35) tmp = t_3; elseif (y3 <= 0.007) tmp = Float64(Float64(x * c) * Float64(y * Float64(-i))); elseif (y3 <= 2.85e+45) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y3 <= 1e+123) tmp = t_2; elseif (y3 <= 9.5e+190) tmp = t_3; else tmp = Float64(c * Float64(y * Float64(y3 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y4 * ((t * j) - (y * k))); t_2 = b * (y0 * ((z * k) - (x * j))); t_3 = a * (y5 * ((t * y2) - (y * y3))); tmp = 0.0; if (y3 <= -2.8e+63) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y3 <= -96000.0) tmp = t_1; elseif (y3 <= -1.24e-82) tmp = t_3; elseif (y3 <= -4.8e-240) tmp = t_2; elseif (y3 <= 8e-98) tmp = t_1; elseif (y3 <= 8.5e-35) tmp = t_3; elseif (y3 <= 0.007) tmp = (x * c) * (y * -i); elseif (y3 <= 2.85e+45) tmp = c * (x * (y0 * y2)); elseif (y3 <= 1e+123) tmp = t_2; elseif (y3 <= 9.5e+190) tmp = t_3; else tmp = c * (y * (y3 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -2.8e+63], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -96000.0], t$95$1, If[LessEqual[y3, -1.24e-82], t$95$3, If[LessEqual[y3, -4.8e-240], t$95$2, If[LessEqual[y3, 8e-98], t$95$1, If[LessEqual[y3, 8.5e-35], t$95$3, If[LessEqual[y3, 0.007], N[(N[(x * c), $MachinePrecision] * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.85e+45], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1e+123], t$95$2, If[LessEqual[y3, 9.5e+190], t$95$3, N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_3 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;y3 \leq -2.8 \cdot 10^{+63}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq -96000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -1.24 \cdot 10^{-82}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y3 \leq -4.8 \cdot 10^{-240}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq 8 \cdot 10^{-98}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 8.5 \cdot 10^{-35}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y3 \leq 0.007:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y \cdot \left(-i\right)\right)\\
\mathbf{elif}\;y3 \leq 2.85 \cdot 10^{+45}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 10^{+123}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq 9.5 \cdot 10^{+190}:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y3 < -2.79999999999999987e63Initial program 24.5%
Taylor expanded in a around inf 42.4%
Taylor expanded in y3 around inf 57.8%
*-commutative57.8%
Simplified57.8%
if -2.79999999999999987e63 < y3 < -96000 or -4.7999999999999999e-240 < y3 < 7.99999999999999951e-98Initial program 41.9%
Taylor expanded in b around inf 42.7%
Taylor expanded in y4 around inf 37.8%
*-commutative37.8%
Simplified37.8%
if -96000 < y3 < -1.23999999999999997e-82 or 7.99999999999999951e-98 < y3 < 8.5000000000000001e-35 or 9.99999999999999978e122 < y3 < 9.4999999999999995e190Initial program 35.2%
Taylor expanded in a around inf 38.1%
Taylor expanded in y5 around inf 55.6%
*-commutative55.6%
Simplified55.6%
if -1.23999999999999997e-82 < y3 < -4.7999999999999999e-240 or 2.85000000000000013e45 < y3 < 9.99999999999999978e122Initial program 43.2%
Taylor expanded in b around inf 48.6%
Taylor expanded in y0 around inf 48.3%
if 8.5000000000000001e-35 < y3 < 0.00700000000000000015Initial program 57.2%
Taylor expanded in c around inf 71.2%
Taylor expanded in x around inf 43.3%
associate-*r*43.3%
+-commutative43.3%
mul-1-neg43.3%
unsub-neg43.3%
*-commutative43.3%
Simplified43.3%
Taylor expanded in y0 around 0 58.0%
neg-mul-158.0%
distribute-rgt-neg-in58.0%
Simplified58.0%
if 0.00700000000000000015 < y3 < 2.85000000000000013e45Initial program 8.9%
Taylor expanded in c around inf 46.3%
Taylor expanded in x around inf 55.5%
associate-*r*55.5%
+-commutative55.5%
mul-1-neg55.5%
unsub-neg55.5%
*-commutative55.5%
Simplified55.5%
Taylor expanded in y0 around inf 38.0%
if 9.4999999999999995e190 < y3 Initial program 4.2%
Taylor expanded in c around inf 45.8%
Taylor expanded in y around -inf 67.2%
mul-1-neg67.2%
associate-*r*63.0%
*-commutative63.0%
Simplified63.0%
Taylor expanded in x around 0 62.9%
Final simplification49.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y) (* z t)))
(t_2
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))))
(if (<= a -5.8e+57)
(* a (* b (* t (- (* y2 (/ y5 b)) z))))
(if (<= a -3.9e-23)
(* c (* z (- (* t i) (* y0 y3))))
(if (<= a -1.1e-198)
(*
b
(+
(+ (* a t_1) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= a 7.5e-61)
t_2
(if (<= a 1.26e+44)
(* y1 (* y4 (- (* k y2) (* j y3))))
(if (<= a 2.7e+162)
t_2
(* a (+ (* b t_1) (* y5 (- (* t y2) (* y y3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double t_2 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (a <= -5.8e+57) {
tmp = a * (b * (t * ((y2 * (y5 / b)) - z)));
} else if (a <= -3.9e-23) {
tmp = c * (z * ((t * i) - (y0 * y3)));
} else if (a <= -1.1e-198) {
tmp = b * (((a * t_1) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (a <= 7.5e-61) {
tmp = t_2;
} else if (a <= 1.26e+44) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (a <= 2.7e+162) {
tmp = t_2;
} else {
tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (x * y) - (z * t)
t_2 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
if (a <= (-5.8d+57)) then
tmp = a * (b * (t * ((y2 * (y5 / b)) - z)))
else if (a <= (-3.9d-23)) then
tmp = c * (z * ((t * i) - (y0 * y3)))
else if (a <= (-1.1d-198)) then
tmp = b * (((a * t_1) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (a <= 7.5d-61) then
tmp = t_2
else if (a <= 1.26d+44) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else if (a <= 2.7d+162) then
tmp = t_2
else
tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double t_2 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (a <= -5.8e+57) {
tmp = a * (b * (t * ((y2 * (y5 / b)) - z)));
} else if (a <= -3.9e-23) {
tmp = c * (z * ((t * i) - (y0 * y3)));
} else if (a <= -1.1e-198) {
tmp = b * (((a * t_1) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (a <= 7.5e-61) {
tmp = t_2;
} else if (a <= 1.26e+44) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (a <= 2.7e+162) {
tmp = t_2;
} else {
tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) t_2 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) tmp = 0 if a <= -5.8e+57: tmp = a * (b * (t * ((y2 * (y5 / b)) - z))) elif a <= -3.9e-23: tmp = c * (z * ((t * i) - (y0 * y3))) elif a <= -1.1e-198: tmp = b * (((a * t_1) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif a <= 7.5e-61: tmp = t_2 elif a <= 1.26e+44: tmp = y1 * (y4 * ((k * y2) - (j * y3))) elif a <= 2.7e+162: tmp = t_2 else: tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) - Float64(z * t)) t_2 = Float64(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 (a <= -5.8e+57) tmp = Float64(a * Float64(b * Float64(t * Float64(Float64(y2 * Float64(y5 / b)) - z)))); elseif (a <= -3.9e-23) tmp = Float64(c * Float64(z * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (a <= -1.1e-198) tmp = Float64(b * Float64(Float64(Float64(a * t_1) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (a <= 7.5e-61) tmp = t_2; elseif (a <= 1.26e+44) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (a <= 2.7e+162) tmp = t_2; else tmp = Float64(a * Float64(Float64(b * t_1) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * y) - (z * t); t_2 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); tmp = 0.0; if (a <= -5.8e+57) tmp = a * (b * (t * ((y2 * (y5 / b)) - z))); elseif (a <= -3.9e-23) tmp = c * (z * ((t * i) - (y0 * y3))); elseif (a <= -1.1e-198) tmp = b * (((a * t_1) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (a <= 7.5e-61) tmp = t_2; elseif (a <= 1.26e+44) tmp = y1 * (y4 * ((k * y2) - (j * y3))); elseif (a <= 2.7e+162) tmp = t_2; else tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * 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[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -5.8e+57], N[(a * N[(b * N[(t * N[(N[(y2 * N[(y5 / b), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.9e-23], N[(c * N[(z * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.1e-198], N[(b * N[(N[(N[(a * t$95$1), $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[a, 7.5e-61], t$95$2, If[LessEqual[a, 1.26e+44], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.7e+162], t$95$2, N[(a * N[(N[(b * t$95$1), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
t_2 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;a \leq -5.8 \cdot 10^{+57}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(y2 \cdot \frac{y5}{b} - z\right)\right)\right)\\
\mathbf{elif}\;a \leq -3.9 \cdot 10^{-23}:\\
\;\;\;\;c \cdot \left(z \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq -1.1 \cdot 10^{-198}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t\_1 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;a \leq 7.5 \cdot 10^{-61}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq 1.26 \cdot 10^{+44}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 2.7 \cdot 10^{+162}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot t\_1 + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\end{array}
\end{array}
if a < -5.8000000000000003e57Initial program 26.8%
Taylor expanded in a around inf 40.0%
Taylor expanded in b around inf 36.3%
+-commutative36.3%
mul-1-neg36.3%
unsub-neg36.3%
*-commutative36.3%
associate-/l*39.7%
+-commutative39.7%
mul-1-neg39.7%
unsub-neg39.7%
*-commutative39.7%
associate-/l*41.5%
*-commutative41.5%
Simplified41.5%
Taylor expanded in t around inf 47.4%
associate-/l*51.0%
Simplified51.0%
if -5.8000000000000003e57 < a < -3.9e-23Initial program 12.5%
Taylor expanded in c around inf 68.8%
Taylor expanded in z around inf 69.5%
if -3.9e-23 < a < -1.1e-198Initial program 42.9%
Taylor expanded in b around inf 62.6%
if -1.1e-198 < a < 7.50000000000000047e-61 or 1.25999999999999996e44 < a < 2.7000000000000002e162Initial program 36.1%
Taylor expanded in x around inf 46.5%
if 7.50000000000000047e-61 < a < 1.25999999999999996e44Initial program 16.9%
Taylor expanded in y4 around inf 21.5%
Taylor expanded in y1 around inf 42.7%
if 2.7000000000000002e162 < a Initial program 44.1%
Taylor expanded in a around inf 76.5%
Taylor expanded in y1 around 0 67.0%
Final simplification53.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y0 (- (* z k) (* x j)))))
(t_2 (* a (* y5 (- (* t y2) (* y y3))))))
(if (<= y3 -3.65e+68)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y3 -2.25e-281)
t_1
(if (<= y3 2.25e-215)
(* c (* t (* y2 (- y4))))
(if (<= y3 2e-94)
(* a (* z (- (* y1 y3) (* t b))))
(if (<= y3 2.45e-33)
t_2
(if (<= y3 0.065)
(* (* x c) (* y (- i)))
(if (<= y3 5.2e+47)
(* c (* x (* y0 y2)))
(if (<= y3 9e+124)
t_1
(if (<= y3 2.15e+191) t_2 (* c (* y (* y3 y4))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double t_2 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (y3 <= -3.65e+68) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -2.25e-281) {
tmp = t_1;
} else if (y3 <= 2.25e-215) {
tmp = c * (t * (y2 * -y4));
} else if (y3 <= 2e-94) {
tmp = a * (z * ((y1 * y3) - (t * b)));
} else if (y3 <= 2.45e-33) {
tmp = t_2;
} else if (y3 <= 0.065) {
tmp = (x * c) * (y * -i);
} else if (y3 <= 5.2e+47) {
tmp = c * (x * (y0 * y2));
} else if (y3 <= 9e+124) {
tmp = t_1;
} else if (y3 <= 2.15e+191) {
tmp = t_2;
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (y0 * ((z * k) - (x * j)))
t_2 = a * (y5 * ((t * y2) - (y * y3)))
if (y3 <= (-3.65d+68)) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y3 <= (-2.25d-281)) then
tmp = t_1
else if (y3 <= 2.25d-215) then
tmp = c * (t * (y2 * -y4))
else if (y3 <= 2d-94) then
tmp = a * (z * ((y1 * y3) - (t * b)))
else if (y3 <= 2.45d-33) then
tmp = t_2
else if (y3 <= 0.065d0) then
tmp = (x * c) * (y * -i)
else if (y3 <= 5.2d+47) then
tmp = c * (x * (y0 * y2))
else if (y3 <= 9d+124) then
tmp = t_1
else if (y3 <= 2.15d+191) then
tmp = t_2
else
tmp = c * (y * (y3 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y0 * ((z * k) - (x * j)));
double t_2 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (y3 <= -3.65e+68) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -2.25e-281) {
tmp = t_1;
} else if (y3 <= 2.25e-215) {
tmp = c * (t * (y2 * -y4));
} else if (y3 <= 2e-94) {
tmp = a * (z * ((y1 * y3) - (t * b)));
} else if (y3 <= 2.45e-33) {
tmp = t_2;
} else if (y3 <= 0.065) {
tmp = (x * c) * (y * -i);
} else if (y3 <= 5.2e+47) {
tmp = c * (x * (y0 * y2));
} else if (y3 <= 9e+124) {
tmp = t_1;
} else if (y3 <= 2.15e+191) {
tmp = t_2;
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y0 * ((z * k) - (x * j))) t_2 = a * (y5 * ((t * y2) - (y * y3))) tmp = 0 if y3 <= -3.65e+68: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y3 <= -2.25e-281: tmp = t_1 elif y3 <= 2.25e-215: tmp = c * (t * (y2 * -y4)) elif y3 <= 2e-94: tmp = a * (z * ((y1 * y3) - (t * b))) elif y3 <= 2.45e-33: tmp = t_2 elif y3 <= 0.065: tmp = (x * c) * (y * -i) elif y3 <= 5.2e+47: tmp = c * (x * (y0 * y2)) elif y3 <= 9e+124: tmp = t_1 elif y3 <= 2.15e+191: tmp = t_2 else: tmp = c * (y * (y3 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) t_2 = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) tmp = 0.0 if (y3 <= -3.65e+68) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y3 <= -2.25e-281) tmp = t_1; elseif (y3 <= 2.25e-215) tmp = Float64(c * Float64(t * Float64(y2 * Float64(-y4)))); elseif (y3 <= 2e-94) tmp = Float64(a * Float64(z * Float64(Float64(y1 * y3) - Float64(t * b)))); elseif (y3 <= 2.45e-33) tmp = t_2; elseif (y3 <= 0.065) tmp = Float64(Float64(x * c) * Float64(y * Float64(-i))); elseif (y3 <= 5.2e+47) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y3 <= 9e+124) tmp = t_1; elseif (y3 <= 2.15e+191) tmp = t_2; else tmp = Float64(c * Float64(y * Float64(y3 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y0 * ((z * k) - (x * j))); t_2 = a * (y5 * ((t * y2) - (y * y3))); tmp = 0.0; if (y3 <= -3.65e+68) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y3 <= -2.25e-281) tmp = t_1; elseif (y3 <= 2.25e-215) tmp = c * (t * (y2 * -y4)); elseif (y3 <= 2e-94) tmp = a * (z * ((y1 * y3) - (t * b))); elseif (y3 <= 2.45e-33) tmp = t_2; elseif (y3 <= 0.065) tmp = (x * c) * (y * -i); elseif (y3 <= 5.2e+47) tmp = c * (x * (y0 * y2)); elseif (y3 <= 9e+124) tmp = t_1; elseif (y3 <= 2.15e+191) tmp = t_2; else tmp = c * (y * (y3 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -3.65e+68], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.25e-281], t$95$1, If[LessEqual[y3, 2.25e-215], N[(c * N[(t * N[(y2 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2e-94], N[(a * N[(z * N[(N[(y1 * y3), $MachinePrecision] - N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.45e-33], t$95$2, If[LessEqual[y3, 0.065], N[(N[(x * c), $MachinePrecision] * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 5.2e+47], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 9e+124], t$95$1, If[LessEqual[y3, 2.15e+191], t$95$2, N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_2 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;y3 \leq -3.65 \cdot 10^{+68}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq -2.25 \cdot 10^{-281}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 2.25 \cdot 10^{-215}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y2 \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 2 \cdot 10^{-94}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3 - t \cdot b\right)\right)\\
\mathbf{elif}\;y3 \leq 2.45 \cdot 10^{-33}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq 0.065:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y \cdot \left(-i\right)\right)\\
\mathbf{elif}\;y3 \leq 5.2 \cdot 10^{+47}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 9 \cdot 10^{+124}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 2.15 \cdot 10^{+191}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y3 < -3.65000000000000017e68Initial program 25.0%
Taylor expanded in a around inf 43.2%
Taylor expanded in y3 around inf 58.8%
*-commutative58.8%
Simplified58.8%
if -3.65000000000000017e68 < y3 < -2.24999999999999997e-281 or 5.20000000000000007e47 < y3 < 9.0000000000000008e124Initial program 44.6%
Taylor expanded in b around inf 43.3%
Taylor expanded in y0 around inf 36.3%
if -2.24999999999999997e-281 < y3 < 2.25e-215Initial program 47.9%
Taylor expanded in c around inf 38.6%
Taylor expanded in t around inf 35.3%
Taylor expanded in i around 0 31.5%
mul-1-neg31.5%
distribute-rgt-neg-in31.5%
distribute-rgt-neg-in31.5%
distribute-lft-neg-in31.5%
*-commutative31.5%
Simplified31.5%
if 2.25e-215 < y3 < 1.9999999999999999e-94Initial program 31.8%
Taylor expanded in a around inf 23.6%
Taylor expanded in z around inf 28.7%
+-commutative28.7%
mul-1-neg28.7%
unsub-neg28.7%
*-commutative28.7%
Simplified28.7%
if 1.9999999999999999e-94 < y3 < 2.4499999999999999e-33 or 9.0000000000000008e124 < y3 < 2.1499999999999999e191Initial program 26.2%
Taylor expanded in a around inf 37.4%
Taylor expanded in y5 around inf 59.8%
*-commutative59.8%
Simplified59.8%
if 2.4499999999999999e-33 < y3 < 0.065000000000000002Initial program 57.2%
Taylor expanded in c around inf 71.2%
Taylor expanded in x around inf 43.3%
associate-*r*43.3%
+-commutative43.3%
mul-1-neg43.3%
unsub-neg43.3%
*-commutative43.3%
Simplified43.3%
Taylor expanded in y0 around 0 58.0%
neg-mul-158.0%
distribute-rgt-neg-in58.0%
Simplified58.0%
if 0.065000000000000002 < y3 < 5.20000000000000007e47Initial program 8.9%
Taylor expanded in c around inf 46.3%
Taylor expanded in x around inf 55.5%
associate-*r*55.5%
+-commutative55.5%
mul-1-neg55.5%
unsub-neg55.5%
*-commutative55.5%
Simplified55.5%
Taylor expanded in y0 around inf 38.0%
if 2.1499999999999999e191 < y3 Initial program 4.2%
Taylor expanded in c around inf 45.8%
Taylor expanded in y around -inf 67.2%
mul-1-neg67.2%
associate-*r*63.0%
*-commutative63.0%
Simplified63.0%
Taylor expanded in x around 0 62.9%
Final simplification45.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y) (* z t))))
(if (<= a -5.6e+55)
(* a (* b (* t (- (* y2 (/ y5 b)) z))))
(if (<= a -4.1e-20)
(* c (* z (- (* t i) (* y0 y3))))
(if (<= a -4.1e-281)
(*
b
(+
(+ (* a t_1) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= a 1.85e-112)
(* (* y0 y3) (- (* j y5) (* z c)))
(if (<= a 4.8e+45)
(* y1 (* y4 (- (* k y2) (* j y3))))
(if (<= a 8.6e+114)
(* (* y c) (- (* y3 y4) (* x i)))
(if (<= a 2.1e+169)
(* a (* b (* y1 (/ (- (* z y3) (* x y2)) b))))
(* a (+ (* b t_1) (* y5 (- (* t y2) (* y y3))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double tmp;
if (a <= -5.6e+55) {
tmp = a * (b * (t * ((y2 * (y5 / b)) - z)));
} else if (a <= -4.1e-20) {
tmp = c * (z * ((t * i) - (y0 * y3)));
} else if (a <= -4.1e-281) {
tmp = b * (((a * t_1) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (a <= 1.85e-112) {
tmp = (y0 * y3) * ((j * y5) - (z * c));
} else if (a <= 4.8e+45) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (a <= 8.6e+114) {
tmp = (y * c) * ((y3 * y4) - (x * i));
} else if (a <= 2.1e+169) {
tmp = a * (b * (y1 * (((z * y3) - (x * y2)) / b)));
} else {
tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (x * y) - (z * t)
if (a <= (-5.6d+55)) then
tmp = a * (b * (t * ((y2 * (y5 / b)) - z)))
else if (a <= (-4.1d-20)) then
tmp = c * (z * ((t * i) - (y0 * y3)))
else if (a <= (-4.1d-281)) then
tmp = b * (((a * t_1) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (a <= 1.85d-112) then
tmp = (y0 * y3) * ((j * y5) - (z * c))
else if (a <= 4.8d+45) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else if (a <= 8.6d+114) then
tmp = (y * c) * ((y3 * y4) - (x * i))
else if (a <= 2.1d+169) then
tmp = a * (b * (y1 * (((z * y3) - (x * y2)) / b)))
else
tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double tmp;
if (a <= -5.6e+55) {
tmp = a * (b * (t * ((y2 * (y5 / b)) - z)));
} else if (a <= -4.1e-20) {
tmp = c * (z * ((t * i) - (y0 * y3)));
} else if (a <= -4.1e-281) {
tmp = b * (((a * t_1) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (a <= 1.85e-112) {
tmp = (y0 * y3) * ((j * y5) - (z * c));
} else if (a <= 4.8e+45) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (a <= 8.6e+114) {
tmp = (y * c) * ((y3 * y4) - (x * i));
} else if (a <= 2.1e+169) {
tmp = a * (b * (y1 * (((z * y3) - (x * y2)) / b)));
} else {
tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) tmp = 0 if a <= -5.6e+55: tmp = a * (b * (t * ((y2 * (y5 / b)) - z))) elif a <= -4.1e-20: tmp = c * (z * ((t * i) - (y0 * y3))) elif a <= -4.1e-281: tmp = b * (((a * t_1) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif a <= 1.85e-112: tmp = (y0 * y3) * ((j * y5) - (z * c)) elif a <= 4.8e+45: tmp = y1 * (y4 * ((k * y2) - (j * y3))) elif a <= 8.6e+114: tmp = (y * c) * ((y3 * y4) - (x * i)) elif a <= 2.1e+169: tmp = a * (b * (y1 * (((z * y3) - (x * y2)) / b))) else: tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * y3)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) - Float64(z * t)) tmp = 0.0 if (a <= -5.6e+55) tmp = Float64(a * Float64(b * Float64(t * Float64(Float64(y2 * Float64(y5 / b)) - z)))); elseif (a <= -4.1e-20) tmp = Float64(c * Float64(z * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (a <= -4.1e-281) tmp = Float64(b * Float64(Float64(Float64(a * t_1) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (a <= 1.85e-112) tmp = Float64(Float64(y0 * y3) * Float64(Float64(j * y5) - Float64(z * c))); elseif (a <= 4.8e+45) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (a <= 8.6e+114) tmp = Float64(Float64(y * c) * Float64(Float64(y3 * y4) - Float64(x * i))); elseif (a <= 2.1e+169) tmp = Float64(a * Float64(b * Float64(y1 * Float64(Float64(Float64(z * y3) - Float64(x * y2)) / b)))); else tmp = Float64(a * Float64(Float64(b * t_1) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * y) - (z * t); tmp = 0.0; if (a <= -5.6e+55) tmp = a * (b * (t * ((y2 * (y5 / b)) - z))); elseif (a <= -4.1e-20) tmp = c * (z * ((t * i) - (y0 * y3))); elseif (a <= -4.1e-281) tmp = b * (((a * t_1) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (a <= 1.85e-112) tmp = (y0 * y3) * ((j * y5) - (z * c)); elseif (a <= 4.8e+45) tmp = y1 * (y4 * ((k * y2) - (j * y3))); elseif (a <= 8.6e+114) tmp = (y * c) * ((y3 * y4) - (x * i)); elseif (a <= 2.1e+169) tmp = a * (b * (y1 * (((z * y3) - (x * y2)) / b))); else tmp = a * ((b * t_1) + (y5 * ((t * y2) - (y * 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[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -5.6e+55], N[(a * N[(b * N[(t * N[(N[(y2 * N[(y5 / b), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.1e-20], N[(c * N[(z * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -4.1e-281], N[(b * N[(N[(N[(a * t$95$1), $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[a, 1.85e-112], N[(N[(y0 * y3), $MachinePrecision] * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.8e+45], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.6e+114], N[(N[(y * c), $MachinePrecision] * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.1e+169], N[(a * N[(b * N[(y1 * N[(N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision] / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(b * t$95$1), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
\mathbf{if}\;a \leq -5.6 \cdot 10^{+55}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(y2 \cdot \frac{y5}{b} - z\right)\right)\right)\\
\mathbf{elif}\;a \leq -4.1 \cdot 10^{-20}:\\
\;\;\;\;c \cdot \left(z \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq -4.1 \cdot 10^{-281}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t\_1 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;a \leq 1.85 \cdot 10^{-112}:\\
\;\;\;\;\left(y0 \cdot y3\right) \cdot \left(j \cdot y5 - z \cdot c\right)\\
\mathbf{elif}\;a \leq 4.8 \cdot 10^{+45}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 8.6 \cdot 10^{+114}:\\
\;\;\;\;\left(y \cdot c\right) \cdot \left(y3 \cdot y4 - x \cdot i\right)\\
\mathbf{elif}\;a \leq 2.1 \cdot 10^{+169}:\\
\;\;\;\;a \cdot \left(b \cdot \left(y1 \cdot \frac{z \cdot y3 - x \cdot y2}{b}\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(b \cdot t\_1 + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\end{array}
\end{array}
if a < -5.6000000000000002e55Initial program 26.8%
Taylor expanded in a around inf 40.0%
Taylor expanded in b around inf 36.3%
+-commutative36.3%
mul-1-neg36.3%
unsub-neg36.3%
*-commutative36.3%
associate-/l*39.7%
+-commutative39.7%
mul-1-neg39.7%
unsub-neg39.7%
*-commutative39.7%
associate-/l*41.5%
*-commutative41.5%
Simplified41.5%
Taylor expanded in t around inf 47.4%
associate-/l*51.0%
Simplified51.0%
if -5.6000000000000002e55 < a < -4.1000000000000001e-20Initial program 12.5%
Taylor expanded in c around inf 68.8%
Taylor expanded in z around inf 69.5%
if -4.1000000000000001e-20 < a < -4.0999999999999999e-281Initial program 38.7%
Taylor expanded in b around inf 56.9%
if -4.0999999999999999e-281 < a < 1.8499999999999999e-112Initial program 38.4%
Taylor expanded in y3 around -inf 45.0%
Taylor expanded in y0 around inf 50.0%
associate-*r*44.7%
*-commutative44.7%
+-commutative44.7%
mul-1-neg44.7%
unsub-neg44.7%
*-commutative44.7%
*-commutative44.7%
Simplified44.7%
if 1.8499999999999999e-112 < a < 4.79999999999999979e45Initial program 20.9%
Taylor expanded in y4 around inf 29.9%
Taylor expanded in y1 around inf 42.2%
if 4.79999999999999979e45 < a < 8.6000000000000001e114Initial program 39.9%
Taylor expanded in c around inf 54.5%
Taylor expanded in y around -inf 41.7%
mul-1-neg41.7%
associate-*r*41.8%
*-commutative41.8%
Simplified41.8%
if 8.6000000000000001e114 < a < 2.1000000000000001e169Initial program 37.5%
Taylor expanded in a around inf 37.5%
Taylor expanded in b around inf 50.0%
+-commutative50.0%
mul-1-neg50.0%
unsub-neg50.0%
*-commutative50.0%
associate-/l*50.0%
+-commutative50.0%
mul-1-neg50.0%
unsub-neg50.0%
*-commutative50.0%
associate-/l*50.0%
*-commutative50.0%
Simplified50.0%
Taylor expanded in y1 around -inf 62.6%
mul-1-neg62.6%
cancel-sign-sub-inv62.6%
fma-undefine62.6%
associate-/l*62.5%
distribute-rgt-neg-in62.5%
distribute-neg-frac262.5%
fma-undefine62.5%
cancel-sign-sub-inv62.5%
Simplified62.5%
if 2.1000000000000001e169 < a Initial program 45.5%
Taylor expanded in a around inf 75.8%
Taylor expanded in y1 around 0 68.8%
Final simplification53.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (* t y4)))) (t_2 (* c (* t (* z i)))))
(if (<= y3 -1e+58)
(* a (* y1 (* z y3)))
(if (<= y3 -85000000000000.0)
(* (* x c) (* y0 y2))
(if (<= y3 -1.1e-64)
(* a (* (* x y) b))
(if (<= y3 -3.3e-127)
t_2
(if (<= y3 -2.9e-161)
(* a (* x (* y1 (- y2))))
(if (<= y3 -4.4e-259)
t_1
(if (<= y3 1.7e-285)
t_2
(if (<= y3 6.8e-115)
t_1
(if (<= y3 5.3e+102)
(* (* x c) (* y (- i)))
(* c (* y4 (* y y3))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * (t * y4));
double t_2 = c * (t * (z * i));
double tmp;
if (y3 <= -1e+58) {
tmp = a * (y1 * (z * y3));
} else if (y3 <= -85000000000000.0) {
tmp = (x * c) * (y0 * y2);
} else if (y3 <= -1.1e-64) {
tmp = a * ((x * y) * b);
} else if (y3 <= -3.3e-127) {
tmp = t_2;
} else if (y3 <= -2.9e-161) {
tmp = a * (x * (y1 * -y2));
} else if (y3 <= -4.4e-259) {
tmp = t_1;
} else if (y3 <= 1.7e-285) {
tmp = t_2;
} else if (y3 <= 6.8e-115) {
tmp = t_1;
} else if (y3 <= 5.3e+102) {
tmp = (x * c) * (y * -i);
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (j * (t * y4))
t_2 = c * (t * (z * i))
if (y3 <= (-1d+58)) then
tmp = a * (y1 * (z * y3))
else if (y3 <= (-85000000000000.0d0)) then
tmp = (x * c) * (y0 * y2)
else if (y3 <= (-1.1d-64)) then
tmp = a * ((x * y) * b)
else if (y3 <= (-3.3d-127)) then
tmp = t_2
else if (y3 <= (-2.9d-161)) then
tmp = a * (x * (y1 * -y2))
else if (y3 <= (-4.4d-259)) then
tmp = t_1
else if (y3 <= 1.7d-285) then
tmp = t_2
else if (y3 <= 6.8d-115) then
tmp = t_1
else if (y3 <= 5.3d+102) then
tmp = (x * c) * (y * -i)
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * (t * y4));
double t_2 = c * (t * (z * i));
double tmp;
if (y3 <= -1e+58) {
tmp = a * (y1 * (z * y3));
} else if (y3 <= -85000000000000.0) {
tmp = (x * c) * (y0 * y2);
} else if (y3 <= -1.1e-64) {
tmp = a * ((x * y) * b);
} else if (y3 <= -3.3e-127) {
tmp = t_2;
} else if (y3 <= -2.9e-161) {
tmp = a * (x * (y1 * -y2));
} else if (y3 <= -4.4e-259) {
tmp = t_1;
} else if (y3 <= 1.7e-285) {
tmp = t_2;
} else if (y3 <= 6.8e-115) {
tmp = t_1;
} else if (y3 <= 5.3e+102) {
tmp = (x * c) * (y * -i);
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * (t * y4)) t_2 = c * (t * (z * i)) tmp = 0 if y3 <= -1e+58: tmp = a * (y1 * (z * y3)) elif y3 <= -85000000000000.0: tmp = (x * c) * (y0 * y2) elif y3 <= -1.1e-64: tmp = a * ((x * y) * b) elif y3 <= -3.3e-127: tmp = t_2 elif y3 <= -2.9e-161: tmp = a * (x * (y1 * -y2)) elif y3 <= -4.4e-259: tmp = t_1 elif y3 <= 1.7e-285: tmp = t_2 elif y3 <= 6.8e-115: tmp = t_1 elif y3 <= 5.3e+102: tmp = (x * c) * (y * -i) else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(t * y4))) t_2 = Float64(c * Float64(t * Float64(z * i))) tmp = 0.0 if (y3 <= -1e+58) tmp = Float64(a * Float64(y1 * Float64(z * y3))); elseif (y3 <= -85000000000000.0) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (y3 <= -1.1e-64) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (y3 <= -3.3e-127) tmp = t_2; elseif (y3 <= -2.9e-161) tmp = Float64(a * Float64(x * Float64(y1 * Float64(-y2)))); elseif (y3 <= -4.4e-259) tmp = t_1; elseif (y3 <= 1.7e-285) tmp = t_2; elseif (y3 <= 6.8e-115) tmp = t_1; elseif (y3 <= 5.3e+102) tmp = Float64(Float64(x * c) * Float64(y * Float64(-i))); else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * (t * y4)); t_2 = c * (t * (z * i)); tmp = 0.0; if (y3 <= -1e+58) tmp = a * (y1 * (z * y3)); elseif (y3 <= -85000000000000.0) tmp = (x * c) * (y0 * y2); elseif (y3 <= -1.1e-64) tmp = a * ((x * y) * b); elseif (y3 <= -3.3e-127) tmp = t_2; elseif (y3 <= -2.9e-161) tmp = a * (x * (y1 * -y2)); elseif (y3 <= -4.4e-259) tmp = t_1; elseif (y3 <= 1.7e-285) tmp = t_2; elseif (y3 <= 6.8e-115) tmp = t_1; elseif (y3 <= 5.3e+102) tmp = (x * c) * (y * -i); else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(t * N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1e+58], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -85000000000000.0], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.1e-64], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.3e-127], t$95$2, If[LessEqual[y3, -2.9e-161], N[(a * N[(x * N[(y1 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -4.4e-259], t$95$1, If[LessEqual[y3, 1.7e-285], t$95$2, If[LessEqual[y3, 6.8e-115], t$95$1, If[LessEqual[y3, 5.3e+102], N[(N[(x * c), $MachinePrecision] * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
t_2 := c \cdot \left(t \cdot \left(z \cdot i\right)\right)\\
\mathbf{if}\;y3 \leq -1 \cdot 10^{+58}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -85000000000000:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;y3 \leq -1.1 \cdot 10^{-64}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;y3 \leq -3.3 \cdot 10^{-127}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq -2.9 \cdot 10^{-161}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y1 \cdot \left(-y2\right)\right)\right)\\
\mathbf{elif}\;y3 \leq -4.4 \cdot 10^{-259}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 1.7 \cdot 10^{-285}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq 6.8 \cdot 10^{-115}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 5.3 \cdot 10^{+102}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y \cdot \left(-i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -9.99999999999999944e57Initial program 24.5%
Taylor expanded in a around inf 42.4%
Taylor expanded in z around inf 51.8%
+-commutative51.8%
mul-1-neg51.8%
unsub-neg51.8%
*-commutative51.8%
Simplified51.8%
Taylor expanded in y3 around inf 50.0%
*-commutative50.0%
*-commutative50.0%
Simplified50.0%
if -9.99999999999999944e57 < y3 < -8.5e13Initial program 51.2%
Taylor expanded in c around inf 58.4%
Taylor expanded in x around inf 37.9%
associate-*r*44.6%
+-commutative44.6%
mul-1-neg44.6%
unsub-neg44.6%
*-commutative44.6%
Simplified44.6%
Taylor expanded in y0 around inf 37.6%
if -8.5e13 < y3 < -1.1e-64Initial program 45.5%
Taylor expanded in a around inf 46.7%
Taylor expanded in x around inf 37.4%
+-commutative37.4%
mul-1-neg37.4%
unsub-neg37.4%
*-commutative37.4%
Simplified37.4%
Taylor expanded in y around inf 28.6%
if -1.1e-64 < y3 < -3.29999999999999981e-127 or -4.40000000000000019e-259 < y3 < 1.7e-285Initial program 48.4%
Taylor expanded in c around inf 37.0%
Taylor expanded in t around inf 43.6%
Taylor expanded in i around inf 37.3%
*-commutative37.3%
Simplified37.3%
if -3.29999999999999981e-127 < y3 < -2.9e-161Initial program 25.6%
Taylor expanded in a around inf 38.5%
Taylor expanded in x around inf 16.0%
+-commutative16.0%
mul-1-neg16.0%
unsub-neg16.0%
*-commutative16.0%
Simplified16.0%
Taylor expanded in y around 0 27.8%
associate-*r*27.8%
mul-1-neg27.8%
Simplified27.8%
if -2.9e-161 < y3 < -4.40000000000000019e-259 or 1.7e-285 < y3 < 6.7999999999999996e-115Initial program 42.3%
Taylor expanded in y4 around inf 46.9%
Taylor expanded in j around inf 39.5%
associate-*r*31.7%
*-commutative31.7%
+-commutative31.7%
mul-1-neg31.7%
unsub-neg31.7%
*-commutative31.7%
Simplified31.7%
Taylor expanded in b around inf 35.4%
if 6.7999999999999996e-115 < y3 < 5.2999999999999997e102Initial program 29.3%
Taylor expanded in c around inf 42.3%
Taylor expanded in x around inf 38.4%
associate-*r*38.4%
+-commutative38.4%
mul-1-neg38.4%
unsub-neg38.4%
*-commutative38.4%
Simplified38.4%
Taylor expanded in y0 around 0 30.4%
neg-mul-130.4%
distribute-rgt-neg-in30.4%
Simplified30.4%
if 5.2999999999999997e102 < y3 Initial program 15.4%
Taylor expanded in c around inf 41.2%
Taylor expanded in y around -inf 54.5%
mul-1-neg54.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
Taylor expanded in x around 0 54.5%
mul-1-neg54.5%
distribute-rgt-neg-in54.5%
associate-*r*56.9%
*-commutative56.9%
Simplified56.9%
Final simplification40.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (- (* t j) (* y k)))))
(t_2 (* a (* y5 (- (* t y2) (* y y3))))))
(if (<= y3 -1.35e+56)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y3 -1320000.0)
t_1
(if (<= y3 -6.7e-79)
t_2
(if (<= y3 -2.7e-239)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y3 6.6e-98)
t_1
(if (<= y3 4.9e-35)
t_2
(if (<= y3 0.021)
(* (* x c) (* y (- i)))
(if (<= y3 4.1e+112)
(* c (* y0 (- (* x y2) (* z y3))))
(* c (* y4 (* y y3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double t_2 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (y3 <= -1.35e+56) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -1320000.0) {
tmp = t_1;
} else if (y3 <= -6.7e-79) {
tmp = t_2;
} else if (y3 <= -2.7e-239) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y3 <= 6.6e-98) {
tmp = t_1;
} else if (y3 <= 4.9e-35) {
tmp = t_2;
} else if (y3 <= 0.021) {
tmp = (x * c) * (y * -i);
} else if (y3 <= 4.1e+112) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
t_2 = a * (y5 * ((t * y2) - (y * y3)))
if (y3 <= (-1.35d+56)) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y3 <= (-1320000.0d0)) then
tmp = t_1
else if (y3 <= (-6.7d-79)) then
tmp = t_2
else if (y3 <= (-2.7d-239)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y3 <= 6.6d-98) then
tmp = t_1
else if (y3 <= 4.9d-35) then
tmp = t_2
else if (y3 <= 0.021d0) then
tmp = (x * c) * (y * -i)
else if (y3 <= 4.1d+112) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double t_2 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (y3 <= -1.35e+56) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -1320000.0) {
tmp = t_1;
} else if (y3 <= -6.7e-79) {
tmp = t_2;
} else if (y3 <= -2.7e-239) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y3 <= 6.6e-98) {
tmp = t_1;
} else if (y3 <= 4.9e-35) {
tmp = t_2;
} else if (y3 <= 0.021) {
tmp = (x * c) * (y * -i);
} else if (y3 <= 4.1e+112) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) t_2 = a * (y5 * ((t * y2) - (y * y3))) tmp = 0 if y3 <= -1.35e+56: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y3 <= -1320000.0: tmp = t_1 elif y3 <= -6.7e-79: tmp = t_2 elif y3 <= -2.7e-239: tmp = b * (y0 * ((z * k) - (x * j))) elif y3 <= 6.6e-98: tmp = t_1 elif y3 <= 4.9e-35: tmp = t_2 elif y3 <= 0.021: tmp = (x * c) * (y * -i) elif y3 <= 4.1e+112: tmp = c * (y0 * ((x * y2) - (z * y3))) else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) t_2 = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) tmp = 0.0 if (y3 <= -1.35e+56) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y3 <= -1320000.0) tmp = t_1; elseif (y3 <= -6.7e-79) tmp = t_2; elseif (y3 <= -2.7e-239) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y3 <= 6.6e-98) tmp = t_1; elseif (y3 <= 4.9e-35) tmp = t_2; elseif (y3 <= 0.021) tmp = Float64(Float64(x * c) * Float64(y * Float64(-i))); elseif (y3 <= 4.1e+112) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y4 * ((t * j) - (y * k))); t_2 = a * (y5 * ((t * y2) - (y * y3))); tmp = 0.0; if (y3 <= -1.35e+56) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y3 <= -1320000.0) tmp = t_1; elseif (y3 <= -6.7e-79) tmp = t_2; elseif (y3 <= -2.7e-239) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y3 <= 6.6e-98) tmp = t_1; elseif (y3 <= 4.9e-35) tmp = t_2; elseif (y3 <= 0.021) tmp = (x * c) * (y * -i); elseif (y3 <= 4.1e+112) tmp = c * (y0 * ((x * y2) - (z * y3))); else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.35e+56], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1320000.0], t$95$1, If[LessEqual[y3, -6.7e-79], t$95$2, If[LessEqual[y3, -2.7e-239], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 6.6e-98], t$95$1, If[LessEqual[y3, 4.9e-35], t$95$2, If[LessEqual[y3, 0.021], N[(N[(x * c), $MachinePrecision] * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.1e+112], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
t_2 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;y3 \leq -1.35 \cdot 10^{+56}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq -1320000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -6.7 \cdot 10^{-79}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq -2.7 \cdot 10^{-239}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y3 \leq 6.6 \cdot 10^{-98}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 4.9 \cdot 10^{-35}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq 0.021:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y \cdot \left(-i\right)\right)\\
\mathbf{elif}\;y3 \leq 4.1 \cdot 10^{+112}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -1.35000000000000005e56Initial program 24.5%
Taylor expanded in a around inf 42.4%
Taylor expanded in y3 around inf 57.8%
*-commutative57.8%
Simplified57.8%
if -1.35000000000000005e56 < y3 < -1.32e6 or -2.7000000000000001e-239 < y3 < 6.6000000000000002e-98Initial program 41.9%
Taylor expanded in b around inf 42.7%
Taylor expanded in y4 around inf 37.8%
*-commutative37.8%
Simplified37.8%
if -1.32e6 < y3 < -6.70000000000000017e-79 or 6.6000000000000002e-98 < y3 < 4.9000000000000005e-35Initial program 37.3%
Taylor expanded in a around inf 34.2%
Taylor expanded in y5 around inf 52.7%
*-commutative52.7%
Simplified52.7%
if -6.70000000000000017e-79 < y3 < -2.7000000000000001e-239Initial program 43.7%
Taylor expanded in b around inf 50.8%
Taylor expanded in y0 around inf 44.7%
if 4.9000000000000005e-35 < y3 < 0.0210000000000000013Initial program 57.2%
Taylor expanded in c around inf 71.2%
Taylor expanded in x around inf 43.3%
associate-*r*43.3%
+-commutative43.3%
mul-1-neg43.3%
unsub-neg43.3%
*-commutative43.3%
Simplified43.3%
Taylor expanded in y0 around 0 58.0%
neg-mul-158.0%
distribute-rgt-neg-in58.0%
Simplified58.0%
if 0.0210000000000000013 < y3 < 4.09999999999999976e112Initial program 23.7%
Taylor expanded in c around inf 34.0%
Taylor expanded in y0 around inf 49.0%
if 4.09999999999999976e112 < y3 Initial program 15.4%
Taylor expanded in c around inf 41.2%
Taylor expanded in y around -inf 54.5%
mul-1-neg54.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
Taylor expanded in x around 0 54.5%
mul-1-neg54.5%
distribute-rgt-neg-in54.5%
associate-*r*56.9%
*-commutative56.9%
Simplified56.9%
Final simplification48.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* x c) (- (* y0 y2) (* y i))))
(t_2 (* a (* y3 (- (* z y1) (* y y5))))))
(if (<= y3 -2.6e+56)
t_2
(if (<= y3 -3e+14)
t_1
(if (<= y3 -1.9e-97)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y3 -3.3e-282)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y3 1.8e-48)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y3 1.5e+71)
t_1
(if (<= y3 6.2e+137)
(* y1 (* y4 (- (* k y2) (* j y3))))
(if (<= y3 3.45e+154) t_2 (* c (* y4 (* y y3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * c) * ((y0 * y2) - (y * i));
double t_2 = a * (y3 * ((z * y1) - (y * y5)));
double tmp;
if (y3 <= -2.6e+56) {
tmp = t_2;
} else if (y3 <= -3e+14) {
tmp = t_1;
} else if (y3 <= -1.9e-97) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -3.3e-282) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y3 <= 1.8e-48) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 1.5e+71) {
tmp = t_1;
} else if (y3 <= 6.2e+137) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (y3 <= 3.45e+154) {
tmp = t_2;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (x * c) * ((y0 * y2) - (y * i))
t_2 = a * (y3 * ((z * y1) - (y * y5)))
if (y3 <= (-2.6d+56)) then
tmp = t_2
else if (y3 <= (-3d+14)) then
tmp = t_1
else if (y3 <= (-1.9d-97)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y3 <= (-3.3d-282)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y3 <= 1.8d-48) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y3 <= 1.5d+71) then
tmp = t_1
else if (y3 <= 6.2d+137) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else if (y3 <= 3.45d+154) then
tmp = t_2
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * c) * ((y0 * y2) - (y * i));
double t_2 = a * (y3 * ((z * y1) - (y * y5)));
double tmp;
if (y3 <= -2.6e+56) {
tmp = t_2;
} else if (y3 <= -3e+14) {
tmp = t_1;
} else if (y3 <= -1.9e-97) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -3.3e-282) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y3 <= 1.8e-48) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 1.5e+71) {
tmp = t_1;
} else if (y3 <= 6.2e+137) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (y3 <= 3.45e+154) {
tmp = t_2;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * c) * ((y0 * y2) - (y * i)) t_2 = a * (y3 * ((z * y1) - (y * y5))) tmp = 0 if y3 <= -2.6e+56: tmp = t_2 elif y3 <= -3e+14: tmp = t_1 elif y3 <= -1.9e-97: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y3 <= -3.3e-282: tmp = b * (y4 * ((t * j) - (y * k))) elif y3 <= 1.8e-48: tmp = t * (y4 * ((b * j) - (c * y2))) elif y3 <= 1.5e+71: tmp = t_1 elif y3 <= 6.2e+137: tmp = y1 * (y4 * ((k * y2) - (j * y3))) elif y3 <= 3.45e+154: tmp = t_2 else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * c) * Float64(Float64(y0 * y2) - Float64(y * i))) t_2 = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))) tmp = 0.0 if (y3 <= -2.6e+56) tmp = t_2; elseif (y3 <= -3e+14) tmp = t_1; elseif (y3 <= -1.9e-97) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y3 <= -3.3e-282) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y3 <= 1.8e-48) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y3 <= 1.5e+71) tmp = t_1; elseif (y3 <= 6.2e+137) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (y3 <= 3.45e+154) tmp = t_2; else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * c) * ((y0 * y2) - (y * i)); t_2 = a * (y3 * ((z * y1) - (y * y5))); tmp = 0.0; if (y3 <= -2.6e+56) tmp = t_2; elseif (y3 <= -3e+14) tmp = t_1; elseif (y3 <= -1.9e-97) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y3 <= -3.3e-282) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y3 <= 1.8e-48) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y3 <= 1.5e+71) tmp = t_1; elseif (y3 <= 6.2e+137) tmp = y1 * (y4 * ((k * y2) - (j * y3))); elseif (y3 <= 3.45e+154) tmp = t_2; else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * c), $MachinePrecision] * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -2.6e+56], t$95$2, If[LessEqual[y3, -3e+14], t$95$1, If[LessEqual[y3, -1.9e-97], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.3e-282], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.8e-48], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.5e+71], t$95$1, If[LessEqual[y3, 6.2e+137], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.45e+154], t$95$2, N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot c\right) \cdot \left(y0 \cdot y2 - y \cdot i\right)\\
t_2 := a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{if}\;y3 \leq -2.6 \cdot 10^{+56}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq -3 \cdot 10^{+14}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -1.9 \cdot 10^{-97}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -3.3 \cdot 10^{-282}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y3 \leq 1.8 \cdot 10^{-48}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 1.5 \cdot 10^{+71}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 6.2 \cdot 10^{+137}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq 3.45 \cdot 10^{+154}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -2.60000000000000011e56 or 6.1999999999999999e137 < y3 < 3.45e154Initial program 25.0%
Taylor expanded in a around inf 41.9%
Taylor expanded in y3 around inf 60.1%
*-commutative60.1%
Simplified60.1%
if -2.60000000000000011e56 < y3 < -3e14 or 1.8000000000000001e-48 < y3 < 1.50000000000000006e71Initial program 37.2%
Taylor expanded in c around inf 56.0%
Taylor expanded in x around inf 46.0%
associate-*r*48.5%
+-commutative48.5%
mul-1-neg48.5%
unsub-neg48.5%
*-commutative48.5%
Simplified48.5%
if -3e14 < y3 < -1.9e-97Initial program 47.1%
Taylor expanded in a around inf 41.9%
Taylor expanded in y5 around inf 42.2%
*-commutative42.2%
Simplified42.2%
if -1.9e-97 < y3 < -3.3e-282Initial program 42.4%
Taylor expanded in b around inf 49.7%
Taylor expanded in y4 around inf 38.1%
*-commutative38.1%
Simplified38.1%
if -3.3e-282 < y3 < 1.8000000000000001e-48Initial program 36.7%
Taylor expanded in y4 around inf 44.4%
Taylor expanded in t around inf 43.0%
if 1.50000000000000006e71 < y3 < 6.1999999999999999e137Initial program 44.4%
Taylor expanded in y4 around inf 55.8%
Taylor expanded in y1 around inf 66.9%
if 3.45e154 < y3 Initial program 12.1%
Taylor expanded in c around inf 45.6%
Taylor expanded in y around -inf 58.2%
mul-1-neg58.2%
associate-*r*52.5%
*-commutative52.5%
Simplified52.5%
Taylor expanded in x around 0 55.1%
mul-1-neg55.1%
distribute-rgt-neg-in55.1%
associate-*r*58.0%
*-commutative58.0%
Simplified58.0%
Final simplification49.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* x c) (- (* y0 y2) (* y i))))
(t_2 (* a (* y3 (- (* z y1) (* y y5))))))
(if (<= y3 -1.3e+57)
t_2
(if (<= y3 -3e+14)
t_1
(if (<= y3 -2.6e-97)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y3 -1.25e-281)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y3 3.6e-46)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y3 1.1e+66)
t_1
(if (<= y3 9.5e+141)
(* (- (* k y2) (* j y3)) (* y1 y4))
(if (<= y3 4.2e+154) t_2 (* c (* y4 (* y y3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * c) * ((y0 * y2) - (y * i));
double t_2 = a * (y3 * ((z * y1) - (y * y5)));
double tmp;
if (y3 <= -1.3e+57) {
tmp = t_2;
} else if (y3 <= -3e+14) {
tmp = t_1;
} else if (y3 <= -2.6e-97) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -1.25e-281) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y3 <= 3.6e-46) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 1.1e+66) {
tmp = t_1;
} else if (y3 <= 9.5e+141) {
tmp = ((k * y2) - (j * y3)) * (y1 * y4);
} else if (y3 <= 4.2e+154) {
tmp = t_2;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (x * c) * ((y0 * y2) - (y * i))
t_2 = a * (y3 * ((z * y1) - (y * y5)))
if (y3 <= (-1.3d+57)) then
tmp = t_2
else if (y3 <= (-3d+14)) then
tmp = t_1
else if (y3 <= (-2.6d-97)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y3 <= (-1.25d-281)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y3 <= 3.6d-46) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y3 <= 1.1d+66) then
tmp = t_1
else if (y3 <= 9.5d+141) then
tmp = ((k * y2) - (j * y3)) * (y1 * y4)
else if (y3 <= 4.2d+154) then
tmp = t_2
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * c) * ((y0 * y2) - (y * i));
double t_2 = a * (y3 * ((z * y1) - (y * y5)));
double tmp;
if (y3 <= -1.3e+57) {
tmp = t_2;
} else if (y3 <= -3e+14) {
tmp = t_1;
} else if (y3 <= -2.6e-97) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -1.25e-281) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y3 <= 3.6e-46) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 1.1e+66) {
tmp = t_1;
} else if (y3 <= 9.5e+141) {
tmp = ((k * y2) - (j * y3)) * (y1 * y4);
} else if (y3 <= 4.2e+154) {
tmp = t_2;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * c) * ((y0 * y2) - (y * i)) t_2 = a * (y3 * ((z * y1) - (y * y5))) tmp = 0 if y3 <= -1.3e+57: tmp = t_2 elif y3 <= -3e+14: tmp = t_1 elif y3 <= -2.6e-97: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y3 <= -1.25e-281: tmp = b * (y4 * ((t * j) - (y * k))) elif y3 <= 3.6e-46: tmp = t * (y4 * ((b * j) - (c * y2))) elif y3 <= 1.1e+66: tmp = t_1 elif y3 <= 9.5e+141: tmp = ((k * y2) - (j * y3)) * (y1 * y4) elif y3 <= 4.2e+154: tmp = t_2 else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * c) * Float64(Float64(y0 * y2) - Float64(y * i))) t_2 = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))) tmp = 0.0 if (y3 <= -1.3e+57) tmp = t_2; elseif (y3 <= -3e+14) tmp = t_1; elseif (y3 <= -2.6e-97) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y3 <= -1.25e-281) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y3 <= 3.6e-46) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y3 <= 1.1e+66) tmp = t_1; elseif (y3 <= 9.5e+141) tmp = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(y1 * y4)); elseif (y3 <= 4.2e+154) tmp = t_2; else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * c) * ((y0 * y2) - (y * i)); t_2 = a * (y3 * ((z * y1) - (y * y5))); tmp = 0.0; if (y3 <= -1.3e+57) tmp = t_2; elseif (y3 <= -3e+14) tmp = t_1; elseif (y3 <= -2.6e-97) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y3 <= -1.25e-281) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y3 <= 3.6e-46) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y3 <= 1.1e+66) tmp = t_1; elseif (y3 <= 9.5e+141) tmp = ((k * y2) - (j * y3)) * (y1 * y4); elseif (y3 <= 4.2e+154) tmp = t_2; else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * c), $MachinePrecision] * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.3e+57], t$95$2, If[LessEqual[y3, -3e+14], t$95$1, If[LessEqual[y3, -2.6e-97], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.25e-281], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.6e-46], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.1e+66], t$95$1, If[LessEqual[y3, 9.5e+141], N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(y1 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.2e+154], t$95$2, N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot c\right) \cdot \left(y0 \cdot y2 - y \cdot i\right)\\
t_2 := a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{if}\;y3 \leq -1.3 \cdot 10^{+57}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq -3 \cdot 10^{+14}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -2.6 \cdot 10^{-97}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -1.25 \cdot 10^{-281}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y3 \leq 3.6 \cdot 10^{-46}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 1.1 \cdot 10^{+66}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 9.5 \cdot 10^{+141}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4\right)\\
\mathbf{elif}\;y3 \leq 4.2 \cdot 10^{+154}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -1.3e57 or 9.49999999999999974e141 < y3 < 4.19999999999999989e154Initial program 25.0%
Taylor expanded in a around inf 41.9%
Taylor expanded in y3 around inf 60.1%
*-commutative60.1%
Simplified60.1%
if -1.3e57 < y3 < -3e14 or 3.6e-46 < y3 < 1.0999999999999999e66Initial program 38.3%
Taylor expanded in c around inf 57.5%
Taylor expanded in x around inf 47.3%
associate-*r*49.8%
+-commutative49.8%
mul-1-neg49.8%
unsub-neg49.8%
*-commutative49.8%
Simplified49.8%
if -3e14 < y3 < -2.60000000000000007e-97Initial program 47.1%
Taylor expanded in a around inf 41.9%
Taylor expanded in y5 around inf 42.2%
*-commutative42.2%
Simplified42.2%
if -2.60000000000000007e-97 < y3 < -1.2499999999999999e-281Initial program 42.4%
Taylor expanded in b around inf 49.7%
Taylor expanded in y4 around inf 38.1%
*-commutative38.1%
Simplified38.1%
if -1.2499999999999999e-281 < y3 < 3.6e-46Initial program 36.7%
Taylor expanded in y4 around inf 44.4%
Taylor expanded in t around inf 43.0%
if 1.0999999999999999e66 < y3 < 9.49999999999999974e141Initial program 40.0%
Taylor expanded in y4 around inf 50.2%
Taylor expanded in y1 around inf 60.4%
associate-*r*60.4%
*-commutative60.4%
Simplified60.4%
if 4.19999999999999989e154 < y3 Initial program 12.1%
Taylor expanded in c around inf 45.6%
Taylor expanded in y around -inf 58.2%
mul-1-neg58.2%
associate-*r*52.5%
*-commutative52.5%
Simplified52.5%
Taylor expanded in x around 0 55.1%
mul-1-neg55.1%
distribute-rgt-neg-in55.1%
associate-*r*58.0%
*-commutative58.0%
Simplified58.0%
Final simplification49.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* x c) (- (* y0 y2) (* y i))))
(t_2 (* a (* y3 (- (* z y1) (* y y5))))))
(if (<= y3 -1.28e+61)
t_2
(if (<= y3 -2.15e+14)
t_1
(if (<= y3 -2.3e-98)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y3 -5.7e-155)
(* (- (* t i) (* y0 y3)) (* z c))
(if (<= y3 1.72e-46)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y3 3e+61)
t_1
(if (<= y3 1.05e+141)
(* (- (* k y2) (* j y3)) (* y1 y4))
(if (<= y3 3.1e+154) t_2 (* c (* y4 (* y y3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * c) * ((y0 * y2) - (y * i));
double t_2 = a * (y3 * ((z * y1) - (y * y5)));
double tmp;
if (y3 <= -1.28e+61) {
tmp = t_2;
} else if (y3 <= -2.15e+14) {
tmp = t_1;
} else if (y3 <= -2.3e-98) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -5.7e-155) {
tmp = ((t * i) - (y0 * y3)) * (z * c);
} else if (y3 <= 1.72e-46) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 3e+61) {
tmp = t_1;
} else if (y3 <= 1.05e+141) {
tmp = ((k * y2) - (j * y3)) * (y1 * y4);
} else if (y3 <= 3.1e+154) {
tmp = t_2;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (x * c) * ((y0 * y2) - (y * i))
t_2 = a * (y3 * ((z * y1) - (y * y5)))
if (y3 <= (-1.28d+61)) then
tmp = t_2
else if (y3 <= (-2.15d+14)) then
tmp = t_1
else if (y3 <= (-2.3d-98)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y3 <= (-5.7d-155)) then
tmp = ((t * i) - (y0 * y3)) * (z * c)
else if (y3 <= 1.72d-46) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y3 <= 3d+61) then
tmp = t_1
else if (y3 <= 1.05d+141) then
tmp = ((k * y2) - (j * y3)) * (y1 * y4)
else if (y3 <= 3.1d+154) then
tmp = t_2
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * c) * ((y0 * y2) - (y * i));
double t_2 = a * (y3 * ((z * y1) - (y * y5)));
double tmp;
if (y3 <= -1.28e+61) {
tmp = t_2;
} else if (y3 <= -2.15e+14) {
tmp = t_1;
} else if (y3 <= -2.3e-98) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -5.7e-155) {
tmp = ((t * i) - (y0 * y3)) * (z * c);
} else if (y3 <= 1.72e-46) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 3e+61) {
tmp = t_1;
} else if (y3 <= 1.05e+141) {
tmp = ((k * y2) - (j * y3)) * (y1 * y4);
} else if (y3 <= 3.1e+154) {
tmp = t_2;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * c) * ((y0 * y2) - (y * i)) t_2 = a * (y3 * ((z * y1) - (y * y5))) tmp = 0 if y3 <= -1.28e+61: tmp = t_2 elif y3 <= -2.15e+14: tmp = t_1 elif y3 <= -2.3e-98: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y3 <= -5.7e-155: tmp = ((t * i) - (y0 * y3)) * (z * c) elif y3 <= 1.72e-46: tmp = t * (y4 * ((b * j) - (c * y2))) elif y3 <= 3e+61: tmp = t_1 elif y3 <= 1.05e+141: tmp = ((k * y2) - (j * y3)) * (y1 * y4) elif y3 <= 3.1e+154: tmp = t_2 else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * c) * Float64(Float64(y0 * y2) - Float64(y * i))) t_2 = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))) tmp = 0.0 if (y3 <= -1.28e+61) tmp = t_2; elseif (y3 <= -2.15e+14) tmp = t_1; elseif (y3 <= -2.3e-98) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y3 <= -5.7e-155) tmp = Float64(Float64(Float64(t * i) - Float64(y0 * y3)) * Float64(z * c)); elseif (y3 <= 1.72e-46) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y3 <= 3e+61) tmp = t_1; elseif (y3 <= 1.05e+141) tmp = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(y1 * y4)); elseif (y3 <= 3.1e+154) tmp = t_2; else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * c) * ((y0 * y2) - (y * i)); t_2 = a * (y3 * ((z * y1) - (y * y5))); tmp = 0.0; if (y3 <= -1.28e+61) tmp = t_2; elseif (y3 <= -2.15e+14) tmp = t_1; elseif (y3 <= -2.3e-98) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y3 <= -5.7e-155) tmp = ((t * i) - (y0 * y3)) * (z * c); elseif (y3 <= 1.72e-46) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y3 <= 3e+61) tmp = t_1; elseif (y3 <= 1.05e+141) tmp = ((k * y2) - (j * y3)) * (y1 * y4); elseif (y3 <= 3.1e+154) tmp = t_2; else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * c), $MachinePrecision] * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.28e+61], t$95$2, If[LessEqual[y3, -2.15e+14], t$95$1, If[LessEqual[y3, -2.3e-98], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -5.7e-155], N[(N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision] * N[(z * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.72e-46], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3e+61], t$95$1, If[LessEqual[y3, 1.05e+141], N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(y1 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.1e+154], t$95$2, N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot c\right) \cdot \left(y0 \cdot y2 - y \cdot i\right)\\
t_2 := a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{if}\;y3 \leq -1.28 \cdot 10^{+61}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq -2.15 \cdot 10^{+14}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -2.3 \cdot 10^{-98}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -5.7 \cdot 10^{-155}:\\
\;\;\;\;\left(t \cdot i - y0 \cdot y3\right) \cdot \left(z \cdot c\right)\\
\mathbf{elif}\;y3 \leq 1.72 \cdot 10^{-46}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 3 \cdot 10^{+61}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 1.05 \cdot 10^{+141}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4\right)\\
\mathbf{elif}\;y3 \leq 3.1 \cdot 10^{+154}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -1.27999999999999996e61 or 1.0499999999999999e141 < y3 < 3.1000000000000001e154Initial program 25.0%
Taylor expanded in a around inf 41.9%
Taylor expanded in y3 around inf 60.1%
*-commutative60.1%
Simplified60.1%
if -1.27999999999999996e61 < y3 < -2.15e14 or 1.7199999999999999e-46 < y3 < 3e61Initial program 38.3%
Taylor expanded in c around inf 57.5%
Taylor expanded in x around inf 47.3%
associate-*r*49.8%
+-commutative49.8%
mul-1-neg49.8%
unsub-neg49.8%
*-commutative49.8%
Simplified49.8%
if -2.15e14 < y3 < -2.30000000000000001e-98Initial program 47.1%
Taylor expanded in a around inf 41.9%
Taylor expanded in y5 around inf 42.2%
*-commutative42.2%
Simplified42.2%
if -2.30000000000000001e-98 < y3 < -5.69999999999999965e-155Initial program 31.1%
Taylor expanded in c around inf 23.4%
Taylor expanded in z around inf 47.0%
associate-*r*47.0%
*-commutative47.0%
+-commutative47.0%
mul-1-neg47.0%
unsub-neg47.0%
*-commutative47.0%
*-commutative47.0%
Simplified47.0%
if -5.69999999999999965e-155 < y3 < 1.7199999999999999e-46Initial program 40.2%
Taylor expanded in y4 around inf 44.3%
Taylor expanded in t around inf 40.1%
if 3e61 < y3 < 1.0499999999999999e141Initial program 40.0%
Taylor expanded in y4 around inf 50.2%
Taylor expanded in y1 around inf 60.4%
associate-*r*60.4%
*-commutative60.4%
Simplified60.4%
if 3.1000000000000001e154 < y3 Initial program 12.1%
Taylor expanded in c around inf 45.6%
Taylor expanded in y around -inf 58.2%
mul-1-neg58.2%
associate-*r*52.5%
*-commutative52.5%
Simplified52.5%
Taylor expanded in x around 0 55.1%
mul-1-neg55.1%
distribute-rgt-neg-in55.1%
associate-*r*58.0%
*-commutative58.0%
Simplified58.0%
Final simplification49.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* x c) (- (* y0 y2) (* y i))))
(t_2 (* a (* y3 (- (* z y1) (* y y5))))))
(if (<= y3 -2.5e+58)
t_2
(if (<= y3 -2.1e+14)
t_1
(if (<= y3 -3.6e-55)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y3 -4.8e-283)
(* k (* z (- (* b y0) (* i y1))))
(if (<= y3 4.9e-46)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y3 2.1e+58)
t_1
(if (<= y3 7.5e+137)
(* (- (* k y2) (* j y3)) (* y1 y4))
(if (<= y3 2.6e+154) t_2 (* c (* y4 (* y y3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * c) * ((y0 * y2) - (y * i));
double t_2 = a * (y3 * ((z * y1) - (y * y5)));
double tmp;
if (y3 <= -2.5e+58) {
tmp = t_2;
} else if (y3 <= -2.1e+14) {
tmp = t_1;
} else if (y3 <= -3.6e-55) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -4.8e-283) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y3 <= 4.9e-46) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 2.1e+58) {
tmp = t_1;
} else if (y3 <= 7.5e+137) {
tmp = ((k * y2) - (j * y3)) * (y1 * y4);
} else if (y3 <= 2.6e+154) {
tmp = t_2;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (x * c) * ((y0 * y2) - (y * i))
t_2 = a * (y3 * ((z * y1) - (y * y5)))
if (y3 <= (-2.5d+58)) then
tmp = t_2
else if (y3 <= (-2.1d+14)) then
tmp = t_1
else if (y3 <= (-3.6d-55)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y3 <= (-4.8d-283)) then
tmp = k * (z * ((b * y0) - (i * y1)))
else if (y3 <= 4.9d-46) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y3 <= 2.1d+58) then
tmp = t_1
else if (y3 <= 7.5d+137) then
tmp = ((k * y2) - (j * y3)) * (y1 * y4)
else if (y3 <= 2.6d+154) then
tmp = t_2
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * c) * ((y0 * y2) - (y * i));
double t_2 = a * (y3 * ((z * y1) - (y * y5)));
double tmp;
if (y3 <= -2.5e+58) {
tmp = t_2;
} else if (y3 <= -2.1e+14) {
tmp = t_1;
} else if (y3 <= -3.6e-55) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -4.8e-283) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else if (y3 <= 4.9e-46) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 2.1e+58) {
tmp = t_1;
} else if (y3 <= 7.5e+137) {
tmp = ((k * y2) - (j * y3)) * (y1 * y4);
} else if (y3 <= 2.6e+154) {
tmp = t_2;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * c) * ((y0 * y2) - (y * i)) t_2 = a * (y3 * ((z * y1) - (y * y5))) tmp = 0 if y3 <= -2.5e+58: tmp = t_2 elif y3 <= -2.1e+14: tmp = t_1 elif y3 <= -3.6e-55: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y3 <= -4.8e-283: tmp = k * (z * ((b * y0) - (i * y1))) elif y3 <= 4.9e-46: tmp = t * (y4 * ((b * j) - (c * y2))) elif y3 <= 2.1e+58: tmp = t_1 elif y3 <= 7.5e+137: tmp = ((k * y2) - (j * y3)) * (y1 * y4) elif y3 <= 2.6e+154: tmp = t_2 else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * c) * Float64(Float64(y0 * y2) - Float64(y * i))) t_2 = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))) tmp = 0.0 if (y3 <= -2.5e+58) tmp = t_2; elseif (y3 <= -2.1e+14) tmp = t_1; elseif (y3 <= -3.6e-55) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y3 <= -4.8e-283) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); elseif (y3 <= 4.9e-46) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y3 <= 2.1e+58) tmp = t_1; elseif (y3 <= 7.5e+137) tmp = Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(y1 * y4)); elseif (y3 <= 2.6e+154) tmp = t_2; else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * c) * ((y0 * y2) - (y * i)); t_2 = a * (y3 * ((z * y1) - (y * y5))); tmp = 0.0; if (y3 <= -2.5e+58) tmp = t_2; elseif (y3 <= -2.1e+14) tmp = t_1; elseif (y3 <= -3.6e-55) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y3 <= -4.8e-283) tmp = k * (z * ((b * y0) - (i * y1))); elseif (y3 <= 4.9e-46) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y3 <= 2.1e+58) tmp = t_1; elseif (y3 <= 7.5e+137) tmp = ((k * y2) - (j * y3)) * (y1 * y4); elseif (y3 <= 2.6e+154) tmp = t_2; else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * c), $MachinePrecision] * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -2.5e+58], t$95$2, If[LessEqual[y3, -2.1e+14], t$95$1, If[LessEqual[y3, -3.6e-55], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -4.8e-283], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.9e-46], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.1e+58], t$95$1, If[LessEqual[y3, 7.5e+137], N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(y1 * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.6e+154], t$95$2, N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot c\right) \cdot \left(y0 \cdot y2 - y \cdot i\right)\\
t_2 := a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{if}\;y3 \leq -2.5 \cdot 10^{+58}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq -2.1 \cdot 10^{+14}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -3.6 \cdot 10^{-55}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -4.8 \cdot 10^{-283}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;y3 \leq 4.9 \cdot 10^{-46}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 2.1 \cdot 10^{+58}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 7.5 \cdot 10^{+137}:\\
\;\;\;\;\left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4\right)\\
\mathbf{elif}\;y3 \leq 2.6 \cdot 10^{+154}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -2.49999999999999993e58 or 7.50000000000000025e137 < y3 < 2.59999999999999989e154Initial program 25.0%
Taylor expanded in a around inf 41.9%
Taylor expanded in y3 around inf 60.1%
*-commutative60.1%
Simplified60.1%
if -2.49999999999999993e58 < y3 < -2.1e14 or 4.9000000000000001e-46 < y3 < 2.10000000000000012e58Initial program 38.3%
Taylor expanded in c around inf 57.5%
Taylor expanded in x around inf 47.3%
associate-*r*49.8%
+-commutative49.8%
mul-1-neg49.8%
unsub-neg49.8%
*-commutative49.8%
Simplified49.8%
if -2.1e14 < y3 < -3.6000000000000001e-55Initial program 40.0%
Taylor expanded in a around inf 41.3%
Taylor expanded in y5 around inf 50.7%
*-commutative50.7%
Simplified50.7%
if -3.6000000000000001e-55 < y3 < -4.7999999999999999e-283Initial program 45.5%
Taylor expanded in z around -inf 42.1%
Taylor expanded in k around inf 36.9%
if -4.7999999999999999e-283 < y3 < 4.9000000000000001e-46Initial program 35.6%
Taylor expanded in y4 around inf 45.2%
Taylor expanded in t around inf 43.7%
if 2.10000000000000012e58 < y3 < 7.50000000000000025e137Initial program 40.0%
Taylor expanded in y4 around inf 50.2%
Taylor expanded in y1 around inf 60.4%
associate-*r*60.4%
*-commutative60.4%
Simplified60.4%
if 2.59999999999999989e154 < y3 Initial program 12.1%
Taylor expanded in c around inf 45.6%
Taylor expanded in y around -inf 58.2%
mul-1-neg58.2%
associate-*r*52.5%
*-commutative52.5%
Simplified52.5%
Taylor expanded in x around 0 55.1%
mul-1-neg55.1%
distribute-rgt-neg-in55.1%
associate-*r*58.0%
*-commutative58.0%
Simplified58.0%
Final simplification49.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -3e+133)
(* (* x c) (* y (- i)))
(if (<= x -2.35e-176)
(* j (* y1 (* y3 (- y4))))
(if (<= x 6.5e-194)
(* a (* b (* t (- z))))
(if (<= x 1.7e-66)
(* a (* z (* y1 y3)))
(if (<= x 4.08e-52)
(* c (* i (* z t)))
(if (<= x 1.1e+117)
(* (* y c) (* x (- i)))
(if (<= x 8e+188)
(* a (* x (* y b)))
(if (<= x 8.8e+217)
(* c (* t (* y2 (- y4))))
(* c (* x (* y0 y2))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -3e+133) {
tmp = (x * c) * (y * -i);
} else if (x <= -2.35e-176) {
tmp = j * (y1 * (y3 * -y4));
} else if (x <= 6.5e-194) {
tmp = a * (b * (t * -z));
} else if (x <= 1.7e-66) {
tmp = a * (z * (y1 * y3));
} else if (x <= 4.08e-52) {
tmp = c * (i * (z * t));
} else if (x <= 1.1e+117) {
tmp = (y * c) * (x * -i);
} else if (x <= 8e+188) {
tmp = a * (x * (y * b));
} else if (x <= 8.8e+217) {
tmp = c * (t * (y2 * -y4));
} else {
tmp = c * (x * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-3d+133)) then
tmp = (x * c) * (y * -i)
else if (x <= (-2.35d-176)) then
tmp = j * (y1 * (y3 * -y4))
else if (x <= 6.5d-194) then
tmp = a * (b * (t * -z))
else if (x <= 1.7d-66) then
tmp = a * (z * (y1 * y3))
else if (x <= 4.08d-52) then
tmp = c * (i * (z * t))
else if (x <= 1.1d+117) then
tmp = (y * c) * (x * -i)
else if (x <= 8d+188) then
tmp = a * (x * (y * b))
else if (x <= 8.8d+217) then
tmp = c * (t * (y2 * -y4))
else
tmp = c * (x * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -3e+133) {
tmp = (x * c) * (y * -i);
} else if (x <= -2.35e-176) {
tmp = j * (y1 * (y3 * -y4));
} else if (x <= 6.5e-194) {
tmp = a * (b * (t * -z));
} else if (x <= 1.7e-66) {
tmp = a * (z * (y1 * y3));
} else if (x <= 4.08e-52) {
tmp = c * (i * (z * t));
} else if (x <= 1.1e+117) {
tmp = (y * c) * (x * -i);
} else if (x <= 8e+188) {
tmp = a * (x * (y * b));
} else if (x <= 8.8e+217) {
tmp = c * (t * (y2 * -y4));
} else {
tmp = c * (x * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -3e+133: tmp = (x * c) * (y * -i) elif x <= -2.35e-176: tmp = j * (y1 * (y3 * -y4)) elif x <= 6.5e-194: tmp = a * (b * (t * -z)) elif x <= 1.7e-66: tmp = a * (z * (y1 * y3)) elif x <= 4.08e-52: tmp = c * (i * (z * t)) elif x <= 1.1e+117: tmp = (y * c) * (x * -i) elif x <= 8e+188: tmp = a * (x * (y * b)) elif x <= 8.8e+217: tmp = c * (t * (y2 * -y4)) else: tmp = c * (x * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -3e+133) tmp = Float64(Float64(x * c) * Float64(y * Float64(-i))); elseif (x <= -2.35e-176) tmp = Float64(j * Float64(y1 * Float64(y3 * Float64(-y4)))); elseif (x <= 6.5e-194) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); elseif (x <= 1.7e-66) tmp = Float64(a * Float64(z * Float64(y1 * y3))); elseif (x <= 4.08e-52) tmp = Float64(c * Float64(i * Float64(z * t))); elseif (x <= 1.1e+117) tmp = Float64(Float64(y * c) * Float64(x * Float64(-i))); elseif (x <= 8e+188) tmp = Float64(a * Float64(x * Float64(y * b))); elseif (x <= 8.8e+217) tmp = Float64(c * Float64(t * Float64(y2 * Float64(-y4)))); else tmp = Float64(c * Float64(x * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -3e+133) tmp = (x * c) * (y * -i); elseif (x <= -2.35e-176) tmp = j * (y1 * (y3 * -y4)); elseif (x <= 6.5e-194) tmp = a * (b * (t * -z)); elseif (x <= 1.7e-66) tmp = a * (z * (y1 * y3)); elseif (x <= 4.08e-52) tmp = c * (i * (z * t)); elseif (x <= 1.1e+117) tmp = (y * c) * (x * -i); elseif (x <= 8e+188) tmp = a * (x * (y * b)); elseif (x <= 8.8e+217) tmp = c * (t * (y2 * -y4)); else tmp = c * (x * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -3e+133], N[(N[(x * c), $MachinePrecision] * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.35e-176], N[(j * N[(y1 * N[(y3 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.5e-194], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.7e-66], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.08e-52], N[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.1e+117], N[(N[(y * c), $MachinePrecision] * N[(x * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 8e+188], N[(a * N[(x * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 8.8e+217], N[(c * N[(t * N[(y2 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3 \cdot 10^{+133}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y \cdot \left(-i\right)\right)\\
\mathbf{elif}\;x \leq -2.35 \cdot 10^{-176}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y3 \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;x \leq 6.5 \cdot 10^{-194}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.7 \cdot 10^{-66}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq 4.08 \cdot 10^{-52}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\
\mathbf{elif}\;x \leq 1.1 \cdot 10^{+117}:\\
\;\;\;\;\left(y \cdot c\right) \cdot \left(x \cdot \left(-i\right)\right)\\
\mathbf{elif}\;x \leq 8 \cdot 10^{+188}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b\right)\right)\\
\mathbf{elif}\;x \leq 8.8 \cdot 10^{+217}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y2 \cdot \left(-y4\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if x < -3.00000000000000007e133Initial program 21.4%
Taylor expanded in c around inf 42.8%
Taylor expanded in x around inf 52.2%
associate-*r*52.2%
+-commutative52.2%
mul-1-neg52.2%
unsub-neg52.2%
*-commutative52.2%
Simplified52.2%
Taylor expanded in y0 around 0 49.4%
neg-mul-149.4%
distribute-rgt-neg-in49.4%
Simplified49.4%
if -3.00000000000000007e133 < x < -2.34999999999999992e-176Initial program 39.9%
Taylor expanded in y4 around inf 45.7%
Taylor expanded in j around inf 52.6%
associate-*r*43.4%
*-commutative43.4%
+-commutative43.4%
mul-1-neg43.4%
unsub-neg43.4%
*-commutative43.4%
Simplified43.4%
Taylor expanded in b around 0 43.0%
mul-1-neg43.0%
*-commutative43.0%
distribute-rgt-neg-in43.0%
Simplified43.0%
if -2.34999999999999992e-176 < x < 6.50000000000000019e-194Initial program 39.3%
Taylor expanded in a around inf 38.6%
Taylor expanded in z around inf 30.2%
+-commutative30.2%
mul-1-neg30.2%
unsub-neg30.2%
*-commutative30.2%
Simplified30.2%
Taylor expanded in y3 around 0 25.4%
mul-1-neg25.4%
*-commutative25.4%
distribute-lft-neg-in25.4%
distribute-rgt-neg-in25.4%
*-commutative25.4%
distribute-rgt-neg-in25.4%
Simplified25.4%
if 6.50000000000000019e-194 < x < 1.69999999999999999e-66Initial program 39.9%
Taylor expanded in a around inf 55.0%
Taylor expanded in z around inf 41.3%
+-commutative41.3%
mul-1-neg41.3%
unsub-neg41.3%
*-commutative41.3%
Simplified41.3%
Taylor expanded in y3 around inf 41.2%
*-commutative41.2%
Simplified41.2%
if 1.69999999999999999e-66 < x < 4.08000000000000036e-52Initial program 28.6%
Taylor expanded in c around inf 29.0%
Taylor expanded in t around inf 71.8%
Taylor expanded in i around inf 43.5%
if 4.08000000000000036e-52 < x < 1.10000000000000007e117Initial program 37.1%
Taylor expanded in c around inf 40.3%
Taylor expanded in y around -inf 32.1%
mul-1-neg32.1%
associate-*r*26.3%
*-commutative26.3%
Simplified26.3%
Taylor expanded in x around inf 23.4%
if 1.10000000000000007e117 < x < 8.0000000000000002e188Initial program 7.7%
Taylor expanded in a around inf 23.3%
Taylor expanded in x around inf 54.7%
+-commutative54.7%
mul-1-neg54.7%
unsub-neg54.7%
*-commutative54.7%
Simplified54.7%
Taylor expanded in y around inf 54.3%
if 8.0000000000000002e188 < x < 8.7999999999999999e217Initial program 28.6%
Taylor expanded in c around inf 14.3%
Taylor expanded in t around inf 29.3%
Taylor expanded in i around 0 58.1%
mul-1-neg58.1%
distribute-rgt-neg-in58.1%
distribute-rgt-neg-in58.1%
distribute-lft-neg-in58.1%
*-commutative58.1%
Simplified58.1%
if 8.7999999999999999e217 < x Initial program 15.8%
Taylor expanded in c around inf 42.1%
Taylor expanded in x around inf 58.2%
associate-*r*53.2%
+-commutative53.2%
mul-1-neg53.2%
unsub-neg53.2%
*-commutative53.2%
Simplified53.2%
Taylor expanded in y0 around inf 48.7%
Final simplification37.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y5 (- (* t y2) (* y y3))))))
(if (<= y3 -2.6e+30)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y3 -9e-98)
t_1
(if (<= y3 -1.55e-159)
(* c (* z (* t i)))
(if (<= y3 -9e-205)
(* (* t b) (* j y4))
(if (<= y3 -5.5e-283)
(* (* y c) (* x (- i)))
(if (<= y3 1.16e-274)
t_1
(if (<= y3 3.9e-115)
(* b (* j (* t y4)))
(if (<= y3 3.9e+108)
(* (* x c) (* y (- i)))
(* c (* y4 (* y y3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (y3 <= -2.6e+30) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -9e-98) {
tmp = t_1;
} else if (y3 <= -1.55e-159) {
tmp = c * (z * (t * i));
} else if (y3 <= -9e-205) {
tmp = (t * b) * (j * y4);
} else if (y3 <= -5.5e-283) {
tmp = (y * c) * (x * -i);
} else if (y3 <= 1.16e-274) {
tmp = t_1;
} else if (y3 <= 3.9e-115) {
tmp = b * (j * (t * y4));
} else if (y3 <= 3.9e+108) {
tmp = (x * c) * (y * -i);
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (y5 * ((t * y2) - (y * y3)))
if (y3 <= (-2.6d+30)) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y3 <= (-9d-98)) then
tmp = t_1
else if (y3 <= (-1.55d-159)) then
tmp = c * (z * (t * i))
else if (y3 <= (-9d-205)) then
tmp = (t * b) * (j * y4)
else if (y3 <= (-5.5d-283)) then
tmp = (y * c) * (x * -i)
else if (y3 <= 1.16d-274) then
tmp = t_1
else if (y3 <= 3.9d-115) then
tmp = b * (j * (t * y4))
else if (y3 <= 3.9d+108) then
tmp = (x * c) * (y * -i)
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (y3 <= -2.6e+30) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -9e-98) {
tmp = t_1;
} else if (y3 <= -1.55e-159) {
tmp = c * (z * (t * i));
} else if (y3 <= -9e-205) {
tmp = (t * b) * (j * y4);
} else if (y3 <= -5.5e-283) {
tmp = (y * c) * (x * -i);
} else if (y3 <= 1.16e-274) {
tmp = t_1;
} else if (y3 <= 3.9e-115) {
tmp = b * (j * (t * y4));
} else if (y3 <= 3.9e+108) {
tmp = (x * c) * (y * -i);
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y5 * ((t * y2) - (y * y3))) tmp = 0 if y3 <= -2.6e+30: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y3 <= -9e-98: tmp = t_1 elif y3 <= -1.55e-159: tmp = c * (z * (t * i)) elif y3 <= -9e-205: tmp = (t * b) * (j * y4) elif y3 <= -5.5e-283: tmp = (y * c) * (x * -i) elif y3 <= 1.16e-274: tmp = t_1 elif y3 <= 3.9e-115: tmp = b * (j * (t * y4)) elif y3 <= 3.9e+108: tmp = (x * c) * (y * -i) else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) tmp = 0.0 if (y3 <= -2.6e+30) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y3 <= -9e-98) tmp = t_1; elseif (y3 <= -1.55e-159) tmp = Float64(c * Float64(z * Float64(t * i))); elseif (y3 <= -9e-205) tmp = Float64(Float64(t * b) * Float64(j * y4)); elseif (y3 <= -5.5e-283) tmp = Float64(Float64(y * c) * Float64(x * Float64(-i))); elseif (y3 <= 1.16e-274) tmp = t_1; elseif (y3 <= 3.9e-115) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif (y3 <= 3.9e+108) tmp = Float64(Float64(x * c) * Float64(y * Float64(-i))); else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y5 * ((t * y2) - (y * y3))); tmp = 0.0; if (y3 <= -2.6e+30) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y3 <= -9e-98) tmp = t_1; elseif (y3 <= -1.55e-159) tmp = c * (z * (t * i)); elseif (y3 <= -9e-205) tmp = (t * b) * (j * y4); elseif (y3 <= -5.5e-283) tmp = (y * c) * (x * -i); elseif (y3 <= 1.16e-274) tmp = t_1; elseif (y3 <= 3.9e-115) tmp = b * (j * (t * y4)); elseif (y3 <= 3.9e+108) tmp = (x * c) * (y * -i); else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -2.6e+30], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -9e-98], t$95$1, If[LessEqual[y3, -1.55e-159], N[(c * N[(z * N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -9e-205], N[(N[(t * b), $MachinePrecision] * N[(j * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -5.5e-283], N[(N[(y * c), $MachinePrecision] * N[(x * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.16e-274], t$95$1, If[LessEqual[y3, 3.9e-115], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.9e+108], N[(N[(x * c), $MachinePrecision] * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;y3 \leq -2.6 \cdot 10^{+30}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq -9 \cdot 10^{-98}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -1.55 \cdot 10^{-159}:\\
\;\;\;\;c \cdot \left(z \cdot \left(t \cdot i\right)\right)\\
\mathbf{elif}\;y3 \leq -9 \cdot 10^{-205}:\\
\;\;\;\;\left(t \cdot b\right) \cdot \left(j \cdot y4\right)\\
\mathbf{elif}\;y3 \leq -5.5 \cdot 10^{-283}:\\
\;\;\;\;\left(y \cdot c\right) \cdot \left(x \cdot \left(-i\right)\right)\\
\mathbf{elif}\;y3 \leq 1.16 \cdot 10^{-274}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 3.9 \cdot 10^{-115}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y3 \leq 3.9 \cdot 10^{+108}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y \cdot \left(-i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -2.59999999999999988e30Initial program 28.3%
Taylor expanded in a around inf 41.0%
Taylor expanded in y3 around inf 52.8%
*-commutative52.8%
Simplified52.8%
if -2.59999999999999988e30 < y3 < -8.99999999999999994e-98 or -5.49999999999999953e-283 < y3 < 1.16e-274Initial program 45.1%
Taylor expanded in a around inf 29.8%
Taylor expanded in y5 around inf 35.5%
*-commutative35.5%
Simplified35.5%
if -8.99999999999999994e-98 < y3 < -1.55e-159Initial program 28.9%
Taylor expanded in c around inf 28.9%
Taylor expanded in t around inf 36.9%
Taylor expanded in i around inf 30.1%
associate-*r*36.8%
Simplified36.8%
if -1.55e-159 < y3 < -8.99999999999999912e-205Initial program 58.7%
Taylor expanded in y4 around inf 67.0%
Taylor expanded in j around inf 51.0%
associate-*r*43.3%
*-commutative43.3%
+-commutative43.3%
mul-1-neg43.3%
unsub-neg43.3%
*-commutative43.3%
Simplified43.3%
Taylor expanded in b around inf 42.8%
if -8.99999999999999912e-205 < y3 < -5.49999999999999953e-283Initial program 45.1%
Taylor expanded in c around inf 34.4%
Taylor expanded in y around -inf 40.1%
mul-1-neg40.1%
associate-*r*40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in x around inf 40.2%
if 1.16e-274 < y3 < 3.8999999999999998e-115Initial program 40.6%
Taylor expanded in y4 around inf 45.6%
Taylor expanded in j around inf 35.0%
associate-*r*27.8%
*-commutative27.8%
+-commutative27.8%
mul-1-neg27.8%
unsub-neg27.8%
*-commutative27.8%
Simplified27.8%
Taylor expanded in b around inf 38.4%
if 3.8999999999999998e-115 < y3 < 3.89999999999999985e108Initial program 29.3%
Taylor expanded in c around inf 42.3%
Taylor expanded in x around inf 38.4%
associate-*r*38.4%
+-commutative38.4%
mul-1-neg38.4%
unsub-neg38.4%
*-commutative38.4%
Simplified38.4%
Taylor expanded in y0 around 0 30.4%
neg-mul-130.4%
distribute-rgt-neg-in30.4%
Simplified30.4%
if 3.89999999999999985e108 < y3 Initial program 15.4%
Taylor expanded in c around inf 41.2%
Taylor expanded in y around -inf 54.5%
mul-1-neg54.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
Taylor expanded in x around 0 54.5%
mul-1-neg54.5%
distribute-rgt-neg-in54.5%
associate-*r*56.9%
*-commutative56.9%
Simplified56.9%
Final simplification42.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* b (* t (- (* y2 (/ y5 b)) z))))))
(if (<= y3 -5e+60)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y3 -95000000000000.0)
(* (* x c) (- (* y0 y2) (* y i)))
(if (<= y3 -3.8e-98)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y3 -9.6e-241)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y3 -7.6e-284)
t_1
(if (<= y3 9.5e-95)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y3 1.3e+113) t_1 (* c (* y4 (* y y3))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * (t * ((y2 * (y5 / b)) - z)));
double tmp;
if (y3 <= -5e+60) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -95000000000000.0) {
tmp = (x * c) * ((y0 * y2) - (y * i));
} else if (y3 <= -3.8e-98) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -9.6e-241) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y3 <= -7.6e-284) {
tmp = t_1;
} else if (y3 <= 9.5e-95) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 1.3e+113) {
tmp = t_1;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (b * (t * ((y2 * (y5 / b)) - z)))
if (y3 <= (-5d+60)) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y3 <= (-95000000000000.0d0)) then
tmp = (x * c) * ((y0 * y2) - (y * i))
else if (y3 <= (-3.8d-98)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y3 <= (-9.6d-241)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y3 <= (-7.6d-284)) then
tmp = t_1
else if (y3 <= 9.5d-95) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y3 <= 1.3d+113) then
tmp = t_1
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * (t * ((y2 * (y5 / b)) - z)));
double tmp;
if (y3 <= -5e+60) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -95000000000000.0) {
tmp = (x * c) * ((y0 * y2) - (y * i));
} else if (y3 <= -3.8e-98) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -9.6e-241) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y3 <= -7.6e-284) {
tmp = t_1;
} else if (y3 <= 9.5e-95) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 1.3e+113) {
tmp = t_1;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (b * (t * ((y2 * (y5 / b)) - z))) tmp = 0 if y3 <= -5e+60: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y3 <= -95000000000000.0: tmp = (x * c) * ((y0 * y2) - (y * i)) elif y3 <= -3.8e-98: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y3 <= -9.6e-241: tmp = b * (y0 * ((z * k) - (x * j))) elif y3 <= -7.6e-284: tmp = t_1 elif y3 <= 9.5e-95: tmp = t * (y4 * ((b * j) - (c * y2))) elif y3 <= 1.3e+113: tmp = t_1 else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(b * Float64(t * Float64(Float64(y2 * Float64(y5 / b)) - z)))) tmp = 0.0 if (y3 <= -5e+60) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y3 <= -95000000000000.0) tmp = Float64(Float64(x * c) * Float64(Float64(y0 * y2) - Float64(y * i))); elseif (y3 <= -3.8e-98) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y3 <= -9.6e-241) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y3 <= -7.6e-284) tmp = t_1; elseif (y3 <= 9.5e-95) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y3 <= 1.3e+113) tmp = t_1; else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (b * (t * ((y2 * (y5 / b)) - z))); tmp = 0.0; if (y3 <= -5e+60) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y3 <= -95000000000000.0) tmp = (x * c) * ((y0 * y2) - (y * i)); elseif (y3 <= -3.8e-98) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y3 <= -9.6e-241) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y3 <= -7.6e-284) tmp = t_1; elseif (y3 <= 9.5e-95) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y3 <= 1.3e+113) tmp = t_1; else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(t * N[(N[(y2 * N[(y5 / b), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -5e+60], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -95000000000000.0], N[(N[(x * c), $MachinePrecision] * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.8e-98], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -9.6e-241], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -7.6e-284], t$95$1, If[LessEqual[y3, 9.5e-95], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.3e+113], t$95$1, N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(t \cdot \left(y2 \cdot \frac{y5}{b} - z\right)\right)\right)\\
\mathbf{if}\;y3 \leq -5 \cdot 10^{+60}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq -95000000000000:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2 - y \cdot i\right)\\
\mathbf{elif}\;y3 \leq -3.8 \cdot 10^{-98}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -9.6 \cdot 10^{-241}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y3 \leq -7.6 \cdot 10^{-284}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 9.5 \cdot 10^{-95}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 1.3 \cdot 10^{+113}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -4.99999999999999975e60Initial program 24.5%
Taylor expanded in a around inf 42.4%
Taylor expanded in y3 around inf 57.8%
*-commutative57.8%
Simplified57.8%
if -4.99999999999999975e60 < y3 < -9.5e13Initial program 51.2%
Taylor expanded in c around inf 58.4%
Taylor expanded in x around inf 37.9%
associate-*r*44.6%
+-commutative44.6%
mul-1-neg44.6%
unsub-neg44.6%
*-commutative44.6%
Simplified44.6%
if -9.5e13 < y3 < -3.8000000000000003e-98Initial program 47.1%
Taylor expanded in a around inf 41.9%
Taylor expanded in y5 around inf 42.2%
*-commutative42.2%
Simplified42.2%
if -3.8000000000000003e-98 < y3 < -9.6e-241Initial program 40.6%
Taylor expanded in b around inf 46.5%
Taylor expanded in y0 around inf 41.5%
if -9.6e-241 < y3 < -7.5999999999999997e-284 or 9.49999999999999998e-95 < y3 < 1.3e113Initial program 33.4%
Taylor expanded in a around inf 32.2%
Taylor expanded in b around inf 38.0%
+-commutative38.0%
mul-1-neg38.0%
unsub-neg38.0%
*-commutative38.0%
associate-/l*39.7%
+-commutative39.7%
mul-1-neg39.7%
unsub-neg39.7%
*-commutative39.7%
associate-/l*39.7%
*-commutative39.7%
Simplified39.7%
Taylor expanded in t around inf 51.9%
associate-/l*55.6%
Simplified55.6%
if -7.5999999999999997e-284 < y3 < 9.49999999999999998e-95Initial program 40.3%
Taylor expanded in y4 around inf 46.0%
Taylor expanded in t around inf 43.9%
if 1.3e113 < y3 Initial program 15.4%
Taylor expanded in c around inf 41.2%
Taylor expanded in y around -inf 54.5%
mul-1-neg54.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
Taylor expanded in x around 0 54.5%
mul-1-neg54.5%
distribute-rgt-neg-in54.5%
associate-*r*56.9%
*-commutative56.9%
Simplified56.9%
Final simplification50.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* b (* t (- (* y2 (/ y5 b)) z))))))
(if (<= y3 -4.7e+58)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y3 -1.25e+14)
(* (* x c) (- (* y0 y2) (* y i)))
(if (<= y3 -1.55e-83)
(* a (+ (* b (- (* x y) (* z t))) (* y5 (- (* t y2) (* y y3)))))
(if (<= y3 -6.5e-241)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y3 -5.5e-283)
t_1
(if (<= y3 8.8e-95)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y3 6.9e+103) t_1 (* c (* y4 (* y y3))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * (t * ((y2 * (y5 / b)) - z)));
double tmp;
if (y3 <= -4.7e+58) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -1.25e+14) {
tmp = (x * c) * ((y0 * y2) - (y * i));
} else if (y3 <= -1.55e-83) {
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))));
} else if (y3 <= -6.5e-241) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y3 <= -5.5e-283) {
tmp = t_1;
} else if (y3 <= 8.8e-95) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 6.9e+103) {
tmp = t_1;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (b * (t * ((y2 * (y5 / b)) - z)))
if (y3 <= (-4.7d+58)) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y3 <= (-1.25d+14)) then
tmp = (x * c) * ((y0 * y2) - (y * i))
else if (y3 <= (-1.55d-83)) then
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))))
else if (y3 <= (-6.5d-241)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y3 <= (-5.5d-283)) then
tmp = t_1
else if (y3 <= 8.8d-95) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y3 <= 6.9d+103) then
tmp = t_1
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * (t * ((y2 * (y5 / b)) - z)));
double tmp;
if (y3 <= -4.7e+58) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -1.25e+14) {
tmp = (x * c) * ((y0 * y2) - (y * i));
} else if (y3 <= -1.55e-83) {
tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3))));
} else if (y3 <= -6.5e-241) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y3 <= -5.5e-283) {
tmp = t_1;
} else if (y3 <= 8.8e-95) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 6.9e+103) {
tmp = t_1;
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (b * (t * ((y2 * (y5 / b)) - z))) tmp = 0 if y3 <= -4.7e+58: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y3 <= -1.25e+14: tmp = (x * c) * ((y0 * y2) - (y * i)) elif y3 <= -1.55e-83: tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3)))) elif y3 <= -6.5e-241: tmp = b * (y0 * ((z * k) - (x * j))) elif y3 <= -5.5e-283: tmp = t_1 elif y3 <= 8.8e-95: tmp = t * (y4 * ((b * j) - (c * y2))) elif y3 <= 6.9e+103: tmp = t_1 else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(b * Float64(t * Float64(Float64(y2 * Float64(y5 / b)) - z)))) tmp = 0.0 if (y3 <= -4.7e+58) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y3 <= -1.25e+14) tmp = Float64(Float64(x * c) * Float64(Float64(y0 * y2) - Float64(y * i))); elseif (y3 <= -1.55e-83) tmp = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))))); elseif (y3 <= -6.5e-241) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y3 <= -5.5e-283) tmp = t_1; elseif (y3 <= 8.8e-95) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y3 <= 6.9e+103) tmp = t_1; else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (b * (t * ((y2 * (y5 / b)) - z))); tmp = 0.0; if (y3 <= -4.7e+58) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y3 <= -1.25e+14) tmp = (x * c) * ((y0 * y2) - (y * i)); elseif (y3 <= -1.55e-83) tmp = a * ((b * ((x * y) - (z * t))) + (y5 * ((t * y2) - (y * y3)))); elseif (y3 <= -6.5e-241) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y3 <= -5.5e-283) tmp = t_1; elseif (y3 <= 8.8e-95) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y3 <= 6.9e+103) tmp = t_1; else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(b * N[(t * N[(N[(y2 * N[(y5 / b), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -4.7e+58], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.25e+14], N[(N[(x * c), $MachinePrecision] * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.55e-83], N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -6.5e-241], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -5.5e-283], t$95$1, If[LessEqual[y3, 8.8e-95], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 6.9e+103], t$95$1, N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(t \cdot \left(y2 \cdot \frac{y5}{b} - z\right)\right)\right)\\
\mathbf{if}\;y3 \leq -4.7 \cdot 10^{+58}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq -1.25 \cdot 10^{+14}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2 - y \cdot i\right)\\
\mathbf{elif}\;y3 \leq -1.55 \cdot 10^{-83}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -6.5 \cdot 10^{-241}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y3 \leq -5.5 \cdot 10^{-283}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 8.8 \cdot 10^{-95}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 6.9 \cdot 10^{+103}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -4.69999999999999972e58Initial program 24.5%
Taylor expanded in a around inf 42.4%
Taylor expanded in y3 around inf 57.8%
*-commutative57.8%
Simplified57.8%
if -4.69999999999999972e58 < y3 < -1.25e14Initial program 51.2%
Taylor expanded in c around inf 58.4%
Taylor expanded in x around inf 37.9%
associate-*r*44.6%
+-commutative44.6%
mul-1-neg44.6%
unsub-neg44.6%
*-commutative44.6%
Simplified44.6%
if -1.25e14 < y3 < -1.54999999999999996e-83Initial program 42.9%
Taylor expanded in a around inf 43.8%
Taylor expanded in y1 around 0 57.6%
if -1.54999999999999996e-83 < y3 < -6.4999999999999998e-241Initial program 42.7%
Taylor expanded in b around inf 49.6%
Taylor expanded in y0 around inf 43.6%
if -6.4999999999999998e-241 < y3 < -5.49999999999999953e-283 or 8.7999999999999995e-95 < y3 < 6.8999999999999999e103Initial program 33.4%
Taylor expanded in a around inf 32.2%
Taylor expanded in b around inf 38.0%
+-commutative38.0%
mul-1-neg38.0%
unsub-neg38.0%
*-commutative38.0%
associate-/l*39.7%
+-commutative39.7%
mul-1-neg39.7%
unsub-neg39.7%
*-commutative39.7%
associate-/l*39.7%
*-commutative39.7%
Simplified39.7%
Taylor expanded in t around inf 51.9%
associate-/l*55.6%
Simplified55.6%
if -5.49999999999999953e-283 < y3 < 8.7999999999999995e-95Initial program 40.3%
Taylor expanded in y4 around inf 46.0%
Taylor expanded in t around inf 43.9%
if 6.8999999999999999e103 < y3 Initial program 15.4%
Taylor expanded in c around inf 41.2%
Taylor expanded in y around -inf 54.5%
mul-1-neg54.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
Taylor expanded in x around 0 54.5%
mul-1-neg54.5%
distribute-rgt-neg-in54.5%
associate-*r*56.9%
*-commutative56.9%
Simplified56.9%
Final simplification51.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -1.7e+60)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y3 -0.0033)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y3 -1.25e-79)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y3 -1.45e-263)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y3 8.2e-28)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y3 3.1e+110)
(* c (* y0 (- (* x y2) (* z y3))))
(* c (* y4 (* y y3))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -1.7e+60) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -0.0033) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y3 <= -1.25e-79) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -1.45e-263) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y3 <= 8.2e-28) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 3.1e+110) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y3 <= (-1.7d+60)) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y3 <= (-0.0033d0)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y3 <= (-1.25d-79)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y3 <= (-1.45d-263)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y3 <= 8.2d-28) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y3 <= 3.1d+110) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -1.7e+60) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -0.0033) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y3 <= -1.25e-79) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -1.45e-263) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y3 <= 8.2e-28) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y3 <= 3.1e+110) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y3 <= -1.7e+60: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y3 <= -0.0033: tmp = b * (y4 * ((t * j) - (y * k))) elif y3 <= -1.25e-79: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y3 <= -1.45e-263: tmp = b * (y0 * ((z * k) - (x * j))) elif y3 <= 8.2e-28: tmp = t * (y4 * ((b * j) - (c * y2))) elif y3 <= 3.1e+110: tmp = c * (y0 * ((x * y2) - (z * y3))) else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y3 <= -1.7e+60) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y3 <= -0.0033) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y3 <= -1.25e-79) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y3 <= -1.45e-263) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y3 <= 8.2e-28) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y3 <= 3.1e+110) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y3 <= -1.7e+60) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y3 <= -0.0033) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y3 <= -1.25e-79) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y3 <= -1.45e-263) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y3 <= 8.2e-28) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y3 <= 3.1e+110) tmp = c * (y0 * ((x * y2) - (z * y3))); else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -1.7e+60], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -0.0033], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.25e-79], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.45e-263], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8.2e-28], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.1e+110], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -1.7 \cdot 10^{+60}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq -0.0033:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y3 \leq -1.25 \cdot 10^{-79}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -1.45 \cdot 10^{-263}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y3 \leq 8.2 \cdot 10^{-28}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 3.1 \cdot 10^{+110}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -1.7e60Initial program 24.5%
Taylor expanded in a around inf 42.4%
Taylor expanded in y3 around inf 57.8%
*-commutative57.8%
Simplified57.8%
if -1.7e60 < y3 < -0.0033Initial program 44.8%
Taylor expanded in b around inf 31.9%
Taylor expanded in y4 around inf 38.5%
*-commutative38.5%
Simplified38.5%
if -0.0033 < y3 < -1.25e-79Initial program 50.0%
Taylor expanded in a around inf 42.8%
Taylor expanded in y5 around inf 50.6%
*-commutative50.6%
Simplified50.6%
if -1.25e-79 < y3 < -1.45000000000000002e-263Initial program 44.7%
Taylor expanded in b around inf 50.9%
Taylor expanded in y0 around inf 38.9%
if -1.45000000000000002e-263 < y3 < 8.2000000000000005e-28Initial program 38.2%
Taylor expanded in y4 around inf 42.3%
Taylor expanded in t around inf 41.1%
if 8.2000000000000005e-28 < y3 < 3.10000000000000017e110Initial program 27.9%
Taylor expanded in c around inf 40.6%
Taylor expanded in y0 around inf 45.4%
if 3.10000000000000017e110 < y3 Initial program 15.4%
Taylor expanded in c around inf 41.2%
Taylor expanded in y around -inf 54.5%
mul-1-neg54.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
Taylor expanded in x around 0 54.5%
mul-1-neg54.5%
distribute-rgt-neg-in54.5%
associate-*r*56.9%
*-commutative56.9%
Simplified56.9%
Final simplification47.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -1.25e+57)
(* a (* y1 (* z y3)))
(if (<= y3 -2.15e+14)
(* (* x c) (* y0 y2))
(if (<= y3 -1.5e-92)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= y3 -3.9e-157)
(* c (* z (* t i)))
(if (<= y3 7.5e-118)
(* b (* j (* t y4)))
(if (<= y3 2.6e+108)
(* (* x c) (* y (- i)))
(* c (* y4 (* y y3))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -1.25e+57) {
tmp = a * (y1 * (z * y3));
} else if (y3 <= -2.15e+14) {
tmp = (x * c) * (y0 * y2);
} else if (y3 <= -1.5e-92) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (y3 <= -3.9e-157) {
tmp = c * (z * (t * i));
} else if (y3 <= 7.5e-118) {
tmp = b * (j * (t * y4));
} else if (y3 <= 2.6e+108) {
tmp = (x * c) * (y * -i);
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y3 <= (-1.25d+57)) then
tmp = a * (y1 * (z * y3))
else if (y3 <= (-2.15d+14)) then
tmp = (x * c) * (y0 * y2)
else if (y3 <= (-1.5d-92)) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (y3 <= (-3.9d-157)) then
tmp = c * (z * (t * i))
else if (y3 <= 7.5d-118) then
tmp = b * (j * (t * y4))
else if (y3 <= 2.6d+108) then
tmp = (x * c) * (y * -i)
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -1.25e+57) {
tmp = a * (y1 * (z * y3));
} else if (y3 <= -2.15e+14) {
tmp = (x * c) * (y0 * y2);
} else if (y3 <= -1.5e-92) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (y3 <= -3.9e-157) {
tmp = c * (z * (t * i));
} else if (y3 <= 7.5e-118) {
tmp = b * (j * (t * y4));
} else if (y3 <= 2.6e+108) {
tmp = (x * c) * (y * -i);
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y3 <= -1.25e+57: tmp = a * (y1 * (z * y3)) elif y3 <= -2.15e+14: tmp = (x * c) * (y0 * y2) elif y3 <= -1.5e-92: tmp = a * (x * ((y * b) - (y1 * y2))) elif y3 <= -3.9e-157: tmp = c * (z * (t * i)) elif y3 <= 7.5e-118: tmp = b * (j * (t * y4)) elif y3 <= 2.6e+108: tmp = (x * c) * (y * -i) else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y3 <= -1.25e+57) tmp = Float64(a * Float64(y1 * Float64(z * y3))); elseif (y3 <= -2.15e+14) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (y3 <= -1.5e-92) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (y3 <= -3.9e-157) tmp = Float64(c * Float64(z * Float64(t * i))); elseif (y3 <= 7.5e-118) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif (y3 <= 2.6e+108) tmp = Float64(Float64(x * c) * Float64(y * Float64(-i))); else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y3 <= -1.25e+57) tmp = a * (y1 * (z * y3)); elseif (y3 <= -2.15e+14) tmp = (x * c) * (y0 * y2); elseif (y3 <= -1.5e-92) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (y3 <= -3.9e-157) tmp = c * (z * (t * i)); elseif (y3 <= 7.5e-118) tmp = b * (j * (t * y4)); elseif (y3 <= 2.6e+108) tmp = (x * c) * (y * -i); else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -1.25e+57], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -2.15e+14], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.5e-92], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -3.9e-157], N[(c * N[(z * N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 7.5e-118], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.6e+108], N[(N[(x * c), $MachinePrecision] * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -1.25 \cdot 10^{+57}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -2.15 \cdot 10^{+14}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;y3 \leq -1.5 \cdot 10^{-92}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq -3.9 \cdot 10^{-157}:\\
\;\;\;\;c \cdot \left(z \cdot \left(t \cdot i\right)\right)\\
\mathbf{elif}\;y3 \leq 7.5 \cdot 10^{-118}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y3 \leq 2.6 \cdot 10^{+108}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y \cdot \left(-i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -1.24999999999999993e57Initial program 24.5%
Taylor expanded in a around inf 42.4%
Taylor expanded in z around inf 51.8%
+-commutative51.8%
mul-1-neg51.8%
unsub-neg51.8%
*-commutative51.8%
Simplified51.8%
Taylor expanded in y3 around inf 50.0%
*-commutative50.0%
*-commutative50.0%
Simplified50.0%
if -1.24999999999999993e57 < y3 < -2.15e14Initial program 51.2%
Taylor expanded in c around inf 58.4%
Taylor expanded in x around inf 37.9%
associate-*r*44.6%
+-commutative44.6%
mul-1-neg44.6%
unsub-neg44.6%
*-commutative44.6%
Simplified44.6%
Taylor expanded in y0 around inf 37.6%
if -2.15e14 < y3 < -1.50000000000000007e-92Initial program 50.0%
Taylor expanded in a around inf 44.5%
Taylor expanded in x around inf 32.3%
+-commutative32.3%
mul-1-neg32.3%
unsub-neg32.3%
*-commutative32.3%
Simplified32.3%
if -1.50000000000000007e-92 < y3 < -3.89999999999999999e-157Initial program 28.9%
Taylor expanded in c around inf 21.7%
Taylor expanded in t around inf 37.1%
Taylor expanded in i around inf 30.3%
associate-*r*37.0%
Simplified37.0%
if -3.89999999999999999e-157 < y3 < 7.49999999999999978e-118Initial program 44.6%
Taylor expanded in y4 around inf 44.1%
Taylor expanded in j around inf 30.8%
associate-*r*24.2%
*-commutative24.2%
+-commutative24.2%
mul-1-neg24.2%
unsub-neg24.2%
*-commutative24.2%
Simplified24.2%
Taylor expanded in b around inf 28.0%
if 7.49999999999999978e-118 < y3 < 2.6000000000000002e108Initial program 29.3%
Taylor expanded in c around inf 42.3%
Taylor expanded in x around inf 38.4%
associate-*r*38.4%
+-commutative38.4%
mul-1-neg38.4%
unsub-neg38.4%
*-commutative38.4%
Simplified38.4%
Taylor expanded in y0 around 0 30.4%
neg-mul-130.4%
distribute-rgt-neg-in30.4%
Simplified30.4%
if 2.6000000000000002e108 < y3 Initial program 15.4%
Taylor expanded in c around inf 41.2%
Taylor expanded in y around -inf 54.5%
mul-1-neg54.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
Taylor expanded in x around 0 54.5%
mul-1-neg54.5%
distribute-rgt-neg-in54.5%
associate-*r*56.9%
*-commutative56.9%
Simplified56.9%
Final simplification38.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* y4 (- (* t j) (* y k))))))
(if (<= y3 -2.8e+63)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y3 -1.95)
t_1
(if (<= y3 -2.02e-81)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y3 -1.85e-240)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y3 9.5e-138) t_1 (* c (* y4 (- (* y y3) (* t y2)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (y3 <= -2.8e+63) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -1.95) {
tmp = t_1;
} else if (y3 <= -2.02e-81) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -1.85e-240) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y3 <= 9.5e-138) {
tmp = t_1;
} else {
tmp = c * (y4 * ((y * y3) - (t * y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
if (y3 <= (-2.8d+63)) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y3 <= (-1.95d0)) then
tmp = t_1
else if (y3 <= (-2.02d-81)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y3 <= (-1.85d-240)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y3 <= 9.5d-138) then
tmp = t_1
else
tmp = c * (y4 * ((y * y3) - (t * y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (y3 <= -2.8e+63) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -1.95) {
tmp = t_1;
} else if (y3 <= -2.02e-81) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y3 <= -1.85e-240) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y3 <= 9.5e-138) {
tmp = t_1;
} else {
tmp = c * (y4 * ((y * y3) - (t * y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) tmp = 0 if y3 <= -2.8e+63: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y3 <= -1.95: tmp = t_1 elif y3 <= -2.02e-81: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y3 <= -1.85e-240: tmp = b * (y0 * ((z * k) - (x * j))) elif y3 <= 9.5e-138: tmp = t_1 else: tmp = c * (y4 * ((y * y3) - (t * y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) tmp = 0.0 if (y3 <= -2.8e+63) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y3 <= -1.95) tmp = t_1; elseif (y3 <= -2.02e-81) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y3 <= -1.85e-240) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y3 <= 9.5e-138) tmp = t_1; else tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y4 * ((t * j) - (y * k))); tmp = 0.0; if (y3 <= -2.8e+63) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y3 <= -1.95) tmp = t_1; elseif (y3 <= -2.02e-81) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y3 <= -1.85e-240) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y3 <= 9.5e-138) tmp = t_1; else tmp = c * (y4 * ((y * y3) - (t * y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -2.8e+63], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.95], t$95$1, If[LessEqual[y3, -2.02e-81], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.85e-240], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 9.5e-138], t$95$1, N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{if}\;y3 \leq -2.8 \cdot 10^{+63}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq -1.95:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -2.02 \cdot 10^{-81}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -1.85 \cdot 10^{-240}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y3 \leq 9.5 \cdot 10^{-138}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\end{array}
\end{array}
if y3 < -2.79999999999999987e63Initial program 24.5%
Taylor expanded in a around inf 42.4%
Taylor expanded in y3 around inf 57.8%
*-commutative57.8%
Simplified57.8%
if -2.79999999999999987e63 < y3 < -1.94999999999999996 or -1.8500000000000001e-240 < y3 < 9.49999999999999997e-138Initial program 44.7%
Taylor expanded in b around inf 44.1%
Taylor expanded in y4 around inf 39.8%
*-commutative39.8%
Simplified39.8%
if -1.94999999999999996 < y3 < -2.02000000000000006e-81Initial program 50.0%
Taylor expanded in a around inf 42.8%
Taylor expanded in y5 around inf 50.6%
*-commutative50.6%
Simplified50.6%
if -2.02000000000000006e-81 < y3 < -1.8500000000000001e-240Initial program 43.7%
Taylor expanded in b around inf 50.8%
Taylor expanded in y0 around inf 44.7%
if 9.49999999999999997e-138 < y3 Initial program 23.1%
Taylor expanded in y4 around inf 36.9%
Taylor expanded in c around inf 40.9%
Final simplification45.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -7.2e+23)
(* a (* y3 (- (* z y1) (* y y5))))
(if (<= y3 -7e-205)
(* a (* x (- (* y b) (* y1 y2))))
(if (<= y3 -8.2e-283)
(* (* y c) (* x (- i)))
(if (<= y3 5.1e-117)
(* b (* j (* t y4)))
(if (<= y3 9e+107) (* (* x c) (* y (- i))) (* c (* y4 (* y y3)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -7.2e+23) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -7e-205) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (y3 <= -8.2e-283) {
tmp = (y * c) * (x * -i);
} else if (y3 <= 5.1e-117) {
tmp = b * (j * (t * y4));
} else if (y3 <= 9e+107) {
tmp = (x * c) * (y * -i);
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y3 <= (-7.2d+23)) then
tmp = a * (y3 * ((z * y1) - (y * y5)))
else if (y3 <= (-7d-205)) then
tmp = a * (x * ((y * b) - (y1 * y2)))
else if (y3 <= (-8.2d-283)) then
tmp = (y * c) * (x * -i)
else if (y3 <= 5.1d-117) then
tmp = b * (j * (t * y4))
else if (y3 <= 9d+107) then
tmp = (x * c) * (y * -i)
else
tmp = c * (y4 * (y * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -7.2e+23) {
tmp = a * (y3 * ((z * y1) - (y * y5)));
} else if (y3 <= -7e-205) {
tmp = a * (x * ((y * b) - (y1 * y2)));
} else if (y3 <= -8.2e-283) {
tmp = (y * c) * (x * -i);
} else if (y3 <= 5.1e-117) {
tmp = b * (j * (t * y4));
} else if (y3 <= 9e+107) {
tmp = (x * c) * (y * -i);
} else {
tmp = c * (y4 * (y * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y3 <= -7.2e+23: tmp = a * (y3 * ((z * y1) - (y * y5))) elif y3 <= -7e-205: tmp = a * (x * ((y * b) - (y1 * y2))) elif y3 <= -8.2e-283: tmp = (y * c) * (x * -i) elif y3 <= 5.1e-117: tmp = b * (j * (t * y4)) elif y3 <= 9e+107: tmp = (x * c) * (y * -i) else: tmp = c * (y4 * (y * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y3 <= -7.2e+23) tmp = Float64(a * Float64(y3 * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y3 <= -7e-205) tmp = Float64(a * Float64(x * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (y3 <= -8.2e-283) tmp = Float64(Float64(y * c) * Float64(x * Float64(-i))); elseif (y3 <= 5.1e-117) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif (y3 <= 9e+107) tmp = Float64(Float64(x * c) * Float64(y * Float64(-i))); else tmp = Float64(c * Float64(y4 * Float64(y * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y3 <= -7.2e+23) tmp = a * (y3 * ((z * y1) - (y * y5))); elseif (y3 <= -7e-205) tmp = a * (x * ((y * b) - (y1 * y2))); elseif (y3 <= -8.2e-283) tmp = (y * c) * (x * -i); elseif (y3 <= 5.1e-117) tmp = b * (j * (t * y4)); elseif (y3 <= 9e+107) tmp = (x * c) * (y * -i); else tmp = c * (y4 * (y * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -7.2e+23], N[(a * N[(y3 * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -7e-205], N[(a * N[(x * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -8.2e-283], N[(N[(y * c), $MachinePrecision] * N[(x * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 5.1e-117], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 9e+107], N[(N[(x * c), $MachinePrecision] * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], N[(c * N[(y4 * N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -7.2 \cdot 10^{+23}:\\
\;\;\;\;a \cdot \left(y3 \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y3 \leq -7 \cdot 10^{-205}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq -8.2 \cdot 10^{-283}:\\
\;\;\;\;\left(y \cdot c\right) \cdot \left(x \cdot \left(-i\right)\right)\\
\mathbf{elif}\;y3 \leq 5.1 \cdot 10^{-117}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;y3 \leq 9 \cdot 10^{+107}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y \cdot \left(-i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -7.1999999999999997e23Initial program 29.7%
Taylor expanded in a around inf 38.5%
Taylor expanded in y3 around inf 51.2%
*-commutative51.2%
Simplified51.2%
if -7.1999999999999997e23 < y3 < -7.00000000000000001e-205Initial program 44.0%
Taylor expanded in a around inf 33.4%
Taylor expanded in x around inf 25.4%
+-commutative25.4%
mul-1-neg25.4%
unsub-neg25.4%
*-commutative25.4%
Simplified25.4%
if -7.00000000000000001e-205 < y3 < -8.19999999999999973e-283Initial program 45.1%
Taylor expanded in c around inf 34.4%
Taylor expanded in y around -inf 40.1%
mul-1-neg40.1%
associate-*r*40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in x around inf 40.2%
if -8.19999999999999973e-283 < y3 < 5.1000000000000002e-117Initial program 41.3%
Taylor expanded in y4 around inf 45.2%
Taylor expanded in j around inf 26.4%
associate-*r*19.5%
*-commutative19.5%
+-commutative19.5%
mul-1-neg19.5%
unsub-neg19.5%
*-commutative19.5%
Simplified19.5%
Taylor expanded in b around inf 28.6%
if 5.1000000000000002e-117 < y3 < 9e107Initial program 29.3%
Taylor expanded in c around inf 42.3%
Taylor expanded in x around inf 38.4%
associate-*r*38.4%
+-commutative38.4%
mul-1-neg38.4%
unsub-neg38.4%
*-commutative38.4%
Simplified38.4%
Taylor expanded in y0 around 0 30.4%
neg-mul-130.4%
distribute-rgt-neg-in30.4%
Simplified30.4%
if 9e107 < y3 Initial program 15.4%
Taylor expanded in c around inf 41.2%
Taylor expanded in y around -inf 54.5%
mul-1-neg54.5%
associate-*r*47.4%
*-commutative47.4%
Simplified47.4%
Taylor expanded in x around 0 54.5%
mul-1-neg54.5%
distribute-rgt-neg-in54.5%
associate-*r*56.9%
*-commutative56.9%
Simplified56.9%
Final simplification39.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -1.5e+14)
(* (* y c) (* x (- i)))
(if (<= c -9e-137)
(* a (* x (* y b)))
(if (<= c 2.5e-156)
(* a (* z (* y1 y3)))
(if (<= c 0.00034) (* a (* b (* t (- z)))) (* (* x c) (* y0 y2)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -1.5e+14) {
tmp = (y * c) * (x * -i);
} else if (c <= -9e-137) {
tmp = a * (x * (y * b));
} else if (c <= 2.5e-156) {
tmp = a * (z * (y1 * y3));
} else if (c <= 0.00034) {
tmp = a * (b * (t * -z));
} else {
tmp = (x * c) * (y0 * y2);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (c <= (-1.5d+14)) then
tmp = (y * c) * (x * -i)
else if (c <= (-9d-137)) then
tmp = a * (x * (y * b))
else if (c <= 2.5d-156) then
tmp = a * (z * (y1 * y3))
else if (c <= 0.00034d0) then
tmp = a * (b * (t * -z))
else
tmp = (x * c) * (y0 * y2)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -1.5e+14) {
tmp = (y * c) * (x * -i);
} else if (c <= -9e-137) {
tmp = a * (x * (y * b));
} else if (c <= 2.5e-156) {
tmp = a * (z * (y1 * y3));
} else if (c <= 0.00034) {
tmp = a * (b * (t * -z));
} else {
tmp = (x * c) * (y0 * y2);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if c <= -1.5e+14: tmp = (y * c) * (x * -i) elif c <= -9e-137: tmp = a * (x * (y * b)) elif c <= 2.5e-156: tmp = a * (z * (y1 * y3)) elif c <= 0.00034: tmp = a * (b * (t * -z)) else: tmp = (x * c) * (y0 * y2) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (c <= -1.5e+14) tmp = Float64(Float64(y * c) * Float64(x * Float64(-i))); elseif (c <= -9e-137) tmp = Float64(a * Float64(x * Float64(y * b))); elseif (c <= 2.5e-156) tmp = Float64(a * Float64(z * Float64(y1 * y3))); elseif (c <= 0.00034) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); else tmp = Float64(Float64(x * c) * Float64(y0 * y2)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (c <= -1.5e+14) tmp = (y * c) * (x * -i); elseif (c <= -9e-137) tmp = a * (x * (y * b)); elseif (c <= 2.5e-156) tmp = a * (z * (y1 * y3)); elseif (c <= 0.00034) tmp = a * (b * (t * -z)); else tmp = (x * c) * (y0 * y2); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -1.5e+14], N[(N[(y * c), $MachinePrecision] * N[(x * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -9e-137], N[(a * N[(x * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.5e-156], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 0.00034], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -1.5 \cdot 10^{+14}:\\
\;\;\;\;\left(y \cdot c\right) \cdot \left(x \cdot \left(-i\right)\right)\\
\mathbf{elif}\;c \leq -9 \cdot 10^{-137}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b\right)\right)\\
\mathbf{elif}\;c \leq 2.5 \cdot 10^{-156}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq 0.00034:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\end{array}
\end{array}
if c < -1.5e14Initial program 35.9%
Taylor expanded in c around inf 43.9%
Taylor expanded in y around -inf 42.5%
mul-1-neg42.5%
associate-*r*42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in x around inf 31.4%
if -1.5e14 < c < -8.9999999999999994e-137Initial program 33.3%
Taylor expanded in a around inf 22.3%
Taylor expanded in x around inf 34.5%
+-commutative34.5%
mul-1-neg34.5%
unsub-neg34.5%
*-commutative34.5%
Simplified34.5%
Taylor expanded in y around inf 31.5%
if -8.9999999999999994e-137 < c < 2.50000000000000004e-156Initial program 50.0%
Taylor expanded in a around inf 43.2%
Taylor expanded in z around inf 33.1%
+-commutative33.1%
mul-1-neg33.1%
unsub-neg33.1%
*-commutative33.1%
Simplified33.1%
Taylor expanded in y3 around inf 29.9%
*-commutative29.9%
Simplified29.9%
if 2.50000000000000004e-156 < c < 3.4e-4Initial program 19.0%
Taylor expanded in a around inf 35.1%
Taylor expanded in z around inf 39.1%
+-commutative39.1%
mul-1-neg39.1%
unsub-neg39.1%
*-commutative39.1%
Simplified39.1%
Taylor expanded in y3 around 0 32.7%
mul-1-neg32.7%
*-commutative32.7%
distribute-lft-neg-in32.7%
distribute-rgt-neg-in32.7%
*-commutative32.7%
distribute-rgt-neg-in32.7%
Simplified32.7%
if 3.4e-4 < c Initial program 21.3%
Taylor expanded in c around inf 53.3%
Taylor expanded in x around inf 34.9%
associate-*r*37.5%
+-commutative37.5%
mul-1-neg37.5%
unsub-neg37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in y0 around inf 32.1%
Final simplification31.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* z (* y1 y3)))))
(if (<= y1 -1.36e-21)
t_1
(if (<= y1 1.46e-186)
(* c (* x (* y0 y2)))
(if (<= y1 9.2e+92) (* b (* j (* t y4))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (z * (y1 * y3));
double tmp;
if (y1 <= -1.36e-21) {
tmp = t_1;
} else if (y1 <= 1.46e-186) {
tmp = c * (x * (y0 * y2));
} else if (y1 <= 9.2e+92) {
tmp = b * (j * (t * y4));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (z * (y1 * y3))
if (y1 <= (-1.36d-21)) then
tmp = t_1
else if (y1 <= 1.46d-186) then
tmp = c * (x * (y0 * y2))
else if (y1 <= 9.2d+92) then
tmp = b * (j * (t * y4))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (z * (y1 * y3));
double tmp;
if (y1 <= -1.36e-21) {
tmp = t_1;
} else if (y1 <= 1.46e-186) {
tmp = c * (x * (y0 * y2));
} else if (y1 <= 9.2e+92) {
tmp = b * (j * (t * y4));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (z * (y1 * y3)) tmp = 0 if y1 <= -1.36e-21: tmp = t_1 elif y1 <= 1.46e-186: tmp = c * (x * (y0 * y2)) elif y1 <= 9.2e+92: tmp = b * (j * (t * y4)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(z * Float64(y1 * y3))) tmp = 0.0 if (y1 <= -1.36e-21) tmp = t_1; elseif (y1 <= 1.46e-186) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y1 <= 9.2e+92) tmp = Float64(b * Float64(j * Float64(t * y4))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (z * (y1 * y3)); tmp = 0.0; if (y1 <= -1.36e-21) tmp = t_1; elseif (y1 <= 1.46e-186) tmp = c * (x * (y0 * y2)); elseif (y1 <= 9.2e+92) tmp = b * (j * (t * y4)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -1.36e-21], t$95$1, If[LessEqual[y1, 1.46e-186], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 9.2e+92], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\mathbf{if}\;y1 \leq -1.36 \cdot 10^{-21}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq 1.46 \cdot 10^{-186}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 9.2 \cdot 10^{+92}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y1 < -1.3599999999999999e-21 or 9.19999999999999994e92 < y1 Initial program 25.4%
Taylor expanded in a around inf 34.8%
Taylor expanded in z around inf 37.0%
+-commutative37.0%
mul-1-neg37.0%
unsub-neg37.0%
*-commutative37.0%
Simplified37.0%
Taylor expanded in y3 around inf 34.3%
*-commutative34.3%
Simplified34.3%
if -1.3599999999999999e-21 < y1 < 1.46e-186Initial program 43.8%
Taylor expanded in c around inf 44.4%
Taylor expanded in x around inf 33.7%
associate-*r*30.2%
+-commutative30.2%
mul-1-neg30.2%
unsub-neg30.2%
*-commutative30.2%
Simplified30.2%
Taylor expanded in y0 around inf 24.8%
if 1.46e-186 < y1 < 9.19999999999999994e92Initial program 31.5%
Taylor expanded in y4 around inf 50.6%
Taylor expanded in j around inf 36.4%
associate-*r*26.0%
*-commutative26.0%
+-commutative26.0%
mul-1-neg26.0%
unsub-neg26.0%
*-commutative26.0%
Simplified26.0%
Taylor expanded in b around inf 28.9%
Final simplification29.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -11500000000000.0)
(* (* y c) (* x (- i)))
(if (<= c -1.15e-141)
(* a (* x (* y b)))
(if (<= c 0.00031) (* a (* z (* y1 y3))) (* (* x c) (* y0 y2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -11500000000000.0) {
tmp = (y * c) * (x * -i);
} else if (c <= -1.15e-141) {
tmp = a * (x * (y * b));
} else if (c <= 0.00031) {
tmp = a * (z * (y1 * y3));
} else {
tmp = (x * c) * (y0 * y2);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (c <= (-11500000000000.0d0)) then
tmp = (y * c) * (x * -i)
else if (c <= (-1.15d-141)) then
tmp = a * (x * (y * b))
else if (c <= 0.00031d0) then
tmp = a * (z * (y1 * y3))
else
tmp = (x * c) * (y0 * y2)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -11500000000000.0) {
tmp = (y * c) * (x * -i);
} else if (c <= -1.15e-141) {
tmp = a * (x * (y * b));
} else if (c <= 0.00031) {
tmp = a * (z * (y1 * y3));
} else {
tmp = (x * c) * (y0 * y2);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if c <= -11500000000000.0: tmp = (y * c) * (x * -i) elif c <= -1.15e-141: tmp = a * (x * (y * b)) elif c <= 0.00031: tmp = a * (z * (y1 * y3)) else: tmp = (x * c) * (y0 * y2) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (c <= -11500000000000.0) tmp = Float64(Float64(y * c) * Float64(x * Float64(-i))); elseif (c <= -1.15e-141) tmp = Float64(a * Float64(x * Float64(y * b))); elseif (c <= 0.00031) tmp = Float64(a * Float64(z * Float64(y1 * y3))); else tmp = Float64(Float64(x * c) * Float64(y0 * y2)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (c <= -11500000000000.0) tmp = (y * c) * (x * -i); elseif (c <= -1.15e-141) tmp = a * (x * (y * b)); elseif (c <= 0.00031) tmp = a * (z * (y1 * y3)); else tmp = (x * c) * (y0 * y2); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -11500000000000.0], N[(N[(y * c), $MachinePrecision] * N[(x * (-i)), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.15e-141], N[(a * N[(x * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 0.00031], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -11500000000000:\\
\;\;\;\;\left(y \cdot c\right) \cdot \left(x \cdot \left(-i\right)\right)\\
\mathbf{elif}\;c \leq -1.15 \cdot 10^{-141}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b\right)\right)\\
\mathbf{elif}\;c \leq 0.00031:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\end{array}
\end{array}
if c < -1.15e13Initial program 35.9%
Taylor expanded in c around inf 43.9%
Taylor expanded in y around -inf 42.5%
mul-1-neg42.5%
associate-*r*42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in x around inf 31.4%
if -1.15e13 < c < -1.14999999999999997e-141Initial program 33.3%
Taylor expanded in a around inf 22.3%
Taylor expanded in x around inf 34.5%
+-commutative34.5%
mul-1-neg34.5%
unsub-neg34.5%
*-commutative34.5%
Simplified34.5%
Taylor expanded in y around inf 31.5%
if -1.14999999999999997e-141 < c < 3.1e-4Initial program 39.8%
Taylor expanded in a around inf 40.5%
Taylor expanded in z around inf 35.0%
+-commutative35.0%
mul-1-neg35.0%
unsub-neg35.0%
*-commutative35.0%
Simplified35.0%
Taylor expanded in y3 around inf 25.8%
*-commutative25.8%
Simplified25.8%
if 3.1e-4 < c Initial program 21.3%
Taylor expanded in c around inf 53.3%
Taylor expanded in x around inf 34.9%
associate-*r*37.5%
+-commutative37.5%
mul-1-neg37.5%
unsub-neg37.5%
*-commutative37.5%
Simplified37.5%
Taylor expanded in y0 around inf 32.1%
Final simplification29.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= b -3.4e-9) (not (<= b 8e-9))) (* a (* x (* y b))) (* a (* z (* y1 y3)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((b <= -3.4e-9) || !(b <= 8e-9)) {
tmp = a * (x * (y * b));
} else {
tmp = a * (z * (y1 * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((b <= (-3.4d-9)) .or. (.not. (b <= 8d-9))) then
tmp = a * (x * (y * b))
else
tmp = a * (z * (y1 * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((b <= -3.4e-9) || !(b <= 8e-9)) {
tmp = a * (x * (y * b));
} else {
tmp = a * (z * (y1 * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (b <= -3.4e-9) or not (b <= 8e-9): tmp = a * (x * (y * b)) else: tmp = a * (z * (y1 * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((b <= -3.4e-9) || !(b <= 8e-9)) tmp = Float64(a * Float64(x * Float64(y * b))); else tmp = Float64(a * Float64(z * Float64(y1 * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((b <= -3.4e-9) || ~((b <= 8e-9))) tmp = a * (x * (y * b)); else tmp = a * (z * (y1 * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[b, -3.4e-9], N[Not[LessEqual[b, 8e-9]], $MachinePrecision]], N[(a * N[(x * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.4 \cdot 10^{-9} \lor \neg \left(b \leq 8 \cdot 10^{-9}\right):\\
\;\;\;\;a \cdot \left(x \cdot \left(y \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\end{array}
\end{array}
if b < -3.3999999999999998e-9 or 8.0000000000000005e-9 < b Initial program 29.3%
Taylor expanded in a around inf 34.1%
Taylor expanded in x around inf 33.1%
+-commutative33.1%
mul-1-neg33.1%
unsub-neg33.1%
*-commutative33.1%
Simplified33.1%
Taylor expanded in y around inf 28.4%
if -3.3999999999999998e-9 < b < 8.0000000000000005e-9Initial program 36.5%
Taylor expanded in a around inf 31.1%
Taylor expanded in z around inf 25.4%
+-commutative25.4%
mul-1-neg25.4%
unsub-neg25.4%
*-commutative25.4%
Simplified25.4%
Taylor expanded in y3 around inf 21.6%
*-commutative21.6%
Simplified21.6%
Final simplification25.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y1 -2.3e-56) (not (<= y1 4.6e+92))) (* a (* z (* y1 y3))) (* b (* j (* t y4)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y1 <= -2.3e-56) || !(y1 <= 4.6e+92)) {
tmp = a * (z * (y1 * y3));
} else {
tmp = b * (j * (t * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((y1 <= (-2.3d-56)) .or. (.not. (y1 <= 4.6d+92))) then
tmp = a * (z * (y1 * y3))
else
tmp = b * (j * (t * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y1 <= -2.3e-56) || !(y1 <= 4.6e+92)) {
tmp = a * (z * (y1 * y3));
} else {
tmp = b * (j * (t * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y1 <= -2.3e-56) or not (y1 <= 4.6e+92): tmp = a * (z * (y1 * y3)) else: tmp = b * (j * (t * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y1 <= -2.3e-56) || !(y1 <= 4.6e+92)) tmp = Float64(a * Float64(z * Float64(y1 * y3))); else tmp = Float64(b * Float64(j * Float64(t * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((y1 <= -2.3e-56) || ~((y1 <= 4.6e+92))) tmp = a * (z * (y1 * y3)); else tmp = b * (j * (t * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y1, -2.3e-56], N[Not[LessEqual[y1, 4.6e+92]], $MachinePrecision]], N[(a * N[(z * N[(y1 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -2.3 \cdot 10^{-56} \lor \neg \left(y1 \leq 4.6 \cdot 10^{+92}\right):\\
\;\;\;\;a \cdot \left(z \cdot \left(y1 \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\end{array}
\end{array}
if y1 < -2.30000000000000002e-56 or 4.59999999999999997e92 < y1 Initial program 25.8%
Taylor expanded in a around inf 35.7%
Taylor expanded in z around inf 36.2%
+-commutative36.2%
mul-1-neg36.2%
unsub-neg36.2%
*-commutative36.2%
Simplified36.2%
Taylor expanded in y3 around inf 32.8%
*-commutative32.8%
Simplified32.8%
if -2.30000000000000002e-56 < y1 < 4.59999999999999997e92Initial program 39.4%
Taylor expanded in y4 around inf 37.2%
Taylor expanded in j around inf 25.2%
associate-*r*20.4%
*-commutative20.4%
+-commutative20.4%
mul-1-neg20.4%
unsub-neg20.4%
*-commutative20.4%
Simplified20.4%
Taylor expanded in b around inf 21.5%
Final simplification26.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* (* x y) b)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * ((x * y) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * ((x * y) * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(Float64(x * y) * b)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * ((x * y) * b); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Initial program 33.0%
Taylor expanded in a around inf 32.6%
Taylor expanded in x around inf 22.3%
+-commutative22.3%
mul-1-neg22.3%
unsub-neg22.3%
*-commutative22.3%
Simplified22.3%
Taylor expanded in y around inf 14.3%
Final simplification14.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* x (* y b))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (x * (y * b));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * (x * (y * b))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (x * (y * b));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (x * (y * b))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(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 33.0%
Taylor expanded in a around inf 32.6%
Taylor expanded in x around inf 22.3%
+-commutative22.3%
mul-1-neg22.3%
unsub-neg22.3%
*-commutative22.3%
Simplified22.3%
Taylor expanded in y around inf 15.8%
Final simplification15.8%
(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 2024067
(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)))))