
(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 34 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 (- (* t y2) (* y y3)))
(t_2 (- (* j y3) (* k y2)))
(t_3 (* y5 (+ (* a t_1) (+ (* i (- (* y k) (* t j))) (* y0 t_2))))))
(if (<= y5 -3.9e+96)
t_3
(if (<= y5 -4e-249)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* z (- (* a y1) (* c y0))) (* j (- (* y0 y5) (* y1 y4))))))
(if (<= y5 7.2e-274)
(*
y0
(+
(+ (* c (- (* x y2) (* z y3))) (* y5 t_2))
(* b (- (* z k) (* x j)))))
(if (<= y5 4.3e-224)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y5 5e-132)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= y5 7.5e-63)
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= y5 1.4e-8)
(*
a
(+
(+ (* b (- (* x y) (* z t))) (* y1 (- (* z y3) (* x y2))))
(* y5 t_1)))
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 = (t * y2) - (y * y3);
double t_2 = (j * y3) - (k * y2);
double t_3 = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * t_2)));
double tmp;
if (y5 <= -3.9e+96) {
tmp = t_3;
} else if (y5 <= -4e-249) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y5 <= 7.2e-274) {
tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_2)) + (b * ((z * k) - (x * j))));
} else if (y5 <= 4.3e-224) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y5 <= 5e-132) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y5 <= 7.5e-63) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y5 <= 1.4e-8) {
tmp = a * (((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))) + (y5 * t_1));
} 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) :: tmp
t_1 = (t * y2) - (y * y3)
t_2 = (j * y3) - (k * y2)
t_3 = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * t_2)))
if (y5 <= (-3.9d+96)) then
tmp = t_3
else if (y5 <= (-4d-249)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))))
else if (y5 <= 7.2d-274) then
tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_2)) + (b * ((z * k) - (x * j))))
else if (y5 <= 4.3d-224) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y5 <= 5d-132) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (y5 <= 7.5d-63) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (y5 <= 1.4d-8) then
tmp = a * (((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))) + (y5 * t_1))
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 = (t * y2) - (y * y3);
double t_2 = (j * y3) - (k * y2);
double t_3 = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * t_2)));
double tmp;
if (y5 <= -3.9e+96) {
tmp = t_3;
} else if (y5 <= -4e-249) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4)))));
} else if (y5 <= 7.2e-274) {
tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_2)) + (b * ((z * k) - (x * j))));
} else if (y5 <= 4.3e-224) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y5 <= 5e-132) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y5 <= 7.5e-63) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y5 <= 1.4e-8) {
tmp = a * (((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))) + (y5 * t_1));
} 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 = (t * y2) - (y * y3) t_2 = (j * y3) - (k * y2) t_3 = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * t_2))) tmp = 0 if y5 <= -3.9e+96: tmp = t_3 elif y5 <= -4e-249: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))) elif y5 <= 7.2e-274: tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_2)) + (b * ((z * k) - (x * j)))) elif y5 <= 4.3e-224: tmp = b * (j * ((t * y4) - (x * y0))) elif y5 <= 5e-132: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif y5 <= 7.5e-63: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif y5 <= 1.4e-8: tmp = a * (((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))) + (y5 * t_1)) else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * y2) - Float64(y * y3)) t_2 = Float64(Float64(j * y3) - Float64(k * y2)) t_3 = Float64(y5 * Float64(Float64(a * t_1) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * t_2)))) tmp = 0.0 if (y5 <= -3.9e+96) tmp = t_3; elseif (y5 <= -4e-249) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))))); elseif (y5 <= 7.2e-274) tmp = Float64(y0 * Float64(Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y5 * t_2)) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (y5 <= 4.3e-224) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y5 <= 5e-132) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y5 <= 7.5e-63) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y5 <= 1.4e-8) tmp = Float64(a * Float64(Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2)))) + Float64(y5 * t_1))); 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 = (t * y2) - (y * y3); t_2 = (j * y3) - (k * y2); t_3 = y5 * ((a * t_1) + ((i * ((y * k) - (t * j))) + (y0 * t_2))); tmp = 0.0; if (y5 <= -3.9e+96) tmp = t_3; elseif (y5 <= -4e-249) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * ((y0 * y5) - (y1 * y4))))); elseif (y5 <= 7.2e-274) tmp = y0 * (((c * ((x * y2) - (z * y3))) + (y5 * t_2)) + (b * ((z * k) - (x * j)))); elseif (y5 <= 4.3e-224) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y5 <= 5e-132) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (y5 <= 7.5e-63) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (y5 <= 1.4e-8) tmp = a * (((b * ((x * y) - (z * t))) + (y1 * ((z * y3) - (x * y2)))) + (y5 * t_1)); else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y5 * N[(N[(a * t$95$1), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -3.9e+96], t$95$3, If[LessEqual[y5, -4e-249], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 7.2e-274], N[(y0 * N[(N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 4.3e-224], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5e-132], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 7.5e-63], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.4e-8], N[(a * N[(N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot y2 - y \cdot y3\\
t_2 := j \cdot y3 - k \cdot y2\\
t_3 := y5 \cdot \left(a \cdot t\_1 + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot t\_2\right)\right)\\
\mathbf{if}\;y5 \leq -3.9 \cdot 10^{+96}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y5 \leq -4 \cdot 10^{-249}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) + j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\right)\\
\mathbf{elif}\;y5 \leq 7.2 \cdot 10^{-274}:\\
\;\;\;\;y0 \cdot \left(\left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + y5 \cdot t\_2\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y5 \leq 4.3 \cdot 10^{-224}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq 5 \cdot 10^{-132}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq 7.5 \cdot 10^{-63}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y5 \leq 1.4 \cdot 10^{-8}:\\
\;\;\;\;a \cdot \left(\left(b \cdot \left(x \cdot y - z \cdot t\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right) + y5 \cdot t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_3\\
\end{array}
\end{array}
if y5 < -3.9e96 or 1.4e-8 < y5 Initial program 23.7%
Taylor expanded in y5 around -inf 60.4%
if -3.9e96 < y5 < -4.00000000000000022e-249Initial program 43.2%
Taylor expanded in y3 around -inf 54.3%
if -4.00000000000000022e-249 < y5 < 7.19999999999999965e-274Initial program 52.2%
Taylor expanded in y0 around inf 66.3%
+-commutative66.3%
mul-1-neg66.3%
unsub-neg66.3%
*-commutative66.3%
*-commutative66.3%
*-commutative66.3%
*-commutative66.3%
Simplified66.3%
if 7.19999999999999965e-274 < y5 < 4.3e-224Initial program 24.9%
Taylor expanded in b around inf 37.7%
Taylor expanded in j around inf 75.0%
if 4.3e-224 < y5 < 4.9999999999999999e-132Initial program 59.9%
Taylor expanded in x around inf 67.2%
if 4.9999999999999999e-132 < y5 < 7.5000000000000003e-63Initial program 27.6%
Taylor expanded in y4 around inf 59.6%
if 7.5000000000000003e-63 < y5 < 1.4e-8Initial program 33.2%
Taylor expanded in a around inf 66.7%
+-commutative66.7%
mul-1-neg66.7%
unsub-neg66.7%
*-commutative66.7%
*-commutative66.7%
*-commutative66.7%
mul-1-neg66.7%
*-commutative66.7%
Simplified66.7%
Final simplification61.3%
(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 (- (* c y0) (* a y1)))
(t_3
(+
(+
(+
(+
(+
(* t_1 (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* z k) (* x j))))
(* t_2 (- (* x y2) (* z y3))))
(* (- (* t j) (* y k)) (- (* b y4) (* i y5))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_3 INFINITY)
t_3
(* x (+ (+ (* y t_1) (* y2 t_2)) (* j (- (* i y1) (* b y0))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * b) - (c * i);
double t_2 = (c * y0) - (a * y1);
double t_3 = (((((t_1 * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (t_2 * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= ((double) INFINITY)) {
tmp = t_3;
} else {
tmp = x * (((y * t_1) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))));
}
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 = (a * b) - (c * i);
double t_2 = (c * y0) - (a * y1);
double t_3 = (((((t_1 * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (t_2 * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= Double.POSITIVE_INFINITY) {
tmp = t_3;
} else {
tmp = x * (((y * t_1) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * b) - (c * i) t_2 = (c * y0) - (a * y1) t_3 = (((((t_1 * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (t_2 * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_3 <= math.inf: tmp = t_3 else: tmp = x * (((y * t_1) + (y2 * t_2)) + (j * ((i * y1) - (b * y0)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(a * b) - Float64(c * i)) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(Float64(Float64(Float64(Float64(Float64(t_1 * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(z * k) - Float64(x * j)))) + Float64(t_2 * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_3 <= Inf) tmp = t_3; else tmp = Float64(x * Float64(Float64(Float64(y * t_1) + Float64(y2 * t_2)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (a * b) - (c * i); t_2 = (c * y0) - (a * y1); t_3 = (((((t_1 * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (t_2 * ((x * y2) - (z * y3)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_3 <= Inf) tmp = t_3; else tmp = x * (((y * t_1) + (y2 * t_2)) + (j * ((i * y1) - (b * y0)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(N[(N[(t$95$1 * 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[(t$95$2 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, Infinity], t$95$3, N[(x * N[(N[(N[(y * t$95$1), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot b - c \cdot i\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := \left(\left(\left(\left(t\_1 \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) + t\_2 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_3 \leq \infty:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_1 + y2 \cdot t\_2\right) + j \cdot \left(i \cdot y1 - b \cdot y0\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 93.8%
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 x around inf 41.8%
Final simplification60.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y0 y5) (* y1 y4)))
(t_2
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 t_1))
(* x (- (* i y1) (* b y0)))))))
(if (<= y2 -1.02e+114)
(* a (* y2 (- (* t y5) (* x y1))))
(if (<= y2 -1.05e+30)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= y2 -1.75e-181)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y2 1.62e-195)
t_2
(if (<= y2 2.6e-105)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(+ (* z (- (* a y1) (* c y0))) (* j t_1))))
(if (<= y2 5.4e+45)
t_2
(if (<= y2 2.9e+79)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= y2 3.6e+133)
t_2
(*
y2
(+
(+
(* k (- (* y1 y4) (* y0 y5)))
(* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c 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 = (y0 * y5) - (y1 * y4);
double t_2 = j * (((t * ((b * y4) - (i * y5))) + (y3 * t_1)) + (x * ((i * y1) - (b * y0))));
double tmp;
if (y2 <= -1.02e+114) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (y2 <= -1.05e+30) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= -1.75e-181) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 1.62e-195) {
tmp = t_2;
} else if (y2 <= 2.6e-105) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_1)));
} else if (y2 <= 5.4e+45) {
tmp = t_2;
} else if (y2 <= 2.9e+79) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (y2 <= 3.6e+133) {
tmp = t_2;
} else {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * 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 = (y0 * y5) - (y1 * y4)
t_2 = j * (((t * ((b * y4) - (i * y5))) + (y3 * t_1)) + (x * ((i * y1) - (b * y0))))
if (y2 <= (-1.02d+114)) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else if (y2 <= (-1.05d+30)) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (y2 <= (-1.75d-181)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y2 <= 1.62d-195) then
tmp = t_2
else if (y2 <= 2.6d-105) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_1)))
else if (y2 <= 5.4d+45) then
tmp = t_2
else if (y2 <= 2.9d+79) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (y2 <= 3.6d+133) then
tmp = t_2
else
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * 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 = (y0 * y5) - (y1 * y4);
double t_2 = j * (((t * ((b * y4) - (i * y5))) + (y3 * t_1)) + (x * ((i * y1) - (b * y0))));
double tmp;
if (y2 <= -1.02e+114) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (y2 <= -1.05e+30) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= -1.75e-181) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 1.62e-195) {
tmp = t_2;
} else if (y2 <= 2.6e-105) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_1)));
} else if (y2 <= 5.4e+45) {
tmp = t_2;
} else if (y2 <= 2.9e+79) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (y2 <= 3.6e+133) {
tmp = t_2;
} else {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y0 * y5) - (y1 * y4) t_2 = j * (((t * ((b * y4) - (i * y5))) + (y3 * t_1)) + (x * ((i * y1) - (b * y0)))) tmp = 0 if y2 <= -1.02e+114: tmp = a * (y2 * ((t * y5) - (x * y1))) elif y2 <= -1.05e+30: tmp = c * (t * ((z * i) - (y2 * y4))) elif y2 <= -1.75e-181: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y2 <= 1.62e-195: tmp = t_2 elif y2 <= 2.6e-105: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_1))) elif y2 <= 5.4e+45: tmp = t_2 elif y2 <= 2.9e+79: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif y2 <= 3.6e+133: tmp = t_2 else: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) t_2 = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * t_1)) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (y2 <= -1.02e+114) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); elseif (y2 <= -1.05e+30) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y2 <= -1.75e-181) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y2 <= 1.62e-195) tmp = t_2; elseif (y2 <= 2.6e-105) 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)))); elseif (y2 <= 5.4e+45) tmp = t_2; elseif (y2 <= 2.9e+79) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (y2 <= 3.6e+133) tmp = t_2; else tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y0 * y5) - (y1 * y4); t_2 = j * (((t * ((b * y4) - (i * y5))) + (y3 * t_1)) + (x * ((i * y1) - (b * y0)))); tmp = 0.0; if (y2 <= -1.02e+114) tmp = a * (y2 * ((t * y5) - (x * y1))); elseif (y2 <= -1.05e+30) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (y2 <= -1.75e-181) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y2 <= 1.62e-195) tmp = t_2; elseif (y2 <= 2.6e-105) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) + (j * t_1))); elseif (y2 <= 5.4e+45) tmp = t_2; elseif (y2 <= 2.9e+79) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (y2 <= 3.6e+133) tmp = t_2; else tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.02e+114], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.05e+30], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.75e-181], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.62e-195], t$95$2, If[LessEqual[y2, 2.6e-105], 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], If[LessEqual[y2, 5.4e+45], t$95$2, If[LessEqual[y2, 2.9e+79], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.6e+133], t$95$2, N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot y5 - y1 \cdot y4\\
t_2 := j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot t\_1\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y2 \leq -1.02 \cdot 10^{+114}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq -1.05 \cdot 10^{+30}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -1.75 \cdot 10^{-181}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 1.62 \cdot 10^{-195}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq 2.6 \cdot 10^{-105}:\\
\;\;\;\;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)\\
\mathbf{elif}\;y2 \leq 5.4 \cdot 10^{+45}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq 2.9 \cdot 10^{+79}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 3.6 \cdot 10^{+133}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -1.01999999999999999e114Initial program 17.5%
Taylor expanded in y2 around inf 47.8%
Taylor expanded in a around -inf 65.6%
associate-*r*65.6%
neg-mul-165.6%
Simplified65.6%
if -1.01999999999999999e114 < y2 < -1.05e30Initial program 46.7%
Taylor expanded in t around inf 54.0%
+-commutative54.0%
mul-1-neg54.0%
unsub-neg54.0%
*-commutative54.0%
Simplified54.0%
Taylor expanded in c around inf 54.5%
mul-1-neg54.5%
+-commutative54.5%
mul-1-neg54.5%
sub-neg54.5%
Simplified54.5%
if -1.05e30 < y2 < -1.74999999999999998e-181Initial program 42.4%
Taylor expanded in b around inf 58.8%
if -1.74999999999999998e-181 < y2 < 1.61999999999999998e-195 or 2.5999999999999999e-105 < y2 < 5.39999999999999968e45 or 2.89999999999999992e79 < y2 < 3.59999999999999978e133Initial program 38.2%
Taylor expanded in j around inf 56.8%
+-commutative56.8%
mul-1-neg56.8%
unsub-neg56.8%
*-commutative56.8%
Simplified56.8%
if 1.61999999999999998e-195 < y2 < 2.5999999999999999e-105Initial program 40.6%
Taylor expanded in y3 around -inf 65.7%
if 5.39999999999999968e45 < y2 < 2.89999999999999992e79Initial program 25.0%
Taylor expanded in k around inf 50.0%
+-commutative50.0%
mul-1-neg50.0%
unsub-neg50.0%
*-commutative50.0%
associate-*r*50.0%
neg-mul-150.0%
Simplified50.0%
Taylor expanded in y4 around inf 59.1%
if 3.59999999999999978e133 < y2 Initial program 25.6%
Taylor expanded in y2 around inf 70.3%
Final simplification61.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* y0 y3) (- (* j y5) (* z c))))
(t_2 (* j (* x (- (* i y1) (* b y0)))))
(t_3 (* y5 (* a (- (* t y2) (* y y3))))))
(if (<= y4 -2.8e+224)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y4 -1.25e+40)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y4 -1.15e-98)
t_3
(if (<= y4 -3.5e-191)
t_2
(if (<= y4 -5.5e-225)
t_1
(if (<= y4 -1.3e-298)
t_2
(if (<= y4 2.4e-225)
t_1
(if (<= y4 2.8e-65)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y4 8.5e+64)
t_3
(if (<= y4 3.6e+143)
(* y2 (* y4 (- (* k y1) (* t c))))
(* b (* y4 (- (* t j) (* y k))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y3) * ((j * y5) - (z * c));
double t_2 = j * (x * ((i * y1) - (b * y0)));
double t_3 = y5 * (a * ((t * y2) - (y * y3)));
double tmp;
if (y4 <= -2.8e+224) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y4 <= -1.25e+40) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y4 <= -1.15e-98) {
tmp = t_3;
} else if (y4 <= -3.5e-191) {
tmp = t_2;
} else if (y4 <= -5.5e-225) {
tmp = t_1;
} else if (y4 <= -1.3e-298) {
tmp = t_2;
} else if (y4 <= 2.4e-225) {
tmp = t_1;
} else if (y4 <= 2.8e-65) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y4 <= 8.5e+64) {
tmp = t_3;
} else if (y4 <= 3.6e+143) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = (y0 * y3) * ((j * y5) - (z * c))
t_2 = j * (x * ((i * y1) - (b * y0)))
t_3 = y5 * (a * ((t * y2) - (y * y3)))
if (y4 <= (-2.8d+224)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y4 <= (-1.25d+40)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y4 <= (-1.15d-98)) then
tmp = t_3
else if (y4 <= (-3.5d-191)) then
tmp = t_2
else if (y4 <= (-5.5d-225)) then
tmp = t_1
else if (y4 <= (-1.3d-298)) then
tmp = t_2
else if (y4 <= 2.4d-225) then
tmp = t_1
else if (y4 <= 2.8d-65) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y4 <= 8.5d+64) then
tmp = t_3
else if (y4 <= 3.6d+143) then
tmp = y2 * (y4 * ((k * y1) - (t * c)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y3) * ((j * y5) - (z * c));
double t_2 = j * (x * ((i * y1) - (b * y0)));
double t_3 = y5 * (a * ((t * y2) - (y * y3)));
double tmp;
if (y4 <= -2.8e+224) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y4 <= -1.25e+40) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y4 <= -1.15e-98) {
tmp = t_3;
} else if (y4 <= -3.5e-191) {
tmp = t_2;
} else if (y4 <= -5.5e-225) {
tmp = t_1;
} else if (y4 <= -1.3e-298) {
tmp = t_2;
} else if (y4 <= 2.4e-225) {
tmp = t_1;
} else if (y4 <= 2.8e-65) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y4 <= 8.5e+64) {
tmp = t_3;
} else if (y4 <= 3.6e+143) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y0 * y3) * ((j * y5) - (z * c)) t_2 = j * (x * ((i * y1) - (b * y0))) t_3 = y5 * (a * ((t * y2) - (y * y3))) tmp = 0 if y4 <= -2.8e+224: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y4 <= -1.25e+40: tmp = k * (y * ((i * y5) - (b * y4))) elif y4 <= -1.15e-98: tmp = t_3 elif y4 <= -3.5e-191: tmp = t_2 elif y4 <= -5.5e-225: tmp = t_1 elif y4 <= -1.3e-298: tmp = t_2 elif y4 <= 2.4e-225: tmp = t_1 elif y4 <= 2.8e-65: tmp = b * (y0 * ((z * k) - (x * j))) elif y4 <= 8.5e+64: tmp = t_3 elif y4 <= 3.6e+143: tmp = y2 * (y4 * ((k * y1) - (t * c))) else: tmp = b * (y4 * ((t * j) - (y * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y0 * y3) * Float64(Float64(j * y5) - Float64(z * c))) t_2 = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) t_3 = Float64(y5 * Float64(a * Float64(Float64(t * y2) - Float64(y * y3)))) tmp = 0.0 if (y4 <= -2.8e+224) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y4 <= -1.25e+40) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y4 <= -1.15e-98) tmp = t_3; elseif (y4 <= -3.5e-191) tmp = t_2; elseif (y4 <= -5.5e-225) tmp = t_1; elseif (y4 <= -1.3e-298) tmp = t_2; elseif (y4 <= 2.4e-225) tmp = t_1; elseif (y4 <= 2.8e-65) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y4 <= 8.5e+64) tmp = t_3; elseif (y4 <= 3.6e+143) tmp = Float64(y2 * Float64(y4 * Float64(Float64(k * y1) - Float64(t * c)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y0 * y3) * ((j * y5) - (z * c)); t_2 = j * (x * ((i * y1) - (b * y0))); t_3 = y5 * (a * ((t * y2) - (y * y3))); tmp = 0.0; if (y4 <= -2.8e+224) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y4 <= -1.25e+40) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y4 <= -1.15e-98) tmp = t_3; elseif (y4 <= -3.5e-191) tmp = t_2; elseif (y4 <= -5.5e-225) tmp = t_1; elseif (y4 <= -1.3e-298) tmp = t_2; elseif (y4 <= 2.4e-225) tmp = t_1; elseif (y4 <= 2.8e-65) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y4 <= 8.5e+64) tmp = t_3; elseif (y4 <= 3.6e+143) tmp = y2 * (y4 * ((k * y1) - (t * c))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y0 * y3), $MachinePrecision] * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y5 * N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -2.8e+224], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.25e+40], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -1.15e-98], t$95$3, If[LessEqual[y4, -3.5e-191], t$95$2, If[LessEqual[y4, -5.5e-225], t$95$1, If[LessEqual[y4, -1.3e-298], t$95$2, If[LessEqual[y4, 2.4e-225], t$95$1, If[LessEqual[y4, 2.8e-65], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 8.5e+64], t$95$3, If[LessEqual[y4, 3.6e+143], N[(y2 * N[(y4 * N[(N[(k * y1), $MachinePrecision] - N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(y0 \cdot y3\right) \cdot \left(j \cdot y5 - z \cdot c\right)\\
t_2 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_3 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;y4 \leq -2.8 \cdot 10^{+224}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq -1.25 \cdot 10^{+40}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq -1.15 \cdot 10^{-98}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y4 \leq -3.5 \cdot 10^{-191}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq -5.5 \cdot 10^{-225}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq -1.3 \cdot 10^{-298}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq 2.4 \cdot 10^{-225}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 2.8 \cdot 10^{-65}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y4 \leq 8.5 \cdot 10^{+64}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y4 \leq 3.6 \cdot 10^{+143}:\\
\;\;\;\;y2 \cdot \left(y4 \cdot \left(k \cdot y1 - t \cdot c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if y4 < -2.80000000000000008e224Initial program 33.7%
Taylor expanded in y2 around inf 54.2%
Taylor expanded in k around inf 74.4%
if -2.80000000000000008e224 < y4 < -1.25000000000000001e40Initial program 35.1%
Taylor expanded in k around inf 54.7%
+-commutative54.7%
mul-1-neg54.7%
unsub-neg54.7%
*-commutative54.7%
associate-*r*54.7%
neg-mul-154.7%
Simplified54.7%
Taylor expanded in y around inf 47.1%
if -1.25000000000000001e40 < y4 < -1.15e-98 or 2.8e-65 < y4 < 8.4999999999999998e64Initial program 39.6%
Taylor expanded in y5 around -inf 52.1%
Taylor expanded in a around inf 54.2%
if -1.15e-98 < y4 < -3.50000000000000007e-191 or -5.5000000000000002e-225 < y4 < -1.2999999999999999e-298Initial program 31.3%
Taylor expanded in j around inf 50.6%
+-commutative50.6%
mul-1-neg50.6%
unsub-neg50.6%
*-commutative50.6%
Simplified50.6%
Taylor expanded in x around inf 63.1%
if -3.50000000000000007e-191 < y4 < -5.5000000000000002e-225 or -1.2999999999999999e-298 < y4 < 2.39999999999999996e-225Initial program 50.3%
Taylor expanded in y3 around -inf 67.9%
Taylor expanded in y0 around inf 58.7%
associate-*r*62.1%
+-commutative62.1%
mul-1-neg62.1%
unsub-neg62.1%
*-commutative62.1%
*-commutative62.1%
Simplified62.1%
if 2.39999999999999996e-225 < y4 < 2.8e-65Initial program 31.0%
Taylor expanded in b around inf 31.9%
Taylor expanded in y0 around inf 42.8%
if 8.4999999999999998e64 < y4 < 3.5999999999999999e143Initial program 30.6%
Taylor expanded in y2 around inf 48.2%
Taylor expanded in y4 around inf 57.0%
if 3.5999999999999999e143 < y4 Initial program 16.7%
Taylor expanded in b around inf 47.4%
Taylor expanded in y4 around inf 61.8%
Final simplification56.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y2 (- (* t y5) (* x y1)))))
(t_2 (* b (* x (- (* y a) (* j y0)))))
(t_3 (* k (* y (- (* i y5) (* b y4))))))
(if (<= y2 -4.5e+112)
t_1
(if (<= y2 -6e+50)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= y2 -5.7e-86)
t_3
(if (<= y2 -1.85e-157)
t_2
(if (<= y2 5.1e-192)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y2 6.5e-160)
(* i (* t (- (* z c) (* j y5))))
(if (<= y2 4.5e-81)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 1.76e-47)
t_2
(if (<= y2 1.35e+29)
(* y3 (* z (- (* a y1) (* c y0))))
(if (<= y2 2.05e+118) t_3 t_1))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y2 * ((t * y5) - (x * y1)));
double t_2 = b * (x * ((y * a) - (j * y0)));
double t_3 = k * (y * ((i * y5) - (b * y4)));
double tmp;
if (y2 <= -4.5e+112) {
tmp = t_1;
} else if (y2 <= -6e+50) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= -5.7e-86) {
tmp = t_3;
} else if (y2 <= -1.85e-157) {
tmp = t_2;
} else if (y2 <= 5.1e-192) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= 6.5e-160) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (y2 <= 4.5e-81) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 1.76e-47) {
tmp = t_2;
} else if (y2 <= 1.35e+29) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y2 <= 2.05e+118) {
tmp = t_3;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = a * (y2 * ((t * y5) - (x * y1)))
t_2 = b * (x * ((y * a) - (j * y0)))
t_3 = k * (y * ((i * y5) - (b * y4)))
if (y2 <= (-4.5d+112)) then
tmp = t_1
else if (y2 <= (-6d+50)) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (y2 <= (-5.7d-86)) then
tmp = t_3
else if (y2 <= (-1.85d-157)) then
tmp = t_2
else if (y2 <= 5.1d-192) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y2 <= 6.5d-160) then
tmp = i * (t * ((z * c) - (j * y5)))
else if (y2 <= 4.5d-81) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 1.76d-47) then
tmp = t_2
else if (y2 <= 1.35d+29) then
tmp = y3 * (z * ((a * y1) - (c * y0)))
else if (y2 <= 2.05d+118) then
tmp = t_3
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y2 * ((t * y5) - (x * y1)));
double t_2 = b * (x * ((y * a) - (j * y0)));
double t_3 = k * (y * ((i * y5) - (b * y4)));
double tmp;
if (y2 <= -4.5e+112) {
tmp = t_1;
} else if (y2 <= -6e+50) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= -5.7e-86) {
tmp = t_3;
} else if (y2 <= -1.85e-157) {
tmp = t_2;
} else if (y2 <= 5.1e-192) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= 6.5e-160) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (y2 <= 4.5e-81) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 1.76e-47) {
tmp = t_2;
} else if (y2 <= 1.35e+29) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y2 <= 2.05e+118) {
tmp = t_3;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y2 * ((t * y5) - (x * y1))) t_2 = b * (x * ((y * a) - (j * y0))) t_3 = k * (y * ((i * y5) - (b * y4))) tmp = 0 if y2 <= -4.5e+112: tmp = t_1 elif y2 <= -6e+50: tmp = c * (t * ((z * i) - (y2 * y4))) elif y2 <= -5.7e-86: tmp = t_3 elif y2 <= -1.85e-157: tmp = t_2 elif y2 <= 5.1e-192: tmp = b * (y4 * ((t * j) - (y * k))) elif y2 <= 6.5e-160: tmp = i * (t * ((z * c) - (j * y5))) elif y2 <= 4.5e-81: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 1.76e-47: tmp = t_2 elif y2 <= 1.35e+29: tmp = y3 * (z * ((a * y1) - (c * y0))) elif y2 <= 2.05e+118: tmp = t_3 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))) t_2 = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))) t_3 = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) tmp = 0.0 if (y2 <= -4.5e+112) tmp = t_1; elseif (y2 <= -6e+50) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y2 <= -5.7e-86) tmp = t_3; elseif (y2 <= -1.85e-157) tmp = t_2; elseif (y2 <= 5.1e-192) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y2 <= 6.5e-160) tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); elseif (y2 <= 4.5e-81) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 1.76e-47) tmp = t_2; elseif (y2 <= 1.35e+29) tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (y2 <= 2.05e+118) tmp = t_3; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y2 * ((t * y5) - (x * y1))); t_2 = b * (x * ((y * a) - (j * y0))); t_3 = k * (y * ((i * y5) - (b * y4))); tmp = 0.0; if (y2 <= -4.5e+112) tmp = t_1; elseif (y2 <= -6e+50) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (y2 <= -5.7e-86) tmp = t_3; elseif (y2 <= -1.85e-157) tmp = t_2; elseif (y2 <= 5.1e-192) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y2 <= 6.5e-160) tmp = i * (t * ((z * c) - (j * y5))); elseif (y2 <= 4.5e-81) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 1.76e-47) tmp = t_2; elseif (y2 <= 1.35e+29) tmp = y3 * (z * ((a * y1) - (c * y0))); elseif (y2 <= 2.05e+118) tmp = t_3; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -4.5e+112], t$95$1, If[LessEqual[y2, -6e+50], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -5.7e-86], t$95$3, If[LessEqual[y2, -1.85e-157], t$95$2, If[LessEqual[y2, 5.1e-192], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.5e-160], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.5e-81], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.76e-47], t$95$2, If[LessEqual[y2, 1.35e+29], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.05e+118], t$95$3, t$95$1]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
t_2 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
t_3 := k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{if}\;y2 \leq -4.5 \cdot 10^{+112}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -6 \cdot 10^{+50}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -5.7 \cdot 10^{-86}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y2 \leq -1.85 \cdot 10^{-157}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq 5.1 \cdot 10^{-192}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y2 \leq 6.5 \cdot 10^{-160}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 4.5 \cdot 10^{-81}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 1.76 \cdot 10^{-47}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq 1.35 \cdot 10^{+29}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 2.05 \cdot 10^{+118}:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -4.4999999999999999e112 or 2.0499999999999999e118 < y2 Initial program 22.2%
Taylor expanded in y2 around inf 58.7%
Taylor expanded in a around -inf 62.7%
associate-*r*62.7%
neg-mul-162.7%
Simplified62.7%
if -4.4999999999999999e112 < y2 < -5.9999999999999996e50Initial program 46.2%
Taylor expanded in t around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
Simplified54.6%
Taylor expanded in c around inf 62.7%
mul-1-neg62.7%
+-commutative62.7%
mul-1-neg62.7%
sub-neg62.7%
Simplified62.7%
if -5.9999999999999996e50 < y2 < -5.7000000000000004e-86 or 1.35e29 < y2 < 2.0499999999999999e118Initial program 37.8%
Taylor expanded in k around inf 51.4%
+-commutative51.4%
mul-1-neg51.4%
unsub-neg51.4%
*-commutative51.4%
associate-*r*51.4%
neg-mul-151.4%
Simplified51.4%
Taylor expanded in y around inf 49.4%
if -5.7000000000000004e-86 < y2 < -1.8499999999999999e-157 or 4.5e-81 < y2 < 1.7600000000000001e-47Initial program 30.4%
Taylor expanded in b around inf 48.9%
Taylor expanded in x around inf 62.8%
if -1.8499999999999999e-157 < y2 < 5.1000000000000002e-192Initial program 34.9%
Taylor expanded in b around inf 42.0%
Taylor expanded in y4 around inf 39.6%
if 5.1000000000000002e-192 < y2 < 6.4999999999999996e-160Initial program 51.8%
Taylor expanded in t around inf 53.5%
+-commutative53.5%
mul-1-neg53.5%
unsub-neg53.5%
*-commutative53.5%
Simplified53.5%
Taylor expanded in i around -inf 84.1%
mul-1-neg84.1%
Simplified84.1%
if 6.4999999999999996e-160 < y2 < 4.5e-81Initial program 42.9%
Taylor expanded in t around inf 28.9%
+-commutative28.9%
mul-1-neg28.9%
unsub-neg28.9%
*-commutative28.9%
Simplified28.9%
Taylor expanded in j around inf 64.9%
if 1.7600000000000001e-47 < y2 < 1.35e29Initial program 56.2%
Taylor expanded in y3 around -inf 56.7%
Taylor expanded in z around inf 50.8%
Final simplification55.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0)))))))
(if (<= y2 -3.8e+106)
(* a (* y2 (- (* t y5) (* x y1))))
(if (<= y2 -1.8e+30)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= y2 -3.3e-175)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y2 7.5e+45)
t_1
(if (<= y2 3.5e+82)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= y2 1.5e+128)
t_1
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t (- (* a y5) (* c 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 = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
double tmp;
if (y2 <= -3.8e+106) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (y2 <= -1.8e+30) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= -3.3e-175) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 7.5e+45) {
tmp = t_1;
} else if (y2 <= 3.5e+82) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (y2 <= 1.5e+128) {
tmp = t_1;
} else {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))))
if (y2 <= (-3.8d+106)) then
tmp = a * (y2 * ((t * y5) - (x * y1)))
else if (y2 <= (-1.8d+30)) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (y2 <= (-3.3d-175)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y2 <= 7.5d+45) then
tmp = t_1
else if (y2 <= 3.5d+82) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (y2 <= 1.5d+128) then
tmp = t_1
else
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * 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 = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
double tmp;
if (y2 <= -3.8e+106) {
tmp = a * (y2 * ((t * y5) - (x * y1)));
} else if (y2 <= -1.8e+30) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= -3.3e-175) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 7.5e+45) {
tmp = t_1;
} else if (y2 <= 3.5e+82) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (y2 <= 1.5e+128) {
tmp = t_1;
} else {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) tmp = 0 if y2 <= -3.8e+106: tmp = a * (y2 * ((t * y5) - (x * y1))) elif y2 <= -1.8e+30: tmp = c * (t * ((z * i) - (y2 * y4))) elif y2 <= -3.3e-175: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y2 <= 7.5e+45: tmp = t_1 elif y2 <= 3.5e+82: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif y2 <= 1.5e+128: tmp = t_1 else: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * y4)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (y2 <= -3.8e+106) tmp = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))); elseif (y2 <= -1.8e+30) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y2 <= -3.3e-175) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y2 <= 7.5e+45) tmp = t_1; elseif (y2 <= 3.5e+82) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (y2 <= 1.5e+128) tmp = t_1; else tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); tmp = 0.0; if (y2 <= -3.8e+106) tmp = a * (y2 * ((t * y5) - (x * y1))); elseif (y2 <= -1.8e+30) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (y2 <= -3.3e-175) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y2 <= 7.5e+45) tmp = t_1; elseif (y2 <= 3.5e+82) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (y2 <= 1.5e+128) tmp = t_1; else tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) + (t * ((a * y5) - (c * 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[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -3.8e+106], N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.8e+30], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.3e-175], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.5e+45], t$95$1, If[LessEqual[y2, 3.5e+82], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.5e+128], t$95$1, N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y2 \leq -3.8 \cdot 10^{+106}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq -1.8 \cdot 10^{+30}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -3.3 \cdot 10^{-175}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+45}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 3.5 \cdot 10^{+82}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 1.5 \cdot 10^{+128}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -3.7999999999999998e106Initial program 17.5%
Taylor expanded in y2 around inf 47.8%
Taylor expanded in a around -inf 65.6%
associate-*r*65.6%
neg-mul-165.6%
Simplified65.6%
if -3.7999999999999998e106 < y2 < -1.8000000000000001e30Initial program 46.7%
Taylor expanded in t around inf 54.0%
+-commutative54.0%
mul-1-neg54.0%
unsub-neg54.0%
*-commutative54.0%
Simplified54.0%
Taylor expanded in c around inf 54.5%
mul-1-neg54.5%
+-commutative54.5%
mul-1-neg54.5%
sub-neg54.5%
Simplified54.5%
if -1.8000000000000001e30 < y2 < -3.29999999999999999e-175Initial program 42.4%
Taylor expanded in b around inf 58.8%
if -3.29999999999999999e-175 < y2 < 7.50000000000000058e45 or 3.5e82 < y2 < 1.4999999999999999e128Initial program 38.6%
Taylor expanded in j around inf 54.0%
+-commutative54.0%
mul-1-neg54.0%
unsub-neg54.0%
*-commutative54.0%
Simplified54.0%
if 7.50000000000000058e45 < y2 < 3.5e82Initial program 25.0%
Taylor expanded in k around inf 50.0%
+-commutative50.0%
mul-1-neg50.0%
unsub-neg50.0%
*-commutative50.0%
associate-*r*50.0%
neg-mul-150.0%
Simplified50.0%
Taylor expanded in y4 around inf 59.1%
if 1.4999999999999999e128 < y2 Initial program 25.6%
Taylor expanded in y2 around inf 70.3%
Final simplification59.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y2 (- (* t y5) (* x y1)))))
(t_2
(*
j
(+
(+ (* t (- (* b y4) (* i y5))) (* y3 (- (* y0 y5) (* y1 y4))))
(* x (- (* i y1) (* b y0)))))))
(if (<= y2 -1.6e+116)
t_1
(if (<= y2 -8.5e+29)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= y2 -1.7e-178)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y2 8.5e+45)
t_2
(if (<= y2 9.2e+85)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= y2 1.4e+134)
t_2
(if (<= y2 1.8e+272)
t_1
(* c (* t (* y4 (- (* i (/ z y4)) 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 = a * (y2 * ((t * y5) - (x * y1)));
double t_2 = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
double tmp;
if (y2 <= -1.6e+116) {
tmp = t_1;
} else if (y2 <= -8.5e+29) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= -1.7e-178) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 8.5e+45) {
tmp = t_2;
} else if (y2 <= 9.2e+85) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (y2 <= 1.4e+134) {
tmp = t_2;
} else if (y2 <= 1.8e+272) {
tmp = t_1;
} else {
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * (y2 * ((t * y5) - (x * y1)))
t_2 = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))))
if (y2 <= (-1.6d+116)) then
tmp = t_1
else if (y2 <= (-8.5d+29)) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (y2 <= (-1.7d-178)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y2 <= 8.5d+45) then
tmp = t_2
else if (y2 <= 9.2d+85) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (y2 <= 1.4d+134) then
tmp = t_2
else if (y2 <= 1.8d+272) then
tmp = t_1
else
tmp = c * (t * (y4 * ((i * (z / y4)) - 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 = a * (y2 * ((t * y5) - (x * y1)));
double t_2 = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0))));
double tmp;
if (y2 <= -1.6e+116) {
tmp = t_1;
} else if (y2 <= -8.5e+29) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= -1.7e-178) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 8.5e+45) {
tmp = t_2;
} else if (y2 <= 9.2e+85) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (y2 <= 1.4e+134) {
tmp = t_2;
} else if (y2 <= 1.8e+272) {
tmp = t_1;
} else {
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y2 * ((t * y5) - (x * y1))) t_2 = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))) tmp = 0 if y2 <= -1.6e+116: tmp = t_1 elif y2 <= -8.5e+29: tmp = c * (t * ((z * i) - (y2 * y4))) elif y2 <= -1.7e-178: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y2 <= 8.5e+45: tmp = t_2 elif y2 <= 9.2e+85: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif y2 <= 1.4e+134: tmp = t_2 elif y2 <= 1.8e+272: tmp = t_1 else: tmp = c * (t * (y4 * ((i * (z / y4)) - y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))) t_2 = Float64(j * Float64(Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (y2 <= -1.6e+116) tmp = t_1; elseif (y2 <= -8.5e+29) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y2 <= -1.7e-178) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y2 <= 8.5e+45) tmp = t_2; elseif (y2 <= 9.2e+85) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (y2 <= 1.4e+134) tmp = t_2; elseif (y2 <= 1.8e+272) tmp = t_1; else tmp = Float64(c * Float64(t * Float64(y4 * Float64(Float64(i * Float64(z / y4)) - 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 = a * (y2 * ((t * y5) - (x * y1))); t_2 = j * (((t * ((b * y4) - (i * y5))) + (y3 * ((y0 * y5) - (y1 * y4)))) + (x * ((i * y1) - (b * y0)))); tmp = 0.0; if (y2 <= -1.6e+116) tmp = t_1; elseif (y2 <= -8.5e+29) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (y2 <= -1.7e-178) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y2 <= 8.5e+45) tmp = t_2; elseif (y2 <= 9.2e+85) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (y2 <= 1.4e+134) tmp = t_2; elseif (y2 <= 1.8e+272) tmp = t_1; else tmp = c * (t * (y4 * ((i * (z / y4)) - 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[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.6e+116], t$95$1, If[LessEqual[y2, -8.5e+29], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.7e-178], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8.5e+45], t$95$2, If[LessEqual[y2, 9.2e+85], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.4e+134], t$95$2, If[LessEqual[y2, 1.8e+272], t$95$1, N[(c * N[(t * N[(y4 * N[(N[(i * N[(z / y4), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
t_2 := j \cdot \left(\left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y2 \leq -1.6 \cdot 10^{+116}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -8.5 \cdot 10^{+29}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -1.7 \cdot 10^{-178}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 8.5 \cdot 10^{+45}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq 9.2 \cdot 10^{+85}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 1.4 \cdot 10^{+134}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq 1.8 \cdot 10^{+272}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y4 \cdot \left(i \cdot \frac{z}{y4} - y2\right)\right)\right)\\
\end{array}
\end{array}
if y2 < -1.6e116 or 1.3999999999999999e134 < y2 < 1.7999999999999999e272Initial program 21.4%
Taylor expanded in y2 around inf 57.9%
Taylor expanded in a around -inf 66.8%
associate-*r*66.8%
neg-mul-166.8%
Simplified66.8%
if -1.6e116 < y2 < -8.5000000000000006e29Initial program 46.7%
Taylor expanded in t around inf 54.0%
+-commutative54.0%
mul-1-neg54.0%
unsub-neg54.0%
*-commutative54.0%
Simplified54.0%
Taylor expanded in c around inf 54.5%
mul-1-neg54.5%
+-commutative54.5%
mul-1-neg54.5%
sub-neg54.5%
Simplified54.5%
if -8.5000000000000006e29 < y2 < -1.69999999999999986e-178Initial program 42.4%
Taylor expanded in b around inf 58.8%
if -1.69999999999999986e-178 < y2 < 8.4999999999999996e45 or 9.1999999999999996e85 < y2 < 1.3999999999999999e134Initial program 38.6%
Taylor expanded in j around inf 54.0%
+-commutative54.0%
mul-1-neg54.0%
unsub-neg54.0%
*-commutative54.0%
Simplified54.0%
if 8.4999999999999996e45 < y2 < 9.1999999999999996e85Initial program 25.0%
Taylor expanded in k around inf 50.0%
+-commutative50.0%
mul-1-neg50.0%
unsub-neg50.0%
*-commutative50.0%
associate-*r*50.0%
neg-mul-150.0%
Simplified50.0%
Taylor expanded in y4 around inf 59.1%
if 1.7999999999999999e272 < y2 Initial program 22.2%
Taylor expanded in t around inf 33.8%
+-commutative33.8%
mul-1-neg33.8%
unsub-neg33.8%
*-commutative33.8%
Simplified33.8%
Taylor expanded in c around inf 78.0%
mul-1-neg78.0%
+-commutative78.0%
mul-1-neg78.0%
sub-neg78.0%
Simplified78.0%
Taylor expanded in y4 around inf 78.0%
mul-1-neg78.0%
unsub-neg78.0%
associate-/l*89.0%
Simplified89.0%
Final simplification59.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y2 (- (* t y5) (* x y1))))))
(if (<= y2 -2e+108)
t_1
(if (<= y2 -1.1e+30)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= y2 6e-169)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y2 6.4e-86)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 4e-50)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 1.45e+48)
(*
c
(+
(+ (* y0 (- (* x y2) (* z y3))) (* i (- (* z t) (* x y))))
(* y4 (- (* y y3) (* t y2)))))
(if (<= y2 2.45e+91)
(* k (* b (- (* z y0) (* y y4))))
(if (<= y2 3e+169)
(* y5 (* a (- (* t y2) (* y y3))))
(if (<= y2 7.2e+272)
t_1
(* c (* t (* y4 (- (* i (/ z y4)) 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 = a * (y2 * ((t * y5) - (x * y1)));
double tmp;
if (y2 <= -2e+108) {
tmp = t_1;
} else if (y2 <= -1.1e+30) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= 6e-169) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 6.4e-86) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 4e-50) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.45e+48) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (y2 <= 2.45e+91) {
tmp = k * (b * ((z * y0) - (y * y4)));
} else if (y2 <= 3e+169) {
tmp = y5 * (a * ((t * y2) - (y * y3)));
} else if (y2 <= 7.2e+272) {
tmp = t_1;
} else {
tmp = c * (t * (y4 * ((i * (z / y4)) - 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 = a * (y2 * ((t * y5) - (x * y1)))
if (y2 <= (-2d+108)) then
tmp = t_1
else if (y2 <= (-1.1d+30)) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (y2 <= 6d-169) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y2 <= 6.4d-86) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 4d-50) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 1.45d+48) then
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))))
else if (y2 <= 2.45d+91) then
tmp = k * (b * ((z * y0) - (y * y4)))
else if (y2 <= 3d+169) then
tmp = y5 * (a * ((t * y2) - (y * y3)))
else if (y2 <= 7.2d+272) then
tmp = t_1
else
tmp = c * (t * (y4 * ((i * (z / y4)) - 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 = a * (y2 * ((t * y5) - (x * y1)));
double tmp;
if (y2 <= -2e+108) {
tmp = t_1;
} else if (y2 <= -1.1e+30) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= 6e-169) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 6.4e-86) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 4e-50) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.45e+48) {
tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2))));
} else if (y2 <= 2.45e+91) {
tmp = k * (b * ((z * y0) - (y * y4)));
} else if (y2 <= 3e+169) {
tmp = y5 * (a * ((t * y2) - (y * y3)));
} else if (y2 <= 7.2e+272) {
tmp = t_1;
} else {
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y2 * ((t * y5) - (x * y1))) tmp = 0 if y2 <= -2e+108: tmp = t_1 elif y2 <= -1.1e+30: tmp = c * (t * ((z * i) - (y2 * y4))) elif y2 <= 6e-169: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y2 <= 6.4e-86: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 4e-50: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 1.45e+48: tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))) elif y2 <= 2.45e+91: tmp = k * (b * ((z * y0) - (y * y4))) elif y2 <= 3e+169: tmp = y5 * (a * ((t * y2) - (y * y3))) elif y2 <= 7.2e+272: tmp = t_1 else: tmp = c * (t * (y4 * ((i * (z / y4)) - y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))) tmp = 0.0 if (y2 <= -2e+108) tmp = t_1; elseif (y2 <= -1.1e+30) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y2 <= 6e-169) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y2 <= 6.4e-86) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 4e-50) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 1.45e+48) tmp = Float64(c * Float64(Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(i * Float64(Float64(z * t) - Float64(x * y)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y2 <= 2.45e+91) tmp = Float64(k * Float64(b * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (y2 <= 3e+169) tmp = Float64(y5 * Float64(a * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y2 <= 7.2e+272) tmp = t_1; else tmp = Float64(c * Float64(t * Float64(y4 * Float64(Float64(i * Float64(z / y4)) - 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 = a * (y2 * ((t * y5) - (x * y1))); tmp = 0.0; if (y2 <= -2e+108) tmp = t_1; elseif (y2 <= -1.1e+30) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (y2 <= 6e-169) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y2 <= 6.4e-86) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 4e-50) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 1.45e+48) tmp = c * (((y0 * ((x * y2) - (z * y3))) + (i * ((z * t) - (x * y)))) + (y4 * ((y * y3) - (t * y2)))); elseif (y2 <= 2.45e+91) tmp = k * (b * ((z * y0) - (y * y4))); elseif (y2 <= 3e+169) tmp = y5 * (a * ((t * y2) - (y * y3))); elseif (y2 <= 7.2e+272) tmp = t_1; else tmp = c * (t * (y4 * ((i * (z / y4)) - 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[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2e+108], t$95$1, If[LessEqual[y2, -1.1e+30], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6e-169], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.4e-86], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4e-50], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.45e+48], N[(c * N[(N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.45e+91], N[(k * N[(b * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3e+169], N[(y5 * N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.2e+272], t$95$1, N[(c * N[(t * N[(y4 * N[(N[(i * N[(z / y4), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{if}\;y2 \leq -2 \cdot 10^{+108}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -1.1 \cdot 10^{+30}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 6 \cdot 10^{-169}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 6.4 \cdot 10^{-86}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 4 \cdot 10^{-50}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.45 \cdot 10^{+48}:\\
\;\;\;\;c \cdot \left(\left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + i \cdot \left(z \cdot t - x \cdot y\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq 2.45 \cdot 10^{+91}:\\
\;\;\;\;k \cdot \left(b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq 3 \cdot 10^{+169}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 7.2 \cdot 10^{+272}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y4 \cdot \left(i \cdot \frac{z}{y4} - y2\right)\right)\right)\\
\end{array}
\end{array}
if y2 < -2.0000000000000001e108 or 3e169 < y2 < 7.1999999999999995e272Initial program 18.0%
Taylor expanded in y2 around inf 59.2%
Taylor expanded in a around -inf 69.4%
associate-*r*69.4%
neg-mul-169.4%
Simplified69.4%
if -2.0000000000000001e108 < y2 < -1.1e30Initial program 46.7%
Taylor expanded in t around inf 54.0%
+-commutative54.0%
mul-1-neg54.0%
unsub-neg54.0%
*-commutative54.0%
Simplified54.0%
Taylor expanded in c around inf 54.5%
mul-1-neg54.5%
+-commutative54.5%
mul-1-neg54.5%
sub-neg54.5%
Simplified54.5%
if -1.1e30 < y2 < 5.9999999999999998e-169Initial program 36.6%
Taylor expanded in b around inf 46.4%
if 5.9999999999999998e-169 < y2 < 6.40000000000000011e-86Initial program 50.0%
Taylor expanded in t around inf 31.8%
+-commutative31.8%
mul-1-neg31.8%
unsub-neg31.8%
*-commutative31.8%
Simplified31.8%
Taylor expanded in j around inf 63.3%
if 6.40000000000000011e-86 < y2 < 4.00000000000000003e-50Initial program 30.0%
Taylor expanded in b around inf 50.8%
Taylor expanded in x around inf 61.0%
if 4.00000000000000003e-50 < y2 < 1.4499999999999999e48Initial program 45.3%
Taylor expanded in c around inf 54.9%
+-commutative54.9%
mul-1-neg54.9%
unsub-neg54.9%
*-commutative54.9%
*-commutative54.9%
*-commutative54.9%
*-commutative54.9%
Simplified54.9%
if 1.4499999999999999e48 < y2 < 2.45000000000000015e91Initial program 35.7%
Taylor expanded in k around inf 50.0%
+-commutative50.0%
mul-1-neg50.0%
unsub-neg50.0%
*-commutative50.0%
associate-*r*50.0%
neg-mul-150.0%
Simplified50.0%
Taylor expanded in b around inf 58.3%
mul-1-neg58.3%
+-commutative58.3%
mul-1-neg58.3%
sub-neg58.3%
Simplified58.3%
if 2.45000000000000015e91 < y2 < 3e169Initial program 40.0%
Taylor expanded in y5 around -inf 55.0%
Taylor expanded in a around inf 61.8%
if 7.1999999999999995e272 < y2 Initial program 22.2%
Taylor expanded in t around inf 33.8%
+-commutative33.8%
mul-1-neg33.8%
unsub-neg33.8%
*-commutative33.8%
Simplified33.8%
Taylor expanded in c around inf 78.0%
mul-1-neg78.0%
+-commutative78.0%
mul-1-neg78.0%
sub-neg78.0%
Simplified78.0%
Taylor expanded in y4 around inf 78.0%
mul-1-neg78.0%
unsub-neg78.0%
associate-/l*89.0%
Simplified89.0%
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 (* y3 (* z (- (* a y1) (* c y0))))))
(if (<= k -6.8e+177)
(* y2 (* y4 (- (* k y1) (* t c))))
(if (<= k -2.2e-113)
(* j (* t (- (* b y4) (* i y5))))
(if (<= k -8.5e-206)
t_1
(if (<= k -7.5e-292)
(* b (* a (- (* x y) (* z t))))
(if (<= k 5.4e-173)
(* y5 (* a (- (* t y2) (* y y3))))
(if (<= k 3.1e-21)
(* c (* t (* y4 (- (* i (/ z y4)) y2))))
(if (<= k 1.9e+134)
t_1
(if (<= k 1.15e+198)
(* k (* y5 (- (* y i) (* y0 y2))))
(if (<= k 5e+267)
(* k (* b (- (* z y0) (* y y4))))
(* b (* y4 (- (* t j) (* y k)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * (z * ((a * y1) - (c * y0)));
double tmp;
if (k <= -6.8e+177) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (k <= -2.2e-113) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= -8.5e-206) {
tmp = t_1;
} else if (k <= -7.5e-292) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (k <= 5.4e-173) {
tmp = y5 * (a * ((t * y2) - (y * y3)));
} else if (k <= 3.1e-21) {
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)));
} else if (k <= 1.9e+134) {
tmp = t_1;
} else if (k <= 1.15e+198) {
tmp = k * (y5 * ((y * i) - (y0 * y2)));
} else if (k <= 5e+267) {
tmp = k * (b * ((z * y0) - (y * y4)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y3 * (z * ((a * y1) - (c * y0)))
if (k <= (-6.8d+177)) then
tmp = y2 * (y4 * ((k * y1) - (t * c)))
else if (k <= (-2.2d-113)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (k <= (-8.5d-206)) then
tmp = t_1
else if (k <= (-7.5d-292)) then
tmp = b * (a * ((x * y) - (z * t)))
else if (k <= 5.4d-173) then
tmp = y5 * (a * ((t * y2) - (y * y3)))
else if (k <= 3.1d-21) then
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)))
else if (k <= 1.9d+134) then
tmp = t_1
else if (k <= 1.15d+198) then
tmp = k * (y5 * ((y * i) - (y0 * y2)))
else if (k <= 5d+267) then
tmp = k * (b * ((z * y0) - (y * y4)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * (z * ((a * y1) - (c * y0)));
double tmp;
if (k <= -6.8e+177) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (k <= -2.2e-113) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= -8.5e-206) {
tmp = t_1;
} else if (k <= -7.5e-292) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (k <= 5.4e-173) {
tmp = y5 * (a * ((t * y2) - (y * y3)));
} else if (k <= 3.1e-21) {
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)));
} else if (k <= 1.9e+134) {
tmp = t_1;
} else if (k <= 1.15e+198) {
tmp = k * (y5 * ((y * i) - (y0 * y2)));
} else if (k <= 5e+267) {
tmp = k * (b * ((z * y0) - (y * y4)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y3 * (z * ((a * y1) - (c * y0))) tmp = 0 if k <= -6.8e+177: tmp = y2 * (y4 * ((k * y1) - (t * c))) elif k <= -2.2e-113: tmp = j * (t * ((b * y4) - (i * y5))) elif k <= -8.5e-206: tmp = t_1 elif k <= -7.5e-292: tmp = b * (a * ((x * y) - (z * t))) elif k <= 5.4e-173: tmp = y5 * (a * ((t * y2) - (y * y3))) elif k <= 3.1e-21: tmp = c * (t * (y4 * ((i * (z / y4)) - y2))) elif k <= 1.9e+134: tmp = t_1 elif k <= 1.15e+198: tmp = k * (y5 * ((y * i) - (y0 * y2))) elif k <= 5e+267: tmp = k * (b * ((z * y0) - (y * y4))) else: tmp = b * (y4 * ((t * j) - (y * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))) tmp = 0.0 if (k <= -6.8e+177) tmp = Float64(y2 * Float64(y4 * Float64(Float64(k * y1) - Float64(t * c)))); elseif (k <= -2.2e-113) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (k <= -8.5e-206) tmp = t_1; elseif (k <= -7.5e-292) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (k <= 5.4e-173) tmp = Float64(y5 * Float64(a * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (k <= 3.1e-21) tmp = Float64(c * Float64(t * Float64(y4 * Float64(Float64(i * Float64(z / y4)) - y2)))); elseif (k <= 1.9e+134) tmp = t_1; elseif (k <= 1.15e+198) tmp = Float64(k * Float64(y5 * Float64(Float64(y * i) - Float64(y0 * y2)))); elseif (k <= 5e+267) tmp = Float64(k * Float64(b * Float64(Float64(z * y0) - Float64(y * y4)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y3 * (z * ((a * y1) - (c * y0))); tmp = 0.0; if (k <= -6.8e+177) tmp = y2 * (y4 * ((k * y1) - (t * c))); elseif (k <= -2.2e-113) tmp = j * (t * ((b * y4) - (i * y5))); elseif (k <= -8.5e-206) tmp = t_1; elseif (k <= -7.5e-292) tmp = b * (a * ((x * y) - (z * t))); elseif (k <= 5.4e-173) tmp = y5 * (a * ((t * y2) - (y * y3))); elseif (k <= 3.1e-21) tmp = c * (t * (y4 * ((i * (z / y4)) - y2))); elseif (k <= 1.9e+134) tmp = t_1; elseif (k <= 1.15e+198) tmp = k * (y5 * ((y * i) - (y0 * y2))); elseif (k <= 5e+267) tmp = k * (b * ((z * y0) - (y * y4))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -6.8e+177], N[(y2 * N[(y4 * N[(N[(k * y1), $MachinePrecision] - N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -2.2e-113], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -8.5e-206], t$95$1, If[LessEqual[k, -7.5e-292], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 5.4e-173], N[(y5 * N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 3.1e-21], N[(c * N[(t * N[(y4 * N[(N[(i * N[(z / y4), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.9e+134], t$95$1, If[LessEqual[k, 1.15e+198], N[(k * N[(y5 * N[(N[(y * i), $MachinePrecision] - N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 5e+267], N[(k * N[(b * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{if}\;k \leq -6.8 \cdot 10^{+177}:\\
\;\;\;\;y2 \cdot \left(y4 \cdot \left(k \cdot y1 - t \cdot c\right)\right)\\
\mathbf{elif}\;k \leq -2.2 \cdot 10^{-113}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq -8.5 \cdot 10^{-206}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -7.5 \cdot 10^{-292}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;k \leq 5.4 \cdot 10^{-173}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;k \leq 3.1 \cdot 10^{-21}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y4 \cdot \left(i \cdot \frac{z}{y4} - y2\right)\right)\right)\\
\mathbf{elif}\;k \leq 1.9 \cdot 10^{+134}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 1.15 \cdot 10^{+198}:\\
\;\;\;\;k \cdot \left(y5 \cdot \left(y \cdot i - y0 \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq 5 \cdot 10^{+267}:\\
\;\;\;\;k \cdot \left(b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if k < -6.7999999999999996e177Initial program 20.8%
Taylor expanded in y2 around inf 45.9%
Taylor expanded in y4 around inf 63.1%
if -6.7999999999999996e177 < k < -2.20000000000000004e-113Initial program 28.1%
Taylor expanded in t around inf 36.3%
+-commutative36.3%
mul-1-neg36.3%
unsub-neg36.3%
*-commutative36.3%
Simplified36.3%
Taylor expanded in j around inf 45.6%
if -2.20000000000000004e-113 < k < -8.5000000000000005e-206 or 3.0999999999999998e-21 < k < 1.89999999999999999e134Initial program 41.8%
Taylor expanded in y3 around -inf 59.1%
Taylor expanded in z around inf 50.3%
if -8.5000000000000005e-206 < k < -7.5000000000000002e-292Initial program 45.1%
Taylor expanded in b around inf 73.4%
Taylor expanded in a around inf 67.6%
if -7.5000000000000002e-292 < k < 5.3999999999999999e-173Initial program 33.6%
Taylor expanded in y5 around -inf 51.5%
Taylor expanded in a around inf 48.4%
if 5.3999999999999999e-173 < k < 3.0999999999999998e-21Initial program 43.3%
Taylor expanded in t around inf 50.9%
+-commutative50.9%
mul-1-neg50.9%
unsub-neg50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in c around inf 51.0%
mul-1-neg51.0%
+-commutative51.0%
mul-1-neg51.0%
sub-neg51.0%
Simplified51.0%
Taylor expanded in y4 around inf 57.4%
mul-1-neg57.4%
unsub-neg57.4%
associate-/l*57.4%
Simplified57.4%
if 1.89999999999999999e134 < k < 1.15e198Initial program 33.3%
Taylor expanded in k around inf 39.7%
+-commutative39.7%
mul-1-neg39.7%
unsub-neg39.7%
*-commutative39.7%
associate-*r*39.7%
neg-mul-139.7%
Simplified39.7%
Taylor expanded in y5 around -inf 61.9%
mul-1-neg61.9%
Simplified61.9%
if 1.15e198 < k < 4.9999999999999999e267Initial program 15.8%
Taylor expanded in k around inf 57.9%
+-commutative57.9%
mul-1-neg57.9%
unsub-neg57.9%
*-commutative57.9%
associate-*r*57.9%
neg-mul-157.9%
Simplified57.9%
Taylor expanded in b around inf 68.8%
mul-1-neg68.8%
+-commutative68.8%
mul-1-neg68.8%
sub-neg68.8%
Simplified68.8%
if 4.9999999999999999e267 < k Initial program 37.5%
Taylor expanded in b around inf 62.5%
Taylor expanded in y4 around inf 63.3%
Final simplification54.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* t (- (* b y4) (* i y5))))))
(if (<= t -1.45e+50)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= t -1.02e-108)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= t -1.75e-149)
t_1
(if (<= t 1.8e-227)
(* k (* y (- (* i y5) (* b y4))))
(if (<= t 5.1e-62)
(* b (* x (- (* y a) (* j y0))))
(if (<= t 820.0)
(* k (* b (- (* z y0) (* y y4))))
(if (<= t 2.2e+18)
(* b (* j (- (* t y4) (* x y0))))
(if (<= t 1.4e+115)
(* k (* y1 (- (* y2 y4) (* z i))))
(if (<= t 2.3e+244)
t_1
(* i (* t (- (* z c) (* j y5)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -1.45e+50) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (t <= -1.02e-108) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (t <= -1.75e-149) {
tmp = t_1;
} else if (t <= 1.8e-227) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (t <= 5.1e-62) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 820.0) {
tmp = k * (b * ((z * y0) - (y * y4)));
} else if (t <= 2.2e+18) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (t <= 1.4e+115) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else if (t <= 2.3e+244) {
tmp = t_1;
} else {
tmp = i * (t * ((z * c) - (j * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (t * ((b * y4) - (i * y5)))
if (t <= (-1.45d+50)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (t <= (-1.02d-108)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (t <= (-1.75d-149)) then
tmp = t_1
else if (t <= 1.8d-227) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (t <= 5.1d-62) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (t <= 820.0d0) then
tmp = k * (b * ((z * y0) - (y * y4)))
else if (t <= 2.2d+18) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (t <= 1.4d+115) then
tmp = k * (y1 * ((y2 * y4) - (z * i)))
else if (t <= 2.3d+244) then
tmp = t_1
else
tmp = i * (t * ((z * c) - (j * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -1.45e+50) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (t <= -1.02e-108) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (t <= -1.75e-149) {
tmp = t_1;
} else if (t <= 1.8e-227) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (t <= 5.1e-62) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 820.0) {
tmp = k * (b * ((z * y0) - (y * y4)));
} else if (t <= 2.2e+18) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (t <= 1.4e+115) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else if (t <= 2.3e+244) {
tmp = t_1;
} else {
tmp = i * (t * ((z * c) - (j * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (t * ((b * y4) - (i * y5))) tmp = 0 if t <= -1.45e+50: tmp = t * (y2 * ((a * y5) - (c * y4))) elif t <= -1.02e-108: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif t <= -1.75e-149: tmp = t_1 elif t <= 1.8e-227: tmp = k * (y * ((i * y5) - (b * y4))) elif t <= 5.1e-62: tmp = b * (x * ((y * a) - (j * y0))) elif t <= 820.0: tmp = k * (b * ((z * y0) - (y * y4))) elif t <= 2.2e+18: tmp = b * (j * ((t * y4) - (x * y0))) elif t <= 1.4e+115: tmp = k * (y1 * ((y2 * y4) - (z * i))) elif t <= 2.3e+244: tmp = t_1 else: tmp = i * (t * ((z * c) - (j * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) tmp = 0.0 if (t <= -1.45e+50) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (t <= -1.02e-108) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (t <= -1.75e-149) tmp = t_1; elseif (t <= 1.8e-227) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (t <= 5.1e-62) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (t <= 820.0) tmp = Float64(k * Float64(b * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (t <= 2.2e+18) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (t <= 1.4e+115) tmp = Float64(k * Float64(y1 * Float64(Float64(y2 * y4) - Float64(z * i)))); elseif (t <= 2.3e+244) tmp = t_1; else tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (t * ((b * y4) - (i * y5))); tmp = 0.0; if (t <= -1.45e+50) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (t <= -1.02e-108) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (t <= -1.75e-149) tmp = t_1; elseif (t <= 1.8e-227) tmp = k * (y * ((i * y5) - (b * y4))); elseif (t <= 5.1e-62) tmp = b * (x * ((y * a) - (j * y0))); elseif (t <= 820.0) tmp = k * (b * ((z * y0) - (y * y4))); elseif (t <= 2.2e+18) tmp = b * (j * ((t * y4) - (x * y0))); elseif (t <= 1.4e+115) tmp = k * (y1 * ((y2 * y4) - (z * i))); elseif (t <= 2.3e+244) tmp = t_1; else tmp = i * (t * ((z * c) - (j * y5))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.45e+50], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.02e-108], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.75e-149], t$95$1, If[LessEqual[t, 1.8e-227], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.1e-62], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 820.0], N[(k * N[(b * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.2e+18], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.4e+115], N[(k * N[(y1 * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.3e+244], t$95$1, N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{if}\;t \leq -1.45 \cdot 10^{+50}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq -1.02 \cdot 10^{-108}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;t \leq -1.75 \cdot 10^{-149}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.8 \cdot 10^{-227}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq 5.1 \cdot 10^{-62}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;t \leq 820:\\
\;\;\;\;k \cdot \left(b \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq 2.2 \cdot 10^{+18}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;t \leq 1.4 \cdot 10^{+115}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{elif}\;t \leq 2.3 \cdot 10^{+244}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\end{array}
\end{array}
if t < -1.45e50Initial program 16.1%
Taylor expanded in t around inf 47.9%
+-commutative47.9%
mul-1-neg47.9%
unsub-neg47.9%
*-commutative47.9%
Simplified47.9%
Taylor expanded in y2 around inf 47.9%
if -1.45e50 < t < -1.02000000000000008e-108Initial program 30.0%
Taylor expanded in k around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
associate-*r*41.2%
neg-mul-141.2%
Simplified41.2%
Taylor expanded in y4 around inf 44.0%
if -1.02000000000000008e-108 < t < -1.75e-149 or 1.4e115 < t < 2.2999999999999999e244Initial program 31.2%
Taylor expanded in t around inf 58.2%
+-commutative58.2%
mul-1-neg58.2%
unsub-neg58.2%
*-commutative58.2%
Simplified58.2%
Taylor expanded in j around inf 62.8%
if -1.75e-149 < t < 1.8e-227Initial program 51.4%
Taylor expanded in k around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
associate-*r*40.2%
neg-mul-140.2%
Simplified40.2%
Taylor expanded in y around inf 38.2%
if 1.8e-227 < t < 5.1e-62Initial program 44.4%
Taylor expanded in b around inf 39.9%
Taylor expanded in x around inf 48.4%
if 5.1e-62 < t < 820Initial program 66.5%
Taylor expanded in k around inf 51.4%
+-commutative51.4%
mul-1-neg51.4%
unsub-neg51.4%
*-commutative51.4%
associate-*r*51.4%
neg-mul-151.4%
Simplified51.4%
Taylor expanded in b around inf 59.7%
mul-1-neg59.7%
+-commutative59.7%
mul-1-neg59.7%
sub-neg59.7%
Simplified59.7%
if 820 < t < 2.2e18Initial program 0.0%
Taylor expanded in b around inf 75.0%
Taylor expanded in j around inf 76.5%
if 2.2e18 < t < 1.4e115Initial program 23.8%
Taylor expanded in k around inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
*-commutative48.1%
associate-*r*48.1%
neg-mul-148.1%
Simplified48.1%
Taylor expanded in y1 around inf 58.0%
if 2.2999999999999999e244 < t Initial program 16.7%
Taylor expanded in t around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
Simplified39.6%
Taylor expanded in i around -inf 72.4%
mul-1-neg72.4%
Simplified72.4%
Final simplification51.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y2 (- (* x y0) (* t y4))))))
(if (<= y2 -1.65e+229)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= y2 -8.5e+62)
t_1
(if (<= y2 -860.0)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y2 -9e-91)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y2 -2.1e-153)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 3.2e-275)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y2 1.35e-80)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 1.8e+130)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y2 8e+287) (* a (* y5 (* t y2))) t_1)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y2 * ((x * y0) - (t * y4)));
double tmp;
if (y2 <= -1.65e+229) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= -8.5e+62) {
tmp = t_1;
} else if (y2 <= -860.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= -9e-91) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= -2.1e-153) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 3.2e-275) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 1.35e-80) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 1.8e+130) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y2 <= 8e+287) {
tmp = a * (y5 * (t * y2));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (y2 * ((x * y0) - (t * y4)))
if (y2 <= (-1.65d+229)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (y2 <= (-8.5d+62)) then
tmp = t_1
else if (y2 <= (-860.0d0)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y2 <= (-9d-91)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y2 <= (-2.1d-153)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 3.2d-275) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y2 <= 1.35d-80) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 1.8d+130) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y2 <= 8d+287) then
tmp = a * (y5 * (t * y2))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y2 * ((x * y0) - (t * y4)));
double tmp;
if (y2 <= -1.65e+229) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= -8.5e+62) {
tmp = t_1;
} else if (y2 <= -860.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= -9e-91) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= -2.1e-153) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 3.2e-275) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 1.35e-80) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 1.8e+130) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y2 <= 8e+287) {
tmp = a * (y5 * (t * y2));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y2 * ((x * y0) - (t * y4))) tmp = 0 if y2 <= -1.65e+229: tmp = a * (t * ((y2 * y5) - (z * b))) elif y2 <= -8.5e+62: tmp = t_1 elif y2 <= -860.0: tmp = b * (y0 * ((z * k) - (x * j))) elif y2 <= -9e-91: tmp = b * (y4 * ((t * j) - (y * k))) elif y2 <= -2.1e-153: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 3.2e-275: tmp = b * (j * ((t * y4) - (x * y0))) elif y2 <= 1.35e-80: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 1.8e+130: tmp = j * (x * ((i * y1) - (b * y0))) elif y2 <= 8e+287: tmp = a * (y5 * (t * y2)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))) tmp = 0.0 if (y2 <= -1.65e+229) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= -8.5e+62) tmp = t_1; elseif (y2 <= -860.0) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y2 <= -9e-91) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y2 <= -2.1e-153) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 3.2e-275) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y2 <= 1.35e-80) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 1.8e+130) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y2 <= 8e+287) tmp = Float64(a * Float64(y5 * Float64(t * y2))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y2 * ((x * y0) - (t * y4))); tmp = 0.0; if (y2 <= -1.65e+229) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (y2 <= -8.5e+62) tmp = t_1; elseif (y2 <= -860.0) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y2 <= -9e-91) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y2 <= -2.1e-153) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 3.2e-275) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y2 <= 1.35e-80) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 1.8e+130) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y2 <= 8e+287) tmp = a * (y5 * (t * y2)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.65e+229], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -8.5e+62], t$95$1, If[LessEqual[y2, -860.0], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -9e-91], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.1e-153], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.2e-275], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.35e-80], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.8e+130], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8e+287], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{if}\;y2 \leq -1.65 \cdot 10^{+229}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq -8.5 \cdot 10^{+62}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -860:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq -9 \cdot 10^{-91}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y2 \leq -2.1 \cdot 10^{-153}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 3.2 \cdot 10^{-275}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.35 \cdot 10^{-80}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 1.8 \cdot 10^{+130}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 8 \cdot 10^{+287}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -1.65e229Initial program 11.8%
Taylor expanded in t around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
Simplified41.2%
Taylor expanded in a around -inf 70.7%
+-commutative70.7%
mul-1-neg70.7%
sub-neg70.7%
Simplified70.7%
if -1.65e229 < y2 < -8.4999999999999997e62 or 8.0000000000000006e287 < y2 Initial program 23.7%
Taylor expanded in y2 around inf 45.1%
Taylor expanded in c around inf 64.0%
if -8.4999999999999997e62 < y2 < -860Initial program 50.6%
Taylor expanded in b around inf 40.4%
Taylor expanded in y0 around inf 40.9%
if -860 < y2 < -8.99999999999999952e-91Initial program 46.6%
Taylor expanded in b around inf 53.7%
Taylor expanded in y4 around inf 47.8%
if -8.99999999999999952e-91 < y2 < -2.10000000000000004e-153Initial program 33.2%
Taylor expanded in b around inf 43.1%
Taylor expanded in x around inf 69.4%
if -2.10000000000000004e-153 < y2 < 3.2e-275Initial program 29.8%
Taylor expanded in b around inf 42.0%
Taylor expanded in j around inf 40.5%
if 3.2e-275 < y2 < 1.3500000000000001e-80Initial program 45.1%
Taylor expanded in t around inf 33.0%
+-commutative33.0%
mul-1-neg33.0%
unsub-neg33.0%
*-commutative33.0%
Simplified33.0%
Taylor expanded in j around inf 49.0%
if 1.3500000000000001e-80 < y2 < 1.8000000000000001e130Initial program 38.4%
Taylor expanded in j around inf 48.5%
+-commutative48.5%
mul-1-neg48.5%
unsub-neg48.5%
*-commutative48.5%
Simplified48.5%
Taylor expanded in x around inf 39.5%
if 1.8000000000000001e130 < y2 < 8.0000000000000006e287Initial program 30.3%
Taylor expanded in t around inf 37.3%
+-commutative37.3%
mul-1-neg37.3%
unsub-neg37.3%
*-commutative37.3%
Simplified37.3%
Taylor expanded in a around -inf 49.2%
+-commutative49.2%
mul-1-neg49.2%
sub-neg49.2%
Simplified49.2%
Taylor expanded in y2 around inf 46.4%
*-commutative46.4%
Simplified46.4%
Taylor expanded in a around 0 46.4%
associate-*r*52.2%
Simplified52.2%
Final simplification50.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y5 (* a (- (* t y2) (* y y3))))))
(if (<= y4 -3e+224)
(* k (* y2 (- (* y1 y4) (* y0 y5))))
(if (<= y4 -2.8e+39)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y4 -2.9e-99)
t_1
(if (<= y4 -4.6e-302)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y4 7.7e-227)
(* y3 (* z (- (* a y1) (* c y0))))
(if (<= y4 1.6e-66)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y4 2.4e+63)
t_1
(if (<= y4 7.5e+142)
(* y2 (* y4 (- (* k y1) (* t c))))
(* b (* y4 (- (* t j) (* y k))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y5 * (a * ((t * y2) - (y * y3)));
double tmp;
if (y4 <= -3e+224) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y4 <= -2.8e+39) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y4 <= -2.9e-99) {
tmp = t_1;
} else if (y4 <= -4.6e-302) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y4 <= 7.7e-227) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y4 <= 1.6e-66) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y4 <= 2.4e+63) {
tmp = t_1;
} else if (y4 <= 7.5e+142) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y5 * (a * ((t * y2) - (y * y3)))
if (y4 <= (-3d+224)) then
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)))
else if (y4 <= (-2.8d+39)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y4 <= (-2.9d-99)) then
tmp = t_1
else if (y4 <= (-4.6d-302)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y4 <= 7.7d-227) then
tmp = y3 * (z * ((a * y1) - (c * y0)))
else if (y4 <= 1.6d-66) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y4 <= 2.4d+63) then
tmp = t_1
else if (y4 <= 7.5d+142) then
tmp = y2 * (y4 * ((k * y1) - (t * c)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y5 * (a * ((t * y2) - (y * y3)));
double tmp;
if (y4 <= -3e+224) {
tmp = k * (y2 * ((y1 * y4) - (y0 * y5)));
} else if (y4 <= -2.8e+39) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y4 <= -2.9e-99) {
tmp = t_1;
} else if (y4 <= -4.6e-302) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y4 <= 7.7e-227) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y4 <= 1.6e-66) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y4 <= 2.4e+63) {
tmp = t_1;
} else if (y4 <= 7.5e+142) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y5 * (a * ((t * y2) - (y * y3))) tmp = 0 if y4 <= -3e+224: tmp = k * (y2 * ((y1 * y4) - (y0 * y5))) elif y4 <= -2.8e+39: tmp = k * (y * ((i * y5) - (b * y4))) elif y4 <= -2.9e-99: tmp = t_1 elif y4 <= -4.6e-302: tmp = j * (x * ((i * y1) - (b * y0))) elif y4 <= 7.7e-227: tmp = y3 * (z * ((a * y1) - (c * y0))) elif y4 <= 1.6e-66: tmp = b * (y0 * ((z * k) - (x * j))) elif y4 <= 2.4e+63: tmp = t_1 elif y4 <= 7.5e+142: tmp = y2 * (y4 * ((k * y1) - (t * c))) else: tmp = b * (y4 * ((t * j) - (y * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y5 * Float64(a * Float64(Float64(t * y2) - Float64(y * y3)))) tmp = 0.0 if (y4 <= -3e+224) tmp = Float64(k * Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))); elseif (y4 <= -2.8e+39) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y4 <= -2.9e-99) tmp = t_1; elseif (y4 <= -4.6e-302) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y4 <= 7.7e-227) tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (y4 <= 1.6e-66) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y4 <= 2.4e+63) tmp = t_1; elseif (y4 <= 7.5e+142) tmp = Float64(y2 * Float64(y4 * Float64(Float64(k * y1) - Float64(t * c)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y5 * (a * ((t * y2) - (y * y3))); tmp = 0.0; if (y4 <= -3e+224) tmp = k * (y2 * ((y1 * y4) - (y0 * y5))); elseif (y4 <= -2.8e+39) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y4 <= -2.9e-99) tmp = t_1; elseif (y4 <= -4.6e-302) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y4 <= 7.7e-227) tmp = y3 * (z * ((a * y1) - (c * y0))); elseif (y4 <= 1.6e-66) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y4 <= 2.4e+63) tmp = t_1; elseif (y4 <= 7.5e+142) tmp = y2 * (y4 * ((k * y1) - (t * c))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y5 * N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -3e+224], N[(k * N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.8e+39], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -2.9e-99], t$95$1, If[LessEqual[y4, -4.6e-302], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 7.7e-227], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.6e-66], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.4e+63], t$95$1, If[LessEqual[y4, 7.5e+142], N[(y2 * N[(y4 * N[(N[(k * y1), $MachinePrecision] - N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;y4 \leq -3 \cdot 10^{+224}:\\
\;\;\;\;k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq -2.8 \cdot 10^{+39}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq -2.9 \cdot 10^{-99}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq -4.6 \cdot 10^{-302}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y4 \leq 7.7 \cdot 10^{-227}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;y4 \leq 1.6 \cdot 10^{-66}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y4 \leq 2.4 \cdot 10^{+63}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 7.5 \cdot 10^{+142}:\\
\;\;\;\;y2 \cdot \left(y4 \cdot \left(k \cdot y1 - t \cdot c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if y4 < -3.0000000000000001e224Initial program 33.7%
Taylor expanded in y2 around inf 54.2%
Taylor expanded in k around inf 74.4%
if -3.0000000000000001e224 < y4 < -2.80000000000000001e39Initial program 35.1%
Taylor expanded in k around inf 54.7%
+-commutative54.7%
mul-1-neg54.7%
unsub-neg54.7%
*-commutative54.7%
associate-*r*54.7%
neg-mul-154.7%
Simplified54.7%
Taylor expanded in y around inf 47.1%
if -2.80000000000000001e39 < y4 < -2.89999999999999985e-99 or 1.59999999999999991e-66 < y4 < 2.4e63Initial program 39.6%
Taylor expanded in y5 around -inf 52.1%
Taylor expanded in a around inf 54.2%
if -2.89999999999999985e-99 < y4 < -4.60000000000000004e-302Initial program 39.0%
Taylor expanded in j around inf 46.9%
+-commutative46.9%
mul-1-neg46.9%
unsub-neg46.9%
*-commutative46.9%
Simplified46.9%
Taylor expanded in x around inf 51.9%
if -4.60000000000000004e-302 < y4 < 7.6999999999999996e-227Initial program 45.0%
Taylor expanded in y3 around -inf 72.3%
Taylor expanded in z around inf 67.0%
if 7.6999999999999996e-227 < y4 < 1.59999999999999991e-66Initial program 29.9%
Taylor expanded in b around inf 31.0%
Taylor expanded in y0 around inf 41.6%
if 2.4e63 < y4 < 7.5000000000000002e142Initial program 30.6%
Taylor expanded in y2 around inf 48.2%
Taylor expanded in y4 around inf 57.0%
if 7.5000000000000002e142 < y4 Initial program 16.7%
Taylor expanded in b around inf 47.4%
Taylor expanded in y4 around inf 61.8%
Final simplification54.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y2 (- (* t y5) (* x y1))))))
(if (<= y2 -1.25e+108)
t_1
(if (<= y2 -3.9e+52)
(* c (* t (- (* z i) (* y2 y4))))
(if (<= y2 -4.6e-91)
(* k (* y (- (* i y5) (* b y4))))
(if (<= y2 -3.9e-159)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 1.45e-192)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y2 9.6e-160)
(* i (* t (- (* z c) (* j y5))))
(if (<= y2 3.1e-85)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y2 6.6e+136)
(* j (* x (- (* i y1) (* b y0))))
t_1))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y2 * ((t * y5) - (x * y1)));
double tmp;
if (y2 <= -1.25e+108) {
tmp = t_1;
} else if (y2 <= -3.9e+52) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= -4.6e-91) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y2 <= -3.9e-159) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.45e-192) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= 9.6e-160) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (y2 <= 3.1e-85) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 6.6e+136) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (y2 * ((t * y5) - (x * y1)))
if (y2 <= (-1.25d+108)) then
tmp = t_1
else if (y2 <= (-3.9d+52)) then
tmp = c * (t * ((z * i) - (y2 * y4)))
else if (y2 <= (-4.6d-91)) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (y2 <= (-3.9d-159)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 1.45d-192) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y2 <= 9.6d-160) then
tmp = i * (t * ((z * c) - (j * y5)))
else if (y2 <= 3.1d-85) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y2 <= 6.6d+136) then
tmp = j * (x * ((i * y1) - (b * y0)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y2 * ((t * y5) - (x * y1)));
double tmp;
if (y2 <= -1.25e+108) {
tmp = t_1;
} else if (y2 <= -3.9e+52) {
tmp = c * (t * ((z * i) - (y2 * y4)));
} else if (y2 <= -4.6e-91) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (y2 <= -3.9e-159) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.45e-192) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= 9.6e-160) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (y2 <= 3.1e-85) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y2 <= 6.6e+136) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y2 * ((t * y5) - (x * y1))) tmp = 0 if y2 <= -1.25e+108: tmp = t_1 elif y2 <= -3.9e+52: tmp = c * (t * ((z * i) - (y2 * y4))) elif y2 <= -4.6e-91: tmp = k * (y * ((i * y5) - (b * y4))) elif y2 <= -3.9e-159: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 1.45e-192: tmp = b * (y4 * ((t * j) - (y * k))) elif y2 <= 9.6e-160: tmp = i * (t * ((z * c) - (j * y5))) elif y2 <= 3.1e-85: tmp = j * (t * ((b * y4) - (i * y5))) elif y2 <= 6.6e+136: tmp = j * (x * ((i * y1) - (b * y0))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y2 * Float64(Float64(t * y5) - Float64(x * y1)))) tmp = 0.0 if (y2 <= -1.25e+108) tmp = t_1; elseif (y2 <= -3.9e+52) tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); elseif (y2 <= -4.6e-91) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (y2 <= -3.9e-159) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 1.45e-192) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y2 <= 9.6e-160) tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); elseif (y2 <= 3.1e-85) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y2 <= 6.6e+136) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y2 * ((t * y5) - (x * y1))); tmp = 0.0; if (y2 <= -1.25e+108) tmp = t_1; elseif (y2 <= -3.9e+52) tmp = c * (t * ((z * i) - (y2 * y4))); elseif (y2 <= -4.6e-91) tmp = k * (y * ((i * y5) - (b * y4))); elseif (y2 <= -3.9e-159) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 1.45e-192) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y2 <= 9.6e-160) tmp = i * (t * ((z * c) - (j * y5))); elseif (y2 <= 3.1e-85) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y2 <= 6.6e+136) tmp = j * (x * ((i * y1) - (b * y0))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y2 * N[(N[(t * y5), $MachinePrecision] - N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.25e+108], t$95$1, If[LessEqual[y2, -3.9e+52], N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -4.6e-91], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.9e-159], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.45e-192], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9.6e-160], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.1e-85], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.6e+136], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y2 \cdot \left(t \cdot y5 - x \cdot y1\right)\right)\\
\mathbf{if}\;y2 \leq -1.25 \cdot 10^{+108}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -3.9 \cdot 10^{+52}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -4.6 \cdot 10^{-91}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;y2 \leq -3.9 \cdot 10^{-159}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.45 \cdot 10^{-192}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y2 \leq 9.6 \cdot 10^{-160}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 3.1 \cdot 10^{-85}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 6.6 \cdot 10^{+136}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -1.24999999999999998e108 or 6.59999999999999984e136 < y2 Initial program 20.5%
Taylor expanded in y2 around inf 59.6%
Taylor expanded in a around -inf 63.8%
associate-*r*63.8%
neg-mul-163.8%
Simplified63.8%
if -1.24999999999999998e108 < y2 < -3.9e52Initial program 46.2%
Taylor expanded in t around inf 54.6%
+-commutative54.6%
mul-1-neg54.6%
unsub-neg54.6%
*-commutative54.6%
Simplified54.6%
Taylor expanded in c around inf 62.7%
mul-1-neg62.7%
+-commutative62.7%
mul-1-neg62.7%
sub-neg62.7%
Simplified62.7%
if -3.9e52 < y2 < -4.59999999999999991e-91Initial program 47.8%
Taylor expanded in k around inf 57.2%
+-commutative57.2%
mul-1-neg57.2%
unsub-neg57.2%
*-commutative57.2%
associate-*r*57.2%
neg-mul-157.2%
Simplified57.2%
Taylor expanded in y around inf 52.3%
if -4.59999999999999991e-91 < y2 < -3.89999999999999977e-159Initial program 30.6%
Taylor expanded in b around inf 47.5%
Taylor expanded in x around inf 64.1%
if -3.89999999999999977e-159 < y2 < 1.45000000000000008e-192Initial program 34.9%
Taylor expanded in b around inf 42.0%
Taylor expanded in y4 around inf 39.6%
if 1.45000000000000008e-192 < y2 < 9.59999999999999964e-160Initial program 51.8%
Taylor expanded in t around inf 53.5%
+-commutative53.5%
mul-1-neg53.5%
unsub-neg53.5%
*-commutative53.5%
Simplified53.5%
Taylor expanded in i around -inf 84.1%
mul-1-neg84.1%
Simplified84.1%
if 9.59999999999999964e-160 < y2 < 3.1000000000000002e-85Initial program 42.9%
Taylor expanded in t around inf 28.9%
+-commutative28.9%
mul-1-neg28.9%
unsub-neg28.9%
*-commutative28.9%
Simplified28.9%
Taylor expanded in j around inf 64.9%
if 3.1000000000000002e-85 < y2 < 6.59999999999999984e136Initial program 39.6%
Taylor expanded in j around inf 47.6%
+-commutative47.6%
mul-1-neg47.6%
unsub-neg47.6%
*-commutative47.6%
Simplified47.6%
Taylor expanded in x around inf 38.8%
Final simplification52.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y2 (- (* x y0) (* t y4)))))
(t_2 (* b (* y0 (- (* z k) (* x j))))))
(if (<= y2 -6.2e+230)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= y2 -3.7e+62)
t_1
(if (<= y2 -860.0)
t_2
(if (<= y2 -1.75e-87)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y2 -2.6e-153)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 2.6e-133)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y2 2.6e+91)
t_2
(if (<= y2 1.45e+288) (* a (* y5 (* t y2))) t_1))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y2 * ((x * y0) - (t * y4)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double tmp;
if (y2 <= -6.2e+230) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= -3.7e+62) {
tmp = t_1;
} else if (y2 <= -860.0) {
tmp = t_2;
} else if (y2 <= -1.75e-87) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= -2.6e-153) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 2.6e-133) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 2.6e+91) {
tmp = t_2;
} else if (y2 <= 1.45e+288) {
tmp = a * (y5 * (t * y2));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = c * (y2 * ((x * y0) - (t * y4)))
t_2 = b * (y0 * ((z * k) - (x * j)))
if (y2 <= (-6.2d+230)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (y2 <= (-3.7d+62)) then
tmp = t_1
else if (y2 <= (-860.0d0)) then
tmp = t_2
else if (y2 <= (-1.75d-87)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y2 <= (-2.6d-153)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 2.6d-133) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y2 <= 2.6d+91) then
tmp = t_2
else if (y2 <= 1.45d+288) then
tmp = a * (y5 * (t * y2))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y2 * ((x * y0) - (t * y4)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double tmp;
if (y2 <= -6.2e+230) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= -3.7e+62) {
tmp = t_1;
} else if (y2 <= -860.0) {
tmp = t_2;
} else if (y2 <= -1.75e-87) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= -2.6e-153) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 2.6e-133) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 2.6e+91) {
tmp = t_2;
} else if (y2 <= 1.45e+288) {
tmp = a * (y5 * (t * y2));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y2 * ((x * y0) - (t * y4))) t_2 = b * (y0 * ((z * k) - (x * j))) tmp = 0 if y2 <= -6.2e+230: tmp = a * (t * ((y2 * y5) - (z * b))) elif y2 <= -3.7e+62: tmp = t_1 elif y2 <= -860.0: tmp = t_2 elif y2 <= -1.75e-87: tmp = b * (y4 * ((t * j) - (y * k))) elif y2 <= -2.6e-153: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 2.6e-133: tmp = b * (j * ((t * y4) - (x * y0))) elif y2 <= 2.6e+91: tmp = t_2 elif y2 <= 1.45e+288: tmp = a * (y5 * (t * y2)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))) t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) tmp = 0.0 if (y2 <= -6.2e+230) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= -3.7e+62) tmp = t_1; elseif (y2 <= -860.0) tmp = t_2; elseif (y2 <= -1.75e-87) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y2 <= -2.6e-153) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 2.6e-133) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y2 <= 2.6e+91) tmp = t_2; elseif (y2 <= 1.45e+288) tmp = Float64(a * Float64(y5 * Float64(t * y2))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y2 * ((x * y0) - (t * y4))); t_2 = b * (y0 * ((z * k) - (x * j))); tmp = 0.0; if (y2 <= -6.2e+230) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (y2 <= -3.7e+62) tmp = t_1; elseif (y2 <= -860.0) tmp = t_2; elseif (y2 <= -1.75e-87) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y2 <= -2.6e-153) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 2.6e-133) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y2 <= 2.6e+91) tmp = t_2; elseif (y2 <= 1.45e+288) tmp = a * (y5 * (t * y2)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -6.2e+230], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.7e+62], t$95$1, If[LessEqual[y2, -860.0], t$95$2, If[LessEqual[y2, -1.75e-87], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2.6e-153], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.6e-133], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.6e+91], t$95$2, If[LessEqual[y2, 1.45e+288], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;y2 \leq -6.2 \cdot 10^{+230}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq -3.7 \cdot 10^{+62}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -860:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq -1.75 \cdot 10^{-87}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y2 \leq -2.6 \cdot 10^{-153}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 2.6 \cdot 10^{-133}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 2.6 \cdot 10^{+91}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq 1.45 \cdot 10^{+288}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -6.19999999999999963e230Initial program 11.8%
Taylor expanded in t around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
Simplified41.2%
Taylor expanded in a around -inf 70.7%
+-commutative70.7%
mul-1-neg70.7%
sub-neg70.7%
Simplified70.7%
if -6.19999999999999963e230 < y2 < -3.70000000000000014e62 or 1.45e288 < y2 Initial program 23.7%
Taylor expanded in y2 around inf 45.1%
Taylor expanded in c around inf 64.0%
if -3.70000000000000014e62 < y2 < -860 or 2.5999999999999999e-133 < y2 < 2.6e91Initial program 42.2%
Taylor expanded in b around inf 30.6%
Taylor expanded in y0 around inf 35.5%
if -860 < y2 < -1.75000000000000006e-87Initial program 46.6%
Taylor expanded in b around inf 53.7%
Taylor expanded in y4 around inf 47.8%
if -1.75000000000000006e-87 < y2 < -2.6000000000000001e-153Initial program 33.2%
Taylor expanded in b around inf 43.1%
Taylor expanded in x around inf 69.4%
if -2.6000000000000001e-153 < y2 < 2.5999999999999999e-133Initial program 35.7%
Taylor expanded in b around inf 42.9%
Taylor expanded in j around inf 39.3%
if 2.6e91 < y2 < 1.45e288Initial program 30.8%
Taylor expanded in t around inf 36.8%
+-commutative36.8%
mul-1-neg36.8%
unsub-neg36.8%
*-commutative36.8%
Simplified36.8%
Taylor expanded in a around -inf 47.1%
+-commutative47.1%
mul-1-neg47.1%
sub-neg47.1%
Simplified47.1%
Taylor expanded in y2 around inf 42.3%
*-commutative42.3%
Simplified42.3%
Taylor expanded in a around 0 42.3%
associate-*r*47.2%
Simplified47.2%
Final simplification47.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y3 (* z (- (* a y1) (* c y0))))))
(if (<= k -4.8e+180)
(* y2 (* y4 (- (* k y1) (* t c))))
(if (<= k -2.2e-112)
(* j (* t (- (* b y4) (* i y5))))
(if (<= k -1.9e-202)
t_1
(if (<= k -2.85e-301)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= k 2.7e-169)
(* y5 (* a (- (* t y2) (* y y3))))
(if (<= k 1.6e-21)
(* c (* t (* y4 (- (* i (/ z y4)) y2))))
(if (<= k 1.55e+134)
t_1
(* k (* y5 (* y0 (- (* i (/ y y0)) y2)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * (z * ((a * y1) - (c * y0)));
double tmp;
if (k <= -4.8e+180) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (k <= -2.2e-112) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= -1.9e-202) {
tmp = t_1;
} else if (k <= -2.85e-301) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (k <= 2.7e-169) {
tmp = y5 * (a * ((t * y2) - (y * y3)));
} else if (k <= 1.6e-21) {
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)));
} else if (k <= 1.55e+134) {
tmp = t_1;
} else {
tmp = k * (y5 * (y0 * ((i * (y / y0)) - y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y3 * (z * ((a * y1) - (c * y0)))
if (k <= (-4.8d+180)) then
tmp = y2 * (y4 * ((k * y1) - (t * c)))
else if (k <= (-2.2d-112)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (k <= (-1.9d-202)) then
tmp = t_1
else if (k <= (-2.85d-301)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (k <= 2.7d-169) then
tmp = y5 * (a * ((t * y2) - (y * y3)))
else if (k <= 1.6d-21) then
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)))
else if (k <= 1.55d+134) then
tmp = t_1
else
tmp = k * (y5 * (y0 * ((i * (y / y0)) - y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * (z * ((a * y1) - (c * y0)));
double tmp;
if (k <= -4.8e+180) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (k <= -2.2e-112) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= -1.9e-202) {
tmp = t_1;
} else if (k <= -2.85e-301) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (k <= 2.7e-169) {
tmp = y5 * (a * ((t * y2) - (y * y3)));
} else if (k <= 1.6e-21) {
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)));
} else if (k <= 1.55e+134) {
tmp = t_1;
} else {
tmp = k * (y5 * (y0 * ((i * (y / y0)) - y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y3 * (z * ((a * y1) - (c * y0))) tmp = 0 if k <= -4.8e+180: tmp = y2 * (y4 * ((k * y1) - (t * c))) elif k <= -2.2e-112: tmp = j * (t * ((b * y4) - (i * y5))) elif k <= -1.9e-202: tmp = t_1 elif k <= -2.85e-301: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif k <= 2.7e-169: tmp = y5 * (a * ((t * y2) - (y * y3))) elif k <= 1.6e-21: tmp = c * (t * (y4 * ((i * (z / y4)) - y2))) elif k <= 1.55e+134: tmp = t_1 else: tmp = k * (y5 * (y0 * ((i * (y / y0)) - y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))) tmp = 0.0 if (k <= -4.8e+180) tmp = Float64(y2 * Float64(y4 * Float64(Float64(k * y1) - Float64(t * c)))); elseif (k <= -2.2e-112) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (k <= -1.9e-202) tmp = t_1; elseif (k <= -2.85e-301) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (k <= 2.7e-169) tmp = Float64(y5 * Float64(a * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (k <= 1.6e-21) tmp = Float64(c * Float64(t * Float64(y4 * Float64(Float64(i * Float64(z / y4)) - y2)))); elseif (k <= 1.55e+134) tmp = t_1; else tmp = Float64(k * Float64(y5 * Float64(y0 * Float64(Float64(i * Float64(y / y0)) - y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y3 * (z * ((a * y1) - (c * y0))); tmp = 0.0; if (k <= -4.8e+180) tmp = y2 * (y4 * ((k * y1) - (t * c))); elseif (k <= -2.2e-112) tmp = j * (t * ((b * y4) - (i * y5))); elseif (k <= -1.9e-202) tmp = t_1; elseif (k <= -2.85e-301) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (k <= 2.7e-169) tmp = y5 * (a * ((t * y2) - (y * y3))); elseif (k <= 1.6e-21) tmp = c * (t * (y4 * ((i * (z / y4)) - y2))); elseif (k <= 1.55e+134) tmp = t_1; else tmp = k * (y5 * (y0 * ((i * (y / y0)) - y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -4.8e+180], N[(y2 * N[(y4 * N[(N[(k * y1), $MachinePrecision] - N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -2.2e-112], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.9e-202], t$95$1, If[LessEqual[k, -2.85e-301], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 2.7e-169], N[(y5 * N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.6e-21], N[(c * N[(t * N[(y4 * N[(N[(i * N[(z / y4), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.55e+134], t$95$1, N[(k * N[(y5 * N[(y0 * N[(N[(i * N[(y / y0), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{if}\;k \leq -4.8 \cdot 10^{+180}:\\
\;\;\;\;y2 \cdot \left(y4 \cdot \left(k \cdot y1 - t \cdot c\right)\right)\\
\mathbf{elif}\;k \leq -2.2 \cdot 10^{-112}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq -1.9 \cdot 10^{-202}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -2.85 \cdot 10^{-301}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;k \leq 2.7 \cdot 10^{-169}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;k \leq 1.6 \cdot 10^{-21}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y4 \cdot \left(i \cdot \frac{z}{y4} - y2\right)\right)\right)\\
\mathbf{elif}\;k \leq 1.55 \cdot 10^{+134}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y5 \cdot \left(y0 \cdot \left(i \cdot \frac{y}{y0} - y2\right)\right)\right)\\
\end{array}
\end{array}
if k < -4.7999999999999997e180Initial program 20.8%
Taylor expanded in y2 around inf 45.9%
Taylor expanded in y4 around inf 63.1%
if -4.7999999999999997e180 < k < -2.20000000000000021e-112Initial program 28.1%
Taylor expanded in t around inf 36.3%
+-commutative36.3%
mul-1-neg36.3%
unsub-neg36.3%
*-commutative36.3%
Simplified36.3%
Taylor expanded in j around inf 45.6%
if -2.20000000000000021e-112 < k < -1.90000000000000007e-202 or 1.6000000000000001e-21 < k < 1.54999999999999991e134Initial program 42.6%
Taylor expanded in y3 around -inf 60.1%
Taylor expanded in z around inf 51.2%
if -1.90000000000000007e-202 < k < -2.85000000000000018e-301Initial program 40.6%
Taylor expanded in b around inf 76.1%
if -2.85000000000000018e-301 < k < 2.7000000000000002e-169Initial program 34.7%
Taylor expanded in y5 around -inf 53.2%
Taylor expanded in a around inf 50.0%
if 2.7000000000000002e-169 < k < 1.6000000000000001e-21Initial program 43.3%
Taylor expanded in t around inf 50.9%
+-commutative50.9%
mul-1-neg50.9%
unsub-neg50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in c around inf 51.0%
mul-1-neg51.0%
+-commutative51.0%
mul-1-neg51.0%
sub-neg51.0%
Simplified51.0%
Taylor expanded in y4 around inf 57.4%
mul-1-neg57.4%
unsub-neg57.4%
associate-/l*57.4%
Simplified57.4%
if 1.54999999999999991e134 < k Initial program 26.7%
Taylor expanded in k around inf 49.4%
+-commutative49.4%
mul-1-neg49.4%
unsub-neg49.4%
*-commutative49.4%
associate-*r*49.4%
neg-mul-149.4%
Simplified49.4%
Taylor expanded in y5 around -inf 47.5%
mul-1-neg47.5%
Simplified47.5%
Taylor expanded in y0 around inf 49.5%
mul-1-neg49.5%
unsub-neg49.5%
associate-/l*53.8%
Simplified53.8%
Final simplification54.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y3 (* z (- (* a y1) (* c y0))))))
(if (<= k -1.4e+182)
(* y2 (* y4 (- (* k y1) (* t c))))
(if (<= k -1.8e-115)
(* j (* t (- (* b y4) (* i y5))))
(if (<= k -7e-208)
t_1
(if (<= k -3.25e-289)
(* b (* a (- (* x y) (* z t))))
(if (<= k 1.35e-178)
(* y5 (* a (- (* t y2) (* y y3))))
(if (<= k 7.7e-22)
(* c (* t (* y4 (- (* i (/ z y4)) y2))))
(if (<= k 1.3e+134)
t_1
(* k (* y5 (* y0 (- (* i (/ y y0)) y2)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * (z * ((a * y1) - (c * y0)));
double tmp;
if (k <= -1.4e+182) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (k <= -1.8e-115) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= -7e-208) {
tmp = t_1;
} else if (k <= -3.25e-289) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (k <= 1.35e-178) {
tmp = y5 * (a * ((t * y2) - (y * y3)));
} else if (k <= 7.7e-22) {
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)));
} else if (k <= 1.3e+134) {
tmp = t_1;
} else {
tmp = k * (y5 * (y0 * ((i * (y / y0)) - y2)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y3 * (z * ((a * y1) - (c * y0)))
if (k <= (-1.4d+182)) then
tmp = y2 * (y4 * ((k * y1) - (t * c)))
else if (k <= (-1.8d-115)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (k <= (-7d-208)) then
tmp = t_1
else if (k <= (-3.25d-289)) then
tmp = b * (a * ((x * y) - (z * t)))
else if (k <= 1.35d-178) then
tmp = y5 * (a * ((t * y2) - (y * y3)))
else if (k <= 7.7d-22) then
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)))
else if (k <= 1.3d+134) then
tmp = t_1
else
tmp = k * (y5 * (y0 * ((i * (y / y0)) - y2)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * (z * ((a * y1) - (c * y0)));
double tmp;
if (k <= -1.4e+182) {
tmp = y2 * (y4 * ((k * y1) - (t * c)));
} else if (k <= -1.8e-115) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (k <= -7e-208) {
tmp = t_1;
} else if (k <= -3.25e-289) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (k <= 1.35e-178) {
tmp = y5 * (a * ((t * y2) - (y * y3)));
} else if (k <= 7.7e-22) {
tmp = c * (t * (y4 * ((i * (z / y4)) - y2)));
} else if (k <= 1.3e+134) {
tmp = t_1;
} else {
tmp = k * (y5 * (y0 * ((i * (y / y0)) - y2)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y3 * (z * ((a * y1) - (c * y0))) tmp = 0 if k <= -1.4e+182: tmp = y2 * (y4 * ((k * y1) - (t * c))) elif k <= -1.8e-115: tmp = j * (t * ((b * y4) - (i * y5))) elif k <= -7e-208: tmp = t_1 elif k <= -3.25e-289: tmp = b * (a * ((x * y) - (z * t))) elif k <= 1.35e-178: tmp = y5 * (a * ((t * y2) - (y * y3))) elif k <= 7.7e-22: tmp = c * (t * (y4 * ((i * (z / y4)) - y2))) elif k <= 1.3e+134: tmp = t_1 else: tmp = k * (y5 * (y0 * ((i * (y / y0)) - y2))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))) tmp = 0.0 if (k <= -1.4e+182) tmp = Float64(y2 * Float64(y4 * Float64(Float64(k * y1) - Float64(t * c)))); elseif (k <= -1.8e-115) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (k <= -7e-208) tmp = t_1; elseif (k <= -3.25e-289) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (k <= 1.35e-178) tmp = Float64(y5 * Float64(a * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (k <= 7.7e-22) tmp = Float64(c * Float64(t * Float64(y4 * Float64(Float64(i * Float64(z / y4)) - y2)))); elseif (k <= 1.3e+134) tmp = t_1; else tmp = Float64(k * Float64(y5 * Float64(y0 * Float64(Float64(i * Float64(y / y0)) - y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y3 * (z * ((a * y1) - (c * y0))); tmp = 0.0; if (k <= -1.4e+182) tmp = y2 * (y4 * ((k * y1) - (t * c))); elseif (k <= -1.8e-115) tmp = j * (t * ((b * y4) - (i * y5))); elseif (k <= -7e-208) tmp = t_1; elseif (k <= -3.25e-289) tmp = b * (a * ((x * y) - (z * t))); elseif (k <= 1.35e-178) tmp = y5 * (a * ((t * y2) - (y * y3))); elseif (k <= 7.7e-22) tmp = c * (t * (y4 * ((i * (z / y4)) - y2))); elseif (k <= 1.3e+134) tmp = t_1; else tmp = k * (y5 * (y0 * ((i * (y / y0)) - y2))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -1.4e+182], N[(y2 * N[(y4 * N[(N[(k * y1), $MachinePrecision] - N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.8e-115], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -7e-208], t$95$1, If[LessEqual[k, -3.25e-289], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.35e-178], N[(y5 * N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 7.7e-22], N[(c * N[(t * N[(y4 * N[(N[(i * N[(z / y4), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.3e+134], t$95$1, N[(k * N[(y5 * N[(y0 * N[(N[(i * N[(y / y0), $MachinePrecision]), $MachinePrecision] - y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{if}\;k \leq -1.4 \cdot 10^{+182}:\\
\;\;\;\;y2 \cdot \left(y4 \cdot \left(k \cdot y1 - t \cdot c\right)\right)\\
\mathbf{elif}\;k \leq -1.8 \cdot 10^{-115}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq -7 \cdot 10^{-208}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq -3.25 \cdot 10^{-289}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;k \leq 1.35 \cdot 10^{-178}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;k \leq 7.7 \cdot 10^{-22}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y4 \cdot \left(i \cdot \frac{z}{y4} - y2\right)\right)\right)\\
\mathbf{elif}\;k \leq 1.3 \cdot 10^{+134}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y5 \cdot \left(y0 \cdot \left(i \cdot \frac{y}{y0} - y2\right)\right)\right)\\
\end{array}
\end{array}
if k < -1.40000000000000003e182Initial program 20.8%
Taylor expanded in y2 around inf 45.9%
Taylor expanded in y4 around inf 63.1%
if -1.40000000000000003e182 < k < -1.80000000000000005e-115Initial program 28.1%
Taylor expanded in t around inf 36.3%
+-commutative36.3%
mul-1-neg36.3%
unsub-neg36.3%
*-commutative36.3%
Simplified36.3%
Taylor expanded in j around inf 45.6%
if -1.80000000000000005e-115 < k < -6.99999999999999982e-208 or 7.7000000000000002e-22 < k < 1.3000000000000001e134Initial program 41.8%
Taylor expanded in y3 around -inf 59.1%
Taylor expanded in z around inf 50.3%
if -6.99999999999999982e-208 < k < -3.24999999999999987e-289Initial program 45.1%
Taylor expanded in b around inf 73.4%
Taylor expanded in a around inf 67.6%
if -3.24999999999999987e-289 < k < 1.35000000000000004e-178Initial program 33.6%
Taylor expanded in y5 around -inf 51.5%
Taylor expanded in a around inf 48.4%
if 1.35000000000000004e-178 < k < 7.7000000000000002e-22Initial program 43.3%
Taylor expanded in t around inf 50.9%
+-commutative50.9%
mul-1-neg50.9%
unsub-neg50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in c around inf 51.0%
mul-1-neg51.0%
+-commutative51.0%
mul-1-neg51.0%
sub-neg51.0%
Simplified51.0%
Taylor expanded in y4 around inf 57.4%
mul-1-neg57.4%
unsub-neg57.4%
associate-/l*57.4%
Simplified57.4%
if 1.3000000000000001e134 < k Initial program 26.7%
Taylor expanded in k around inf 49.4%
+-commutative49.4%
mul-1-neg49.4%
unsub-neg49.4%
*-commutative49.4%
associate-*r*49.4%
neg-mul-149.4%
Simplified49.4%
Taylor expanded in y5 around -inf 47.5%
mul-1-neg47.5%
Simplified47.5%
Taylor expanded in y0 around inf 49.5%
mul-1-neg49.5%
unsub-neg49.5%
associate-/l*53.8%
Simplified53.8%
Final simplification53.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* t (- (* b y4) (* i y5))))))
(if (<= t -5e+50)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= t -2.6e-97)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= t -2e-149)
t_1
(if (<= t 1.35e-227)
(* k (* y (- (* i y5) (* b y4))))
(if (<= t 7.3e+15)
(* b (* x (- (* y a) (* j y0))))
(if (<= t 1.6e+116)
(* k (* y1 (- (* y2 y4) (* z i))))
(if (<= t 8.2e+245)
t_1
(* i (* t (- (* z c) (* j y5)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -5e+50) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (t <= -2.6e-97) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (t <= -2e-149) {
tmp = t_1;
} else if (t <= 1.35e-227) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (t <= 7.3e+15) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 1.6e+116) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else if (t <= 8.2e+245) {
tmp = t_1;
} else {
tmp = i * (t * ((z * c) - (j * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (t * ((b * y4) - (i * y5)))
if (t <= (-5d+50)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (t <= (-2.6d-97)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (t <= (-2d-149)) then
tmp = t_1
else if (t <= 1.35d-227) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (t <= 7.3d+15) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (t <= 1.6d+116) then
tmp = k * (y1 * ((y2 * y4) - (z * i)))
else if (t <= 8.2d+245) then
tmp = t_1
else
tmp = i * (t * ((z * c) - (j * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -5e+50) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (t <= -2.6e-97) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (t <= -2e-149) {
tmp = t_1;
} else if (t <= 1.35e-227) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (t <= 7.3e+15) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 1.6e+116) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else if (t <= 8.2e+245) {
tmp = t_1;
} else {
tmp = i * (t * ((z * c) - (j * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (t * ((b * y4) - (i * y5))) tmp = 0 if t <= -5e+50: tmp = t * (y2 * ((a * y5) - (c * y4))) elif t <= -2.6e-97: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif t <= -2e-149: tmp = t_1 elif t <= 1.35e-227: tmp = k * (y * ((i * y5) - (b * y4))) elif t <= 7.3e+15: tmp = b * (x * ((y * a) - (j * y0))) elif t <= 1.6e+116: tmp = k * (y1 * ((y2 * y4) - (z * i))) elif t <= 8.2e+245: tmp = t_1 else: tmp = i * (t * ((z * c) - (j * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) tmp = 0.0 if (t <= -5e+50) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (t <= -2.6e-97) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (t <= -2e-149) tmp = t_1; elseif (t <= 1.35e-227) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (t <= 7.3e+15) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (t <= 1.6e+116) tmp = Float64(k * Float64(y1 * Float64(Float64(y2 * y4) - Float64(z * i)))); elseif (t <= 8.2e+245) tmp = t_1; else tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (t * ((b * y4) - (i * y5))); tmp = 0.0; if (t <= -5e+50) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (t <= -2.6e-97) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (t <= -2e-149) tmp = t_1; elseif (t <= 1.35e-227) tmp = k * (y * ((i * y5) - (b * y4))); elseif (t <= 7.3e+15) tmp = b * (x * ((y * a) - (j * y0))); elseif (t <= 1.6e+116) tmp = k * (y1 * ((y2 * y4) - (z * i))); elseif (t <= 8.2e+245) tmp = t_1; else tmp = i * (t * ((z * c) - (j * y5))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -5e+50], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.6e-97], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2e-149], t$95$1, If[LessEqual[t, 1.35e-227], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 7.3e+15], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.6e+116], N[(k * N[(y1 * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8.2e+245], t$95$1, N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{if}\;t \leq -5 \cdot 10^{+50}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq -2.6 \cdot 10^{-97}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;t \leq -2 \cdot 10^{-149}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.35 \cdot 10^{-227}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq 7.3 \cdot 10^{+15}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;t \leq 1.6 \cdot 10^{+116}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{elif}\;t \leq 8.2 \cdot 10^{+245}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\end{array}
\end{array}
if t < -5e50Initial program 16.1%
Taylor expanded in t around inf 47.9%
+-commutative47.9%
mul-1-neg47.9%
unsub-neg47.9%
*-commutative47.9%
Simplified47.9%
Taylor expanded in y2 around inf 47.9%
if -5e50 < t < -2.60000000000000007e-97Initial program 30.0%
Taylor expanded in k around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
associate-*r*41.2%
neg-mul-141.2%
Simplified41.2%
Taylor expanded in y4 around inf 44.0%
if -2.60000000000000007e-97 < t < -1.99999999999999996e-149 or 1.6e116 < t < 8.2000000000000001e245Initial program 31.2%
Taylor expanded in t around inf 58.2%
+-commutative58.2%
mul-1-neg58.2%
unsub-neg58.2%
*-commutative58.2%
Simplified58.2%
Taylor expanded in j around inf 62.8%
if -1.99999999999999996e-149 < t < 1.35e-227Initial program 51.4%
Taylor expanded in k around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
associate-*r*40.2%
neg-mul-140.2%
Simplified40.2%
Taylor expanded in y around inf 38.2%
if 1.35e-227 < t < 7.3e15Initial program 46.1%
Taylor expanded in b around inf 47.0%
Taylor expanded in x around inf 43.4%
if 7.3e15 < t < 1.6e116Initial program 23.8%
Taylor expanded in k around inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
*-commutative48.1%
associate-*r*48.1%
neg-mul-148.1%
Simplified48.1%
Taylor expanded in y1 around inf 58.0%
if 8.2000000000000001e245 < t Initial program 16.7%
Taylor expanded in t around inf 39.6%
+-commutative39.6%
mul-1-neg39.6%
unsub-neg39.6%
*-commutative39.6%
Simplified39.6%
Taylor expanded in i around -inf 72.4%
mul-1-neg72.4%
Simplified72.4%
Final simplification49.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* t (- (* b y4) (* i y5))))))
(if (<= t -1.1e+50)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= t -7.2e-106)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= t -2e-149)
t_1
(if (<= t 2.3e-226)
(* k (* y (- (* i y5) (* b y4))))
(if (<= t 2.1e+18)
(* b (* x (- (* y a) (* j y0))))
(if (<= t 1.25e+115)
(* k (* y1 (- (* y2 y4) (* z i))))
(if (<= t 5.6e+225)
t_1
(* c (* t (- (* z i) (* y2 y4)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -1.1e+50) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (t <= -7.2e-106) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (t <= -2e-149) {
tmp = t_1;
} else if (t <= 2.3e-226) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (t <= 2.1e+18) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 1.25e+115) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else if (t <= 5.6e+225) {
tmp = t_1;
} else {
tmp = c * (t * ((z * i) - (y2 * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (t * ((b * y4) - (i * y5)))
if (t <= (-1.1d+50)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (t <= (-7.2d-106)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (t <= (-2d-149)) then
tmp = t_1
else if (t <= 2.3d-226) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (t <= 2.1d+18) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (t <= 1.25d+115) then
tmp = k * (y1 * ((y2 * y4) - (z * i)))
else if (t <= 5.6d+225) then
tmp = t_1
else
tmp = c * (t * ((z * i) - (y2 * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -1.1e+50) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (t <= -7.2e-106) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (t <= -2e-149) {
tmp = t_1;
} else if (t <= 2.3e-226) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (t <= 2.1e+18) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 1.25e+115) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else if (t <= 5.6e+225) {
tmp = t_1;
} else {
tmp = c * (t * ((z * i) - (y2 * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (t * ((b * y4) - (i * y5))) tmp = 0 if t <= -1.1e+50: tmp = t * (y2 * ((a * y5) - (c * y4))) elif t <= -7.2e-106: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif t <= -2e-149: tmp = t_1 elif t <= 2.3e-226: tmp = k * (y * ((i * y5) - (b * y4))) elif t <= 2.1e+18: tmp = b * (x * ((y * a) - (j * y0))) elif t <= 1.25e+115: tmp = k * (y1 * ((y2 * y4) - (z * i))) elif t <= 5.6e+225: tmp = t_1 else: tmp = c * (t * ((z * i) - (y2 * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) tmp = 0.0 if (t <= -1.1e+50) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (t <= -7.2e-106) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (t <= -2e-149) tmp = t_1; elseif (t <= 2.3e-226) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (t <= 2.1e+18) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (t <= 1.25e+115) tmp = Float64(k * Float64(y1 * Float64(Float64(y2 * y4) - Float64(z * i)))); elseif (t <= 5.6e+225) tmp = t_1; else tmp = Float64(c * Float64(t * Float64(Float64(z * i) - Float64(y2 * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (t * ((b * y4) - (i * y5))); tmp = 0.0; if (t <= -1.1e+50) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (t <= -7.2e-106) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (t <= -2e-149) tmp = t_1; elseif (t <= 2.3e-226) tmp = k * (y * ((i * y5) - (b * y4))); elseif (t <= 2.1e+18) tmp = b * (x * ((y * a) - (j * y0))); elseif (t <= 1.25e+115) tmp = k * (y1 * ((y2 * y4) - (z * i))); elseif (t <= 5.6e+225) tmp = t_1; else tmp = c * (t * ((z * i) - (y2 * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.1e+50], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -7.2e-106], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2e-149], t$95$1, If[LessEqual[t, 2.3e-226], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.1e+18], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.25e+115], N[(k * N[(y1 * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.6e+225], t$95$1, N[(c * N[(t * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{if}\;t \leq -1.1 \cdot 10^{+50}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq -7.2 \cdot 10^{-106}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;t \leq -2 \cdot 10^{-149}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 2.3 \cdot 10^{-226}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq 2.1 \cdot 10^{+18}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;t \leq 1.25 \cdot 10^{+115}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{elif}\;t \leq 5.6 \cdot 10^{+225}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -1.10000000000000008e50Initial program 16.1%
Taylor expanded in t around inf 47.9%
+-commutative47.9%
mul-1-neg47.9%
unsub-neg47.9%
*-commutative47.9%
Simplified47.9%
Taylor expanded in y2 around inf 47.9%
if -1.10000000000000008e50 < t < -7.20000000000000025e-106Initial program 30.0%
Taylor expanded in k around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
associate-*r*41.2%
neg-mul-141.2%
Simplified41.2%
Taylor expanded in y4 around inf 44.0%
if -7.20000000000000025e-106 < t < -1.99999999999999996e-149 or 1.25000000000000002e115 < t < 5.6e225Initial program 33.5%
Taylor expanded in t around inf 56.9%
+-commutative56.9%
mul-1-neg56.9%
unsub-neg56.9%
*-commutative56.9%
Simplified56.9%
Taylor expanded in j around inf 64.8%
if -1.99999999999999996e-149 < t < 2.3e-226Initial program 51.4%
Taylor expanded in k around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
associate-*r*40.2%
neg-mul-140.2%
Simplified40.2%
Taylor expanded in y around inf 38.2%
if 2.3e-226 < t < 2.1e18Initial program 46.1%
Taylor expanded in b around inf 47.0%
Taylor expanded in x around inf 43.4%
if 2.1e18 < t < 1.25000000000000002e115Initial program 23.8%
Taylor expanded in k around inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
*-commutative48.1%
associate-*r*48.1%
neg-mul-148.1%
Simplified48.1%
Taylor expanded in y1 around inf 58.0%
if 5.6e225 < t Initial program 16.7%
Taylor expanded in t around inf 46.4%
+-commutative46.4%
mul-1-neg46.4%
unsub-neg46.4%
*-commutative46.4%
Simplified46.4%
Taylor expanded in c around inf 66.7%
mul-1-neg66.7%
+-commutative66.7%
mul-1-neg66.7%
sub-neg66.7%
Simplified66.7%
Final simplification49.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* t (- (* b y4) (* i y5))))))
(if (<= t -7.8e+49)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= t -1.55e-108)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= t -2e-149)
t_1
(if (<= t 6.5e-226)
(* k (* y (- (* i y5) (* b y4))))
(if (<= t 1.6e+18)
(* b (* x (- (* y a) (* j y0))))
(if (<= t 4.5e+114) (* k (* y1 (- (* y2 y4) (* z i)))) t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -7.8e+49) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (t <= -1.55e-108) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (t <= -2e-149) {
tmp = t_1;
} else if (t <= 6.5e-226) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (t <= 1.6e+18) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 4.5e+114) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (t * ((b * y4) - (i * y5)))
if (t <= (-7.8d+49)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (t <= (-1.55d-108)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (t <= (-2d-149)) then
tmp = t_1
else if (t <= 6.5d-226) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (t <= 1.6d+18) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (t <= 4.5d+114) then
tmp = k * (y1 * ((y2 * y4) - (z * i)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -7.8e+49) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (t <= -1.55e-108) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (t <= -2e-149) {
tmp = t_1;
} else if (t <= 6.5e-226) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (t <= 1.6e+18) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 4.5e+114) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (t * ((b * y4) - (i * y5))) tmp = 0 if t <= -7.8e+49: tmp = t * (y2 * ((a * y5) - (c * y4))) elif t <= -1.55e-108: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif t <= -2e-149: tmp = t_1 elif t <= 6.5e-226: tmp = k * (y * ((i * y5) - (b * y4))) elif t <= 1.6e+18: tmp = b * (x * ((y * a) - (j * y0))) elif t <= 4.5e+114: tmp = k * (y1 * ((y2 * y4) - (z * i))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) tmp = 0.0 if (t <= -7.8e+49) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (t <= -1.55e-108) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (t <= -2e-149) tmp = t_1; elseif (t <= 6.5e-226) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (t <= 1.6e+18) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (t <= 4.5e+114) tmp = Float64(k * Float64(y1 * Float64(Float64(y2 * y4) - Float64(z * i)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (t * ((b * y4) - (i * y5))); tmp = 0.0; if (t <= -7.8e+49) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (t <= -1.55e-108) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (t <= -2e-149) tmp = t_1; elseif (t <= 6.5e-226) tmp = k * (y * ((i * y5) - (b * y4))); elseif (t <= 1.6e+18) tmp = b * (x * ((y * a) - (j * y0))); elseif (t <= 4.5e+114) tmp = k * (y1 * ((y2 * y4) - (z * i))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -7.8e+49], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.55e-108], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2e-149], t$95$1, If[LessEqual[t, 6.5e-226], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.6e+18], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.5e+114], N[(k * N[(y1 * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{if}\;t \leq -7.8 \cdot 10^{+49}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq -1.55 \cdot 10^{-108}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;t \leq -2 \cdot 10^{-149}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 6.5 \cdot 10^{-226}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq 1.6 \cdot 10^{+18}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;t \leq 4.5 \cdot 10^{+114}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -7.8000000000000002e49Initial program 16.1%
Taylor expanded in t around inf 47.9%
+-commutative47.9%
mul-1-neg47.9%
unsub-neg47.9%
*-commutative47.9%
Simplified47.9%
Taylor expanded in y2 around inf 47.9%
if -7.8000000000000002e49 < t < -1.55000000000000007e-108Initial program 30.0%
Taylor expanded in k around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
associate-*r*41.2%
neg-mul-141.2%
Simplified41.2%
Taylor expanded in y4 around inf 44.0%
if -1.55000000000000007e-108 < t < -1.99999999999999996e-149 or 4.5000000000000001e114 < t Initial program 27.1%
Taylor expanded in t around inf 52.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in j around inf 57.8%
if -1.99999999999999996e-149 < t < 6.50000000000000033e-226Initial program 51.4%
Taylor expanded in k around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
associate-*r*40.2%
neg-mul-140.2%
Simplified40.2%
Taylor expanded in y around inf 38.2%
if 6.50000000000000033e-226 < t < 1.6e18Initial program 46.1%
Taylor expanded in b around inf 47.0%
Taylor expanded in x around inf 43.4%
if 1.6e18 < t < 4.5000000000000001e114Initial program 23.8%
Taylor expanded in k around inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
*-commutative48.1%
associate-*r*48.1%
neg-mul-148.1%
Simplified48.1%
Taylor expanded in y1 around inf 58.0%
Final simplification48.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* t (- (* b y4) (* i y5))))))
(if (<= t -2.7e+52)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= t -7.8e-109)
(* k (* y4 (- (* y1 y2) (* y b))))
(if (<= t -1.1e-149)
t_1
(if (<= t 1.85e-226)
(* k (* y (- (* i y5) (* b y4))))
(if (<= t 1.7e+16)
(* b (* x (- (* y a) (* j y0))))
(if (<= t 4.7e+114) (* k (* y1 (- (* y2 y4) (* z i)))) t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -2.7e+52) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (t <= -7.8e-109) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (t <= -1.1e-149) {
tmp = t_1;
} else if (t <= 1.85e-226) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (t <= 1.7e+16) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 4.7e+114) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (t * ((b * y4) - (i * y5)))
if (t <= (-2.7d+52)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (t <= (-7.8d-109)) then
tmp = k * (y4 * ((y1 * y2) - (y * b)))
else if (t <= (-1.1d-149)) then
tmp = t_1
else if (t <= 1.85d-226) then
tmp = k * (y * ((i * y5) - (b * y4)))
else if (t <= 1.7d+16) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (t <= 4.7d+114) then
tmp = k * (y1 * ((y2 * y4) - (z * i)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -2.7e+52) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (t <= -7.8e-109) {
tmp = k * (y4 * ((y1 * y2) - (y * b)));
} else if (t <= -1.1e-149) {
tmp = t_1;
} else if (t <= 1.85e-226) {
tmp = k * (y * ((i * y5) - (b * y4)));
} else if (t <= 1.7e+16) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 4.7e+114) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (t * ((b * y4) - (i * y5))) tmp = 0 if t <= -2.7e+52: tmp = a * (t * ((y2 * y5) - (z * b))) elif t <= -7.8e-109: tmp = k * (y4 * ((y1 * y2) - (y * b))) elif t <= -1.1e-149: tmp = t_1 elif t <= 1.85e-226: tmp = k * (y * ((i * y5) - (b * y4))) elif t <= 1.7e+16: tmp = b * (x * ((y * a) - (j * y0))) elif t <= 4.7e+114: tmp = k * (y1 * ((y2 * y4) - (z * i))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) tmp = 0.0 if (t <= -2.7e+52) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (t <= -7.8e-109) tmp = Float64(k * Float64(y4 * Float64(Float64(y1 * y2) - Float64(y * b)))); elseif (t <= -1.1e-149) tmp = t_1; elseif (t <= 1.85e-226) tmp = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))); elseif (t <= 1.7e+16) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (t <= 4.7e+114) tmp = Float64(k * Float64(y1 * Float64(Float64(y2 * y4) - Float64(z * i)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (t * ((b * y4) - (i * y5))); tmp = 0.0; if (t <= -2.7e+52) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (t <= -7.8e-109) tmp = k * (y4 * ((y1 * y2) - (y * b))); elseif (t <= -1.1e-149) tmp = t_1; elseif (t <= 1.85e-226) tmp = k * (y * ((i * y5) - (b * y4))); elseif (t <= 1.7e+16) tmp = b * (x * ((y * a) - (j * y0))); elseif (t <= 4.7e+114) tmp = k * (y1 * ((y2 * y4) - (z * i))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.7e+52], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -7.8e-109], N[(k * N[(y4 * N[(N[(y1 * y2), $MachinePrecision] - N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.1e-149], t$95$1, If[LessEqual[t, 1.85e-226], N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.7e+16], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.7e+114], N[(k * N[(y1 * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{if}\;t \leq -2.7 \cdot 10^{+52}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;t \leq -7.8 \cdot 10^{-109}:\\
\;\;\;\;k \cdot \left(y4 \cdot \left(y1 \cdot y2 - y \cdot b\right)\right)\\
\mathbf{elif}\;t \leq -1.1 \cdot 10^{-149}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.85 \cdot 10^{-226}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{elif}\;t \leq 1.7 \cdot 10^{+16}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;t \leq 4.7 \cdot 10^{+114}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2.7e52Initial program 16.1%
Taylor expanded in t around inf 47.9%
+-commutative47.9%
mul-1-neg47.9%
unsub-neg47.9%
*-commutative47.9%
Simplified47.9%
Taylor expanded in a around -inf 45.6%
+-commutative45.6%
mul-1-neg45.6%
sub-neg45.6%
Simplified45.6%
if -2.7e52 < t < -7.80000000000000046e-109Initial program 30.0%
Taylor expanded in k around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
associate-*r*41.2%
neg-mul-141.2%
Simplified41.2%
Taylor expanded in y4 around inf 44.0%
if -7.80000000000000046e-109 < t < -1.0999999999999999e-149 or 4.7000000000000001e114 < t Initial program 27.1%
Taylor expanded in t around inf 52.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in j around inf 57.8%
if -1.0999999999999999e-149 < t < 1.8499999999999999e-226Initial program 51.4%
Taylor expanded in k around inf 40.2%
+-commutative40.2%
mul-1-neg40.2%
unsub-neg40.2%
*-commutative40.2%
associate-*r*40.2%
neg-mul-140.2%
Simplified40.2%
Taylor expanded in y around inf 38.2%
if 1.8499999999999999e-226 < t < 1.7e16Initial program 46.1%
Taylor expanded in b around inf 47.0%
Taylor expanded in x around inf 43.4%
if 1.7e16 < t < 4.7000000000000001e114Initial program 23.8%
Taylor expanded in k around inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
*-commutative48.1%
associate-*r*48.1%
neg-mul-148.1%
Simplified48.1%
Taylor expanded in y1 around inf 58.0%
Final simplification47.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y (- (* i y5) (* b y4)))))
(t_2 (* j (* t (- (* b y4) (* i y5))))))
(if (<= t -1.5e+47)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= t -6.5e-109)
t_1
(if (<= t -8e-151)
t_2
(if (<= t 3.25e-227)
t_1
(if (<= t 6.2e+18)
(* b (* x (- (* y a) (* j y0))))
(if (<= t 4.8e+115) (* k (* y1 (- (* y2 y4) (* z i)))) t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y * ((i * y5) - (b * y4)));
double t_2 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -1.5e+47) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (t <= -6.5e-109) {
tmp = t_1;
} else if (t <= -8e-151) {
tmp = t_2;
} else if (t <= 3.25e-227) {
tmp = t_1;
} else if (t <= 6.2e+18) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 4.8e+115) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = k * (y * ((i * y5) - (b * y4)))
t_2 = j * (t * ((b * y4) - (i * y5)))
if (t <= (-1.5d+47)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (t <= (-6.5d-109)) then
tmp = t_1
else if (t <= (-8d-151)) then
tmp = t_2
else if (t <= 3.25d-227) then
tmp = t_1
else if (t <= 6.2d+18) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (t <= 4.8d+115) then
tmp = k * (y1 * ((y2 * y4) - (z * i)))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y * ((i * y5) - (b * y4)));
double t_2 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -1.5e+47) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (t <= -6.5e-109) {
tmp = t_1;
} else if (t <= -8e-151) {
tmp = t_2;
} else if (t <= 3.25e-227) {
tmp = t_1;
} else if (t <= 6.2e+18) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 4.8e+115) {
tmp = k * (y1 * ((y2 * y4) - (z * i)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y * ((i * y5) - (b * y4))) t_2 = j * (t * ((b * y4) - (i * y5))) tmp = 0 if t <= -1.5e+47: tmp = a * (t * ((y2 * y5) - (z * b))) elif t <= -6.5e-109: tmp = t_1 elif t <= -8e-151: tmp = t_2 elif t <= 3.25e-227: tmp = t_1 elif t <= 6.2e+18: tmp = b * (x * ((y * a) - (j * y0))) elif t <= 4.8e+115: tmp = k * (y1 * ((y2 * y4) - (z * i))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) t_2 = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) tmp = 0.0 if (t <= -1.5e+47) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (t <= -6.5e-109) tmp = t_1; elseif (t <= -8e-151) tmp = t_2; elseif (t <= 3.25e-227) tmp = t_1; elseif (t <= 6.2e+18) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (t <= 4.8e+115) tmp = Float64(k * Float64(y1 * Float64(Float64(y2 * y4) - Float64(z * i)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = k * (y * ((i * y5) - (b * y4))); t_2 = j * (t * ((b * y4) - (i * y5))); tmp = 0.0; if (t <= -1.5e+47) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (t <= -6.5e-109) tmp = t_1; elseif (t <= -8e-151) tmp = t_2; elseif (t <= 3.25e-227) tmp = t_1; elseif (t <= 6.2e+18) tmp = b * (x * ((y * a) - (j * y0))); elseif (t <= 4.8e+115) tmp = k * (y1 * ((y2 * y4) - (z * i))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.5e+47], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -6.5e-109], t$95$1, If[LessEqual[t, -8e-151], t$95$2, If[LessEqual[t, 3.25e-227], t$95$1, If[LessEqual[t, 6.2e+18], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.8e+115], N[(k * N[(y1 * N[(N[(y2 * y4), $MachinePrecision] - N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
t_2 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{if}\;t \leq -1.5 \cdot 10^{+47}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;t \leq -6.5 \cdot 10^{-109}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -8 \cdot 10^{-151}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 3.25 \cdot 10^{-227}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 6.2 \cdot 10^{+18}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;t \leq 4.8 \cdot 10^{+115}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4 - z \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -1.5000000000000001e47Initial program 15.7%
Taylor expanded in t around inf 46.7%
+-commutative46.7%
mul-1-neg46.7%
unsub-neg46.7%
*-commutative46.7%
Simplified46.7%
Taylor expanded in a around -inf 44.6%
+-commutative44.6%
mul-1-neg44.6%
sub-neg44.6%
Simplified44.6%
if -1.5000000000000001e47 < t < -6.49999999999999959e-109 or -7.9999999999999995e-151 < t < 3.2499999999999998e-227Initial program 42.3%
Taylor expanded in k around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
associate-*r*41.2%
neg-mul-141.2%
Simplified41.2%
Taylor expanded in y around inf 40.3%
if -6.49999999999999959e-109 < t < -7.9999999999999995e-151 or 4.8000000000000001e115 < t Initial program 27.1%
Taylor expanded in t around inf 52.9%
+-commutative52.9%
mul-1-neg52.9%
unsub-neg52.9%
*-commutative52.9%
Simplified52.9%
Taylor expanded in j around inf 57.8%
if 3.2499999999999998e-227 < t < 6.2e18Initial program 46.1%
Taylor expanded in b around inf 47.0%
Taylor expanded in x around inf 43.4%
if 6.2e18 < t < 4.8000000000000001e115Initial program 23.8%
Taylor expanded in k around inf 48.1%
+-commutative48.1%
mul-1-neg48.1%
unsub-neg48.1%
*-commutative48.1%
associate-*r*48.1%
neg-mul-148.1%
Simplified48.1%
Taylor expanded in y1 around inf 58.0%
Final simplification47.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y (- (* i y5) (* b y4)))))
(t_2 (* j (* t (- (* b y4) (* i y5))))))
(if (<= t -2.5e+48)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= t -1e-108)
t_1
(if (<= t -4.7e-150)
t_2
(if (<= t 5.8e-226)
t_1
(if (<= t 4.1e+28)
(* b (* x (- (* y a) (* j y0))))
(if (<= t 4.8e+132) (* c (* y2 (- (* x y0) (* t y4)))) t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y * ((i * y5) - (b * y4)));
double t_2 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -2.5e+48) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (t <= -1e-108) {
tmp = t_1;
} else if (t <= -4.7e-150) {
tmp = t_2;
} else if (t <= 5.8e-226) {
tmp = t_1;
} else if (t <= 4.1e+28) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 4.8e+132) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = k * (y * ((i * y5) - (b * y4)))
t_2 = j * (t * ((b * y4) - (i * y5)))
if (t <= (-2.5d+48)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (t <= (-1d-108)) then
tmp = t_1
else if (t <= (-4.7d-150)) then
tmp = t_2
else if (t <= 5.8d-226) then
tmp = t_1
else if (t <= 4.1d+28) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (t <= 4.8d+132) then
tmp = c * (y2 * ((x * y0) - (t * y4)))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = k * (y * ((i * y5) - (b * y4)));
double t_2 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (t <= -2.5e+48) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (t <= -1e-108) {
tmp = t_1;
} else if (t <= -4.7e-150) {
tmp = t_2;
} else if (t <= 5.8e-226) {
tmp = t_1;
} else if (t <= 4.1e+28) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (t <= 4.8e+132) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y * ((i * y5) - (b * y4))) t_2 = j * (t * ((b * y4) - (i * y5))) tmp = 0 if t <= -2.5e+48: tmp = a * (t * ((y2 * y5) - (z * b))) elif t <= -1e-108: tmp = t_1 elif t <= -4.7e-150: tmp = t_2 elif t <= 5.8e-226: tmp = t_1 elif t <= 4.1e+28: tmp = b * (x * ((y * a) - (j * y0))) elif t <= 4.8e+132: tmp = c * (y2 * ((x * y0) - (t * y4))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y * Float64(Float64(i * y5) - Float64(b * y4)))) t_2 = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) tmp = 0.0 if (t <= -2.5e+48) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (t <= -1e-108) tmp = t_1; elseif (t <= -4.7e-150) tmp = t_2; elseif (t <= 5.8e-226) tmp = t_1; elseif (t <= 4.1e+28) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (t <= 4.8e+132) tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = k * (y * ((i * y5) - (b * y4))); t_2 = j * (t * ((b * y4) - (i * y5))); tmp = 0.0; if (t <= -2.5e+48) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (t <= -1e-108) tmp = t_1; elseif (t <= -4.7e-150) tmp = t_2; elseif (t <= 5.8e-226) tmp = t_1; elseif (t <= 4.1e+28) tmp = b * (x * ((y * a) - (j * y0))); elseif (t <= 4.8e+132) tmp = c * (y2 * ((x * y0) - (t * y4))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(k * N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.5e+48], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1e-108], t$95$1, If[LessEqual[t, -4.7e-150], t$95$2, If[LessEqual[t, 5.8e-226], t$95$1, If[LessEqual[t, 4.1e+28], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.8e+132], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
t_2 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{if}\;t \leq -2.5 \cdot 10^{+48}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;t \leq -1 \cdot 10^{-108}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -4.7 \cdot 10^{-150}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 5.8 \cdot 10^{-226}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 4.1 \cdot 10^{+28}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;t \leq 4.8 \cdot 10^{+132}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -2.49999999999999987e48Initial program 15.7%
Taylor expanded in t around inf 46.7%
+-commutative46.7%
mul-1-neg46.7%
unsub-neg46.7%
*-commutative46.7%
Simplified46.7%
Taylor expanded in a around -inf 44.6%
+-commutative44.6%
mul-1-neg44.6%
sub-neg44.6%
Simplified44.6%
if -2.49999999999999987e48 < t < -1.00000000000000004e-108 or -4.6999999999999999e-150 < t < 5.80000000000000003e-226Initial program 42.3%
Taylor expanded in k around inf 41.2%
+-commutative41.2%
mul-1-neg41.2%
unsub-neg41.2%
*-commutative41.2%
associate-*r*41.2%
neg-mul-141.2%
Simplified41.2%
Taylor expanded in y around inf 40.3%
if -1.00000000000000004e-108 < t < -4.6999999999999999e-150 or 4.8000000000000002e132 < t Initial program 28.0%
Taylor expanded in t around inf 51.4%
+-commutative51.4%
mul-1-neg51.4%
unsub-neg51.4%
*-commutative51.4%
Simplified51.4%
Taylor expanded in j around inf 58.0%
if 5.80000000000000003e-226 < t < 4.09999999999999981e28Initial program 44.4%
Taylor expanded in b around inf 45.2%
Taylor expanded in x around inf 43.6%
if 4.09999999999999981e28 < t < 4.8000000000000002e132Initial program 23.8%
Taylor expanded in y2 around inf 62.5%
Taylor expanded in c around inf 53.4%
Final simplification47.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* t (- (* b y4) (* i y5))))))
(if (<= y -1.25e+218)
(* i (* k (* y y5)))
(if (<= y -5.8e-67)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= y -1.25e-164)
t_1
(if (<= y -8.2e-305)
(* c (* y2 (- (* x y0) (* t y4))))
(if (<= y 1.8e+26)
t_1
(if (<= y 8.6e+176)
(* b (* x (- (* y a) (* j y0))))
(* b (* y4 (- (* t j) (* y k))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (y <= -1.25e+218) {
tmp = i * (k * (y * y5));
} else if (y <= -5.8e-67) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y <= -1.25e-164) {
tmp = t_1;
} else if (y <= -8.2e-305) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y <= 1.8e+26) {
tmp = t_1;
} else if (y <= 8.6e+176) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (t * ((b * y4) - (i * y5)))
if (y <= (-1.25d+218)) then
tmp = i * (k * (y * y5))
else if (y <= (-5.8d-67)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (y <= (-1.25d-164)) then
tmp = t_1
else if (y <= (-8.2d-305)) then
tmp = c * (y2 * ((x * y0) - (t * y4)))
else if (y <= 1.8d+26) then
tmp = t_1
else if (y <= 8.6d+176) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = b * (y4 * ((t * j) - (y * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (t * ((b * y4) - (i * y5)));
double tmp;
if (y <= -1.25e+218) {
tmp = i * (k * (y * y5));
} else if (y <= -5.8e-67) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y <= -1.25e-164) {
tmp = t_1;
} else if (y <= -8.2e-305) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y <= 1.8e+26) {
tmp = t_1;
} else if (y <= 8.6e+176) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = b * (y4 * ((t * j) - (y * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (t * ((b * y4) - (i * y5))) tmp = 0 if y <= -1.25e+218: tmp = i * (k * (y * y5)) elif y <= -5.8e-67: tmp = a * (t * ((y2 * y5) - (z * b))) elif y <= -1.25e-164: tmp = t_1 elif y <= -8.2e-305: tmp = c * (y2 * ((x * y0) - (t * y4))) elif y <= 1.8e+26: tmp = t_1 elif y <= 8.6e+176: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = b * (y4 * ((t * j) - (y * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) tmp = 0.0 if (y <= -1.25e+218) tmp = Float64(i * Float64(k * Float64(y * y5))); elseif (y <= -5.8e-67) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y <= -1.25e-164) tmp = t_1; elseif (y <= -8.2e-305) tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))); elseif (y <= 1.8e+26) tmp = t_1; elseif (y <= 8.6e+176) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (t * ((b * y4) - (i * y5))); tmp = 0.0; if (y <= -1.25e+218) tmp = i * (k * (y * y5)); elseif (y <= -5.8e-67) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (y <= -1.25e-164) tmp = t_1; elseif (y <= -8.2e-305) tmp = c * (y2 * ((x * y0) - (t * y4))); elseif (y <= 1.8e+26) tmp = t_1; elseif (y <= 8.6e+176) tmp = b * (x * ((y * a) - (j * y0))); else tmp = b * (y4 * ((t * j) - (y * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.25e+218], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -5.8e-67], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.25e-164], t$95$1, If[LessEqual[y, -8.2e-305], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.8e+26], t$95$1, If[LessEqual[y, 8.6e+176], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{if}\;y \leq -1.25 \cdot 10^{+218}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{elif}\;y \leq -5.8 \cdot 10^{-67}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y \leq -1.25 \cdot 10^{-164}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -8.2 \cdot 10^{-305}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{elif}\;y \leq 1.8 \cdot 10^{+26}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 8.6 \cdot 10^{+176}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\end{array}
\end{array}
if y < -1.24999999999999996e218Initial program 27.3%
Taylor expanded in k around inf 55.0%
+-commutative55.0%
mul-1-neg55.0%
unsub-neg55.0%
*-commutative55.0%
associate-*r*55.0%
neg-mul-155.0%
Simplified55.0%
Taylor expanded in y5 around -inf 55.3%
mul-1-neg55.3%
Simplified55.3%
Taylor expanded in y0 around 0 64.3%
*-commutative64.3%
Simplified64.3%
if -1.24999999999999996e218 < y < -5.8000000000000001e-67Initial program 26.5%
Taylor expanded in t around inf 41.7%
+-commutative41.7%
mul-1-neg41.7%
unsub-neg41.7%
*-commutative41.7%
Simplified41.7%
Taylor expanded in a around -inf 46.7%
+-commutative46.7%
mul-1-neg46.7%
sub-neg46.7%
Simplified46.7%
if -5.8000000000000001e-67 < y < -1.2499999999999999e-164 or -8.2000000000000005e-305 < y < 1.80000000000000012e26Initial program 42.2%
Taylor expanded in t around inf 33.0%
+-commutative33.0%
mul-1-neg33.0%
unsub-neg33.0%
*-commutative33.0%
Simplified33.0%
Taylor expanded in j around inf 41.5%
if -1.2499999999999999e-164 < y < -8.2000000000000005e-305Initial program 18.3%
Taylor expanded in y2 around inf 43.8%
Taylor expanded in c around inf 53.0%
if 1.80000000000000012e26 < y < 8.60000000000000051e176Initial program 34.8%
Taylor expanded in b around inf 39.7%
Taylor expanded in x around inf 44.3%
if 8.60000000000000051e176 < y Initial program 36.7%
Taylor expanded in b around inf 47.1%
Taylor expanded in y4 around inf 50.8%
Final simplification47.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -4.6e+74)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= y2 3.8e-261)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y2 5e-58)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 6.5e+107)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y2 1.75e+294)
(* a (* y5 (* t y2)))
(* c (* t (* y4 (- y2))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -4.6e+74) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= 3.8e-261) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 5e-58) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 6.5e+107) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= 1.75e+294) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (t * (y4 * -y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-4.6d+74)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (y2 <= 3.8d-261) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y2 <= 5d-58) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 6.5d+107) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y2 <= 1.75d+294) then
tmp = a * (y5 * (t * y2))
else
tmp = c * (t * (y4 * -y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -4.6e+74) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= 3.8e-261) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 5e-58) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 6.5e+107) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= 1.75e+294) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (t * (y4 * -y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -4.6e+74: tmp = a * (t * ((y2 * y5) - (z * b))) elif y2 <= 3.8e-261: tmp = b * (j * ((t * y4) - (x * y0))) elif y2 <= 5e-58: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 6.5e+107: tmp = b * (y0 * ((z * k) - (x * j))) elif y2 <= 1.75e+294: tmp = a * (y5 * (t * y2)) else: tmp = c * (t * (y4 * -y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -4.6e+74) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= 3.8e-261) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y2 <= 5e-58) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 6.5e+107) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y2 <= 1.75e+294) tmp = Float64(a * Float64(y5 * Float64(t * y2))); else tmp = Float64(c * Float64(t * Float64(y4 * Float64(-y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -4.6e+74) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (y2 <= 3.8e-261) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y2 <= 5e-58) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 6.5e+107) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y2 <= 1.75e+294) tmp = a * (y5 * (t * y2)); else tmp = c * (t * (y4 * -y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -4.6e+74], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.8e-261], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5e-58], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.5e+107], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.75e+294], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * N[(y4 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -4.6 \cdot 10^{+74}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 3.8 \cdot 10^{-261}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 5 \cdot 10^{-58}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 6.5 \cdot 10^{+107}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 1.75 \cdot 10^{+294}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y4 \cdot \left(-y2\right)\right)\right)\\
\end{array}
\end{array}
if y2 < -4.5999999999999997e74Initial program 22.9%
Taylor expanded in t around inf 46.3%
+-commutative46.3%
mul-1-neg46.3%
unsub-neg46.3%
*-commutative46.3%
Simplified46.3%
Taylor expanded in a around -inf 56.6%
+-commutative56.6%
mul-1-neg56.6%
sub-neg56.6%
Simplified56.6%
if -4.5999999999999997e74 < y2 < 3.8e-261Initial program 36.9%
Taylor expanded in b around inf 43.3%
Taylor expanded in j around inf 34.6%
if 3.8e-261 < y2 < 4.99999999999999977e-58Initial program 39.0%
Taylor expanded in b around inf 41.7%
Taylor expanded in x around inf 39.7%
if 4.99999999999999977e-58 < y2 < 6.5000000000000006e107Initial program 42.4%
Taylor expanded in b around inf 23.7%
Taylor expanded in y0 around inf 36.2%
if 6.5000000000000006e107 < y2 < 1.7500000000000001e294Initial program 30.6%
Taylor expanded in t around inf 34.3%
+-commutative34.3%
mul-1-neg34.3%
unsub-neg34.3%
*-commutative34.3%
Simplified34.3%
Taylor expanded in a around -inf 48.0%
+-commutative48.0%
mul-1-neg48.0%
sub-neg48.0%
Simplified48.0%
Taylor expanded in y2 around inf 45.5%
*-commutative45.5%
Simplified45.5%
Taylor expanded in a around 0 45.5%
associate-*r*50.7%
Simplified50.7%
if 1.7500000000000001e294 < y2 Initial program 0.0%
Taylor expanded in t around inf 33.4%
+-commutative33.4%
mul-1-neg33.4%
unsub-neg33.4%
*-commutative33.4%
Simplified33.4%
Taylor expanded in c around inf 83.5%
mul-1-neg83.5%
+-commutative83.5%
mul-1-neg83.5%
sub-neg83.5%
Simplified83.5%
Taylor expanded in y2 around inf 83.5%
*-commutative83.5%
Simplified83.5%
Final simplification43.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))))
(if (<= y2 -8.5e+75)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= y2 1.1e-261)
t_1
(if (<= y2 5.8e-36)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 3.3e+71)
t_1
(if (<= y2 1.8e+287)
(* a (* y5 (* t y2)))
(* c (* t (* y4 (- 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 * (j * ((t * y4) - (x * y0)));
double tmp;
if (y2 <= -8.5e+75) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= 1.1e-261) {
tmp = t_1;
} else if (y2 <= 5.8e-36) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 3.3e+71) {
tmp = t_1;
} else if (y2 <= 1.8e+287) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (t * (y4 * -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 * (j * ((t * y4) - (x * y0)))
if (y2 <= (-8.5d+75)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (y2 <= 1.1d-261) then
tmp = t_1
else if (y2 <= 5.8d-36) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 3.3d+71) then
tmp = t_1
else if (y2 <= 1.8d+287) then
tmp = a * (y5 * (t * y2))
else
tmp = c * (t * (y4 * -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 * (j * ((t * y4) - (x * y0)));
double tmp;
if (y2 <= -8.5e+75) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= 1.1e-261) {
tmp = t_1;
} else if (y2 <= 5.8e-36) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 3.3e+71) {
tmp = t_1;
} else if (y2 <= 1.8e+287) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (t * (y4 * -y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if y2 <= -8.5e+75: tmp = a * (t * ((y2 * y5) - (z * b))) elif y2 <= 1.1e-261: tmp = t_1 elif y2 <= 5.8e-36: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 3.3e+71: tmp = t_1 elif y2 <= 1.8e+287: tmp = a * (y5 * (t * y2)) else: tmp = c * (t * (y4 * -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(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (y2 <= -8.5e+75) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= 1.1e-261) tmp = t_1; elseif (y2 <= 5.8e-36) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 3.3e+71) tmp = t_1; elseif (y2 <= 1.8e+287) tmp = Float64(a * Float64(y5 * Float64(t * y2))); else tmp = Float64(c * Float64(t * Float64(y4 * Float64(-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 * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (y2 <= -8.5e+75) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (y2 <= 1.1e-261) tmp = t_1; elseif (y2 <= 5.8e-36) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 3.3e+71) tmp = t_1; elseif (y2 <= 1.8e+287) tmp = a * (y5 * (t * y2)); else tmp = c * (t * (y4 * -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[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -8.5e+75], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.1e-261], t$95$1, If[LessEqual[y2, 5.8e-36], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.3e+71], t$95$1, If[LessEqual[y2, 1.8e+287], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * N[(y4 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;y2 \leq -8.5 \cdot 10^{+75}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 1.1 \cdot 10^{-261}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 5.8 \cdot 10^{-36}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 3.3 \cdot 10^{+71}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 1.8 \cdot 10^{+287}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y4 \cdot \left(-y2\right)\right)\right)\\
\end{array}
\end{array}
if y2 < -8.4999999999999993e75Initial program 22.9%
Taylor expanded in t around inf 46.3%
+-commutative46.3%
mul-1-neg46.3%
unsub-neg46.3%
*-commutative46.3%
Simplified46.3%
Taylor expanded in a around -inf 56.6%
+-commutative56.6%
mul-1-neg56.6%
sub-neg56.6%
Simplified56.6%
if -8.4999999999999993e75 < y2 < 1.1000000000000001e-261 or 5.80000000000000026e-36 < y2 < 3.2999999999999998e71Initial program 37.8%
Taylor expanded in b around inf 40.2%
Taylor expanded in j around inf 34.6%
if 1.1000000000000001e-261 < y2 < 5.80000000000000026e-36Initial program 42.9%
Taylor expanded in b around inf 41.3%
Taylor expanded in x around inf 39.4%
if 3.2999999999999998e71 < y2 < 1.7999999999999999e287Initial program 30.4%
Taylor expanded in t around inf 35.5%
+-commutative35.5%
mul-1-neg35.5%
unsub-neg35.5%
*-commutative35.5%
Simplified35.5%
Taylor expanded in a around -inf 44.3%
+-commutative44.3%
mul-1-neg44.3%
sub-neg44.3%
Simplified44.3%
Taylor expanded in y2 around inf 42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in a around 0 42.5%
associate-*r*46.6%
Simplified46.6%
if 1.7999999999999999e287 < y2 Initial program 0.0%
Taylor expanded in t around inf 33.4%
+-commutative33.4%
mul-1-neg33.4%
unsub-neg33.4%
*-commutative33.4%
Simplified33.4%
Taylor expanded in c around inf 83.5%
mul-1-neg83.5%
+-commutative83.5%
mul-1-neg83.5%
sub-neg83.5%
Simplified83.5%
Taylor expanded in y2 around inf 83.5%
*-commutative83.5%
Simplified83.5%
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 (* i (* k (* y y5)))))
(if (<= a -1e-39)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= a -2.65e-226)
t_1
(if (<= a 3.9e-262)
(* c (* y2 (* t (- y4))))
(if (<= a 1.55e+22) t_1 (* b (* a (- (* x y) (* z t))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (k * (y * y5));
double tmp;
if (a <= -1e-39) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (a <= -2.65e-226) {
tmp = t_1;
} else if (a <= 3.9e-262) {
tmp = c * (y2 * (t * -y4));
} else if (a <= 1.55e+22) {
tmp = t_1;
} else {
tmp = b * (a * ((x * y) - (z * t)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (k * (y * y5))
if (a <= (-1d-39)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (a <= (-2.65d-226)) then
tmp = t_1
else if (a <= 3.9d-262) then
tmp = c * (y2 * (t * -y4))
else if (a <= 1.55d+22) then
tmp = t_1
else
tmp = b * (a * ((x * y) - (z * t)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (k * (y * y5));
double tmp;
if (a <= -1e-39) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (a <= -2.65e-226) {
tmp = t_1;
} else if (a <= 3.9e-262) {
tmp = c * (y2 * (t * -y4));
} else if (a <= 1.55e+22) {
tmp = t_1;
} else {
tmp = b * (a * ((x * y) - (z * t)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (k * (y * y5)) tmp = 0 if a <= -1e-39: tmp = a * (t * ((y2 * y5) - (z * b))) elif a <= -2.65e-226: tmp = t_1 elif a <= 3.9e-262: tmp = c * (y2 * (t * -y4)) elif a <= 1.55e+22: tmp = t_1 else: tmp = b * (a * ((x * y) - (z * t))) 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(k * Float64(y * y5))) tmp = 0.0 if (a <= -1e-39) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (a <= -2.65e-226) tmp = t_1; elseif (a <= 3.9e-262) tmp = Float64(c * Float64(y2 * Float64(t * Float64(-y4)))); elseif (a <= 1.55e+22) tmp = t_1; else tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (k * (y * y5)); tmp = 0.0; if (a <= -1e-39) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (a <= -2.65e-226) tmp = t_1; elseif (a <= 3.9e-262) tmp = c * (y2 * (t * -y4)); elseif (a <= 1.55e+22) tmp = t_1; else tmp = b * (a * ((x * y) - (z * t))); 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[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1e-39], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.65e-226], t$95$1, If[LessEqual[a, 3.9e-262], N[(c * N[(y2 * N[(t * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.55e+22], t$95$1, N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{if}\;a \leq -1 \cdot 10^{-39}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;a \leq -2.65 \cdot 10^{-226}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 3.9 \cdot 10^{-262}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(t \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;a \leq 1.55 \cdot 10^{+22}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\end{array}
\end{array}
if a < -9.99999999999999929e-40Initial program 29.9%
Taylor expanded in t around inf 33.8%
+-commutative33.8%
mul-1-neg33.8%
unsub-neg33.8%
*-commutative33.8%
Simplified33.8%
Taylor expanded in a around -inf 42.1%
+-commutative42.1%
mul-1-neg42.1%
sub-neg42.1%
Simplified42.1%
if -9.99999999999999929e-40 < a < -2.6500000000000002e-226 or 3.89999999999999984e-262 < a < 1.5500000000000001e22Initial program 42.3%
Taylor expanded in k around inf 37.9%
+-commutative37.9%
mul-1-neg37.9%
unsub-neg37.9%
*-commutative37.9%
associate-*r*37.9%
neg-mul-137.9%
Simplified37.9%
Taylor expanded in y5 around -inf 30.9%
mul-1-neg30.9%
Simplified30.9%
Taylor expanded in y0 around 0 32.1%
*-commutative32.1%
Simplified32.1%
if -2.6500000000000002e-226 < a < 3.89999999999999984e-262Initial program 34.2%
Taylor expanded in y2 around inf 27.0%
Taylor expanded in c around inf 38.8%
Taylor expanded in x around 0 35.5%
mul-1-neg35.5%
distribute-lft-neg-out35.5%
*-commutative35.5%
Simplified35.5%
if 1.5500000000000001e22 < a Initial program 24.5%
Taylor expanded in b around inf 31.4%
Taylor expanded in a around inf 45.7%
Final simplification38.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -2e+77)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= y2 -1.85e-128)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y2 1.85e+71)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y2 2.8e+293)
(* a (* y5 (* t y2)))
(* c (* t (* y4 (- y2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2e+77) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= -1.85e-128) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= 1.85e+71) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 2.8e+293) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (t * (y4 * -y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-2d+77)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (y2 <= (-1.85d-128)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y2 <= 1.85d+71) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y2 <= 2.8d+293) then
tmp = a * (y5 * (t * y2))
else
tmp = c * (t * (y4 * -y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2e+77) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= -1.85e-128) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= 1.85e+71) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 2.8e+293) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (t * (y4 * -y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -2e+77: tmp = a * (t * ((y2 * y5) - (z * b))) elif y2 <= -1.85e-128: tmp = b * (y4 * ((t * j) - (y * k))) elif y2 <= 1.85e+71: tmp = b * (j * ((t * y4) - (x * y0))) elif y2 <= 2.8e+293: tmp = a * (y5 * (t * y2)) else: tmp = c * (t * (y4 * -y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -2e+77) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= -1.85e-128) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y2 <= 1.85e+71) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y2 <= 2.8e+293) tmp = Float64(a * Float64(y5 * Float64(t * y2))); else tmp = Float64(c * Float64(t * Float64(y4 * Float64(-y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -2e+77) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (y2 <= -1.85e-128) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y2 <= 1.85e+71) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y2 <= 2.8e+293) tmp = a * (y5 * (t * y2)); else tmp = c * (t * (y4 * -y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -2e+77], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.85e-128], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.85e+71], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.8e+293], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * N[(y4 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2 \cdot 10^{+77}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq -1.85 \cdot 10^{-128}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y2 \leq 1.85 \cdot 10^{+71}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 2.8 \cdot 10^{+293}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y4 \cdot \left(-y2\right)\right)\right)\\
\end{array}
\end{array}
if y2 < -1.99999999999999997e77Initial program 22.9%
Taylor expanded in t around inf 46.3%
+-commutative46.3%
mul-1-neg46.3%
unsub-neg46.3%
*-commutative46.3%
Simplified46.3%
Taylor expanded in a around -inf 56.6%
+-commutative56.6%
mul-1-neg56.6%
sub-neg56.6%
Simplified56.6%
if -1.99999999999999997e77 < y2 < -1.85e-128Initial program 46.8%
Taylor expanded in b around inf 47.1%
Taylor expanded in y4 around inf 37.5%
if -1.85e-128 < y2 < 1.85e71Initial program 37.5%
Taylor expanded in b around inf 39.0%
Taylor expanded in j around inf 35.5%
if 1.85e71 < y2 < 2.79999999999999986e293Initial program 30.4%
Taylor expanded in t around inf 35.5%
+-commutative35.5%
mul-1-neg35.5%
unsub-neg35.5%
*-commutative35.5%
Simplified35.5%
Taylor expanded in a around -inf 44.3%
+-commutative44.3%
mul-1-neg44.3%
sub-neg44.3%
Simplified44.3%
Taylor expanded in y2 around inf 42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in a around 0 42.5%
associate-*r*46.6%
Simplified46.6%
if 2.79999999999999986e293 < y2 Initial program 0.0%
Taylor expanded in t around inf 33.4%
+-commutative33.4%
mul-1-neg33.4%
unsub-neg33.4%
*-commutative33.4%
Simplified33.4%
Taylor expanded in c around inf 83.5%
mul-1-neg83.5%
+-commutative83.5%
mul-1-neg83.5%
sub-neg83.5%
Simplified83.5%
Taylor expanded in y2 around inf 83.5%
*-commutative83.5%
Simplified83.5%
Final simplification42.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -1.35e+77)
(* a (* t (- (* y2 y5) (* z b))))
(if (<= y2 2.6e+71)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y2 6.8e+286) (* a (* y5 (* t y2))) (* c (* t (* y4 (- y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.35e+77) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= 2.6e+71) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 6.8e+286) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (t * (y4 * -y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-1.35d+77)) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else if (y2 <= 2.6d+71) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y2 <= 6.8d+286) then
tmp = a * (y5 * (t * y2))
else
tmp = c * (t * (y4 * -y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.35e+77) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else if (y2 <= 2.6e+71) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 6.8e+286) {
tmp = a * (y5 * (t * y2));
} else {
tmp = c * (t * (y4 * -y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -1.35e+77: tmp = a * (t * ((y2 * y5) - (z * b))) elif y2 <= 2.6e+71: tmp = b * (j * ((t * y4) - (x * y0))) elif y2 <= 6.8e+286: tmp = a * (y5 * (t * y2)) else: tmp = c * (t * (y4 * -y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -1.35e+77) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); elseif (y2 <= 2.6e+71) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y2 <= 6.8e+286) tmp = Float64(a * Float64(y5 * Float64(t * y2))); else tmp = Float64(c * Float64(t * Float64(y4 * Float64(-y2)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -1.35e+77) tmp = a * (t * ((y2 * y5) - (z * b))); elseif (y2 <= 2.6e+71) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y2 <= 6.8e+286) tmp = a * (y5 * (t * y2)); else tmp = c * (t * (y4 * -y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -1.35e+77], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.6e+71], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.8e+286], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * N[(y4 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -1.35 \cdot 10^{+77}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 2.6 \cdot 10^{+71}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 6.8 \cdot 10^{+286}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y4 \cdot \left(-y2\right)\right)\right)\\
\end{array}
\end{array}
if y2 < -1.3499999999999999e77Initial program 22.9%
Taylor expanded in t around inf 46.3%
+-commutative46.3%
mul-1-neg46.3%
unsub-neg46.3%
*-commutative46.3%
Simplified46.3%
Taylor expanded in a around -inf 56.6%
+-commutative56.6%
mul-1-neg56.6%
sub-neg56.6%
Simplified56.6%
if -1.3499999999999999e77 < y2 < 2.59999999999999991e71Initial program 39.3%
Taylor expanded in b around inf 40.5%
Taylor expanded in j around inf 32.8%
if 2.59999999999999991e71 < y2 < 6.8e286Initial program 30.4%
Taylor expanded in t around inf 35.5%
+-commutative35.5%
mul-1-neg35.5%
unsub-neg35.5%
*-commutative35.5%
Simplified35.5%
Taylor expanded in a around -inf 44.3%
+-commutative44.3%
mul-1-neg44.3%
sub-neg44.3%
Simplified44.3%
Taylor expanded in y2 around inf 42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in a around 0 42.5%
associate-*r*46.6%
Simplified46.6%
if 6.8e286 < y2 Initial program 0.0%
Taylor expanded in t around inf 33.4%
+-commutative33.4%
mul-1-neg33.4%
unsub-neg33.4%
*-commutative33.4%
Simplified33.4%
Taylor expanded in c around inf 83.5%
mul-1-neg83.5%
+-commutative83.5%
mul-1-neg83.5%
sub-neg83.5%
Simplified83.5%
Taylor expanded in y2 around inf 83.5%
*-commutative83.5%
Simplified83.5%
Final simplification40.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y5 (* t y2)))))
(if (<= y2 -4.5e+81)
t_1
(if (<= y2 5e+17)
(* i (* k (* y y5)))
(if (<= y2 6.4e+286) t_1 (* c (* t (* y4 (- 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 = a * (y5 * (t * y2));
double tmp;
if (y2 <= -4.5e+81) {
tmp = t_1;
} else if (y2 <= 5e+17) {
tmp = i * (k * (y * y5));
} else if (y2 <= 6.4e+286) {
tmp = t_1;
} else {
tmp = c * (t * (y4 * -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 = a * (y5 * (t * y2))
if (y2 <= (-4.5d+81)) then
tmp = t_1
else if (y2 <= 5d+17) then
tmp = i * (k * (y * y5))
else if (y2 <= 6.4d+286) then
tmp = t_1
else
tmp = c * (t * (y4 * -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 = a * (y5 * (t * y2));
double tmp;
if (y2 <= -4.5e+81) {
tmp = t_1;
} else if (y2 <= 5e+17) {
tmp = i * (k * (y * y5));
} else if (y2 <= 6.4e+286) {
tmp = t_1;
} else {
tmp = c * (t * (y4 * -y2));
}
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)) tmp = 0 if y2 <= -4.5e+81: tmp = t_1 elif y2 <= 5e+17: tmp = i * (k * (y * y5)) elif y2 <= 6.4e+286: tmp = t_1 else: tmp = c * (t * (y4 * -y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y5 * Float64(t * y2))) tmp = 0.0 if (y2 <= -4.5e+81) tmp = t_1; elseif (y2 <= 5e+17) tmp = Float64(i * Float64(k * Float64(y * y5))); elseif (y2 <= 6.4e+286) tmp = t_1; else tmp = Float64(c * Float64(t * Float64(y4 * Float64(-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 = a * (y5 * (t * y2)); tmp = 0.0; if (y2 <= -4.5e+81) tmp = t_1; elseif (y2 <= 5e+17) tmp = i * (k * (y * y5)); elseif (y2 <= 6.4e+286) tmp = t_1; else tmp = c * (t * (y4 * -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[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -4.5e+81], t$95$1, If[LessEqual[y2, 5e+17], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.4e+286], t$95$1, N[(c * N[(t * N[(y4 * (-y2)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{if}\;y2 \leq -4.5 \cdot 10^{+81}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 5 \cdot 10^{+17}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 6.4 \cdot 10^{+286}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(t \cdot \left(y4 \cdot \left(-y2\right)\right)\right)\\
\end{array}
\end{array}
if y2 < -4.50000000000000017e81 or 5e17 < y2 < 6.3999999999999999e286Initial program 27.5%
Taylor expanded in t around inf 38.3%
+-commutative38.3%
mul-1-neg38.3%
unsub-neg38.3%
*-commutative38.3%
Simplified38.3%
Taylor expanded in a around -inf 45.7%
+-commutative45.7%
mul-1-neg45.7%
sub-neg45.7%
Simplified45.7%
Taylor expanded in y2 around inf 42.3%
*-commutative42.3%
Simplified42.3%
Taylor expanded in a around 0 42.3%
associate-*r*45.0%
Simplified45.0%
if -4.50000000000000017e81 < y2 < 5e17Initial program 40.0%
Taylor expanded in k around inf 33.6%
+-commutative33.6%
mul-1-neg33.6%
unsub-neg33.6%
*-commutative33.6%
associate-*r*33.6%
neg-mul-133.6%
Simplified33.6%
Taylor expanded in y5 around -inf 22.1%
mul-1-neg22.1%
Simplified22.1%
Taylor expanded in y0 around 0 24.1%
*-commutative24.1%
Simplified24.1%
if 6.3999999999999999e286 < y2 Initial program 0.0%
Taylor expanded in t around inf 33.4%
+-commutative33.4%
mul-1-neg33.4%
unsub-neg33.4%
*-commutative33.4%
Simplified33.4%
Taylor expanded in c around inf 83.5%
mul-1-neg83.5%
+-commutative83.5%
mul-1-neg83.5%
sub-neg83.5%
Simplified83.5%
Taylor expanded in y2 around inf 83.5%
*-commutative83.5%
Simplified83.5%
Final simplification34.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= t -5.6e-150) (not (<= t 9.5e+69))) (* a (* t (- (* y2 y5) (* z b)))) (* i (* k (* y y5)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((t <= -5.6e-150) || !(t <= 9.5e+69)) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else {
tmp = i * (k * (y * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((t <= (-5.6d-150)) .or. (.not. (t <= 9.5d+69))) then
tmp = a * (t * ((y2 * y5) - (z * b)))
else
tmp = i * (k * (y * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((t <= -5.6e-150) || !(t <= 9.5e+69)) {
tmp = a * (t * ((y2 * y5) - (z * b)));
} else {
tmp = i * (k * (y * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (t <= -5.6e-150) or not (t <= 9.5e+69): tmp = a * (t * ((y2 * y5) - (z * b))) else: tmp = i * (k * (y * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((t <= -5.6e-150) || !(t <= 9.5e+69)) tmp = Float64(a * Float64(t * Float64(Float64(y2 * y5) - Float64(z * b)))); else tmp = Float64(i * Float64(k * Float64(y * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((t <= -5.6e-150) || ~((t <= 9.5e+69))) tmp = a * (t * ((y2 * y5) - (z * b))); else tmp = i * (k * (y * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[t, -5.6e-150], N[Not[LessEqual[t, 9.5e+69]], $MachinePrecision]], N[(a * N[(t * N[(N[(y2 * y5), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -5.6 \cdot 10^{-150} \lor \neg \left(t \leq 9.5 \cdot 10^{+69}\right):\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5 - z \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\end{array}
\end{array}
if t < -5.59999999999999993e-150 or 9.4999999999999995e69 < t Initial program 24.5%
Taylor expanded in t around inf 43.4%
+-commutative43.4%
mul-1-neg43.4%
unsub-neg43.4%
*-commutative43.4%
Simplified43.4%
Taylor expanded in a around -inf 39.8%
+-commutative39.8%
mul-1-neg39.8%
sub-neg39.8%
Simplified39.8%
if -5.59999999999999993e-150 < t < 9.4999999999999995e69Initial program 47.2%
Taylor expanded in k around inf 35.3%
+-commutative35.3%
mul-1-neg35.3%
unsub-neg35.3%
*-commutative35.3%
associate-*r*35.3%
neg-mul-135.3%
Simplified35.3%
Taylor expanded in y5 around -inf 28.2%
mul-1-neg28.2%
Simplified28.2%
Taylor expanded in y0 around 0 30.0%
*-commutative30.0%
Simplified30.0%
Final simplification35.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y5 -9.5e+47) (not (<= y5 4.3e-42))) (* a (* t (* y2 y5))) (* 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 ((y5 <= -9.5e+47) || !(y5 <= 4.3e-42)) {
tmp = a * (t * (y2 * y5));
} 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 ((y5 <= (-9.5d+47)) .or. (.not. (y5 <= 4.3d-42))) then
tmp = a * (t * (y2 * y5))
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 ((y5 <= -9.5e+47) || !(y5 <= 4.3e-42)) {
tmp = a * (t * (y2 * y5));
} 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 (y5 <= -9.5e+47) or not (y5 <= 4.3e-42): tmp = a * (t * (y2 * y5)) 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 ((y5 <= -9.5e+47) || !(y5 <= 4.3e-42)) tmp = Float64(a * Float64(t * Float64(y2 * y5))); 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 ((y5 <= -9.5e+47) || ~((y5 <= 4.3e-42))) tmp = a * (t * (y2 * y5)); 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[Or[LessEqual[y5, -9.5e+47], N[Not[LessEqual[y5, 4.3e-42]], $MachinePrecision]], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -9.5 \cdot 10^{+47} \lor \neg \left(y5 \leq 4.3 \cdot 10^{-42}\right):\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y5 < -9.50000000000000001e47 or 4.3000000000000001e-42 < y5 Initial program 24.1%
Taylor expanded in t around inf 32.7%
+-commutative32.7%
mul-1-neg32.7%
unsub-neg32.7%
*-commutative32.7%
Simplified32.7%
Taylor expanded in a around -inf 38.2%
+-commutative38.2%
mul-1-neg38.2%
sub-neg38.2%
Simplified38.2%
Taylor expanded in y2 around inf 36.1%
*-commutative36.1%
Simplified36.1%
if -9.50000000000000001e47 < y5 < 4.3000000000000001e-42Initial program 44.3%
Taylor expanded in y2 around inf 35.6%
Taylor expanded in c around inf 29.1%
Taylor expanded in x around inf 18.7%
Final simplification27.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y2 -1e+84) (* a (* y5 (* t y2))) (if (<= y2 4.1e+65) (* i (* k (* y y5))) (* a (* t (* y2 y5))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1e+84) {
tmp = a * (y5 * (t * y2));
} else if (y2 <= 4.1e+65) {
tmp = i * (k * (y * y5));
} else {
tmp = a * (t * (y2 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-1d+84)) then
tmp = a * (y5 * (t * y2))
else if (y2 <= 4.1d+65) then
tmp = i * (k * (y * y5))
else
tmp = a * (t * (y2 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1e+84) {
tmp = a * (y5 * (t * y2));
} else if (y2 <= 4.1e+65) {
tmp = i * (k * (y * y5));
} else {
tmp = a * (t * (y2 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -1e+84: tmp = a * (y5 * (t * y2)) elif y2 <= 4.1e+65: tmp = i * (k * (y * y5)) else: tmp = a * (t * (y2 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -1e+84) tmp = Float64(a * Float64(y5 * Float64(t * y2))); elseif (y2 <= 4.1e+65) tmp = Float64(i * Float64(k * Float64(y * y5))); else tmp = Float64(a * Float64(t * Float64(y2 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -1e+84) tmp = a * (y5 * (t * y2)); elseif (y2 <= 4.1e+65) tmp = i * (k * (y * y5)); else tmp = a * (t * (y2 * y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -1e+84], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.1e+65], N[(i * N[(k * N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -1 \cdot 10^{+84}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq 4.1 \cdot 10^{+65}:\\
\;\;\;\;i \cdot \left(k \cdot \left(y \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y2 < -1.00000000000000006e84Initial program 22.2%
Taylor expanded in t around inf 47.1%
+-commutative47.1%
mul-1-neg47.1%
unsub-neg47.1%
*-commutative47.1%
Simplified47.1%
Taylor expanded in a around -inf 56.0%
+-commutative56.0%
mul-1-neg56.0%
sub-neg56.0%
Simplified56.0%
Taylor expanded in y2 around inf 53.8%
*-commutative53.8%
Simplified53.8%
Taylor expanded in a around 0 53.8%
associate-*r*53.8%
Simplified53.8%
if -1.00000000000000006e84 < y2 < 4.1000000000000001e65Initial program 39.7%
Taylor expanded in k around inf 34.8%
+-commutative34.8%
mul-1-neg34.8%
unsub-neg34.8%
*-commutative34.8%
associate-*r*34.8%
neg-mul-134.8%
Simplified34.8%
Taylor expanded in y5 around -inf 22.0%
mul-1-neg22.0%
Simplified22.0%
Taylor expanded in y0 around 0 23.8%
*-commutative23.8%
Simplified23.8%
if 4.1000000000000001e65 < y2 Initial program 25.9%
Taylor expanded in t around inf 34.0%
+-commutative34.0%
mul-1-neg34.0%
unsub-neg34.0%
*-commutative34.0%
Simplified34.0%
Taylor expanded in a around -inf 41.5%
+-commutative41.5%
mul-1-neg41.5%
sub-neg41.5%
Simplified41.5%
Taylor expanded in y2 around inf 40.0%
*-commutative40.0%
Simplified40.0%
Final simplification32.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* y5 (* t y2))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y5 * (t * y2));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * (y5 * (t * y2))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y5 * (t * y2));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (y5 * (t * y2))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(y5 * Float64(t * y2))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (y5 * (t * y2)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)
\end{array}
Initial program 33.7%
Taylor expanded in t around inf 34.5%
+-commutative34.5%
mul-1-neg34.5%
unsub-neg34.5%
*-commutative34.5%
Simplified34.5%
Taylor expanded in a around -inf 28.9%
+-commutative28.9%
mul-1-neg28.9%
sub-neg28.9%
Simplified28.9%
Taylor expanded in y2 around inf 21.7%
*-commutative21.7%
Simplified21.7%
Taylor expanded in a around 0 21.7%
associate-*r*22.5%
Simplified22.5%
Final simplification22.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* t (* y2 y5))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (t * (y2 * y5));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * (t * (y2 * y5))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (t * (y2 * y5));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (t * (y2 * y5))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(t * Float64(y2 * y5))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (t * (y2 * y5)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)
\end{array}
Initial program 33.7%
Taylor expanded in t around inf 34.5%
+-commutative34.5%
mul-1-neg34.5%
unsub-neg34.5%
*-commutative34.5%
Simplified34.5%
Taylor expanded in a around -inf 28.9%
+-commutative28.9%
mul-1-neg28.9%
sub-neg28.9%
Simplified28.9%
Taylor expanded in y2 around inf 21.7%
*-commutative21.7%
Simplified21.7%
Final simplification21.7%
(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 2024100
(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)))))