
(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 29 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 (- (* c y0) (* a y1)))
(t_2 (* y (- (* a b) (* c i))))
(t_3 (- (* y0 y5) (* y1 y4)))
(t_4 (- (* b y4) (* i y5)))
(t_5 (- (* i y1) (* b y0)))
(t_6
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (- (* x y2) (* z y3))))))
(t_7 (- (* x y) (* z t))))
(if (<= y -2.25e+278)
(* c (* y3 (- (* y y4) (* z y0))))
(if (<= y -6.6e+130)
(* x t_2)
(if (<= y -2.1e+55)
(*
k
(- (+ (* i (* y y5)) (* y2 (- (* y1 y4) (* y0 y5)))) (* i (* z y1))))
(if (<= y -4.4e-76)
(* j (+ (+ (* y3 t_3) (* t t_4)) (* x t_5)))
(if (<= y -1.22e-238)
t_6
(if (<= y -1.6e-284)
(*
t
(+
(+ (* z (- (* c i) (* a b))) (* j t_4))
(* y2 (- (* a y5) (* c y4)))))
(if (<= y 7.4e-252)
t_6
(if (<= y 1.4e-161)
(* x (+ (+ t_2 (* y2 t_1)) (* j t_5)))
(if (<= y 2.2e-82)
(*
c
(-
(* y4 (- (* y y3) (* t y2)))
(+ (* i t_7) (* y0 (- (* z y3) (* x y2))))))
(if (<= y 3.4e-7)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y 2.3e+118)
t_6
(if (<= y 1.65e+143)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(- (* j t_3) (* z t_1))))
(if (<= y 2.35e+207)
(* a (* b t_7))
(* y (* i (- (* k y5) (* x c)))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y0) - (a * y1);
double t_2 = y * ((a * b) - (c * i));
double t_3 = (y0 * y5) - (y1 * y4);
double t_4 = (b * y4) - (i * y5);
double t_5 = (i * y1) - (b * y0);
double t_6 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))));
double t_7 = (x * y) - (z * t);
double tmp;
if (y <= -2.25e+278) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (y <= -6.6e+130) {
tmp = x * t_2;
} else if (y <= -2.1e+55) {
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
} else if (y <= -4.4e-76) {
tmp = j * (((y3 * t_3) + (t * t_4)) + (x * t_5));
} else if (y <= -1.22e-238) {
tmp = t_6;
} else if (y <= -1.6e-284) {
tmp = t * (((z * ((c * i) - (a * b))) + (j * t_4)) + (y2 * ((a * y5) - (c * y4))));
} else if (y <= 7.4e-252) {
tmp = t_6;
} else if (y <= 1.4e-161) {
tmp = x * ((t_2 + (y2 * t_1)) + (j * t_5));
} else if (y <= 2.2e-82) {
tmp = c * ((y4 * ((y * y3) - (t * y2))) - ((i * t_7) + (y0 * ((z * y3) - (x * y2)))));
} else if (y <= 3.4e-7) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y <= 2.3e+118) {
tmp = t_6;
} else if (y <= 1.65e+143) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_3) - (z * t_1)));
} else if (y <= 2.35e+207) {
tmp = a * (b * t_7);
} else {
tmp = y * (i * ((k * y5) - (x * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: tmp
t_1 = (c * y0) - (a * y1)
t_2 = y * ((a * b) - (c * i))
t_3 = (y0 * y5) - (y1 * y4)
t_4 = (b * y4) - (i * y5)
t_5 = (i * y1) - (b * y0)
t_6 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))))
t_7 = (x * y) - (z * t)
if (y <= (-2.25d+278)) then
tmp = c * (y3 * ((y * y4) - (z * y0)))
else if (y <= (-6.6d+130)) then
tmp = x * t_2
else if (y <= (-2.1d+55)) then
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)))
else if (y <= (-4.4d-76)) then
tmp = j * (((y3 * t_3) + (t * t_4)) + (x * t_5))
else if (y <= (-1.22d-238)) then
tmp = t_6
else if (y <= (-1.6d-284)) then
tmp = t * (((z * ((c * i) - (a * b))) + (j * t_4)) + (y2 * ((a * y5) - (c * y4))))
else if (y <= 7.4d-252) then
tmp = t_6
else if (y <= 1.4d-161) then
tmp = x * ((t_2 + (y2 * t_1)) + (j * t_5))
else if (y <= 2.2d-82) then
tmp = c * ((y4 * ((y * y3) - (t * y2))) - ((i * t_7) + (y0 * ((z * y3) - (x * y2)))))
else if (y <= 3.4d-7) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y <= 2.3d+118) then
tmp = t_6
else if (y <= 1.65d+143) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_3) - (z * t_1)))
else if (y <= 2.35d+207) then
tmp = a * (b * t_7)
else
tmp = y * (i * ((k * y5) - (x * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y0) - (a * y1);
double t_2 = y * ((a * b) - (c * i));
double t_3 = (y0 * y5) - (y1 * y4);
double t_4 = (b * y4) - (i * y5);
double t_5 = (i * y1) - (b * y0);
double t_6 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))));
double t_7 = (x * y) - (z * t);
double tmp;
if (y <= -2.25e+278) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (y <= -6.6e+130) {
tmp = x * t_2;
} else if (y <= -2.1e+55) {
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
} else if (y <= -4.4e-76) {
tmp = j * (((y3 * t_3) + (t * t_4)) + (x * t_5));
} else if (y <= -1.22e-238) {
tmp = t_6;
} else if (y <= -1.6e-284) {
tmp = t * (((z * ((c * i) - (a * b))) + (j * t_4)) + (y2 * ((a * y5) - (c * y4))));
} else if (y <= 7.4e-252) {
tmp = t_6;
} else if (y <= 1.4e-161) {
tmp = x * ((t_2 + (y2 * t_1)) + (j * t_5));
} else if (y <= 2.2e-82) {
tmp = c * ((y4 * ((y * y3) - (t * y2))) - ((i * t_7) + (y0 * ((z * y3) - (x * y2)))));
} else if (y <= 3.4e-7) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y <= 2.3e+118) {
tmp = t_6;
} else if (y <= 1.65e+143) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_3) - (z * t_1)));
} else if (y <= 2.35e+207) {
tmp = a * (b * t_7);
} else {
tmp = y * (i * ((k * y5) - (x * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (c * y0) - (a * y1) t_2 = y * ((a * b) - (c * i)) t_3 = (y0 * y5) - (y1 * y4) t_4 = (b * y4) - (i * y5) t_5 = (i * y1) - (b * y0) t_6 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) t_7 = (x * y) - (z * t) tmp = 0 if y <= -2.25e+278: tmp = c * (y3 * ((y * y4) - (z * y0))) elif y <= -6.6e+130: tmp = x * t_2 elif y <= -2.1e+55: tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))) elif y <= -4.4e-76: tmp = j * (((y3 * t_3) + (t * t_4)) + (x * t_5)) elif y <= -1.22e-238: tmp = t_6 elif y <= -1.6e-284: tmp = t * (((z * ((c * i) - (a * b))) + (j * t_4)) + (y2 * ((a * y5) - (c * y4)))) elif y <= 7.4e-252: tmp = t_6 elif y <= 1.4e-161: tmp = x * ((t_2 + (y2 * t_1)) + (j * t_5)) elif y <= 2.2e-82: tmp = c * ((y4 * ((y * y3) - (t * y2))) - ((i * t_7) + (y0 * ((z * y3) - (x * y2))))) elif y <= 3.4e-7: tmp = b * (j * ((t * y4) - (x * y0))) elif y <= 2.3e+118: tmp = t_6 elif y <= 1.65e+143: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_3) - (z * t_1))) elif y <= 2.35e+207: tmp = a * (b * t_7) else: tmp = y * (i * ((k * y5) - (x * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * y0) - Float64(a * y1)) t_2 = Float64(y * Float64(Float64(a * b) - Float64(c * i))) t_3 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) t_4 = Float64(Float64(b * y4) - Float64(i * y5)) t_5 = Float64(Float64(i * y1) - Float64(b * y0)) t_6 = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3))))) t_7 = Float64(Float64(x * y) - Float64(z * t)) tmp = 0.0 if (y <= -2.25e+278) tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0)))); elseif (y <= -6.6e+130) tmp = Float64(x * t_2); elseif (y <= -2.1e+55) tmp = Float64(k * Float64(Float64(Float64(i * Float64(y * y5)) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) - Float64(i * Float64(z * y1)))); elseif (y <= -4.4e-76) tmp = Float64(j * Float64(Float64(Float64(y3 * t_3) + Float64(t * t_4)) + Float64(x * t_5))); elseif (y <= -1.22e-238) tmp = t_6; elseif (y <= -1.6e-284) tmp = Float64(t * Float64(Float64(Float64(z * Float64(Float64(c * i) - Float64(a * b))) + Float64(j * t_4)) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y <= 7.4e-252) tmp = t_6; elseif (y <= 1.4e-161) tmp = Float64(x * Float64(Float64(t_2 + Float64(y2 * t_1)) + Float64(j * t_5))); elseif (y <= 2.2e-82) tmp = Float64(c * Float64(Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))) - Float64(Float64(i * t_7) + Float64(y0 * Float64(Float64(z * y3) - Float64(x * y2)))))); elseif (y <= 3.4e-7) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y <= 2.3e+118) tmp = t_6; elseif (y <= 1.65e+143) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * t_3) - Float64(z * t_1)))); elseif (y <= 2.35e+207) tmp = Float64(a * Float64(b * t_7)); else tmp = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (c * y0) - (a * y1); t_2 = y * ((a * b) - (c * i)); t_3 = (y0 * y5) - (y1 * y4); t_4 = (b * y4) - (i * y5); t_5 = (i * y1) - (b * y0); t_6 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))); t_7 = (x * y) - (z * t); tmp = 0.0; if (y <= -2.25e+278) tmp = c * (y3 * ((y * y4) - (z * y0))); elseif (y <= -6.6e+130) tmp = x * t_2; elseif (y <= -2.1e+55) tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))); elseif (y <= -4.4e-76) tmp = j * (((y3 * t_3) + (t * t_4)) + (x * t_5)); elseif (y <= -1.22e-238) tmp = t_6; elseif (y <= -1.6e-284) tmp = t * (((z * ((c * i) - (a * b))) + (j * t_4)) + (y2 * ((a * y5) - (c * y4)))); elseif (y <= 7.4e-252) tmp = t_6; elseif (y <= 1.4e-161) tmp = x * ((t_2 + (y2 * t_1)) + (j * t_5)); elseif (y <= 2.2e-82) tmp = c * ((y4 * ((y * y3) - (t * y2))) - ((i * t_7) + (y0 * ((z * y3) - (x * y2))))); elseif (y <= 3.4e-7) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y <= 2.3e+118) tmp = t_6; elseif (y <= 1.65e+143) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_3) - (z * t_1))); elseif (y <= 2.35e+207) tmp = a * (b * t_7); else tmp = y * (i * ((k * y5) - (x * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.25e+278], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -6.6e+130], N[(x * t$95$2), $MachinePrecision], If[LessEqual[y, -2.1e+55], N[(k * N[(N[(N[(i * N[(y * y5), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -4.4e-76], N[(j * N[(N[(N[(y3 * t$95$3), $MachinePrecision] + N[(t * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.22e-238], t$95$6, If[LessEqual[y, -1.6e-284], N[(t * N[(N[(N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 7.4e-252], t$95$6, If[LessEqual[y, 1.4e-161], N[(x * N[(N[(t$95$2 + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.2e-82], N[(c * N[(N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(i * t$95$7), $MachinePrecision] + N[(y0 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3.4e-7], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.3e+118], t$95$6, If[LessEqual[y, 1.65e+143], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * t$95$3), $MachinePrecision] - N[(z * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.35e+207], N[(a * N[(b * t$95$7), $MachinePrecision]), $MachinePrecision], N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y0 - a \cdot y1\\
t_2 := y \cdot \left(a \cdot b - c \cdot i\right)\\
t_3 := y0 \cdot y5 - y1 \cdot y4\\
t_4 := b \cdot y4 - i \cdot y5\\
t_5 := i \cdot y1 - b \cdot y0\\
t_6 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
t_7 := x \cdot y - z \cdot t\\
\mathbf{if}\;y \leq -2.25 \cdot 10^{+278}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq -6.6 \cdot 10^{+130}:\\
\;\;\;\;x \cdot t\_2\\
\mathbf{elif}\;y \leq -2.1 \cdot 10^{+55}:\\
\;\;\;\;k \cdot \left(\left(i \cdot \left(y \cdot y5\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - i \cdot \left(z \cdot y1\right)\right)\\
\mathbf{elif}\;y \leq -4.4 \cdot 10^{-76}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot t\_3 + t \cdot t\_4\right) + x \cdot t\_5\right)\\
\mathbf{elif}\;y \leq -1.22 \cdot 10^{-238}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;y \leq -1.6 \cdot 10^{-284}:\\
\;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + j \cdot t\_4\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y \leq 7.4 \cdot 10^{-252}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;y \leq 1.4 \cdot 10^{-161}:\\
\;\;\;\;x \cdot \left(\left(t\_2 + y2 \cdot t\_1\right) + j \cdot t\_5\right)\\
\mathbf{elif}\;y \leq 2.2 \cdot 10^{-82}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right) - \left(i \cdot t\_7 + y0 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\
\mathbf{elif}\;y \leq 3.4 \cdot 10^{-7}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq 2.3 \cdot 10^{+118}:\\
\;\;\;\;t\_6\\
\mathbf{elif}\;y \leq 1.65 \cdot 10^{+143}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot t\_3 - z \cdot t\_1\right)\right)\\
\mathbf{elif}\;y \leq 2.35 \cdot 10^{+207}:\\
\;\;\;\;a \cdot \left(b \cdot t\_7\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\end{array}
\end{array}
if y < -2.25000000000000004e278Initial program 14.1%
Taylor expanded in y3 around -inf 59.4%
Taylor expanded in c around inf 100.0%
if -2.25000000000000004e278 < y < -6.6e130Initial program 33.3%
Taylor expanded in y around inf 53.3%
Taylor expanded in x around inf 64.1%
if -6.6e130 < y < -2.1000000000000001e55Initial program 29.9%
Taylor expanded in b around 0 15.2%
Taylor expanded in k around inf 65.4%
if -2.1000000000000001e55 < y < -4.39999999999999999e-76Initial program 45.1%
Taylor expanded in j around inf 58.9%
if -4.39999999999999999e-76 < y < -1.22e-238 or -1.60000000000000012e-284 < y < 7.4000000000000002e-252 or 3.39999999999999974e-7 < y < 2.30000000000000016e118Initial program 27.7%
Taylor expanded in b around 0 36.3%
Taylor expanded in y0 around inf 60.7%
if -1.22e-238 < y < -1.60000000000000012e-284Initial program 51.8%
Taylor expanded in t around inf 68.1%
if 7.4000000000000002e-252 < y < 1.39999999999999996e-161Initial program 27.2%
Taylor expanded in x around inf 50.2%
if 1.39999999999999996e-161 < y < 2.19999999999999986e-82Initial program 25.0%
Taylor expanded in c around inf 60.0%
if 2.19999999999999986e-82 < y < 3.39999999999999974e-7Initial program 18.2%
Taylor expanded in b around inf 45.5%
Taylor expanded in j around inf 73.0%
if 2.30000000000000016e118 < y < 1.65e143Initial program 49.6%
Taylor expanded in y3 around -inf 76.5%
if 1.65e143 < y < 2.34999999999999988e207Initial program 29.4%
Taylor expanded in b around inf 70.8%
Taylor expanded in a around inf 76.7%
if 2.34999999999999988e207 < y Initial program 40.9%
Taylor expanded in y around inf 73.0%
Taylor expanded in i around inf 65.4%
Final simplification64.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y2) (* z y3)))
(t_2
(+
(+
(+
(+
(-
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* x j) (* z k))))
(* t_1 (- (* c y0) (* a y1))))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* (- (* c y4) (* a y5)) (- (* y y3) (* t y2))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_2 INFINITY)
t_2
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y2) - (z * y3);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (t_1 * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((c * y4) - (a * y5)) * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * t_1));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y2) - (z * y3);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (t_1 * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((c * y4) - (a * y5)) * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * t_1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y2) - (z * y3) t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (t_1 * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((c * y4) - (a * y5)) * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * t_1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y2) - Float64(z * y3)) t_2 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) - Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(x * j) - Float64(z * k)))) + Float64(t_1 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(c * y4) - Float64(a * y5)) * Float64(Float64(y * y3) - Float64(t * y2)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * t_1))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * y2) - (z * y3); t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (t_1 * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((c * y4) - (a * y5)) * ((y * y3) - (t * y2)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * t_1)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, Infinity], t$95$2, N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y2 - z \cdot y3\\
t_2 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) - \left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right)\right) + t\_1 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(c \cdot y4 - a \cdot y5\right) \cdot \left(y \cdot y3 - t \cdot y2\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_2 \leq \infty:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot t\_1\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 89.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 b around 0 8.0%
Taylor expanded in y0 around inf 39.2%
Final simplification57.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y0) (* a y1)))
(t_2
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (- (* x y2) (* z y3))))))
(t_3 (* y (- (* a b) (* c i))))
(t_4 (- (* y0 y5) (* y1 y4)))
(t_5 (- (* z y3) (* x y2)))
(t_6 (- (* i y1) (* b y0)))
(t_7 (- (* x y) (* z t))))
(if (<= y -2.75e+278)
(* c (* y3 (- (* y y4) (* z y0))))
(if (<= y -4.8e+129)
(* x t_3)
(if (<= y -1.68e+53)
(*
k
(- (+ (* i (* y y5)) (* y2 (- (* y1 y4) (* y0 y5)))) (* i (* z y1))))
(if (<= y -1.45e-75)
(* j (+ (+ (* y3 t_4) (* t (- (* b y4) (* i y5)))) (* x t_6)))
(if (<= y -9.2e-232)
t_2
(if (<= y -5.1e-285)
(* a (+ (* y5 (- (* t y2) (* y y3))) (* y1 t_5)))
(if (<= y 1.2e-246)
t_2
(if (<= y 1.1e-158)
(* x (+ (+ t_3 (* y2 t_1)) (* j t_6)))
(if (<= y 1.35e-81)
(*
c
(-
(* y4 (- (* y y3) (* t y2)))
(+ (* i t_7) (* y0 t_5))))
(if (<= y 5.5e-8)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y 2.7e+117)
t_2
(if (<= y 1.45e+143)
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(- (* j t_4) (* z t_1))))
(if (<= y 1.25e+208)
(* a (* b t_7))
(* y (* i (- (* k y5) (* x c)))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y0) - (a * y1);
double t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))));
double t_3 = y * ((a * b) - (c * i));
double t_4 = (y0 * y5) - (y1 * y4);
double t_5 = (z * y3) - (x * y2);
double t_6 = (i * y1) - (b * y0);
double t_7 = (x * y) - (z * t);
double tmp;
if (y <= -2.75e+278) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (y <= -4.8e+129) {
tmp = x * t_3;
} else if (y <= -1.68e+53) {
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
} else if (y <= -1.45e-75) {
tmp = j * (((y3 * t_4) + (t * ((b * y4) - (i * y5)))) + (x * t_6));
} else if (y <= -9.2e-232) {
tmp = t_2;
} else if (y <= -5.1e-285) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * t_5));
} else if (y <= 1.2e-246) {
tmp = t_2;
} else if (y <= 1.1e-158) {
tmp = x * ((t_3 + (y2 * t_1)) + (j * t_6));
} else if (y <= 1.35e-81) {
tmp = c * ((y4 * ((y * y3) - (t * y2))) - ((i * t_7) + (y0 * t_5)));
} else if (y <= 5.5e-8) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y <= 2.7e+117) {
tmp = t_2;
} else if (y <= 1.45e+143) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_4) - (z * t_1)));
} else if (y <= 1.25e+208) {
tmp = a * (b * t_7);
} else {
tmp = y * (i * ((k * y5) - (x * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: tmp
t_1 = (c * y0) - (a * y1)
t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))))
t_3 = y * ((a * b) - (c * i))
t_4 = (y0 * y5) - (y1 * y4)
t_5 = (z * y3) - (x * y2)
t_6 = (i * y1) - (b * y0)
t_7 = (x * y) - (z * t)
if (y <= (-2.75d+278)) then
tmp = c * (y3 * ((y * y4) - (z * y0)))
else if (y <= (-4.8d+129)) then
tmp = x * t_3
else if (y <= (-1.68d+53)) then
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)))
else if (y <= (-1.45d-75)) then
tmp = j * (((y3 * t_4) + (t * ((b * y4) - (i * y5)))) + (x * t_6))
else if (y <= (-9.2d-232)) then
tmp = t_2
else if (y <= (-5.1d-285)) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * t_5))
else if (y <= 1.2d-246) then
tmp = t_2
else if (y <= 1.1d-158) then
tmp = x * ((t_3 + (y2 * t_1)) + (j * t_6))
else if (y <= 1.35d-81) then
tmp = c * ((y4 * ((y * y3) - (t * y2))) - ((i * t_7) + (y0 * t_5)))
else if (y <= 5.5d-8) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y <= 2.7d+117) then
tmp = t_2
else if (y <= 1.45d+143) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_4) - (z * t_1)))
else if (y <= 1.25d+208) then
tmp = a * (b * t_7)
else
tmp = y * (i * ((k * y5) - (x * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y0) - (a * y1);
double t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))));
double t_3 = y * ((a * b) - (c * i));
double t_4 = (y0 * y5) - (y1 * y4);
double t_5 = (z * y3) - (x * y2);
double t_6 = (i * y1) - (b * y0);
double t_7 = (x * y) - (z * t);
double tmp;
if (y <= -2.75e+278) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (y <= -4.8e+129) {
tmp = x * t_3;
} else if (y <= -1.68e+53) {
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
} else if (y <= -1.45e-75) {
tmp = j * (((y3 * t_4) + (t * ((b * y4) - (i * y5)))) + (x * t_6));
} else if (y <= -9.2e-232) {
tmp = t_2;
} else if (y <= -5.1e-285) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * t_5));
} else if (y <= 1.2e-246) {
tmp = t_2;
} else if (y <= 1.1e-158) {
tmp = x * ((t_3 + (y2 * t_1)) + (j * t_6));
} else if (y <= 1.35e-81) {
tmp = c * ((y4 * ((y * y3) - (t * y2))) - ((i * t_7) + (y0 * t_5)));
} else if (y <= 5.5e-8) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y <= 2.7e+117) {
tmp = t_2;
} else if (y <= 1.45e+143) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_4) - (z * t_1)));
} else if (y <= 1.25e+208) {
tmp = a * (b * t_7);
} else {
tmp = y * (i * ((k * y5) - (x * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (c * y0) - (a * y1) t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) t_3 = y * ((a * b) - (c * i)) t_4 = (y0 * y5) - (y1 * y4) t_5 = (z * y3) - (x * y2) t_6 = (i * y1) - (b * y0) t_7 = (x * y) - (z * t) tmp = 0 if y <= -2.75e+278: tmp = c * (y3 * ((y * y4) - (z * y0))) elif y <= -4.8e+129: tmp = x * t_3 elif y <= -1.68e+53: tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))) elif y <= -1.45e-75: tmp = j * (((y3 * t_4) + (t * ((b * y4) - (i * y5)))) + (x * t_6)) elif y <= -9.2e-232: tmp = t_2 elif y <= -5.1e-285: tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * t_5)) elif y <= 1.2e-246: tmp = t_2 elif y <= 1.1e-158: tmp = x * ((t_3 + (y2 * t_1)) + (j * t_6)) elif y <= 1.35e-81: tmp = c * ((y4 * ((y * y3) - (t * y2))) - ((i * t_7) + (y0 * t_5))) elif y <= 5.5e-8: tmp = b * (j * ((t * y4) - (x * y0))) elif y <= 2.7e+117: tmp = t_2 elif y <= 1.45e+143: tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_4) - (z * t_1))) elif y <= 1.25e+208: tmp = a * (b * t_7) else: tmp = y * (i * ((k * y5) - (x * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * y0) - Float64(a * y1)) t_2 = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3))))) t_3 = Float64(y * Float64(Float64(a * b) - Float64(c * i))) t_4 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) t_5 = Float64(Float64(z * y3) - Float64(x * y2)) t_6 = Float64(Float64(i * y1) - Float64(b * y0)) t_7 = Float64(Float64(x * y) - Float64(z * t)) tmp = 0.0 if (y <= -2.75e+278) tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0)))); elseif (y <= -4.8e+129) tmp = Float64(x * t_3); elseif (y <= -1.68e+53) tmp = Float64(k * Float64(Float64(Float64(i * Float64(y * y5)) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) - Float64(i * Float64(z * y1)))); elseif (y <= -1.45e-75) tmp = Float64(j * Float64(Float64(Float64(y3 * t_4) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * t_6))); elseif (y <= -9.2e-232) tmp = t_2; elseif (y <= -5.1e-285) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * t_5))); elseif (y <= 1.2e-246) tmp = t_2; elseif (y <= 1.1e-158) tmp = Float64(x * Float64(Float64(t_3 + Float64(y2 * t_1)) + Float64(j * t_6))); elseif (y <= 1.35e-81) tmp = Float64(c * Float64(Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))) - Float64(Float64(i * t_7) + Float64(y0 * t_5)))); elseif (y <= 5.5e-8) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y <= 2.7e+117) tmp = t_2; elseif (y <= 1.45e+143) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * t_4) - Float64(z * t_1)))); elseif (y <= 1.25e+208) tmp = Float64(a * Float64(b * t_7)); else tmp = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (c * y0) - (a * y1); t_2 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))); t_3 = y * ((a * b) - (c * i)); t_4 = (y0 * y5) - (y1 * y4); t_5 = (z * y3) - (x * y2); t_6 = (i * y1) - (b * y0); t_7 = (x * y) - (z * t); tmp = 0.0; if (y <= -2.75e+278) tmp = c * (y3 * ((y * y4) - (z * y0))); elseif (y <= -4.8e+129) tmp = x * t_3; elseif (y <= -1.68e+53) tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))); elseif (y <= -1.45e-75) tmp = j * (((y3 * t_4) + (t * ((b * y4) - (i * y5)))) + (x * t_6)); elseif (y <= -9.2e-232) tmp = t_2; elseif (y <= -5.1e-285) tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * t_5)); elseif (y <= 1.2e-246) tmp = t_2; elseif (y <= 1.1e-158) tmp = x * ((t_3 + (y2 * t_1)) + (j * t_6)); elseif (y <= 1.35e-81) tmp = c * ((y4 * ((y * y3) - (t * y2))) - ((i * t_7) + (y0 * t_5))); elseif (y <= 5.5e-8) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y <= 2.7e+117) tmp = t_2; elseif (y <= 1.45e+143) tmp = y3 * ((y * ((c * y4) - (a * y5))) + ((j * t_4) - (z * t_1))); elseif (y <= 1.25e+208) tmp = a * (b * t_7); else tmp = y * (i * ((k * y5) - (x * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.75e+278], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -4.8e+129], N[(x * t$95$3), $MachinePrecision], If[LessEqual[y, -1.68e+53], N[(k * N[(N[(N[(i * N[(y * y5), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.45e-75], N[(j * N[(N[(N[(y3 * t$95$4), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -9.2e-232], t$95$2, If[LessEqual[y, -5.1e-285], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.2e-246], t$95$2, If[LessEqual[y, 1.1e-158], N[(x * N[(N[(t$95$3 + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.35e-81], N[(c * N[(N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(i * t$95$7), $MachinePrecision] + N[(y0 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.5e-8], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.7e+117], t$95$2, If[LessEqual[y, 1.45e+143], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * t$95$4), $MachinePrecision] - N[(z * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.25e+208], N[(a * N[(b * t$95$7), $MachinePrecision]), $MachinePrecision], N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y0 - a \cdot y1\\
t_2 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
t_3 := y \cdot \left(a \cdot b - c \cdot i\right)\\
t_4 := y0 \cdot y5 - y1 \cdot y4\\
t_5 := z \cdot y3 - x \cdot y2\\
t_6 := i \cdot y1 - b \cdot y0\\
t_7 := x \cdot y - z \cdot t\\
\mathbf{if}\;y \leq -2.75 \cdot 10^{+278}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq -4.8 \cdot 10^{+129}:\\
\;\;\;\;x \cdot t\_3\\
\mathbf{elif}\;y \leq -1.68 \cdot 10^{+53}:\\
\;\;\;\;k \cdot \left(\left(i \cdot \left(y \cdot y5\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - i \cdot \left(z \cdot y1\right)\right)\\
\mathbf{elif}\;y \leq -1.45 \cdot 10^{-75}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot t\_4 + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot t\_6\right)\\
\mathbf{elif}\;y \leq -9.2 \cdot 10^{-232}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq -5.1 \cdot 10^{-285}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot t\_5\right)\\
\mathbf{elif}\;y \leq 1.2 \cdot 10^{-246}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq 1.1 \cdot 10^{-158}:\\
\;\;\;\;x \cdot \left(\left(t\_3 + y2 \cdot t\_1\right) + j \cdot t\_6\right)\\
\mathbf{elif}\;y \leq 1.35 \cdot 10^{-81}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right) - \left(i \cdot t\_7 + y0 \cdot t\_5\right)\right)\\
\mathbf{elif}\;y \leq 5.5 \cdot 10^{-8}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq 2.7 \cdot 10^{+117}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y \leq 1.45 \cdot 10^{+143}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot t\_4 - z \cdot t\_1\right)\right)\\
\mathbf{elif}\;y \leq 1.25 \cdot 10^{+208}:\\
\;\;\;\;a \cdot \left(b \cdot t\_7\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\end{array}
\end{array}
if y < -2.7499999999999999e278Initial program 14.1%
Taylor expanded in y3 around -inf 59.4%
Taylor expanded in c around inf 100.0%
if -2.7499999999999999e278 < y < -4.7999999999999997e129Initial program 33.3%
Taylor expanded in y around inf 53.3%
Taylor expanded in x around inf 64.1%
if -4.7999999999999997e129 < y < -1.68e53Initial program 29.9%
Taylor expanded in b around 0 15.2%
Taylor expanded in k around inf 65.4%
if -1.68e53 < y < -1.4500000000000001e-75Initial program 45.1%
Taylor expanded in j around inf 58.9%
if -1.4500000000000001e-75 < y < -9.2e-232 or -5.0999999999999999e-285 < y < 1.1999999999999999e-246 or 5.5000000000000003e-8 < y < 2.7000000000000002e117Initial program 27.0%
Taylor expanded in b around 0 35.9%
Taylor expanded in y0 around inf 60.9%
if -9.2e-232 < y < -5.0999999999999999e-285Initial program 51.5%
Taylor expanded in b around 0 57.1%
Taylor expanded in a around -inf 65.0%
mul-1-neg65.0%
Simplified65.0%
if 1.1999999999999999e-246 < y < 1.1000000000000001e-158Initial program 27.2%
Taylor expanded in x around inf 50.2%
if 1.1000000000000001e-158 < y < 1.34999999999999995e-81Initial program 25.0%
Taylor expanded in c around inf 60.0%
if 1.34999999999999995e-81 < y < 5.5000000000000003e-8Initial program 18.2%
Taylor expanded in b around inf 45.5%
Taylor expanded in j around inf 73.0%
if 2.7000000000000002e117 < y < 1.4499999999999999e143Initial program 49.6%
Taylor expanded in y3 around -inf 76.5%
if 1.4499999999999999e143 < y < 1.2500000000000001e208Initial program 29.4%
Taylor expanded in b around inf 70.8%
Taylor expanded in a around inf 76.7%
if 1.2500000000000001e208 < y Initial program 40.9%
Taylor expanded in y around inf 73.0%
Taylor expanded in i around inf 65.4%
Final simplification63.9%
(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)))))
(t_2 (- (* a b) (* c i)))
(t_3 (- (* c y0) (* a y1)))
(t_4 (* x (+ (+ (* y t_2) (* y2 t_3)) (* j (- (* i y1) (* b y0))))))
(t_5
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(- (* j (- (* y0 y5) (* y1 y4))) (* z t_3))))))
(if (<= t -1.3e-64)
t_1
(if (<= t -1.5e-204)
t_4
(if (<= t -1.72e-264)
t_5
(if (<= t 1.85e-305)
(* y (* x t_2))
(if (<= t 7.8e-169)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= t 1.7e-123)
t_4
(if (<= t 1.8e-101)
t_5
(if (<= t 7.8e-59)
(*
a
(+
(* y5 (- (* t y2) (* y y3)))
(* y1 (- (* z y3) (* x y2)))))
(if (<= t 12.8)
(* x (* y (* a (- b (* c (/ i a))))))
(if (<= t 2e+140)
t_5
(if (<= t 4.5e+271)
t_1
(* y (* k (- (* i y5) (* b y4)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double t_2 = (a * b) - (c * i);
double t_3 = (c * y0) - (a * y1);
double t_4 = x * (((y * t_2) + (y2 * t_3)) + (j * ((i * y1) - (b * y0))));
double t_5 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_3)));
double tmp;
if (t <= -1.3e-64) {
tmp = t_1;
} else if (t <= -1.5e-204) {
tmp = t_4;
} else if (t <= -1.72e-264) {
tmp = t_5;
} else if (t <= 1.85e-305) {
tmp = y * (x * t_2);
} else if (t <= 7.8e-169) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 1.7e-123) {
tmp = t_4;
} else if (t <= 1.8e-101) {
tmp = t_5;
} else if (t <= 7.8e-59) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (t <= 12.8) {
tmp = x * (y * (a * (b - (c * (i / a)))));
} else if (t <= 2e+140) {
tmp = t_5;
} else if (t <= 4.5e+271) {
tmp = t_1;
} else {
tmp = y * (k * ((i * y5) - (b * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
t_2 = (a * b) - (c * i)
t_3 = (c * y0) - (a * y1)
t_4 = x * (((y * t_2) + (y2 * t_3)) + (j * ((i * y1) - (b * y0))))
t_5 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_3)))
if (t <= (-1.3d-64)) then
tmp = t_1
else if (t <= (-1.5d-204)) then
tmp = t_4
else if (t <= (-1.72d-264)) then
tmp = t_5
else if (t <= 1.85d-305) then
tmp = y * (x * t_2)
else if (t <= 7.8d-169) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (t <= 1.7d-123) then
tmp = t_4
else if (t <= 1.8d-101) then
tmp = t_5
else if (t <= 7.8d-59) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))))
else if (t <= 12.8d0) then
tmp = x * (y * (a * (b - (c * (i / a)))))
else if (t <= 2d+140) then
tmp = t_5
else if (t <= 4.5d+271) then
tmp = t_1
else
tmp = y * (k * ((i * y5) - (b * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double t_2 = (a * b) - (c * i);
double t_3 = (c * y0) - (a * y1);
double t_4 = x * (((y * t_2) + (y2 * t_3)) + (j * ((i * y1) - (b * y0))));
double t_5 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_3)));
double tmp;
if (t <= -1.3e-64) {
tmp = t_1;
} else if (t <= -1.5e-204) {
tmp = t_4;
} else if (t <= -1.72e-264) {
tmp = t_5;
} else if (t <= 1.85e-305) {
tmp = y * (x * t_2);
} else if (t <= 7.8e-169) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 1.7e-123) {
tmp = t_4;
} else if (t <= 1.8e-101) {
tmp = t_5;
} else if (t <= 7.8e-59) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (t <= 12.8) {
tmp = x * (y * (a * (b - (c * (i / a)))));
} else if (t <= 2e+140) {
tmp = t_5;
} else if (t <= 4.5e+271) {
tmp = t_1;
} else {
tmp = y * (k * ((i * y5) - (b * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) t_2 = (a * b) - (c * i) t_3 = (c * y0) - (a * y1) t_4 = x * (((y * t_2) + (y2 * t_3)) + (j * ((i * y1) - (b * y0)))) t_5 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_3))) tmp = 0 if t <= -1.3e-64: tmp = t_1 elif t <= -1.5e-204: tmp = t_4 elif t <= -1.72e-264: tmp = t_5 elif t <= 1.85e-305: tmp = y * (x * t_2) elif t <= 7.8e-169: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif t <= 1.7e-123: tmp = t_4 elif t <= 1.8e-101: tmp = t_5 elif t <= 7.8e-59: tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))) elif t <= 12.8: tmp = x * (y * (a * (b - (c * (i / a))))) elif t <= 2e+140: tmp = t_5 elif t <= 4.5e+271: tmp = t_1 else: tmp = y * (k * ((i * y5) - (b * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) t_2 = Float64(Float64(a * b) - Float64(c * i)) t_3 = Float64(Float64(c * y0) - Float64(a * y1)) t_4 = Float64(x * Float64(Float64(Float64(y * t_2) + Float64(y2 * t_3)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) t_5 = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4))) - Float64(z * t_3)))) tmp = 0.0 if (t <= -1.3e-64) tmp = t_1; elseif (t <= -1.5e-204) tmp = t_4; elseif (t <= -1.72e-264) tmp = t_5; elseif (t <= 1.85e-305) tmp = Float64(y * Float64(x * t_2)); elseif (t <= 7.8e-169) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (t <= 1.7e-123) tmp = t_4; elseif (t <= 1.8e-101) tmp = t_5; elseif (t <= 7.8e-59) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))))); elseif (t <= 12.8) tmp = Float64(x * Float64(y * Float64(a * Float64(b - Float64(c * Float64(i / a)))))); elseif (t <= 2e+140) tmp = t_5; elseif (t <= 4.5e+271) tmp = t_1; else tmp = Float64(y * Float64(k * Float64(Float64(i * y5) - Float64(b * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); t_2 = (a * b) - (c * i); t_3 = (c * y0) - (a * y1); t_4 = x * (((y * t_2) + (y2 * t_3)) + (j * ((i * y1) - (b * y0)))); t_5 = y3 * ((y * ((c * y4) - (a * y5))) + ((j * ((y0 * y5) - (y1 * y4))) - (z * t_3))); tmp = 0.0; if (t <= -1.3e-64) tmp = t_1; elseif (t <= -1.5e-204) tmp = t_4; elseif (t <= -1.72e-264) tmp = t_5; elseif (t <= 1.85e-305) tmp = y * (x * t_2); elseif (t <= 7.8e-169) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (t <= 1.7e-123) tmp = t_4; elseif (t <= 1.8e-101) tmp = t_5; elseif (t <= 7.8e-59) tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))); elseif (t <= 12.8) tmp = x * (y * (a * (b - (c * (i / a))))); elseif (t <= 2e+140) tmp = t_5; elseif (t <= 4.5e+271) tmp = t_1; else tmp = y * (k * ((i * y5) - (b * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(x * N[(N[(N[(y * t$95$2), $MachinePrecision] + N[(y2 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(z * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.3e-64], t$95$1, If[LessEqual[t, -1.5e-204], t$95$4, If[LessEqual[t, -1.72e-264], t$95$5, If[LessEqual[t, 1.85e-305], N[(y * N[(x * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 7.8e-169], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.7e-123], t$95$4, If[LessEqual[t, 1.8e-101], t$95$5, If[LessEqual[t, 7.8e-59], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 12.8], N[(x * N[(y * N[(a * N[(b - N[(c * N[(i / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2e+140], t$95$5, If[LessEqual[t, 4.5e+271], t$95$1, N[(y * N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
t_2 := a \cdot b - c \cdot i\\
t_3 := c \cdot y0 - a \cdot y1\\
t_4 := x \cdot \left(\left(y \cdot t\_2 + y2 \cdot t\_3\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_5 := y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) - z \cdot t\_3\right)\right)\\
\mathbf{if}\;t \leq -1.3 \cdot 10^{-64}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -1.5 \cdot 10^{-204}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;t \leq -1.72 \cdot 10^{-264}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;t \leq 1.85 \cdot 10^{-305}:\\
\;\;\;\;y \cdot \left(x \cdot t\_2\right)\\
\mathbf{elif}\;t \leq 7.8 \cdot 10^{-169}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;t \leq 1.7 \cdot 10^{-123}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;t \leq 1.8 \cdot 10^{-101}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;t \leq 7.8 \cdot 10^{-59}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;t \leq 12.8:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot \left(b - c \cdot \frac{i}{a}\right)\right)\right)\\
\mathbf{elif}\;t \leq 2 \cdot 10^{+140}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;t \leq 4.5 \cdot 10^{+271}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(k \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -1.3e-64 or 2.00000000000000012e140 < t < 4.4999999999999997e271Initial program 29.4%
Taylor expanded in b around inf 35.1%
Taylor expanded in j around inf 57.2%
if -1.3e-64 < t < -1.4999999999999999e-204 or 7.79999999999999954e-169 < t < 1.7e-123Initial program 22.4%
Taylor expanded in x around inf 61.7%
if -1.4999999999999999e-204 < t < -1.7200000000000001e-264 or 1.7e-123 < t < 1.8e-101 or 12.800000000000001 < t < 2.00000000000000012e140Initial program 37.8%
Taylor expanded in y3 around -inf 65.3%
if -1.7200000000000001e-264 < t < 1.84999999999999989e-305Initial program 34.3%
Taylor expanded in y around inf 67.6%
Taylor expanded in x around inf 67.7%
if 1.84999999999999989e-305 < t < 7.79999999999999954e-169Initial program 37.3%
Taylor expanded in j around inf 45.0%
Taylor expanded in y0 around inf 56.8%
if 1.8e-101 < t < 7.80000000000000038e-59Initial program 45.3%
Taylor expanded in b around 0 36.2%
Taylor expanded in a around -inf 54.8%
mul-1-neg54.8%
Simplified54.8%
if 7.80000000000000038e-59 < t < 12.800000000000001Initial program 37.9%
Taylor expanded in y around inf 56.3%
Taylor expanded in x around inf 62.6%
Taylor expanded in a around inf 68.8%
mul-1-neg68.8%
unsub-neg68.8%
associate-/l*68.8%
Simplified68.8%
if 4.4999999999999997e271 < t Initial program 42.9%
Taylor expanded in y around inf 71.5%
Taylor expanded in k around inf 72.5%
Final simplification60.8%
(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)))))
(t_2 (- (* a b) (* c i)))
(t_3
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i (- (* y k) (* t j))) (* y0 (- (* j y3) (* k y2))))))))
(if (<= t -7.6e-65)
t_1
(if (<= t -2.3e-211)
(*
x
(+
(+ (* y t_2) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= t -1.7e-256)
t_3
(if (<= t 1.8e-308)
(* y (* x t_2))
(if (<= t 6.5e-275)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= t 2.7e-207)
(*
y4
(+ (* y1 (- (* k y2) (* j y3))) (* c (- (* y y3) (* t y2)))))
(if (<= t 1.7e-155)
t_3
(if (<= t 3.2e-66)
(* y (* y5 (- (* i k) (* a y3))))
(if (<= t 3.6e+52)
(* x (* y (* a (- b (* c (/ i a))))))
(if (<= t 1.95e+120)
t_3
(if (<= t 1.35e+272)
t_1
(* y (* k (- (* i y5) (* b y4)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double t_2 = (a * b) - (c * i);
double t_3 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
double tmp;
if (t <= -7.6e-65) {
tmp = t_1;
} else if (t <= -2.3e-211) {
tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (t <= -1.7e-256) {
tmp = t_3;
} else if (t <= 1.8e-308) {
tmp = y * (x * t_2);
} else if (t <= 6.5e-275) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 2.7e-207) {
tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * ((y * y3) - (t * y2))));
} else if (t <= 1.7e-155) {
tmp = t_3;
} else if (t <= 3.2e-66) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (t <= 3.6e+52) {
tmp = x * (y * (a * (b - (c * (i / a)))));
} else if (t <= 1.95e+120) {
tmp = t_3;
} else if (t <= 1.35e+272) {
tmp = t_1;
} else {
tmp = y * (k * ((i * y5) - (b * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
t_2 = (a * b) - (c * i)
t_3 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
if (t <= (-7.6d-65)) then
tmp = t_1
else if (t <= (-2.3d-211)) then
tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (t <= (-1.7d-256)) then
tmp = t_3
else if (t <= 1.8d-308) then
tmp = y * (x * t_2)
else if (t <= 6.5d-275) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (t <= 2.7d-207) then
tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * ((y * y3) - (t * y2))))
else if (t <= 1.7d-155) then
tmp = t_3
else if (t <= 3.2d-66) then
tmp = y * (y5 * ((i * k) - (a * y3)))
else if (t <= 3.6d+52) then
tmp = x * (y * (a * (b - (c * (i / a)))))
else if (t <= 1.95d+120) then
tmp = t_3
else if (t <= 1.35d+272) then
tmp = t_1
else
tmp = y * (k * ((i * y5) - (b * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double t_2 = (a * b) - (c * i);
double t_3 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
double tmp;
if (t <= -7.6e-65) {
tmp = t_1;
} else if (t <= -2.3e-211) {
tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (t <= -1.7e-256) {
tmp = t_3;
} else if (t <= 1.8e-308) {
tmp = y * (x * t_2);
} else if (t <= 6.5e-275) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 2.7e-207) {
tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * ((y * y3) - (t * y2))));
} else if (t <= 1.7e-155) {
tmp = t_3;
} else if (t <= 3.2e-66) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (t <= 3.6e+52) {
tmp = x * (y * (a * (b - (c * (i / a)))));
} else if (t <= 1.95e+120) {
tmp = t_3;
} else if (t <= 1.35e+272) {
tmp = t_1;
} else {
tmp = y * (k * ((i * y5) - (b * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) t_2 = (a * b) - (c * i) t_3 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) tmp = 0 if t <= -7.6e-65: tmp = t_1 elif t <= -2.3e-211: tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif t <= -1.7e-256: tmp = t_3 elif t <= 1.8e-308: tmp = y * (x * t_2) elif t <= 6.5e-275: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif t <= 2.7e-207: tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * ((y * y3) - (t * y2)))) elif t <= 1.7e-155: tmp = t_3 elif t <= 3.2e-66: tmp = y * (y5 * ((i * k) - (a * y3))) elif t <= 3.6e+52: tmp = x * (y * (a * (b - (c * (i / a))))) elif t <= 1.95e+120: tmp = t_3 elif t <= 1.35e+272: tmp = t_1 else: tmp = y * (k * ((i * y5) - (b * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) t_2 = Float64(Float64(a * b) - Float64(c * i)) t_3 = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))) tmp = 0.0 if (t <= -7.6e-65) tmp = t_1; elseif (t <= -2.3e-211) tmp = Float64(x * Float64(Float64(Float64(y * t_2) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (t <= -1.7e-256) tmp = t_3; elseif (t <= 1.8e-308) tmp = Float64(y * Float64(x * t_2)); elseif (t <= 6.5e-275) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (t <= 2.7e-207) tmp = Float64(y4 * Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (t <= 1.7e-155) tmp = t_3; elseif (t <= 3.2e-66) tmp = Float64(y * Float64(y5 * Float64(Float64(i * k) - Float64(a * y3)))); elseif (t <= 3.6e+52) tmp = Float64(x * Float64(y * Float64(a * Float64(b - Float64(c * Float64(i / a)))))); elseif (t <= 1.95e+120) tmp = t_3; elseif (t <= 1.35e+272) tmp = t_1; else tmp = Float64(y * Float64(k * Float64(Float64(i * y5) - Float64(b * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); t_2 = (a * b) - (c * i); t_3 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); tmp = 0.0; if (t <= -7.6e-65) tmp = t_1; elseif (t <= -2.3e-211) tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (t <= -1.7e-256) tmp = t_3; elseif (t <= 1.8e-308) tmp = y * (x * t_2); elseif (t <= 6.5e-275) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (t <= 2.7e-207) tmp = y4 * ((y1 * ((k * y2) - (j * y3))) + (c * ((y * y3) - (t * y2)))); elseif (t <= 1.7e-155) tmp = t_3; elseif (t <= 3.2e-66) tmp = y * (y5 * ((i * k) - (a * y3))); elseif (t <= 3.6e+52) tmp = x * (y * (a * (b - (c * (i / a))))); elseif (t <= 1.95e+120) tmp = t_3; elseif (t <= 1.35e+272) tmp = t_1; else tmp = y * (k * ((i * y5) - (b * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -7.6e-65], t$95$1, If[LessEqual[t, -2.3e-211], N[(x * N[(N[(N[(y * t$95$2), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.7e-256], t$95$3, If[LessEqual[t, 1.8e-308], N[(y * N[(x * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6.5e-275], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.7e-207], N[(y4 * N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.7e-155], t$95$3, If[LessEqual[t, 3.2e-66], N[(y * N[(y5 * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.6e+52], N[(x * N[(y * N[(a * N[(b - N[(c * N[(i / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.95e+120], t$95$3, If[LessEqual[t, 1.35e+272], t$95$1, N[(y * N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
t_2 := a \cdot b - c \cdot i\\
t_3 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
\mathbf{if}\;t \leq -7.6 \cdot 10^{-65}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -2.3 \cdot 10^{-211}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_2 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;t \leq -1.7 \cdot 10^{-256}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;t \leq 1.8 \cdot 10^{-308}:\\
\;\;\;\;y \cdot \left(x \cdot t\_2\right)\\
\mathbf{elif}\;t \leq 6.5 \cdot 10^{-275}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;t \leq 2.7 \cdot 10^{-207}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;t \leq 1.7 \cdot 10^{-155}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;t \leq 3.2 \cdot 10^{-66}:\\
\;\;\;\;y \cdot \left(y5 \cdot \left(i \cdot k - a \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq 3.6 \cdot 10^{+52}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot \left(b - c \cdot \frac{i}{a}\right)\right)\right)\\
\mathbf{elif}\;t \leq 1.95 \cdot 10^{+120}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;t \leq 1.35 \cdot 10^{+272}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(k \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -7.6000000000000003e-65 or 1.9499999999999999e120 < t < 1.35000000000000006e272Initial program 27.7%
Taylor expanded in b around inf 36.0%
Taylor expanded in j around inf 55.9%
if -7.6000000000000003e-65 < t < -2.29999999999999988e-211Initial program 22.2%
Taylor expanded in x around inf 58.1%
if -2.29999999999999988e-211 < t < -1.7e-256 or 2.7e-207 < t < 1.7e-155 or 3.6e52 < t < 1.9499999999999999e120Initial program 36.5%
Taylor expanded in y5 around -inf 66.9%
if -1.7e-256 < t < 1.7999999999999999e-308Initial program 45.1%
Taylor expanded in y around inf 56.2%
Taylor expanded in x around inf 67.7%
if 1.7999999999999999e-308 < t < 6.500000000000001e-275Initial program 66.7%
Taylor expanded in j around inf 67.3%
Taylor expanded in y0 around inf 67.6%
if 6.500000000000001e-275 < t < 2.7e-207Initial program 39.0%
Taylor expanded in b around 0 24.0%
Taylor expanded in y4 around inf 77.6%
if 1.7e-155 < t < 3.19999999999999982e-66Initial program 36.6%
Taylor expanded in y around inf 47.3%
Taylor expanded in y5 around inf 57.8%
if 3.19999999999999982e-66 < t < 3.6e52Initial program 33.6%
Taylor expanded in y around inf 57.2%
Taylor expanded in x around inf 57.6%
Taylor expanded in a around inf 62.4%
mul-1-neg62.4%
unsub-neg62.4%
associate-/l*62.4%
Simplified62.4%
if 1.35000000000000006e272 < t Initial program 42.9%
Taylor expanded in y around inf 71.5%
Taylor expanded in k around inf 72.5%
Final simplification60.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(* a (+ (* y5 (- (* t y2) (* y y3))) (* y1 (- (* z y3) (* x y2))))))
(t_2
(*
k
(-
(+ (* i (* y y5)) (* y2 (- (* y1 y4) (* y0 y5))))
(* i (* z y1)))))
(t_3 (- (* i y1) (* b y0)))
(t_4 (- (* a b) (* c i))))
(if (<= a -4.8e+233)
t_1
(if (<= a -3.8e+192)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= a -7.8e+97)
(*
y
(+
(+ (* k (- (* i y5) (* b y4))) (* x t_4))
(* y3 (- (* c y4) (* a y5)))))
(if (<= a -1.35e-8)
(*
z
(+
(* k (- (* b y0) (* i y1)))
(- (* y3 (- (* a y1) (* c y0))) (* t t_4))))
(if (<= a -5.8e-159)
t_2
(if (<= a -2.2e-238)
(* x (+ (+ (* y t_4) (* y2 (- (* c y0) (* a y1)))) (* j t_3)))
(if (<= a -1.26e-300)
t_2
(if (<= a 2.15e-162)
(*
y0
(+
(+
(* y5 (- (* j y3) (* k y2)))
(* c (- (* x y2) (* z y3))))
(* b (- (* z k) (* x j)))))
(if (<= a 3.1e-24)
(*
j
(+
(+
(* y3 (- (* y0 y5) (* y1 y4)))
(* t (- (* b y4) (* i y5))))
(* x t_3)))
(if (<= a 5.4e+188)
(* y3 (* y5 (* y (- (* j (/ y0 y)) a))))
t_1))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
double t_2 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
double t_3 = (i * y1) - (b * y0);
double t_4 = (a * b) - (c * i);
double tmp;
if (a <= -4.8e+233) {
tmp = t_1;
} else if (a <= -3.8e+192) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (a <= -7.8e+97) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_4)) + (y3 * ((c * y4) - (a * y5))));
} else if (a <= -1.35e-8) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_4)));
} else if (a <= -5.8e-159) {
tmp = t_2;
} else if (a <= -2.2e-238) {
tmp = x * (((y * t_4) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3));
} else if (a <= -1.26e-300) {
tmp = t_2;
} else if (a <= 2.15e-162) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (a <= 3.1e-24) {
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3));
} else if (a <= 5.4e+188) {
tmp = y3 * (y5 * (y * ((j * (y0 / y)) - a)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))))
t_2 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)))
t_3 = (i * y1) - (b * y0)
t_4 = (a * b) - (c * i)
if (a <= (-4.8d+233)) then
tmp = t_1
else if (a <= (-3.8d+192)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (a <= (-7.8d+97)) then
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_4)) + (y3 * ((c * y4) - (a * y5))))
else if (a <= (-1.35d-8)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_4)))
else if (a <= (-5.8d-159)) then
tmp = t_2
else if (a <= (-2.2d-238)) then
tmp = x * (((y * t_4) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3))
else if (a <= (-1.26d-300)) then
tmp = t_2
else if (a <= 2.15d-162) then
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))))
else if (a <= 3.1d-24) then
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3))
else if (a <= 5.4d+188) then
tmp = y3 * (y5 * (y * ((j * (y0 / y)) - a)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
double t_2 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
double t_3 = (i * y1) - (b * y0);
double t_4 = (a * b) - (c * i);
double tmp;
if (a <= -4.8e+233) {
tmp = t_1;
} else if (a <= -3.8e+192) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (a <= -7.8e+97) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_4)) + (y3 * ((c * y4) - (a * y5))));
} else if (a <= -1.35e-8) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_4)));
} else if (a <= -5.8e-159) {
tmp = t_2;
} else if (a <= -2.2e-238) {
tmp = x * (((y * t_4) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3));
} else if (a <= -1.26e-300) {
tmp = t_2;
} else if (a <= 2.15e-162) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (a <= 3.1e-24) {
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3));
} else if (a <= 5.4e+188) {
tmp = y3 * (y5 * (y * ((j * (y0 / y)) - a)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))) t_2 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))) t_3 = (i * y1) - (b * y0) t_4 = (a * b) - (c * i) tmp = 0 if a <= -4.8e+233: tmp = t_1 elif a <= -3.8e+192: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif a <= -7.8e+97: tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_4)) + (y3 * ((c * y4) - (a * y5)))) elif a <= -1.35e-8: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_4))) elif a <= -5.8e-159: tmp = t_2 elif a <= -2.2e-238: tmp = x * (((y * t_4) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3)) elif a <= -1.26e-300: tmp = t_2 elif a <= 2.15e-162: tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))) elif a <= 3.1e-24: tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3)) elif a <= 5.4e+188: tmp = y3 * (y5 * (y * ((j * (y0 / y)) - a))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))))) t_2 = Float64(k * Float64(Float64(Float64(i * Float64(y * y5)) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) - Float64(i * Float64(z * y1)))) t_3 = Float64(Float64(i * y1) - Float64(b * y0)) t_4 = Float64(Float64(a * b) - Float64(c * i)) tmp = 0.0 if (a <= -4.8e+233) tmp = t_1; elseif (a <= -3.8e+192) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (a <= -7.8e+97) tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * t_4)) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (a <= -1.35e-8) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(t * t_4)))); elseif (a <= -5.8e-159) tmp = t_2; elseif (a <= -2.2e-238) tmp = Float64(x * Float64(Float64(Float64(y * t_4) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * t_3))); elseif (a <= -1.26e-300) tmp = t_2; elseif (a <= 2.15e-162) tmp = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (a <= 3.1e-24) tmp = Float64(j * Float64(Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * t_3))); elseif (a <= 5.4e+188) tmp = Float64(y3 * Float64(y5 * Float64(y * Float64(Float64(j * Float64(y0 / y)) - a)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))); t_2 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))); t_3 = (i * y1) - (b * y0); t_4 = (a * b) - (c * i); tmp = 0.0; if (a <= -4.8e+233) tmp = t_1; elseif (a <= -3.8e+192) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (a <= -7.8e+97) tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_4)) + (y3 * ((c * y4) - (a * y5)))); elseif (a <= -1.35e-8) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_4))); elseif (a <= -5.8e-159) tmp = t_2; elseif (a <= -2.2e-238) tmp = x * (((y * t_4) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3)); elseif (a <= -1.26e-300) tmp = t_2; elseif (a <= 2.15e-162) tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))); elseif (a <= 3.1e-24) tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3)); elseif (a <= 5.4e+188) tmp = y3 * (y5 * (y * ((j * (y0 / y)) - a))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(N[(N[(i * N[(y * y5), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -4.8e+233], t$95$1, If[LessEqual[a, -3.8e+192], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -7.8e+97], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.35e-8], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.8e-159], t$95$2, If[LessEqual[a, -2.2e-238], N[(x * N[(N[(N[(y * t$95$4), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.26e-300], t$95$2, If[LessEqual[a, 2.15e-162], N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.1e-24], N[(j * N[(N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.4e+188], N[(y3 * N[(y5 * N[(y * N[(N[(j * N[(y0 / y), $MachinePrecision]), $MachinePrecision] - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
t_2 := k \cdot \left(\left(i \cdot \left(y \cdot y5\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - i \cdot \left(z \cdot y1\right)\right)\\
t_3 := i \cdot y1 - b \cdot y0\\
t_4 := a \cdot b - c \cdot i\\
\mathbf{if}\;a \leq -4.8 \cdot 10^{+233}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -3.8 \cdot 10^{+192}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -7.8 \cdot 10^{+97}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot t\_4\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -1.35 \cdot 10^{-8}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) - t \cdot t\_4\right)\right)\\
\mathbf{elif}\;a \leq -5.8 \cdot 10^{-159}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq -2.2 \cdot 10^{-238}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_4 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot t\_3\right)\\
\mathbf{elif}\;a \leq -1.26 \cdot 10^{-300}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq 2.15 \cdot 10^{-162}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;a \leq 3.1 \cdot 10^{-24}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot t\_3\right)\\
\mathbf{elif}\;a \leq 5.4 \cdot 10^{+188}:\\
\;\;\;\;y3 \cdot \left(y5 \cdot \left(y \cdot \left(j \cdot \frac{y0}{y} - a\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -4.80000000000000005e233 or 5.4e188 < a Initial program 27.9%
Taylor expanded in b around 0 23.5%
Taylor expanded in a around -inf 67.7%
mul-1-neg67.7%
Simplified67.7%
if -4.80000000000000005e233 < a < -3.7999999999999999e192Initial program 10.0%
Taylor expanded in b around 0 20.0%
Taylor expanded in y0 around inf 50.1%
Taylor expanded in y2 around -inf 71.0%
mul-1-neg71.0%
distribute-rgt-neg-in71.0%
*-commutative71.0%
distribute-rgt-neg-in71.0%
+-commutative71.0%
mul-1-neg71.0%
unsub-neg71.0%
*-commutative71.0%
Simplified71.0%
if -3.7999999999999999e192 < a < -7.7999999999999999e97Initial program 30.8%
Taylor expanded in y around inf 57.3%
if -7.7999999999999999e97 < a < -1.35000000000000001e-8Initial program 25.0%
Taylor expanded in z around -inf 68.8%
if -1.35000000000000001e-8 < a < -5.79999999999999981e-159 or -2.19999999999999991e-238 < a < -1.25999999999999992e-300Initial program 38.4%
Taylor expanded in b around 0 32.9%
Taylor expanded in k around inf 63.2%
if -5.79999999999999981e-159 < a < -2.19999999999999991e-238Initial program 40.0%
Taylor expanded in x around inf 67.3%
if -1.25999999999999992e-300 < a < 2.14999999999999998e-162Initial program 30.5%
Taylor expanded in y0 around inf 64.1%
if 2.14999999999999998e-162 < a < 3.1e-24Initial program 51.9%
Taylor expanded in j around inf 55.7%
if 3.1e-24 < a < 5.4e188Initial program 27.4%
Taylor expanded in y3 around -inf 33.6%
Taylor expanded in y5 around -inf 47.5%
mul-1-neg47.5%
Simplified47.5%
Taylor expanded in y around inf 51.2%
associate-/l*56.8%
Simplified56.8%
Final simplification62.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
k
(-
(+ (* i (* y y5)) (* y2 (- (* y1 y4) (* y0 y5))))
(* i (* z y1)))))
(t_2
(* a (+ (* y5 (- (* t y2) (* y y3))) (* y1 (- (* z y3) (* x y2))))))
(t_3 (- (* i y1) (* b y0)))
(t_4 (- (* a b) (* c i))))
(if (<= a -2.9e+244)
t_2
(if (<= a -5.4e+218)
(* k (* y5 (- (* y i) (* y0 y2))))
(if (<= a -2.15e+104)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= a -0.00016)
(*
z
(+
(* k (- (* b y0) (* i y1)))
(- (* y3 (- (* a y1) (* c y0))) (* t t_4))))
(if (<= a -8.4e-159)
t_1
(if (<= a -4.2e-237)
(* x (+ (+ (* y t_4) (* y2 (- (* c y0) (* a y1)))) (* j t_3)))
(if (<= a -7.2e-301)
t_1
(if (<= a 7e-162)
(*
y0
(+
(+
(* y5 (- (* j y3) (* k y2)))
(* c (- (* x y2) (* z y3))))
(* b (- (* z k) (* x j)))))
(if (<= a 2.8e-24)
(*
j
(+
(+
(* y3 (- (* y0 y5) (* y1 y4)))
(* t (- (* b y4) (* i y5))))
(* x t_3)))
(if (<= a 9.8e+188)
(* y3 (* y5 (* y (- (* j (/ y0 y)) a))))
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 * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
double t_2 = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
double t_3 = (i * y1) - (b * y0);
double t_4 = (a * b) - (c * i);
double tmp;
if (a <= -2.9e+244) {
tmp = t_2;
} else if (a <= -5.4e+218) {
tmp = k * (y5 * ((y * i) - (y0 * y2)));
} else if (a <= -2.15e+104) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -0.00016) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_4)));
} else if (a <= -8.4e-159) {
tmp = t_1;
} else if (a <= -4.2e-237) {
tmp = x * (((y * t_4) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3));
} else if (a <= -7.2e-301) {
tmp = t_1;
} else if (a <= 7e-162) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (a <= 2.8e-24) {
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3));
} else if (a <= 9.8e+188) {
tmp = y3 * (y5 * (y * ((j * (y0 / y)) - a)));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)))
t_2 = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))))
t_3 = (i * y1) - (b * y0)
t_4 = (a * b) - (c * i)
if (a <= (-2.9d+244)) then
tmp = t_2
else if (a <= (-5.4d+218)) then
tmp = k * (y5 * ((y * i) - (y0 * y2)))
else if (a <= (-2.15d+104)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (a <= (-0.00016d0)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_4)))
else if (a <= (-8.4d-159)) then
tmp = t_1
else if (a <= (-4.2d-237)) then
tmp = x * (((y * t_4) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3))
else if (a <= (-7.2d-301)) then
tmp = t_1
else if (a <= 7d-162) then
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))))
else if (a <= 2.8d-24) then
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3))
else if (a <= 9.8d+188) then
tmp = y3 * (y5 * (y * ((j * (y0 / y)) - a)))
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 * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
double t_2 = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
double t_3 = (i * y1) - (b * y0);
double t_4 = (a * b) - (c * i);
double tmp;
if (a <= -2.9e+244) {
tmp = t_2;
} else if (a <= -5.4e+218) {
tmp = k * (y5 * ((y * i) - (y0 * y2)));
} else if (a <= -2.15e+104) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (a <= -0.00016) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_4)));
} else if (a <= -8.4e-159) {
tmp = t_1;
} else if (a <= -4.2e-237) {
tmp = x * (((y * t_4) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3));
} else if (a <= -7.2e-301) {
tmp = t_1;
} else if (a <= 7e-162) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (a <= 2.8e-24) {
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3));
} else if (a <= 9.8e+188) {
tmp = y3 * (y5 * (y * ((j * (y0 / y)) - a)));
} 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 * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))) t_2 = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))) t_3 = (i * y1) - (b * y0) t_4 = (a * b) - (c * i) tmp = 0 if a <= -2.9e+244: tmp = t_2 elif a <= -5.4e+218: tmp = k * (y5 * ((y * i) - (y0 * y2))) elif a <= -2.15e+104: tmp = a * (y * ((x * b) - (y3 * y5))) elif a <= -0.00016: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_4))) elif a <= -8.4e-159: tmp = t_1 elif a <= -4.2e-237: tmp = x * (((y * t_4) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3)) elif a <= -7.2e-301: tmp = t_1 elif a <= 7e-162: tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))) elif a <= 2.8e-24: tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3)) elif a <= 9.8e+188: tmp = y3 * (y5 * (y * ((j * (y0 / y)) - a))) 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(Float64(Float64(i * Float64(y * y5)) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) - Float64(i * Float64(z * y1)))) t_2 = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))))) t_3 = Float64(Float64(i * y1) - Float64(b * y0)) t_4 = Float64(Float64(a * b) - Float64(c * i)) tmp = 0.0 if (a <= -2.9e+244) tmp = t_2; elseif (a <= -5.4e+218) tmp = Float64(k * Float64(y5 * Float64(Float64(y * i) - Float64(y0 * y2)))); elseif (a <= -2.15e+104) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (a <= -0.00016) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(t * t_4)))); elseif (a <= -8.4e-159) tmp = t_1; elseif (a <= -4.2e-237) tmp = Float64(x * Float64(Float64(Float64(y * t_4) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * t_3))); elseif (a <= -7.2e-301) tmp = t_1; elseif (a <= 7e-162) tmp = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (a <= 2.8e-24) tmp = Float64(j * Float64(Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(x * t_3))); elseif (a <= 9.8e+188) tmp = Float64(y3 * Float64(y5 * Float64(y * Float64(Float64(j * Float64(y0 / y)) - a)))); 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 * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))); t_2 = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))); t_3 = (i * y1) - (b * y0); t_4 = (a * b) - (c * i); tmp = 0.0; if (a <= -2.9e+244) tmp = t_2; elseif (a <= -5.4e+218) tmp = k * (y5 * ((y * i) - (y0 * y2))); elseif (a <= -2.15e+104) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (a <= -0.00016) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_4))); elseif (a <= -8.4e-159) tmp = t_1; elseif (a <= -4.2e-237) tmp = x * (((y * t_4) + (y2 * ((c * y0) - (a * y1)))) + (j * t_3)); elseif (a <= -7.2e-301) tmp = t_1; elseif (a <= 7e-162) tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))); elseif (a <= 2.8e-24) tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * ((b * y4) - (i * y5)))) + (x * t_3)); elseif (a <= 9.8e+188) tmp = y3 * (y5 * (y * ((j * (y0 / y)) - a))); 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[(N[(N[(i * N[(y * y5), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.9e+244], t$95$2, If[LessEqual[a, -5.4e+218], N[(k * N[(y5 * N[(N[(y * i), $MachinePrecision] - N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.15e+104], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -0.00016], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -8.4e-159], t$95$1, If[LessEqual[a, -4.2e-237], N[(x * N[(N[(N[(y * t$95$4), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -7.2e-301], t$95$1, If[LessEqual[a, 7e-162], N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.8e-24], N[(j * N[(N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 9.8e+188], N[(y3 * N[(y5 * N[(y * N[(N[(j * N[(y0 / y), $MachinePrecision]), $MachinePrecision] - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(\left(i \cdot \left(y \cdot y5\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - i \cdot \left(z \cdot y1\right)\right)\\
t_2 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
t_3 := i \cdot y1 - b \cdot y0\\
t_4 := a \cdot b - c \cdot i\\
\mathbf{if}\;a \leq -2.9 \cdot 10^{+244}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq -5.4 \cdot 10^{+218}:\\
\;\;\;\;k \cdot \left(y5 \cdot \left(y \cdot i - y0 \cdot y2\right)\right)\\
\mathbf{elif}\;a \leq -2.15 \cdot 10^{+104}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq -0.00016:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) - t \cdot t\_4\right)\right)\\
\mathbf{elif}\;a \leq -8.4 \cdot 10^{-159}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -4.2 \cdot 10^{-237}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_4 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot t\_3\right)\\
\mathbf{elif}\;a \leq -7.2 \cdot 10^{-301}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 7 \cdot 10^{-162}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;a \leq 2.8 \cdot 10^{-24}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot t\_3\right)\\
\mathbf{elif}\;a \leq 9.8 \cdot 10^{+188}:\\
\;\;\;\;y3 \cdot \left(y5 \cdot \left(y \cdot \left(j \cdot \frac{y0}{y} - a\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if a < -2.9000000000000001e244 or 9.8e188 < a Initial program 28.5%
Taylor expanded in b around 0 24.1%
Taylor expanded in a around -inf 69.3%
mul-1-neg69.3%
Simplified69.3%
if -2.9000000000000001e244 < a < -5.40000000000000025e218Initial program 0.0%
Taylor expanded in y5 around -inf 34.2%
Taylor expanded in k around inf 83.5%
+-commutative83.5%
mul-1-neg83.5%
unsub-neg83.5%
*-commutative83.5%
Simplified83.5%
if -5.40000000000000025e218 < a < -2.1500000000000001e104Initial program 27.2%
Taylor expanded in y around inf 47.1%
Taylor expanded in a around inf 54.7%
if -2.1500000000000001e104 < a < -1.60000000000000013e-4Initial program 27.8%
Taylor expanded in z around -inf 66.8%
if -1.60000000000000013e-4 < a < -8.3999999999999997e-159 or -4.2000000000000002e-237 < a < -7.20000000000000015e-301Initial program 38.4%
Taylor expanded in b around 0 32.9%
Taylor expanded in k around inf 63.2%
if -8.3999999999999997e-159 < a < -4.2000000000000002e-237Initial program 40.0%
Taylor expanded in x around inf 67.3%
if -7.20000000000000015e-301 < a < 6.9999999999999998e-162Initial program 30.5%
Taylor expanded in y0 around inf 64.1%
if 6.9999999999999998e-162 < a < 2.8000000000000002e-24Initial program 51.9%
Taylor expanded in j around inf 55.7%
if 2.8000000000000002e-24 < a < 9.8e188Initial program 27.4%
Taylor expanded in y3 around -inf 33.6%
Taylor expanded in y5 around -inf 47.5%
mul-1-neg47.5%
Simplified47.5%
Taylor expanded in y around inf 51.2%
associate-/l*56.8%
Simplified56.8%
Final simplification62.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (* c (- (* x y2) (* z y3))))))
(t_2 (- (* a b) (* c i)))
(t_3 (- (* b y4) (* i y5))))
(if (<= y -3.8e+278)
(* c (* y3 (- (* y y4) (* z y0))))
(if (<= y -2.2e+129)
(* x (* y t_2))
(if (<= y -9e+54)
(*
k
(- (+ (* i (* y y5)) (* y2 (- (* y1 y4) (* y0 y5)))) (* i (* z y1))))
(if (<= y -4e-75)
(*
j
(+
(+ (* y3 (- (* y0 y5) (* y1 y4))) (* t t_3))
(* x (- (* i y1) (* b y0)))))
(if (<= y -3.1e-239)
t_1
(if (<= y -1.4e-286)
(*
t
(+
(+ (* z (- (* c i) (* a b))) (* j t_3))
(* y2 (- (* a y5) (* c y4)))))
(if (<= y 2.35e-265)
t_1
(if (<= y 3.4e+46)
(*
y1
(+
(+
(* a (- (* z y3) (* x y2)))
(* y4 (- (* k y2) (* j y3))))
(* i (- (* x j) (* z k)))))
(if (<= y 9e+168)
t_1
(*
y
(+
(+ (* k (- (* i y5) (* b y4))) (* x t_2))
(* y3 (- (* c y4) (* a 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 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))));
double t_2 = (a * b) - (c * i);
double t_3 = (b * y4) - (i * y5);
double tmp;
if (y <= -3.8e+278) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (y <= -2.2e+129) {
tmp = x * (y * t_2);
} else if (y <= -9e+54) {
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
} else if (y <= -4e-75) {
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * t_3)) + (x * ((i * y1) - (b * y0))));
} else if (y <= -3.1e-239) {
tmp = t_1;
} else if (y <= -1.4e-286) {
tmp = t * (((z * ((c * i) - (a * b))) + (j * t_3)) + (y2 * ((a * y5) - (c * y4))));
} else if (y <= 2.35e-265) {
tmp = t_1;
} else if (y <= 3.4e+46) {
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k))));
} else if (y <= 9e+168) {
tmp = t_1;
} else {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_2)) + (y3 * ((c * y4) - (a * 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) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))))
t_2 = (a * b) - (c * i)
t_3 = (b * y4) - (i * y5)
if (y <= (-3.8d+278)) then
tmp = c * (y3 * ((y * y4) - (z * y0)))
else if (y <= (-2.2d+129)) then
tmp = x * (y * t_2)
else if (y <= (-9d+54)) then
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)))
else if (y <= (-4d-75)) then
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * t_3)) + (x * ((i * y1) - (b * y0))))
else if (y <= (-3.1d-239)) then
tmp = t_1
else if (y <= (-1.4d-286)) then
tmp = t * (((z * ((c * i) - (a * b))) + (j * t_3)) + (y2 * ((a * y5) - (c * y4))))
else if (y <= 2.35d-265) then
tmp = t_1
else if (y <= 3.4d+46) then
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k))))
else if (y <= 9d+168) then
tmp = t_1
else
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_2)) + (y3 * ((c * y4) - (a * 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 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))));
double t_2 = (a * b) - (c * i);
double t_3 = (b * y4) - (i * y5);
double tmp;
if (y <= -3.8e+278) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (y <= -2.2e+129) {
tmp = x * (y * t_2);
} else if (y <= -9e+54) {
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
} else if (y <= -4e-75) {
tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * t_3)) + (x * ((i * y1) - (b * y0))));
} else if (y <= -3.1e-239) {
tmp = t_1;
} else if (y <= -1.4e-286) {
tmp = t * (((z * ((c * i) - (a * b))) + (j * t_3)) + (y2 * ((a * y5) - (c * y4))));
} else if (y <= 2.35e-265) {
tmp = t_1;
} else if (y <= 3.4e+46) {
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k))));
} else if (y <= 9e+168) {
tmp = t_1;
} else {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_2)) + (y3 * ((c * y4) - (a * y5))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) t_2 = (a * b) - (c * i) t_3 = (b * y4) - (i * y5) tmp = 0 if y <= -3.8e+278: tmp = c * (y3 * ((y * y4) - (z * y0))) elif y <= -2.2e+129: tmp = x * (y * t_2) elif y <= -9e+54: tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))) elif y <= -4e-75: tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * t_3)) + (x * ((i * y1) - (b * y0)))) elif y <= -3.1e-239: tmp = t_1 elif y <= -1.4e-286: tmp = t * (((z * ((c * i) - (a * b))) + (j * t_3)) + (y2 * ((a * y5) - (c * y4)))) elif y <= 2.35e-265: tmp = t_1 elif y <= 3.4e+46: tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k)))) elif y <= 9e+168: tmp = t_1 else: tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_2)) + (y3 * ((c * y4) - (a * y5)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3))))) t_2 = Float64(Float64(a * b) - Float64(c * i)) t_3 = Float64(Float64(b * y4) - Float64(i * y5)) tmp = 0.0 if (y <= -3.8e+278) tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0)))); elseif (y <= -2.2e+129) tmp = Float64(x * Float64(y * t_2)); elseif (y <= -9e+54) tmp = Float64(k * Float64(Float64(Float64(i * Float64(y * y5)) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) - Float64(i * Float64(z * y1)))); elseif (y <= -4e-75) tmp = Float64(j * Float64(Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(t * t_3)) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y <= -3.1e-239) tmp = t_1; elseif (y <= -1.4e-286) tmp = Float64(t * Float64(Float64(Float64(z * Float64(Float64(c * i) - Float64(a * b))) + Float64(j * t_3)) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y <= 2.35e-265) tmp = t_1; elseif (y <= 3.4e+46) tmp = Float64(y1 * Float64(Float64(Float64(a * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(i * Float64(Float64(x * j) - Float64(z * k))))); elseif (y <= 9e+168) tmp = t_1; else tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * t_2)) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * 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 = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))); t_2 = (a * b) - (c * i); t_3 = (b * y4) - (i * y5); tmp = 0.0; if (y <= -3.8e+278) tmp = c * (y3 * ((y * y4) - (z * y0))); elseif (y <= -2.2e+129) tmp = x * (y * t_2); elseif (y <= -9e+54) tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))); elseif (y <= -4e-75) tmp = j * (((y3 * ((y0 * y5) - (y1 * y4))) + (t * t_3)) + (x * ((i * y1) - (b * y0)))); elseif (y <= -3.1e-239) tmp = t_1; elseif (y <= -1.4e-286) tmp = t * (((z * ((c * i) - (a * b))) + (j * t_3)) + (y2 * ((a * y5) - (c * y4)))); elseif (y <= 2.35e-265) tmp = t_1; elseif (y <= 3.4e+46) tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k)))); elseif (y <= 9e+168) tmp = t_1; else tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_2)) + (y3 * ((c * y4) - (a * 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[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -3.8e+278], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -2.2e+129], N[(x * N[(y * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -9e+54], N[(k * N[(N[(N[(i * N[(y * y5), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -4e-75], N[(j * N[(N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -3.1e-239], t$95$1, If[LessEqual[y, -1.4e-286], N[(t * N[(N[(N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.35e-265], t$95$1, If[LessEqual[y, 3.4e+46], N[(y1 * N[(N[(N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9e+168], t$95$1, N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
t_2 := a \cdot b - c \cdot i\\
t_3 := b \cdot y4 - i \cdot y5\\
\mathbf{if}\;y \leq -3.8 \cdot 10^{+278}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq -2.2 \cdot 10^{+129}:\\
\;\;\;\;x \cdot \left(y \cdot t\_2\right)\\
\mathbf{elif}\;y \leq -9 \cdot 10^{+54}:\\
\;\;\;\;k \cdot \left(\left(i \cdot \left(y \cdot y5\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - i \cdot \left(z \cdot y1\right)\right)\\
\mathbf{elif}\;y \leq -4 \cdot 10^{-75}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + t \cdot t\_3\right) + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq -3.1 \cdot 10^{-239}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -1.4 \cdot 10^{-286}:\\
\;\;\;\;t \cdot \left(\left(z \cdot \left(c \cdot i - a \cdot b\right) + j \cdot t\_3\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y \leq 2.35 \cdot 10^{-265}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 3.4 \cdot 10^{+46}:\\
\;\;\;\;y1 \cdot \left(\left(a \cdot \left(z \cdot y3 - x \cdot y2\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;y \leq 9 \cdot 10^{+168}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot t\_2\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\end{array}
\end{array}
if y < -3.7999999999999999e278Initial program 14.1%
Taylor expanded in y3 around -inf 59.4%
Taylor expanded in c around inf 100.0%
if -3.7999999999999999e278 < y < -2.1999999999999999e129Initial program 33.3%
Taylor expanded in y around inf 53.3%
Taylor expanded in x around inf 64.1%
if -2.1999999999999999e129 < y < -8.99999999999999968e54Initial program 29.9%
Taylor expanded in b around 0 15.2%
Taylor expanded in k around inf 65.4%
if -8.99999999999999968e54 < y < -3.9999999999999998e-75Initial program 45.1%
Taylor expanded in j around inf 58.9%
if -3.9999999999999998e-75 < y < -3.09999999999999985e-239 or -1.4e-286 < y < 2.34999999999999993e-265 or 3.3999999999999998e46 < y < 9.00000000000000024e168Initial program 28.9%
Taylor expanded in b around 0 33.1%
Taylor expanded in y0 around inf 64.3%
if -3.09999999999999985e-239 < y < -1.4e-286Initial program 51.8%
Taylor expanded in t around inf 68.1%
if 2.34999999999999993e-265 < y < 3.3999999999999998e46Initial program 24.5%
Taylor expanded in y1 around inf 47.7%
if 9.00000000000000024e168 < y Initial program 38.7%
Taylor expanded in y around inf 67.9%
Final simplification61.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y (* a (- b (* c (/ i a)))))))
(t_2 (* b (* j (- (* t y4) (* x y0)))))
(t_3
(*
k
(-
(+ (* i (* y y5)) (* y2 (- (* y1 y4) (* y0 y5))))
(* i (* z y1))))))
(if (<= t -8.2e-74)
t_2
(if (<= t -7.5e-137)
t_1
(if (<= t -5.1e-256)
t_3
(if (<= t -8e-309)
(* y (* x (- (* a b) (* c i))))
(if (<= t 2e-172)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= t 5.7e-61)
(* y (* y5 (- (* i k) (* a y3))))
(if (<= t 280000000.0)
t_1
(if (<= t 4.3e+102)
t_3
(if (<= t 2.2e+181)
(*
y0
(+
(* y5 (- (* j y3) (* k y2)))
(* c (- (* x y2) (* z y3)))))
(if (<= t 3.9e+273)
t_2
(* y (* k (- (* i y5) (* b 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 = x * (y * (a * (b - (c * (i / a)))));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double t_3 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
double tmp;
if (t <= -8.2e-74) {
tmp = t_2;
} else if (t <= -7.5e-137) {
tmp = t_1;
} else if (t <= -5.1e-256) {
tmp = t_3;
} else if (t <= -8e-309) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (t <= 2e-172) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 5.7e-61) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (t <= 280000000.0) {
tmp = t_1;
} else if (t <= 4.3e+102) {
tmp = t_3;
} else if (t <= 2.2e+181) {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))));
} else if (t <= 3.9e+273) {
tmp = t_2;
} else {
tmp = y * (k * ((i * y5) - (b * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = x * (y * (a * (b - (c * (i / a)))))
t_2 = b * (j * ((t * y4) - (x * y0)))
t_3 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)))
if (t <= (-8.2d-74)) then
tmp = t_2
else if (t <= (-7.5d-137)) then
tmp = t_1
else if (t <= (-5.1d-256)) then
tmp = t_3
else if (t <= (-8d-309)) then
tmp = y * (x * ((a * b) - (c * i)))
else if (t <= 2d-172) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (t <= 5.7d-61) then
tmp = y * (y5 * ((i * k) - (a * y3)))
else if (t <= 280000000.0d0) then
tmp = t_1
else if (t <= 4.3d+102) then
tmp = t_3
else if (t <= 2.2d+181) then
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))))
else if (t <= 3.9d+273) then
tmp = t_2
else
tmp = y * (k * ((i * y5) - (b * 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 = x * (y * (a * (b - (c * (i / a)))));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double t_3 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
double tmp;
if (t <= -8.2e-74) {
tmp = t_2;
} else if (t <= -7.5e-137) {
tmp = t_1;
} else if (t <= -5.1e-256) {
tmp = t_3;
} else if (t <= -8e-309) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (t <= 2e-172) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 5.7e-61) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (t <= 280000000.0) {
tmp = t_1;
} else if (t <= 4.3e+102) {
tmp = t_3;
} else if (t <= 2.2e+181) {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))));
} else if (t <= 3.9e+273) {
tmp = t_2;
} else {
tmp = y * (k * ((i * y5) - (b * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (y * (a * (b - (c * (i / a))))) t_2 = b * (j * ((t * y4) - (x * y0))) t_3 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))) tmp = 0 if t <= -8.2e-74: tmp = t_2 elif t <= -7.5e-137: tmp = t_1 elif t <= -5.1e-256: tmp = t_3 elif t <= -8e-309: tmp = y * (x * ((a * b) - (c * i))) elif t <= 2e-172: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif t <= 5.7e-61: tmp = y * (y5 * ((i * k) - (a * y3))) elif t <= 280000000.0: tmp = t_1 elif t <= 4.3e+102: tmp = t_3 elif t <= 2.2e+181: tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) elif t <= 3.9e+273: tmp = t_2 else: tmp = y * (k * ((i * y5) - (b * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(y * Float64(a * Float64(b - Float64(c * Float64(i / a)))))) t_2 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) t_3 = Float64(k * Float64(Float64(Float64(i * Float64(y * y5)) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) - Float64(i * Float64(z * y1)))) tmp = 0.0 if (t <= -8.2e-74) tmp = t_2; elseif (t <= -7.5e-137) tmp = t_1; elseif (t <= -5.1e-256) tmp = t_3; elseif (t <= -8e-309) tmp = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i)))); elseif (t <= 2e-172) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (t <= 5.7e-61) tmp = Float64(y * Float64(y5 * Float64(Float64(i * k) - Float64(a * y3)))); elseif (t <= 280000000.0) tmp = t_1; elseif (t <= 4.3e+102) tmp = t_3; elseif (t <= 2.2e+181) tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3))))); elseif (t <= 3.9e+273) tmp = t_2; else tmp = Float64(y * Float64(k * Float64(Float64(i * y5) - Float64(b * 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 = x * (y * (a * (b - (c * (i / a))))); t_2 = b * (j * ((t * y4) - (x * y0))); t_3 = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))); tmp = 0.0; if (t <= -8.2e-74) tmp = t_2; elseif (t <= -7.5e-137) tmp = t_1; elseif (t <= -5.1e-256) tmp = t_3; elseif (t <= -8e-309) tmp = y * (x * ((a * b) - (c * i))); elseif (t <= 2e-172) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (t <= 5.7e-61) tmp = y * (y5 * ((i * k) - (a * y3))); elseif (t <= 280000000.0) tmp = t_1; elseif (t <= 4.3e+102) tmp = t_3; elseif (t <= 2.2e+181) tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))); elseif (t <= 3.9e+273) tmp = t_2; else tmp = y * (k * ((i * y5) - (b * 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[(x * N[(y * N[(a * N[(b - N[(c * N[(i / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(k * N[(N[(N[(i * N[(y * y5), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -8.2e-74], t$95$2, If[LessEqual[t, -7.5e-137], t$95$1, If[LessEqual[t, -5.1e-256], t$95$3, If[LessEqual[t, -8e-309], N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2e-172], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 5.7e-61], N[(y * N[(y5 * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 280000000.0], t$95$1, If[LessEqual[t, 4.3e+102], t$95$3, If[LessEqual[t, 2.2e+181], N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.9e+273], t$95$2, N[(y * N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot \left(a \cdot \left(b - c \cdot \frac{i}{a}\right)\right)\right)\\
t_2 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
t_3 := k \cdot \left(\left(i \cdot \left(y \cdot y5\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - i \cdot \left(z \cdot y1\right)\right)\\
\mathbf{if}\;t \leq -8.2 \cdot 10^{-74}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq -7.5 \cdot 10^{-137}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -5.1 \cdot 10^{-256}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;t \leq -8 \cdot 10^{-309}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;t \leq 2 \cdot 10^{-172}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;t \leq 5.7 \cdot 10^{-61}:\\
\;\;\;\;y \cdot \left(y5 \cdot \left(i \cdot k - a \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq 280000000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 4.3 \cdot 10^{+102}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;t \leq 2.2 \cdot 10^{+181}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq 3.9 \cdot 10^{+273}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(k \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -8.20000000000000063e-74 or 2.2000000000000001e181 < t < 3.9000000000000001e273Initial program 28.5%
Taylor expanded in b around inf 36.6%
Taylor expanded in j around inf 57.5%
if -8.20000000000000063e-74 < t < -7.4999999999999995e-137 or 5.70000000000000005e-61 < t < 2.8e8Initial program 32.8%
Taylor expanded in y around inf 41.4%
Taylor expanded in x around inf 56.3%
Taylor expanded in a around inf 62.4%
mul-1-neg62.4%
unsub-neg62.4%
associate-/l*65.2%
Simplified65.2%
if -7.4999999999999995e-137 < t < -5.10000000000000011e-256 or 2.8e8 < t < 4.3000000000000001e102Initial program 34.3%
Taylor expanded in b around 0 39.3%
Taylor expanded in k around inf 54.4%
if -5.10000000000000011e-256 < t < -8.0000000000000003e-309Initial program 45.1%
Taylor expanded in y around inf 56.2%
Taylor expanded in x around inf 67.7%
if -8.0000000000000003e-309 < t < 2.0000000000000001e-172Initial program 38.7%
Taylor expanded in j around inf 46.7%
Taylor expanded in y0 around inf 55.2%
if 2.0000000000000001e-172 < t < 5.70000000000000005e-61Initial program 33.2%
Taylor expanded in y around inf 46.0%
Taylor expanded in y5 around inf 55.6%
if 4.3000000000000001e102 < t < 2.2000000000000001e181Initial program 23.5%
Taylor expanded in b around 0 17.6%
Taylor expanded in y0 around inf 70.8%
if 3.9000000000000001e273 < t Initial program 42.9%
Taylor expanded in y around inf 71.5%
Taylor expanded in k around inf 72.5%
Final simplification59.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))) (t_2 (- (* a b) (* c i))))
(if (<= t -8.6e-65)
t_1
(if (<= t -8e-225)
(*
x
(+
(+ (* y t_2) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= t -8.6e-254)
(* k (* y5 (- (* y i) (* y0 y2))))
(if (<= t 4.5e-302)
(* y (* x t_2))
(if (<= t 3.5e-171)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= t 2.9e-64)
(* y (* y5 (- (* i k) (* a y3))))
(if (<= t 13500000.0)
(* x (* y (* a (- b (* c (/ i a))))))
(if (<= t 1.05e+102)
(*
k
(-
(+ (* i (* y y5)) (* y2 (- (* y1 y4) (* y0 y5))))
(* i (* z y1))))
(if (<= t 1.15e+180)
(*
y0
(+
(* y5 (- (* j y3) (* k y2)))
(* c (- (* x y2) (* z y3)))))
(if (<= t 1.2e+273)
t_1
(* y (* k (- (* i y5) (* b y4))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double t_2 = (a * b) - (c * i);
double tmp;
if (t <= -8.6e-65) {
tmp = t_1;
} else if (t <= -8e-225) {
tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (t <= -8.6e-254) {
tmp = k * (y5 * ((y * i) - (y0 * y2)));
} else if (t <= 4.5e-302) {
tmp = y * (x * t_2);
} else if (t <= 3.5e-171) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 2.9e-64) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (t <= 13500000.0) {
tmp = x * (y * (a * (b - (c * (i / a)))));
} else if (t <= 1.05e+102) {
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
} else if (t <= 1.15e+180) {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))));
} else if (t <= 1.2e+273) {
tmp = t_1;
} else {
tmp = y * (k * ((i * y5) - (b * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
t_2 = (a * b) - (c * i)
if (t <= (-8.6d-65)) then
tmp = t_1
else if (t <= (-8d-225)) then
tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (t <= (-8.6d-254)) then
tmp = k * (y5 * ((y * i) - (y0 * y2)))
else if (t <= 4.5d-302) then
tmp = y * (x * t_2)
else if (t <= 3.5d-171) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (t <= 2.9d-64) then
tmp = y * (y5 * ((i * k) - (a * y3)))
else if (t <= 13500000.0d0) then
tmp = x * (y * (a * (b - (c * (i / a)))))
else if (t <= 1.05d+102) then
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)))
else if (t <= 1.15d+180) then
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))))
else if (t <= 1.2d+273) then
tmp = t_1
else
tmp = y * (k * ((i * y5) - (b * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double t_2 = (a * b) - (c * i);
double tmp;
if (t <= -8.6e-65) {
tmp = t_1;
} else if (t <= -8e-225) {
tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (t <= -8.6e-254) {
tmp = k * (y5 * ((y * i) - (y0 * y2)));
} else if (t <= 4.5e-302) {
tmp = y * (x * t_2);
} else if (t <= 3.5e-171) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 2.9e-64) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (t <= 13500000.0) {
tmp = x * (y * (a * (b - (c * (i / a)))));
} else if (t <= 1.05e+102) {
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
} else if (t <= 1.15e+180) {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3))));
} else if (t <= 1.2e+273) {
tmp = t_1;
} else {
tmp = y * (k * ((i * y5) - (b * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) t_2 = (a * b) - (c * i) tmp = 0 if t <= -8.6e-65: tmp = t_1 elif t <= -8e-225: tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif t <= -8.6e-254: tmp = k * (y5 * ((y * i) - (y0 * y2))) elif t <= 4.5e-302: tmp = y * (x * t_2) elif t <= 3.5e-171: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif t <= 2.9e-64: tmp = y * (y5 * ((i * k) - (a * y3))) elif t <= 13500000.0: tmp = x * (y * (a * (b - (c * (i / a))))) elif t <= 1.05e+102: tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))) elif t <= 1.15e+180: tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) elif t <= 1.2e+273: tmp = t_1 else: tmp = y * (k * ((i * y5) - (b * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) t_2 = Float64(Float64(a * b) - Float64(c * i)) tmp = 0.0 if (t <= -8.6e-65) tmp = t_1; elseif (t <= -8e-225) tmp = Float64(x * Float64(Float64(Float64(y * t_2) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (t <= -8.6e-254) tmp = Float64(k * Float64(y5 * Float64(Float64(y * i) - Float64(y0 * y2)))); elseif (t <= 4.5e-302) tmp = Float64(y * Float64(x * t_2)); elseif (t <= 3.5e-171) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (t <= 2.9e-64) tmp = Float64(y * Float64(y5 * Float64(Float64(i * k) - Float64(a * y3)))); elseif (t <= 13500000.0) tmp = Float64(x * Float64(y * Float64(a * Float64(b - Float64(c * Float64(i / a)))))); elseif (t <= 1.05e+102) tmp = Float64(k * Float64(Float64(Float64(i * Float64(y * y5)) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) - Float64(i * Float64(z * y1)))); elseif (t <= 1.15e+180) tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3))))); elseif (t <= 1.2e+273) tmp = t_1; else tmp = Float64(y * Float64(k * Float64(Float64(i * y5) - Float64(b * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); t_2 = (a * b) - (c * i); tmp = 0.0; if (t <= -8.6e-65) tmp = t_1; elseif (t <= -8e-225) tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (t <= -8.6e-254) tmp = k * (y5 * ((y * i) - (y0 * y2))); elseif (t <= 4.5e-302) tmp = y * (x * t_2); elseif (t <= 3.5e-171) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (t <= 2.9e-64) tmp = y * (y5 * ((i * k) - (a * y3))); elseif (t <= 13500000.0) tmp = x * (y * (a * (b - (c * (i / a))))); elseif (t <= 1.05e+102) tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))); elseif (t <= 1.15e+180) tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))); elseif (t <= 1.2e+273) tmp = t_1; else tmp = y * (k * ((i * y5) - (b * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -8.6e-65], t$95$1, If[LessEqual[t, -8e-225], N[(x * N[(N[(N[(y * t$95$2), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -8.6e-254], N[(k * N[(y5 * N[(N[(y * i), $MachinePrecision] - N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.5e-302], N[(y * N[(x * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.5e-171], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.9e-64], N[(y * N[(y5 * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 13500000.0], N[(x * N[(y * N[(a * N[(b - N[(c * N[(i / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.05e+102], N[(k * N[(N[(N[(i * N[(y * y5), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.15e+180], N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.2e+273], t$95$1, N[(y * N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
t_2 := a \cdot b - c \cdot i\\
\mathbf{if}\;t \leq -8.6 \cdot 10^{-65}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -8 \cdot 10^{-225}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_2 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;t \leq -8.6 \cdot 10^{-254}:\\
\;\;\;\;k \cdot \left(y5 \cdot \left(y \cdot i - y0 \cdot y2\right)\right)\\
\mathbf{elif}\;t \leq 4.5 \cdot 10^{-302}:\\
\;\;\;\;y \cdot \left(x \cdot t\_2\right)\\
\mathbf{elif}\;t \leq 3.5 \cdot 10^{-171}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;t \leq 2.9 \cdot 10^{-64}:\\
\;\;\;\;y \cdot \left(y5 \cdot \left(i \cdot k - a \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq 13500000:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot \left(b - c \cdot \frac{i}{a}\right)\right)\right)\\
\mathbf{elif}\;t \leq 1.05 \cdot 10^{+102}:\\
\;\;\;\;k \cdot \left(\left(i \cdot \left(y \cdot y5\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - i \cdot \left(z \cdot y1\right)\right)\\
\mathbf{elif}\;t \leq 1.15 \cdot 10^{+180}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq 1.2 \cdot 10^{+273}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(k \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -8.60000000000000048e-65 or 1.1499999999999999e180 < t < 1.2000000000000001e273Initial program 29.2%
Taylor expanded in b around inf 36.3%
Taylor expanded in j around inf 57.7%
if -8.60000000000000048e-65 < t < -7.9999999999999997e-225Initial program 23.8%
Taylor expanded in x around inf 57.6%
if -7.9999999999999997e-225 < t < -8.5999999999999994e-254Initial program 46.8%
Taylor expanded in y5 around -inf 73.1%
Taylor expanded in k around inf 73.3%
+-commutative73.3%
mul-1-neg73.3%
unsub-neg73.3%
*-commutative73.3%
Simplified73.3%
if -8.5999999999999994e-254 < t < 4.50000000000000009e-302Initial program 45.1%
Taylor expanded in y around inf 56.2%
Taylor expanded in x around inf 67.7%
if 4.50000000000000009e-302 < t < 3.49999999999999994e-171Initial program 38.7%
Taylor expanded in j around inf 46.7%
Taylor expanded in y0 around inf 55.2%
if 3.49999999999999994e-171 < t < 2.8999999999999999e-64Initial program 33.2%
Taylor expanded in y around inf 46.0%
Taylor expanded in y5 around inf 55.6%
if 2.8999999999999999e-64 < t < 1.35e7Initial program 39.2%
Taylor expanded in y around inf 55.6%
Taylor expanded in x around inf 61.2%
Taylor expanded in a around inf 66.8%
mul-1-neg66.8%
unsub-neg66.8%
associate-/l*66.8%
Simplified66.8%
if 1.35e7 < t < 1.05000000000000001e102Initial program 36.4%
Taylor expanded in b around 0 36.4%
Taylor expanded in k around inf 64.2%
if 1.05000000000000001e102 < t < 1.1499999999999999e180Initial program 23.5%
Taylor expanded in b around 0 17.6%
Taylor expanded in y0 around inf 70.8%
if 1.2000000000000001e273 < t Initial program 42.9%
Taylor expanded in y around inf 71.5%
Taylor expanded in k around inf 72.5%
Final simplification60.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* y (* a (- b (* c (/ i a)))))))
(t_2 (* b (* j (- (* t y4) (* x y0))))))
(if (<= t -8.5e-73)
t_2
(if (<= t -1.8e-136)
t_1
(if (<= t -1.45e-253)
(*
k
(- (+ (* i (* y y5)) (* y2 (- (* y1 y4) (* y0 y5)))) (* i (* z y1))))
(if (<= t 1.3e-307)
(* y (* x (- (* a b) (* c i))))
(if (<= t 4e-171)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= t 1.2e-63)
(* y (* y5 (- (* i k) (* a y3))))
(if (<= t 2.2e+17)
t_1
(if (or (<= t 2.8e+113) (not (<= t 8.5e+273)))
(* y (* k (- (* i y5) (* b 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 = x * (y * (a * (b - (c * (i / a)))));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -8.5e-73) {
tmp = t_2;
} else if (t <= -1.8e-136) {
tmp = t_1;
} else if (t <= -1.45e-253) {
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
} else if (t <= 1.3e-307) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (t <= 4e-171) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 1.2e-63) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (t <= 2.2e+17) {
tmp = t_1;
} else if ((t <= 2.8e+113) || !(t <= 8.5e+273)) {
tmp = y * (k * ((i * y5) - (b * 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 = x * (y * (a * (b - (c * (i / a)))))
t_2 = b * (j * ((t * y4) - (x * y0)))
if (t <= (-8.5d-73)) then
tmp = t_2
else if (t <= (-1.8d-136)) then
tmp = t_1
else if (t <= (-1.45d-253)) then
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)))
else if (t <= 1.3d-307) then
tmp = y * (x * ((a * b) - (c * i)))
else if (t <= 4d-171) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (t <= 1.2d-63) then
tmp = y * (y5 * ((i * k) - (a * y3)))
else if (t <= 2.2d+17) then
tmp = t_1
else if ((t <= 2.8d+113) .or. (.not. (t <= 8.5d+273))) then
tmp = y * (k * ((i * y5) - (b * 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 = x * (y * (a * (b - (c * (i / a)))));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -8.5e-73) {
tmp = t_2;
} else if (t <= -1.8e-136) {
tmp = t_1;
} else if (t <= -1.45e-253) {
tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1)));
} else if (t <= 1.3e-307) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (t <= 4e-171) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 1.2e-63) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else if (t <= 2.2e+17) {
tmp = t_1;
} else if ((t <= 2.8e+113) || !(t <= 8.5e+273)) {
tmp = y * (k * ((i * y5) - (b * 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 = x * (y * (a * (b - (c * (i / a))))) t_2 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if t <= -8.5e-73: tmp = t_2 elif t <= -1.8e-136: tmp = t_1 elif t <= -1.45e-253: tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))) elif t <= 1.3e-307: tmp = y * (x * ((a * b) - (c * i))) elif t <= 4e-171: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif t <= 1.2e-63: tmp = y * (y5 * ((i * k) - (a * y3))) elif t <= 2.2e+17: tmp = t_1 elif (t <= 2.8e+113) or not (t <= 8.5e+273): tmp = y * (k * ((i * y5) - (b * 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(x * Float64(y * Float64(a * Float64(b - Float64(c * Float64(i / a)))))) t_2 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (t <= -8.5e-73) tmp = t_2; elseif (t <= -1.8e-136) tmp = t_1; elseif (t <= -1.45e-253) tmp = Float64(k * Float64(Float64(Float64(i * Float64(y * y5)) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) - Float64(i * Float64(z * y1)))); elseif (t <= 1.3e-307) tmp = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i)))); elseif (t <= 4e-171) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (t <= 1.2e-63) tmp = Float64(y * Float64(y5 * Float64(Float64(i * k) - Float64(a * y3)))); elseif (t <= 2.2e+17) tmp = t_1; elseif ((t <= 2.8e+113) || !(t <= 8.5e+273)) tmp = Float64(y * Float64(k * Float64(Float64(i * y5) - Float64(b * 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 = x * (y * (a * (b - (c * (i / a))))); t_2 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (t <= -8.5e-73) tmp = t_2; elseif (t <= -1.8e-136) tmp = t_1; elseif (t <= -1.45e-253) tmp = k * (((i * (y * y5)) + (y2 * ((y1 * y4) - (y0 * y5)))) - (i * (z * y1))); elseif (t <= 1.3e-307) tmp = y * (x * ((a * b) - (c * i))); elseif (t <= 4e-171) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (t <= 1.2e-63) tmp = y * (y5 * ((i * k) - (a * y3))); elseif (t <= 2.2e+17) tmp = t_1; elseif ((t <= 2.8e+113) || ~((t <= 8.5e+273))) tmp = y * (k * ((i * y5) - (b * 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[(x * N[(y * N[(a * N[(b - N[(c * N[(i / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -8.5e-73], t$95$2, If[LessEqual[t, -1.8e-136], t$95$1, If[LessEqual[t, -1.45e-253], N[(k * N[(N[(N[(i * N[(y * y5), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.3e-307], N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4e-171], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.2e-63], N[(y * N[(y5 * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.2e+17], t$95$1, If[Or[LessEqual[t, 2.8e+113], N[Not[LessEqual[t, 8.5e+273]], $MachinePrecision]], N[(y * N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(y \cdot \left(a \cdot \left(b - c \cdot \frac{i}{a}\right)\right)\right)\\
t_2 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;t \leq -8.5 \cdot 10^{-73}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq -1.8 \cdot 10^{-136}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -1.45 \cdot 10^{-253}:\\
\;\;\;\;k \cdot \left(\left(i \cdot \left(y \cdot y5\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - i \cdot \left(z \cdot y1\right)\right)\\
\mathbf{elif}\;t \leq 1.3 \cdot 10^{-307}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;t \leq 4 \cdot 10^{-171}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;t \leq 1.2 \cdot 10^{-63}:\\
\;\;\;\;y \cdot \left(y5 \cdot \left(i \cdot k - a \cdot y3\right)\right)\\
\mathbf{elif}\;t \leq 2.2 \cdot 10^{+17}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 2.8 \cdot 10^{+113} \lor \neg \left(t \leq 8.5 \cdot 10^{+273}\right):\\
\;\;\;\;y \cdot \left(k \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -8.4999999999999996e-73 or 2.79999999999999998e113 < t < 8.5000000000000002e273Initial program 27.6%
Taylor expanded in b around inf 36.5%
Taylor expanded in j around inf 55.7%
if -8.4999999999999996e-73 < t < -1.7999999999999999e-136 or 1.2e-63 < t < 2.2e17Initial program 31.9%
Taylor expanded in y around inf 40.2%
Taylor expanded in x around inf 54.9%
Taylor expanded in a around inf 60.8%
mul-1-neg60.8%
unsub-neg60.8%
associate-/l*63.6%
Simplified63.6%
if -1.7999999999999999e-136 < t < -1.4499999999999999e-253Initial program 33.4%
Taylor expanded in b around 0 40.5%
Taylor expanded in k around inf 50.5%
if -1.4499999999999999e-253 < t < 1.29999999999999998e-307Initial program 45.1%
Taylor expanded in y around inf 56.2%
Taylor expanded in x around inf 67.7%
if 1.29999999999999998e-307 < t < 3.9999999999999999e-171Initial program 38.7%
Taylor expanded in j around inf 46.7%
Taylor expanded in y0 around inf 55.2%
if 3.9999999999999999e-171 < t < 1.2e-63Initial program 33.2%
Taylor expanded in y around inf 46.0%
Taylor expanded in y5 around inf 55.6%
if 2.2e17 < t < 2.79999999999999998e113 or 8.5000000000000002e273 < t Initial program 40.0%
Taylor expanded in y around inf 60.7%
Taylor expanded in k around inf 65.9%
Final simplification57.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y (- (* x b) (* y3 y5)))))
(t_2 (* b (* j (- (* t y4) (* x y0))))))
(if (<= t -1.15e-75)
t_2
(if (<= t 6.8e-302)
t_1
(if (<= t 3.3e-164)
(* j (* y0 (* y3 y5)))
(if (<= t 6.6e-129)
(* j (* y1 (* y3 (- y4))))
(if (<= t 1.7e-117)
(* b (* y0 (- (* z k) (* x j))))
(if (<= t 6e-19)
t_1
(if (<= t 2.2e+119)
(* b (* y4 (- (* t j) (* y k))))
t_2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y * ((x * b) - (y3 * y5)));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -1.15e-75) {
tmp = t_2;
} else if (t <= 6.8e-302) {
tmp = t_1;
} else if (t <= 3.3e-164) {
tmp = j * (y0 * (y3 * y5));
} else if (t <= 6.6e-129) {
tmp = j * (y1 * (y3 * -y4));
} else if (t <= 1.7e-117) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (t <= 6e-19) {
tmp = t_1;
} else if (t <= 2.2e+119) {
tmp = b * (y4 * ((t * j) - (y * k)));
} 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 = a * (y * ((x * b) - (y3 * y5)))
t_2 = b * (j * ((t * y4) - (x * y0)))
if (t <= (-1.15d-75)) then
tmp = t_2
else if (t <= 6.8d-302) then
tmp = t_1
else if (t <= 3.3d-164) then
tmp = j * (y0 * (y3 * y5))
else if (t <= 6.6d-129) then
tmp = j * (y1 * (y3 * -y4))
else if (t <= 1.7d-117) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (t <= 6d-19) then
tmp = t_1
else if (t <= 2.2d+119) then
tmp = b * (y4 * ((t * j) - (y * k)))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y * ((x * b) - (y3 * y5)));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -1.15e-75) {
tmp = t_2;
} else if (t <= 6.8e-302) {
tmp = t_1;
} else if (t <= 3.3e-164) {
tmp = j * (y0 * (y3 * y5));
} else if (t <= 6.6e-129) {
tmp = j * (y1 * (y3 * -y4));
} else if (t <= 1.7e-117) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (t <= 6e-19) {
tmp = t_1;
} else if (t <= 2.2e+119) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y * ((x * b) - (y3 * y5))) t_2 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if t <= -1.15e-75: tmp = t_2 elif t <= 6.8e-302: tmp = t_1 elif t <= 3.3e-164: tmp = j * (y0 * (y3 * y5)) elif t <= 6.6e-129: tmp = j * (y1 * (y3 * -y4)) elif t <= 1.7e-117: tmp = b * (y0 * ((z * k) - (x * j))) elif t <= 6e-19: tmp = t_1 elif t <= 2.2e+119: tmp = b * (y4 * ((t * j) - (y * k))) 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(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))) t_2 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (t <= -1.15e-75) tmp = t_2; elseif (t <= 6.8e-302) tmp = t_1; elseif (t <= 3.3e-164) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (t <= 6.6e-129) tmp = Float64(j * Float64(y1 * Float64(y3 * Float64(-y4)))); elseif (t <= 1.7e-117) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (t <= 6e-19) tmp = t_1; elseif (t <= 2.2e+119) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y * ((x * b) - (y3 * y5))); t_2 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (t <= -1.15e-75) tmp = t_2; elseif (t <= 6.8e-302) tmp = t_1; elseif (t <= 3.3e-164) tmp = j * (y0 * (y3 * y5)); elseif (t <= 6.6e-129) tmp = j * (y1 * (y3 * -y4)); elseif (t <= 1.7e-117) tmp = b * (y0 * ((z * k) - (x * j))); elseif (t <= 6e-19) tmp = t_1; elseif (t <= 2.2e+119) tmp = b * (y4 * ((t * j) - (y * k))); 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[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.15e-75], t$95$2, If[LessEqual[t, 6.8e-302], t$95$1, If[LessEqual[t, 3.3e-164], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6.6e-129], N[(j * N[(y1 * N[(y3 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.7e-117], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6e-19], t$95$1, If[LessEqual[t, 2.2e+119], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
t_2 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;t \leq -1.15 \cdot 10^{-75}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 6.8 \cdot 10^{-302}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 3.3 \cdot 10^{-164}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 6.6 \cdot 10^{-129}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y3 \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;t \leq 1.7 \cdot 10^{-117}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;t \leq 6 \cdot 10^{-19}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 2.2 \cdot 10^{+119}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -1.15e-75 or 2.2000000000000001e119 < t Initial program 28.0%
Taylor expanded in b around inf 34.6%
Taylor expanded in j around inf 52.8%
if -1.15e-75 < t < 6.8e-302 or 1.70000000000000017e-117 < t < 5.99999999999999985e-19Initial program 38.1%
Taylor expanded in y around inf 44.5%
Taylor expanded in a around inf 45.9%
if 6.8e-302 < t < 3.3e-164Initial program 36.0%
Taylor expanded in b around 0 32.6%
Taylor expanded in y0 around inf 46.9%
Taylor expanded in j around inf 47.2%
if 3.3e-164 < t < 6.59999999999999977e-129Initial program 19.8%
Taylor expanded in y3 around -inf 31.6%
Taylor expanded in y4 around inf 50.3%
Taylor expanded in j around inf 50.8%
if 6.59999999999999977e-129 < t < 1.70000000000000017e-117Initial program 16.7%
Taylor expanded in b around inf 50.5%
Taylor expanded in y0 around inf 66.9%
if 5.99999999999999985e-19 < t < 2.2000000000000001e119Initial program 38.1%
Taylor expanded in b around inf 43.4%
Taylor expanded in y4 around inf 53.1%
Final simplification50.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y (- (* x b) (* y3 y5)))))
(t_2 (* b (* j (- (* t y4) (* x y0))))))
(if (<= t -7.2e-76)
t_2
(if (<= t 5e-302)
t_1
(if (<= t 5.5e-165)
(* j (* y0 (* y3 y5)))
(if (<= t 6.6e-129)
(* j (* y1 (* y3 (- y4))))
(if (<= t 1.2e-115)
(* b (* y0 (- (* z k) (* x j))))
(if (<= t 1.55e+59) t_1 t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y * ((x * b) - (y3 * y5)));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -7.2e-76) {
tmp = t_2;
} else if (t <= 5e-302) {
tmp = t_1;
} else if (t <= 5.5e-165) {
tmp = j * (y0 * (y3 * y5));
} else if (t <= 6.6e-129) {
tmp = j * (y1 * (y3 * -y4));
} else if (t <= 1.2e-115) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (t <= 1.55e+59) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * (y * ((x * b) - (y3 * y5)))
t_2 = b * (j * ((t * y4) - (x * y0)))
if (t <= (-7.2d-76)) then
tmp = t_2
else if (t <= 5d-302) then
tmp = t_1
else if (t <= 5.5d-165) then
tmp = j * (y0 * (y3 * y5))
else if (t <= 6.6d-129) then
tmp = j * (y1 * (y3 * -y4))
else if (t <= 1.2d-115) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (t <= 1.55d+59) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y * ((x * b) - (y3 * y5)));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -7.2e-76) {
tmp = t_2;
} else if (t <= 5e-302) {
tmp = t_1;
} else if (t <= 5.5e-165) {
tmp = j * (y0 * (y3 * y5));
} else if (t <= 6.6e-129) {
tmp = j * (y1 * (y3 * -y4));
} else if (t <= 1.2e-115) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (t <= 1.55e+59) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y * ((x * b) - (y3 * y5))) t_2 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if t <= -7.2e-76: tmp = t_2 elif t <= 5e-302: tmp = t_1 elif t <= 5.5e-165: tmp = j * (y0 * (y3 * y5)) elif t <= 6.6e-129: tmp = j * (y1 * (y3 * -y4)) elif t <= 1.2e-115: tmp = b * (y0 * ((z * k) - (x * j))) elif t <= 1.55e+59: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))) t_2 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (t <= -7.2e-76) tmp = t_2; elseif (t <= 5e-302) tmp = t_1; elseif (t <= 5.5e-165) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (t <= 6.6e-129) tmp = Float64(j * Float64(y1 * Float64(y3 * Float64(-y4)))); elseif (t <= 1.2e-115) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (t <= 1.55e+59) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y * ((x * b) - (y3 * y5))); t_2 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (t <= -7.2e-76) tmp = t_2; elseif (t <= 5e-302) tmp = t_1; elseif (t <= 5.5e-165) tmp = j * (y0 * (y3 * y5)); elseif (t <= 6.6e-129) tmp = j * (y1 * (y3 * -y4)); elseif (t <= 1.2e-115) tmp = b * (y0 * ((z * k) - (x * j))); elseif (t <= 1.55e+59) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -7.2e-76], t$95$2, If[LessEqual[t, 5e-302], t$95$1, If[LessEqual[t, 5.5e-165], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6.6e-129], N[(j * N[(y1 * N[(y3 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.2e-115], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.55e+59], t$95$1, t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
t_2 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;t \leq -7.2 \cdot 10^{-76}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 5 \cdot 10^{-302}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 5.5 \cdot 10^{-165}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 6.6 \cdot 10^{-129}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y3 \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;t \leq 1.2 \cdot 10^{-115}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;t \leq 1.55 \cdot 10^{+59}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -7.2000000000000001e-76 or 1.55000000000000007e59 < t Initial program 29.3%
Taylor expanded in b around inf 35.3%
Taylor expanded in j around inf 50.9%
if -7.2000000000000001e-76 < t < 5.00000000000000033e-302 or 1.20000000000000011e-115 < t < 1.55000000000000007e59Initial program 37.6%
Taylor expanded in y around inf 47.8%
Taylor expanded in a around inf 44.6%
if 5.00000000000000033e-302 < t < 5.49999999999999969e-165Initial program 36.0%
Taylor expanded in b around 0 32.6%
Taylor expanded in y0 around inf 46.9%
Taylor expanded in j around inf 47.2%
if 5.49999999999999969e-165 < t < 6.59999999999999977e-129Initial program 19.8%
Taylor expanded in y3 around -inf 31.6%
Taylor expanded in y4 around inf 50.3%
Taylor expanded in j around inf 50.8%
if 6.59999999999999977e-129 < t < 1.20000000000000011e-115Initial program 16.7%
Taylor expanded in b around inf 50.5%
Taylor expanded in y0 around inf 66.9%
Final simplification48.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))))
(if (<= t -3.2e-73)
t_1
(if (<= t -9.8e-203)
(* x (* y (* a (- b (* c (/ i a))))))
(if (<= t -5.6e-256)
(* k (* y5 (- (* y i) (* y0 y2))))
(if (<= t 2.4e-304)
(* y (* x (- (* a b) (* c i))))
(if (<= t 9.8e-172)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= t 4.8e+134) (* y (* y5 (- (* i k) (* a y3)))) t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -3.2e-73) {
tmp = t_1;
} else if (t <= -9.8e-203) {
tmp = x * (y * (a * (b - (c * (i / a)))));
} else if (t <= -5.6e-256) {
tmp = k * (y5 * ((y * i) - (y0 * y2)));
} else if (t <= 2.4e-304) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (t <= 9.8e-172) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 4.8e+134) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
if (t <= (-3.2d-73)) then
tmp = t_1
else if (t <= (-9.8d-203)) then
tmp = x * (y * (a * (b - (c * (i / a)))))
else if (t <= (-5.6d-256)) then
tmp = k * (y5 * ((y * i) - (y0 * y2)))
else if (t <= 2.4d-304) then
tmp = y * (x * ((a * b) - (c * i)))
else if (t <= 9.8d-172) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (t <= 4.8d+134) then
tmp = y * (y5 * ((i * k) - (a * y3)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -3.2e-73) {
tmp = t_1;
} else if (t <= -9.8e-203) {
tmp = x * (y * (a * (b - (c * (i / a)))));
} else if (t <= -5.6e-256) {
tmp = k * (y5 * ((y * i) - (y0 * y2)));
} else if (t <= 2.4e-304) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (t <= 9.8e-172) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 4.8e+134) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if t <= -3.2e-73: tmp = t_1 elif t <= -9.8e-203: tmp = x * (y * (a * (b - (c * (i / a))))) elif t <= -5.6e-256: tmp = k * (y5 * ((y * i) - (y0 * y2))) elif t <= 2.4e-304: tmp = y * (x * ((a * b) - (c * i))) elif t <= 9.8e-172: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif t <= 4.8e+134: tmp = y * (y5 * ((i * k) - (a * y3))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (t <= -3.2e-73) tmp = t_1; elseif (t <= -9.8e-203) tmp = Float64(x * Float64(y * Float64(a * Float64(b - Float64(c * Float64(i / a)))))); elseif (t <= -5.6e-256) tmp = Float64(k * Float64(y5 * Float64(Float64(y * i) - Float64(y0 * y2)))); elseif (t <= 2.4e-304) tmp = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i)))); elseif (t <= 9.8e-172) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (t <= 4.8e+134) tmp = Float64(y * Float64(y5 * Float64(Float64(i * k) - Float64(a * y3)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (t <= -3.2e-73) tmp = t_1; elseif (t <= -9.8e-203) tmp = x * (y * (a * (b - (c * (i / a))))); elseif (t <= -5.6e-256) tmp = k * (y5 * ((y * i) - (y0 * y2))); elseif (t <= 2.4e-304) tmp = y * (x * ((a * b) - (c * i))); elseif (t <= 9.8e-172) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (t <= 4.8e+134) tmp = y * (y5 * ((i * k) - (a * y3))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.2e-73], t$95$1, If[LessEqual[t, -9.8e-203], N[(x * N[(y * N[(a * N[(b - N[(c * N[(i / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -5.6e-256], N[(k * N[(y5 * N[(N[(y * i), $MachinePrecision] - N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.4e-304], N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 9.8e-172], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.8e+134], N[(y * N[(y5 * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;t \leq -3.2 \cdot 10^{-73}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -9.8 \cdot 10^{-203}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot \left(b - c \cdot \frac{i}{a}\right)\right)\right)\\
\mathbf{elif}\;t \leq -5.6 \cdot 10^{-256}:\\
\;\;\;\;k \cdot \left(y5 \cdot \left(y \cdot i - y0 \cdot y2\right)\right)\\
\mathbf{elif}\;t \leq 2.4 \cdot 10^{-304}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;t \leq 9.8 \cdot 10^{-172}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;t \leq 4.8 \cdot 10^{+134}:\\
\;\;\;\;y \cdot \left(y5 \cdot \left(i \cdot k - a \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -3.19999999999999986e-73 or 4.80000000000000011e134 < t Initial program 29.2%
Taylor expanded in b around inf 34.3%
Taylor expanded in j around inf 54.2%
if -3.19999999999999986e-73 < t < -9.7999999999999999e-203Initial program 25.0%
Taylor expanded in y around inf 35.4%
Taylor expanded in x around inf 42.6%
Taylor expanded in a around inf 46.2%
mul-1-neg46.2%
unsub-neg46.2%
associate-/l*49.7%
Simplified49.7%
if -9.7999999999999999e-203 < t < -5.60000000000000046e-256Initial program 41.3%
Taylor expanded in y5 around -inf 60.9%
Taylor expanded in k around inf 60.8%
+-commutative60.8%
mul-1-neg60.8%
unsub-neg60.8%
*-commutative60.8%
Simplified60.8%
if -5.60000000000000046e-256 < t < 2.4000000000000001e-304Initial program 45.1%
Taylor expanded in y around inf 56.2%
Taylor expanded in x around inf 67.7%
if 2.4000000000000001e-304 < t < 9.8000000000000001e-172Initial program 38.7%
Taylor expanded in j around inf 46.7%
Taylor expanded in y0 around inf 55.2%
if 9.8000000000000001e-172 < t < 4.80000000000000011e134Initial program 33.8%
Taylor expanded in y around inf 49.9%
Taylor expanded in y5 around inf 49.0%
Final simplification53.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y (* c (* y3 y4)))) (t_2 (* a (* y (* x b)))))
(if (<= y4 -3.9e+90)
t_1
(if (<= y4 -7.6e-136)
t_2
(if (<= y4 -2.15e-232)
(* j (* y0 (* y3 y5)))
(if (<= y4 1.7e-238)
(* c (* (* z y3) (- y0)))
(if (<= y4 4.3e-125)
(* k (* y0 (* y2 (- y5))))
(if (<= y4 7.5e+189) t_2 t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * (c * (y3 * y4));
double t_2 = a * (y * (x * b));
double tmp;
if (y4 <= -3.9e+90) {
tmp = t_1;
} else if (y4 <= -7.6e-136) {
tmp = t_2;
} else if (y4 <= -2.15e-232) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 1.7e-238) {
tmp = c * ((z * y3) * -y0);
} else if (y4 <= 4.3e-125) {
tmp = k * (y0 * (y2 * -y5));
} else if (y4 <= 7.5e+189) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = y * (c * (y3 * y4))
t_2 = a * (y * (x * b))
if (y4 <= (-3.9d+90)) then
tmp = t_1
else if (y4 <= (-7.6d-136)) then
tmp = t_2
else if (y4 <= (-2.15d-232)) then
tmp = j * (y0 * (y3 * y5))
else if (y4 <= 1.7d-238) then
tmp = c * ((z * y3) * -y0)
else if (y4 <= 4.3d-125) then
tmp = k * (y0 * (y2 * -y5))
else if (y4 <= 7.5d+189) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * (c * (y3 * y4));
double t_2 = a * (y * (x * b));
double tmp;
if (y4 <= -3.9e+90) {
tmp = t_1;
} else if (y4 <= -7.6e-136) {
tmp = t_2;
} else if (y4 <= -2.15e-232) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 1.7e-238) {
tmp = c * ((z * y3) * -y0);
} else if (y4 <= 4.3e-125) {
tmp = k * (y0 * (y2 * -y5));
} else if (y4 <= 7.5e+189) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y * (c * (y3 * y4)) t_2 = a * (y * (x * b)) tmp = 0 if y4 <= -3.9e+90: tmp = t_1 elif y4 <= -7.6e-136: tmp = t_2 elif y4 <= -2.15e-232: tmp = j * (y0 * (y3 * y5)) elif y4 <= 1.7e-238: tmp = c * ((z * y3) * -y0) elif y4 <= 4.3e-125: tmp = k * (y0 * (y2 * -y5)) elif y4 <= 7.5e+189: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y * Float64(c * Float64(y3 * y4))) t_2 = Float64(a * Float64(y * Float64(x * b))) tmp = 0.0 if (y4 <= -3.9e+90) tmp = t_1; elseif (y4 <= -7.6e-136) tmp = t_2; elseif (y4 <= -2.15e-232) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (y4 <= 1.7e-238) tmp = Float64(c * Float64(Float64(z * y3) * Float64(-y0))); elseif (y4 <= 4.3e-125) tmp = Float64(k * Float64(y0 * Float64(y2 * Float64(-y5)))); elseif (y4 <= 7.5e+189) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y * (c * (y3 * y4)); t_2 = a * (y * (x * b)); tmp = 0.0; if (y4 <= -3.9e+90) tmp = t_1; elseif (y4 <= -7.6e-136) tmp = t_2; elseif (y4 <= -2.15e-232) tmp = j * (y0 * (y3 * y5)); elseif (y4 <= 1.7e-238) tmp = c * ((z * y3) * -y0); elseif (y4 <= 4.3e-125) tmp = k * (y0 * (y2 * -y5)); elseif (y4 <= 7.5e+189) tmp = t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(c * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -3.9e+90], t$95$1, If[LessEqual[y4, -7.6e-136], t$95$2, If[LessEqual[y4, -2.15e-232], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.7e-238], N[(c * N[(N[(z * y3), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.3e-125], N[(k * N[(y0 * N[(y2 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 7.5e+189], t$95$2, t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(c \cdot \left(y3 \cdot y4\right)\right)\\
t_2 := a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\mathbf{if}\;y4 \leq -3.9 \cdot 10^{+90}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq -7.6 \cdot 10^{-136}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq -2.15 \cdot 10^{-232}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 1.7 \cdot 10^{-238}:\\
\;\;\;\;c \cdot \left(\left(z \cdot y3\right) \cdot \left(-y0\right)\right)\\
\mathbf{elif}\;y4 \leq 4.3 \cdot 10^{-125}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\
\mathbf{elif}\;y4 \leq 7.5 \cdot 10^{+189}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y4 < -3.9000000000000002e90 or 7.49999999999999955e189 < y4 Initial program 27.6%
Taylor expanded in y around inf 38.0%
Taylor expanded in c around -inf 42.3%
mul-1-neg42.3%
Simplified42.3%
Taylor expanded in i around 0 40.0%
mul-1-neg40.0%
*-commutative40.0%
distribute-rgt-neg-in40.0%
Simplified40.0%
if -3.9000000000000002e90 < y4 < -7.6000000000000005e-136 or 4.3000000000000002e-125 < y4 < 7.49999999999999955e189Initial program 34.5%
Taylor expanded in b around inf 39.4%
Taylor expanded in a around inf 30.7%
Taylor expanded in x around inf 31.0%
associate-*r*34.5%
Simplified34.5%
if -7.6000000000000005e-136 < y4 < -2.1499999999999998e-232Initial program 40.5%
Taylor expanded in b around 0 33.9%
Taylor expanded in y0 around inf 54.3%
Taylor expanded in j around inf 41.3%
if -2.1499999999999998e-232 < y4 < 1.69999999999999992e-238Initial program 33.2%
Taylor expanded in b around 0 40.7%
Taylor expanded in y0 around inf 45.8%
Taylor expanded in z around inf 41.8%
mul-1-neg41.8%
*-commutative41.8%
distribute-rgt-neg-in41.8%
Simplified41.8%
if 1.69999999999999992e-238 < y4 < 4.3000000000000002e-125Initial program 30.9%
Taylor expanded in b around 0 31.2%
Taylor expanded in y0 around inf 23.8%
Taylor expanded in k around inf 32.0%
mul-1-neg32.0%
distribute-rgt-neg-in32.0%
*-commutative32.0%
distribute-rgt-neg-in32.0%
Simplified32.0%
Final simplification37.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))))
(if (<= t -2.5e+25)
t_1
(if (<= t 9.2e-148)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= t 1.95e-128)
(* j (* y1 (* y3 (- y4))))
(if (<= t 3.7e-19)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= t 1.95e+115) (* b (* y4 (- (* t j) (* y k)))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -2.5e+25) {
tmp = t_1;
} else if (t <= 9.2e-148) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 1.95e-128) {
tmp = j * (y1 * (y3 * -y4));
} else if (t <= 3.7e-19) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (t <= 1.95e+115) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
if (t <= (-2.5d+25)) then
tmp = t_1
else if (t <= 9.2d-148) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (t <= 1.95d-128) then
tmp = j * (y1 * (y3 * -y4))
else if (t <= 3.7d-19) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (t <= 1.95d+115) then
tmp = b * (y4 * ((t * j) - (y * k)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -2.5e+25) {
tmp = t_1;
} else if (t <= 9.2e-148) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 1.95e-128) {
tmp = j * (y1 * (y3 * -y4));
} else if (t <= 3.7e-19) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (t <= 1.95e+115) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if t <= -2.5e+25: tmp = t_1 elif t <= 9.2e-148: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif t <= 1.95e-128: tmp = j * (y1 * (y3 * -y4)) elif t <= 3.7e-19: tmp = a * (y * ((x * b) - (y3 * y5))) elif t <= 1.95e+115: tmp = b * (y4 * ((t * j) - (y * k))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (t <= -2.5e+25) tmp = t_1; elseif (t <= 9.2e-148) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (t <= 1.95e-128) tmp = Float64(j * Float64(y1 * Float64(y3 * Float64(-y4)))); elseif (t <= 3.7e-19) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (t <= 1.95e+115) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (t <= -2.5e+25) tmp = t_1; elseif (t <= 9.2e-148) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (t <= 1.95e-128) tmp = j * (y1 * (y3 * -y4)); elseif (t <= 3.7e-19) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (t <= 1.95e+115) tmp = b * (y4 * ((t * j) - (y * k))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.5e+25], t$95$1, If[LessEqual[t, 9.2e-148], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.95e-128], N[(j * N[(y1 * N[(y3 * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.7e-19], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.95e+115], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;t \leq -2.5 \cdot 10^{+25}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 9.2 \cdot 10^{-148}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;t \leq 1.95 \cdot 10^{-128}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(y3 \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;t \leq 3.7 \cdot 10^{-19}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 1.95 \cdot 10^{+115}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -2.50000000000000012e25 or 1.95000000000000003e115 < t Initial program 29.1%
Taylor expanded in b around inf 34.7%
Taylor expanded in j around inf 54.7%
if -2.50000000000000012e25 < t < 9.1999999999999999e-148Initial program 31.6%
Taylor expanded in j around inf 36.8%
Taylor expanded in y0 around inf 42.3%
if 9.1999999999999999e-148 < t < 1.94999999999999998e-128Initial program 33.3%
Taylor expanded in y3 around -inf 50.5%
Taylor expanded in y4 around inf 83.9%
Taylor expanded in j around inf 83.6%
if 1.94999999999999998e-128 < t < 3.70000000000000005e-19Initial program 39.5%
Taylor expanded in y around inf 48.8%
Taylor expanded in a around inf 43.3%
if 3.70000000000000005e-19 < t < 1.95000000000000003e115Initial program 38.1%
Taylor expanded in b around inf 43.4%
Taylor expanded in y4 around inf 53.1%
Final simplification48.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0)))))
(t_2 (* y (* y5 (- (* i k) (* a y3))))))
(if (<= t -3.6e+23)
t_1
(if (<= t 1.45e-171)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= t 3.7e+134)
t_2
(if (<= t 8e+270)
t_1
(if (<= t 4.2e+307) t_2 (* k (* y0 (* y2 (- y5)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double t_2 = y * (y5 * ((i * k) - (a * y3)));
double tmp;
if (t <= -3.6e+23) {
tmp = t_1;
} else if (t <= 1.45e-171) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 3.7e+134) {
tmp = t_2;
} else if (t <= 8e+270) {
tmp = t_1;
} else if (t <= 4.2e+307) {
tmp = t_2;
} else {
tmp = k * (y0 * (y2 * -y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
t_2 = y * (y5 * ((i * k) - (a * y3)))
if (t <= (-3.6d+23)) then
tmp = t_1
else if (t <= 1.45d-171) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (t <= 3.7d+134) then
tmp = t_2
else if (t <= 8d+270) then
tmp = t_1
else if (t <= 4.2d+307) then
tmp = t_2
else
tmp = k * (y0 * (y2 * -y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double t_2 = y * (y5 * ((i * k) - (a * y3)));
double tmp;
if (t <= -3.6e+23) {
tmp = t_1;
} else if (t <= 1.45e-171) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 3.7e+134) {
tmp = t_2;
} else if (t <= 8e+270) {
tmp = t_1;
} else if (t <= 4.2e+307) {
tmp = t_2;
} else {
tmp = k * (y0 * (y2 * -y5));
}
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))) t_2 = y * (y5 * ((i * k) - (a * y3))) tmp = 0 if t <= -3.6e+23: tmp = t_1 elif t <= 1.45e-171: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif t <= 3.7e+134: tmp = t_2 elif t <= 8e+270: tmp = t_1 elif t <= 4.2e+307: tmp = t_2 else: tmp = k * (y0 * (y2 * -y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) t_2 = Float64(y * Float64(y5 * Float64(Float64(i * k) - Float64(a * y3)))) tmp = 0.0 if (t <= -3.6e+23) tmp = t_1; elseif (t <= 1.45e-171) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (t <= 3.7e+134) tmp = t_2; elseif (t <= 8e+270) tmp = t_1; elseif (t <= 4.2e+307) tmp = t_2; else tmp = Float64(k * Float64(y0 * Float64(y2 * Float64(-y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); t_2 = y * (y5 * ((i * k) - (a * y3))); tmp = 0.0; if (t <= -3.6e+23) tmp = t_1; elseif (t <= 1.45e-171) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (t <= 3.7e+134) tmp = t_2; elseif (t <= 8e+270) tmp = t_1; elseif (t <= 4.2e+307) tmp = t_2; else tmp = k * (y0 * (y2 * -y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y * N[(y5 * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.6e+23], t$95$1, If[LessEqual[t, 1.45e-171], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.7e+134], t$95$2, If[LessEqual[t, 8e+270], t$95$1, If[LessEqual[t, 4.2e+307], t$95$2, N[(k * N[(y0 * N[(y2 * (-y5)), $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)\\
t_2 := y \cdot \left(y5 \cdot \left(i \cdot k - a \cdot y3\right)\right)\\
\mathbf{if}\;t \leq -3.6 \cdot 10^{+23}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.45 \cdot 10^{-171}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;t \leq 3.7 \cdot 10^{+134}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 8 \cdot 10^{+270}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 4.2 \cdot 10^{+307}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\
\end{array}
\end{array}
if t < -3.5999999999999998e23 or 3.70000000000000013e134 < t < 8.0000000000000004e270Initial program 29.4%
Taylor expanded in b around inf 35.6%
Taylor expanded in j around inf 59.2%
if -3.5999999999999998e23 < t < 1.4499999999999999e-171Initial program 32.9%
Taylor expanded in j around inf 39.5%
Taylor expanded in y0 around inf 43.3%
if 1.4499999999999999e-171 < t < 3.70000000000000013e134 or 8.0000000000000004e270 < t < 4.2000000000000002e307Initial program 33.8%
Taylor expanded in y around inf 52.5%
Taylor expanded in y5 around inf 51.7%
if 4.2000000000000002e307 < t Initial program 100.0%
Taylor expanded in b around 0 100.0%
Taylor expanded in y0 around inf 4.1%
Taylor expanded in k around inf 4.1%
mul-1-neg4.1%
distribute-rgt-neg-in4.1%
*-commutative4.1%
distribute-rgt-neg-in4.1%
Simplified4.1%
Final simplification51.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))))
(if (<= t -6.6e-76)
t_1
(if (<= t -2.55e-194)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= t -5.5e-257)
(* k (* y5 (- (* y i) (* y0 y2))))
(if (<= t 2.15e-172)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= t 9e+134) (* y (* y5 (- (* i k) (* a y3)))) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -6.6e-76) {
tmp = t_1;
} else if (t <= -2.55e-194) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (t <= -5.5e-257) {
tmp = k * (y5 * ((y * i) - (y0 * y2)));
} else if (t <= 2.15e-172) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 9e+134) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
if (t <= (-6.6d-76)) then
tmp = t_1
else if (t <= (-2.55d-194)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (t <= (-5.5d-257)) then
tmp = k * (y5 * ((y * i) - (y0 * y2)))
else if (t <= 2.15d-172) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (t <= 9d+134) then
tmp = y * (y5 * ((i * k) - (a * y3)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -6.6e-76) {
tmp = t_1;
} else if (t <= -2.55e-194) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (t <= -5.5e-257) {
tmp = k * (y5 * ((y * i) - (y0 * y2)));
} else if (t <= 2.15e-172) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (t <= 9e+134) {
tmp = y * (y5 * ((i * k) - (a * y3)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if t <= -6.6e-76: tmp = t_1 elif t <= -2.55e-194: tmp = a * (y * ((x * b) - (y3 * y5))) elif t <= -5.5e-257: tmp = k * (y5 * ((y * i) - (y0 * y2))) elif t <= 2.15e-172: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif t <= 9e+134: tmp = y * (y5 * ((i * k) - (a * y3))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (t <= -6.6e-76) tmp = t_1; elseif (t <= -2.55e-194) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (t <= -5.5e-257) tmp = Float64(k * Float64(y5 * Float64(Float64(y * i) - Float64(y0 * y2)))); elseif (t <= 2.15e-172) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (t <= 9e+134) tmp = Float64(y * Float64(y5 * Float64(Float64(i * k) - Float64(a * y3)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (t <= -6.6e-76) tmp = t_1; elseif (t <= -2.55e-194) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (t <= -5.5e-257) tmp = k * (y5 * ((y * i) - (y0 * y2))); elseif (t <= 2.15e-172) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (t <= 9e+134) tmp = y * (y5 * ((i * k) - (a * y3))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -6.6e-76], t$95$1, If[LessEqual[t, -2.55e-194], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -5.5e-257], N[(k * N[(y5 * N[(N[(y * i), $MachinePrecision] - N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.15e-172], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 9e+134], N[(y * N[(y5 * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;t \leq -6.6 \cdot 10^{-76}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -2.55 \cdot 10^{-194}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq -5.5 \cdot 10^{-257}:\\
\;\;\;\;k \cdot \left(y5 \cdot \left(y \cdot i - y0 \cdot y2\right)\right)\\
\mathbf{elif}\;t \leq 2.15 \cdot 10^{-172}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;t \leq 9 \cdot 10^{+134}:\\
\;\;\;\;y \cdot \left(y5 \cdot \left(i \cdot k - a \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -6.59999999999999967e-76 or 8.9999999999999995e134 < t Initial program 29.0%
Taylor expanded in b around inf 34.0%
Taylor expanded in j around inf 53.7%
if -6.59999999999999967e-76 < t < -2.5499999999999999e-194Initial program 23.7%
Taylor expanded in y around inf 39.4%
Taylor expanded in a around inf 54.6%
if -2.5499999999999999e-194 < t < -5.50000000000000025e-257Initial program 45.6%
Taylor expanded in y5 around -inf 56.3%
Taylor expanded in k around inf 56.4%
+-commutative56.4%
mul-1-neg56.4%
unsub-neg56.4%
*-commutative56.4%
Simplified56.4%
if -5.50000000000000025e-257 < t < 2.1499999999999999e-172Initial program 38.6%
Taylor expanded in j around inf 41.8%
Taylor expanded in y0 around inf 48.5%
if 2.1499999999999999e-172 < t < 8.9999999999999995e134Initial program 33.8%
Taylor expanded in y around inf 49.9%
Taylor expanded in y5 around inf 49.0%
Final simplification52.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* b (- (* x y) (* z t))))))
(if (<= y5 -2.55e+70)
(* y0 (* j (* y3 y5)))
(if (<= y5 1.46e-272)
t_1
(if (<= y5 9.2e-94)
(* c (* x (* y0 y2)))
(if (<= y5 7.6e+80) t_1 (* y3 (* j (* y0 y5)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (y5 <= -2.55e+70) {
tmp = y0 * (j * (y3 * y5));
} else if (y5 <= 1.46e-272) {
tmp = t_1;
} else if (y5 <= 9.2e-94) {
tmp = c * (x * (y0 * y2));
} else if (y5 <= 7.6e+80) {
tmp = t_1;
} else {
tmp = y3 * (j * (y0 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (b * ((x * y) - (z * t)))
if (y5 <= (-2.55d+70)) then
tmp = y0 * (j * (y3 * y5))
else if (y5 <= 1.46d-272) then
tmp = t_1
else if (y5 <= 9.2d-94) then
tmp = c * (x * (y0 * y2))
else if (y5 <= 7.6d+80) then
tmp = t_1
else
tmp = y3 * (j * (y0 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (y5 <= -2.55e+70) {
tmp = y0 * (j * (y3 * y5));
} else if (y5 <= 1.46e-272) {
tmp = t_1;
} else if (y5 <= 9.2e-94) {
tmp = c * (x * (y0 * y2));
} else if (y5 <= 7.6e+80) {
tmp = t_1;
} else {
tmp = y3 * (j * (y0 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (b * ((x * y) - (z * t))) tmp = 0 if y5 <= -2.55e+70: tmp = y0 * (j * (y3 * y5)) elif y5 <= 1.46e-272: tmp = t_1 elif y5 <= 9.2e-94: tmp = c * (x * (y0 * y2)) elif y5 <= 7.6e+80: tmp = t_1 else: tmp = y3 * (j * (y0 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (y5 <= -2.55e+70) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); elseif (y5 <= 1.46e-272) tmp = t_1; elseif (y5 <= 9.2e-94) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y5 <= 7.6e+80) tmp = t_1; else tmp = Float64(y3 * Float64(j * Float64(y0 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (b * ((x * y) - (z * t))); tmp = 0.0; if (y5 <= -2.55e+70) tmp = y0 * (j * (y3 * y5)); elseif (y5 <= 1.46e-272) tmp = t_1; elseif (y5 <= 9.2e-94) tmp = c * (x * (y0 * y2)); elseif (y5 <= 7.6e+80) tmp = t_1; else tmp = y3 * (j * (y0 * 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[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -2.55e+70], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.46e-272], t$95$1, If[LessEqual[y5, 9.2e-94], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 7.6e+80], t$95$1, N[(y3 * N[(j * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y5 \leq -2.55 \cdot 10^{+70}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq 1.46 \cdot 10^{-272}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 9.2 \cdot 10^{-94}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y5 \leq 7.6 \cdot 10^{+80}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(j \cdot \left(y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y5 < -2.55000000000000007e70Initial program 38.1%
Taylor expanded in b around 0 38.1%
Taylor expanded in y0 around inf 41.0%
Taylor expanded in j around inf 36.6%
if -2.55000000000000007e70 < y5 < 1.45999999999999997e-272 or 9.1999999999999997e-94 < y5 < 7.59999999999999995e80Initial program 35.8%
Taylor expanded in b around inf 41.2%
Taylor expanded in a around inf 37.4%
if 1.45999999999999997e-272 < y5 < 9.1999999999999997e-94Initial program 35.5%
Taylor expanded in b around 0 24.8%
Taylor expanded in y0 around inf 36.4%
Taylor expanded in x around inf 33.9%
if 7.59999999999999995e80 < y5 Initial program 14.9%
Taylor expanded in y3 around -inf 40.1%
Taylor expanded in y5 around -inf 48.8%
mul-1-neg48.8%
Simplified48.8%
Taylor expanded in j around inf 53.1%
*-commutative53.1%
Simplified53.1%
Final simplification39.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* b (- (* x y) (* z t))))))
(if (<= y5 -1.25e+33)
(* a (* y (- (* x b) (* y3 y5))))
(if (<= y5 1.12e-274)
t_1
(if (<= y5 8.6e-94)
(* c (* x (* y0 y2)))
(if (<= y5 6.8e+80) t_1 (* y3 (* j (* y0 y5)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (y5 <= -1.25e+33) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y5 <= 1.12e-274) {
tmp = t_1;
} else if (y5 <= 8.6e-94) {
tmp = c * (x * (y0 * y2));
} else if (y5 <= 6.8e+80) {
tmp = t_1;
} else {
tmp = y3 * (j * (y0 * y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (b * ((x * y) - (z * t)))
if (y5 <= (-1.25d+33)) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else if (y5 <= 1.12d-274) then
tmp = t_1
else if (y5 <= 8.6d-94) then
tmp = c * (x * (y0 * y2))
else if (y5 <= 6.8d+80) then
tmp = t_1
else
tmp = y3 * (j * (y0 * y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (b * ((x * y) - (z * t)));
double tmp;
if (y5 <= -1.25e+33) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else if (y5 <= 1.12e-274) {
tmp = t_1;
} else if (y5 <= 8.6e-94) {
tmp = c * (x * (y0 * y2));
} else if (y5 <= 6.8e+80) {
tmp = t_1;
} else {
tmp = y3 * (j * (y0 * y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (b * ((x * y) - (z * t))) tmp = 0 if y5 <= -1.25e+33: tmp = a * (y * ((x * b) - (y3 * y5))) elif y5 <= 1.12e-274: tmp = t_1 elif y5 <= 8.6e-94: tmp = c * (x * (y0 * y2)) elif y5 <= 6.8e+80: tmp = t_1 else: tmp = y3 * (j * (y0 * y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (y5 <= -1.25e+33) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (y5 <= 1.12e-274) tmp = t_1; elseif (y5 <= 8.6e-94) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y5 <= 6.8e+80) tmp = t_1; else tmp = Float64(y3 * Float64(j * Float64(y0 * y5))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (b * ((x * y) - (z * t))); tmp = 0.0; if (y5 <= -1.25e+33) tmp = a * (y * ((x * b) - (y3 * y5))); elseif (y5 <= 1.12e-274) tmp = t_1; elseif (y5 <= 8.6e-94) tmp = c * (x * (y0 * y2)); elseif (y5 <= 6.8e+80) tmp = t_1; else tmp = y3 * (j * (y0 * 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[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.25e+33], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.12e-274], t$95$1, If[LessEqual[y5, 8.6e-94], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 6.8e+80], t$95$1, N[(y3 * N[(j * N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;y5 \leq -1.25 \cdot 10^{+33}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq 1.12 \cdot 10^{-274}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq 8.6 \cdot 10^{-94}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y5 \leq 6.8 \cdot 10^{+80}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(j \cdot \left(y0 \cdot y5\right)\right)\\
\end{array}
\end{array}
if y5 < -1.24999999999999993e33Initial program 37.3%
Taylor expanded in y around inf 46.9%
Taylor expanded in a around inf 47.0%
if -1.24999999999999993e33 < y5 < 1.11999999999999998e-274 or 8.5999999999999997e-94 < y5 < 6.79999999999999984e80Initial program 36.3%
Taylor expanded in b around inf 41.2%
Taylor expanded in a around inf 37.1%
if 1.11999999999999998e-274 < y5 < 8.5999999999999997e-94Initial program 34.6%
Taylor expanded in b around 0 24.2%
Taylor expanded in y0 around inf 35.4%
Taylor expanded in x around inf 33.0%
if 6.79999999999999984e80 < y5 Initial program 14.9%
Taylor expanded in y3 around -inf 40.1%
Taylor expanded in y5 around -inf 48.8%
mul-1-neg48.8%
Simplified48.8%
Taylor expanded in j around inf 53.1%
*-commutative53.1%
Simplified53.1%
Final simplification41.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y (- (* x b) (* y3 y5)))))
(t_2 (* b (* j (- (* t y4) (* x y0))))))
(if (<= t -1.02e-75)
t_2
(if (<= t 2.6e-306)
t_1
(if (<= t 7e-166)
(* j (* y0 (* y3 y5)))
(if (<= t 6.2e+61) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y * ((x * b) - (y3 * y5)));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -1.02e-75) {
tmp = t_2;
} else if (t <= 2.6e-306) {
tmp = t_1;
} else if (t <= 7e-166) {
tmp = j * (y0 * (y3 * y5));
} else if (t <= 6.2e+61) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * (y * ((x * b) - (y3 * y5)))
t_2 = b * (j * ((t * y4) - (x * y0)))
if (t <= (-1.02d-75)) then
tmp = t_2
else if (t <= 2.6d-306) then
tmp = t_1
else if (t <= 7d-166) then
tmp = j * (y0 * (y3 * y5))
else if (t <= 6.2d+61) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y * ((x * b) - (y3 * y5)));
double t_2 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (t <= -1.02e-75) {
tmp = t_2;
} else if (t <= 2.6e-306) {
tmp = t_1;
} else if (t <= 7e-166) {
tmp = j * (y0 * (y3 * y5));
} else if (t <= 6.2e+61) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y * ((x * b) - (y3 * y5))) t_2 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if t <= -1.02e-75: tmp = t_2 elif t <= 2.6e-306: tmp = t_1 elif t <= 7e-166: tmp = j * (y0 * (y3 * y5)) elif t <= 6.2e+61: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))) t_2 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (t <= -1.02e-75) tmp = t_2; elseif (t <= 2.6e-306) tmp = t_1; elseif (t <= 7e-166) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (t <= 6.2e+61) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y * ((x * b) - (y3 * y5))); t_2 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (t <= -1.02e-75) tmp = t_2; elseif (t <= 2.6e-306) tmp = t_1; elseif (t <= 7e-166) tmp = j * (y0 * (y3 * y5)); elseif (t <= 6.2e+61) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.02e-75], t$95$2, If[LessEqual[t, 2.6e-306], t$95$1, If[LessEqual[t, 7e-166], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 6.2e+61], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
t_2 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;t \leq -1.02 \cdot 10^{-75}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t \leq 2.6 \cdot 10^{-306}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 7 \cdot 10^{-166}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 6.2 \cdot 10^{+61}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if t < -1.01999999999999997e-75 or 6.1999999999999998e61 < t Initial program 29.3%
Taylor expanded in b around inf 35.3%
Taylor expanded in j around inf 50.9%
if -1.01999999999999997e-75 < t < 2.6e-306 or 6.9999999999999998e-166 < t < 6.1999999999999998e61Initial program 34.7%
Taylor expanded in y around inf 46.4%
Taylor expanded in a around inf 41.8%
if 2.6e-306 < t < 6.9999999999999998e-166Initial program 36.0%
Taylor expanded in b around 0 32.6%
Taylor expanded in y0 around inf 46.9%
Taylor expanded in j around inf 47.2%
Final simplification46.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y (* y3 y4)))) (t_2 (* a (* y (* x b)))))
(if (<= y4 -1.06e+97)
t_1
(if (<= y4 -7.6e-133)
t_2
(if (<= y4 9.2e-127)
(* j (* y0 (* y3 y5)))
(if (<= y4 4.4e+169) t_2 t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y * (y3 * y4));
double t_2 = a * (y * (x * b));
double tmp;
if (y4 <= -1.06e+97) {
tmp = t_1;
} else if (y4 <= -7.6e-133) {
tmp = t_2;
} else if (y4 <= 9.2e-127) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 4.4e+169) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = c * (y * (y3 * y4))
t_2 = a * (y * (x * b))
if (y4 <= (-1.06d+97)) then
tmp = t_1
else if (y4 <= (-7.6d-133)) then
tmp = t_2
else if (y4 <= 9.2d-127) then
tmp = j * (y0 * (y3 * y5))
else if (y4 <= 4.4d+169) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y * (y3 * y4));
double t_2 = a * (y * (x * b));
double tmp;
if (y4 <= -1.06e+97) {
tmp = t_1;
} else if (y4 <= -7.6e-133) {
tmp = t_2;
} else if (y4 <= 9.2e-127) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 4.4e+169) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y * (y3 * y4)) t_2 = a * (y * (x * b)) tmp = 0 if y4 <= -1.06e+97: tmp = t_1 elif y4 <= -7.6e-133: tmp = t_2 elif y4 <= 9.2e-127: tmp = j * (y0 * (y3 * y5)) elif y4 <= 4.4e+169: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y * Float64(y3 * y4))) t_2 = Float64(a * Float64(y * Float64(x * b))) tmp = 0.0 if (y4 <= -1.06e+97) tmp = t_1; elseif (y4 <= -7.6e-133) tmp = t_2; elseif (y4 <= 9.2e-127) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (y4 <= 4.4e+169) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y * (y3 * y4)); t_2 = a * (y * (x * b)); tmp = 0.0; if (y4 <= -1.06e+97) tmp = t_1; elseif (y4 <= -7.6e-133) tmp = t_2; elseif (y4 <= 9.2e-127) tmp = j * (y0 * (y3 * y5)); elseif (y4 <= 4.4e+169) tmp = t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1.06e+97], t$95$1, If[LessEqual[y4, -7.6e-133], t$95$2, If[LessEqual[y4, 9.2e-127], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 4.4e+169], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
t_2 := a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\mathbf{if}\;y4 \leq -1.06 \cdot 10^{+97}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq -7.6 \cdot 10^{-133}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq 9.2 \cdot 10^{-127}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 4.4 \cdot 10^{+169}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y4 < -1.05999999999999994e97 or 4.4e169 < y4 Initial program 27.2%
Taylor expanded in y around inf 36.2%
Taylor expanded in c around -inf 41.9%
mul-1-neg41.9%
Simplified41.9%
Taylor expanded in i around 0 37.2%
if -1.05999999999999994e97 < y4 < -7.6000000000000006e-133 or 9.20000000000000075e-127 < y4 < 4.4e169Initial program 34.8%
Taylor expanded in b around inf 40.7%
Taylor expanded in a around inf 30.1%
Taylor expanded in x around inf 30.4%
associate-*r*33.9%
Simplified33.9%
if -7.6000000000000006e-133 < y4 < 9.20000000000000075e-127Initial program 33.9%
Taylor expanded in b around 0 35.6%
Taylor expanded in y0 around inf 39.3%
Taylor expanded in j around inf 29.1%
Final simplification33.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y (* y3 (* c y4)))) (t_2 (* a (* y (* x b)))))
(if (<= y4 -4.8e+90)
t_1
(if (<= y4 -4.5e-134)
t_2
(if (<= y4 3.9e-125)
(* j (* y0 (* y3 y5)))
(if (<= y4 6.7e+187) t_2 t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * (y3 * (c * y4));
double t_2 = a * (y * (x * b));
double tmp;
if (y4 <= -4.8e+90) {
tmp = t_1;
} else if (y4 <= -4.5e-134) {
tmp = t_2;
} else if (y4 <= 3.9e-125) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 6.7e+187) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = y * (y3 * (c * y4))
t_2 = a * (y * (x * b))
if (y4 <= (-4.8d+90)) then
tmp = t_1
else if (y4 <= (-4.5d-134)) then
tmp = t_2
else if (y4 <= 3.9d-125) then
tmp = j * (y0 * (y3 * y5))
else if (y4 <= 6.7d+187) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * (y3 * (c * y4));
double t_2 = a * (y * (x * b));
double tmp;
if (y4 <= -4.8e+90) {
tmp = t_1;
} else if (y4 <= -4.5e-134) {
tmp = t_2;
} else if (y4 <= 3.9e-125) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 6.7e+187) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y * (y3 * (c * y4)) t_2 = a * (y * (x * b)) tmp = 0 if y4 <= -4.8e+90: tmp = t_1 elif y4 <= -4.5e-134: tmp = t_2 elif y4 <= 3.9e-125: tmp = j * (y0 * (y3 * y5)) elif y4 <= 6.7e+187: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y * Float64(y3 * Float64(c * y4))) t_2 = Float64(a * Float64(y * Float64(x * b))) tmp = 0.0 if (y4 <= -4.8e+90) tmp = t_1; elseif (y4 <= -4.5e-134) tmp = t_2; elseif (y4 <= 3.9e-125) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (y4 <= 6.7e+187) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y * (y3 * (c * y4)); t_2 = a * (y * (x * b)); tmp = 0.0; if (y4 <= -4.8e+90) tmp = t_1; elseif (y4 <= -4.5e-134) tmp = t_2; elseif (y4 <= 3.9e-125) tmp = j * (y0 * (y3 * y5)); elseif (y4 <= 6.7e+187) tmp = t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(y3 * N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -4.8e+90], t$95$1, If[LessEqual[y4, -4.5e-134], t$95$2, If[LessEqual[y4, 3.9e-125], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 6.7e+187], t$95$2, t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\
t_2 := a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\mathbf{if}\;y4 \leq -4.8 \cdot 10^{+90}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq -4.5 \cdot 10^{-134}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq 3.9 \cdot 10^{-125}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 6.7 \cdot 10^{+187}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y4 < -4.8000000000000002e90 or 6.7000000000000001e187 < y4 Initial program 27.6%
Taylor expanded in y around inf 38.0%
Taylor expanded in y3 around inf 41.3%
Taylor expanded in c around inf 36.4%
if -4.8000000000000002e90 < y4 < -4.5000000000000005e-134 or 3.89999999999999982e-125 < y4 < 6.7000000000000001e187Initial program 34.5%
Taylor expanded in b around inf 39.4%
Taylor expanded in a around inf 30.7%
Taylor expanded in x around inf 31.0%
associate-*r*34.5%
Simplified34.5%
if -4.5000000000000005e-134 < y4 < 3.89999999999999982e-125Initial program 33.9%
Taylor expanded in b around 0 35.6%
Taylor expanded in y0 around inf 39.3%
Taylor expanded in j around inf 29.1%
Final simplification33.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y (* x b)))))
(if (<= y4 -6.4e+90)
(* y (* y3 (* c y4)))
(if (<= y4 -7.8e-135)
t_1
(if (<= y4 1.4e-124)
(* j (* y0 (* y3 y5)))
(if (<= y4 5.2e+188) t_1 (* (* y3 y4) (* y c))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y * (x * b));
double tmp;
if (y4 <= -6.4e+90) {
tmp = y * (y3 * (c * y4));
} else if (y4 <= -7.8e-135) {
tmp = t_1;
} else if (y4 <= 1.4e-124) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 5.2e+188) {
tmp = t_1;
} else {
tmp = (y3 * y4) * (y * c);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * (y * (x * b))
if (y4 <= (-6.4d+90)) then
tmp = y * (y3 * (c * y4))
else if (y4 <= (-7.8d-135)) then
tmp = t_1
else if (y4 <= 1.4d-124) then
tmp = j * (y0 * (y3 * y5))
else if (y4 <= 5.2d+188) then
tmp = t_1
else
tmp = (y3 * y4) * (y * c)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y * (x * b));
double tmp;
if (y4 <= -6.4e+90) {
tmp = y * (y3 * (c * y4));
} else if (y4 <= -7.8e-135) {
tmp = t_1;
} else if (y4 <= 1.4e-124) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 5.2e+188) {
tmp = t_1;
} else {
tmp = (y3 * y4) * (y * c);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y * (x * b)) tmp = 0 if y4 <= -6.4e+90: tmp = y * (y3 * (c * y4)) elif y4 <= -7.8e-135: tmp = t_1 elif y4 <= 1.4e-124: tmp = j * (y0 * (y3 * y5)) elif y4 <= 5.2e+188: tmp = t_1 else: tmp = (y3 * y4) * (y * c) 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(y * Float64(x * b))) tmp = 0.0 if (y4 <= -6.4e+90) tmp = Float64(y * Float64(y3 * Float64(c * y4))); elseif (y4 <= -7.8e-135) tmp = t_1; elseif (y4 <= 1.4e-124) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (y4 <= 5.2e+188) tmp = t_1; else tmp = Float64(Float64(y3 * y4) * Float64(y * c)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y * (x * b)); tmp = 0.0; if (y4 <= -6.4e+90) tmp = y * (y3 * (c * y4)); elseif (y4 <= -7.8e-135) tmp = t_1; elseif (y4 <= 1.4e-124) tmp = j * (y0 * (y3 * y5)); elseif (y4 <= 5.2e+188) tmp = t_1; else tmp = (y3 * y4) * (y * c); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -6.4e+90], N[(y * N[(y3 * N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, -7.8e-135], t$95$1, If[LessEqual[y4, 1.4e-124], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 5.2e+188], t$95$1, N[(N[(y3 * y4), $MachinePrecision] * N[(y * c), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\mathbf{if}\;y4 \leq -6.4 \cdot 10^{+90}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4\right)\right)\\
\mathbf{elif}\;y4 \leq -7.8 \cdot 10^{-135}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y4 \leq 1.4 \cdot 10^{-124}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 5.2 \cdot 10^{+188}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(y3 \cdot y4\right) \cdot \left(y \cdot c\right)\\
\end{array}
\end{array}
if y4 < -6.39999999999999997e90Initial program 24.0%
Taylor expanded in y around inf 43.6%
Taylor expanded in y3 around inf 44.3%
Taylor expanded in c around inf 38.7%
if -6.39999999999999997e90 < y4 < -7.80000000000000043e-135 or 1.39999999999999999e-124 < y4 < 5.19999999999999975e188Initial program 34.5%
Taylor expanded in b around inf 39.4%
Taylor expanded in a around inf 30.7%
Taylor expanded in x around inf 31.0%
associate-*r*34.5%
Simplified34.5%
if -7.80000000000000043e-135 < y4 < 1.39999999999999999e-124Initial program 33.9%
Taylor expanded in b around 0 35.6%
Taylor expanded in y0 around inf 39.3%
Taylor expanded in j around inf 29.1%
if 5.19999999999999975e188 < y4 Initial program 34.6%
Taylor expanded in y around inf 26.9%
Taylor expanded in y3 around inf 35.3%
Taylor expanded in c around inf 31.8%
associate-*r*35.4%
Simplified35.4%
Final simplification34.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= k 7.2e-128)
(* a (* y (* x b)))
(if (<= k 1.1e-74)
(* y0 (* j (* y3 y5)))
(if (<= k 9e+51) (* y (* y3 (* a (- y5)))) (* y0 (* k (* y2 (- y5))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (k <= 7.2e-128) {
tmp = a * (y * (x * b));
} else if (k <= 1.1e-74) {
tmp = y0 * (j * (y3 * y5));
} else if (k <= 9e+51) {
tmp = y * (y3 * (a * -y5));
} else {
tmp = y0 * (k * (y2 * -y5));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (k <= 7.2d-128) then
tmp = a * (y * (x * b))
else if (k <= 1.1d-74) then
tmp = y0 * (j * (y3 * y5))
else if (k <= 9d+51) then
tmp = y * (y3 * (a * -y5))
else
tmp = y0 * (k * (y2 * -y5))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (k <= 7.2e-128) {
tmp = a * (y * (x * b));
} else if (k <= 1.1e-74) {
tmp = y0 * (j * (y3 * y5));
} else if (k <= 9e+51) {
tmp = y * (y3 * (a * -y5));
} else {
tmp = y0 * (k * (y2 * -y5));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if k <= 7.2e-128: tmp = a * (y * (x * b)) elif k <= 1.1e-74: tmp = y0 * (j * (y3 * y5)) elif k <= 9e+51: tmp = y * (y3 * (a * -y5)) else: tmp = y0 * (k * (y2 * -y5)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (k <= 7.2e-128) tmp = Float64(a * Float64(y * Float64(x * b))); elseif (k <= 1.1e-74) tmp = Float64(y0 * Float64(j * Float64(y3 * y5))); elseif (k <= 9e+51) tmp = Float64(y * Float64(y3 * Float64(a * Float64(-y5)))); else tmp = Float64(y0 * Float64(k * Float64(y2 * Float64(-y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (k <= 7.2e-128) tmp = a * (y * (x * b)); elseif (k <= 1.1e-74) tmp = y0 * (j * (y3 * y5)); elseif (k <= 9e+51) tmp = y * (y3 * (a * -y5)); else tmp = y0 * (k * (y2 * -y5)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[k, 7.2e-128], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 1.1e-74], N[(y0 * N[(j * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 9e+51], N[(y * N[(y3 * N[(a * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(k * N[(y2 * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;k \leq 7.2 \cdot 10^{-128}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\mathbf{elif}\;k \leq 1.1 \cdot 10^{-74}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;k \leq 9 \cdot 10^{+51}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(a \cdot \left(-y5\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(k \cdot \left(y2 \cdot \left(-y5\right)\right)\right)\\
\end{array}
\end{array}
if k < 7.20000000000000049e-128Initial program 30.7%
Taylor expanded in b around inf 36.1%
Taylor expanded in a around inf 35.3%
Taylor expanded in x around inf 25.9%
associate-*r*28.3%
Simplified28.3%
if 7.20000000000000049e-128 < k < 1.10000000000000005e-74Initial program 46.2%
Taylor expanded in b around 0 38.5%
Taylor expanded in y0 around inf 69.4%
Taylor expanded in j around inf 54.8%
if 1.10000000000000005e-74 < k < 8.9999999999999999e51Initial program 47.9%
Taylor expanded in y around inf 42.5%
Taylor expanded in y3 around inf 48.1%
Taylor expanded in c around 0 43.3%
mul-1-neg43.3%
*-commutative43.3%
distribute-lft-neg-in43.3%
Simplified43.3%
if 8.9999999999999999e51 < k Initial program 28.8%
Taylor expanded in b around 0 28.8%
Taylor expanded in y0 around inf 45.9%
Taylor expanded in k around inf 33.3%
mul-1-neg33.3%
distribute-rgt-neg-in33.3%
distribute-rgt-neg-in33.3%
Simplified33.3%
Final simplification32.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y2 -9.8e+26) (* c (* x (* y0 y2))) (if (<= y2 -1.8e-142) (* c (* y (* y3 y4))) (* a (* y (* x b))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -9.8e+26) {
tmp = c * (x * (y0 * y2));
} else if (y2 <= -1.8e-142) {
tmp = c * (y * (y3 * y4));
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-9.8d+26)) then
tmp = c * (x * (y0 * y2))
else if (y2 <= (-1.8d-142)) then
tmp = c * (y * (y3 * y4))
else
tmp = a * (y * (x * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -9.8e+26) {
tmp = c * (x * (y0 * y2));
} else if (y2 <= -1.8e-142) {
tmp = c * (y * (y3 * y4));
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -9.8e+26: tmp = c * (x * (y0 * y2)) elif y2 <= -1.8e-142: tmp = c * (y * (y3 * y4)) else: tmp = a * (y * (x * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -9.8e+26) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y2 <= -1.8e-142) tmp = Float64(c * Float64(y * Float64(y3 * y4))); else tmp = Float64(a * Float64(y * Float64(x * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -9.8e+26) tmp = c * (x * (y0 * y2)); elseif (y2 <= -1.8e-142) tmp = c * (y * (y3 * y4)); else tmp = a * (y * (x * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -9.8e+26], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.8e-142], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -9.8 \cdot 10^{+26}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq -1.8 \cdot 10^{-142}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\end{array}
\end{array}
if y2 < -9.79999999999999947e26Initial program 28.9%
Taylor expanded in b around 0 32.8%
Taylor expanded in y0 around inf 48.9%
Taylor expanded in x around inf 35.6%
if -9.79999999999999947e26 < y2 < -1.8e-142Initial program 30.1%
Taylor expanded in y around inf 38.5%
Taylor expanded in c around -inf 33.4%
mul-1-neg33.4%
Simplified33.4%
Taylor expanded in i around 0 21.9%
if -1.8e-142 < y2 Initial program 33.8%
Taylor expanded in b around inf 39.2%
Taylor expanded in a around inf 36.4%
Taylor expanded in x around inf 27.5%
associate-*r*28.7%
Simplified28.7%
Final simplification29.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (<= y2 -1.15e+73) (* c (* x (* y0 y2))) (* a (* y (* x b)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.15e+73) {
tmp = c * (x * (y0 * y2));
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-1.15d+73)) then
tmp = c * (x * (y0 * y2))
else
tmp = a * (y * (x * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.15e+73) {
tmp = c * (x * (y0 * y2));
} else {
tmp = a * (y * (x * b));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -1.15e+73: tmp = c * (x * (y0 * y2)) else: tmp = a * (y * (x * b)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y2 <= -1.15e+73) tmp = Float64(c * Float64(x * Float64(y0 * y2))); else tmp = Float64(a * Float64(y * Float64(x * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -1.15e+73) tmp = c * (x * (y0 * y2)); else tmp = a * (y * (x * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y2, -1.15e+73], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -1.15 \cdot 10^{+73}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b\right)\right)\\
\end{array}
\end{array}
if y2 < -1.15e73Initial program 26.2%
Taylor expanded in b around 0 28.5%
Taylor expanded in y0 around inf 46.5%
Taylor expanded in x around inf 35.7%
if -1.15e73 < y2 Initial program 33.6%
Taylor expanded in b around inf 38.4%
Taylor expanded in a around inf 31.6%
Taylor expanded in x around inf 23.6%
associate-*r*25.5%
Simplified25.5%
Final simplification27.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* (* x y) b)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * ((x * y) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * ((x * y) * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(Float64(x * y) * b)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * ((x * y) * b); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Initial program 32.3%
Taylor expanded in b around inf 36.2%
Taylor expanded in a around inf 28.8%
Taylor expanded in x around inf 21.6%
*-commutative21.6%
Simplified21.6%
Final simplification21.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* y (* x b))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y * (x * b));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * (y * (x * b))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y * (x * b));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (y * (x * b))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(y * Float64(x * b))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (y * (x * b)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(y * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(y \cdot \left(x \cdot b\right)\right)
\end{array}
Initial program 32.3%
Taylor expanded in b around inf 36.2%
Taylor expanded in a around inf 28.8%
Taylor expanded in x around inf 21.6%
associate-*r*23.5%
Simplified23.5%
Final simplification23.5%
(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 2024089
(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)))))