
(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 47 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(+
(-
(+
(+
(-
(* (- (* x y) (* z t)) (- (* a b) (* c i)))
(* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
(* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
(* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
(* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
(* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y2 (- (* c y0) (* a y1))))
(t_2 (- (* z t) (* x y)))
(t_3 (- (* k y2) (* j y3)))
(t_4 (- (* x y2) (* z y3)))
(t_5 (- (* x j) (* z k)))
(t_6 (- (* a y5) (* c y4)))
(t_7 (* c (+ (* i t_2) (+ (* y0 t_4) (* y4 (- (* y y3) (* t y2)))))))
(t_8 (- (* j y3) (* k y2)))
(t_9 (* y0 (+ (* c t_4) (- (* y5 t_8) (* b t_5)))))
(t_10
(+
(* (* i y5) (- (* y k) (* t j)))
(- (* (- (* t y2) (* y y3)) t_6) (* (- (* y1 y4) (* y0 y5)) t_8)))))
(if (<= y1 -4.2e+204)
(* y4 (* y1 t_3))
(if (<= y1 -2.7e+88)
(* j (* i (- (* x y1) (* t y5))))
(if (<= y1 -15500000000.0)
t_7
(if (<= y1 -1.02e-54)
(* z (* b (- (* k y0) (* t a))))
(if (<= y1 -2e-71)
t_10
(if (<= y1 -4.6e-102)
(*
t
(+
(* z (- (* c i) (* a b)))
(+ (* j (- (* b y4) (* i y5))) (* y2 t_6))))
(if (<= y1 -1.36e-160)
(* (* c i) t_2)
(if (<= y1 -6e-215)
t_10
(if (<= y1 -5.2e-269)
t_9
(if (<= y1 2.1e-175)
t_7
(if (<= y1 1.9e-79)
t_9
(if (<= y1 1.25e+29)
t_7
(if (<= y1 1.5e+159)
(*
x
(+
(+ (* y (- (* a b) (* c i))) t_1)
(* j (- (* i y1) (* b y0)))))
(if (<= y1 1.1e+187)
(* x t_1)
(if (<= y1 6.8e+191)
(* j (* y5 (- (* y0 y3) (* t i))))
(*
y1
(+
(* y4 t_3)
(+
(* i t_5)
(*
a
(- (* z y3) (* x y2)))))))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * ((c * y0) - (a * y1));
double t_2 = (z * t) - (x * y);
double t_3 = (k * y2) - (j * y3);
double t_4 = (x * y2) - (z * y3);
double t_5 = (x * j) - (z * k);
double t_6 = (a * y5) - (c * y4);
double t_7 = c * ((i * t_2) + ((y0 * t_4) + (y4 * ((y * y3) - (t * y2)))));
double t_8 = (j * y3) - (k * y2);
double t_9 = y0 * ((c * t_4) + ((y5 * t_8) - (b * t_5)));
double t_10 = ((i * y5) * ((y * k) - (t * j))) + ((((t * y2) - (y * y3)) * t_6) - (((y1 * y4) - (y0 * y5)) * t_8));
double tmp;
if (y1 <= -4.2e+204) {
tmp = y4 * (y1 * t_3);
} else if (y1 <= -2.7e+88) {
tmp = j * (i * ((x * y1) - (t * y5)));
} else if (y1 <= -15500000000.0) {
tmp = t_7;
} else if (y1 <= -1.02e-54) {
tmp = z * (b * ((k * y0) - (t * a)));
} else if (y1 <= -2e-71) {
tmp = t_10;
} else if (y1 <= -4.6e-102) {
tmp = t * ((z * ((c * i) - (a * b))) + ((j * ((b * y4) - (i * y5))) + (y2 * t_6)));
} else if (y1 <= -1.36e-160) {
tmp = (c * i) * t_2;
} else if (y1 <= -6e-215) {
tmp = t_10;
} else if (y1 <= -5.2e-269) {
tmp = t_9;
} else if (y1 <= 2.1e-175) {
tmp = t_7;
} else if (y1 <= 1.9e-79) {
tmp = t_9;
} else if (y1 <= 1.25e+29) {
tmp = t_7;
} else if (y1 <= 1.5e+159) {
tmp = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0))));
} else if (y1 <= 1.1e+187) {
tmp = x * t_1;
} else if (y1 <= 6.8e+191) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else {
tmp = y1 * ((y4 * t_3) + ((i * t_5) + (a * ((z * y3) - (x * y2)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = y2 * ((c * y0) - (a * y1))
t_2 = (z * t) - (x * y)
t_3 = (k * y2) - (j * y3)
t_4 = (x * y2) - (z * y3)
t_5 = (x * j) - (z * k)
t_6 = (a * y5) - (c * y4)
t_7 = c * ((i * t_2) + ((y0 * t_4) + (y4 * ((y * y3) - (t * y2)))))
t_8 = (j * y3) - (k * y2)
t_9 = y0 * ((c * t_4) + ((y5 * t_8) - (b * t_5)))
t_10 = ((i * y5) * ((y * k) - (t * j))) + ((((t * y2) - (y * y3)) * t_6) - (((y1 * y4) - (y0 * y5)) * t_8))
if (y1 <= (-4.2d+204)) then
tmp = y4 * (y1 * t_3)
else if (y1 <= (-2.7d+88)) then
tmp = j * (i * ((x * y1) - (t * y5)))
else if (y1 <= (-15500000000.0d0)) then
tmp = t_7
else if (y1 <= (-1.02d-54)) then
tmp = z * (b * ((k * y0) - (t * a)))
else if (y1 <= (-2d-71)) then
tmp = t_10
else if (y1 <= (-4.6d-102)) then
tmp = t * ((z * ((c * i) - (a * b))) + ((j * ((b * y4) - (i * y5))) + (y2 * t_6)))
else if (y1 <= (-1.36d-160)) then
tmp = (c * i) * t_2
else if (y1 <= (-6d-215)) then
tmp = t_10
else if (y1 <= (-5.2d-269)) then
tmp = t_9
else if (y1 <= 2.1d-175) then
tmp = t_7
else if (y1 <= 1.9d-79) then
tmp = t_9
else if (y1 <= 1.25d+29) then
tmp = t_7
else if (y1 <= 1.5d+159) then
tmp = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0))))
else if (y1 <= 1.1d+187) then
tmp = x * t_1
else if (y1 <= 6.8d+191) then
tmp = j * (y5 * ((y0 * y3) - (t * i)))
else
tmp = y1 * ((y4 * t_3) + ((i * t_5) + (a * ((z * y3) - (x * y2)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * ((c * y0) - (a * y1));
double t_2 = (z * t) - (x * y);
double t_3 = (k * y2) - (j * y3);
double t_4 = (x * y2) - (z * y3);
double t_5 = (x * j) - (z * k);
double t_6 = (a * y5) - (c * y4);
double t_7 = c * ((i * t_2) + ((y0 * t_4) + (y4 * ((y * y3) - (t * y2)))));
double t_8 = (j * y3) - (k * y2);
double t_9 = y0 * ((c * t_4) + ((y5 * t_8) - (b * t_5)));
double t_10 = ((i * y5) * ((y * k) - (t * j))) + ((((t * y2) - (y * y3)) * t_6) - (((y1 * y4) - (y0 * y5)) * t_8));
double tmp;
if (y1 <= -4.2e+204) {
tmp = y4 * (y1 * t_3);
} else if (y1 <= -2.7e+88) {
tmp = j * (i * ((x * y1) - (t * y5)));
} else if (y1 <= -15500000000.0) {
tmp = t_7;
} else if (y1 <= -1.02e-54) {
tmp = z * (b * ((k * y0) - (t * a)));
} else if (y1 <= -2e-71) {
tmp = t_10;
} else if (y1 <= -4.6e-102) {
tmp = t * ((z * ((c * i) - (a * b))) + ((j * ((b * y4) - (i * y5))) + (y2 * t_6)));
} else if (y1 <= -1.36e-160) {
tmp = (c * i) * t_2;
} else if (y1 <= -6e-215) {
tmp = t_10;
} else if (y1 <= -5.2e-269) {
tmp = t_9;
} else if (y1 <= 2.1e-175) {
tmp = t_7;
} else if (y1 <= 1.9e-79) {
tmp = t_9;
} else if (y1 <= 1.25e+29) {
tmp = t_7;
} else if (y1 <= 1.5e+159) {
tmp = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0))));
} else if (y1 <= 1.1e+187) {
tmp = x * t_1;
} else if (y1 <= 6.8e+191) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else {
tmp = y1 * ((y4 * t_3) + ((i * t_5) + (a * ((z * y3) - (x * y2)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y2 * ((c * y0) - (a * y1)) t_2 = (z * t) - (x * y) t_3 = (k * y2) - (j * y3) t_4 = (x * y2) - (z * y3) t_5 = (x * j) - (z * k) t_6 = (a * y5) - (c * y4) t_7 = c * ((i * t_2) + ((y0 * t_4) + (y4 * ((y * y3) - (t * y2))))) t_8 = (j * y3) - (k * y2) t_9 = y0 * ((c * t_4) + ((y5 * t_8) - (b * t_5))) t_10 = ((i * y5) * ((y * k) - (t * j))) + ((((t * y2) - (y * y3)) * t_6) - (((y1 * y4) - (y0 * y5)) * t_8)) tmp = 0 if y1 <= -4.2e+204: tmp = y4 * (y1 * t_3) elif y1 <= -2.7e+88: tmp = j * (i * ((x * y1) - (t * y5))) elif y1 <= -15500000000.0: tmp = t_7 elif y1 <= -1.02e-54: tmp = z * (b * ((k * y0) - (t * a))) elif y1 <= -2e-71: tmp = t_10 elif y1 <= -4.6e-102: tmp = t * ((z * ((c * i) - (a * b))) + ((j * ((b * y4) - (i * y5))) + (y2 * t_6))) elif y1 <= -1.36e-160: tmp = (c * i) * t_2 elif y1 <= -6e-215: tmp = t_10 elif y1 <= -5.2e-269: tmp = t_9 elif y1 <= 2.1e-175: tmp = t_7 elif y1 <= 1.9e-79: tmp = t_9 elif y1 <= 1.25e+29: tmp = t_7 elif y1 <= 1.5e+159: tmp = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0)))) elif y1 <= 1.1e+187: tmp = x * t_1 elif y1 <= 6.8e+191: tmp = j * (y5 * ((y0 * y3) - (t * i))) else: tmp = y1 * ((y4 * t_3) + ((i * t_5) + (a * ((z * y3) - (x * y2))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) t_2 = Float64(Float64(z * t) - Float64(x * y)) t_3 = Float64(Float64(k * y2) - Float64(j * y3)) t_4 = Float64(Float64(x * y2) - Float64(z * y3)) t_5 = Float64(Float64(x * j) - Float64(z * k)) t_6 = Float64(Float64(a * y5) - Float64(c * y4)) t_7 = Float64(c * Float64(Float64(i * t_2) + Float64(Float64(y0 * t_4) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))))) t_8 = Float64(Float64(j * y3) - Float64(k * y2)) t_9 = Float64(y0 * Float64(Float64(c * t_4) + Float64(Float64(y5 * t_8) - Float64(b * t_5)))) t_10 = Float64(Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))) + Float64(Float64(Float64(Float64(t * y2) - Float64(y * y3)) * t_6) - Float64(Float64(Float64(y1 * y4) - Float64(y0 * y5)) * t_8))) tmp = 0.0 if (y1 <= -4.2e+204) tmp = Float64(y4 * Float64(y1 * t_3)); elseif (y1 <= -2.7e+88) tmp = Float64(j * Float64(i * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (y1 <= -15500000000.0) tmp = t_7; elseif (y1 <= -1.02e-54) tmp = Float64(z * Float64(b * Float64(Float64(k * y0) - Float64(t * a)))); elseif (y1 <= -2e-71) tmp = t_10; elseif (y1 <= -4.6e-102) tmp = Float64(t * Float64(Float64(z * Float64(Float64(c * i) - Float64(a * b))) + Float64(Float64(j * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * t_6)))); elseif (y1 <= -1.36e-160) tmp = Float64(Float64(c * i) * t_2); elseif (y1 <= -6e-215) tmp = t_10; elseif (y1 <= -5.2e-269) tmp = t_9; elseif (y1 <= 2.1e-175) tmp = t_7; elseif (y1 <= 1.9e-79) tmp = t_9; elseif (y1 <= 1.25e+29) tmp = t_7; elseif (y1 <= 1.5e+159) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + t_1) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y1 <= 1.1e+187) tmp = Float64(x * t_1); elseif (y1 <= 6.8e+191) tmp = Float64(j * Float64(y5 * Float64(Float64(y0 * y3) - Float64(t * i)))); else tmp = Float64(y1 * Float64(Float64(y4 * t_3) + Float64(Float64(i * t_5) + Float64(a * Float64(Float64(z * y3) - Float64(x * y2)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y2 * ((c * y0) - (a * y1)); t_2 = (z * t) - (x * y); t_3 = (k * y2) - (j * y3); t_4 = (x * y2) - (z * y3); t_5 = (x * j) - (z * k); t_6 = (a * y5) - (c * y4); t_7 = c * ((i * t_2) + ((y0 * t_4) + (y4 * ((y * y3) - (t * y2))))); t_8 = (j * y3) - (k * y2); t_9 = y0 * ((c * t_4) + ((y5 * t_8) - (b * t_5))); t_10 = ((i * y5) * ((y * k) - (t * j))) + ((((t * y2) - (y * y3)) * t_6) - (((y1 * y4) - (y0 * y5)) * t_8)); tmp = 0.0; if (y1 <= -4.2e+204) tmp = y4 * (y1 * t_3); elseif (y1 <= -2.7e+88) tmp = j * (i * ((x * y1) - (t * y5))); elseif (y1 <= -15500000000.0) tmp = t_7; elseif (y1 <= -1.02e-54) tmp = z * (b * ((k * y0) - (t * a))); elseif (y1 <= -2e-71) tmp = t_10; elseif (y1 <= -4.6e-102) tmp = t * ((z * ((c * i) - (a * b))) + ((j * ((b * y4) - (i * y5))) + (y2 * t_6))); elseif (y1 <= -1.36e-160) tmp = (c * i) * t_2; elseif (y1 <= -6e-215) tmp = t_10; elseif (y1 <= -5.2e-269) tmp = t_9; elseif (y1 <= 2.1e-175) tmp = t_7; elseif (y1 <= 1.9e-79) tmp = t_9; elseif (y1 <= 1.25e+29) tmp = t_7; elseif (y1 <= 1.5e+159) tmp = x * (((y * ((a * b) - (c * i))) + t_1) + (j * ((i * y1) - (b * y0)))); elseif (y1 <= 1.1e+187) tmp = x * t_1; elseif (y1 <= 6.8e+191) tmp = j * (y5 * ((y0 * y3) - (t * i))); else tmp = y1 * ((y4 * t_3) + ((i * t_5) + (a * ((z * y3) - (x * y2))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(c * N[(N[(i * t$95$2), $MachinePrecision] + N[(N[(y0 * t$95$4), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(y0 * N[(N[(c * t$95$4), $MachinePrecision] + N[(N[(y5 * t$95$8), $MachinePrecision] - N[(b * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * t$95$6), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision] * t$95$8), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -4.2e+204], N[(y4 * N[(y1 * t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.7e+88], N[(j * N[(i * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -15500000000.0], t$95$7, If[LessEqual[y1, -1.02e-54], N[(z * N[(b * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2e-71], t$95$10, If[LessEqual[y1, -4.6e-102], N[(t * N[(N[(z * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.36e-160], N[(N[(c * i), $MachinePrecision] * t$95$2), $MachinePrecision], If[LessEqual[y1, -6e-215], t$95$10, If[LessEqual[y1, -5.2e-269], t$95$9, If[LessEqual[y1, 2.1e-175], t$95$7, If[LessEqual[y1, 1.9e-79], t$95$9, If[LessEqual[y1, 1.25e+29], t$95$7, If[LessEqual[y1, 1.5e+159], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.1e+187], N[(x * t$95$1), $MachinePrecision], If[LessEqual[y1, 6.8e+191], N[(j * N[(y5 * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(N[(y4 * t$95$3), $MachinePrecision] + N[(N[(i * t$95$5), $MachinePrecision] + N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\\
t_2 := z \cdot t - x \cdot y\\
t_3 := k \cdot y2 - j \cdot y3\\
t_4 := x \cdot y2 - z \cdot y3\\
t_5 := x \cdot j - z \cdot k\\
t_6 := a \cdot y5 - c \cdot y4\\
t_7 := c \cdot \left(i \cdot t_2 + \left(y0 \cdot t_4 + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\
t_8 := j \cdot y3 - k \cdot y2\\
t_9 := y0 \cdot \left(c \cdot t_4 + \left(y5 \cdot t_8 - b \cdot t_5\right)\right)\\
t_10 := \left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right) + \left(\left(t \cdot y2 - y \cdot y3\right) \cdot t_6 - \left(y1 \cdot y4 - y0 \cdot y5\right) \cdot t_8\right)\\
\mathbf{if}\;y1 \leq -4.2 \cdot 10^{+204}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot t_3\right)\\
\mathbf{elif}\;y1 \leq -2.7 \cdot 10^{+88}:\\
\;\;\;\;j \cdot \left(i \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq -15500000000:\\
\;\;\;\;t_7\\
\mathbf{elif}\;y1 \leq -1.02 \cdot 10^{-54}:\\
\;\;\;\;z \cdot \left(b \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;y1 \leq -2 \cdot 10^{-71}:\\
\;\;\;\;t_10\\
\mathbf{elif}\;y1 \leq -4.6 \cdot 10^{-102}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i - a \cdot b\right) + \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot t_6\right)\right)\\
\mathbf{elif}\;y1 \leq -1.36 \cdot 10^{-160}:\\
\;\;\;\;\left(c \cdot i\right) \cdot t_2\\
\mathbf{elif}\;y1 \leq -6 \cdot 10^{-215}:\\
\;\;\;\;t_10\\
\mathbf{elif}\;y1 \leq -5.2 \cdot 10^{-269}:\\
\;\;\;\;t_9\\
\mathbf{elif}\;y1 \leq 2.1 \cdot 10^{-175}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;y1 \leq 1.9 \cdot 10^{-79}:\\
\;\;\;\;t_9\\
\mathbf{elif}\;y1 \leq 1.25 \cdot 10^{+29}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;y1 \leq 1.5 \cdot 10^{+159}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + t_1\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 1.1 \cdot 10^{+187}:\\
\;\;\;\;x \cdot t_1\\
\mathbf{elif}\;y1 \leq 6.8 \cdot 10^{+191}:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot t_3 + \left(i \cdot t_5 + a \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\right)\\
\end{array}
\end{array}
if y1 < -4.2000000000000001e204Initial program 13.0%
Simplified13.0%
Taylor expanded in y4 around inf 44.0%
Taylor expanded in y1 around inf 61.1%
if -4.2000000000000001e204 < y1 < -2.70000000000000016e88Initial program 31.5%
Simplified31.5%
Taylor expanded in j around inf 52.0%
associate--l+52.0%
mul-1-neg52.0%
*-commutative52.0%
*-commutative52.0%
*-commutative52.0%
Simplified52.0%
Taylor expanded in i around -inf 73.1%
associate-*r*73.1%
neg-mul-173.1%
*-commutative73.1%
*-commutative73.1%
Simplified73.1%
Taylor expanded in i around 0 73.1%
mul-1-neg73.1%
*-commutative73.1%
*-commutative73.1%
*-commutative73.1%
distribute-rgt-neg-out73.1%
associate-*l*76.2%
Simplified76.2%
if -2.70000000000000016e88 < y1 < -1.55e10 or -5.2e-269 < y1 < 2.1e-175 or 1.9000000000000001e-79 < y1 < 1.25e29Initial program 37.1%
Simplified37.1%
Taylor expanded in c around inf 67.5%
associate--l+67.5%
*-commutative67.5%
mul-1-neg67.5%
*-commutative67.5%
*-commutative67.5%
Simplified67.5%
if -1.55e10 < y1 < -1.01999999999999999e-54Initial program 10.0%
Simplified10.0%
Taylor expanded in z around -inf 60.0%
Taylor expanded in b around inf 70.8%
if -1.01999999999999999e-54 < y1 < -1.9999999999999998e-71 or -1.35999999999999993e-160 < y1 < -6.00000000000000051e-215Initial program 45.9%
Simplified45.9%
Taylor expanded in y5 around inf 71.1%
mul-1-neg71.1%
Simplified71.1%
if -1.9999999999999998e-71 < y1 < -4.59999999999999973e-102Initial program 28.6%
Simplified28.6%
Taylor expanded in t around inf 86.2%
associate--l+86.2%
*-commutative86.2%
mul-1-neg86.2%
*-commutative86.2%
*-commutative86.2%
*-commutative86.2%
*-commutative86.2%
Simplified86.2%
if -4.59999999999999973e-102 < y1 < -1.35999999999999993e-160Initial program 40.0%
Simplified40.0%
Taylor expanded in c around inf 53.6%
associate--l+53.6%
*-commutative53.6%
mul-1-neg53.6%
*-commutative53.6%
*-commutative53.6%
Simplified53.6%
Taylor expanded in i around inf 61.1%
associate-*r*67.5%
*-commutative67.5%
*-commutative67.5%
Simplified67.5%
if -6.00000000000000051e-215 < y1 < -5.2e-269 or 2.1e-175 < y1 < 1.9000000000000001e-79Initial program 32.7%
Simplified35.2%
Taylor expanded in y0 around inf 73.2%
*-commutative73.2%
*-commutative73.2%
mul-1-neg73.2%
*-commutative73.2%
*-commutative73.2%
Simplified73.2%
if 1.25e29 < y1 < 1.5000000000000001e159Initial program 35.2%
Simplified35.2%
Taylor expanded in x around inf 70.8%
if 1.5000000000000001e159 < y1 < 1.0999999999999999e187Initial program 14.3%
Simplified14.3%
Taylor expanded in x around inf 28.6%
Taylor expanded in y2 around inf 86.3%
if 1.0999999999999999e187 < y1 < 6.80000000000000018e191Initial program 50.0%
Simplified50.0%
Taylor expanded in j around inf 100.0%
associate--l+100.0%
mul-1-neg100.0%
*-commutative100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y5 around inf 100.0%
*-commutative100.0%
cancel-sign-sub-inv100.0%
metadata-eval100.0%
*-lft-identity100.0%
+-commutative100.0%
mul-1-neg100.0%
sub-neg100.0%
Simplified100.0%
if 6.80000000000000018e191 < y1 Initial program 23.8%
Simplified23.8%
Taylor expanded in y1 around inf 71.5%
associate--l+71.5%
*-commutative71.5%
*-commutative71.5%
*-commutative71.5%
sub-neg71.5%
mul-1-neg71.5%
distribute-lft-out--71.5%
Simplified71.5%
Final simplification71.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* z k) (* x j)))
(t_2 (- (* x y2) (* z y3)))
(t_3
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) t_1))
(* t_2 (- (* c y0) (* a y1))))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_3 INFINITY)
t_3
(* y0 (+ (* y5 (- (* j y3) (* k y2))) (fma c t_2 (* b 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 = (z * k) - (x * j);
double t_2 = (x * y2) - (z * y3);
double t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * t_1)) + (t_2 * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= ((double) INFINITY)) {
tmp = t_3;
} else {
tmp = y0 * ((y5 * ((j * y3) - (k * y2))) + fma(c, t_2, (b * 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(z * k) - Float64(x * j)) t_2 = Float64(Float64(x * y2) - Float64(z * y3)) t_3 = 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)) * t_1)) + Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_3 <= Inf) tmp = t_3; else tmp = Float64(y0 * Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + fma(c, t_2, Float64(b * t_1)))); end return 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[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = 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] * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, Infinity], t$95$3, N[(y0 * N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$2 + N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot k - x \cdot j\\
t_2 := x \cdot y2 - z \cdot y3\\
t_3 := \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 t_1\right) + t_2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t_3 \leq \infty:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + \mathsf{fma}\left(c, t_2, b \cdot t_1\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 91.5%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
Simplified0.0%
Taylor expanded in y0 around inf 37.9%
associate--l+37.9%
mul-1-neg37.9%
*-commutative37.9%
*-commutative37.9%
fma-neg39.1%
*-commutative39.1%
*-commutative39.1%
mul-1-neg39.1%
associate-*r*39.1%
Simplified39.1%
Final simplification57.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* b y4) (* i y5)))
(t_2
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* z k) (* x j))))
(* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))))
(* t_1 (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) (- (* y1 y4) (* y0 y5))))))
(if (<= t_2 INFINITY)
t_2
(*
j
(+
(* y3 (- (* y0 y5) (* y1 y4)))
(+ (* t t_1) (* x (- (* i y1) (* b y0)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * y4) - (i * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * t_1) + (x * ((i * y1) - (b * y0)))));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (b * y4) - (i * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * t_1) + (x * ((i * y1) - (b * y0)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (b * y4) - (i * y5) t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * t_1) + (x * ((i * y1) - (b * y0))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(b * y4) - Float64(i * y5)) t_2 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(z * k) - Float64(x * j)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(t_1 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(j * Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(Float64(t * t_1) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (b * y4) - (i * y5); t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (t_1 * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * t_1) + (x * ((i * y1) - (b * y0))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, Infinity], t$95$2, N[(j * N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t * t$95$1), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot y4 - i \cdot y5\\
t_2 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) + \left(b \cdot y0 - i \cdot y1\right) \cdot \left(z \cdot k - x \cdot j\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t_1 \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t_2 \leq \infty:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + \left(t \cdot t_1 + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 91.5%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
Simplified0.0%
Taylor expanded in j around inf 39.1%
associate--l+39.1%
mul-1-neg39.1%
*-commutative39.1%
*-commutative39.1%
*-commutative39.1%
Simplified39.1%
Final simplification57.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* i y1) (* b y0)))
(t_2 (- (* y k) (* t j)))
(t_3 (- (* a b) (* c i)))
(t_4 (- (* t y2) (* y y3)))
(t_5 (- (* x j) (* z k)))
(t_6 (- (* x y) (* z t)))
(t_7 (- (* x y2) (* z y3)))
(t_8 (- (* j y3) (* k y2)))
(t_9 (- (* t_4 (- (* a y5) (* c y4))) (* (- (* y1 y4) (* y0 y5)) t_8)))
(t_10 (- (* z y3) (* x y2))))
(if (<= i -1.8e+113)
(+ (* i (- (+ (* y1 t_5) (* y5 t_2)) (* c t_6))) t_9)
(if (<= i -9.3e-39)
(*
c
(+
(* i (- (* z t) (* x y)))
(+ (* y0 t_7) (* y4 (- (* y y3) (* t y2))))))
(if (<= i -6.6e-177)
(+ (* x (+ (+ (* y t_3) (* y2 (- (* c y0) (* a y1)))) (* j t_1))) t_9)
(if (<= i 9.6e-231)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= i 3e-198)
(* y0 (+ (* c t_7) (- (* y5 t_8) (* b t_5))))
(if (<= i 4.2e-36)
(*
z
(-
(+ (* y3 (- (* a y1) (* c y0))) (* t (- (* c i) (* a b))))
(* k t_1)))
(if (<= i 1.4e+117)
(*
y
(+
(+ (* k (- (* i y5) (* b y4))) (* x t_3))
(* y3 (- (* c y4) (* a y5)))))
(if (<= i 1.42e+147)
(* x (* a (- (* y b) (* y1 y2))))
(if (<= i 2.05e+182)
(*
y1
(+
(* y4 (- (* k y2) (* j y3)))
(+ (* i t_5) (* a t_10))))
(if (<= i 6.4e+225)
(* a (+ (* b t_6) (+ (* y1 t_10) (* y5 t_4))))
(if (<= i 2.9e+267)
(* t (* j (- (* b y4) (* i y5))))
(* (* i y5) t_2))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (i * y1) - (b * y0);
double t_2 = (y * k) - (t * j);
double t_3 = (a * b) - (c * i);
double t_4 = (t * y2) - (y * y3);
double t_5 = (x * j) - (z * k);
double t_6 = (x * y) - (z * t);
double t_7 = (x * y2) - (z * y3);
double t_8 = (j * y3) - (k * y2);
double t_9 = (t_4 * ((a * y5) - (c * y4))) - (((y1 * y4) - (y0 * y5)) * t_8);
double t_10 = (z * y3) - (x * y2);
double tmp;
if (i <= -1.8e+113) {
tmp = (i * (((y1 * t_5) + (y5 * t_2)) - (c * t_6))) + t_9;
} else if (i <= -9.3e-39) {
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_7) + (y4 * ((y * y3) - (t * y2)))));
} else if (i <= -6.6e-177) {
tmp = (x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1))) + t_9;
} else if (i <= 9.6e-231) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (i <= 3e-198) {
tmp = y0 * ((c * t_7) + ((y5 * t_8) - (b * t_5)));
} else if (i <= 4.2e-36) {
tmp = z * (((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))) - (k * t_1));
} else if (i <= 1.4e+117) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_3)) + (y3 * ((c * y4) - (a * y5))));
} else if (i <= 1.42e+147) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (i <= 2.05e+182) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_5) + (a * t_10)));
} else if (i <= 6.4e+225) {
tmp = a * ((b * t_6) + ((y1 * t_10) + (y5 * t_4)));
} else if (i <= 2.9e+267) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else {
tmp = (i * y5) * 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_10
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (i * y1) - (b * y0)
t_2 = (y * k) - (t * j)
t_3 = (a * b) - (c * i)
t_4 = (t * y2) - (y * y3)
t_5 = (x * j) - (z * k)
t_6 = (x * y) - (z * t)
t_7 = (x * y2) - (z * y3)
t_8 = (j * y3) - (k * y2)
t_9 = (t_4 * ((a * y5) - (c * y4))) - (((y1 * y4) - (y0 * y5)) * t_8)
t_10 = (z * y3) - (x * y2)
if (i <= (-1.8d+113)) then
tmp = (i * (((y1 * t_5) + (y5 * t_2)) - (c * t_6))) + t_9
else if (i <= (-9.3d-39)) then
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_7) + (y4 * ((y * y3) - (t * y2)))))
else if (i <= (-6.6d-177)) then
tmp = (x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1))) + t_9
else if (i <= 9.6d-231) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (i <= 3d-198) then
tmp = y0 * ((c * t_7) + ((y5 * t_8) - (b * t_5)))
else if (i <= 4.2d-36) then
tmp = z * (((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))) - (k * t_1))
else if (i <= 1.4d+117) then
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_3)) + (y3 * ((c * y4) - (a * y5))))
else if (i <= 1.42d+147) then
tmp = x * (a * ((y * b) - (y1 * y2)))
else if (i <= 2.05d+182) then
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_5) + (a * t_10)))
else if (i <= 6.4d+225) then
tmp = a * ((b * t_6) + ((y1 * t_10) + (y5 * t_4)))
else if (i <= 2.9d+267) then
tmp = t * (j * ((b * y4) - (i * y5)))
else
tmp = (i * y5) * t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (i * y1) - (b * y0);
double t_2 = (y * k) - (t * j);
double t_3 = (a * b) - (c * i);
double t_4 = (t * y2) - (y * y3);
double t_5 = (x * j) - (z * k);
double t_6 = (x * y) - (z * t);
double t_7 = (x * y2) - (z * y3);
double t_8 = (j * y3) - (k * y2);
double t_9 = (t_4 * ((a * y5) - (c * y4))) - (((y1 * y4) - (y0 * y5)) * t_8);
double t_10 = (z * y3) - (x * y2);
double tmp;
if (i <= -1.8e+113) {
tmp = (i * (((y1 * t_5) + (y5 * t_2)) - (c * t_6))) + t_9;
} else if (i <= -9.3e-39) {
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_7) + (y4 * ((y * y3) - (t * y2)))));
} else if (i <= -6.6e-177) {
tmp = (x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1))) + t_9;
} else if (i <= 9.6e-231) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (i <= 3e-198) {
tmp = y0 * ((c * t_7) + ((y5 * t_8) - (b * t_5)));
} else if (i <= 4.2e-36) {
tmp = z * (((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))) - (k * t_1));
} else if (i <= 1.4e+117) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_3)) + (y3 * ((c * y4) - (a * y5))));
} else if (i <= 1.42e+147) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (i <= 2.05e+182) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_5) + (a * t_10)));
} else if (i <= 6.4e+225) {
tmp = a * ((b * t_6) + ((y1 * t_10) + (y5 * t_4)));
} else if (i <= 2.9e+267) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else {
tmp = (i * y5) * t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (i * y1) - (b * y0) t_2 = (y * k) - (t * j) t_3 = (a * b) - (c * i) t_4 = (t * y2) - (y * y3) t_5 = (x * j) - (z * k) t_6 = (x * y) - (z * t) t_7 = (x * y2) - (z * y3) t_8 = (j * y3) - (k * y2) t_9 = (t_4 * ((a * y5) - (c * y4))) - (((y1 * y4) - (y0 * y5)) * t_8) t_10 = (z * y3) - (x * y2) tmp = 0 if i <= -1.8e+113: tmp = (i * (((y1 * t_5) + (y5 * t_2)) - (c * t_6))) + t_9 elif i <= -9.3e-39: tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_7) + (y4 * ((y * y3) - (t * y2))))) elif i <= -6.6e-177: tmp = (x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1))) + t_9 elif i <= 9.6e-231: tmp = x * (y0 * ((c * y2) - (b * j))) elif i <= 3e-198: tmp = y0 * ((c * t_7) + ((y5 * t_8) - (b * t_5))) elif i <= 4.2e-36: tmp = z * (((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))) - (k * t_1)) elif i <= 1.4e+117: tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_3)) + (y3 * ((c * y4) - (a * y5)))) elif i <= 1.42e+147: tmp = x * (a * ((y * b) - (y1 * y2))) elif i <= 2.05e+182: tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_5) + (a * t_10))) elif i <= 6.4e+225: tmp = a * ((b * t_6) + ((y1 * t_10) + (y5 * t_4))) elif i <= 2.9e+267: tmp = t * (j * ((b * y4) - (i * y5))) else: tmp = (i * y5) * 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(Float64(i * y1) - Float64(b * y0)) t_2 = Float64(Float64(y * k) - Float64(t * j)) t_3 = Float64(Float64(a * b) - Float64(c * i)) t_4 = Float64(Float64(t * y2) - Float64(y * y3)) t_5 = Float64(Float64(x * j) - Float64(z * k)) t_6 = Float64(Float64(x * y) - Float64(z * t)) t_7 = Float64(Float64(x * y2) - Float64(z * y3)) t_8 = Float64(Float64(j * y3) - Float64(k * y2)) t_9 = Float64(Float64(t_4 * Float64(Float64(a * y5) - Float64(c * y4))) - Float64(Float64(Float64(y1 * y4) - Float64(y0 * y5)) * t_8)) t_10 = Float64(Float64(z * y3) - Float64(x * y2)) tmp = 0.0 if (i <= -1.8e+113) tmp = Float64(Float64(i * Float64(Float64(Float64(y1 * t_5) + Float64(y5 * t_2)) - Float64(c * t_6))) + t_9); elseif (i <= -9.3e-39) tmp = Float64(c * Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(Float64(y0 * t_7) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))))); elseif (i <= -6.6e-177) tmp = Float64(Float64(x * Float64(Float64(Float64(y * t_3) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * t_1))) + t_9); elseif (i <= 9.6e-231) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (i <= 3e-198) tmp = Float64(y0 * Float64(Float64(c * t_7) + Float64(Float64(y5 * t_8) - Float64(b * t_5)))); elseif (i <= 4.2e-36) tmp = Float64(z * Float64(Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))) - Float64(k * t_1))); elseif (i <= 1.4e+117) tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * t_3)) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (i <= 1.42e+147) tmp = Float64(x * Float64(a * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (i <= 2.05e+182) tmp = Float64(y1 * Float64(Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(Float64(i * t_5) + Float64(a * t_10)))); elseif (i <= 6.4e+225) tmp = Float64(a * Float64(Float64(b * t_6) + Float64(Float64(y1 * t_10) + Float64(y5 * t_4)))); elseif (i <= 2.9e+267) tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))); else tmp = Float64(Float64(i * y5) * t_2); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (i * y1) - (b * y0); t_2 = (y * k) - (t * j); t_3 = (a * b) - (c * i); t_4 = (t * y2) - (y * y3); t_5 = (x * j) - (z * k); t_6 = (x * y) - (z * t); t_7 = (x * y2) - (z * y3); t_8 = (j * y3) - (k * y2); t_9 = (t_4 * ((a * y5) - (c * y4))) - (((y1 * y4) - (y0 * y5)) * t_8); t_10 = (z * y3) - (x * y2); tmp = 0.0; if (i <= -1.8e+113) tmp = (i * (((y1 * t_5) + (y5 * t_2)) - (c * t_6))) + t_9; elseif (i <= -9.3e-39) tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_7) + (y4 * ((y * y3) - (t * y2))))); elseif (i <= -6.6e-177) tmp = (x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1))) + t_9; elseif (i <= 9.6e-231) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (i <= 3e-198) tmp = y0 * ((c * t_7) + ((y5 * t_8) - (b * t_5))); elseif (i <= 4.2e-36) tmp = z * (((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))) - (k * t_1)); elseif (i <= 1.4e+117) tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_3)) + (y3 * ((c * y4) - (a * y5)))); elseif (i <= 1.42e+147) tmp = x * (a * ((y * b) - (y1 * y2))); elseif (i <= 2.05e+182) tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_5) + (a * t_10))); elseif (i <= 6.4e+225) tmp = a * ((b * t_6) + ((y1 * t_10) + (y5 * t_4))); elseif (i <= 2.9e+267) tmp = t * (j * ((b * y4) - (i * y5))); else tmp = (i * y5) * 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[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(t$95$4 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision] * t$95$8), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.8e+113], N[(N[(i * N[(N[(N[(y1 * t$95$5), $MachinePrecision] + N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision] - N[(c * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$9), $MachinePrecision], If[LessEqual[i, -9.3e-39], N[(c * N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * t$95$7), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -6.6e-177], N[(N[(x * N[(N[(N[(y * t$95$3), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$9), $MachinePrecision], If[LessEqual[i, 9.6e-231], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3e-198], N[(y0 * N[(N[(c * t$95$7), $MachinePrecision] + N[(N[(y5 * t$95$8), $MachinePrecision] - N[(b * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.2e-36], N[(z * N[(N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(k * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.4e+117], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.42e+147], N[(x * N[(a * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.05e+182], N[(y1 * N[(N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * t$95$5), $MachinePrecision] + N[(a * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 6.4e+225], N[(a * N[(N[(b * t$95$6), $MachinePrecision] + N[(N[(y1 * t$95$10), $MachinePrecision] + N[(y5 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.9e+267], N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(i * y5), $MachinePrecision] * t$95$2), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot y1 - b \cdot y0\\
t_2 := y \cdot k - t \cdot j\\
t_3 := a \cdot b - c \cdot i\\
t_4 := t \cdot y2 - y \cdot y3\\
t_5 := x \cdot j - z \cdot k\\
t_6 := x \cdot y - z \cdot t\\
t_7 := x \cdot y2 - z \cdot y3\\
t_8 := j \cdot y3 - k \cdot y2\\
t_9 := t_4 \cdot \left(a \cdot y5 - c \cdot y4\right) - \left(y1 \cdot y4 - y0 \cdot y5\right) \cdot t_8\\
t_10 := z \cdot y3 - x \cdot y2\\
\mathbf{if}\;i \leq -1.8 \cdot 10^{+113}:\\
\;\;\;\;i \cdot \left(\left(y1 \cdot t_5 + y5 \cdot t_2\right) - c \cdot t_6\right) + t_9\\
\mathbf{elif}\;i \leq -9.3 \cdot 10^{-39}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right) + \left(y0 \cdot t_7 + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\
\mathbf{elif}\;i \leq -6.6 \cdot 10^{-177}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t_3 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot t_1\right) + t_9\\
\mathbf{elif}\;i \leq 9.6 \cdot 10^{-231}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;i \leq 3 \cdot 10^{-198}:\\
\;\;\;\;y0 \cdot \left(c \cdot t_7 + \left(y5 \cdot t_8 - b \cdot t_5\right)\right)\\
\mathbf{elif}\;i \leq 4.2 \cdot 10^{-36}:\\
\;\;\;\;z \cdot \left(\left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right) - k \cdot t_1\right)\\
\mathbf{elif}\;i \leq 1.4 \cdot 10^{+117}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot t_3\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq 1.42 \cdot 10^{+147}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 2.05 \cdot 10^{+182}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) + \left(i \cdot t_5 + a \cdot t_10\right)\right)\\
\mathbf{elif}\;i \leq 6.4 \cdot 10^{+225}:\\
\;\;\;\;a \cdot \left(b \cdot t_6 + \left(y1 \cdot t_10 + y5 \cdot t_4\right)\right)\\
\mathbf{elif}\;i \leq 2.9 \cdot 10^{+267}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot t_2\\
\end{array}
\end{array}
if i < -1.79999999999999996e113Initial program 29.7%
Simplified29.7%
Taylor expanded in i around -inf 61.1%
mul-1-neg61.1%
associate--l+61.1%
Simplified61.1%
if -1.79999999999999996e113 < i < -9.29999999999999975e-39Initial program 20.0%
Simplified20.0%
Taylor expanded in c around inf 47.3%
associate--l+47.3%
*-commutative47.3%
mul-1-neg47.3%
*-commutative47.3%
*-commutative47.3%
Simplified47.3%
if -9.29999999999999975e-39 < i < -6.5999999999999999e-177Initial program 60.3%
Simplified60.3%
Taylor expanded in x around inf 72.0%
if -6.5999999999999999e-177 < i < 9.59999999999999967e-231Initial program 31.6%
Simplified31.6%
Taylor expanded in x around inf 38.7%
Taylor expanded in y0 around inf 57.1%
if 9.59999999999999967e-231 < i < 3.0000000000000001e-198Initial program 57.1%
Simplified57.1%
Taylor expanded in y0 around inf 85.7%
*-commutative85.7%
*-commutative85.7%
mul-1-neg85.7%
*-commutative85.7%
*-commutative85.7%
Simplified85.7%
if 3.0000000000000001e-198 < i < 4.19999999999999982e-36Initial program 44.7%
Simplified44.7%
Taylor expanded in z around -inf 67.4%
if 4.19999999999999982e-36 < i < 1.39999999999999999e117Initial program 25.0%
Simplified25.0%
Taylor expanded in y around inf 64.1%
mul-1-neg64.1%
*-commutative64.1%
*-commutative64.1%
mul-1-neg64.1%
*-commutative64.1%
*-commutative64.1%
Simplified64.1%
if 1.39999999999999999e117 < i < 1.42e147Initial program 14.3%
Simplified14.3%
Taylor expanded in x around inf 43.0%
Taylor expanded in a around inf 72.6%
*-commutative72.6%
mul-1-neg72.6%
unsub-neg72.6%
*-commutative72.6%
Simplified72.6%
if 1.42e147 < i < 2.05000000000000001e182Initial program 0.0%
Simplified0.0%
Taylor expanded in y1 around inf 80.0%
associate--l+80.0%
*-commutative80.0%
*-commutative80.0%
*-commutative80.0%
sub-neg80.0%
mul-1-neg80.0%
distribute-lft-out--80.0%
Simplified80.0%
if 2.05000000000000001e182 < i < 6.39999999999999981e225Initial program 15.4%
Simplified15.4%
Taylor expanded in a around inf 84.6%
*-commutative84.6%
associate--l+84.6%
associate-*r*84.6%
*-commutative84.6%
associate-*r*84.6%
Simplified84.6%
if 6.39999999999999981e225 < i < 2.89999999999999983e267Initial program 15.0%
Simplified15.0%
Taylor expanded in j around inf 64.7%
associate--l+64.7%
mul-1-neg64.7%
*-commutative64.7%
*-commutative64.7%
*-commutative64.7%
Simplified64.7%
Taylor expanded in t around inf 71.9%
if 2.89999999999999983e267 < i Initial program 44.5%
Simplified44.5%
Taylor expanded in y5 around inf 45.3%
mul-1-neg45.3%
Simplified45.3%
Taylor expanded in i around inf 68.2%
mul-1-neg68.2%
associate-*r*78.6%
*-commutative78.6%
associate-*r*78.6%
*-commutative78.6%
distribute-rgt-neg-out78.6%
distribute-rgt-neg-in78.6%
Simplified78.6%
Final simplification64.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* z y3) (* x y2)))
(t_2 (- (* x j) (* z k)))
(t_3 (- (* j y3) (* k y2)))
(t_4 (- (* i y1) (* b y0)))
(t_5 (- (* t y2) (* y y3)))
(t_6 (- (* x y2) (* z y3)))
(t_7 (- (* a b) (* c i))))
(if (<= i -7.4e+251)
(* (* j y1) (- (* x i) (* y3 y4)))
(if (<= i -3.6e-26)
(*
c
(+
(* i (- (* z t) (* x y)))
(+ (* y0 t_6) (* y4 (- (* y y3) (* t y2))))))
(if (<= i -2.3e-160)
(+
(* x (+ (+ (* y t_7) (* y2 (- (* c y0) (* a y1)))) (* j t_4)))
(- (* t_5 (- (* a y5) (* c y4))) (* (- (* y1 y4) (* y0 y5)) t_3)))
(if (<= i 4.9e-148)
(* y0 (+ (* c t_6) (- (* y5 t_3) (* b t_2))))
(if (<= i 6.8e-35)
(*
z
(-
(+ (* y3 (- (* a y1) (* c y0))) (* t (- (* c i) (* a b))))
(* k t_4)))
(if (<= i 1.05e+117)
(*
y
(+
(+ (* k (- (* i y5) (* b y4))) (* x t_7))
(* y3 (- (* c y4) (* a y5)))))
(if (<= i 1.56e+147)
(* x (* a (- (* y b) (* y1 y2))))
(if (<= i 8.8e+182)
(*
y1
(+ (* y4 (- (* k y2) (* j y3))) (+ (* i t_2) (* a t_1))))
(if (<= i 2.75e+226)
(*
a
(+ (* b (- (* x y) (* z t))) (+ (* y1 t_1) (* y5 t_5))))
(if (<= i 3.2e+265)
(* t (* j (- (* b y4) (* i y5))))
(* (* i y5) (- (* y k) (* t j)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (z * y3) - (x * y2);
double t_2 = (x * j) - (z * k);
double t_3 = (j * y3) - (k * y2);
double t_4 = (i * y1) - (b * y0);
double t_5 = (t * y2) - (y * y3);
double t_6 = (x * y2) - (z * y3);
double t_7 = (a * b) - (c * i);
double tmp;
if (i <= -7.4e+251) {
tmp = (j * y1) * ((x * i) - (y3 * y4));
} else if (i <= -3.6e-26) {
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_6) + (y4 * ((y * y3) - (t * y2)))));
} else if (i <= -2.3e-160) {
tmp = (x * (((y * t_7) + (y2 * ((c * y0) - (a * y1)))) + (j * t_4))) + ((t_5 * ((a * y5) - (c * y4))) - (((y1 * y4) - (y0 * y5)) * t_3));
} else if (i <= 4.9e-148) {
tmp = y0 * ((c * t_6) + ((y5 * t_3) - (b * t_2)));
} else if (i <= 6.8e-35) {
tmp = z * (((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))) - (k * t_4));
} else if (i <= 1.05e+117) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_7)) + (y3 * ((c * y4) - (a * y5))));
} else if (i <= 1.56e+147) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (i <= 8.8e+182) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_2) + (a * t_1)));
} else if (i <= 2.75e+226) {
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * t_1) + (y5 * t_5)));
} else if (i <= 3.2e+265) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else {
tmp = (i * y5) * ((y * k) - (t * j));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: tmp
t_1 = (z * y3) - (x * y2)
t_2 = (x * j) - (z * k)
t_3 = (j * y3) - (k * y2)
t_4 = (i * y1) - (b * y0)
t_5 = (t * y2) - (y * y3)
t_6 = (x * y2) - (z * y3)
t_7 = (a * b) - (c * i)
if (i <= (-7.4d+251)) then
tmp = (j * y1) * ((x * i) - (y3 * y4))
else if (i <= (-3.6d-26)) then
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_6) + (y4 * ((y * y3) - (t * y2)))))
else if (i <= (-2.3d-160)) then
tmp = (x * (((y * t_7) + (y2 * ((c * y0) - (a * y1)))) + (j * t_4))) + ((t_5 * ((a * y5) - (c * y4))) - (((y1 * y4) - (y0 * y5)) * t_3))
else if (i <= 4.9d-148) then
tmp = y0 * ((c * t_6) + ((y5 * t_3) - (b * t_2)))
else if (i <= 6.8d-35) then
tmp = z * (((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))) - (k * t_4))
else if (i <= 1.05d+117) then
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_7)) + (y3 * ((c * y4) - (a * y5))))
else if (i <= 1.56d+147) then
tmp = x * (a * ((y * b) - (y1 * y2)))
else if (i <= 8.8d+182) then
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_2) + (a * t_1)))
else if (i <= 2.75d+226) then
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * t_1) + (y5 * t_5)))
else if (i <= 3.2d+265) then
tmp = t * (j * ((b * y4) - (i * y5)))
else
tmp = (i * y5) * ((y * k) - (t * j))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (z * y3) - (x * y2);
double t_2 = (x * j) - (z * k);
double t_3 = (j * y3) - (k * y2);
double t_4 = (i * y1) - (b * y0);
double t_5 = (t * y2) - (y * y3);
double t_6 = (x * y2) - (z * y3);
double t_7 = (a * b) - (c * i);
double tmp;
if (i <= -7.4e+251) {
tmp = (j * y1) * ((x * i) - (y3 * y4));
} else if (i <= -3.6e-26) {
tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_6) + (y4 * ((y * y3) - (t * y2)))));
} else if (i <= -2.3e-160) {
tmp = (x * (((y * t_7) + (y2 * ((c * y0) - (a * y1)))) + (j * t_4))) + ((t_5 * ((a * y5) - (c * y4))) - (((y1 * y4) - (y0 * y5)) * t_3));
} else if (i <= 4.9e-148) {
tmp = y0 * ((c * t_6) + ((y5 * t_3) - (b * t_2)));
} else if (i <= 6.8e-35) {
tmp = z * (((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))) - (k * t_4));
} else if (i <= 1.05e+117) {
tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_7)) + (y3 * ((c * y4) - (a * y5))));
} else if (i <= 1.56e+147) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (i <= 8.8e+182) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_2) + (a * t_1)));
} else if (i <= 2.75e+226) {
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * t_1) + (y5 * t_5)));
} else if (i <= 3.2e+265) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else {
tmp = (i * y5) * ((y * k) - (t * j));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (z * y3) - (x * y2) t_2 = (x * j) - (z * k) t_3 = (j * y3) - (k * y2) t_4 = (i * y1) - (b * y0) t_5 = (t * y2) - (y * y3) t_6 = (x * y2) - (z * y3) t_7 = (a * b) - (c * i) tmp = 0 if i <= -7.4e+251: tmp = (j * y1) * ((x * i) - (y3 * y4)) elif i <= -3.6e-26: tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_6) + (y4 * ((y * y3) - (t * y2))))) elif i <= -2.3e-160: tmp = (x * (((y * t_7) + (y2 * ((c * y0) - (a * y1)))) + (j * t_4))) + ((t_5 * ((a * y5) - (c * y4))) - (((y1 * y4) - (y0 * y5)) * t_3)) elif i <= 4.9e-148: tmp = y0 * ((c * t_6) + ((y5 * t_3) - (b * t_2))) elif i <= 6.8e-35: tmp = z * (((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))) - (k * t_4)) elif i <= 1.05e+117: tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_7)) + (y3 * ((c * y4) - (a * y5)))) elif i <= 1.56e+147: tmp = x * (a * ((y * b) - (y1 * y2))) elif i <= 8.8e+182: tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_2) + (a * t_1))) elif i <= 2.75e+226: tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * t_1) + (y5 * t_5))) elif i <= 3.2e+265: tmp = t * (j * ((b * y4) - (i * y5))) else: tmp = (i * y5) * ((y * k) - (t * j)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(z * y3) - Float64(x * y2)) t_2 = Float64(Float64(x * j) - Float64(z * k)) t_3 = Float64(Float64(j * y3) - Float64(k * y2)) t_4 = Float64(Float64(i * y1) - Float64(b * y0)) t_5 = Float64(Float64(t * y2) - Float64(y * y3)) t_6 = Float64(Float64(x * y2) - Float64(z * y3)) t_7 = Float64(Float64(a * b) - Float64(c * i)) tmp = 0.0 if (i <= -7.4e+251) tmp = Float64(Float64(j * y1) * Float64(Float64(x * i) - Float64(y3 * y4))); elseif (i <= -3.6e-26) tmp = Float64(c * Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(Float64(y0 * t_6) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))))); elseif (i <= -2.3e-160) tmp = Float64(Float64(x * Float64(Float64(Float64(y * t_7) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * t_4))) + Float64(Float64(t_5 * Float64(Float64(a * y5) - Float64(c * y4))) - Float64(Float64(Float64(y1 * y4) - Float64(y0 * y5)) * t_3))); elseif (i <= 4.9e-148) tmp = Float64(y0 * Float64(Float64(c * t_6) + Float64(Float64(y5 * t_3) - Float64(b * t_2)))); elseif (i <= 6.8e-35) tmp = Float64(z * Float64(Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) + Float64(t * Float64(Float64(c * i) - Float64(a * b)))) - Float64(k * t_4))); elseif (i <= 1.05e+117) tmp = Float64(y * Float64(Float64(Float64(k * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(x * t_7)) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (i <= 1.56e+147) tmp = Float64(x * Float64(a * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (i <= 8.8e+182) tmp = Float64(y1 * Float64(Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(Float64(i * t_2) + Float64(a * t_1)))); elseif (i <= 2.75e+226) tmp = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(y1 * t_1) + Float64(y5 * t_5)))); elseif (i <= 3.2e+265) tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))); else tmp = Float64(Float64(i * y5) * Float64(Float64(y * k) - Float64(t * j))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (z * y3) - (x * y2); t_2 = (x * j) - (z * k); t_3 = (j * y3) - (k * y2); t_4 = (i * y1) - (b * y0); t_5 = (t * y2) - (y * y3); t_6 = (x * y2) - (z * y3); t_7 = (a * b) - (c * i); tmp = 0.0; if (i <= -7.4e+251) tmp = (j * y1) * ((x * i) - (y3 * y4)); elseif (i <= -3.6e-26) tmp = c * ((i * ((z * t) - (x * y))) + ((y0 * t_6) + (y4 * ((y * y3) - (t * y2))))); elseif (i <= -2.3e-160) tmp = (x * (((y * t_7) + (y2 * ((c * y0) - (a * y1)))) + (j * t_4))) + ((t_5 * ((a * y5) - (c * y4))) - (((y1 * y4) - (y0 * y5)) * t_3)); elseif (i <= 4.9e-148) tmp = y0 * ((c * t_6) + ((y5 * t_3) - (b * t_2))); elseif (i <= 6.8e-35) tmp = z * (((y3 * ((a * y1) - (c * y0))) + (t * ((c * i) - (a * b)))) - (k * t_4)); elseif (i <= 1.05e+117) tmp = y * (((k * ((i * y5) - (b * y4))) + (x * t_7)) + (y3 * ((c * y4) - (a * y5)))); elseif (i <= 1.56e+147) tmp = x * (a * ((y * b) - (y1 * y2))); elseif (i <= 8.8e+182) tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_2) + (a * t_1))); elseif (i <= 2.75e+226) tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * t_1) + (y5 * t_5))); elseif (i <= 3.2e+265) tmp = t * (j * ((b * y4) - (i * y5))); else tmp = (i * y5) * ((y * k) - (t * j)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -7.4e+251], N[(N[(j * y1), $MachinePrecision] * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -3.6e-26], N[(c * N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * t$95$6), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.3e-160], N[(N[(x * N[(N[(N[(y * t$95$7), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$5 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision] * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.9e-148], N[(y0 * N[(N[(c * t$95$6), $MachinePrecision] + N[(N[(y5 * t$95$3), $MachinePrecision] - N[(b * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 6.8e-35], N[(z * N[(N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(k * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.05e+117], N[(y * N[(N[(N[(k * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$7), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.56e+147], N[(x * N[(a * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 8.8e+182], N[(y1 * N[(N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * t$95$2), $MachinePrecision] + N[(a * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.75e+226], N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y1 * t$95$1), $MachinePrecision] + N[(y5 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.2e+265], N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(i * y5), $MachinePrecision] * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot y3 - x \cdot y2\\
t_2 := x \cdot j - z \cdot k\\
t_3 := j \cdot y3 - k \cdot y2\\
t_4 := i \cdot y1 - b \cdot y0\\
t_5 := t \cdot y2 - y \cdot y3\\
t_6 := x \cdot y2 - z \cdot y3\\
t_7 := a \cdot b - c \cdot i\\
\mathbf{if}\;i \leq -7.4 \cdot 10^{+251}:\\
\;\;\;\;\left(j \cdot y1\right) \cdot \left(x \cdot i - y3 \cdot y4\right)\\
\mathbf{elif}\;i \leq -3.6 \cdot 10^{-26}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right) + \left(y0 \cdot t_6 + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\
\mathbf{elif}\;i \leq -2.3 \cdot 10^{-160}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t_7 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot t_4\right) + \left(t_5 \cdot \left(a \cdot y5 - c \cdot y4\right) - \left(y1 \cdot y4 - y0 \cdot y5\right) \cdot t_3\right)\\
\mathbf{elif}\;i \leq 4.9 \cdot 10^{-148}:\\
\;\;\;\;y0 \cdot \left(c \cdot t_6 + \left(y5 \cdot t_3 - b \cdot t_2\right)\right)\\
\mathbf{elif}\;i \leq 6.8 \cdot 10^{-35}:\\
\;\;\;\;z \cdot \left(\left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) + t \cdot \left(c \cdot i - a \cdot b\right)\right) - k \cdot t_4\right)\\
\mathbf{elif}\;i \leq 1.05 \cdot 10^{+117}:\\
\;\;\;\;y \cdot \left(\left(k \cdot \left(i \cdot y5 - b \cdot y4\right) + x \cdot t_7\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq 1.56 \cdot 10^{+147}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 8.8 \cdot 10^{+182}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) + \left(i \cdot t_2 + a \cdot t_1\right)\right)\\
\mathbf{elif}\;i \leq 2.75 \cdot 10^{+226}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) + \left(y1 \cdot t_1 + y5 \cdot t_5\right)\right)\\
\mathbf{elif}\;i \leq 3.2 \cdot 10^{+265}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot \left(y \cdot k - t \cdot j\right)\\
\end{array}
\end{array}
if i < -7.3999999999999998e251Initial program 12.0%
Simplified12.0%
Taylor expanded in j around inf 45.0%
associate--l+45.0%
mul-1-neg45.0%
*-commutative45.0%
*-commutative45.0%
*-commutative45.0%
Simplified45.0%
Taylor expanded in y1 around -inf 56.8%
associate-*r*56.2%
mul-1-neg56.2%
unsub-neg56.2%
*-commutative56.2%
*-commutative56.2%
Simplified56.2%
if -7.3999999999999998e251 < i < -3.6000000000000001e-26Initial program 30.2%
Simplified30.2%
Taylor expanded in c around inf 53.9%
associate--l+53.9%
*-commutative53.9%
mul-1-neg53.9%
*-commutative53.9%
*-commutative53.9%
Simplified53.9%
if -3.6000000000000001e-26 < i < -2.29999999999999985e-160Initial program 60.4%
Simplified60.4%
Taylor expanded in x around inf 80.0%
if -2.29999999999999985e-160 < i < 4.9e-148Initial program 40.2%
Simplified48.2%
Taylor expanded in y0 around inf 54.3%
*-commutative54.3%
*-commutative54.3%
mul-1-neg54.3%
*-commutative54.3%
*-commutative54.3%
Simplified54.3%
if 4.9e-148 < i < 6.8000000000000005e-35Initial program 43.2%
Simplified43.2%
Taylor expanded in z around -inf 67.7%
if 6.8000000000000005e-35 < i < 1.0500000000000001e117Initial program 25.0%
Simplified25.0%
Taylor expanded in y around inf 64.1%
mul-1-neg64.1%
*-commutative64.1%
*-commutative64.1%
mul-1-neg64.1%
*-commutative64.1%
*-commutative64.1%
Simplified64.1%
if 1.0500000000000001e117 < i < 1.56e147Initial program 14.3%
Simplified14.3%
Taylor expanded in x around inf 43.0%
Taylor expanded in a around inf 72.6%
*-commutative72.6%
mul-1-neg72.6%
unsub-neg72.6%
*-commutative72.6%
Simplified72.6%
if 1.56e147 < i < 8.79999999999999986e182Initial program 0.0%
Simplified0.0%
Taylor expanded in y1 around inf 80.0%
associate--l+80.0%
*-commutative80.0%
*-commutative80.0%
*-commutative80.0%
sub-neg80.0%
mul-1-neg80.0%
distribute-lft-out--80.0%
Simplified80.0%
if 8.79999999999999986e182 < i < 2.7500000000000003e226Initial program 15.4%
Simplified15.4%
Taylor expanded in a around inf 84.6%
*-commutative84.6%
associate--l+84.6%
associate-*r*84.6%
*-commutative84.6%
associate-*r*84.6%
Simplified84.6%
if 2.7500000000000003e226 < i < 3.20000000000000014e265Initial program 15.0%
Simplified15.0%
Taylor expanded in j around inf 64.7%
associate--l+64.7%
mul-1-neg64.7%
*-commutative64.7%
*-commutative64.7%
*-commutative64.7%
Simplified64.7%
Taylor expanded in t around inf 71.9%
if 3.20000000000000014e265 < i Initial program 44.5%
Simplified44.5%
Taylor expanded in y5 around inf 45.3%
mul-1-neg45.3%
Simplified45.3%
Taylor expanded in i around inf 68.2%
mul-1-neg68.2%
associate-*r*78.6%
*-commutative78.6%
associate-*r*78.6%
*-commutative78.6%
distribute-rgt-neg-out78.6%
distribute-rgt-neg-in78.6%
Simplified78.6%
Final simplification63.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* z (* b (- (* k y0) (* t a)))))
(t_2 (* x (* y0 (- (* c y2) (* b j)))))
(t_3 (* (* c i) (- (* z t) (* x y))))
(t_4 (* y1 (- (* k y2) (* j y3))))
(t_5
(*
y4
(+ (+ t_4 (* b (- (* t j) (* y k)))) (* c (- (* y y3) (* t y2)))))))
(if (<= c -8.5e+176)
t_3
(if (<= c -5.2e+77)
t_2
(if (<= c -5.8e-32)
(* j (* i (- (* x y1) (* t y5))))
(if (<= c -7.2e-67)
(* (- (* t c) (* k y1)) (* z i))
(if (<= c 3.5e-296)
t_1
(if (<= c 1.5e-133)
t_5
(if (<= c 2.3e-107)
t_1
(if (<= c 6.2e-81)
(* y4 t_4)
(if (<= c 9.5e+27)
(*
x
(+
(+
(* y (- (* a b) (* c i)))
(* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= c 1.5e+153)
t_5
(if (<= c 1.35e+232)
t_2
(if (<= c 1.25e+244) t_5 t_3))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * (b * ((k * y0) - (t * a)));
double t_2 = x * (y0 * ((c * y2) - (b * j)));
double t_3 = (c * i) * ((z * t) - (x * y));
double t_4 = y1 * ((k * y2) - (j * y3));
double t_5 = y4 * ((t_4 + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2))));
double tmp;
if (c <= -8.5e+176) {
tmp = t_3;
} else if (c <= -5.2e+77) {
tmp = t_2;
} else if (c <= -5.8e-32) {
tmp = j * (i * ((x * y1) - (t * y5)));
} else if (c <= -7.2e-67) {
tmp = ((t * c) - (k * y1)) * (z * i);
} else if (c <= 3.5e-296) {
tmp = t_1;
} else if (c <= 1.5e-133) {
tmp = t_5;
} else if (c <= 2.3e-107) {
tmp = t_1;
} else if (c <= 6.2e-81) {
tmp = y4 * t_4;
} else if (c <= 9.5e+27) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (c <= 1.5e+153) {
tmp = t_5;
} else if (c <= 1.35e+232) {
tmp = t_2;
} else if (c <= 1.25e+244) {
tmp = t_5;
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = z * (b * ((k * y0) - (t * a)))
t_2 = x * (y0 * ((c * y2) - (b * j)))
t_3 = (c * i) * ((z * t) - (x * y))
t_4 = y1 * ((k * y2) - (j * y3))
t_5 = y4 * ((t_4 + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2))))
if (c <= (-8.5d+176)) then
tmp = t_3
else if (c <= (-5.2d+77)) then
tmp = t_2
else if (c <= (-5.8d-32)) then
tmp = j * (i * ((x * y1) - (t * y5)))
else if (c <= (-7.2d-67)) then
tmp = ((t * c) - (k * y1)) * (z * i)
else if (c <= 3.5d-296) then
tmp = t_1
else if (c <= 1.5d-133) then
tmp = t_5
else if (c <= 2.3d-107) then
tmp = t_1
else if (c <= 6.2d-81) then
tmp = y4 * t_4
else if (c <= 9.5d+27) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (c <= 1.5d+153) then
tmp = t_5
else if (c <= 1.35d+232) then
tmp = t_2
else if (c <= 1.25d+244) then
tmp = t_5
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * (b * ((k * y0) - (t * a)));
double t_2 = x * (y0 * ((c * y2) - (b * j)));
double t_3 = (c * i) * ((z * t) - (x * y));
double t_4 = y1 * ((k * y2) - (j * y3));
double t_5 = y4 * ((t_4 + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2))));
double tmp;
if (c <= -8.5e+176) {
tmp = t_3;
} else if (c <= -5.2e+77) {
tmp = t_2;
} else if (c <= -5.8e-32) {
tmp = j * (i * ((x * y1) - (t * y5)));
} else if (c <= -7.2e-67) {
tmp = ((t * c) - (k * y1)) * (z * i);
} else if (c <= 3.5e-296) {
tmp = t_1;
} else if (c <= 1.5e-133) {
tmp = t_5;
} else if (c <= 2.3e-107) {
tmp = t_1;
} else if (c <= 6.2e-81) {
tmp = y4 * t_4;
} else if (c <= 9.5e+27) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (c <= 1.5e+153) {
tmp = t_5;
} else if (c <= 1.35e+232) {
tmp = t_2;
} else if (c <= 1.25e+244) {
tmp = t_5;
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = z * (b * ((k * y0) - (t * a))) t_2 = x * (y0 * ((c * y2) - (b * j))) t_3 = (c * i) * ((z * t) - (x * y)) t_4 = y1 * ((k * y2) - (j * y3)) t_5 = y4 * ((t_4 + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2)))) tmp = 0 if c <= -8.5e+176: tmp = t_3 elif c <= -5.2e+77: tmp = t_2 elif c <= -5.8e-32: tmp = j * (i * ((x * y1) - (t * y5))) elif c <= -7.2e-67: tmp = ((t * c) - (k * y1)) * (z * i) elif c <= 3.5e-296: tmp = t_1 elif c <= 1.5e-133: tmp = t_5 elif c <= 2.3e-107: tmp = t_1 elif c <= 6.2e-81: tmp = y4 * t_4 elif c <= 9.5e+27: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif c <= 1.5e+153: tmp = t_5 elif c <= 1.35e+232: tmp = t_2 elif c <= 1.25e+244: tmp = t_5 else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(z * Float64(b * Float64(Float64(k * y0) - Float64(t * a)))) t_2 = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))) t_3 = Float64(Float64(c * i) * Float64(Float64(z * t) - Float64(x * y))) t_4 = Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) t_5 = Float64(y4 * Float64(Float64(t_4 + Float64(b * Float64(Float64(t * j) - Float64(y * k)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) tmp = 0.0 if (c <= -8.5e+176) tmp = t_3; elseif (c <= -5.2e+77) tmp = t_2; elseif (c <= -5.8e-32) tmp = Float64(j * Float64(i * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (c <= -7.2e-67) tmp = Float64(Float64(Float64(t * c) - Float64(k * y1)) * Float64(z * i)); elseif (c <= 3.5e-296) tmp = t_1; elseif (c <= 1.5e-133) tmp = t_5; elseif (c <= 2.3e-107) tmp = t_1; elseif (c <= 6.2e-81) tmp = Float64(y4 * t_4); elseif (c <= 9.5e+27) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (c <= 1.5e+153) tmp = t_5; elseif (c <= 1.35e+232) tmp = t_2; elseif (c <= 1.25e+244) tmp = t_5; else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = z * (b * ((k * y0) - (t * a))); t_2 = x * (y0 * ((c * y2) - (b * j))); t_3 = (c * i) * ((z * t) - (x * y)); t_4 = y1 * ((k * y2) - (j * y3)); t_5 = y4 * ((t_4 + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2)))); tmp = 0.0; if (c <= -8.5e+176) tmp = t_3; elseif (c <= -5.2e+77) tmp = t_2; elseif (c <= -5.8e-32) tmp = j * (i * ((x * y1) - (t * y5))); elseif (c <= -7.2e-67) tmp = ((t * c) - (k * y1)) * (z * i); elseif (c <= 3.5e-296) tmp = t_1; elseif (c <= 1.5e-133) tmp = t_5; elseif (c <= 2.3e-107) tmp = t_1; elseif (c <= 6.2e-81) tmp = y4 * t_4; elseif (c <= 9.5e+27) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (c <= 1.5e+153) tmp = t_5; elseif (c <= 1.35e+232) tmp = t_2; elseif (c <= 1.25e+244) tmp = t_5; else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * N[(b * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * i), $MachinePrecision] * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y4 * N[(N[(t$95$4 + N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -8.5e+176], t$95$3, If[LessEqual[c, -5.2e+77], t$95$2, If[LessEqual[c, -5.8e-32], N[(j * N[(i * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -7.2e-67], N[(N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision] * N[(z * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.5e-296], t$95$1, If[LessEqual[c, 1.5e-133], t$95$5, If[LessEqual[c, 2.3e-107], t$95$1, If[LessEqual[c, 6.2e-81], N[(y4 * t$95$4), $MachinePrecision], If[LessEqual[c, 9.5e+27], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.5e+153], t$95$5, If[LessEqual[c, 1.35e+232], t$95$2, If[LessEqual[c, 1.25e+244], t$95$5, t$95$3]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(b \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
t_2 := x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
t_3 := \left(c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\\
t_4 := y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\\
t_5 := y4 \cdot \left(\left(t_4 + b \cdot \left(t \cdot j - y \cdot k\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;c \leq -8.5 \cdot 10^{+176}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq -5.2 \cdot 10^{+77}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq -5.8 \cdot 10^{-32}:\\
\;\;\;\;j \cdot \left(i \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;c \leq -7.2 \cdot 10^{-67}:\\
\;\;\;\;\left(t \cdot c - k \cdot y1\right) \cdot \left(z \cdot i\right)\\
\mathbf{elif}\;c \leq 3.5 \cdot 10^{-296}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 1.5 \cdot 10^{-133}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;c \leq 2.3 \cdot 10^{-107}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 6.2 \cdot 10^{-81}:\\
\;\;\;\;y4 \cdot t_4\\
\mathbf{elif}\;c \leq 9.5 \cdot 10^{+27}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;c \leq 1.5 \cdot 10^{+153}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;c \leq 1.35 \cdot 10^{+232}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq 1.25 \cdot 10^{+244}:\\
\;\;\;\;t_5\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}
\end{array}
if c < -8.4999999999999995e176 or 1.25000000000000006e244 < c Initial program 30.4%
Simplified30.4%
Taylor expanded in c around inf 60.1%
associate--l+60.1%
*-commutative60.1%
mul-1-neg60.1%
*-commutative60.1%
*-commutative60.1%
Simplified60.1%
Taylor expanded in i around inf 65.1%
associate-*r*69.2%
*-commutative69.2%
*-commutative69.2%
Simplified69.2%
if -8.4999999999999995e176 < c < -5.2000000000000004e77 or 1.50000000000000009e153 < c < 1.35e232Initial program 18.5%
Simplified18.5%
Taylor expanded in x around inf 42.8%
Taylor expanded in y0 around inf 64.1%
if -5.2000000000000004e77 < c < -5.79999999999999991e-32Initial program 50.0%
Simplified50.0%
Taylor expanded in j around inf 60.5%
associate--l+60.5%
mul-1-neg60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
Simplified60.5%
Taylor expanded in i around -inf 41.6%
associate-*r*41.6%
neg-mul-141.6%
*-commutative41.6%
*-commutative41.6%
Simplified41.6%
Taylor expanded in i around 0 41.6%
mul-1-neg41.6%
*-commutative41.6%
*-commutative41.6%
*-commutative41.6%
distribute-rgt-neg-out41.6%
associate-*l*50.9%
Simplified50.9%
if -5.79999999999999991e-32 < c < -7.19999999999999998e-67Initial program 40.0%
Simplified40.0%
Taylor expanded in z around -inf 61.1%
Taylor expanded in i around -inf 80.4%
if -7.19999999999999998e-67 < c < 3.4999999999999999e-296 or 1.5000000000000001e-133 < c < 2.30000000000000003e-107Initial program 27.8%
Simplified27.8%
Taylor expanded in z around -inf 40.8%
Taylor expanded in b around inf 53.6%
if 3.4999999999999999e-296 < c < 1.5000000000000001e-133 or 9.4999999999999997e27 < c < 1.50000000000000009e153 or 1.35e232 < c < 1.25000000000000006e244Initial program 35.2%
Simplified35.2%
Taylor expanded in y4 around inf 60.0%
if 2.30000000000000003e-107 < c < 6.19999999999999976e-81Initial program 22.2%
Simplified22.2%
Taylor expanded in y4 around inf 44.9%
Taylor expanded in y1 around inf 56.2%
if 6.19999999999999976e-81 < c < 9.4999999999999997e27Initial program 35.7%
Simplified35.7%
Taylor expanded in x around inf 65.2%
Final simplification61.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y y3) (* t y2)))
(t_2 (- (* i y1) (* b y0)))
(t_3 (- (* z t) (* x y)))
(t_4 (- (* y0 y5) (* y1 y4)))
(t_5 (* j (+ (* y3 t_4) (+ (* t (- (* b y4) (* i y5))) (* x t_2)))))
(t_6 (- (* c y0) (* a y1)))
(t_7 (* y0 (- (* x y2) (* z y3)))))
(if (<= c -6e+177)
(* (* c i) t_3)
(if (<= c -3.5e+115)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= c -9.5e+102)
(* c t_7)
(if (<= c -5e-33)
t_5
(if (<= c -6.2e-223)
(* z (* b (- (* k y0) (* t a))))
(if (<= c 1.55e-293)
t_5
(if (<= c 3.8e-232)
(*
y4
(+
(+ (* y1 (- (* k y2) (* j y3))) (* b (- (* t j) (* y k))))
(* c t_1)))
(if (<= c 5.4e-218)
(*
y5
(+
(* i (- (* y k) (* t j)))
(+
(* a (- (* t y2) (* y y3)))
(* y0 (- (* j y3) (* k y2))))))
(if (<= c 6e-119)
(*
y2
(+
(+ (* x t_6) (* k (- (* y1 y4) (* y0 y5))))
(* t (- (* a y5) (* c y4)))))
(if (<= c 1.8e-81)
(* y3 (* j t_4))
(if (<= c 4e+27)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_6))
(* j t_2)))
(* c (+ (* i t_3) (+ t_7 (* y4 t_1)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y * y3) - (t * y2);
double t_2 = (i * y1) - (b * y0);
double t_3 = (z * t) - (x * y);
double t_4 = (y0 * y5) - (y1 * y4);
double t_5 = j * ((y3 * t_4) + ((t * ((b * y4) - (i * y5))) + (x * t_2)));
double t_6 = (c * y0) - (a * y1);
double t_7 = y0 * ((x * y2) - (z * y3));
double tmp;
if (c <= -6e+177) {
tmp = (c * i) * t_3;
} else if (c <= -3.5e+115) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (c <= -9.5e+102) {
tmp = c * t_7;
} else if (c <= -5e-33) {
tmp = t_5;
} else if (c <= -6.2e-223) {
tmp = z * (b * ((k * y0) - (t * a)));
} else if (c <= 1.55e-293) {
tmp = t_5;
} else if (c <= 3.8e-232) {
tmp = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_1));
} else if (c <= 5.4e-218) {
tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * ((t * y2) - (y * y3))) + (y0 * ((j * y3) - (k * y2)))));
} else if (c <= 6e-119) {
tmp = y2 * (((x * t_6) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (c <= 1.8e-81) {
tmp = y3 * (j * t_4);
} else if (c <= 4e+27) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_6)) + (j * t_2));
} else {
tmp = c * ((i * t_3) + (t_7 + (y4 * 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) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: tmp
t_1 = (y * y3) - (t * y2)
t_2 = (i * y1) - (b * y0)
t_3 = (z * t) - (x * y)
t_4 = (y0 * y5) - (y1 * y4)
t_5 = j * ((y3 * t_4) + ((t * ((b * y4) - (i * y5))) + (x * t_2)))
t_6 = (c * y0) - (a * y1)
t_7 = y0 * ((x * y2) - (z * y3))
if (c <= (-6d+177)) then
tmp = (c * i) * t_3
else if (c <= (-3.5d+115)) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (c <= (-9.5d+102)) then
tmp = c * t_7
else if (c <= (-5d-33)) then
tmp = t_5
else if (c <= (-6.2d-223)) then
tmp = z * (b * ((k * y0) - (t * a)))
else if (c <= 1.55d-293) then
tmp = t_5
else if (c <= 3.8d-232) then
tmp = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_1))
else if (c <= 5.4d-218) then
tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * ((t * y2) - (y * y3))) + (y0 * ((j * y3) - (k * y2)))))
else if (c <= 6d-119) then
tmp = y2 * (((x * t_6) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))))
else if (c <= 1.8d-81) then
tmp = y3 * (j * t_4)
else if (c <= 4d+27) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_6)) + (j * t_2))
else
tmp = c * ((i * t_3) + (t_7 + (y4 * 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) - (t * y2);
double t_2 = (i * y1) - (b * y0);
double t_3 = (z * t) - (x * y);
double t_4 = (y0 * y5) - (y1 * y4);
double t_5 = j * ((y3 * t_4) + ((t * ((b * y4) - (i * y5))) + (x * t_2)));
double t_6 = (c * y0) - (a * y1);
double t_7 = y0 * ((x * y2) - (z * y3));
double tmp;
if (c <= -6e+177) {
tmp = (c * i) * t_3;
} else if (c <= -3.5e+115) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (c <= -9.5e+102) {
tmp = c * t_7;
} else if (c <= -5e-33) {
tmp = t_5;
} else if (c <= -6.2e-223) {
tmp = z * (b * ((k * y0) - (t * a)));
} else if (c <= 1.55e-293) {
tmp = t_5;
} else if (c <= 3.8e-232) {
tmp = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_1));
} else if (c <= 5.4e-218) {
tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * ((t * y2) - (y * y3))) + (y0 * ((j * y3) - (k * y2)))));
} else if (c <= 6e-119) {
tmp = y2 * (((x * t_6) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (c <= 1.8e-81) {
tmp = y3 * (j * t_4);
} else if (c <= 4e+27) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_6)) + (j * t_2));
} else {
tmp = c * ((i * t_3) + (t_7 + (y4 * 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) - (t * y2) t_2 = (i * y1) - (b * y0) t_3 = (z * t) - (x * y) t_4 = (y0 * y5) - (y1 * y4) t_5 = j * ((y3 * t_4) + ((t * ((b * y4) - (i * y5))) + (x * t_2))) t_6 = (c * y0) - (a * y1) t_7 = y0 * ((x * y2) - (z * y3)) tmp = 0 if c <= -6e+177: tmp = (c * i) * t_3 elif c <= -3.5e+115: tmp = x * (y0 * ((c * y2) - (b * j))) elif c <= -9.5e+102: tmp = c * t_7 elif c <= -5e-33: tmp = t_5 elif c <= -6.2e-223: tmp = z * (b * ((k * y0) - (t * a))) elif c <= 1.55e-293: tmp = t_5 elif c <= 3.8e-232: tmp = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_1)) elif c <= 5.4e-218: tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * ((t * y2) - (y * y3))) + (y0 * ((j * y3) - (k * y2))))) elif c <= 6e-119: tmp = y2 * (((x * t_6) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))) elif c <= 1.8e-81: tmp = y3 * (j * t_4) elif c <= 4e+27: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_6)) + (j * t_2)) else: tmp = c * ((i * t_3) + (t_7 + (y4 * t_1))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y * y3) - Float64(t * y2)) t_2 = Float64(Float64(i * y1) - Float64(b * y0)) t_3 = Float64(Float64(z * t) - Float64(x * y)) t_4 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) t_5 = Float64(j * Float64(Float64(y3 * t_4) + Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(x * t_2)))) t_6 = Float64(Float64(c * y0) - Float64(a * y1)) t_7 = Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) tmp = 0.0 if (c <= -6e+177) tmp = Float64(Float64(c * i) * t_3); elseif (c <= -3.5e+115) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (c <= -9.5e+102) tmp = Float64(c * t_7); elseif (c <= -5e-33) tmp = t_5; elseif (c <= -6.2e-223) tmp = Float64(z * Float64(b * Float64(Float64(k * y0) - Float64(t * a)))); elseif (c <= 1.55e-293) tmp = t_5; elseif (c <= 3.8e-232) tmp = Float64(y4 * Float64(Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(b * Float64(Float64(t * j) - Float64(y * k)))) + Float64(c * t_1))); elseif (c <= 5.4e-218) tmp = Float64(y5 * Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))); elseif (c <= 6e-119) tmp = Float64(y2 * Float64(Float64(Float64(x * t_6) + Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (c <= 1.8e-81) tmp = Float64(y3 * Float64(j * t_4)); elseif (c <= 4e+27) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_6)) + Float64(j * t_2))); else tmp = Float64(c * Float64(Float64(i * t_3) + Float64(t_7 + Float64(y4 * 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) - (t * y2); t_2 = (i * y1) - (b * y0); t_3 = (z * t) - (x * y); t_4 = (y0 * y5) - (y1 * y4); t_5 = j * ((y3 * t_4) + ((t * ((b * y4) - (i * y5))) + (x * t_2))); t_6 = (c * y0) - (a * y1); t_7 = y0 * ((x * y2) - (z * y3)); tmp = 0.0; if (c <= -6e+177) tmp = (c * i) * t_3; elseif (c <= -3.5e+115) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (c <= -9.5e+102) tmp = c * t_7; elseif (c <= -5e-33) tmp = t_5; elseif (c <= -6.2e-223) tmp = z * (b * ((k * y0) - (t * a))); elseif (c <= 1.55e-293) tmp = t_5; elseif (c <= 3.8e-232) tmp = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * t_1)); elseif (c <= 5.4e-218) tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * ((t * y2) - (y * y3))) + (y0 * ((j * y3) - (k * y2))))); elseif (c <= 6e-119) tmp = y2 * (((x * t_6) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))); elseif (c <= 1.8e-81) tmp = y3 * (j * t_4); elseif (c <= 4e+27) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_6)) + (j * t_2)); else tmp = c * ((i * t_3) + (t_7 + (y4 * t_1))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(j * N[(N[(y3 * t$95$4), $MachinePrecision] + N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -6e+177], N[(N[(c * i), $MachinePrecision] * t$95$3), $MachinePrecision], If[LessEqual[c, -3.5e+115], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -9.5e+102], N[(c * t$95$7), $MachinePrecision], If[LessEqual[c, -5e-33], t$95$5, If[LessEqual[c, -6.2e-223], N[(z * N[(b * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.55e-293], t$95$5, If[LessEqual[c, 3.8e-232], N[(y4 * N[(N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.4e-218], N[(y5 * N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6e-119], N[(y2 * N[(N[(N[(x * t$95$6), $MachinePrecision] + N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.8e-81], N[(y3 * N[(j * t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4e+27], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$6), $MachinePrecision]), $MachinePrecision] + N[(j * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(i * t$95$3), $MachinePrecision] + N[(t$95$7 + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot y3 - t \cdot y2\\
t_2 := i \cdot y1 - b \cdot y0\\
t_3 := z \cdot t - x \cdot y\\
t_4 := y0 \cdot y5 - y1 \cdot y4\\
t_5 := j \cdot \left(y3 \cdot t_4 + \left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + x \cdot t_2\right)\right)\\
t_6 := c \cdot y0 - a \cdot y1\\
t_7 := y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\\
\mathbf{if}\;c \leq -6 \cdot 10^{+177}:\\
\;\;\;\;\left(c \cdot i\right) \cdot t_3\\
\mathbf{elif}\;c \leq -3.5 \cdot 10^{+115}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;c \leq -9.5 \cdot 10^{+102}:\\
\;\;\;\;c \cdot t_7\\
\mathbf{elif}\;c \leq -5 \cdot 10^{-33}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;c \leq -6.2 \cdot 10^{-223}:\\
\;\;\;\;z \cdot \left(b \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;c \leq 1.55 \cdot 10^{-293}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;c \leq 3.8 \cdot 10^{-232}:\\
\;\;\;\;y4 \cdot \left(\left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + b \cdot \left(t \cdot j - y \cdot k\right)\right) + c \cdot t_1\right)\\
\mathbf{elif}\;c \leq 5.4 \cdot 10^{-218}:\\
\;\;\;\;y5 \cdot \left(i \cdot \left(y \cdot k - t \cdot j\right) + \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
\mathbf{elif}\;c \leq 6 \cdot 10^{-119}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot t_6 + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq 1.8 \cdot 10^{-81}:\\
\;\;\;\;y3 \cdot \left(j \cdot t_4\right)\\
\mathbf{elif}\;c \leq 4 \cdot 10^{+27}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t_6\right) + j \cdot t_2\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(i \cdot t_3 + \left(t_7 + y4 \cdot t_1\right)\right)\\
\end{array}
\end{array}
if c < -6e177Initial program 31.0%
Simplified31.0%
Taylor expanded in c around inf 67.6%
associate--l+67.6%
*-commutative67.6%
mul-1-neg67.6%
*-commutative67.6%
*-commutative67.6%
Simplified67.6%
Taylor expanded in i around inf 71.7%
associate-*r*74.9%
*-commutative74.9%
*-commutative74.9%
Simplified74.9%
if -6e177 < c < -3.50000000000000005e115Initial program 11.4%
Simplified11.4%
Taylor expanded in x around inf 56.0%
Taylor expanded in y0 around inf 77.8%
if -3.50000000000000005e115 < c < -9.4999999999999992e102Initial program 66.7%
Simplified66.7%
Taylor expanded in c around inf 100.0%
associate--l+100.0%
*-commutative100.0%
mul-1-neg100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
Taylor expanded in y0 around -inf 100.0%
if -9.4999999999999992e102 < c < -5.00000000000000028e-33 or -6.20000000000000036e-223 < c < 1.54999999999999991e-293Initial program 40.8%
Simplified40.8%
Taylor expanded in j around inf 66.5%
associate--l+66.5%
mul-1-neg66.5%
*-commutative66.5%
*-commutative66.5%
*-commutative66.5%
Simplified66.5%
if -5.00000000000000028e-33 < c < -6.20000000000000036e-223Initial program 27.6%
Simplified27.6%
Taylor expanded in z around -inf 48.9%
Taylor expanded in b around inf 58.2%
if 1.54999999999999991e-293 < c < 3.8000000000000001e-232Initial program 50.0%
Simplified50.0%
Taylor expanded in y4 around inf 64.5%
if 3.8000000000000001e-232 < c < 5.3999999999999999e-218Initial program 28.6%
Simplified28.6%
Taylor expanded in y5 around -inf 72.8%
mul-1-neg72.8%
associate--l+72.8%
*-commutative72.8%
Simplified72.8%
if 5.3999999999999999e-218 < c < 6.0000000000000004e-119Initial program 25.7%
Simplified25.7%
Taylor expanded in y2 around inf 76.1%
if 6.0000000000000004e-119 < c < 1.7999999999999999e-81Initial program 18.2%
Simplified18.2%
Taylor expanded in j around inf 36.7%
associate--l+36.7%
mul-1-neg36.7%
*-commutative36.7%
*-commutative36.7%
*-commutative36.7%
Simplified36.7%
Taylor expanded in y3 around -inf 64.2%
associate-*r*64.2%
neg-mul-164.2%
Simplified64.2%
if 1.7999999999999999e-81 < c < 4.0000000000000001e27Initial program 35.7%
Simplified35.7%
Taylor expanded in x around inf 65.2%
if 4.0000000000000001e27 < c Initial program 25.1%
Simplified25.1%
Taylor expanded in c around inf 53.7%
associate--l+53.7%
*-commutative53.7%
mul-1-neg53.7%
*-commutative53.7%
*-commutative53.7%
Simplified53.7%
Final simplification64.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 (- (* z y3) (* x y2)))
(t_3 (- (* j y3) (* k y2)))
(t_4 (- (* x j) (* z k)))
(t_5 (* (* c i) (- (* z t) (* x y))))
(t_6 (- (* i y1) (* b y0)))
(t_7 (- (* y1 y4) (* y0 y5)))
(t_8
(*
k
(+
(* y (- (* i y5) (* b y4)))
(+ (* z (- (* b y0) (* i y1))) (* y2 t_7)))))
(t_9 (* j t_6))
(t_10 (- (* t y2) (* y y3))))
(if (<= c -9.6e+177)
t_5
(if (<= c -4.2e-159)
(*
j
(+
(* y3 (- (* y0 y5) (* y1 y4)))
(+ (* t (- (* b y4) (* i y5))) (* x t_6))))
(if (<= c 8e-288)
t_8
(if (<= c 2.3e-256)
(* x t_9)
(if (<= c 3.7e-232)
t_8
(if (<= c 5.4e-215)
(* y5 (+ (* i (- (* y k) (* t j))) (+ (* a t_10) (* y0 t_3))))
(if (<= c 3e-123)
(* y2 (+ (+ (* x t_1) (* k t_7)) (* t (- (* a y5) (* c y4)))))
(if (<= c 8.2e-82)
(*
a
(+ (* b (- (* x y) (* z t))) (+ (* y1 t_2) (* y5 t_10))))
(if (<= c 3.5e+26)
(* x (+ (+ (* y (- (* a b) (* c i))) (* y2 t_1)) t_9))
(if (<= c 1.62e+63)
(*
y1
(+
(* y4 (- (* k y2) (* j y3)))
(+ (* i t_4) (* a t_2))))
(if (<= c 3.1e+232)
(*
y0
(+
(* c (- (* x y2) (* z y3)))
(- (* y5 t_3) (* b t_4))))
t_5)))))))))))))
double code(double x, double y, double z, double t, double a, double 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 = (z * y3) - (x * y2);
double t_3 = (j * y3) - (k * y2);
double t_4 = (x * j) - (z * k);
double t_5 = (c * i) * ((z * t) - (x * y));
double t_6 = (i * y1) - (b * y0);
double t_7 = (y1 * y4) - (y0 * y5);
double t_8 = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_7)));
double t_9 = j * t_6;
double t_10 = (t * y2) - (y * y3);
double tmp;
if (c <= -9.6e+177) {
tmp = t_5;
} else if (c <= -4.2e-159) {
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * ((b * y4) - (i * y5))) + (x * t_6)));
} else if (c <= 8e-288) {
tmp = t_8;
} else if (c <= 2.3e-256) {
tmp = x * t_9;
} else if (c <= 3.7e-232) {
tmp = t_8;
} else if (c <= 5.4e-215) {
tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * t_10) + (y0 * t_3)));
} else if (c <= 3e-123) {
tmp = y2 * (((x * t_1) + (k * t_7)) + (t * ((a * y5) - (c * y4))));
} else if (c <= 8.2e-82) {
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * t_2) + (y5 * t_10)));
} else if (c <= 3.5e+26) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + t_9);
} else if (c <= 1.62e+63) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_4) + (a * t_2)));
} else if (c <= 3.1e+232) {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + ((y5 * t_3) - (b * t_4)));
} else {
tmp = t_5;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_10
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: t_9
real(8) :: tmp
t_1 = (c * y0) - (a * y1)
t_2 = (z * y3) - (x * y2)
t_3 = (j * y3) - (k * y2)
t_4 = (x * j) - (z * k)
t_5 = (c * i) * ((z * t) - (x * y))
t_6 = (i * y1) - (b * y0)
t_7 = (y1 * y4) - (y0 * y5)
t_8 = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_7)))
t_9 = j * t_6
t_10 = (t * y2) - (y * y3)
if (c <= (-9.6d+177)) then
tmp = t_5
else if (c <= (-4.2d-159)) then
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * ((b * y4) - (i * y5))) + (x * t_6)))
else if (c <= 8d-288) then
tmp = t_8
else if (c <= 2.3d-256) then
tmp = x * t_9
else if (c <= 3.7d-232) then
tmp = t_8
else if (c <= 5.4d-215) then
tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * t_10) + (y0 * t_3)))
else if (c <= 3d-123) then
tmp = y2 * (((x * t_1) + (k * t_7)) + (t * ((a * y5) - (c * y4))))
else if (c <= 8.2d-82) then
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * t_2) + (y5 * t_10)))
else if (c <= 3.5d+26) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + t_9)
else if (c <= 1.62d+63) then
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_4) + (a * t_2)))
else if (c <= 3.1d+232) then
tmp = y0 * ((c * ((x * y2) - (z * y3))) + ((y5 * t_3) - (b * t_4)))
else
tmp = t_5
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 = (z * y3) - (x * y2);
double t_3 = (j * y3) - (k * y2);
double t_4 = (x * j) - (z * k);
double t_5 = (c * i) * ((z * t) - (x * y));
double t_6 = (i * y1) - (b * y0);
double t_7 = (y1 * y4) - (y0 * y5);
double t_8 = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_7)));
double t_9 = j * t_6;
double t_10 = (t * y2) - (y * y3);
double tmp;
if (c <= -9.6e+177) {
tmp = t_5;
} else if (c <= -4.2e-159) {
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * ((b * y4) - (i * y5))) + (x * t_6)));
} else if (c <= 8e-288) {
tmp = t_8;
} else if (c <= 2.3e-256) {
tmp = x * t_9;
} else if (c <= 3.7e-232) {
tmp = t_8;
} else if (c <= 5.4e-215) {
tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * t_10) + (y0 * t_3)));
} else if (c <= 3e-123) {
tmp = y2 * (((x * t_1) + (k * t_7)) + (t * ((a * y5) - (c * y4))));
} else if (c <= 8.2e-82) {
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * t_2) + (y5 * t_10)));
} else if (c <= 3.5e+26) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + t_9);
} else if (c <= 1.62e+63) {
tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_4) + (a * t_2)));
} else if (c <= 3.1e+232) {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + ((y5 * t_3) - (b * t_4)));
} else {
tmp = t_5;
}
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 = (z * y3) - (x * y2) t_3 = (j * y3) - (k * y2) t_4 = (x * j) - (z * k) t_5 = (c * i) * ((z * t) - (x * y)) t_6 = (i * y1) - (b * y0) t_7 = (y1 * y4) - (y0 * y5) t_8 = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_7))) t_9 = j * t_6 t_10 = (t * y2) - (y * y3) tmp = 0 if c <= -9.6e+177: tmp = t_5 elif c <= -4.2e-159: tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * ((b * y4) - (i * y5))) + (x * t_6))) elif c <= 8e-288: tmp = t_8 elif c <= 2.3e-256: tmp = x * t_9 elif c <= 3.7e-232: tmp = t_8 elif c <= 5.4e-215: tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * t_10) + (y0 * t_3))) elif c <= 3e-123: tmp = y2 * (((x * t_1) + (k * t_7)) + (t * ((a * y5) - (c * y4)))) elif c <= 8.2e-82: tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * t_2) + (y5 * t_10))) elif c <= 3.5e+26: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + t_9) elif c <= 1.62e+63: tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_4) + (a * t_2))) elif c <= 3.1e+232: tmp = y0 * ((c * ((x * y2) - (z * y3))) + ((y5 * t_3) - (b * t_4))) else: tmp = t_5 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(Float64(z * y3) - Float64(x * y2)) t_3 = Float64(Float64(j * y3) - Float64(k * y2)) t_4 = Float64(Float64(x * j) - Float64(z * k)) t_5 = Float64(Float64(c * i) * Float64(Float64(z * t) - Float64(x * y))) t_6 = Float64(Float64(i * y1) - Float64(b * y0)) t_7 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_8 = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(y2 * t_7)))) t_9 = Float64(j * t_6) t_10 = Float64(Float64(t * y2) - Float64(y * y3)) tmp = 0.0 if (c <= -9.6e+177) tmp = t_5; elseif (c <= -4.2e-159) tmp = Float64(j * Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(x * t_6)))); elseif (c <= 8e-288) tmp = t_8; elseif (c <= 2.3e-256) tmp = Float64(x * t_9); elseif (c <= 3.7e-232) tmp = t_8; elseif (c <= 5.4e-215) tmp = Float64(y5 * Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(Float64(a * t_10) + Float64(y0 * t_3)))); elseif (c <= 3e-123) tmp = Float64(y2 * Float64(Float64(Float64(x * t_1) + Float64(k * t_7)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (c <= 8.2e-82) tmp = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(y1 * t_2) + Float64(y5 * t_10)))); elseif (c <= 3.5e+26) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_1)) + t_9)); elseif (c <= 1.62e+63) tmp = Float64(y1 * Float64(Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(Float64(i * t_4) + Float64(a * t_2)))); elseif (c <= 3.1e+232) tmp = Float64(y0 * Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(Float64(y5 * t_3) - Float64(b * t_4)))); else tmp = t_5; 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 = (z * y3) - (x * y2); t_3 = (j * y3) - (k * y2); t_4 = (x * j) - (z * k); t_5 = (c * i) * ((z * t) - (x * y)); t_6 = (i * y1) - (b * y0); t_7 = (y1 * y4) - (y0 * y5); t_8 = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_7))); t_9 = j * t_6; t_10 = (t * y2) - (y * y3); tmp = 0.0; if (c <= -9.6e+177) tmp = t_5; elseif (c <= -4.2e-159) tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * ((b * y4) - (i * y5))) + (x * t_6))); elseif (c <= 8e-288) tmp = t_8; elseif (c <= 2.3e-256) tmp = x * t_9; elseif (c <= 3.7e-232) tmp = t_8; elseif (c <= 5.4e-215) tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * t_10) + (y0 * t_3))); elseif (c <= 3e-123) tmp = y2 * (((x * t_1) + (k * t_7)) + (t * ((a * y5) - (c * y4)))); elseif (c <= 8.2e-82) tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * t_2) + (y5 * t_10))); elseif (c <= 3.5e+26) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + t_9); elseif (c <= 1.62e+63) tmp = y1 * ((y4 * ((k * y2) - (j * y3))) + ((i * t_4) + (a * t_2))); elseif (c <= 3.1e+232) tmp = y0 * ((c * ((x * y2) - (z * y3))) + ((y5 * t_3) - (b * t_4))); else tmp = t_5; 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[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * i), $MachinePrecision] * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(j * t$95$6), $MachinePrecision]}, Block[{t$95$10 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -9.6e+177], t$95$5, If[LessEqual[c, -4.2e-159], N[(j * N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 8e-288], t$95$8, If[LessEqual[c, 2.3e-256], N[(x * t$95$9), $MachinePrecision], If[LessEqual[c, 3.7e-232], t$95$8, If[LessEqual[c, 5.4e-215], N[(y5 * N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(a * t$95$10), $MachinePrecision] + N[(y0 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3e-123], N[(y2 * N[(N[(N[(x * t$95$1), $MachinePrecision] + N[(k * t$95$7), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 8.2e-82], N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y1 * t$95$2), $MachinePrecision] + N[(y5 * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.5e+26], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$9), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.62e+63], N[(y1 * N[(N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * t$95$4), $MachinePrecision] + N[(a * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 3.1e+232], N[(y0 * N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y5 * t$95$3), $MachinePrecision] - N[(b * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$5]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y0 - a \cdot y1\\
t_2 := z \cdot y3 - x \cdot y2\\
t_3 := j \cdot y3 - k \cdot y2\\
t_4 := x \cdot j - z \cdot k\\
t_5 := \left(c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\\
t_6 := i \cdot y1 - b \cdot y0\\
t_7 := y1 \cdot y4 - y0 \cdot y5\\
t_8 := k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + y2 \cdot t_7\right)\right)\\
t_9 := j \cdot t_6\\
t_10 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;c \leq -9.6 \cdot 10^{+177}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;c \leq -4.2 \cdot 10^{-159}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + \left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + x \cdot t_6\right)\right)\\
\mathbf{elif}\;c \leq 8 \cdot 10^{-288}:\\
\;\;\;\;t_8\\
\mathbf{elif}\;c \leq 2.3 \cdot 10^{-256}:\\
\;\;\;\;x \cdot t_9\\
\mathbf{elif}\;c \leq 3.7 \cdot 10^{-232}:\\
\;\;\;\;t_8\\
\mathbf{elif}\;c \leq 5.4 \cdot 10^{-215}:\\
\;\;\;\;y5 \cdot \left(i \cdot \left(y \cdot k - t \cdot j\right) + \left(a \cdot t_10 + y0 \cdot t_3\right)\right)\\
\mathbf{elif}\;c \leq 3 \cdot 10^{-123}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot t_1 + k \cdot t_7\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq 8.2 \cdot 10^{-82}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) + \left(y1 \cdot t_2 + y5 \cdot t_10\right)\right)\\
\mathbf{elif}\;c \leq 3.5 \cdot 10^{+26}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t_1\right) + t_9\right)\\
\mathbf{elif}\;c \leq 1.62 \cdot 10^{+63}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right) + \left(i \cdot t_4 + a \cdot t_2\right)\right)\\
\mathbf{elif}\;c \leq 3.1 \cdot 10^{+232}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + \left(y5 \cdot t_3 - b \cdot t_4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_5\\
\end{array}
\end{array}
if c < -9.6000000000000001e177 or 3.09999999999999983e232 < c Initial program 30.0%
Simplified30.0%
Taylor expanded in c around inf 61.3%
associate--l+61.3%
*-commutative61.3%
mul-1-neg61.3%
*-commutative61.3%
*-commutative61.3%
Simplified61.3%
Taylor expanded in i around inf 63.9%
associate-*r*67.7%
*-commutative67.7%
*-commutative67.7%
Simplified67.7%
if -9.6000000000000001e177 < c < -4.1999999999999998e-159Initial program 37.1%
Simplified37.1%
Taylor expanded in j around inf 55.2%
associate--l+55.2%
mul-1-neg55.2%
*-commutative55.2%
*-commutative55.2%
*-commutative55.2%
Simplified55.2%
if -4.1999999999999998e-159 < c < 8.00000000000000046e-288 or 2.3e-256 < c < 3.69999999999999979e-232Initial program 33.7%
Simplified33.7%
Taylor expanded in k around inf 62.5%
mul-1-neg62.5%
*-commutative62.5%
*-commutative62.5%
*-commutative62.5%
*-commutative62.5%
Simplified62.5%
if 8.00000000000000046e-288 < c < 2.3e-256Initial program 42.9%
Simplified42.9%
Taylor expanded in x around inf 85.8%
Taylor expanded in j around inf 85.9%
if 3.69999999999999979e-232 < c < 5.40000000000000035e-215Initial program 28.6%
Simplified28.6%
Taylor expanded in y5 around -inf 72.8%
mul-1-neg72.8%
associate--l+72.8%
*-commutative72.8%
Simplified72.8%
if 5.40000000000000035e-215 < c < 2.99999999999999984e-123Initial program 30.8%
Simplified30.8%
Taylor expanded in y2 around inf 71.4%
if 2.99999999999999984e-123 < c < 8.19999999999999992e-82Initial program 15.4%
Simplified15.4%
Taylor expanded in a around inf 54.7%
*-commutative54.7%
associate--l+54.7%
associate-*r*54.7%
*-commutative54.7%
associate-*r*54.7%
Simplified54.7%
if 8.19999999999999992e-82 < c < 3.4999999999999999e26Initial program 35.7%
Simplified35.7%
Taylor expanded in x around inf 65.2%
if 3.4999999999999999e26 < c < 1.62e63Initial program 50.0%
Simplified50.0%
Taylor expanded in y1 around inf 87.5%
associate--l+87.5%
*-commutative87.5%
*-commutative87.5%
*-commutative87.5%
sub-neg87.5%
mul-1-neg87.5%
distribute-lft-out--87.5%
Simplified87.5%
if 1.62e63 < c < 3.09999999999999983e232Initial program 16.4%
Simplified32.5%
Taylor expanded in y0 around inf 61.8%
*-commutative61.8%
*-commutative61.8%
mul-1-neg61.8%
*-commutative61.8%
*-commutative61.8%
Simplified61.8%
Final simplification63.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y4
(+
(+ (* y1 (- (* k y2) (* j y3))) (* b (- (* t j) (* y k))))
(* c (- (* y y3) (* t y2))))))
(t_2 (* z (* b (- (* k y0) (* t a)))))
(t_3 (* (- (* t c) (* k y1)) (* z i))))
(if (<= b -1.26e+197)
t_2
(if (<= b -1.2e-35)
t_1
(if (<= b -1.45e-89)
(* y1 (* i (* x j)))
(if (<= b -1.12e-164)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= b -8e-212)
(* (* c i) (- (* z t) (* x y)))
(if (<= b 4.3e-305)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= b 85000.0)
t_3
(if (<= b 3e+40)
(* x (* j (- (* i y1) (* b y0))))
(if (<= b 6.8e+72)
t_3
(if (<= b 7.5e+172) 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 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2))));
double t_2 = z * (b * ((k * y0) - (t * a)));
double t_3 = ((t * c) - (k * y1)) * (z * i);
double tmp;
if (b <= -1.26e+197) {
tmp = t_2;
} else if (b <= -1.2e-35) {
tmp = t_1;
} else if (b <= -1.45e-89) {
tmp = y1 * (i * (x * j));
} else if (b <= -1.12e-164) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= -8e-212) {
tmp = (c * i) * ((z * t) - (x * y));
} else if (b <= 4.3e-305) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (b <= 85000.0) {
tmp = t_3;
} else if (b <= 3e+40) {
tmp = x * (j * ((i * y1) - (b * y0)));
} else if (b <= 6.8e+72) {
tmp = t_3;
} else if (b <= 7.5e+172) {
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) :: t_3
real(8) :: tmp
t_1 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2))))
t_2 = z * (b * ((k * y0) - (t * a)))
t_3 = ((t * c) - (k * y1)) * (z * i)
if (b <= (-1.26d+197)) then
tmp = t_2
else if (b <= (-1.2d-35)) then
tmp = t_1
else if (b <= (-1.45d-89)) then
tmp = y1 * (i * (x * j))
else if (b <= (-1.12d-164)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (b <= (-8d-212)) then
tmp = (c * i) * ((z * t) - (x * y))
else if (b <= 4.3d-305) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (b <= 85000.0d0) then
tmp = t_3
else if (b <= 3d+40) then
tmp = x * (j * ((i * y1) - (b * y0)))
else if (b <= 6.8d+72) then
tmp = t_3
else if (b <= 7.5d+172) 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 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2))));
double t_2 = z * (b * ((k * y0) - (t * a)));
double t_3 = ((t * c) - (k * y1)) * (z * i);
double tmp;
if (b <= -1.26e+197) {
tmp = t_2;
} else if (b <= -1.2e-35) {
tmp = t_1;
} else if (b <= -1.45e-89) {
tmp = y1 * (i * (x * j));
} else if (b <= -1.12e-164) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= -8e-212) {
tmp = (c * i) * ((z * t) - (x * y));
} else if (b <= 4.3e-305) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (b <= 85000.0) {
tmp = t_3;
} else if (b <= 3e+40) {
tmp = x * (j * ((i * y1) - (b * y0)));
} else if (b <= 6.8e+72) {
tmp = t_3;
} else if (b <= 7.5e+172) {
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 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2)))) t_2 = z * (b * ((k * y0) - (t * a))) t_3 = ((t * c) - (k * y1)) * (z * i) tmp = 0 if b <= -1.26e+197: tmp = t_2 elif b <= -1.2e-35: tmp = t_1 elif b <= -1.45e-89: tmp = y1 * (i * (x * j)) elif b <= -1.12e-164: tmp = c * (y0 * ((x * y2) - (z * y3))) elif b <= -8e-212: tmp = (c * i) * ((z * t) - (x * y)) elif b <= 4.3e-305: tmp = a * (y5 * ((t * y2) - (y * y3))) elif b <= 85000.0: tmp = t_3 elif b <= 3e+40: tmp = x * (j * ((i * y1) - (b * y0))) elif b <= 6.8e+72: tmp = t_3 elif b <= 7.5e+172: 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(y4 * Float64(Float64(Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) + Float64(b * Float64(Float64(t * j) - Float64(y * k)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) t_2 = Float64(z * Float64(b * Float64(Float64(k * y0) - Float64(t * a)))) t_3 = Float64(Float64(Float64(t * c) - Float64(k * y1)) * Float64(z * i)) tmp = 0.0 if (b <= -1.26e+197) tmp = t_2; elseif (b <= -1.2e-35) tmp = t_1; elseif (b <= -1.45e-89) tmp = Float64(y1 * Float64(i * Float64(x * j))); elseif (b <= -1.12e-164) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (b <= -8e-212) tmp = Float64(Float64(c * i) * Float64(Float64(z * t) - Float64(x * y))); elseif (b <= 4.3e-305) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (b <= 85000.0) tmp = t_3; elseif (b <= 3e+40) tmp = Float64(x * Float64(j * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (b <= 6.8e+72) tmp = t_3; elseif (b <= 7.5e+172) 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 = y4 * (((y1 * ((k * y2) - (j * y3))) + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2)))); t_2 = z * (b * ((k * y0) - (t * a))); t_3 = ((t * c) - (k * y1)) * (z * i); tmp = 0.0; if (b <= -1.26e+197) tmp = t_2; elseif (b <= -1.2e-35) tmp = t_1; elseif (b <= -1.45e-89) tmp = y1 * (i * (x * j)); elseif (b <= -1.12e-164) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (b <= -8e-212) tmp = (c * i) * ((z * t) - (x * y)); elseif (b <= 4.3e-305) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (b <= 85000.0) tmp = t_3; elseif (b <= 3e+40) tmp = x * (j * ((i * y1) - (b * y0))); elseif (b <= 6.8e+72) tmp = t_3; elseif (b <= 7.5e+172) 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[(y4 * N[(N[(N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(b * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision] * N[(z * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.26e+197], t$95$2, If[LessEqual[b, -1.2e-35], t$95$1, If[LessEqual[b, -1.45e-89], N[(y1 * N[(i * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.12e-164], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -8e-212], N[(N[(c * i), $MachinePrecision] * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.3e-305], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 85000.0], t$95$3, If[LessEqual[b, 3e+40], N[(x * N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 6.8e+72], t$95$3, If[LessEqual[b, 7.5e+172], t$95$1, t$95$2]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y4 \cdot \left(\left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right) + b \cdot \left(t \cdot j - y \cdot k\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
t_2 := z \cdot \left(b \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
t_3 := \left(t \cdot c - k \cdot y1\right) \cdot \left(z \cdot i\right)\\
\mathbf{if}\;b \leq -1.26 \cdot 10^{+197}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq -1.2 \cdot 10^{-35}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq -1.45 \cdot 10^{-89}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;b \leq -1.12 \cdot 10^{-164}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq -8 \cdot 10^{-212}:\\
\;\;\;\;\left(c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\\
\mathbf{elif}\;b \leq 4.3 \cdot 10^{-305}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq 85000:\\
\;\;\;\;t_3\\
\mathbf{elif}\;b \leq 3 \cdot 10^{+40}:\\
\;\;\;\;x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;b \leq 6.8 \cdot 10^{+72}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;b \leq 7.5 \cdot 10^{+172}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if b < -1.26e197 or 7.4999999999999994e172 < b Initial program 19.3%
Simplified19.3%
Taylor expanded in z around -inf 38.3%
Taylor expanded in b around inf 65.9%
if -1.26e197 < b < -1.2000000000000001e-35 or 6.7999999999999997e72 < b < 7.4999999999999994e172Initial program 32.1%
Simplified32.1%
Taylor expanded in y4 around inf 53.3%
if -1.2000000000000001e-35 < b < -1.44999999999999996e-89Initial program 16.7%
Simplified16.7%
Taylor expanded in j around inf 51.1%
associate--l+51.1%
mul-1-neg51.1%
*-commutative51.1%
*-commutative51.1%
*-commutative51.1%
Simplified51.1%
Taylor expanded in i around -inf 51.4%
associate-*r*51.4%
neg-mul-151.4%
*-commutative51.4%
*-commutative51.4%
Simplified51.4%
Taylor expanded in t around 0 59.7%
if -1.44999999999999996e-89 < b < -1.12e-164Initial program 38.5%
Simplified38.5%
Taylor expanded in c around inf 47.5%
associate--l+47.5%
*-commutative47.5%
mul-1-neg47.5%
*-commutative47.5%
*-commutative47.5%
Simplified47.5%
Taylor expanded in y0 around -inf 70.2%
if -1.12e-164 < b < -7.99999999999999963e-212Initial program 38.0%
Simplified38.0%
Taylor expanded in c around inf 87.5%
associate--l+87.5%
*-commutative87.5%
mul-1-neg87.5%
*-commutative87.5%
*-commutative87.5%
Simplified87.5%
Taylor expanded in i around inf 75.5%
associate-*r*75.5%
*-commutative75.5%
*-commutative75.5%
Simplified75.5%
if -7.99999999999999963e-212 < b < 4.3000000000000002e-305Initial program 28.2%
Simplified28.2%
Taylor expanded in y5 around inf 39.6%
mul-1-neg39.6%
Simplified39.6%
Taylor expanded in a around inf 56.0%
*-commutative56.0%
*-commutative56.0%
Simplified56.0%
if 4.3000000000000002e-305 < b < 85000 or 3.0000000000000002e40 < b < 6.7999999999999997e72Initial program 42.6%
Simplified42.6%
Taylor expanded in z around -inf 56.6%
Taylor expanded in i around -inf 49.3%
if 85000 < b < 3.0000000000000002e40Initial program 33.3%
Simplified33.3%
Taylor expanded in x around inf 56.0%
Taylor expanded in j around inf 57.6%
Final simplification57.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* i y1) (* b y0)))
(t_2 (- (* y1 y4) (* y0 y5)))
(t_3
(*
k
(+
(* y (- (* i y5) (* b y4)))
(+ (* z (- (* b y0) (* i y1))) (* y2 t_2)))))
(t_4 (- (* z t) (* x y)))
(t_5 (- (* c y0) (* a y1)))
(t_6 (* j t_1))
(t_7 (- (* t y2) (* y y3))))
(if (<= c -5e+177)
(* (* c i) t_4)
(if (<= c -7.2e-159)
(*
j
(+
(* y3 (- (* y0 y5) (* y1 y4)))
(+ (* t (- (* b y4) (* i y5))) (* x t_1))))
(if (<= c 2.25e-290)
t_3
(if (<= c 4.1e-256)
(* x t_6)
(if (<= c 4.4e-232)
t_3
(if (<= c 1.55e-209)
(*
y5
(+
(* i (- (* y k) (* t j)))
(+ (* a t_7) (* y0 (- (* j y3) (* k y2))))))
(if (<= c 2e-123)
(* y2 (+ (+ (* x t_5) (* k t_2)) (* t (- (* a y5) (* c y4)))))
(if (<= c 7.5e-82)
(*
a
(+
(* b (- (* x y) (* z t)))
(+ (* y1 (- (* z y3) (* x y2))) (* y5 t_7))))
(if (<= c 4.3e+27)
(* x (+ (+ (* y (- (* a b) (* c i))) (* y2 t_5)) t_6))
(*
c
(+
(* i t_4)
(+
(* y0 (- (* x y2) (* z y3)))
(* y4 (- (* y y3) (* t y2)))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (i * y1) - (b * y0);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_2)));
double t_4 = (z * t) - (x * y);
double t_5 = (c * y0) - (a * y1);
double t_6 = j * t_1;
double t_7 = (t * y2) - (y * y3);
double tmp;
if (c <= -5e+177) {
tmp = (c * i) * t_4;
} else if (c <= -7.2e-159) {
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * ((b * y4) - (i * y5))) + (x * t_1)));
} else if (c <= 2.25e-290) {
tmp = t_3;
} else if (c <= 4.1e-256) {
tmp = x * t_6;
} else if (c <= 4.4e-232) {
tmp = t_3;
} else if (c <= 1.55e-209) {
tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * t_7) + (y0 * ((j * y3) - (k * y2)))));
} else if (c <= 2e-123) {
tmp = y2 * (((x * t_5) + (k * t_2)) + (t * ((a * y5) - (c * y4))));
} else if (c <= 7.5e-82) {
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * ((z * y3) - (x * y2))) + (y5 * t_7)));
} else if (c <= 4.3e+27) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + t_6);
} else {
tmp = c * ((i * t_4) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: 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 = (i * y1) - (b * y0)
t_2 = (y1 * y4) - (y0 * y5)
t_3 = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_2)))
t_4 = (z * t) - (x * y)
t_5 = (c * y0) - (a * y1)
t_6 = j * t_1
t_7 = (t * y2) - (y * y3)
if (c <= (-5d+177)) then
tmp = (c * i) * t_4
else if (c <= (-7.2d-159)) then
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * ((b * y4) - (i * y5))) + (x * t_1)))
else if (c <= 2.25d-290) then
tmp = t_3
else if (c <= 4.1d-256) then
tmp = x * t_6
else if (c <= 4.4d-232) then
tmp = t_3
else if (c <= 1.55d-209) then
tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * t_7) + (y0 * ((j * y3) - (k * y2)))))
else if (c <= 2d-123) then
tmp = y2 * (((x * t_5) + (k * t_2)) + (t * ((a * y5) - (c * y4))))
else if (c <= 7.5d-82) then
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * ((z * y3) - (x * y2))) + (y5 * t_7)))
else if (c <= 4.3d+27) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + t_6)
else
tmp = c * ((i * t_4) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (i * y1) - (b * y0);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_2)));
double t_4 = (z * t) - (x * y);
double t_5 = (c * y0) - (a * y1);
double t_6 = j * t_1;
double t_7 = (t * y2) - (y * y3);
double tmp;
if (c <= -5e+177) {
tmp = (c * i) * t_4;
} else if (c <= -7.2e-159) {
tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * ((b * y4) - (i * y5))) + (x * t_1)));
} else if (c <= 2.25e-290) {
tmp = t_3;
} else if (c <= 4.1e-256) {
tmp = x * t_6;
} else if (c <= 4.4e-232) {
tmp = t_3;
} else if (c <= 1.55e-209) {
tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * t_7) + (y0 * ((j * y3) - (k * y2)))));
} else if (c <= 2e-123) {
tmp = y2 * (((x * t_5) + (k * t_2)) + (t * ((a * y5) - (c * y4))));
} else if (c <= 7.5e-82) {
tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * ((z * y3) - (x * y2))) + (y5 * t_7)));
} else if (c <= 4.3e+27) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + t_6);
} else {
tmp = c * ((i * t_4) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (i * y1) - (b * y0) t_2 = (y1 * y4) - (y0 * y5) t_3 = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_2))) t_4 = (z * t) - (x * y) t_5 = (c * y0) - (a * y1) t_6 = j * t_1 t_7 = (t * y2) - (y * y3) tmp = 0 if c <= -5e+177: tmp = (c * i) * t_4 elif c <= -7.2e-159: tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * ((b * y4) - (i * y5))) + (x * t_1))) elif c <= 2.25e-290: tmp = t_3 elif c <= 4.1e-256: tmp = x * t_6 elif c <= 4.4e-232: tmp = t_3 elif c <= 1.55e-209: tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * t_7) + (y0 * ((j * y3) - (k * y2))))) elif c <= 2e-123: tmp = y2 * (((x * t_5) + (k * t_2)) + (t * ((a * y5) - (c * y4)))) elif c <= 7.5e-82: tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * ((z * y3) - (x * y2))) + (y5 * t_7))) elif c <= 4.3e+27: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + t_6) else: tmp = c * ((i * t_4) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(i * y1) - Float64(b * y0)) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_3 = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(y2 * t_2)))) t_4 = Float64(Float64(z * t) - Float64(x * y)) t_5 = Float64(Float64(c * y0) - Float64(a * y1)) t_6 = Float64(j * t_1) t_7 = Float64(Float64(t * y2) - Float64(y * y3)) tmp = 0.0 if (c <= -5e+177) tmp = Float64(Float64(c * i) * t_4); elseif (c <= -7.2e-159) tmp = Float64(j * Float64(Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4))) + Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(x * t_1)))); elseif (c <= 2.25e-290) tmp = t_3; elseif (c <= 4.1e-256) tmp = Float64(x * t_6); elseif (c <= 4.4e-232) tmp = t_3; elseif (c <= 1.55e-209) tmp = Float64(y5 * Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(Float64(a * t_7) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))); elseif (c <= 2e-123) tmp = Float64(y2 * Float64(Float64(Float64(x * t_5) + Float64(k * t_2)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (c <= 7.5e-82) tmp = Float64(a * Float64(Float64(b * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y5 * t_7)))); elseif (c <= 4.3e+27) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_5)) + t_6)); else tmp = Float64(c * Float64(Float64(i * t_4) + Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (i * y1) - (b * y0); t_2 = (y1 * y4) - (y0 * y5); t_3 = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_2))); t_4 = (z * t) - (x * y); t_5 = (c * y0) - (a * y1); t_6 = j * t_1; t_7 = (t * y2) - (y * y3); tmp = 0.0; if (c <= -5e+177) tmp = (c * i) * t_4; elseif (c <= -7.2e-159) tmp = j * ((y3 * ((y0 * y5) - (y1 * y4))) + ((t * ((b * y4) - (i * y5))) + (x * t_1))); elseif (c <= 2.25e-290) tmp = t_3; elseif (c <= 4.1e-256) tmp = x * t_6; elseif (c <= 4.4e-232) tmp = t_3; elseif (c <= 1.55e-209) tmp = y5 * ((i * ((y * k) - (t * j))) + ((a * t_7) + (y0 * ((j * y3) - (k * y2))))); elseif (c <= 2e-123) tmp = y2 * (((x * t_5) + (k * t_2)) + (t * ((a * y5) - (c * y4)))); elseif (c <= 7.5e-82) tmp = a * ((b * ((x * y) - (z * t))) + ((y1 * ((z * y3) - (x * y2))) + (y5 * t_7))); elseif (c <= 4.3e+27) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + t_6); else tmp = c * ((i * t_4) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(j * t$95$1), $MachinePrecision]}, Block[{t$95$7 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -5e+177], N[(N[(c * i), $MachinePrecision] * t$95$4), $MachinePrecision], If[LessEqual[c, -7.2e-159], N[(j * N[(N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.25e-290], t$95$3, If[LessEqual[c, 4.1e-256], N[(x * t$95$6), $MachinePrecision], If[LessEqual[c, 4.4e-232], t$95$3, If[LessEqual[c, 1.55e-209], N[(y5 * N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(a * t$95$7), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2e-123], N[(y2 * N[(N[(N[(x * t$95$5), $MachinePrecision] + N[(k * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7.5e-82], N[(a * N[(N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.3e+27], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$5), $MachinePrecision]), $MachinePrecision] + t$95$6), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(i * t$95$4), $MachinePrecision] + N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot y1 - b \cdot y0\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + y2 \cdot t_2\right)\right)\\
t_4 := z \cdot t - x \cdot y\\
t_5 := c \cdot y0 - a \cdot y1\\
t_6 := j \cdot t_1\\
t_7 := t \cdot y2 - y \cdot y3\\
\mathbf{if}\;c \leq -5 \cdot 10^{+177}:\\
\;\;\;\;\left(c \cdot i\right) \cdot t_4\\
\mathbf{elif}\;c \leq -7.2 \cdot 10^{-159}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right) + \left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + x \cdot t_1\right)\right)\\
\mathbf{elif}\;c \leq 2.25 \cdot 10^{-290}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq 4.1 \cdot 10^{-256}:\\
\;\;\;\;x \cdot t_6\\
\mathbf{elif}\;c \leq 4.4 \cdot 10^{-232}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;c \leq 1.55 \cdot 10^{-209}:\\
\;\;\;\;y5 \cdot \left(i \cdot \left(y \cdot k - t \cdot j\right) + \left(a \cdot t_7 + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
\mathbf{elif}\;c \leq 2 \cdot 10^{-123}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot t_5 + k \cdot t_2\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq 7.5 \cdot 10^{-82}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right) + \left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right) + y5 \cdot t_7\right)\right)\\
\mathbf{elif}\;c \leq 4.3 \cdot 10^{+27}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t_5\right) + t_6\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(i \cdot t_4 + \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\
\end{array}
\end{array}
if c < -5.0000000000000003e177Initial program 31.0%
Simplified31.0%
Taylor expanded in c around inf 67.6%
associate--l+67.6%
*-commutative67.6%
mul-1-neg67.6%
*-commutative67.6%
*-commutative67.6%
Simplified67.6%
Taylor expanded in i around inf 71.7%
associate-*r*74.9%
*-commutative74.9%
*-commutative74.9%
Simplified74.9%
if -5.0000000000000003e177 < c < -7.20000000000000042e-159Initial program 37.1%
Simplified37.1%
Taylor expanded in j around inf 55.2%
associate--l+55.2%
mul-1-neg55.2%
*-commutative55.2%
*-commutative55.2%
*-commutative55.2%
Simplified55.2%
if -7.20000000000000042e-159 < c < 2.25e-290 or 4.1e-256 < c < 4.40000000000000004e-232Initial program 33.7%
Simplified33.7%
Taylor expanded in k around inf 62.5%
mul-1-neg62.5%
*-commutative62.5%
*-commutative62.5%
*-commutative62.5%
*-commutative62.5%
Simplified62.5%
if 2.25e-290 < c < 4.1e-256Initial program 42.9%
Simplified42.9%
Taylor expanded in x around inf 85.8%
Taylor expanded in j around inf 85.9%
if 4.40000000000000004e-232 < c < 1.55e-209Initial program 28.6%
Simplified28.6%
Taylor expanded in y5 around -inf 72.8%
mul-1-neg72.8%
associate--l+72.8%
*-commutative72.8%
Simplified72.8%
if 1.55e-209 < c < 2.0000000000000001e-123Initial program 30.8%
Simplified30.8%
Taylor expanded in y2 around inf 71.4%
if 2.0000000000000001e-123 < c < 7.4999999999999997e-82Initial program 15.4%
Simplified15.4%
Taylor expanded in a around inf 54.7%
*-commutative54.7%
associate--l+54.7%
associate-*r*54.7%
*-commutative54.7%
associate-*r*54.7%
Simplified54.7%
if 7.4999999999999997e-82 < c < 4.30000000000000008e27Initial program 35.7%
Simplified35.7%
Taylor expanded in x around inf 65.2%
if 4.30000000000000008e27 < c Initial program 25.1%
Simplified25.1%
Taylor expanded in c around inf 53.7%
associate--l+53.7%
*-commutative53.7%
mul-1-neg53.7%
*-commutative53.7%
*-commutative53.7%
Simplified53.7%
Final simplification61.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y0 y5) (* y1 y4)))
(t_2 (- (* z t) (* x y)))
(t_3 (- (* c y0) (* a y1)))
(t_4 (- (* i y1) (* b y0)))
(t_5 (* j t_4))
(t_6 (- (* y1 y4) (* y0 y5))))
(if (<= c -1.25e+178)
(* (* c i) t_2)
(if (<= c -3.6e-159)
(* j (+ (* y3 t_1) (+ (* t (- (* b y4) (* i y5))) (* x t_4))))
(if (<= c 2.05e-286)
(*
k
(+
(* y (- (* i y5) (* b y4)))
(+ (* z (- (* b y0) (* i y1))) (* y2 t_6))))
(if (<= c 4.2e-256)
(* x t_5)
(if (<= c 7.1e-230)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= c 4.5e-119)
(* y2 (+ (+ (* x t_3) (* k t_6)) (* t (- (* a y5) (* c y4)))))
(if (<= c 6.8e-81)
(* y3 (* j t_1))
(if (<= c 1e+27)
(* x (+ (+ (* y (- (* a b) (* c i))) (* y2 t_3)) t_5))
(*
c
(+
(* i t_2)
(+
(* y0 (- (* x y2) (* z y3)))
(* y4 (- (* y y3) (* t y2))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y5) - (y1 * y4);
double t_2 = (z * t) - (x * y);
double t_3 = (c * y0) - (a * y1);
double t_4 = (i * y1) - (b * y0);
double t_5 = j * t_4;
double t_6 = (y1 * y4) - (y0 * y5);
double tmp;
if (c <= -1.25e+178) {
tmp = (c * i) * t_2;
} else if (c <= -3.6e-159) {
tmp = j * ((y3 * t_1) + ((t * ((b * y4) - (i * y5))) + (x * t_4)));
} else if (c <= 2.05e-286) {
tmp = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_6)));
} else if (c <= 4.2e-256) {
tmp = x * t_5;
} else if (c <= 7.1e-230) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= 4.5e-119) {
tmp = y2 * (((x * t_3) + (k * t_6)) + (t * ((a * y5) - (c * y4))));
} else if (c <= 6.8e-81) {
tmp = y3 * (j * t_1);
} else if (c <= 1e+27) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + t_5);
} else {
tmp = c * ((i * t_2) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: tmp
t_1 = (y0 * y5) - (y1 * y4)
t_2 = (z * t) - (x * y)
t_3 = (c * y0) - (a * y1)
t_4 = (i * y1) - (b * y0)
t_5 = j * t_4
t_6 = (y1 * y4) - (y0 * y5)
if (c <= (-1.25d+178)) then
tmp = (c * i) * t_2
else if (c <= (-3.6d-159)) then
tmp = j * ((y3 * t_1) + ((t * ((b * y4) - (i * y5))) + (x * t_4)))
else if (c <= 2.05d-286) then
tmp = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_6)))
else if (c <= 4.2d-256) then
tmp = x * t_5
else if (c <= 7.1d-230) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (c <= 4.5d-119) then
tmp = y2 * (((x * t_3) + (k * t_6)) + (t * ((a * y5) - (c * y4))))
else if (c <= 6.8d-81) then
tmp = y3 * (j * t_1)
else if (c <= 1d+27) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + t_5)
else
tmp = c * ((i * t_2) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y0 * y5) - (y1 * y4);
double t_2 = (z * t) - (x * y);
double t_3 = (c * y0) - (a * y1);
double t_4 = (i * y1) - (b * y0);
double t_5 = j * t_4;
double t_6 = (y1 * y4) - (y0 * y5);
double tmp;
if (c <= -1.25e+178) {
tmp = (c * i) * t_2;
} else if (c <= -3.6e-159) {
tmp = j * ((y3 * t_1) + ((t * ((b * y4) - (i * y5))) + (x * t_4)));
} else if (c <= 2.05e-286) {
tmp = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_6)));
} else if (c <= 4.2e-256) {
tmp = x * t_5;
} else if (c <= 7.1e-230) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (c <= 4.5e-119) {
tmp = y2 * (((x * t_3) + (k * t_6)) + (t * ((a * y5) - (c * y4))));
} else if (c <= 6.8e-81) {
tmp = y3 * (j * t_1);
} else if (c <= 1e+27) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + t_5);
} else {
tmp = c * ((i * t_2) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y0 * y5) - (y1 * y4) t_2 = (z * t) - (x * y) t_3 = (c * y0) - (a * y1) t_4 = (i * y1) - (b * y0) t_5 = j * t_4 t_6 = (y1 * y4) - (y0 * y5) tmp = 0 if c <= -1.25e+178: tmp = (c * i) * t_2 elif c <= -3.6e-159: tmp = j * ((y3 * t_1) + ((t * ((b * y4) - (i * y5))) + (x * t_4))) elif c <= 2.05e-286: tmp = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_6))) elif c <= 4.2e-256: tmp = x * t_5 elif c <= 7.1e-230: tmp = a * (y5 * ((t * y2) - (y * y3))) elif c <= 4.5e-119: tmp = y2 * (((x * t_3) + (k * t_6)) + (t * ((a * y5) - (c * y4)))) elif c <= 6.8e-81: tmp = y3 * (j * t_1) elif c <= 1e+27: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + t_5) else: tmp = c * ((i * t_2) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y0 * y5) - Float64(y1 * y4)) t_2 = Float64(Float64(z * t) - Float64(x * y)) t_3 = Float64(Float64(c * y0) - Float64(a * y1)) t_4 = Float64(Float64(i * y1) - Float64(b * y0)) t_5 = Float64(j * t_4) t_6 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) tmp = 0.0 if (c <= -1.25e+178) tmp = Float64(Float64(c * i) * t_2); elseif (c <= -3.6e-159) tmp = Float64(j * Float64(Float64(y3 * t_1) + Float64(Float64(t * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(x * t_4)))); elseif (c <= 2.05e-286) tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(y2 * t_6)))); elseif (c <= 4.2e-256) tmp = Float64(x * t_5); elseif (c <= 7.1e-230) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (c <= 4.5e-119) tmp = Float64(y2 * Float64(Float64(Float64(x * t_3) + Float64(k * t_6)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (c <= 6.8e-81) tmp = Float64(y3 * Float64(j * t_1)); elseif (c <= 1e+27) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_3)) + t_5)); else tmp = Float64(c * Float64(Float64(i * t_2) + Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y0 * y5) - (y1 * y4); t_2 = (z * t) - (x * y); t_3 = (c * y0) - (a * y1); t_4 = (i * y1) - (b * y0); t_5 = j * t_4; t_6 = (y1 * y4) - (y0 * y5); tmp = 0.0; if (c <= -1.25e+178) tmp = (c * i) * t_2; elseif (c <= -3.6e-159) tmp = j * ((y3 * t_1) + ((t * ((b * y4) - (i * y5))) + (x * t_4))); elseif (c <= 2.05e-286) tmp = k * ((y * ((i * y5) - (b * y4))) + ((z * ((b * y0) - (i * y1))) + (y2 * t_6))); elseif (c <= 4.2e-256) tmp = x * t_5; elseif (c <= 7.1e-230) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (c <= 4.5e-119) tmp = y2 * (((x * t_3) + (k * t_6)) + (t * ((a * y5) - (c * y4)))); elseif (c <= 6.8e-81) tmp = y3 * (j * t_1); elseif (c <= 1e+27) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + t_5); else tmp = c * ((i * t_2) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(j * t$95$4), $MachinePrecision]}, Block[{t$95$6 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.25e+178], N[(N[(c * i), $MachinePrecision] * t$95$2), $MachinePrecision], If[LessEqual[c, -3.6e-159], N[(j * N[(N[(y3 * t$95$1), $MachinePrecision] + N[(N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.05e-286], N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.2e-256], N[(x * t$95$5), $MachinePrecision], If[LessEqual[c, 7.1e-230], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 4.5e-119], N[(y2 * N[(N[(N[(x * t$95$3), $MachinePrecision] + N[(k * t$95$6), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.8e-81], N[(y3 * N[(j * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1e+27], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$3), $MachinePrecision]), $MachinePrecision] + t$95$5), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(i * t$95$2), $MachinePrecision] + N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot y5 - y1 \cdot y4\\
t_2 := z \cdot t - x \cdot y\\
t_3 := c \cdot y0 - a \cdot y1\\
t_4 := i \cdot y1 - b \cdot y0\\
t_5 := j \cdot t_4\\
t_6 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;c \leq -1.25 \cdot 10^{+178}:\\
\;\;\;\;\left(c \cdot i\right) \cdot t_2\\
\mathbf{elif}\;c \leq -3.6 \cdot 10^{-159}:\\
\;\;\;\;j \cdot \left(y3 \cdot t_1 + \left(t \cdot \left(b \cdot y4 - i \cdot y5\right) + x \cdot t_4\right)\right)\\
\mathbf{elif}\;c \leq 2.05 \cdot 10^{-286}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) + y2 \cdot t_6\right)\right)\\
\mathbf{elif}\;c \leq 4.2 \cdot 10^{-256}:\\
\;\;\;\;x \cdot t_5\\
\mathbf{elif}\;c \leq 7.1 \cdot 10^{-230}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq 4.5 \cdot 10^{-119}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot t_3 + k \cdot t_6\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;c \leq 6.8 \cdot 10^{-81}:\\
\;\;\;\;y3 \cdot \left(j \cdot t_1\right)\\
\mathbf{elif}\;c \leq 10^{+27}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t_3\right) + t_5\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(i \cdot t_2 + \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\
\end{array}
\end{array}
if c < -1.24999999999999998e178Initial program 31.0%
Simplified31.0%
Taylor expanded in c around inf 67.6%
associate--l+67.6%
*-commutative67.6%
mul-1-neg67.6%
*-commutative67.6%
*-commutative67.6%
Simplified67.6%
Taylor expanded in i around inf 71.7%
associate-*r*74.9%
*-commutative74.9%
*-commutative74.9%
Simplified74.9%
if -1.24999999999999998e178 < c < -3.60000000000000021e-159Initial program 37.1%
Simplified37.1%
Taylor expanded in j around inf 55.2%
associate--l+55.2%
mul-1-neg55.2%
*-commutative55.2%
*-commutative55.2%
*-commutative55.2%
Simplified55.2%
if -3.60000000000000021e-159 < c < 2.05e-286Initial program 29.1%
Simplified29.1%
Taylor expanded in k around inf 60.5%
mul-1-neg60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
*-commutative60.5%
Simplified60.5%
if 2.05e-286 < c < 4.20000000000000005e-256Initial program 42.9%
Simplified42.9%
Taylor expanded in x around inf 85.8%
Taylor expanded in j around inf 85.9%
if 4.20000000000000005e-256 < c < 7.10000000000000018e-230Initial program 40.0%
Simplified40.0%
Taylor expanded in y5 around inf 30.0%
mul-1-neg30.0%
Simplified30.0%
Taylor expanded in a around inf 60.3%
*-commutative60.3%
*-commutative60.3%
Simplified60.3%
if 7.10000000000000018e-230 < c < 4.5000000000000003e-119Initial program 31.7%
Simplified31.7%
Taylor expanded in y2 around inf 69.6%
if 4.5000000000000003e-119 < c < 6.7999999999999997e-81Initial program 18.2%
Simplified18.2%
Taylor expanded in j around inf 36.7%
associate--l+36.7%
mul-1-neg36.7%
*-commutative36.7%
*-commutative36.7%
*-commutative36.7%
Simplified36.7%
Taylor expanded in y3 around -inf 64.2%
associate-*r*64.2%
neg-mul-164.2%
Simplified64.2%
if 6.7999999999999997e-81 < c < 1e27Initial program 35.7%
Simplified35.7%
Taylor expanded in x around inf 65.2%
if 1e27 < c Initial program 25.1%
Simplified25.1%
Taylor expanded in c around inf 53.7%
associate--l+53.7%
*-commutative53.7%
mul-1-neg53.7%
*-commutative53.7%
*-commutative53.7%
Simplified53.7%
Final simplification61.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y1 (- (* k y2) (* j y3))))
(t_2 (- (* c y0) (* a y1)))
(t_3
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_2))
(* j (- (* i y1) (* b y0)))))))
(if (<= y1 -1.65e+205)
(* y4 t_1)
(if (<= y1 -1.6e+89)
(* j (* i (- (* x y1) (* t y5))))
(if (<= y1 -1.16e-160)
(* (* c i) (- (* z t) (* x y)))
(if (<= y1 -5.1e-303)
(*
y2
(+
(+ (* x t_2) (* k (- (* y1 y4) (* y0 y5))))
(* t (- (* a y5) (* c y4)))))
(if (<= y1 2.3e-42)
t_3
(if (<= y1 1.4e+66)
(*
y4
(+
(+ t_1 (* b (- (* t j) (* y k))))
(* c (- (* y y3) (* t y2)))))
(if (<= y1 5.2e+168)
t_3
(* y3 (* j (- (* y0 y5) (* y1 y4)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y1 * ((k * y2) - (j * y3));
double t_2 = (c * y0) - (a * y1);
double t_3 = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))));
double tmp;
if (y1 <= -1.65e+205) {
tmp = y4 * t_1;
} else if (y1 <= -1.6e+89) {
tmp = j * (i * ((x * y1) - (t * y5)));
} else if (y1 <= -1.16e-160) {
tmp = (c * i) * ((z * t) - (x * y));
} else if (y1 <= -5.1e-303) {
tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= 2.3e-42) {
tmp = t_3;
} else if (y1 <= 1.4e+66) {
tmp = y4 * ((t_1 + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2))));
} else if (y1 <= 5.2e+168) {
tmp = t_3;
} else {
tmp = y3 * (j * ((y0 * y5) - (y1 * 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 = y1 * ((k * y2) - (j * y3))
t_2 = (c * y0) - (a * y1)
t_3 = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))))
if (y1 <= (-1.65d+205)) then
tmp = y4 * t_1
else if (y1 <= (-1.6d+89)) then
tmp = j * (i * ((x * y1) - (t * y5)))
else if (y1 <= (-1.16d-160)) then
tmp = (c * i) * ((z * t) - (x * y))
else if (y1 <= (-5.1d-303)) then
tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))))
else if (y1 <= 2.3d-42) then
tmp = t_3
else if (y1 <= 1.4d+66) then
tmp = y4 * ((t_1 + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2))))
else if (y1 <= 5.2d+168) then
tmp = t_3
else
tmp = y3 * (j * ((y0 * y5) - (y1 * 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 = y1 * ((k * y2) - (j * y3));
double t_2 = (c * y0) - (a * y1);
double t_3 = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))));
double tmp;
if (y1 <= -1.65e+205) {
tmp = y4 * t_1;
} else if (y1 <= -1.6e+89) {
tmp = j * (i * ((x * y1) - (t * y5)));
} else if (y1 <= -1.16e-160) {
tmp = (c * i) * ((z * t) - (x * y));
} else if (y1 <= -5.1e-303) {
tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4))));
} else if (y1 <= 2.3e-42) {
tmp = t_3;
} else if (y1 <= 1.4e+66) {
tmp = y4 * ((t_1 + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2))));
} else if (y1 <= 5.2e+168) {
tmp = t_3;
} else {
tmp = y3 * (j * ((y0 * y5) - (y1 * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y1 * ((k * y2) - (j * y3)) t_2 = (c * y0) - (a * y1) t_3 = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0)))) tmp = 0 if y1 <= -1.65e+205: tmp = y4 * t_1 elif y1 <= -1.6e+89: tmp = j * (i * ((x * y1) - (t * y5))) elif y1 <= -1.16e-160: tmp = (c * i) * ((z * t) - (x * y)) elif y1 <= -5.1e-303: tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))) elif y1 <= 2.3e-42: tmp = t_3 elif y1 <= 1.4e+66: tmp = y4 * ((t_1 + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2)))) elif y1 <= 5.2e+168: tmp = t_3 else: tmp = y3 * (j * ((y0 * y5) - (y1 * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3))) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_2)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) tmp = 0.0 if (y1 <= -1.65e+205) tmp = Float64(y4 * t_1); elseif (y1 <= -1.6e+89) tmp = Float64(j * Float64(i * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (y1 <= -1.16e-160) tmp = Float64(Float64(c * i) * Float64(Float64(z * t) - Float64(x * y))); elseif (y1 <= -5.1e-303) tmp = Float64(y2 * Float64(Float64(Float64(x * t_2) + Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (y1 <= 2.3e-42) tmp = t_3; elseif (y1 <= 1.4e+66) tmp = Float64(y4 * Float64(Float64(t_1 + Float64(b * Float64(Float64(t * j) - Float64(y * k)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y1 <= 5.2e+168) tmp = t_3; else tmp = Float64(y3 * Float64(j * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y1 * ((k * y2) - (j * y3)); t_2 = (c * y0) - (a * y1); t_3 = x * (((y * ((a * b) - (c * i))) + (y2 * t_2)) + (j * ((i * y1) - (b * y0)))); tmp = 0.0; if (y1 <= -1.65e+205) tmp = y4 * t_1; elseif (y1 <= -1.6e+89) tmp = j * (i * ((x * y1) - (t * y5))); elseif (y1 <= -1.16e-160) tmp = (c * i) * ((z * t) - (x * y)); elseif (y1 <= -5.1e-303) tmp = y2 * (((x * t_2) + (k * ((y1 * y4) - (y0 * y5)))) + (t * ((a * y5) - (c * y4)))); elseif (y1 <= 2.3e-42) tmp = t_3; elseif (y1 <= 1.4e+66) tmp = y4 * ((t_1 + (b * ((t * j) - (y * k)))) + (c * ((y * y3) - (t * y2)))); elseif (y1 <= 5.2e+168) tmp = t_3; else tmp = y3 * (j * ((y0 * y5) - (y1 * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -1.65e+205], N[(y4 * t$95$1), $MachinePrecision], If[LessEqual[y1, -1.6e+89], N[(j * N[(i * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.16e-160], N[(N[(c * i), $MachinePrecision] * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -5.1e-303], N[(y2 * N[(N[(N[(x * t$95$2), $MachinePrecision] + N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.3e-42], t$95$3, If[LessEqual[y1, 1.4e+66], N[(y4 * N[(N[(t$95$1 + N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.2e+168], t$95$3, N[(y3 * N[(j * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t_2\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y1 \leq -1.65 \cdot 10^{+205}:\\
\;\;\;\;y4 \cdot t_1\\
\mathbf{elif}\;y1 \leq -1.6 \cdot 10^{+89}:\\
\;\;\;\;j \cdot \left(i \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq -1.16 \cdot 10^{-160}:\\
\;\;\;\;\left(c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\\
\mathbf{elif}\;y1 \leq -5.1 \cdot 10^{-303}:\\
\;\;\;\;y2 \cdot \left(\left(x \cdot t_2 + k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 2.3 \cdot 10^{-42}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;y1 \leq 1.4 \cdot 10^{+66}:\\
\;\;\;\;y4 \cdot \left(\left(t_1 + b \cdot \left(t \cdot j - y \cdot k\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 5.2 \cdot 10^{+168}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;y3 \cdot \left(j \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y1 < -1.6500000000000001e205Initial program 13.0%
Simplified13.0%
Taylor expanded in y4 around inf 44.0%
Taylor expanded in y1 around inf 61.1%
if -1.6500000000000001e205 < y1 < -1.59999999999999994e89Initial program 31.5%
Simplified31.5%
Taylor expanded in j around inf 52.0%
associate--l+52.0%
mul-1-neg52.0%
*-commutative52.0%
*-commutative52.0%
*-commutative52.0%
Simplified52.0%
Taylor expanded in i around -inf 73.1%
associate-*r*73.1%
neg-mul-173.1%
*-commutative73.1%
*-commutative73.1%
Simplified73.1%
Taylor expanded in i around 0 73.1%
mul-1-neg73.1%
*-commutative73.1%
*-commutative73.1%
*-commutative73.1%
distribute-rgt-neg-out73.1%
associate-*l*76.2%
Simplified76.2%
if -1.59999999999999994e89 < y1 < -1.16e-160Initial program 33.5%
Simplified33.5%
Taylor expanded in c around inf 48.6%
associate--l+48.6%
*-commutative48.6%
mul-1-neg48.6%
*-commutative48.6%
*-commutative48.6%
Simplified48.6%
Taylor expanded in i around inf 47.1%
associate-*r*47.3%
*-commutative47.3%
*-commutative47.3%
Simplified47.3%
if -1.16e-160 < y1 < -5.1e-303Initial program 31.7%
Simplified31.7%
Taylor expanded in y2 around inf 46.8%
if -5.1e-303 < y1 < 2.30000000000000004e-42 or 1.4e66 < y1 < 5.2e168Initial program 37.5%
Simplified37.5%
Taylor expanded in x around inf 54.1%
if 2.30000000000000004e-42 < y1 < 1.4e66Initial program 37.5%
Simplified37.5%
Taylor expanded in y4 around inf 50.7%
if 5.2e168 < y1 Initial program 22.2%
Simplified22.2%
Taylor expanded in j around inf 48.3%
associate--l+48.3%
mul-1-neg48.3%
*-commutative48.3%
*-commutative48.3%
*-commutative48.3%
Simplified48.3%
Taylor expanded in y3 around -inf 60.1%
associate-*r*60.1%
neg-mul-160.1%
Simplified60.1%
Final simplification55.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y5
(+
(* i (- (* y k) (* t j)))
(+ (* a (- (* t y2) (* y y3))) (* y0 (- (* j y3) (* k y2)))))))
(t_2
(*
c
(+
(* i (- (* z t) (* x y)))
(+ (* y0 (- (* x y2) (* z y3))) (* y4 (- (* y y3) (* t y2)))))))
(t_3 (* j (- (* i y1) (* b y0)))))
(if (<= y5 -6.6e+135)
t_1
(if (<= y5 -1.05e-89)
(* x (+ (+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1)))) t_3))
(if (<= y5 -2.7e-198)
t_2
(if (<= y5 -3.4e-302) (* x t_3) (if (<= y5 8.5e+84) 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 = y5 * ((i * ((y * k) - (t * j))) + ((a * ((t * y2) - (y * y3))) + (y0 * ((j * y3) - (k * y2)))));
double t_2 = c * ((i * ((z * t) - (x * y))) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2)))));
double t_3 = j * ((i * y1) - (b * y0));
double tmp;
if (y5 <= -6.6e+135) {
tmp = t_1;
} else if (y5 <= -1.05e-89) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + t_3);
} else if (y5 <= -2.7e-198) {
tmp = t_2;
} else if (y5 <= -3.4e-302) {
tmp = x * t_3;
} else if (y5 <= 8.5e+84) {
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) :: t_3
real(8) :: tmp
t_1 = y5 * ((i * ((y * k) - (t * j))) + ((a * ((t * y2) - (y * y3))) + (y0 * ((j * y3) - (k * y2)))))
t_2 = c * ((i * ((z * t) - (x * y))) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2)))))
t_3 = j * ((i * y1) - (b * y0))
if (y5 <= (-6.6d+135)) then
tmp = t_1
else if (y5 <= (-1.05d-89)) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + t_3)
else if (y5 <= (-2.7d-198)) then
tmp = t_2
else if (y5 <= (-3.4d-302)) then
tmp = x * t_3
else if (y5 <= 8.5d+84) 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 = y5 * ((i * ((y * k) - (t * j))) + ((a * ((t * y2) - (y * y3))) + (y0 * ((j * y3) - (k * y2)))));
double t_2 = c * ((i * ((z * t) - (x * y))) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2)))));
double t_3 = j * ((i * y1) - (b * y0));
double tmp;
if (y5 <= -6.6e+135) {
tmp = t_1;
} else if (y5 <= -1.05e-89) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + t_3);
} else if (y5 <= -2.7e-198) {
tmp = t_2;
} else if (y5 <= -3.4e-302) {
tmp = x * t_3;
} else if (y5 <= 8.5e+84) {
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 = y5 * ((i * ((y * k) - (t * j))) + ((a * ((t * y2) - (y * y3))) + (y0 * ((j * y3) - (k * y2))))) t_2 = c * ((i * ((z * t) - (x * y))) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2))))) t_3 = j * ((i * y1) - (b * y0)) tmp = 0 if y5 <= -6.6e+135: tmp = t_1 elif y5 <= -1.05e-89: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + t_3) elif y5 <= -2.7e-198: tmp = t_2 elif y5 <= -3.4e-302: tmp = x * t_3 elif y5 <= 8.5e+84: 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(y5 * Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))) t_2 = Float64(c * Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))))) t_3 = Float64(j * Float64(Float64(i * y1) - Float64(b * y0))) tmp = 0.0 if (y5 <= -6.6e+135) tmp = t_1; elseif (y5 <= -1.05e-89) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + t_3)); elseif (y5 <= -2.7e-198) tmp = t_2; elseif (y5 <= -3.4e-302) tmp = Float64(x * t_3); elseif (y5 <= 8.5e+84) 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 = y5 * ((i * ((y * k) - (t * j))) + ((a * ((t * y2) - (y * y3))) + (y0 * ((j * y3) - (k * y2))))); t_2 = c * ((i * ((z * t) - (x * y))) + ((y0 * ((x * y2) - (z * y3))) + (y4 * ((y * y3) - (t * y2))))); t_3 = j * ((i * y1) - (b * y0)); tmp = 0.0; if (y5 <= -6.6e+135) tmp = t_1; elseif (y5 <= -1.05e-89) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + t_3); elseif (y5 <= -2.7e-198) tmp = t_2; elseif (y5 <= -3.4e-302) tmp = x * t_3; elseif (y5 <= 8.5e+84) 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[(y5 * N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -6.6e+135], t$95$1, If[LessEqual[y5, -1.05e-89], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -2.7e-198], t$95$2, If[LessEqual[y5, -3.4e-302], N[(x * t$95$3), $MachinePrecision], If[LessEqual[y5, 8.5e+84], t$95$2, t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y5 \cdot \left(i \cdot \left(y \cdot k - t \cdot j\right) + \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
t_2 := c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right) + \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\right)\\
t_3 := j \cdot \left(i \cdot y1 - b \cdot y0\right)\\
\mathbf{if}\;y5 \leq -6.6 \cdot 10^{+135}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y5 \leq -1.05 \cdot 10^{-89}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + t_3\right)\\
\mathbf{elif}\;y5 \leq -2.7 \cdot 10^{-198}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y5 \leq -3.4 \cdot 10^{-302}:\\
\;\;\;\;x \cdot t_3\\
\mathbf{elif}\;y5 \leq 8.5 \cdot 10^{+84}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y5 < -6.5999999999999998e135 or 8.5000000000000008e84 < y5 Initial program 31.7%
Simplified31.7%
Taylor expanded in y5 around -inf 63.7%
mul-1-neg63.7%
associate--l+63.7%
*-commutative63.7%
Simplified63.7%
if -6.5999999999999998e135 < y5 < -1.05e-89Initial program 25.8%
Simplified25.8%
Taylor expanded in x around inf 46.3%
if -1.05e-89 < y5 < -2.7000000000000002e-198 or -3.4e-302 < y5 < 8.5000000000000008e84Initial program 35.0%
Simplified35.0%
Taylor expanded in c around inf 55.8%
associate--l+55.8%
*-commutative55.8%
mul-1-neg55.8%
*-commutative55.8%
*-commutative55.8%
Simplified55.8%
if -2.7000000000000002e-198 < y5 < -3.4e-302Initial program 27.8%
Simplified27.8%
Taylor expanded in x around inf 39.1%
Taylor expanded in j around inf 67.0%
Final simplification57.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* z (* b (- (* k y0) (* t a)))))
(t_2 (* (* c i) (- (* z t) (* x y))))
(t_3 (* y4 (* t (- (* b j) (* c y2)))))
(t_4 (- (* y k) (* t j))))
(if (<= x -4.3e+224)
t_2
(if (<= x -4.2e+152)
(* j (* i (- (* x y1) (* t y5))))
(if (<= x -1.5e+78)
(* x (* c (- (* y0 y2) (* y i))))
(if (<= x -0.028)
t_2
(if (<= x -1.26e-48)
t_3
(if (<= x -1.06e-141)
t_1
(if (<= x 3.1e-296)
(* (* i y5) t_4)
(if (<= x 2.25e-150)
t_1
(if (<= x 3.2e-96)
t_3
(if (<= x 2.1e-62)
(* y4 (* y1 (- (* k y2) (* j y3))))
(if (or (<= x 1.4e+154) (not (<= x 3.3e+194)))
(* (* x j) (- (* i y1) (* b y0)))
(* i (* y5 t_4)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * (b * ((k * y0) - (t * a)));
double t_2 = (c * i) * ((z * t) - (x * y));
double t_3 = y4 * (t * ((b * j) - (c * y2)));
double t_4 = (y * k) - (t * j);
double tmp;
if (x <= -4.3e+224) {
tmp = t_2;
} else if (x <= -4.2e+152) {
tmp = j * (i * ((x * y1) - (t * y5)));
} else if (x <= -1.5e+78) {
tmp = x * (c * ((y0 * y2) - (y * i)));
} else if (x <= -0.028) {
tmp = t_2;
} else if (x <= -1.26e-48) {
tmp = t_3;
} else if (x <= -1.06e-141) {
tmp = t_1;
} else if (x <= 3.1e-296) {
tmp = (i * y5) * t_4;
} else if (x <= 2.25e-150) {
tmp = t_1;
} else if (x <= 3.2e-96) {
tmp = t_3;
} else if (x <= 2.1e-62) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if ((x <= 1.4e+154) || !(x <= 3.3e+194)) {
tmp = (x * j) * ((i * y1) - (b * y0));
} else {
tmp = i * (y5 * t_4);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = z * (b * ((k * y0) - (t * a)))
t_2 = (c * i) * ((z * t) - (x * y))
t_3 = y4 * (t * ((b * j) - (c * y2)))
t_4 = (y * k) - (t * j)
if (x <= (-4.3d+224)) then
tmp = t_2
else if (x <= (-4.2d+152)) then
tmp = j * (i * ((x * y1) - (t * y5)))
else if (x <= (-1.5d+78)) then
tmp = x * (c * ((y0 * y2) - (y * i)))
else if (x <= (-0.028d0)) then
tmp = t_2
else if (x <= (-1.26d-48)) then
tmp = t_3
else if (x <= (-1.06d-141)) then
tmp = t_1
else if (x <= 3.1d-296) then
tmp = (i * y5) * t_4
else if (x <= 2.25d-150) then
tmp = t_1
else if (x <= 3.2d-96) then
tmp = t_3
else if (x <= 2.1d-62) then
tmp = y4 * (y1 * ((k * y2) - (j * y3)))
else if ((x <= 1.4d+154) .or. (.not. (x <= 3.3d+194))) then
tmp = (x * j) * ((i * y1) - (b * y0))
else
tmp = i * (y5 * t_4)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = z * (b * ((k * y0) - (t * a)));
double t_2 = (c * i) * ((z * t) - (x * y));
double t_3 = y4 * (t * ((b * j) - (c * y2)));
double t_4 = (y * k) - (t * j);
double tmp;
if (x <= -4.3e+224) {
tmp = t_2;
} else if (x <= -4.2e+152) {
tmp = j * (i * ((x * y1) - (t * y5)));
} else if (x <= -1.5e+78) {
tmp = x * (c * ((y0 * y2) - (y * i)));
} else if (x <= -0.028) {
tmp = t_2;
} else if (x <= -1.26e-48) {
tmp = t_3;
} else if (x <= -1.06e-141) {
tmp = t_1;
} else if (x <= 3.1e-296) {
tmp = (i * y5) * t_4;
} else if (x <= 2.25e-150) {
tmp = t_1;
} else if (x <= 3.2e-96) {
tmp = t_3;
} else if (x <= 2.1e-62) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if ((x <= 1.4e+154) || !(x <= 3.3e+194)) {
tmp = (x * j) * ((i * y1) - (b * y0));
} else {
tmp = i * (y5 * t_4);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = z * (b * ((k * y0) - (t * a))) t_2 = (c * i) * ((z * t) - (x * y)) t_3 = y4 * (t * ((b * j) - (c * y2))) t_4 = (y * k) - (t * j) tmp = 0 if x <= -4.3e+224: tmp = t_2 elif x <= -4.2e+152: tmp = j * (i * ((x * y1) - (t * y5))) elif x <= -1.5e+78: tmp = x * (c * ((y0 * y2) - (y * i))) elif x <= -0.028: tmp = t_2 elif x <= -1.26e-48: tmp = t_3 elif x <= -1.06e-141: tmp = t_1 elif x <= 3.1e-296: tmp = (i * y5) * t_4 elif x <= 2.25e-150: tmp = t_1 elif x <= 3.2e-96: tmp = t_3 elif x <= 2.1e-62: tmp = y4 * (y1 * ((k * y2) - (j * y3))) elif (x <= 1.4e+154) or not (x <= 3.3e+194): tmp = (x * j) * ((i * y1) - (b * y0)) else: tmp = i * (y5 * t_4) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(z * Float64(b * Float64(Float64(k * y0) - Float64(t * a)))) t_2 = Float64(Float64(c * i) * Float64(Float64(z * t) - Float64(x * y))) t_3 = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))) t_4 = Float64(Float64(y * k) - Float64(t * j)) tmp = 0.0 if (x <= -4.3e+224) tmp = t_2; elseif (x <= -4.2e+152) tmp = Float64(j * Float64(i * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (x <= -1.5e+78) tmp = Float64(x * Float64(c * Float64(Float64(y0 * y2) - Float64(y * i)))); elseif (x <= -0.028) tmp = t_2; elseif (x <= -1.26e-48) tmp = t_3; elseif (x <= -1.06e-141) tmp = t_1; elseif (x <= 3.1e-296) tmp = Float64(Float64(i * y5) * t_4); elseif (x <= 2.25e-150) tmp = t_1; elseif (x <= 3.2e-96) tmp = t_3; elseif (x <= 2.1e-62) tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif ((x <= 1.4e+154) || !(x <= 3.3e+194)) tmp = Float64(Float64(x * j) * Float64(Float64(i * y1) - Float64(b * y0))); else tmp = Float64(i * Float64(y5 * t_4)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = z * (b * ((k * y0) - (t * a))); t_2 = (c * i) * ((z * t) - (x * y)); t_3 = y4 * (t * ((b * j) - (c * y2))); t_4 = (y * k) - (t * j); tmp = 0.0; if (x <= -4.3e+224) tmp = t_2; elseif (x <= -4.2e+152) tmp = j * (i * ((x * y1) - (t * y5))); elseif (x <= -1.5e+78) tmp = x * (c * ((y0 * y2) - (y * i))); elseif (x <= -0.028) tmp = t_2; elseif (x <= -1.26e-48) tmp = t_3; elseif (x <= -1.06e-141) tmp = t_1; elseif (x <= 3.1e-296) tmp = (i * y5) * t_4; elseif (x <= 2.25e-150) tmp = t_1; elseif (x <= 3.2e-96) tmp = t_3; elseif (x <= 2.1e-62) tmp = y4 * (y1 * ((k * y2) - (j * y3))); elseif ((x <= 1.4e+154) || ~((x <= 3.3e+194))) tmp = (x * j) * ((i * y1) - (b * y0)); else tmp = i * (y5 * t_4); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(z * N[(b * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * i), $MachinePrecision] * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -4.3e+224], t$95$2, If[LessEqual[x, -4.2e+152], N[(j * N[(i * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.5e+78], N[(x * N[(c * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -0.028], t$95$2, If[LessEqual[x, -1.26e-48], t$95$3, If[LessEqual[x, -1.06e-141], t$95$1, If[LessEqual[x, 3.1e-296], N[(N[(i * y5), $MachinePrecision] * t$95$4), $MachinePrecision], If[LessEqual[x, 2.25e-150], t$95$1, If[LessEqual[x, 3.2e-96], t$95$3, If[LessEqual[x, 2.1e-62], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[x, 1.4e+154], N[Not[LessEqual[x, 3.3e+194]], $MachinePrecision]], N[(N[(x * j), $MachinePrecision] * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(y5 * t$95$4), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(b \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
t_2 := \left(c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\\
t_3 := y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
t_4 := y \cdot k - t \cdot j\\
\mathbf{if}\;x \leq -4.3 \cdot 10^{+224}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \leq -4.2 \cdot 10^{+152}:\\
\;\;\;\;j \cdot \left(i \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq -1.5 \cdot 10^{+78}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{elif}\;x \leq -0.028:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \leq -1.26 \cdot 10^{-48}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;x \leq -1.06 \cdot 10^{-141}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 3.1 \cdot 10^{-296}:\\
\;\;\;\;\left(i \cdot y5\right) \cdot t_4\\
\mathbf{elif}\;x \leq 2.25 \cdot 10^{-150}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 3.2 \cdot 10^{-96}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;x \leq 2.1 \cdot 10^{-62}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq 1.4 \cdot 10^{+154} \lor \neg \left(x \leq 3.3 \cdot 10^{+194}\right):\\
\;\;\;\;\left(x \cdot j\right) \cdot \left(i \cdot y1 - b \cdot y0\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y5 \cdot t_4\right)\\
\end{array}
\end{array}
if x < -4.3000000000000001e224 or -1.49999999999999991e78 < x < -0.0280000000000000006Initial program 20.0%
Simplified20.0%
Taylor expanded in c around inf 53.5%
associate--l+53.5%
*-commutative53.5%
mul-1-neg53.5%
*-commutative53.5%
*-commutative53.5%
Simplified53.5%
Taylor expanded in i around inf 63.8%
associate-*r*67.0%
*-commutative67.0%
*-commutative67.0%
Simplified67.0%
if -4.3000000000000001e224 < x < -4.2000000000000003e152Initial program 33.3%
Simplified33.3%
Taylor expanded in j around inf 83.4%
associate--l+83.4%
mul-1-neg83.4%
*-commutative83.4%
*-commutative83.4%
*-commutative83.4%
Simplified83.4%
Taylor expanded in i around -inf 76.1%
associate-*r*76.1%
neg-mul-176.1%
*-commutative76.1%
*-commutative76.1%
Simplified76.1%
Taylor expanded in i around 0 76.1%
mul-1-neg76.1%
*-commutative76.1%
*-commutative76.1%
*-commutative76.1%
distribute-rgt-neg-out76.1%
associate-*l*83.7%
Simplified83.7%
if -4.2000000000000003e152 < x < -1.49999999999999991e78Initial program 36.4%
Simplified36.4%
Taylor expanded in c around inf 46.2%
associate--l+46.2%
*-commutative46.2%
mul-1-neg46.2%
*-commutative46.2%
*-commutative46.2%
Simplified46.2%
Taylor expanded in x around inf 72.9%
associate-*r*72.9%
*-commutative72.9%
Simplified72.9%
if -0.0280000000000000006 < x < -1.2599999999999999e-48 or 2.2500000000000001e-150 < x < 3.20000000000000012e-96Initial program 39.1%
Simplified39.1%
Taylor expanded in y4 around inf 48.3%
Taylor expanded in t around inf 57.3%
if -1.2599999999999999e-48 < x < -1.06e-141 or 3.1000000000000002e-296 < x < 2.2500000000000001e-150Initial program 32.5%
Simplified32.5%
Taylor expanded in z around -inf 53.5%
Taylor expanded in b around inf 55.6%
if -1.06e-141 < x < 3.1000000000000002e-296Initial program 34.4%
Simplified34.4%
Taylor expanded in y5 around inf 40.5%
mul-1-neg40.5%
Simplified40.5%
Taylor expanded in i around inf 47.1%
mul-1-neg47.1%
associate-*r*52.5%
*-commutative52.5%
associate-*r*47.1%
*-commutative47.1%
distribute-rgt-neg-out47.1%
distribute-rgt-neg-in47.1%
Simplified47.1%
if 3.20000000000000012e-96 < x < 2.0999999999999999e-62Initial program 34.9%
Simplified34.9%
Taylor expanded in y4 around inf 50.5%
Taylor expanded in y1 around inf 66.9%
if 2.0999999999999999e-62 < x < 1.4e154 or 3.29999999999999983e194 < x Initial program 32.6%
Simplified32.6%
Taylor expanded in j around inf 49.4%
associate--l+49.4%
mul-1-neg49.4%
*-commutative49.4%
*-commutative49.4%
*-commutative49.4%
Simplified49.4%
Taylor expanded in x around inf 53.8%
if 1.4e154 < x < 3.29999999999999983e194Initial program 16.7%
Simplified16.7%
Taylor expanded in y5 around inf 25.6%
mul-1-neg25.6%
Simplified25.6%
Taylor expanded in i around inf 67.4%
Final simplification58.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* b (- (* t y4) (* x y0)))))
(t_2 (* (* c i) (- (* z t) (* x y)))))
(if (<= c -1.5e+170)
t_2
(if (<= c -5e-155)
t_1
(if (<= c -1.75e-290)
(* (* a (* y3 y5)) (- y))
(if (<= c 1.9e-230)
t_1
(if (<= c 2.1e-76)
(* x (* a (- (* y b) (* y1 y2))))
(if (<= c 7e+44)
(* j (* y5 (- (* y0 y3) (* t i))))
(if (<= c 5.5e+65)
(* y4 (* y1 (- (* k y2) (* j y3))))
(if (<= c 6.8e+124)
t_2
(if (<= c 1.8e+131)
(* y4 (* t (- (* b j) (* c y2))))
(if (<= c 1.85e+245)
(* c (* y (- (* y3 y4) (* x i))))
t_2))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (b * ((t * y4) - (x * y0)));
double t_2 = (c * i) * ((z * t) - (x * y));
double tmp;
if (c <= -1.5e+170) {
tmp = t_2;
} else if (c <= -5e-155) {
tmp = t_1;
} else if (c <= -1.75e-290) {
tmp = (a * (y3 * y5)) * -y;
} else if (c <= 1.9e-230) {
tmp = t_1;
} else if (c <= 2.1e-76) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (c <= 7e+44) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (c <= 5.5e+65) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if (c <= 6.8e+124) {
tmp = t_2;
} else if (c <= 1.8e+131) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else if (c <= 1.85e+245) {
tmp = c * (y * ((y3 * y4) - (x * i)));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = j * (b * ((t * y4) - (x * y0)))
t_2 = (c * i) * ((z * t) - (x * y))
if (c <= (-1.5d+170)) then
tmp = t_2
else if (c <= (-5d-155)) then
tmp = t_1
else if (c <= (-1.75d-290)) then
tmp = (a * (y3 * y5)) * -y
else if (c <= 1.9d-230) then
tmp = t_1
else if (c <= 2.1d-76) then
tmp = x * (a * ((y * b) - (y1 * y2)))
else if (c <= 7d+44) then
tmp = j * (y5 * ((y0 * y3) - (t * i)))
else if (c <= 5.5d+65) then
tmp = y4 * (y1 * ((k * y2) - (j * y3)))
else if (c <= 6.8d+124) then
tmp = t_2
else if (c <= 1.8d+131) then
tmp = y4 * (t * ((b * j) - (c * y2)))
else if (c <= 1.85d+245) then
tmp = c * (y * ((y3 * y4) - (x * i)))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (b * ((t * y4) - (x * y0)));
double t_2 = (c * i) * ((z * t) - (x * y));
double tmp;
if (c <= -1.5e+170) {
tmp = t_2;
} else if (c <= -5e-155) {
tmp = t_1;
} else if (c <= -1.75e-290) {
tmp = (a * (y3 * y5)) * -y;
} else if (c <= 1.9e-230) {
tmp = t_1;
} else if (c <= 2.1e-76) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (c <= 7e+44) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (c <= 5.5e+65) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if (c <= 6.8e+124) {
tmp = t_2;
} else if (c <= 1.8e+131) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else if (c <= 1.85e+245) {
tmp = c * (y * ((y3 * y4) - (x * i)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (b * ((t * y4) - (x * y0))) t_2 = (c * i) * ((z * t) - (x * y)) tmp = 0 if c <= -1.5e+170: tmp = t_2 elif c <= -5e-155: tmp = t_1 elif c <= -1.75e-290: tmp = (a * (y3 * y5)) * -y elif c <= 1.9e-230: tmp = t_1 elif c <= 2.1e-76: tmp = x * (a * ((y * b) - (y1 * y2))) elif c <= 7e+44: tmp = j * (y5 * ((y0 * y3) - (t * i))) elif c <= 5.5e+65: tmp = y4 * (y1 * ((k * y2) - (j * y3))) elif c <= 6.8e+124: tmp = t_2 elif c <= 1.8e+131: tmp = y4 * (t * ((b * j) - (c * y2))) elif c <= 1.85e+245: tmp = c * (y * ((y3 * y4) - (x * i))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0)))) t_2 = Float64(Float64(c * i) * Float64(Float64(z * t) - Float64(x * y))) tmp = 0.0 if (c <= -1.5e+170) tmp = t_2; elseif (c <= -5e-155) tmp = t_1; elseif (c <= -1.75e-290) tmp = Float64(Float64(a * Float64(y3 * y5)) * Float64(-y)); elseif (c <= 1.9e-230) tmp = t_1; elseif (c <= 2.1e-76) tmp = Float64(x * Float64(a * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (c <= 7e+44) tmp = Float64(j * Float64(y5 * Float64(Float64(y0 * y3) - Float64(t * i)))); elseif (c <= 5.5e+65) tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (c <= 6.8e+124) tmp = t_2; elseif (c <= 1.8e+131) tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))); elseif (c <= 1.85e+245) tmp = Float64(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (b * ((t * y4) - (x * y0))); t_2 = (c * i) * ((z * t) - (x * y)); tmp = 0.0; if (c <= -1.5e+170) tmp = t_2; elseif (c <= -5e-155) tmp = t_1; elseif (c <= -1.75e-290) tmp = (a * (y3 * y5)) * -y; elseif (c <= 1.9e-230) tmp = t_1; elseif (c <= 2.1e-76) tmp = x * (a * ((y * b) - (y1 * y2))); elseif (c <= 7e+44) tmp = j * (y5 * ((y0 * y3) - (t * i))); elseif (c <= 5.5e+65) tmp = y4 * (y1 * ((k * y2) - (j * y3))); elseif (c <= 6.8e+124) tmp = t_2; elseif (c <= 1.8e+131) tmp = y4 * (t * ((b * j) - (c * y2))); elseif (c <= 1.85e+245) tmp = c * (y * ((y3 * y4) - (x * i))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * i), $MachinePrecision] * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.5e+170], t$95$2, If[LessEqual[c, -5e-155], t$95$1, If[LessEqual[c, -1.75e-290], N[(N[(a * N[(y3 * y5), $MachinePrecision]), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[c, 1.9e-230], t$95$1, If[LessEqual[c, 2.1e-76], N[(x * N[(a * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7e+44], N[(j * N[(y5 * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.5e+65], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.8e+124], t$95$2, If[LessEqual[c, 1.8e+131], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.85e+245], N[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
t_2 := \left(c \cdot i\right) \cdot \left(z \cdot t - x \cdot y\right)\\
\mathbf{if}\;c \leq -1.5 \cdot 10^{+170}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq -5 \cdot 10^{-155}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -1.75 \cdot 10^{-290}:\\
\;\;\;\;\left(a \cdot \left(y3 \cdot y5\right)\right) \cdot \left(-y\right)\\
\mathbf{elif}\;c \leq 1.9 \cdot 10^{-230}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 2.1 \cdot 10^{-76}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq 7 \cdot 10^{+44}:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\
\mathbf{elif}\;c \leq 5.5 \cdot 10^{+65}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq 6.8 \cdot 10^{+124}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;c \leq 1.8 \cdot 10^{+131}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq 1.85 \cdot 10^{+245}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if c < -1.49999999999999998e170 or 5.4999999999999996e65 < c < 6.8e124 or 1.85e245 < c Initial program 32.1%
Simplified32.1%
Taylor expanded in c around inf 63.6%
associate--l+63.6%
*-commutative63.6%
mul-1-neg63.6%
*-commutative63.6%
*-commutative63.6%
Simplified63.6%
Taylor expanded in i around inf 60.9%
associate-*r*64.3%
*-commutative64.3%
*-commutative64.3%
Simplified64.3%
if -1.49999999999999998e170 < c < -4.9999999999999999e-155 or -1.74999999999999991e-290 < c < 1.8999999999999999e-230Initial program 34.9%
Simplified34.9%
Taylor expanded in j around inf 53.3%
associate--l+53.3%
mul-1-neg53.3%
*-commutative53.3%
*-commutative53.3%
*-commutative53.3%
Simplified53.3%
Taylor expanded in b around inf 49.6%
if -4.9999999999999999e-155 < c < -1.74999999999999991e-290Initial program 36.0%
Simplified36.0%
Taylor expanded in y5 around inf 43.9%
mul-1-neg43.9%
Simplified43.9%
Taylor expanded in a around inf 40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in y around inf 47.8%
if 1.8999999999999999e-230 < c < 2.09999999999999992e-76Initial program 23.6%
Simplified23.6%
Taylor expanded in x around inf 24.1%
Taylor expanded in a around inf 44.5%
*-commutative44.5%
mul-1-neg44.5%
unsub-neg44.5%
*-commutative44.5%
Simplified44.5%
if 2.09999999999999992e-76 < c < 6.9999999999999998e44Initial program 38.4%
Simplified38.4%
Taylor expanded in j around inf 53.7%
associate--l+53.7%
mul-1-neg53.7%
*-commutative53.7%
*-commutative53.7%
*-commutative53.7%
Simplified53.7%
Taylor expanded in y5 around inf 39.6%
*-commutative39.6%
cancel-sign-sub-inv39.6%
metadata-eval39.6%
*-lft-identity39.6%
+-commutative39.6%
mul-1-neg39.6%
sub-neg39.6%
Simplified39.6%
if 6.9999999999999998e44 < c < 5.4999999999999996e65Initial program 50.0%
Simplified50.0%
Taylor expanded in y4 around inf 100.0%
Taylor expanded in y1 around inf 100.0%
if 6.8e124 < c < 1.80000000000000016e131Initial program 0.0%
Simplified0.0%
Taylor expanded in y4 around inf 100.0%
Taylor expanded in t around inf 100.0%
if 1.80000000000000016e131 < c < 1.85e245Initial program 14.0%
Simplified14.0%
Taylor expanded in c around inf 50.4%
associate--l+50.4%
*-commutative50.4%
mul-1-neg50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Taylor expanded in y around -inf 55.1%
mul-1-neg55.1%
unsub-neg55.1%
*-commutative55.1%
*-commutative55.1%
Simplified55.1%
Final simplification52.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* j (- (* i y1) (* b y0)))))
(t_2 (* (- (* t c) (* k y1)) (* z i))))
(if (<= b -2.65e+200)
(* z (* b (- (* k y0) (* t a))))
(if (<= b -9.5e+118)
t_1
(if (<= b -4.3e+68)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= b -8e+50)
t_2
(if (<= b -1.55e-89)
(* i (* y5 (- (* y k) (* t j))))
(if (<= b -7.5e-155)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= b -9.2e-308)
(* x (* c (- (* y0 y2) (* y i))))
(if (<= b 13.8)
t_2
(if (<= b 1.35e+41)
t_1
(if (<= b 2.9e+77)
t_2
(* x (* y0 (- (* c y2) (* b j))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (j * ((i * y1) - (b * y0)));
double t_2 = ((t * c) - (k * y1)) * (z * i);
double tmp;
if (b <= -2.65e+200) {
tmp = z * (b * ((k * y0) - (t * a)));
} else if (b <= -9.5e+118) {
tmp = t_1;
} else if (b <= -4.3e+68) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (b <= -8e+50) {
tmp = t_2;
} else if (b <= -1.55e-89) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (b <= -7.5e-155) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= -9.2e-308) {
tmp = x * (c * ((y0 * y2) - (y * i)));
} else if (b <= 13.8) {
tmp = t_2;
} else if (b <= 1.35e+41) {
tmp = t_1;
} else if (b <= 2.9e+77) {
tmp = t_2;
} else {
tmp = x * (y0 * ((c * y2) - (b * j)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x * (j * ((i * y1) - (b * y0)))
t_2 = ((t * c) - (k * y1)) * (z * i)
if (b <= (-2.65d+200)) then
tmp = z * (b * ((k * y0) - (t * a)))
else if (b <= (-9.5d+118)) then
tmp = t_1
else if (b <= (-4.3d+68)) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (b <= (-8d+50)) then
tmp = t_2
else if (b <= (-1.55d-89)) then
tmp = i * (y5 * ((y * k) - (t * j)))
else if (b <= (-7.5d-155)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (b <= (-9.2d-308)) then
tmp = x * (c * ((y0 * y2) - (y * i)))
else if (b <= 13.8d0) then
tmp = t_2
else if (b <= 1.35d+41) then
tmp = t_1
else if (b <= 2.9d+77) then
tmp = t_2
else
tmp = x * (y0 * ((c * y2) - (b * j)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * (j * ((i * y1) - (b * y0)));
double t_2 = ((t * c) - (k * y1)) * (z * i);
double tmp;
if (b <= -2.65e+200) {
tmp = z * (b * ((k * y0) - (t * a)));
} else if (b <= -9.5e+118) {
tmp = t_1;
} else if (b <= -4.3e+68) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (b <= -8e+50) {
tmp = t_2;
} else if (b <= -1.55e-89) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (b <= -7.5e-155) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (b <= -9.2e-308) {
tmp = x * (c * ((y0 * y2) - (y * i)));
} else if (b <= 13.8) {
tmp = t_2;
} else if (b <= 1.35e+41) {
tmp = t_1;
} else if (b <= 2.9e+77) {
tmp = t_2;
} else {
tmp = x * (y0 * ((c * y2) - (b * j)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (j * ((i * y1) - (b * y0))) t_2 = ((t * c) - (k * y1)) * (z * i) tmp = 0 if b <= -2.65e+200: tmp = z * (b * ((k * y0) - (t * a))) elif b <= -9.5e+118: tmp = t_1 elif b <= -4.3e+68: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif b <= -8e+50: tmp = t_2 elif b <= -1.55e-89: tmp = i * (y5 * ((y * k) - (t * j))) elif b <= -7.5e-155: tmp = c * (y0 * ((x * y2) - (z * y3))) elif b <= -9.2e-308: tmp = x * (c * ((y0 * y2) - (y * i))) elif b <= 13.8: tmp = t_2 elif b <= 1.35e+41: tmp = t_1 elif b <= 2.9e+77: tmp = t_2 else: tmp = x * (y0 * ((c * y2) - (b * j))) 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(j * Float64(Float64(i * y1) - Float64(b * y0)))) t_2 = Float64(Float64(Float64(t * c) - Float64(k * y1)) * Float64(z * i)) tmp = 0.0 if (b <= -2.65e+200) tmp = Float64(z * Float64(b * Float64(Float64(k * y0) - Float64(t * a)))); elseif (b <= -9.5e+118) tmp = t_1; elseif (b <= -4.3e+68) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (b <= -8e+50) tmp = t_2; elseif (b <= -1.55e-89) tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))); elseif (b <= -7.5e-155) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (b <= -9.2e-308) tmp = Float64(x * Float64(c * Float64(Float64(y0 * y2) - Float64(y * i)))); elseif (b <= 13.8) tmp = t_2; elseif (b <= 1.35e+41) tmp = t_1; elseif (b <= 2.9e+77) tmp = t_2; else tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * (j * ((i * y1) - (b * y0))); t_2 = ((t * c) - (k * y1)) * (z * i); tmp = 0.0; if (b <= -2.65e+200) tmp = z * (b * ((k * y0) - (t * a))); elseif (b <= -9.5e+118) tmp = t_1; elseif (b <= -4.3e+68) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (b <= -8e+50) tmp = t_2; elseif (b <= -1.55e-89) tmp = i * (y5 * ((y * k) - (t * j))); elseif (b <= -7.5e-155) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (b <= -9.2e-308) tmp = x * (c * ((y0 * y2) - (y * i))); elseif (b <= 13.8) tmp = t_2; elseif (b <= 1.35e+41) tmp = t_1; elseif (b <= 2.9e+77) tmp = t_2; else tmp = x * (y0 * ((c * y2) - (b * j))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision] * N[(z * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.65e+200], N[(z * N[(b * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9.5e+118], t$95$1, If[LessEqual[b, -4.3e+68], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -8e+50], t$95$2, If[LessEqual[b, -1.55e-89], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -7.5e-155], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9.2e-308], N[(x * N[(c * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 13.8], t$95$2, If[LessEqual[b, 1.35e+41], t$95$1, If[LessEqual[b, 2.9e+77], t$95$2, N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_2 := \left(t \cdot c - k \cdot y1\right) \cdot \left(z \cdot i\right)\\
\mathbf{if}\;b \leq -2.65 \cdot 10^{+200}:\\
\;\;\;\;z \cdot \left(b \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;b \leq -9.5 \cdot 10^{+118}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq -4.3 \cdot 10^{+68}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;b \leq -8 \cdot 10^{+50}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq -1.55 \cdot 10^{-89}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\
\mathbf{elif}\;b \leq -7.5 \cdot 10^{-155}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;b \leq -9.2 \cdot 10^{-308}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{elif}\;b \leq 13.8:\\
\;\;\;\;t_2\\
\mathbf{elif}\;b \leq 1.35 \cdot 10^{+41}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq 2.9 \cdot 10^{+77}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\end{array}
\end{array}
if b < -2.64999999999999997e200Initial program 16.3%
Simplified16.3%
Taylor expanded in z around -inf 40.5%
Taylor expanded in b around inf 68.3%
if -2.64999999999999997e200 < b < -9.49999999999999974e118 or 13.800000000000001 < b < 1.35e41Initial program 37.4%
Simplified37.4%
Taylor expanded in x around inf 52.0%
Taylor expanded in j around inf 63.8%
if -9.49999999999999974e118 < b < -4.3000000000000001e68Initial program 0.5%
Simplified0.5%
Taylor expanded in y5 around inf 30.8%
mul-1-neg30.8%
Simplified30.8%
Taylor expanded in y0 around inf 55.6%
associate-*r*55.6%
neg-mul-155.6%
*-commutative55.6%
*-commutative55.6%
Simplified55.6%
if -4.3000000000000001e68 < b < -8.0000000000000006e50 or -9.1999999999999996e-308 < b < 13.800000000000001 or 1.35e41 < b < 2.9000000000000002e77Initial program 39.8%
Simplified39.8%
Taylor expanded in z around -inf 55.4%
Taylor expanded in i around -inf 50.1%
if -8.0000000000000006e50 < b < -1.54999999999999998e-89Initial program 36.0%
Simplified36.0%
Taylor expanded in y5 around inf 36.0%
mul-1-neg36.0%
Simplified36.0%
Taylor expanded in i around inf 48.7%
if -1.54999999999999998e-89 < b < -7.5000000000000006e-155Initial program 38.5%
Simplified38.5%
Taylor expanded in c around inf 47.5%
associate--l+47.5%
*-commutative47.5%
mul-1-neg47.5%
*-commutative47.5%
*-commutative47.5%
Simplified47.5%
Taylor expanded in y0 around -inf 70.2%
if -7.5000000000000006e-155 < b < -9.1999999999999996e-308Initial program 33.8%
Simplified33.8%
Taylor expanded in c around inf 55.6%
associate--l+55.6%
*-commutative55.6%
mul-1-neg55.6%
*-commutative55.6%
*-commutative55.6%
Simplified55.6%
Taylor expanded in x around inf 51.4%
associate-*r*53.0%
*-commutative53.0%
Simplified53.0%
if 2.9000000000000002e77 < b Initial program 25.2%
Simplified25.2%
Taylor expanded in x around inf 35.7%
Taylor expanded in y0 around inf 56.7%
Final simplification56.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* t (* z b)) (- a))))
(if (<= b -2.25e+201)
t_1
(if (<= b -5.1e+152)
(* (* i y1) (* x j))
(if (<= b -9e+124)
(* (* b j) (* t y4))
(if (<= b -4.7e+83)
(* c (* y0 (* x y2)))
(if (<= b -2.7e+48)
(* z (* a (* t (- b))))
(if (<= b -5e-94)
(* y1 (* i (* x j)))
(if (<= b 4.4e+170)
(* a (* y5 (- (* t y2) (* y y3))))
t_1)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * (z * b)) * -a;
double tmp;
if (b <= -2.25e+201) {
tmp = t_1;
} else if (b <= -5.1e+152) {
tmp = (i * y1) * (x * j);
} else if (b <= -9e+124) {
tmp = (b * j) * (t * y4);
} else if (b <= -4.7e+83) {
tmp = c * (y0 * (x * y2));
} else if (b <= -2.7e+48) {
tmp = z * (a * (t * -b));
} else if (b <= -5e-94) {
tmp = y1 * (i * (x * j));
} else if (b <= 4.4e+170) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (t * (z * b)) * -a
if (b <= (-2.25d+201)) then
tmp = t_1
else if (b <= (-5.1d+152)) then
tmp = (i * y1) * (x * j)
else if (b <= (-9d+124)) then
tmp = (b * j) * (t * y4)
else if (b <= (-4.7d+83)) then
tmp = c * (y0 * (x * y2))
else if (b <= (-2.7d+48)) then
tmp = z * (a * (t * -b))
else if (b <= (-5d-94)) then
tmp = y1 * (i * (x * j))
else if (b <= 4.4d+170) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * (z * b)) * -a;
double tmp;
if (b <= -2.25e+201) {
tmp = t_1;
} else if (b <= -5.1e+152) {
tmp = (i * y1) * (x * j);
} else if (b <= -9e+124) {
tmp = (b * j) * (t * y4);
} else if (b <= -4.7e+83) {
tmp = c * (y0 * (x * y2));
} else if (b <= -2.7e+48) {
tmp = z * (a * (t * -b));
} else if (b <= -5e-94) {
tmp = y1 * (i * (x * j));
} else if (b <= 4.4e+170) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * (z * b)) * -a tmp = 0 if b <= -2.25e+201: tmp = t_1 elif b <= -5.1e+152: tmp = (i * y1) * (x * j) elif b <= -9e+124: tmp = (b * j) * (t * y4) elif b <= -4.7e+83: tmp = c * (y0 * (x * y2)) elif b <= -2.7e+48: tmp = z * (a * (t * -b)) elif b <= -5e-94: tmp = y1 * (i * (x * j)) elif b <= 4.4e+170: tmp = a * (y5 * ((t * y2) - (y * y3))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * Float64(z * b)) * Float64(-a)) tmp = 0.0 if (b <= -2.25e+201) tmp = t_1; elseif (b <= -5.1e+152) tmp = Float64(Float64(i * y1) * Float64(x * j)); elseif (b <= -9e+124) tmp = Float64(Float64(b * j) * Float64(t * y4)); elseif (b <= -4.7e+83) tmp = Float64(c * Float64(y0 * Float64(x * y2))); elseif (b <= -2.7e+48) tmp = Float64(z * Float64(a * Float64(t * Float64(-b)))); elseif (b <= -5e-94) tmp = Float64(y1 * Float64(i * Float64(x * j))); elseif (b <= 4.4e+170) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (t * (z * b)) * -a; tmp = 0.0; if (b <= -2.25e+201) tmp = t_1; elseif (b <= -5.1e+152) tmp = (i * y1) * (x * j); elseif (b <= -9e+124) tmp = (b * j) * (t * y4); elseif (b <= -4.7e+83) tmp = c * (y0 * (x * y2)); elseif (b <= -2.7e+48) tmp = z * (a * (t * -b)); elseif (b <= -5e-94) tmp = y1 * (i * (x * j)); elseif (b <= 4.4e+170) tmp = a * (y5 * ((t * y2) - (y * y3))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * N[(z * b), $MachinePrecision]), $MachinePrecision] * (-a)), $MachinePrecision]}, If[LessEqual[b, -2.25e+201], t$95$1, If[LessEqual[b, -5.1e+152], N[(N[(i * y1), $MachinePrecision] * N[(x * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9e+124], N[(N[(b * j), $MachinePrecision] * N[(t * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4.7e+83], N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -2.7e+48], N[(z * N[(a * N[(t * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -5e-94], N[(y1 * N[(i * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.4e+170], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(t \cdot \left(z \cdot b\right)\right) \cdot \left(-a\right)\\
\mathbf{if}\;b \leq -2.25 \cdot 10^{+201}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq -5.1 \cdot 10^{+152}:\\
\;\;\;\;\left(i \cdot y1\right) \cdot \left(x \cdot j\right)\\
\mathbf{elif}\;b \leq -9 \cdot 10^{+124}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(t \cdot y4\right)\\
\mathbf{elif}\;b \leq -4.7 \cdot 10^{+83}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;b \leq -2.7 \cdot 10^{+48}:\\
\;\;\;\;z \cdot \left(a \cdot \left(t \cdot \left(-b\right)\right)\right)\\
\mathbf{elif}\;b \leq -5 \cdot 10^{-94}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;b \leq 4.4 \cdot 10^{+170}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if b < -2.25000000000000005e201 or 4.39999999999999978e170 < b Initial program 19.6%
Simplified19.6%
Taylor expanded in z around -inf 39.0%
Taylor expanded in a around inf 42.7%
*-commutative42.7%
mul-1-neg42.7%
sub-neg42.7%
*-commutative42.7%
Simplified42.7%
Taylor expanded in t around inf 54.7%
if -2.25000000000000005e201 < b < -5.0999999999999996e152Initial program 36.3%
Simplified36.3%
Taylor expanded in j around inf 58.2%
associate--l+58.2%
mul-1-neg58.2%
*-commutative58.2%
*-commutative58.2%
*-commutative58.2%
Simplified58.2%
Taylor expanded in i around -inf 44.3%
associate-*r*44.3%
neg-mul-144.3%
*-commutative44.3%
*-commutative44.3%
Simplified44.3%
Taylor expanded in t around 0 51.6%
associate-*r*58.1%
*-commutative58.1%
Simplified58.1%
if -5.0999999999999996e152 < b < -9.0000000000000008e124Initial program 40.0%
Simplified40.0%
Taylor expanded in y4 around inf 50.7%
Taylor expanded in t around inf 51.5%
Taylor expanded in j around inf 31.8%
associate-*r*40.9%
*-commutative40.9%
*-commutative40.9%
Simplified40.9%
if -9.0000000000000008e124 < b < -4.6999999999999999e83Initial program 11.1%
Simplified11.1%
Taylor expanded in c around inf 45.7%
associate--l+45.7%
*-commutative45.7%
mul-1-neg45.7%
*-commutative45.7%
*-commutative45.7%
Simplified45.7%
Taylor expanded in x around inf 67.9%
associate-*r*67.9%
*-commutative67.9%
Simplified67.9%
Taylor expanded in y0 around inf 56.6%
*-commutative56.6%
Simplified56.6%
if -4.6999999999999999e83 < b < -2.70000000000000004e48Initial program 27.1%
Simplified27.1%
Taylor expanded in z around -inf 47.9%
Taylor expanded in a around inf 54.5%
*-commutative54.5%
mul-1-neg54.5%
sub-neg54.5%
*-commutative54.5%
Simplified54.5%
Taylor expanded in t around inf 48.1%
if -2.70000000000000004e48 < b < -4.9999999999999995e-94Initial program 25.0%
Simplified25.0%
Taylor expanded in j around inf 54.8%
associate--l+54.8%
mul-1-neg54.8%
*-commutative54.8%
*-commutative54.8%
*-commutative54.8%
Simplified54.8%
Taylor expanded in i around -inf 38.5%
associate-*r*38.5%
neg-mul-138.5%
*-commutative38.5%
*-commutative38.5%
Simplified38.5%
Taylor expanded in t around 0 43.0%
if -4.9999999999999995e-94 < b < 4.39999999999999978e170Initial program 38.7%
Simplified38.7%
Taylor expanded in y5 around inf 36.3%
mul-1-neg36.3%
Simplified36.3%
Taylor expanded in a around inf 32.8%
*-commutative32.8%
*-commutative32.8%
Simplified32.8%
Final simplification42.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y2 (- (* x y0) (* t y4)))))
(t_2 (* a (* y5 (- (* t y2) (* y y3))))))
(if (<= j -1.75e+190)
(* j (* y5 (- (* y0 y3) (* t i))))
(if (<= j -3.8e+117)
(* y4 (* y1 (- (* k y2) (* j y3))))
(if (<= j -7.2e+51)
(* c (* y (- (* y3 y4) (* x i))))
(if (<= j -2.4e-76)
t_2
(if (<= j 3.65e-136)
t_1
(if (<= j 1e-36)
t_2
(if (<= j 1.8e+42)
t_1
(* t (* j (- (* b y4) (* i 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 = c * (y2 * ((x * y0) - (t * y4)));
double t_2 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (j <= -1.75e+190) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (j <= -3.8e+117) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if (j <= -7.2e+51) {
tmp = c * (y * ((y3 * y4) - (x * i)));
} else if (j <= -2.4e-76) {
tmp = t_2;
} else if (j <= 3.65e-136) {
tmp = t_1;
} else if (j <= 1e-36) {
tmp = t_2;
} else if (j <= 1.8e+42) {
tmp = t_1;
} else {
tmp = t * (j * ((b * y4) - (i * 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 = c * (y2 * ((x * y0) - (t * y4)))
t_2 = a * (y5 * ((t * y2) - (y * y3)))
if (j <= (-1.75d+190)) then
tmp = j * (y5 * ((y0 * y3) - (t * i)))
else if (j <= (-3.8d+117)) then
tmp = y4 * (y1 * ((k * y2) - (j * y3)))
else if (j <= (-7.2d+51)) then
tmp = c * (y * ((y3 * y4) - (x * i)))
else if (j <= (-2.4d-76)) then
tmp = t_2
else if (j <= 3.65d-136) then
tmp = t_1
else if (j <= 1d-36) then
tmp = t_2
else if (j <= 1.8d+42) then
tmp = t_1
else
tmp = t * (j * ((b * y4) - (i * 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 = c * (y2 * ((x * y0) - (t * y4)));
double t_2 = a * (y5 * ((t * y2) - (y * y3)));
double tmp;
if (j <= -1.75e+190) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (j <= -3.8e+117) {
tmp = y4 * (y1 * ((k * y2) - (j * y3)));
} else if (j <= -7.2e+51) {
tmp = c * (y * ((y3 * y4) - (x * i)));
} else if (j <= -2.4e-76) {
tmp = t_2;
} else if (j <= 3.65e-136) {
tmp = t_1;
} else if (j <= 1e-36) {
tmp = t_2;
} else if (j <= 1.8e+42) {
tmp = t_1;
} else {
tmp = t * (j * ((b * y4) - (i * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y2 * ((x * y0) - (t * y4))) t_2 = a * (y5 * ((t * y2) - (y * y3))) tmp = 0 if j <= -1.75e+190: tmp = j * (y5 * ((y0 * y3) - (t * i))) elif j <= -3.8e+117: tmp = y4 * (y1 * ((k * y2) - (j * y3))) elif j <= -7.2e+51: tmp = c * (y * ((y3 * y4) - (x * i))) elif j <= -2.4e-76: tmp = t_2 elif j <= 3.65e-136: tmp = t_1 elif j <= 1e-36: tmp = t_2 elif j <= 1.8e+42: tmp = t_1 else: tmp = t * (j * ((b * y4) - (i * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))) t_2 = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) tmp = 0.0 if (j <= -1.75e+190) tmp = Float64(j * Float64(y5 * Float64(Float64(y0 * y3) - Float64(t * i)))); elseif (j <= -3.8e+117) tmp = Float64(y4 * Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (j <= -7.2e+51) tmp = Float64(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i)))); elseif (j <= -2.4e-76) tmp = t_2; elseif (j <= 3.65e-136) tmp = t_1; elseif (j <= 1e-36) tmp = t_2; elseif (j <= 1.8e+42) tmp = t_1; else tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * 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 = c * (y2 * ((x * y0) - (t * y4))); t_2 = a * (y5 * ((t * y2) - (y * y3))); tmp = 0.0; if (j <= -1.75e+190) tmp = j * (y5 * ((y0 * y3) - (t * i))); elseif (j <= -3.8e+117) tmp = y4 * (y1 * ((k * y2) - (j * y3))); elseif (j <= -7.2e+51) tmp = c * (y * ((y3 * y4) - (x * i))); elseif (j <= -2.4e-76) tmp = t_2; elseif (j <= 3.65e-136) tmp = t_1; elseif (j <= 1e-36) tmp = t_2; elseif (j <= 1.8e+42) tmp = t_1; else tmp = t * (j * ((b * y4) - (i * 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[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.75e+190], N[(j * N[(y5 * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -3.8e+117], N[(y4 * N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -7.2e+51], N[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.4e-76], t$95$2, If[LessEqual[j, 3.65e-136], t$95$1, If[LessEqual[j, 1e-36], t$95$2, If[LessEqual[j, 1.8e+42], t$95$1, N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
t_2 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{if}\;j \leq -1.75 \cdot 10^{+190}:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\
\mathbf{elif}\;j \leq -3.8 \cdot 10^{+117}:\\
\;\;\;\;y4 \cdot \left(y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq -7.2 \cdot 10^{+51}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\
\mathbf{elif}\;j \leq -2.4 \cdot 10^{-76}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;j \leq 3.65 \cdot 10^{-136}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 10^{-36}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;j \leq 1.8 \cdot 10^{+42}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if j < -1.7499999999999999e190Initial program 16.7%
Simplified16.7%
Taylor expanded in j around inf 58.3%
associate--l+58.3%
mul-1-neg58.3%
*-commutative58.3%
*-commutative58.3%
*-commutative58.3%
Simplified58.3%
Taylor expanded in y5 around inf 59.1%
*-commutative59.1%
cancel-sign-sub-inv59.1%
metadata-eval59.1%
*-lft-identity59.1%
+-commutative59.1%
mul-1-neg59.1%
sub-neg59.1%
Simplified59.1%
if -1.7499999999999999e190 < j < -3.8000000000000002e117Initial program 19.0%
Simplified19.0%
Taylor expanded in y4 around inf 33.5%
Taylor expanded in y1 around inf 48.1%
if -3.8000000000000002e117 < j < -7.20000000000000022e51Initial program 27.3%
Simplified27.3%
Taylor expanded in c around inf 55.1%
associate--l+55.1%
*-commutative55.1%
mul-1-neg55.1%
*-commutative55.1%
*-commutative55.1%
Simplified55.1%
Taylor expanded in y around -inf 64.7%
mul-1-neg64.7%
unsub-neg64.7%
*-commutative64.7%
*-commutative64.7%
Simplified64.7%
if -7.20000000000000022e51 < j < -2.40000000000000013e-76 or 3.6499999999999999e-136 < j < 9.9999999999999994e-37Initial program 34.3%
Simplified34.3%
Taylor expanded in y5 around inf 52.5%
mul-1-neg52.5%
Simplified52.5%
Taylor expanded in a around inf 48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
if -2.40000000000000013e-76 < j < 3.6499999999999999e-136 or 9.9999999999999994e-37 < j < 1.8e42Initial program 38.4%
Simplified38.4%
Taylor expanded in c around inf 53.3%
associate--l+53.3%
*-commutative53.3%
mul-1-neg53.3%
*-commutative53.3%
*-commutative53.3%
Simplified53.3%
Taylor expanded in y2 around inf 39.5%
if 1.8e42 < j Initial program 28.0%
Simplified28.0%
Taylor expanded in j around inf 52.7%
associate--l+52.7%
mul-1-neg52.7%
*-commutative52.7%
*-commutative52.7%
*-commutative52.7%
Simplified52.7%
Taylor expanded in t around inf 49.0%
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 (* j (* b (- (* t y4) (* x y0))))))
(if (<= c -7.2e+99)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= c -5e-155)
t_1
(if (<= c -2.45e-293)
(* (* a (* y3 y5)) (- y))
(if (<= c 1.5e-231)
t_1
(if (<= c 1.7e-76)
(* x (* a (- (* y b) (* y1 y2))))
(if (<= c 2e+36)
(* j (* y5 (- (* y0 y3) (* t i))))
(if (<= c 1.15e+179)
(* t (* j (- (* b y4) (* i y5))))
(* c (* y (- (* y3 y4) (* x i)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (b * ((t * y4) - (x * y0)));
double tmp;
if (c <= -7.2e+99) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (c <= -5e-155) {
tmp = t_1;
} else if (c <= -2.45e-293) {
tmp = (a * (y3 * y5)) * -y;
} else if (c <= 1.5e-231) {
tmp = t_1;
} else if (c <= 1.7e-76) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (c <= 2e+36) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (c <= 1.15e+179) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else {
tmp = c * (y * ((y3 * y4) - (x * i)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (b * ((t * y4) - (x * y0)))
if (c <= (-7.2d+99)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (c <= (-5d-155)) then
tmp = t_1
else if (c <= (-2.45d-293)) then
tmp = (a * (y3 * y5)) * -y
else if (c <= 1.5d-231) then
tmp = t_1
else if (c <= 1.7d-76) then
tmp = x * (a * ((y * b) - (y1 * y2)))
else if (c <= 2d+36) then
tmp = j * (y5 * ((y0 * y3) - (t * i)))
else if (c <= 1.15d+179) then
tmp = t * (j * ((b * y4) - (i * y5)))
else
tmp = c * (y * ((y3 * y4) - (x * i)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (b * ((t * y4) - (x * y0)));
double tmp;
if (c <= -7.2e+99) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (c <= -5e-155) {
tmp = t_1;
} else if (c <= -2.45e-293) {
tmp = (a * (y3 * y5)) * -y;
} else if (c <= 1.5e-231) {
tmp = t_1;
} else if (c <= 1.7e-76) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (c <= 2e+36) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (c <= 1.15e+179) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else {
tmp = c * (y * ((y3 * y4) - (x * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (b * ((t * y4) - (x * y0))) tmp = 0 if c <= -7.2e+99: tmp = c * (y0 * ((x * y2) - (z * y3))) elif c <= -5e-155: tmp = t_1 elif c <= -2.45e-293: tmp = (a * (y3 * y5)) * -y elif c <= 1.5e-231: tmp = t_1 elif c <= 1.7e-76: tmp = x * (a * ((y * b) - (y1 * y2))) elif c <= 2e+36: tmp = j * (y5 * ((y0 * y3) - (t * i))) elif c <= 1.15e+179: tmp = t * (j * ((b * y4) - (i * y5))) else: tmp = c * (y * ((y3 * y4) - (x * i))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (c <= -7.2e+99) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (c <= -5e-155) tmp = t_1; elseif (c <= -2.45e-293) tmp = Float64(Float64(a * Float64(y3 * y5)) * Float64(-y)); elseif (c <= 1.5e-231) tmp = t_1; elseif (c <= 1.7e-76) tmp = Float64(x * Float64(a * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (c <= 2e+36) tmp = Float64(j * Float64(y5 * Float64(Float64(y0 * y3) - Float64(t * i)))); elseif (c <= 1.15e+179) tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))); else tmp = Float64(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (b * ((t * y4) - (x * y0))); tmp = 0.0; if (c <= -7.2e+99) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (c <= -5e-155) tmp = t_1; elseif (c <= -2.45e-293) tmp = (a * (y3 * y5)) * -y; elseif (c <= 1.5e-231) tmp = t_1; elseif (c <= 1.7e-76) tmp = x * (a * ((y * b) - (y1 * y2))); elseif (c <= 2e+36) tmp = j * (y5 * ((y0 * y3) - (t * i))); elseif (c <= 1.15e+179) tmp = t * (j * ((b * y4) - (i * y5))); else tmp = c * (y * ((y3 * y4) - (x * i))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -7.2e+99], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -5e-155], t$95$1, If[LessEqual[c, -2.45e-293], N[(N[(a * N[(y3 * y5), $MachinePrecision]), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[c, 1.5e-231], t$95$1, If[LessEqual[c, 1.7e-76], N[(x * N[(a * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2e+36], N[(j * N[(y5 * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.15e+179], N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;c \leq -7.2 \cdot 10^{+99}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq -5 \cdot 10^{-155}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -2.45 \cdot 10^{-293}:\\
\;\;\;\;\left(a \cdot \left(y3 \cdot y5\right)\right) \cdot \left(-y\right)\\
\mathbf{elif}\;c \leq 1.5 \cdot 10^{-231}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq 1.7 \cdot 10^{-76}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;c \leq 2 \cdot 10^{+36}:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\
\mathbf{elif}\;c \leq 1.15 \cdot 10^{+179}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\
\end{array}
\end{array}
if c < -7.2000000000000003e99Initial program 28.0%
Simplified28.0%
Taylor expanded in c around inf 61.9%
associate--l+61.9%
*-commutative61.9%
mul-1-neg61.9%
*-commutative61.9%
*-commutative61.9%
Simplified61.9%
Taylor expanded in y0 around -inf 47.4%
if -7.2000000000000003e99 < c < -4.9999999999999999e-155 or -2.45e-293 < c < 1.5000000000000001e-231Initial program 38.2%
Simplified38.2%
Taylor expanded in j around inf 53.7%
associate--l+53.7%
mul-1-neg53.7%
*-commutative53.7%
*-commutative53.7%
*-commutative53.7%
Simplified53.7%
Taylor expanded in b around inf 50.9%
if -4.9999999999999999e-155 < c < -2.45e-293Initial program 36.0%
Simplified36.0%
Taylor expanded in y5 around inf 43.9%
mul-1-neg43.9%
Simplified43.9%
Taylor expanded in a around inf 40.2%
*-commutative40.2%
*-commutative40.2%
Simplified40.2%
Taylor expanded in y around inf 47.8%
if 1.5000000000000001e-231 < c < 1.7e-76Initial program 23.6%
Simplified23.6%
Taylor expanded in x around inf 24.1%
Taylor expanded in a around inf 44.5%
*-commutative44.5%
mul-1-neg44.5%
unsub-neg44.5%
*-commutative44.5%
Simplified44.5%
if 1.7e-76 < c < 2.00000000000000008e36Initial program 40.8%
Simplified40.8%
Taylor expanded in j around inf 53.9%
associate--l+53.9%
mul-1-neg53.9%
*-commutative53.9%
*-commutative53.9%
*-commutative53.9%
Simplified53.9%
Taylor expanded in y5 around inf 42.0%
*-commutative42.0%
cancel-sign-sub-inv42.0%
metadata-eval42.0%
*-lft-identity42.0%
+-commutative42.0%
mul-1-neg42.0%
sub-neg42.0%
Simplified42.0%
if 2.00000000000000008e36 < c < 1.14999999999999997e179Initial program 24.0%
Simplified24.0%
Taylor expanded in j around inf 28.2%
associate--l+28.2%
mul-1-neg28.2%
*-commutative28.2%
*-commutative28.2%
*-commutative28.2%
Simplified28.2%
Taylor expanded in t around inf 48.5%
if 1.14999999999999997e179 < c Initial program 22.1%
Simplified22.1%
Taylor expanded in c around inf 53.4%
associate--l+53.4%
*-commutative53.4%
mul-1-neg53.4%
*-commutative53.4%
*-commutative53.4%
Simplified53.4%
Taylor expanded in y around -inf 44.6%
mul-1-neg44.6%
unsub-neg44.6%
*-commutative44.6%
*-commutative44.6%
Simplified44.6%
Final simplification47.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* j (- (* i y1) (* b y0))))))
(if (<= y5 -6.8e+79)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y5 -4.2e-32)
(* x (* a (- (* y b) (* y1 y2))))
(if (<= y5 -1.2e-132)
(* x (* c (- (* y0 y2) (* y i))))
(if (<= y5 -2.2e-235)
(* y4 (* b (- (* t j) (* y k))))
(if (<= y5 5.2e-82)
t_1
(if (<= y5 1.65e+85)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y5 2.8e+129)
t_1
(* t (* j (- (* b y4) (* i 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 = x * (j * ((i * y1) - (b * y0)));
double tmp;
if (y5 <= -6.8e+79) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y5 <= -4.2e-32) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (y5 <= -1.2e-132) {
tmp = x * (c * ((y0 * y2) - (y * i)));
} else if (y5 <= -2.2e-235) {
tmp = y4 * (b * ((t * j) - (y * k)));
} else if (y5 <= 5.2e-82) {
tmp = t_1;
} else if (y5 <= 1.65e+85) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y5 <= 2.8e+129) {
tmp = t_1;
} else {
tmp = t * (j * ((b * y4) - (i * 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 = x * (j * ((i * y1) - (b * y0)))
if (y5 <= (-6.8d+79)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y5 <= (-4.2d-32)) then
tmp = x * (a * ((y * b) - (y1 * y2)))
else if (y5 <= (-1.2d-132)) then
tmp = x * (c * ((y0 * y2) - (y * i)))
else if (y5 <= (-2.2d-235)) then
tmp = y4 * (b * ((t * j) - (y * k)))
else if (y5 <= 5.2d-82) then
tmp = t_1
else if (y5 <= 1.65d+85) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y5 <= 2.8d+129) then
tmp = t_1
else
tmp = t * (j * ((b * y4) - (i * 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 = x * (j * ((i * y1) - (b * y0)));
double tmp;
if (y5 <= -6.8e+79) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y5 <= -4.2e-32) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (y5 <= -1.2e-132) {
tmp = x * (c * ((y0 * y2) - (y * i)));
} else if (y5 <= -2.2e-235) {
tmp = y4 * (b * ((t * j) - (y * k)));
} else if (y5 <= 5.2e-82) {
tmp = t_1;
} else if (y5 <= 1.65e+85) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y5 <= 2.8e+129) {
tmp = t_1;
} else {
tmp = t * (j * ((b * y4) - (i * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (j * ((i * y1) - (b * y0))) tmp = 0 if y5 <= -6.8e+79: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y5 <= -4.2e-32: tmp = x * (a * ((y * b) - (y1 * y2))) elif y5 <= -1.2e-132: tmp = x * (c * ((y0 * y2) - (y * i))) elif y5 <= -2.2e-235: tmp = y4 * (b * ((t * j) - (y * k))) elif y5 <= 5.2e-82: tmp = t_1 elif y5 <= 1.65e+85: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y5 <= 2.8e+129: tmp = t_1 else: tmp = t * (j * ((b * y4) - (i * y5))) 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(j * Float64(Float64(i * y1) - Float64(b * y0)))) tmp = 0.0 if (y5 <= -6.8e+79) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y5 <= -4.2e-32) tmp = Float64(x * Float64(a * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (y5 <= -1.2e-132) tmp = Float64(x * Float64(c * Float64(Float64(y0 * y2) - Float64(y * i)))); elseif (y5 <= -2.2e-235) tmp = Float64(y4 * Float64(b * Float64(Float64(t * j) - Float64(y * k)))); elseif (y5 <= 5.2e-82) tmp = t_1; elseif (y5 <= 1.65e+85) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y5 <= 2.8e+129) tmp = t_1; else tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * 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 = x * (j * ((i * y1) - (b * y0))); tmp = 0.0; if (y5 <= -6.8e+79) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y5 <= -4.2e-32) tmp = x * (a * ((y * b) - (y1 * y2))); elseif (y5 <= -1.2e-132) tmp = x * (c * ((y0 * y2) - (y * i))); elseif (y5 <= -2.2e-235) tmp = y4 * (b * ((t * j) - (y * k))); elseif (y5 <= 5.2e-82) tmp = t_1; elseif (y5 <= 1.65e+85) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y5 <= 2.8e+129) tmp = t_1; else tmp = t * (j * ((b * y4) - (i * 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[(x * N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -6.8e+79], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -4.2e-32], N[(x * N[(a * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.2e-132], N[(x * N[(c * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -2.2e-235], N[(y4 * N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.2e-82], t$95$1, If[LessEqual[y5, 1.65e+85], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.8e+129], t$95$1, N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y5 \leq -6.8 \cdot 10^{+79}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y5 \leq -4.2 \cdot 10^{-32}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y5 \leq -1.2 \cdot 10^{-132}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{elif}\;y5 \leq -2.2 \cdot 10^{-235}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y5 \leq 5.2 \cdot 10^{-82}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y5 \leq 1.65 \cdot 10^{+85}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y5 \leq 2.8 \cdot 10^{+129}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if y5 < -6.80000000000000063e79Initial program 30.9%
Simplified30.9%
Taylor expanded in y5 around inf 47.3%
mul-1-neg47.3%
Simplified47.3%
Taylor expanded in a around inf 55.7%
*-commutative55.7%
*-commutative55.7%
Simplified55.7%
if -6.80000000000000063e79 < y5 < -4.1999999999999998e-32Initial program 19.8%
Simplified19.8%
Taylor expanded in x around inf 44.0%
Taylor expanded in a around inf 44.0%
*-commutative44.0%
mul-1-neg44.0%
unsub-neg44.0%
*-commutative44.0%
Simplified44.0%
if -4.1999999999999998e-32 < y5 < -1.20000000000000008e-132Initial program 35.8%
Simplified35.8%
Taylor expanded in c around inf 48.8%
associate--l+48.8%
*-commutative48.8%
mul-1-neg48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in x around inf 45.8%
associate-*r*48.9%
*-commutative48.9%
Simplified48.9%
if -1.20000000000000008e-132 < y5 < -2.19999999999999984e-235Initial program 36.4%
Simplified36.4%
Taylor expanded in y4 around inf 41.2%
Taylor expanded in b around inf 55.4%
if -2.19999999999999984e-235 < y5 < 5.2e-82 or 1.65e85 < y5 < 2.79999999999999975e129Initial program 35.1%
Simplified35.1%
Taylor expanded in x around inf 42.8%
Taylor expanded in j around inf 49.8%
if 5.2e-82 < y5 < 1.65e85Initial program 30.4%
Simplified30.4%
Taylor expanded in c around inf 68.2%
associate--l+68.2%
*-commutative68.2%
mul-1-neg68.2%
*-commutative68.2%
*-commutative68.2%
Simplified68.2%
Taylor expanded in y0 around -inf 44.3%
if 2.79999999999999975e129 < y5 Initial program 25.0%
Simplified25.0%
Taylor expanded in j around inf 40.8%
associate--l+40.8%
mul-1-neg40.8%
*-commutative40.8%
*-commutative40.8%
*-commutative40.8%
Simplified40.8%
Taylor expanded in t around inf 56.5%
Final simplification51.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* j (- (* i y1) (* b y0))))))
(if (<= y5 -2.3e+81)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y5 -1.5e-33)
(* (- (* y b) (* y1 y2)) (* x a))
(if (<= y5 -1.32e-133)
(* x (* c (- (* y0 y2) (* y i))))
(if (<= y5 -2e-236)
(* y4 (* b (- (* t j) (* y k))))
(if (<= y5 1.5e-82)
t_1
(if (<= y5 1.95e+82)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y5 7.4e+126)
t_1
(* t (* j (- (* b y4) (* i 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 = x * (j * ((i * y1) - (b * y0)));
double tmp;
if (y5 <= -2.3e+81) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y5 <= -1.5e-33) {
tmp = ((y * b) - (y1 * y2)) * (x * a);
} else if (y5 <= -1.32e-133) {
tmp = x * (c * ((y0 * y2) - (y * i)));
} else if (y5 <= -2e-236) {
tmp = y4 * (b * ((t * j) - (y * k)));
} else if (y5 <= 1.5e-82) {
tmp = t_1;
} else if (y5 <= 1.95e+82) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y5 <= 7.4e+126) {
tmp = t_1;
} else {
tmp = t * (j * ((b * y4) - (i * 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 = x * (j * ((i * y1) - (b * y0)))
if (y5 <= (-2.3d+81)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y5 <= (-1.5d-33)) then
tmp = ((y * b) - (y1 * y2)) * (x * a)
else if (y5 <= (-1.32d-133)) then
tmp = x * (c * ((y0 * y2) - (y * i)))
else if (y5 <= (-2d-236)) then
tmp = y4 * (b * ((t * j) - (y * k)))
else if (y5 <= 1.5d-82) then
tmp = t_1
else if (y5 <= 1.95d+82) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y5 <= 7.4d+126) then
tmp = t_1
else
tmp = t * (j * ((b * y4) - (i * 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 = x * (j * ((i * y1) - (b * y0)));
double tmp;
if (y5 <= -2.3e+81) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y5 <= -1.5e-33) {
tmp = ((y * b) - (y1 * y2)) * (x * a);
} else if (y5 <= -1.32e-133) {
tmp = x * (c * ((y0 * y2) - (y * i)));
} else if (y5 <= -2e-236) {
tmp = y4 * (b * ((t * j) - (y * k)));
} else if (y5 <= 1.5e-82) {
tmp = t_1;
} else if (y5 <= 1.95e+82) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y5 <= 7.4e+126) {
tmp = t_1;
} else {
tmp = t * (j * ((b * y4) - (i * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (j * ((i * y1) - (b * y0))) tmp = 0 if y5 <= -2.3e+81: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y5 <= -1.5e-33: tmp = ((y * b) - (y1 * y2)) * (x * a) elif y5 <= -1.32e-133: tmp = x * (c * ((y0 * y2) - (y * i))) elif y5 <= -2e-236: tmp = y4 * (b * ((t * j) - (y * k))) elif y5 <= 1.5e-82: tmp = t_1 elif y5 <= 1.95e+82: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y5 <= 7.4e+126: tmp = t_1 else: tmp = t * (j * ((b * y4) - (i * y5))) 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(j * Float64(Float64(i * y1) - Float64(b * y0)))) tmp = 0.0 if (y5 <= -2.3e+81) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y5 <= -1.5e-33) tmp = Float64(Float64(Float64(y * b) - Float64(y1 * y2)) * Float64(x * a)); elseif (y5 <= -1.32e-133) tmp = Float64(x * Float64(c * Float64(Float64(y0 * y2) - Float64(y * i)))); elseif (y5 <= -2e-236) tmp = Float64(y4 * Float64(b * Float64(Float64(t * j) - Float64(y * k)))); elseif (y5 <= 1.5e-82) tmp = t_1; elseif (y5 <= 1.95e+82) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y5 <= 7.4e+126) tmp = t_1; else tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * 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 = x * (j * ((i * y1) - (b * y0))); tmp = 0.0; if (y5 <= -2.3e+81) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y5 <= -1.5e-33) tmp = ((y * b) - (y1 * y2)) * (x * a); elseif (y5 <= -1.32e-133) tmp = x * (c * ((y0 * y2) - (y * i))); elseif (y5 <= -2e-236) tmp = y4 * (b * ((t * j) - (y * k))); elseif (y5 <= 1.5e-82) tmp = t_1; elseif (y5 <= 1.95e+82) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y5 <= 7.4e+126) tmp = t_1; else tmp = t * (j * ((b * y4) - (i * 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[(x * N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -2.3e+81], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.5e-33], N[(N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision] * N[(x * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.32e-133], N[(x * N[(c * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -2e-236], N[(y4 * N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.5e-82], t$95$1, If[LessEqual[y5, 1.95e+82], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 7.4e+126], t$95$1, N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y5 \leq -2.3 \cdot 10^{+81}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y5 \leq -1.5 \cdot 10^{-33}:\\
\;\;\;\;\left(y \cdot b - y1 \cdot y2\right) \cdot \left(x \cdot a\right)\\
\mathbf{elif}\;y5 \leq -1.32 \cdot 10^{-133}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{elif}\;y5 \leq -2 \cdot 10^{-236}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y5 \leq 1.5 \cdot 10^{-82}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y5 \leq 1.95 \cdot 10^{+82}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y5 \leq 7.4 \cdot 10^{+126}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if y5 < -2.2999999999999999e81Initial program 30.9%
Simplified30.9%
Taylor expanded in y5 around inf 47.3%
mul-1-neg47.3%
Simplified47.3%
Taylor expanded in a around inf 55.7%
*-commutative55.7%
*-commutative55.7%
Simplified55.7%
if -2.2999999999999999e81 < y5 < -1.5000000000000001e-33Initial program 19.8%
Simplified19.8%
Taylor expanded in a around inf 28.8%
*-commutative28.8%
associate--l+28.8%
associate-*r*28.8%
*-commutative28.8%
associate-*r*28.8%
Simplified28.8%
Taylor expanded in x around inf 43.9%
associate-*r*44.0%
*-commutative44.0%
*-commutative44.0%
*-commutative44.0%
Simplified44.0%
if -1.5000000000000001e-33 < y5 < -1.32000000000000008e-133Initial program 35.8%
Simplified35.8%
Taylor expanded in c around inf 48.8%
associate--l+48.8%
*-commutative48.8%
mul-1-neg48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in x around inf 45.8%
associate-*r*48.9%
*-commutative48.9%
Simplified48.9%
if -1.32000000000000008e-133 < y5 < -2.0000000000000001e-236Initial program 36.4%
Simplified36.4%
Taylor expanded in y4 around inf 41.2%
Taylor expanded in b around inf 55.4%
if -2.0000000000000001e-236 < y5 < 1.4999999999999999e-82 or 1.94999999999999988e82 < y5 < 7.3999999999999996e126Initial program 35.1%
Simplified35.1%
Taylor expanded in x around inf 42.8%
Taylor expanded in j around inf 49.8%
if 1.4999999999999999e-82 < y5 < 1.94999999999999988e82Initial program 30.4%
Simplified30.4%
Taylor expanded in c around inf 68.2%
associate--l+68.2%
*-commutative68.2%
mul-1-neg68.2%
*-commutative68.2%
*-commutative68.2%
Simplified68.2%
Taylor expanded in y0 around -inf 44.3%
if 7.3999999999999996e126 < y5 Initial program 25.0%
Simplified25.0%
Taylor expanded in j around inf 40.8%
associate--l+40.8%
mul-1-neg40.8%
*-commutative40.8%
*-commutative40.8%
*-commutative40.8%
Simplified40.8%
Taylor expanded in t around inf 56.5%
Final simplification51.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (* j (- (* i y1) (* b y0))))))
(if (<= y5 -9.2e+82)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y5 -5.6e-32)
(* (- (* y b) (* y1 y2)) (* x a))
(if (<= y5 -4.4e-134)
(* x (* c (- (* y0 y2) (* y i))))
(if (<= y5 -2.3e-235)
(* y4 (* b (- (* t j) (* y k))))
(if (<= y5 1e-80)
t_1
(if (<= y5 2.05e+79)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y5 6e+134)
t_1
(* j (* i (- (* x y1) (* t 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 = x * (j * ((i * y1) - (b * y0)));
double tmp;
if (y5 <= -9.2e+82) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y5 <= -5.6e-32) {
tmp = ((y * b) - (y1 * y2)) * (x * a);
} else if (y5 <= -4.4e-134) {
tmp = x * (c * ((y0 * y2) - (y * i)));
} else if (y5 <= -2.3e-235) {
tmp = y4 * (b * ((t * j) - (y * k)));
} else if (y5 <= 1e-80) {
tmp = t_1;
} else if (y5 <= 2.05e+79) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y5 <= 6e+134) {
tmp = t_1;
} else {
tmp = j * (i * ((x * y1) - (t * 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 = x * (j * ((i * y1) - (b * y0)))
if (y5 <= (-9.2d+82)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y5 <= (-5.6d-32)) then
tmp = ((y * b) - (y1 * y2)) * (x * a)
else if (y5 <= (-4.4d-134)) then
tmp = x * (c * ((y0 * y2) - (y * i)))
else if (y5 <= (-2.3d-235)) then
tmp = y4 * (b * ((t * j) - (y * k)))
else if (y5 <= 1d-80) then
tmp = t_1
else if (y5 <= 2.05d+79) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y5 <= 6d+134) then
tmp = t_1
else
tmp = j * (i * ((x * y1) - (t * 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 = x * (j * ((i * y1) - (b * y0)));
double tmp;
if (y5 <= -9.2e+82) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y5 <= -5.6e-32) {
tmp = ((y * b) - (y1 * y2)) * (x * a);
} else if (y5 <= -4.4e-134) {
tmp = x * (c * ((y0 * y2) - (y * i)));
} else if (y5 <= -2.3e-235) {
tmp = y4 * (b * ((t * j) - (y * k)));
} else if (y5 <= 1e-80) {
tmp = t_1;
} else if (y5 <= 2.05e+79) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y5 <= 6e+134) {
tmp = t_1;
} else {
tmp = j * (i * ((x * y1) - (t * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (j * ((i * y1) - (b * y0))) tmp = 0 if y5 <= -9.2e+82: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y5 <= -5.6e-32: tmp = ((y * b) - (y1 * y2)) * (x * a) elif y5 <= -4.4e-134: tmp = x * (c * ((y0 * y2) - (y * i))) elif y5 <= -2.3e-235: tmp = y4 * (b * ((t * j) - (y * k))) elif y5 <= 1e-80: tmp = t_1 elif y5 <= 2.05e+79: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y5 <= 6e+134: tmp = t_1 else: tmp = j * (i * ((x * y1) - (t * y5))) 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(j * Float64(Float64(i * y1) - Float64(b * y0)))) tmp = 0.0 if (y5 <= -9.2e+82) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y5 <= -5.6e-32) tmp = Float64(Float64(Float64(y * b) - Float64(y1 * y2)) * Float64(x * a)); elseif (y5 <= -4.4e-134) tmp = Float64(x * Float64(c * Float64(Float64(y0 * y2) - Float64(y * i)))); elseif (y5 <= -2.3e-235) tmp = Float64(y4 * Float64(b * Float64(Float64(t * j) - Float64(y * k)))); elseif (y5 <= 1e-80) tmp = t_1; elseif (y5 <= 2.05e+79) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y5 <= 6e+134) tmp = t_1; else tmp = Float64(j * Float64(i * Float64(Float64(x * y1) - Float64(t * 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 = x * (j * ((i * y1) - (b * y0))); tmp = 0.0; if (y5 <= -9.2e+82) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y5 <= -5.6e-32) tmp = ((y * b) - (y1 * y2)) * (x * a); elseif (y5 <= -4.4e-134) tmp = x * (c * ((y0 * y2) - (y * i))); elseif (y5 <= -2.3e-235) tmp = y4 * (b * ((t * j) - (y * k))); elseif (y5 <= 1e-80) tmp = t_1; elseif (y5 <= 2.05e+79) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y5 <= 6e+134) tmp = t_1; else tmp = j * (i * ((x * y1) - (t * 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[(x * N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -9.2e+82], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5.6e-32], N[(N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision] * N[(x * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -4.4e-134], N[(x * N[(c * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -2.3e-235], N[(y4 * N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1e-80], t$95$1, If[LessEqual[y5, 2.05e+79], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 6e+134], t$95$1, N[(j * N[(i * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;y5 \leq -9.2 \cdot 10^{+82}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y5 \leq -5.6 \cdot 10^{-32}:\\
\;\;\;\;\left(y \cdot b - y1 \cdot y2\right) \cdot \left(x \cdot a\right)\\
\mathbf{elif}\;y5 \leq -4.4 \cdot 10^{-134}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\mathbf{elif}\;y5 \leq -2.3 \cdot 10^{-235}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y5 \leq 10^{-80}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y5 \leq 2.05 \cdot 10^{+79}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y5 \leq 6 \cdot 10^{+134}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(i \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\end{array}
\end{array}
if y5 < -9.19999999999999953e82Initial program 30.9%
Simplified30.9%
Taylor expanded in y5 around inf 47.3%
mul-1-neg47.3%
Simplified47.3%
Taylor expanded in a around inf 55.7%
*-commutative55.7%
*-commutative55.7%
Simplified55.7%
if -9.19999999999999953e82 < y5 < -5.5999999999999998e-32Initial program 19.8%
Simplified19.8%
Taylor expanded in a around inf 28.8%
*-commutative28.8%
associate--l+28.8%
associate-*r*28.8%
*-commutative28.8%
associate-*r*28.8%
Simplified28.8%
Taylor expanded in x around inf 43.9%
associate-*r*44.0%
*-commutative44.0%
*-commutative44.0%
*-commutative44.0%
Simplified44.0%
if -5.5999999999999998e-32 < y5 < -4.3999999999999999e-134Initial program 35.8%
Simplified35.8%
Taylor expanded in c around inf 48.8%
associate--l+48.8%
*-commutative48.8%
mul-1-neg48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in x around inf 45.8%
associate-*r*48.9%
*-commutative48.9%
Simplified48.9%
if -4.3999999999999999e-134 < y5 < -2.29999999999999997e-235Initial program 36.4%
Simplified36.4%
Taylor expanded in y4 around inf 41.2%
Taylor expanded in b around inf 55.4%
if -2.29999999999999997e-235 < y5 < 9.99999999999999961e-81 or 2.05e79 < y5 < 5.99999999999999993e134Initial program 34.6%
Simplified34.6%
Taylor expanded in x around inf 43.6%
Taylor expanded in j around inf 50.5%
if 9.99999999999999961e-81 < y5 < 2.05e79Initial program 30.4%
Simplified30.4%
Taylor expanded in c around inf 68.2%
associate--l+68.2%
*-commutative68.2%
mul-1-neg68.2%
*-commutative68.2%
*-commutative68.2%
Simplified68.2%
Taylor expanded in y0 around -inf 44.3%
if 5.99999999999999993e134 < y5 Initial program 25.8%
Simplified25.8%
Taylor expanded in j around inf 42.1%
associate--l+42.1%
mul-1-neg42.1%
*-commutative42.1%
*-commutative42.1%
*-commutative42.1%
Simplified42.1%
Taylor expanded in i around -inf 52.2%
associate-*r*52.2%
neg-mul-152.2%
*-commutative52.2%
*-commutative52.2%
Simplified52.2%
Taylor expanded in i around 0 52.2%
mul-1-neg52.2%
*-commutative52.2%
*-commutative52.2%
*-commutative52.2%
distribute-rgt-neg-out52.2%
associate-*l*55.2%
Simplified55.2%
Final simplification51.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* t (* z b)) (- a))) (t_2 (* i (* y1 (* x j)))))
(if (<= t -6.5e+185)
t_1
(if (<= t -1.65e+69)
(* x (* c (* i (- y))))
(if (<= t -7e-279)
t_2
(if (<= t 5.2e-281)
(* (- a) (* y (* y3 y5)))
(if (<= t 7e-245)
t_2
(if (<= t 1.3e+32)
(* (* x y) (* i (- c)))
(if (<= t 1.55e+156)
(* i (* j (* y5 (- t))))
(if (<= t 4.6e+271) (* (* y4 (* t 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 = (t * (z * b)) * -a;
double t_2 = i * (y1 * (x * j));
double tmp;
if (t <= -6.5e+185) {
tmp = t_1;
} else if (t <= -1.65e+69) {
tmp = x * (c * (i * -y));
} else if (t <= -7e-279) {
tmp = t_2;
} else if (t <= 5.2e-281) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 7e-245) {
tmp = t_2;
} else if (t <= 1.3e+32) {
tmp = (x * y) * (i * -c);
} else if (t <= 1.55e+156) {
tmp = i * (j * (y5 * -t));
} else if (t <= 4.6e+271) {
tmp = (y4 * (t * y2)) * -c;
} 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 = (t * (z * b)) * -a
t_2 = i * (y1 * (x * j))
if (t <= (-6.5d+185)) then
tmp = t_1
else if (t <= (-1.65d+69)) then
tmp = x * (c * (i * -y))
else if (t <= (-7d-279)) then
tmp = t_2
else if (t <= 5.2d-281) then
tmp = -a * (y * (y3 * y5))
else if (t <= 7d-245) then
tmp = t_2
else if (t <= 1.3d+32) then
tmp = (x * y) * (i * -c)
else if (t <= 1.55d+156) then
tmp = i * (j * (y5 * -t))
else if (t <= 4.6d+271) then
tmp = (y4 * (t * y2)) * -c
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 = (t * (z * b)) * -a;
double t_2 = i * (y1 * (x * j));
double tmp;
if (t <= -6.5e+185) {
tmp = t_1;
} else if (t <= -1.65e+69) {
tmp = x * (c * (i * -y));
} else if (t <= -7e-279) {
tmp = t_2;
} else if (t <= 5.2e-281) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 7e-245) {
tmp = t_2;
} else if (t <= 1.3e+32) {
tmp = (x * y) * (i * -c);
} else if (t <= 1.55e+156) {
tmp = i * (j * (y5 * -t));
} else if (t <= 4.6e+271) {
tmp = (y4 * (t * y2)) * -c;
} 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 = (t * (z * b)) * -a t_2 = i * (y1 * (x * j)) tmp = 0 if t <= -6.5e+185: tmp = t_1 elif t <= -1.65e+69: tmp = x * (c * (i * -y)) elif t <= -7e-279: tmp = t_2 elif t <= 5.2e-281: tmp = -a * (y * (y3 * y5)) elif t <= 7e-245: tmp = t_2 elif t <= 1.3e+32: tmp = (x * y) * (i * -c) elif t <= 1.55e+156: tmp = i * (j * (y5 * -t)) elif t <= 4.6e+271: tmp = (y4 * (t * y2)) * -c else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * Float64(z * b)) * Float64(-a)) t_2 = Float64(i * Float64(y1 * Float64(x * j))) tmp = 0.0 if (t <= -6.5e+185) tmp = t_1; elseif (t <= -1.65e+69) tmp = Float64(x * Float64(c * Float64(i * Float64(-y)))); elseif (t <= -7e-279) tmp = t_2; elseif (t <= 5.2e-281) tmp = Float64(Float64(-a) * Float64(y * Float64(y3 * y5))); elseif (t <= 7e-245) tmp = t_2; elseif (t <= 1.3e+32) tmp = Float64(Float64(x * y) * Float64(i * Float64(-c))); elseif (t <= 1.55e+156) tmp = Float64(i * Float64(j * Float64(y5 * Float64(-t)))); elseif (t <= 4.6e+271) tmp = Float64(Float64(y4 * Float64(t * y2)) * Float64(-c)); 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 = (t * (z * b)) * -a; t_2 = i * (y1 * (x * j)); tmp = 0.0; if (t <= -6.5e+185) tmp = t_1; elseif (t <= -1.65e+69) tmp = x * (c * (i * -y)); elseif (t <= -7e-279) tmp = t_2; elseif (t <= 5.2e-281) tmp = -a * (y * (y3 * y5)); elseif (t <= 7e-245) tmp = t_2; elseif (t <= 1.3e+32) tmp = (x * y) * (i * -c); elseif (t <= 1.55e+156) tmp = i * (j * (y5 * -t)); elseif (t <= 4.6e+271) tmp = (y4 * (t * y2)) * -c; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * N[(z * b), $MachinePrecision]), $MachinePrecision] * (-a)), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -6.5e+185], t$95$1, If[LessEqual[t, -1.65e+69], N[(x * N[(c * N[(i * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -7e-279], t$95$2, If[LessEqual[t, 5.2e-281], N[((-a) * N[(y * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 7e-245], t$95$2, If[LessEqual[t, 1.3e+32], N[(N[(x * y), $MachinePrecision] * N[(i * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.55e+156], N[(i * N[(j * N[(y5 * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 4.6e+271], N[(N[(y4 * N[(t * y2), $MachinePrecision]), $MachinePrecision] * (-c)), $MachinePrecision], t$95$1]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(t \cdot \left(z \cdot b\right)\right) \cdot \left(-a\right)\\
t_2 := i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{if}\;t \leq -6.5 \cdot 10^{+185}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq -1.65 \cdot 10^{+69}:\\
\;\;\;\;x \cdot \left(c \cdot \left(i \cdot \left(-y\right)\right)\right)\\
\mathbf{elif}\;t \leq -7 \cdot 10^{-279}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{-281}:\\
\;\;\;\;\left(-a\right) \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 7 \cdot 10^{-245}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t \leq 1.3 \cdot 10^{+32}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(i \cdot \left(-c\right)\right)\\
\mathbf{elif}\;t \leq 1.55 \cdot 10^{+156}:\\
\;\;\;\;i \cdot \left(j \cdot \left(y5 \cdot \left(-t\right)\right)\right)\\
\mathbf{elif}\;t \leq 4.6 \cdot 10^{+271}:\\
\;\;\;\;\left(y4 \cdot \left(t \cdot y2\right)\right) \cdot \left(-c\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if t < -6.5000000000000002e185 or 4.6000000000000001e271 < t Initial program 28.7%
Simplified28.7%
Taylor expanded in z around -inf 51.8%
Taylor expanded in a around inf 46.3%
*-commutative46.3%
mul-1-neg46.3%
sub-neg46.3%
*-commutative46.3%
Simplified46.3%
Taylor expanded in t around inf 54.9%
if -6.5000000000000002e185 < t < -1.6499999999999999e69Initial program 31.6%
Simplified31.6%
Taylor expanded in c around inf 32.4%
associate--l+32.4%
*-commutative32.4%
mul-1-neg32.4%
*-commutative32.4%
*-commutative32.4%
Simplified32.4%
Taylor expanded in x around inf 58.6%
associate-*r*58.6%
*-commutative58.6%
Simplified58.6%
Taylor expanded in y0 around 0 48.4%
neg-mul-148.4%
distribute-rgt-neg-in48.4%
Simplified48.4%
if -1.6499999999999999e69 < t < -7.00000000000000019e-279 or 5.2000000000000001e-281 < t < 7.00000000000000033e-245Initial program 30.3%
Simplified30.3%
Taylor expanded in j around inf 48.8%
associate--l+48.8%
mul-1-neg48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in i around -inf 29.9%
associate-*r*29.9%
neg-mul-129.9%
*-commutative29.9%
*-commutative29.9%
Simplified29.9%
Taylor expanded in x around inf 31.7%
if -7.00000000000000019e-279 < t < 5.2000000000000001e-281Initial program 37.8%
Simplified37.8%
Taylor expanded in y5 around inf 55.5%
mul-1-neg55.5%
Simplified55.5%
Taylor expanded in a around inf 46.8%
*-commutative46.8%
*-commutative46.8%
Simplified46.8%
Taylor expanded in y2 around 0 55.5%
associate-*r*55.5%
neg-mul-155.5%
Simplified55.5%
if 7.00000000000000033e-245 < t < 1.3000000000000001e32Initial program 38.3%
Simplified38.3%
Taylor expanded in c around inf 44.3%
associate--l+44.3%
*-commutative44.3%
mul-1-neg44.3%
*-commutative44.3%
*-commutative44.3%
Simplified44.3%
Taylor expanded in x around inf 32.7%
associate-*r*28.0%
*-commutative28.0%
Simplified28.0%
Taylor expanded in y0 around 0 26.4%
mul-1-neg26.4%
associate-*r*28.0%
*-commutative28.0%
associate-*r*26.4%
associate-*r*28.0%
*-commutative28.0%
Simplified28.0%
if 1.3000000000000001e32 < t < 1.5500000000000001e156Initial program 31.0%
Simplified31.0%
Taylor expanded in j around inf 41.8%
associate--l+41.8%
mul-1-neg41.8%
*-commutative41.8%
*-commutative41.8%
*-commutative41.8%
Simplified41.8%
Taylor expanded in i around -inf 42.2%
associate-*r*42.2%
neg-mul-142.2%
*-commutative42.2%
*-commutative42.2%
Simplified42.2%
Taylor expanded in t around inf 35.3%
if 1.5500000000000001e156 < t < 4.6000000000000001e271Initial program 20.0%
Simplified20.0%
Taylor expanded in y4 around inf 36.0%
Taylor expanded in t around inf 56.3%
Taylor expanded in j around 0 56.4%
Final simplification39.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -4.2e+21)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y5 -7.8e-109)
(* x (* c (* i (- y))))
(if (<= y5 -3.1e-193)
(* (* y2 (* t c)) (- y4))
(if (<= y5 -3.6e-240)
(* y4 (* b (* t j)))
(if (<= y5 9.6e-304)
(* i (* y1 (* x j)))
(if (<= y5 8e+172)
(* c (* y (- (* y3 y4) (* x i))))
(* i (* (* j y5) (- t))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -4.2e+21) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y5 <= -7.8e-109) {
tmp = x * (c * (i * -y));
} else if (y5 <= -3.1e-193) {
tmp = (y2 * (t * c)) * -y4;
} else if (y5 <= -3.6e-240) {
tmp = y4 * (b * (t * j));
} else if (y5 <= 9.6e-304) {
tmp = i * (y1 * (x * j));
} else if (y5 <= 8e+172) {
tmp = c * (y * ((y3 * y4) - (x * i)));
} else {
tmp = i * ((j * y5) * -t);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y5 <= (-4.2d+21)) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y5 <= (-7.8d-109)) then
tmp = x * (c * (i * -y))
else if (y5 <= (-3.1d-193)) then
tmp = (y2 * (t * c)) * -y4
else if (y5 <= (-3.6d-240)) then
tmp = y4 * (b * (t * j))
else if (y5 <= 9.6d-304) then
tmp = i * (y1 * (x * j))
else if (y5 <= 8d+172) then
tmp = c * (y * ((y3 * y4) - (x * i)))
else
tmp = i * ((j * y5) * -t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -4.2e+21) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y5 <= -7.8e-109) {
tmp = x * (c * (i * -y));
} else if (y5 <= -3.1e-193) {
tmp = (y2 * (t * c)) * -y4;
} else if (y5 <= -3.6e-240) {
tmp = y4 * (b * (t * j));
} else if (y5 <= 9.6e-304) {
tmp = i * (y1 * (x * j));
} else if (y5 <= 8e+172) {
tmp = c * (y * ((y3 * y4) - (x * i)));
} else {
tmp = i * ((j * y5) * -t);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y5 <= -4.2e+21: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y5 <= -7.8e-109: tmp = x * (c * (i * -y)) elif y5 <= -3.1e-193: tmp = (y2 * (t * c)) * -y4 elif y5 <= -3.6e-240: tmp = y4 * (b * (t * j)) elif y5 <= 9.6e-304: tmp = i * (y1 * (x * j)) elif y5 <= 8e+172: tmp = c * (y * ((y3 * y4) - (x * i))) else: tmp = i * ((j * y5) * -t) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -4.2e+21) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y5 <= -7.8e-109) tmp = Float64(x * Float64(c * Float64(i * Float64(-y)))); elseif (y5 <= -3.1e-193) tmp = Float64(Float64(y2 * Float64(t * c)) * Float64(-y4)); elseif (y5 <= -3.6e-240) tmp = Float64(y4 * Float64(b * Float64(t * j))); elseif (y5 <= 9.6e-304) tmp = Float64(i * Float64(y1 * Float64(x * j))); elseif (y5 <= 8e+172) tmp = Float64(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i)))); else tmp = Float64(i * Float64(Float64(j * y5) * Float64(-t))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y5 <= -4.2e+21) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y5 <= -7.8e-109) tmp = x * (c * (i * -y)); elseif (y5 <= -3.1e-193) tmp = (y2 * (t * c)) * -y4; elseif (y5 <= -3.6e-240) tmp = y4 * (b * (t * j)); elseif (y5 <= 9.6e-304) tmp = i * (y1 * (x * j)); elseif (y5 <= 8e+172) tmp = c * (y * ((y3 * y4) - (x * i))); else tmp = i * ((j * y5) * -t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -4.2e+21], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -7.8e-109], N[(x * N[(c * N[(i * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -3.1e-193], N[(N[(y2 * N[(t * c), $MachinePrecision]), $MachinePrecision] * (-y4)), $MachinePrecision], If[LessEqual[y5, -3.6e-240], N[(y4 * N[(b * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9.6e-304], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 8e+172], N[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(N[(j * y5), $MachinePrecision] * (-t)), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -4.2 \cdot 10^{+21}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y5 \leq -7.8 \cdot 10^{-109}:\\
\;\;\;\;x \cdot \left(c \cdot \left(i \cdot \left(-y\right)\right)\right)\\
\mathbf{elif}\;y5 \leq -3.1 \cdot 10^{-193}:\\
\;\;\;\;\left(y2 \cdot \left(t \cdot c\right)\right) \cdot \left(-y4\right)\\
\mathbf{elif}\;y5 \leq -3.6 \cdot 10^{-240}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j\right)\right)\\
\mathbf{elif}\;y5 \leq 9.6 \cdot 10^{-304}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{elif}\;y5 \leq 8 \cdot 10^{+172}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(\left(j \cdot y5\right) \cdot \left(-t\right)\right)\\
\end{array}
\end{array}
if y5 < -4.2e21Initial program 29.0%
Simplified29.0%
Taylor expanded in y5 around inf 43.6%
mul-1-neg43.6%
Simplified43.6%
Taylor expanded in a around inf 52.7%
*-commutative52.7%
*-commutative52.7%
Simplified52.7%
if -4.2e21 < y5 < -7.80000000000000046e-109Initial program 28.7%
Simplified28.7%
Taylor expanded in c around inf 34.1%
associate--l+34.1%
*-commutative34.1%
mul-1-neg34.1%
*-commutative34.1%
*-commutative34.1%
Simplified34.1%
Taylor expanded in x around inf 36.5%
associate-*r*38.9%
*-commutative38.9%
Simplified38.9%
Taylor expanded in y0 around 0 34.5%
neg-mul-134.5%
distribute-rgt-neg-in34.5%
Simplified34.5%
if -7.80000000000000046e-109 < y5 < -3.1000000000000002e-193Initial program 43.7%
Simplified43.7%
Taylor expanded in y4 around inf 39.5%
Taylor expanded in t around inf 37.0%
Taylor expanded in j around 0 28.3%
mul-1-neg28.3%
associate-*r*36.5%
Simplified36.5%
if -3.1000000000000002e-193 < y5 < -3.5999999999999999e-240Initial program 16.7%
Simplified16.7%
Taylor expanded in y4 around inf 50.0%
Taylor expanded in t around inf 50.8%
Taylor expanded in j around inf 67.5%
associate-*r*67.5%
*-commutative67.5%
Simplified67.5%
if -3.5999999999999999e-240 < y5 < 9.6000000000000004e-304Initial program 33.3%
Simplified33.3%
Taylor expanded in j around inf 68.3%
associate--l+68.3%
mul-1-neg68.3%
*-commutative68.3%
*-commutative68.3%
*-commutative68.3%
Simplified68.3%
Taylor expanded in i around -inf 43.2%
associate-*r*43.2%
neg-mul-143.2%
*-commutative43.2%
*-commutative43.2%
Simplified43.2%
Taylor expanded in x around inf 59.4%
if 9.6000000000000004e-304 < y5 < 8.0000000000000007e172Initial program 32.5%
Simplified32.5%
Taylor expanded in c around inf 53.1%
associate--l+53.1%
*-commutative53.1%
mul-1-neg53.1%
*-commutative53.1%
*-commutative53.1%
Simplified53.1%
Taylor expanded in y around -inf 32.3%
mul-1-neg32.3%
unsub-neg32.3%
*-commutative32.3%
*-commutative32.3%
Simplified32.3%
if 8.0000000000000007e172 < y5 Initial program 29.6%
Simplified29.6%
Taylor expanded in j around inf 44.7%
associate--l+44.7%
mul-1-neg44.7%
*-commutative44.7%
*-commutative44.7%
*-commutative44.7%
Simplified44.7%
Taylor expanded in i around -inf 52.5%
associate-*r*52.5%
neg-mul-152.5%
*-commutative52.5%
*-commutative52.5%
Simplified52.5%
Taylor expanded in t around inf 45.2%
mul-1-neg45.2%
*-commutative45.2%
distribute-rgt-neg-in45.2%
*-commutative45.2%
Simplified45.2%
Final simplification41.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y5 (- (* t y2) (* y y3)))))
(t_2 (* j (* b (- (* t y4) (* x y0)))))
(t_3 (* c (* y2 (- (* x y0) (* t y4))))))
(if (<= j -1.35e+76)
t_2
(if (<= j -2.2e-76)
t_1
(if (<= j 3.65e-136)
t_3
(if (<= j 9.5e-37)
t_1
(if (<= j 4e+48)
t_3
(if (<= j 5.3e+185) t_2 (* i (* (* j y5) (- t)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * ((t * y2) - (y * y3)));
double t_2 = j * (b * ((t * y4) - (x * y0)));
double t_3 = c * (y2 * ((x * y0) - (t * y4)));
double tmp;
if (j <= -1.35e+76) {
tmp = t_2;
} else if (j <= -2.2e-76) {
tmp = t_1;
} else if (j <= 3.65e-136) {
tmp = t_3;
} else if (j <= 9.5e-37) {
tmp = t_1;
} else if (j <= 4e+48) {
tmp = t_3;
} else if (j <= 5.3e+185) {
tmp = t_2;
} else {
tmp = i * ((j * y5) * -t);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = a * (y5 * ((t * y2) - (y * y3)))
t_2 = j * (b * ((t * y4) - (x * y0)))
t_3 = c * (y2 * ((x * y0) - (t * y4)))
if (j <= (-1.35d+76)) then
tmp = t_2
else if (j <= (-2.2d-76)) then
tmp = t_1
else if (j <= 3.65d-136) then
tmp = t_3
else if (j <= 9.5d-37) then
tmp = t_1
else if (j <= 4d+48) then
tmp = t_3
else if (j <= 5.3d+185) then
tmp = t_2
else
tmp = i * ((j * y5) * -t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y5 * ((t * y2) - (y * y3)));
double t_2 = j * (b * ((t * y4) - (x * y0)));
double t_3 = c * (y2 * ((x * y0) - (t * y4)));
double tmp;
if (j <= -1.35e+76) {
tmp = t_2;
} else if (j <= -2.2e-76) {
tmp = t_1;
} else if (j <= 3.65e-136) {
tmp = t_3;
} else if (j <= 9.5e-37) {
tmp = t_1;
} else if (j <= 4e+48) {
tmp = t_3;
} else if (j <= 5.3e+185) {
tmp = t_2;
} else {
tmp = i * ((j * y5) * -t);
}
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))) t_2 = j * (b * ((t * y4) - (x * y0))) t_3 = c * (y2 * ((x * y0) - (t * y4))) tmp = 0 if j <= -1.35e+76: tmp = t_2 elif j <= -2.2e-76: tmp = t_1 elif j <= 3.65e-136: tmp = t_3 elif j <= 9.5e-37: tmp = t_1 elif j <= 4e+48: tmp = t_3 elif j <= 5.3e+185: tmp = t_2 else: tmp = i * ((j * y5) * -t) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) t_2 = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0)))) t_3 = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))) tmp = 0.0 if (j <= -1.35e+76) tmp = t_2; elseif (j <= -2.2e-76) tmp = t_1; elseif (j <= 3.65e-136) tmp = t_3; elseif (j <= 9.5e-37) tmp = t_1; elseif (j <= 4e+48) tmp = t_3; elseif (j <= 5.3e+185) tmp = t_2; else tmp = Float64(i * Float64(Float64(j * y5) * Float64(-t))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y5 * ((t * y2) - (y * y3))); t_2 = j * (b * ((t * y4) - (x * y0))); t_3 = c * (y2 * ((x * y0) - (t * y4))); tmp = 0.0; if (j <= -1.35e+76) tmp = t_2; elseif (j <= -2.2e-76) tmp = t_1; elseif (j <= 3.65e-136) tmp = t_3; elseif (j <= 9.5e-37) tmp = t_1; elseif (j <= 4e+48) tmp = t_3; elseif (j <= 5.3e+185) tmp = t_2; else tmp = i * ((j * y5) * -t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.35e+76], t$95$2, If[LessEqual[j, -2.2e-76], t$95$1, If[LessEqual[j, 3.65e-136], t$95$3, If[LessEqual[j, 9.5e-37], t$95$1, If[LessEqual[j, 4e+48], t$95$3, If[LessEqual[j, 5.3e+185], t$95$2, N[(i * N[(N[(j * y5), $MachinePrecision] * (-t)), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
t_2 := j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
t_3 := c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{if}\;j \leq -1.35 \cdot 10^{+76}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;j \leq -2.2 \cdot 10^{-76}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 3.65 \cdot 10^{-136}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;j \leq 9.5 \cdot 10^{-37}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 4 \cdot 10^{+48}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;j \leq 5.3 \cdot 10^{+185}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(\left(j \cdot y5\right) \cdot \left(-t\right)\right)\\
\end{array}
\end{array}
if j < -1.34999999999999995e76 or 4.00000000000000018e48 < j < 5.30000000000000007e185Initial program 24.1%
Simplified24.1%
Taylor expanded in j around inf 50.9%
associate--l+50.9%
mul-1-neg50.9%
*-commutative50.9%
*-commutative50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in b around inf 48.7%
if -1.34999999999999995e76 < j < -2.19999999999999999e-76 or 3.6499999999999999e-136 < j < 9.49999999999999927e-37Initial program 33.6%
Simplified33.6%
Taylor expanded in y5 around inf 52.3%
mul-1-neg52.3%
Simplified52.3%
Taylor expanded in a around inf 48.9%
*-commutative48.9%
*-commutative48.9%
Simplified48.9%
if -2.19999999999999999e-76 < j < 3.6499999999999999e-136 or 9.49999999999999927e-37 < j < 4.00000000000000018e48Initial program 38.4%
Simplified38.4%
Taylor expanded in c around inf 53.3%
associate--l+53.3%
*-commutative53.3%
mul-1-neg53.3%
*-commutative53.3%
*-commutative53.3%
Simplified53.3%
Taylor expanded in y2 around inf 39.5%
if 5.30000000000000007e185 < j Initial program 21.7%
Simplified21.7%
Taylor expanded in j around inf 49.0%
associate--l+49.0%
mul-1-neg49.0%
*-commutative49.0%
*-commutative49.0%
*-commutative49.0%
Simplified49.0%
Taylor expanded in i around -inf 53.3%
associate-*r*53.3%
neg-mul-153.3%
*-commutative53.3%
*-commutative53.3%
Simplified53.3%
Taylor expanded in t around inf 44.9%
mul-1-neg44.9%
*-commutative44.9%
distribute-rgt-neg-in44.9%
*-commutative44.9%
Simplified44.9%
Final simplification44.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (* y2 (* t c)) (- y4)))
(t_2 (* i (* y1 (* x j))))
(t_3 (* a (* y2 (* t y5)))))
(if (<= t -2.3e+240)
t_1
(if (<= t -3.05e+116)
t_3
(if (<= t -5.5e-280)
t_2
(if (<= t 3e-281)
(* (- a) (* y (* y3 y5)))
(if (<= t 1.8e-246)
t_2
(if (<= t 4.8e+105)
(* (* x y) (* i (- c)))
(if (<= t 3.85e+230) t_3 t_1)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y2 * (t * c)) * -y4;
double t_2 = i * (y1 * (x * j));
double t_3 = a * (y2 * (t * y5));
double tmp;
if (t <= -2.3e+240) {
tmp = t_1;
} else if (t <= -3.05e+116) {
tmp = t_3;
} else if (t <= -5.5e-280) {
tmp = t_2;
} else if (t <= 3e-281) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 1.8e-246) {
tmp = t_2;
} else if (t <= 4.8e+105) {
tmp = (x * y) * (i * -c);
} else if (t <= 3.85e+230) {
tmp = t_3;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = (y2 * (t * c)) * -y4
t_2 = i * (y1 * (x * j))
t_3 = a * (y2 * (t * y5))
if (t <= (-2.3d+240)) then
tmp = t_1
else if (t <= (-3.05d+116)) then
tmp = t_3
else if (t <= (-5.5d-280)) then
tmp = t_2
else if (t <= 3d-281) then
tmp = -a * (y * (y3 * y5))
else if (t <= 1.8d-246) then
tmp = t_2
else if (t <= 4.8d+105) then
tmp = (x * y) * (i * -c)
else if (t <= 3.85d+230) then
tmp = t_3
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y2 * (t * c)) * -y4;
double t_2 = i * (y1 * (x * j));
double t_3 = a * (y2 * (t * y5));
double tmp;
if (t <= -2.3e+240) {
tmp = t_1;
} else if (t <= -3.05e+116) {
tmp = t_3;
} else if (t <= -5.5e-280) {
tmp = t_2;
} else if (t <= 3e-281) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 1.8e-246) {
tmp = t_2;
} else if (t <= 4.8e+105) {
tmp = (x * y) * (i * -c);
} else if (t <= 3.85e+230) {
tmp = t_3;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y2 * (t * c)) * -y4 t_2 = i * (y1 * (x * j)) t_3 = a * (y2 * (t * y5)) tmp = 0 if t <= -2.3e+240: tmp = t_1 elif t <= -3.05e+116: tmp = t_3 elif t <= -5.5e-280: tmp = t_2 elif t <= 3e-281: tmp = -a * (y * (y3 * y5)) elif t <= 1.8e-246: tmp = t_2 elif t <= 4.8e+105: tmp = (x * y) * (i * -c) elif t <= 3.85e+230: tmp = t_3 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y2 * Float64(t * c)) * Float64(-y4)) t_2 = Float64(i * Float64(y1 * Float64(x * j))) t_3 = Float64(a * Float64(y2 * Float64(t * y5))) tmp = 0.0 if (t <= -2.3e+240) tmp = t_1; elseif (t <= -3.05e+116) tmp = t_3; elseif (t <= -5.5e-280) tmp = t_2; elseif (t <= 3e-281) tmp = Float64(Float64(-a) * Float64(y * Float64(y3 * y5))); elseif (t <= 1.8e-246) tmp = t_2; elseif (t <= 4.8e+105) tmp = Float64(Float64(x * y) * Float64(i * Float64(-c))); elseif (t <= 3.85e+230) tmp = t_3; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y2 * (t * c)) * -y4; t_2 = i * (y1 * (x * j)); t_3 = a * (y2 * (t * y5)); tmp = 0.0; if (t <= -2.3e+240) tmp = t_1; elseif (t <= -3.05e+116) tmp = t_3; elseif (t <= -5.5e-280) tmp = t_2; elseif (t <= 3e-281) tmp = -a * (y * (y3 * y5)); elseif (t <= 1.8e-246) tmp = t_2; elseif (t <= 4.8e+105) tmp = (x * y) * (i * -c); elseif (t <= 3.85e+230) tmp = t_3; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y2 * N[(t * c), $MachinePrecision]), $MachinePrecision] * (-y4)), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(y2 * N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.3e+240], t$95$1, If[LessEqual[t, -3.05e+116], t$95$3, If[LessEqual[t, -5.5e-280], t$95$2, If[LessEqual[t, 3e-281], N[((-a) * N[(y * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.8e-246], t$95$2, If[LessEqual[t, 4.8e+105], N[(N[(x * y), $MachinePrecision] * N[(i * (-c)), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.85e+230], t$95$3, t$95$1]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(y2 \cdot \left(t \cdot c\right)\right) \cdot \left(-y4\right)\\
t_2 := i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
t_3 := a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)\\
\mathbf{if}\;t \leq -2.3 \cdot 10^{+240}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq -3.05 \cdot 10^{+116}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;t \leq -5.5 \cdot 10^{-280}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t \leq 3 \cdot 10^{-281}:\\
\;\;\;\;\left(-a\right) \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 1.8 \cdot 10^{-246}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t \leq 4.8 \cdot 10^{+105}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(i \cdot \left(-c\right)\right)\\
\mathbf{elif}\;t \leq 3.85 \cdot 10^{+230}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if t < -2.30000000000000001e240 or 3.8499999999999999e230 < t Initial program 14.0%
Simplified14.0%
Taylor expanded in y4 around inf 36.4%
Taylor expanded in t around inf 53.4%
Taylor expanded in j around 0 45.5%
mul-1-neg45.5%
associate-*r*53.4%
Simplified53.4%
if -2.30000000000000001e240 < t < -3.05000000000000009e116 or 4.7999999999999995e105 < t < 3.8499999999999999e230Initial program 37.5%
Simplified37.5%
Taylor expanded in y5 around inf 41.9%
mul-1-neg41.9%
Simplified41.9%
Taylor expanded in a around inf 51.0%
*-commutative51.0%
*-commutative51.0%
Simplified51.0%
Taylor expanded in y2 around inf 41.1%
pow141.1%
associate-*r*43.0%
*-commutative43.0%
Applied egg-rr43.0%
unpow143.0%
associate-*l*41.1%
associate-*r*45.1%
*-commutative45.1%
associate-*l*49.0%
Simplified49.0%
if -3.05000000000000009e116 < t < -5.50000000000000001e-280 or 2.99999999999999975e-281 < t < 1.8000000000000001e-246Initial program 29.1%
Simplified29.1%
Taylor expanded in j around inf 47.8%
associate--l+47.8%
mul-1-neg47.8%
*-commutative47.8%
*-commutative47.8%
*-commutative47.8%
Simplified47.8%
Taylor expanded in i around -inf 32.4%
associate-*r*32.4%
neg-mul-132.4%
*-commutative32.4%
*-commutative32.4%
Simplified32.4%
Taylor expanded in x around inf 30.8%
if -5.50000000000000001e-280 < t < 2.99999999999999975e-281Initial program 37.8%
Simplified37.8%
Taylor expanded in y5 around inf 55.5%
mul-1-neg55.5%
Simplified55.5%
Taylor expanded in a around inf 46.8%
*-commutative46.8%
*-commutative46.8%
Simplified46.8%
Taylor expanded in y2 around 0 55.5%
associate-*r*55.5%
neg-mul-155.5%
Simplified55.5%
if 1.8000000000000001e-246 < t < 4.7999999999999995e105Initial program 37.8%
Simplified37.8%
Taylor expanded in c around inf 44.9%
associate--l+44.9%
*-commutative44.9%
mul-1-neg44.9%
*-commutative44.9%
*-commutative44.9%
Simplified44.9%
Taylor expanded in x around inf 30.8%
associate-*r*27.0%
*-commutative27.0%
Simplified27.0%
Taylor expanded in y0 around 0 24.5%
mul-1-neg24.5%
associate-*r*25.7%
*-commutative25.7%
associate-*r*24.5%
associate-*r*25.7%
*-commutative25.7%
Simplified25.7%
Final simplification37.0%
(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)))))
(t_2 (* c (* y2 (- (* x y0) (* t y4))))))
(if (<= j -1.5e+77)
(* j (* b (- (* t y4) (* x y0))))
(if (<= j -2.5e-76)
t_1
(if (<= j 3.65e-136)
t_2
(if (<= j 9.5e-37)
t_1
(if (<= j 6.5e+32) t_2 (* t (* j (- (* b y4) (* i 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 * (y5 * ((t * y2) - (y * y3)));
double t_2 = c * (y2 * ((x * y0) - (t * y4)));
double tmp;
if (j <= -1.5e+77) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else if (j <= -2.5e-76) {
tmp = t_1;
} else if (j <= 3.65e-136) {
tmp = t_2;
} else if (j <= 9.5e-37) {
tmp = t_1;
} else if (j <= 6.5e+32) {
tmp = t_2;
} else {
tmp = t * (j * ((b * y4) - (i * 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 = a * (y5 * ((t * y2) - (y * y3)))
t_2 = c * (y2 * ((x * y0) - (t * y4)))
if (j <= (-1.5d+77)) then
tmp = j * (b * ((t * y4) - (x * y0)))
else if (j <= (-2.5d-76)) then
tmp = t_1
else if (j <= 3.65d-136) then
tmp = t_2
else if (j <= 9.5d-37) then
tmp = t_1
else if (j <= 6.5d+32) then
tmp = t_2
else
tmp = t * (j * ((b * y4) - (i * 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 * (y5 * ((t * y2) - (y * y3)));
double t_2 = c * (y2 * ((x * y0) - (t * y4)));
double tmp;
if (j <= -1.5e+77) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else if (j <= -2.5e-76) {
tmp = t_1;
} else if (j <= 3.65e-136) {
tmp = t_2;
} else if (j <= 9.5e-37) {
tmp = t_1;
} else if (j <= 6.5e+32) {
tmp = t_2;
} else {
tmp = t * (j * ((b * y4) - (i * y5)));
}
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))) t_2 = c * (y2 * ((x * y0) - (t * y4))) tmp = 0 if j <= -1.5e+77: tmp = j * (b * ((t * y4) - (x * y0))) elif j <= -2.5e-76: tmp = t_1 elif j <= 3.65e-136: tmp = t_2 elif j <= 9.5e-37: tmp = t_1 elif j <= 6.5e+32: tmp = t_2 else: tmp = t * (j * ((b * y4) - (i * 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(y5 * Float64(Float64(t * y2) - Float64(y * y3)))) t_2 = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))) tmp = 0.0 if (j <= -1.5e+77) tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (j <= -2.5e-76) tmp = t_1; elseif (j <= 3.65e-136) tmp = t_2; elseif (j <= 9.5e-37) tmp = t_1; elseif (j <= 6.5e+32) tmp = t_2; else tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * 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 * (y5 * ((t * y2) - (y * y3))); t_2 = c * (y2 * ((x * y0) - (t * y4))); tmp = 0.0; if (j <= -1.5e+77) tmp = j * (b * ((t * y4) - (x * y0))); elseif (j <= -2.5e-76) tmp = t_1; elseif (j <= 3.65e-136) tmp = t_2; elseif (j <= 9.5e-37) tmp = t_1; elseif (j <= 6.5e+32) tmp = t_2; else tmp = t * (j * ((b * y4) - (i * 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[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.5e+77], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.5e-76], t$95$1, If[LessEqual[j, 3.65e-136], t$95$2, If[LessEqual[j, 9.5e-37], t$95$1, If[LessEqual[j, 6.5e+32], t$95$2, N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
t_2 := c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{if}\;j \leq -1.5 \cdot 10^{+77}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq -2.5 \cdot 10^{-76}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 3.65 \cdot 10^{-136}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;j \leq 9.5 \cdot 10^{-37}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 6.5 \cdot 10^{+32}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if j < -1.4999999999999999e77Initial program 19.2%
Simplified19.2%
Taylor expanded in j around inf 48.2%
associate--l+48.2%
mul-1-neg48.2%
*-commutative48.2%
*-commutative48.2%
*-commutative48.2%
Simplified48.2%
Taylor expanded in b around inf 46.8%
if -1.4999999999999999e77 < j < -2.4999999999999999e-76 or 3.6499999999999999e-136 < j < 9.49999999999999927e-37Initial program 33.6%
Simplified33.6%
Taylor expanded in y5 around inf 52.3%
mul-1-neg52.3%
Simplified52.3%
Taylor expanded in a around inf 48.9%
*-commutative48.9%
*-commutative48.9%
Simplified48.9%
if -2.4999999999999999e-76 < j < 3.6499999999999999e-136 or 9.49999999999999927e-37 < j < 6.4999999999999994e32Initial program 38.4%
Simplified38.4%
Taylor expanded in c around inf 53.3%
associate--l+53.3%
*-commutative53.3%
mul-1-neg53.3%
*-commutative53.3%
*-commutative53.3%
Simplified53.3%
Taylor expanded in y2 around inf 39.5%
if 6.4999999999999994e32 < j Initial program 28.0%
Simplified28.0%
Taylor expanded in j around inf 52.7%
associate--l+52.7%
mul-1-neg52.7%
*-commutative52.7%
*-commutative52.7%
*-commutative52.7%
Simplified52.7%
Taylor expanded in t around inf 49.0%
Final simplification44.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y -2.2e+76)
(* x (* a (- (* y b) (* y1 y2))))
(if (<= y 1.8e-237)
(* j (* y5 (- (* y0 y3) (* t i))))
(if (<= y 4.8e-190)
(* t (* j (- (* b y4) (* i y5))))
(if (<= y 1.35e-68)
(* j (* b (- (* t y4) (* x y0))))
(if (<= y 8e+95)
(* y4 (* t (- (* b j) (* c y2))))
(* x (* c (- (* y0 y2) (* y i))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -2.2e+76) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (y <= 1.8e-237) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (y <= 4.8e-190) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (y <= 1.35e-68) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else if (y <= 8e+95) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else {
tmp = x * (c * ((y0 * y2) - (y * i)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y <= (-2.2d+76)) then
tmp = x * (a * ((y * b) - (y1 * y2)))
else if (y <= 1.8d-237) then
tmp = j * (y5 * ((y0 * y3) - (t * i)))
else if (y <= 4.8d-190) then
tmp = t * (j * ((b * y4) - (i * y5)))
else if (y <= 1.35d-68) then
tmp = j * (b * ((t * y4) - (x * y0)))
else if (y <= 8d+95) then
tmp = y4 * (t * ((b * j) - (c * y2)))
else
tmp = x * (c * ((y0 * y2) - (y * i)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y <= -2.2e+76) {
tmp = x * (a * ((y * b) - (y1 * y2)));
} else if (y <= 1.8e-237) {
tmp = j * (y5 * ((y0 * y3) - (t * i)));
} else if (y <= 4.8e-190) {
tmp = t * (j * ((b * y4) - (i * y5)));
} else if (y <= 1.35e-68) {
tmp = j * (b * ((t * y4) - (x * y0)));
} else if (y <= 8e+95) {
tmp = y4 * (t * ((b * j) - (c * y2)));
} else {
tmp = x * (c * ((y0 * y2) - (y * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y <= -2.2e+76: tmp = x * (a * ((y * b) - (y1 * y2))) elif y <= 1.8e-237: tmp = j * (y5 * ((y0 * y3) - (t * i))) elif y <= 4.8e-190: tmp = t * (j * ((b * y4) - (i * y5))) elif y <= 1.35e-68: tmp = j * (b * ((t * y4) - (x * y0))) elif y <= 8e+95: tmp = y4 * (t * ((b * j) - (c * y2))) else: tmp = x * (c * ((y0 * y2) - (y * i))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y <= -2.2e+76) tmp = Float64(x * Float64(a * Float64(Float64(y * b) - Float64(y1 * y2)))); elseif (y <= 1.8e-237) tmp = Float64(j * Float64(y5 * Float64(Float64(y0 * y3) - Float64(t * i)))); elseif (y <= 4.8e-190) tmp = Float64(t * Float64(j * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y <= 1.35e-68) tmp = Float64(j * Float64(b * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y <= 8e+95) tmp = Float64(y4 * Float64(t * Float64(Float64(b * j) - Float64(c * y2)))); else tmp = Float64(x * Float64(c * Float64(Float64(y0 * y2) - Float64(y * i)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y <= -2.2e+76) tmp = x * (a * ((y * b) - (y1 * y2))); elseif (y <= 1.8e-237) tmp = j * (y5 * ((y0 * y3) - (t * i))); elseif (y <= 4.8e-190) tmp = t * (j * ((b * y4) - (i * y5))); elseif (y <= 1.35e-68) tmp = j * (b * ((t * y4) - (x * y0))); elseif (y <= 8e+95) tmp = y4 * (t * ((b * j) - (c * y2))); else tmp = x * (c * ((y0 * y2) - (y * i))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -2.2e+76], N[(x * N[(a * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.8e-237], N[(j * N[(y5 * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.8e-190], N[(t * N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.35e-68], N[(j * N[(b * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 8e+95], N[(y4 * N[(t * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * N[(N[(y0 * y2), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.2 \cdot 10^{+76}:\\
\;\;\;\;x \cdot \left(a \cdot \left(y \cdot b - y1 \cdot y2\right)\right)\\
\mathbf{elif}\;y \leq 1.8 \cdot 10^{-237}:\\
\;\;\;\;j \cdot \left(y5 \cdot \left(y0 \cdot y3 - t \cdot i\right)\right)\\
\mathbf{elif}\;y \leq 4.8 \cdot 10^{-190}:\\
\;\;\;\;t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y \leq 1.35 \cdot 10^{-68}:\\
\;\;\;\;j \cdot \left(b \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y \leq 8 \cdot 10^{+95}:\\
\;\;\;\;y4 \cdot \left(t \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2 - y \cdot i\right)\right)\\
\end{array}
\end{array}
if y < -2.2e76Initial program 23.1%
Simplified23.1%
Taylor expanded in x around inf 31.5%
Taylor expanded in a around inf 50.3%
*-commutative50.3%
mul-1-neg50.3%
unsub-neg50.3%
*-commutative50.3%
Simplified50.3%
if -2.2e76 < y < 1.79999999999999998e-237Initial program 35.2%
Simplified35.2%
Taylor expanded in j around inf 48.3%
associate--l+48.3%
mul-1-neg48.3%
*-commutative48.3%
*-commutative48.3%
*-commutative48.3%
Simplified48.3%
Taylor expanded in y5 around inf 37.5%
*-commutative37.5%
cancel-sign-sub-inv37.5%
metadata-eval37.5%
*-lft-identity37.5%
+-commutative37.5%
mul-1-neg37.5%
sub-neg37.5%
Simplified37.5%
if 1.79999999999999998e-237 < y < 4.8000000000000001e-190Initial program 17.6%
Simplified17.6%
Taylor expanded in j around inf 33.6%
associate--l+33.6%
mul-1-neg33.6%
*-commutative33.6%
*-commutative33.6%
*-commutative33.6%
Simplified33.6%
Taylor expanded in t around inf 67.8%
if 4.8000000000000001e-190 < y < 1.3500000000000001e-68Initial program 33.3%
Simplified33.3%
Taylor expanded in j around inf 44.9%
associate--l+44.9%
mul-1-neg44.9%
*-commutative44.9%
*-commutative44.9%
*-commutative44.9%
Simplified44.9%
Taylor expanded in b around inf 42.1%
if 1.3500000000000001e-68 < y < 8.00000000000000016e95Initial program 37.0%
Simplified37.0%
Taylor expanded in y4 around inf 59.3%
Taylor expanded in t around inf 52.2%
if 8.00000000000000016e95 < y Initial program 31.5%
Simplified31.5%
Taylor expanded in c around inf 42.6%
associate--l+42.6%
*-commutative42.6%
mul-1-neg42.6%
*-commutative42.6%
*-commutative42.6%
Simplified42.6%
Taylor expanded in x around inf 45.5%
associate-*r*47.6%
*-commutative47.6%
Simplified47.6%
Final simplification45.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (* x j)))))
(if (<= t -1.65e+240)
(* (* y2 (* t c)) (- y4))
(if (<= t -1.26e+117)
(* a (* y2 (* t y5)))
(if (<= t -7.5e-280)
t_1
(if (<= t 3.5e-281)
(* (- a) (* y (* y3 y5)))
(if (<= t 3.6e-246)
t_1
(if (<= t 7e+152)
(* (* x y) (* i (- c)))
(* (- c) (* y2 (* t y4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * (x * j));
double tmp;
if (t <= -1.65e+240) {
tmp = (y2 * (t * c)) * -y4;
} else if (t <= -1.26e+117) {
tmp = a * (y2 * (t * y5));
} else if (t <= -7.5e-280) {
tmp = t_1;
} else if (t <= 3.5e-281) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 3.6e-246) {
tmp = t_1;
} else if (t <= 7e+152) {
tmp = (x * y) * (i * -c);
} else {
tmp = -c * (y2 * (t * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (y1 * (x * j))
if (t <= (-1.65d+240)) then
tmp = (y2 * (t * c)) * -y4
else if (t <= (-1.26d+117)) then
tmp = a * (y2 * (t * y5))
else if (t <= (-7.5d-280)) then
tmp = t_1
else if (t <= 3.5d-281) then
tmp = -a * (y * (y3 * y5))
else if (t <= 3.6d-246) then
tmp = t_1
else if (t <= 7d+152) then
tmp = (x * y) * (i * -c)
else
tmp = -c * (y2 * (t * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * (x * j));
double tmp;
if (t <= -1.65e+240) {
tmp = (y2 * (t * c)) * -y4;
} else if (t <= -1.26e+117) {
tmp = a * (y2 * (t * y5));
} else if (t <= -7.5e-280) {
tmp = t_1;
} else if (t <= 3.5e-281) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 3.6e-246) {
tmp = t_1;
} else if (t <= 7e+152) {
tmp = (x * y) * (i * -c);
} else {
tmp = -c * (y2 * (t * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * (x * j)) tmp = 0 if t <= -1.65e+240: tmp = (y2 * (t * c)) * -y4 elif t <= -1.26e+117: tmp = a * (y2 * (t * y5)) elif t <= -7.5e-280: tmp = t_1 elif t <= 3.5e-281: tmp = -a * (y * (y3 * y5)) elif t <= 3.6e-246: tmp = t_1 elif t <= 7e+152: tmp = (x * y) * (i * -c) else: tmp = -c * (y2 * (t * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(x * j))) tmp = 0.0 if (t <= -1.65e+240) tmp = Float64(Float64(y2 * Float64(t * c)) * Float64(-y4)); elseif (t <= -1.26e+117) tmp = Float64(a * Float64(y2 * Float64(t * y5))); elseif (t <= -7.5e-280) tmp = t_1; elseif (t <= 3.5e-281) tmp = Float64(Float64(-a) * Float64(y * Float64(y3 * y5))); elseif (t <= 3.6e-246) tmp = t_1; elseif (t <= 7e+152) tmp = Float64(Float64(x * y) * Float64(i * Float64(-c))); else tmp = Float64(Float64(-c) * Float64(y2 * Float64(t * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (y1 * (x * j)); tmp = 0.0; if (t <= -1.65e+240) tmp = (y2 * (t * c)) * -y4; elseif (t <= -1.26e+117) tmp = a * (y2 * (t * y5)); elseif (t <= -7.5e-280) tmp = t_1; elseif (t <= 3.5e-281) tmp = -a * (y * (y3 * y5)); elseif (t <= 3.6e-246) tmp = t_1; elseif (t <= 7e+152) tmp = (x * y) * (i * -c); else tmp = -c * (y2 * (t * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.65e+240], N[(N[(y2 * N[(t * c), $MachinePrecision]), $MachinePrecision] * (-y4)), $MachinePrecision], If[LessEqual[t, -1.26e+117], N[(a * N[(y2 * N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -7.5e-280], t$95$1, If[LessEqual[t, 3.5e-281], N[((-a) * N[(y * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.6e-246], t$95$1, If[LessEqual[t, 7e+152], N[(N[(x * y), $MachinePrecision] * N[(i * (-c)), $MachinePrecision]), $MachinePrecision], N[((-c) * N[(y2 * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{if}\;t \leq -1.65 \cdot 10^{+240}:\\
\;\;\;\;\left(y2 \cdot \left(t \cdot c\right)\right) \cdot \left(-y4\right)\\
\mathbf{elif}\;t \leq -1.26 \cdot 10^{+117}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq -7.5 \cdot 10^{-280}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 3.5 \cdot 10^{-281}:\\
\;\;\;\;\left(-a\right) \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 3.6 \cdot 10^{-246}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 7 \cdot 10^{+152}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(i \cdot \left(-c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(-c\right) \cdot \left(y2 \cdot \left(t \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -1.6499999999999999e240Initial program 19.0%
Simplified19.0%
Taylor expanded in y4 around inf 37.9%
Taylor expanded in t around inf 38.1%
Taylor expanded in j around 0 38.7%
mul-1-neg38.7%
associate-*r*50.6%
Simplified50.6%
if -1.6499999999999999e240 < t < -1.25999999999999993e117Initial program 45.5%
Simplified45.5%
Taylor expanded in y5 around inf 50.2%
mul-1-neg50.2%
Simplified50.2%
Taylor expanded in a around inf 60.7%
*-commutative60.7%
*-commutative60.7%
Simplified60.7%
Taylor expanded in y2 around inf 43.3%
pow143.3%
associate-*r*47.4%
*-commutative47.4%
Applied egg-rr47.4%
unpow147.4%
associate-*l*43.3%
associate-*r*47.6%
*-commutative47.6%
associate-*l*51.6%
Simplified51.6%
if -1.25999999999999993e117 < t < -7.4999999999999999e-280 or 3.50000000000000022e-281 < t < 3.6000000000000002e-246Initial program 29.1%
Simplified29.1%
Taylor expanded in j around inf 47.8%
associate--l+47.8%
mul-1-neg47.8%
*-commutative47.8%
*-commutative47.8%
*-commutative47.8%
Simplified47.8%
Taylor expanded in i around -inf 32.4%
associate-*r*32.4%
neg-mul-132.4%
*-commutative32.4%
*-commutative32.4%
Simplified32.4%
Taylor expanded in x around inf 30.8%
if -7.4999999999999999e-280 < t < 3.50000000000000022e-281Initial program 37.8%
Simplified37.8%
Taylor expanded in y5 around inf 55.5%
mul-1-neg55.5%
Simplified55.5%
Taylor expanded in a around inf 46.8%
*-commutative46.8%
*-commutative46.8%
Simplified46.8%
Taylor expanded in y2 around 0 55.5%
associate-*r*55.5%
neg-mul-155.5%
Simplified55.5%
if 3.6000000000000002e-246 < t < 6.99999999999999963e152Initial program 36.3%
Simplified36.3%
Taylor expanded in c around inf 44.5%
associate--l+44.5%
*-commutative44.5%
mul-1-neg44.5%
*-commutative44.5%
*-commutative44.5%
Simplified44.5%
Taylor expanded in x around inf 33.0%
associate-*r*29.8%
*-commutative29.8%
Simplified29.8%
Taylor expanded in y0 around 0 25.3%
mul-1-neg25.3%
associate-*r*25.3%
*-commutative25.3%
associate-*r*24.2%
associate-*r*25.3%
*-commutative25.3%
Simplified25.3%
if 6.99999999999999963e152 < t Initial program 18.8%
Simplified18.8%
Taylor expanded in y4 around inf 31.4%
Taylor expanded in t around inf 56.9%
Taylor expanded in j around 0 50.6%
associate-*r*50.6%
neg-mul-150.6%
associate-*r*53.6%
Simplified53.6%
Final simplification35.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (* x j)))))
(if (<= t -6.5e+217)
(* (* y2 (* t c)) (- y4))
(if (<= t -1.02e+85)
(* i (* j (* y5 (- t))))
(if (<= t -2.1e-278)
t_1
(if (<= t 7.2e-280)
(* (- a) (* y (* y3 y5)))
(if (<= t 2.85e-245)
t_1
(if (<= t 1.3e+153)
(* (* x y) (* i (- c)))
(* (- c) (* y2 (* t y4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * (x * j));
double tmp;
if (t <= -6.5e+217) {
tmp = (y2 * (t * c)) * -y4;
} else if (t <= -1.02e+85) {
tmp = i * (j * (y5 * -t));
} else if (t <= -2.1e-278) {
tmp = t_1;
} else if (t <= 7.2e-280) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 2.85e-245) {
tmp = t_1;
} else if (t <= 1.3e+153) {
tmp = (x * y) * (i * -c);
} else {
tmp = -c * (y2 * (t * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (y1 * (x * j))
if (t <= (-6.5d+217)) then
tmp = (y2 * (t * c)) * -y4
else if (t <= (-1.02d+85)) then
tmp = i * (j * (y5 * -t))
else if (t <= (-2.1d-278)) then
tmp = t_1
else if (t <= 7.2d-280) then
tmp = -a * (y * (y3 * y5))
else if (t <= 2.85d-245) then
tmp = t_1
else if (t <= 1.3d+153) then
tmp = (x * y) * (i * -c)
else
tmp = -c * (y2 * (t * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * (x * j));
double tmp;
if (t <= -6.5e+217) {
tmp = (y2 * (t * c)) * -y4;
} else if (t <= -1.02e+85) {
tmp = i * (j * (y5 * -t));
} else if (t <= -2.1e-278) {
tmp = t_1;
} else if (t <= 7.2e-280) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 2.85e-245) {
tmp = t_1;
} else if (t <= 1.3e+153) {
tmp = (x * y) * (i * -c);
} else {
tmp = -c * (y2 * (t * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * (x * j)) tmp = 0 if t <= -6.5e+217: tmp = (y2 * (t * c)) * -y4 elif t <= -1.02e+85: tmp = i * (j * (y5 * -t)) elif t <= -2.1e-278: tmp = t_1 elif t <= 7.2e-280: tmp = -a * (y * (y3 * y5)) elif t <= 2.85e-245: tmp = t_1 elif t <= 1.3e+153: tmp = (x * y) * (i * -c) else: tmp = -c * (y2 * (t * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(x * j))) tmp = 0.0 if (t <= -6.5e+217) tmp = Float64(Float64(y2 * Float64(t * c)) * Float64(-y4)); elseif (t <= -1.02e+85) tmp = Float64(i * Float64(j * Float64(y5 * Float64(-t)))); elseif (t <= -2.1e-278) tmp = t_1; elseif (t <= 7.2e-280) tmp = Float64(Float64(-a) * Float64(y * Float64(y3 * y5))); elseif (t <= 2.85e-245) tmp = t_1; elseif (t <= 1.3e+153) tmp = Float64(Float64(x * y) * Float64(i * Float64(-c))); else tmp = Float64(Float64(-c) * Float64(y2 * Float64(t * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (y1 * (x * j)); tmp = 0.0; if (t <= -6.5e+217) tmp = (y2 * (t * c)) * -y4; elseif (t <= -1.02e+85) tmp = i * (j * (y5 * -t)); elseif (t <= -2.1e-278) tmp = t_1; elseif (t <= 7.2e-280) tmp = -a * (y * (y3 * y5)); elseif (t <= 2.85e-245) tmp = t_1; elseif (t <= 1.3e+153) tmp = (x * y) * (i * -c); else tmp = -c * (y2 * (t * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -6.5e+217], N[(N[(y2 * N[(t * c), $MachinePrecision]), $MachinePrecision] * (-y4)), $MachinePrecision], If[LessEqual[t, -1.02e+85], N[(i * N[(j * N[(y5 * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -2.1e-278], t$95$1, If[LessEqual[t, 7.2e-280], N[((-a) * N[(y * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.85e-245], t$95$1, If[LessEqual[t, 1.3e+153], N[(N[(x * y), $MachinePrecision] * N[(i * (-c)), $MachinePrecision]), $MachinePrecision], N[((-c) * N[(y2 * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{if}\;t \leq -6.5 \cdot 10^{+217}:\\
\;\;\;\;\left(y2 \cdot \left(t \cdot c\right)\right) \cdot \left(-y4\right)\\
\mathbf{elif}\;t \leq -1.02 \cdot 10^{+85}:\\
\;\;\;\;i \cdot \left(j \cdot \left(y5 \cdot \left(-t\right)\right)\right)\\
\mathbf{elif}\;t \leq -2.1 \cdot 10^{-278}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 7.2 \cdot 10^{-280}:\\
\;\;\;\;\left(-a\right) \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 2.85 \cdot 10^{-245}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 1.3 \cdot 10^{+153}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(i \cdot \left(-c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(-c\right) \cdot \left(y2 \cdot \left(t \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -6.50000000000000005e217Initial program 32.0%
Simplified32.0%
Taylor expanded in y4 around inf 45.7%
Taylor expanded in t around inf 45.9%
Taylor expanded in j around 0 37.6%
mul-1-neg37.6%
associate-*r*46.2%
Simplified46.2%
if -6.50000000000000005e217 < t < -1.02e85Initial program 31.8%
Simplified31.8%
Taylor expanded in j around inf 54.6%
associate--l+54.6%
mul-1-neg54.6%
*-commutative54.6%
*-commutative54.6%
*-commutative54.6%
Simplified54.6%
Taylor expanded in i around -inf 64.1%
associate-*r*64.1%
neg-mul-164.1%
*-commutative64.1%
*-commutative64.1%
Simplified64.1%
Taylor expanded in t around inf 55.2%
if -1.02e85 < t < -2.10000000000000014e-278 or 7.19999999999999989e-280 < t < 2.85e-245Initial program 30.0%
Simplified30.0%
Taylor expanded in j around inf 47.6%
associate--l+47.6%
mul-1-neg47.6%
*-commutative47.6%
*-commutative47.6%
*-commutative47.6%
Simplified47.6%
Taylor expanded in i around -inf 28.6%
associate-*r*28.6%
neg-mul-128.6%
*-commutative28.6%
*-commutative28.6%
Simplified28.6%
Taylor expanded in x around inf 30.3%
if -2.10000000000000014e-278 < t < 7.19999999999999989e-280Initial program 37.8%
Simplified37.8%
Taylor expanded in y5 around inf 55.5%
mul-1-neg55.5%
Simplified55.5%
Taylor expanded in a around inf 46.8%
*-commutative46.8%
*-commutative46.8%
Simplified46.8%
Taylor expanded in y2 around 0 55.5%
associate-*r*55.5%
neg-mul-155.5%
Simplified55.5%
if 2.85e-245 < t < 1.2999999999999999e153Initial program 36.3%
Simplified36.3%
Taylor expanded in c around inf 44.5%
associate--l+44.5%
*-commutative44.5%
mul-1-neg44.5%
*-commutative44.5%
*-commutative44.5%
Simplified44.5%
Taylor expanded in x around inf 33.0%
associate-*r*29.8%
*-commutative29.8%
Simplified29.8%
Taylor expanded in y0 around 0 25.3%
mul-1-neg25.3%
associate-*r*25.3%
*-commutative25.3%
associate-*r*24.2%
associate-*r*25.3%
*-commutative25.3%
Simplified25.3%
if 1.2999999999999999e153 < t Initial program 18.8%
Simplified18.8%
Taylor expanded in y4 around inf 31.4%
Taylor expanded in t around inf 56.9%
Taylor expanded in j around 0 50.6%
associate-*r*50.6%
neg-mul-150.6%
associate-*r*53.6%
Simplified53.6%
Final simplification36.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (* x j)))))
(if (<= t -4.6e+185)
(* (* t (* z b)) (- a))
(if (<= t -1.75e+70)
(* x (* c (* i (- y))))
(if (<= t -1.25e-276)
t_1
(if (<= t 5e-280)
(* (- a) (* y (* y3 y5)))
(if (<= t 2.2e-247)
t_1
(if (<= t 9.5e+152)
(* (* x y) (* i (- c)))
(* (- c) (* y2 (* t y4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * (x * j));
double tmp;
if (t <= -4.6e+185) {
tmp = (t * (z * b)) * -a;
} else if (t <= -1.75e+70) {
tmp = x * (c * (i * -y));
} else if (t <= -1.25e-276) {
tmp = t_1;
} else if (t <= 5e-280) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 2.2e-247) {
tmp = t_1;
} else if (t <= 9.5e+152) {
tmp = (x * y) * (i * -c);
} else {
tmp = -c * (y2 * (t * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (y1 * (x * j))
if (t <= (-4.6d+185)) then
tmp = (t * (z * b)) * -a
else if (t <= (-1.75d+70)) then
tmp = x * (c * (i * -y))
else if (t <= (-1.25d-276)) then
tmp = t_1
else if (t <= 5d-280) then
tmp = -a * (y * (y3 * y5))
else if (t <= 2.2d-247) then
tmp = t_1
else if (t <= 9.5d+152) then
tmp = (x * y) * (i * -c)
else
tmp = -c * (y2 * (t * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * (x * j));
double tmp;
if (t <= -4.6e+185) {
tmp = (t * (z * b)) * -a;
} else if (t <= -1.75e+70) {
tmp = x * (c * (i * -y));
} else if (t <= -1.25e-276) {
tmp = t_1;
} else if (t <= 5e-280) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 2.2e-247) {
tmp = t_1;
} else if (t <= 9.5e+152) {
tmp = (x * y) * (i * -c);
} else {
tmp = -c * (y2 * (t * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * (x * j)) tmp = 0 if t <= -4.6e+185: tmp = (t * (z * b)) * -a elif t <= -1.75e+70: tmp = x * (c * (i * -y)) elif t <= -1.25e-276: tmp = t_1 elif t <= 5e-280: tmp = -a * (y * (y3 * y5)) elif t <= 2.2e-247: tmp = t_1 elif t <= 9.5e+152: tmp = (x * y) * (i * -c) else: tmp = -c * (y2 * (t * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(x * j))) tmp = 0.0 if (t <= -4.6e+185) tmp = Float64(Float64(t * Float64(z * b)) * Float64(-a)); elseif (t <= -1.75e+70) tmp = Float64(x * Float64(c * Float64(i * Float64(-y)))); elseif (t <= -1.25e-276) tmp = t_1; elseif (t <= 5e-280) tmp = Float64(Float64(-a) * Float64(y * Float64(y3 * y5))); elseif (t <= 2.2e-247) tmp = t_1; elseif (t <= 9.5e+152) tmp = Float64(Float64(x * y) * Float64(i * Float64(-c))); else tmp = Float64(Float64(-c) * Float64(y2 * Float64(t * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (y1 * (x * j)); tmp = 0.0; if (t <= -4.6e+185) tmp = (t * (z * b)) * -a; elseif (t <= -1.75e+70) tmp = x * (c * (i * -y)); elseif (t <= -1.25e-276) tmp = t_1; elseif (t <= 5e-280) tmp = -a * (y * (y3 * y5)); elseif (t <= 2.2e-247) tmp = t_1; elseif (t <= 9.5e+152) tmp = (x * y) * (i * -c); else tmp = -c * (y2 * (t * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -4.6e+185], N[(N[(t * N[(z * b), $MachinePrecision]), $MachinePrecision] * (-a)), $MachinePrecision], If[LessEqual[t, -1.75e+70], N[(x * N[(c * N[(i * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.25e-276], t$95$1, If[LessEqual[t, 5e-280], N[((-a) * N[(y * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.2e-247], t$95$1, If[LessEqual[t, 9.5e+152], N[(N[(x * y), $MachinePrecision] * N[(i * (-c)), $MachinePrecision]), $MachinePrecision], N[((-c) * N[(y2 * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{if}\;t \leq -4.6 \cdot 10^{+185}:\\
\;\;\;\;\left(t \cdot \left(z \cdot b\right)\right) \cdot \left(-a\right)\\
\mathbf{elif}\;t \leq -1.75 \cdot 10^{+70}:\\
\;\;\;\;x \cdot \left(c \cdot \left(i \cdot \left(-y\right)\right)\right)\\
\mathbf{elif}\;t \leq -1.25 \cdot 10^{-276}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 5 \cdot 10^{-280}:\\
\;\;\;\;\left(-a\right) \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 2.2 \cdot 10^{-247}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 9.5 \cdot 10^{+152}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \left(i \cdot \left(-c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(-c\right) \cdot \left(y2 \cdot \left(t \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -4.6000000000000003e185Initial program 31.2%
Simplified31.2%
Taylor expanded in z around -inf 55.6%
Taylor expanded in a around inf 42.0%
*-commutative42.0%
mul-1-neg42.0%
sub-neg42.0%
*-commutative42.0%
Simplified42.0%
Taylor expanded in t around inf 49.1%
if -4.6000000000000003e185 < t < -1.75000000000000001e70Initial program 31.6%
Simplified31.6%
Taylor expanded in c around inf 32.4%
associate--l+32.4%
*-commutative32.4%
mul-1-neg32.4%
*-commutative32.4%
*-commutative32.4%
Simplified32.4%
Taylor expanded in x around inf 58.6%
associate-*r*58.6%
*-commutative58.6%
Simplified58.6%
Taylor expanded in y0 around 0 48.4%
neg-mul-148.4%
distribute-rgt-neg-in48.4%
Simplified48.4%
if -1.75000000000000001e70 < t < -1.24999999999999992e-276 or 5.00000000000000028e-280 < t < 2.19999999999999992e-247Initial program 30.3%
Simplified30.3%
Taylor expanded in j around inf 48.8%
associate--l+48.8%
mul-1-neg48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in i around -inf 29.9%
associate-*r*29.9%
neg-mul-129.9%
*-commutative29.9%
*-commutative29.9%
Simplified29.9%
Taylor expanded in x around inf 31.7%
if -1.24999999999999992e-276 < t < 5.00000000000000028e-280Initial program 37.8%
Simplified37.8%
Taylor expanded in y5 around inf 55.5%
mul-1-neg55.5%
Simplified55.5%
Taylor expanded in a around inf 46.8%
*-commutative46.8%
*-commutative46.8%
Simplified46.8%
Taylor expanded in y2 around 0 55.5%
associate-*r*55.5%
neg-mul-155.5%
Simplified55.5%
if 2.19999999999999992e-247 < t < 9.49999999999999916e152Initial program 36.3%
Simplified36.3%
Taylor expanded in c around inf 44.5%
associate--l+44.5%
*-commutative44.5%
mul-1-neg44.5%
*-commutative44.5%
*-commutative44.5%
Simplified44.5%
Taylor expanded in x around inf 33.0%
associate-*r*29.8%
*-commutative29.8%
Simplified29.8%
Taylor expanded in y0 around 0 25.3%
mul-1-neg25.3%
associate-*r*25.3%
*-commutative25.3%
associate-*r*24.2%
associate-*r*25.3%
*-commutative25.3%
Simplified25.3%
if 9.49999999999999916e152 < t Initial program 18.8%
Simplified18.8%
Taylor expanded in y4 around inf 31.4%
Taylor expanded in t around inf 56.9%
Taylor expanded in j around 0 50.6%
associate-*r*50.6%
neg-mul-150.6%
associate-*r*53.6%
Simplified53.6%
Final simplification36.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* y1 (* x j)))))
(if (<= t -1.02e+187)
(* (* t (* z b)) (- a))
(if (<= t -8.4e+67)
(* x (* c (* i (- y))))
(if (<= t -7e-280)
t_1
(if (<= t 4.8e-281)
(* (- a) (* y (* y3 y5)))
(if (<= t 2.1e-244)
t_1
(if (<= t 6.2e+152)
(* c (* (* x i) (- y)))
(* (- c) (* y2 (* t y4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * (x * j));
double tmp;
if (t <= -1.02e+187) {
tmp = (t * (z * b)) * -a;
} else if (t <= -8.4e+67) {
tmp = x * (c * (i * -y));
} else if (t <= -7e-280) {
tmp = t_1;
} else if (t <= 4.8e-281) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 2.1e-244) {
tmp = t_1;
} else if (t <= 6.2e+152) {
tmp = c * ((x * i) * -y);
} else {
tmp = -c * (y2 * (t * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * (y1 * (x * j))
if (t <= (-1.02d+187)) then
tmp = (t * (z * b)) * -a
else if (t <= (-8.4d+67)) then
tmp = x * (c * (i * -y))
else if (t <= (-7d-280)) then
tmp = t_1
else if (t <= 4.8d-281) then
tmp = -a * (y * (y3 * y5))
else if (t <= 2.1d-244) then
tmp = t_1
else if (t <= 6.2d+152) then
tmp = c * ((x * i) * -y)
else
tmp = -c * (y2 * (t * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (y1 * (x * j));
double tmp;
if (t <= -1.02e+187) {
tmp = (t * (z * b)) * -a;
} else if (t <= -8.4e+67) {
tmp = x * (c * (i * -y));
} else if (t <= -7e-280) {
tmp = t_1;
} else if (t <= 4.8e-281) {
tmp = -a * (y * (y3 * y5));
} else if (t <= 2.1e-244) {
tmp = t_1;
} else if (t <= 6.2e+152) {
tmp = c * ((x * i) * -y);
} else {
tmp = -c * (y2 * (t * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (y1 * (x * j)) tmp = 0 if t <= -1.02e+187: tmp = (t * (z * b)) * -a elif t <= -8.4e+67: tmp = x * (c * (i * -y)) elif t <= -7e-280: tmp = t_1 elif t <= 4.8e-281: tmp = -a * (y * (y3 * y5)) elif t <= 2.1e-244: tmp = t_1 elif t <= 6.2e+152: tmp = c * ((x * i) * -y) else: tmp = -c * (y2 * (t * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(y1 * Float64(x * j))) tmp = 0.0 if (t <= -1.02e+187) tmp = Float64(Float64(t * Float64(z * b)) * Float64(-a)); elseif (t <= -8.4e+67) tmp = Float64(x * Float64(c * Float64(i * Float64(-y)))); elseif (t <= -7e-280) tmp = t_1; elseif (t <= 4.8e-281) tmp = Float64(Float64(-a) * Float64(y * Float64(y3 * y5))); elseif (t <= 2.1e-244) tmp = t_1; elseif (t <= 6.2e+152) tmp = Float64(c * Float64(Float64(x * i) * Float64(-y))); else tmp = Float64(Float64(-c) * Float64(y2 * Float64(t * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (y1 * (x * j)); tmp = 0.0; if (t <= -1.02e+187) tmp = (t * (z * b)) * -a; elseif (t <= -8.4e+67) tmp = x * (c * (i * -y)); elseif (t <= -7e-280) tmp = t_1; elseif (t <= 4.8e-281) tmp = -a * (y * (y3 * y5)); elseif (t <= 2.1e-244) tmp = t_1; elseif (t <= 6.2e+152) tmp = c * ((x * i) * -y); else tmp = -c * (y2 * (t * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.02e+187], N[(N[(t * N[(z * b), $MachinePrecision]), $MachinePrecision] * (-a)), $MachinePrecision], If[LessEqual[t, -8.4e+67], N[(x * N[(c * N[(i * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -7e-280], t$95$1, If[LessEqual[t, 4.8e-281], N[((-a) * N[(y * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.1e-244], t$95$1, If[LessEqual[t, 6.2e+152], N[(c * N[(N[(x * i), $MachinePrecision] * (-y)), $MachinePrecision]), $MachinePrecision], N[((-c) * N[(y2 * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{if}\;t \leq -1.02 \cdot 10^{+187}:\\
\;\;\;\;\left(t \cdot \left(z \cdot b\right)\right) \cdot \left(-a\right)\\
\mathbf{elif}\;t \leq -8.4 \cdot 10^{+67}:\\
\;\;\;\;x \cdot \left(c \cdot \left(i \cdot \left(-y\right)\right)\right)\\
\mathbf{elif}\;t \leq -7 \cdot 10^{-280}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 4.8 \cdot 10^{-281}:\\
\;\;\;\;\left(-a\right) \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;t \leq 2.1 \cdot 10^{-244}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 6.2 \cdot 10^{+152}:\\
\;\;\;\;c \cdot \left(\left(x \cdot i\right) \cdot \left(-y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(-c\right) \cdot \left(y2 \cdot \left(t \cdot y4\right)\right)\\
\end{array}
\end{array}
if t < -1.0200000000000001e187Initial program 31.2%
Simplified31.2%
Taylor expanded in z around -inf 55.6%
Taylor expanded in a around inf 42.0%
*-commutative42.0%
mul-1-neg42.0%
sub-neg42.0%
*-commutative42.0%
Simplified42.0%
Taylor expanded in t around inf 49.1%
if -1.0200000000000001e187 < t < -8.4000000000000005e67Initial program 31.6%
Simplified31.6%
Taylor expanded in c around inf 32.4%
associate--l+32.4%
*-commutative32.4%
mul-1-neg32.4%
*-commutative32.4%
*-commutative32.4%
Simplified32.4%
Taylor expanded in x around inf 58.6%
associate-*r*58.6%
*-commutative58.6%
Simplified58.6%
Taylor expanded in y0 around 0 48.4%
neg-mul-148.4%
distribute-rgt-neg-in48.4%
Simplified48.4%
if -8.4000000000000005e67 < t < -7.0000000000000002e-280 or 4.8000000000000001e-281 < t < 2.10000000000000002e-244Initial program 30.3%
Simplified30.3%
Taylor expanded in j around inf 48.8%
associate--l+48.8%
mul-1-neg48.8%
*-commutative48.8%
*-commutative48.8%
*-commutative48.8%
Simplified48.8%
Taylor expanded in i around -inf 29.9%
associate-*r*29.9%
neg-mul-129.9%
*-commutative29.9%
*-commutative29.9%
Simplified29.9%
Taylor expanded in x around inf 31.7%
if -7.0000000000000002e-280 < t < 4.8000000000000001e-281Initial program 37.8%
Simplified37.8%
Taylor expanded in y5 around inf 55.5%
mul-1-neg55.5%
Simplified55.5%
Taylor expanded in a around inf 46.8%
*-commutative46.8%
*-commutative46.8%
Simplified46.8%
Taylor expanded in y2 around 0 55.5%
associate-*r*55.5%
neg-mul-155.5%
Simplified55.5%
if 2.10000000000000002e-244 < t < 6.2e152Initial program 36.3%
Simplified36.3%
Taylor expanded in c around inf 44.5%
associate--l+44.5%
*-commutative44.5%
mul-1-neg44.5%
*-commutative44.5%
*-commutative44.5%
Simplified44.5%
Taylor expanded in x around inf 33.0%
associate-*r*29.8%
*-commutative29.8%
Simplified29.8%
Taylor expanded in y0 around 0 25.3%
if 6.2e152 < t Initial program 18.8%
Simplified18.8%
Taylor expanded in y4 around inf 31.4%
Taylor expanded in t around inf 56.9%
Taylor expanded in j around 0 50.6%
associate-*r*50.6%
neg-mul-150.6%
associate-*r*53.6%
Simplified53.6%
Final simplification36.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -2.6e+119)
(* a (* t (* y2 y5)))
(if (<= y5 -1.7e-19)
(* z (* a (* t (- b))))
(if (<= y5 -5.8e-108)
(* x (* c (* i (- y))))
(if (<= y5 -1e-194)
(* (* y2 (* t c)) (- y4))
(if (<= y5 -2.05e-238)
(* y4 (* b (* t j)))
(if (<= y5 9.6e-91)
(* i (* y1 (* x j)))
(* (* a (* y3 y5)) (- y)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -2.6e+119) {
tmp = a * (t * (y2 * y5));
} else if (y5 <= -1.7e-19) {
tmp = z * (a * (t * -b));
} else if (y5 <= -5.8e-108) {
tmp = x * (c * (i * -y));
} else if (y5 <= -1e-194) {
tmp = (y2 * (t * c)) * -y4;
} else if (y5 <= -2.05e-238) {
tmp = y4 * (b * (t * j));
} else if (y5 <= 9.6e-91) {
tmp = i * (y1 * (x * j));
} else {
tmp = (a * (y3 * y5)) * -y;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y5 <= (-2.6d+119)) then
tmp = a * (t * (y2 * y5))
else if (y5 <= (-1.7d-19)) then
tmp = z * (a * (t * -b))
else if (y5 <= (-5.8d-108)) then
tmp = x * (c * (i * -y))
else if (y5 <= (-1d-194)) then
tmp = (y2 * (t * c)) * -y4
else if (y5 <= (-2.05d-238)) then
tmp = y4 * (b * (t * j))
else if (y5 <= 9.6d-91) then
tmp = i * (y1 * (x * j))
else
tmp = (a * (y3 * y5)) * -y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -2.6e+119) {
tmp = a * (t * (y2 * y5));
} else if (y5 <= -1.7e-19) {
tmp = z * (a * (t * -b));
} else if (y5 <= -5.8e-108) {
tmp = x * (c * (i * -y));
} else if (y5 <= -1e-194) {
tmp = (y2 * (t * c)) * -y4;
} else if (y5 <= -2.05e-238) {
tmp = y4 * (b * (t * j));
} else if (y5 <= 9.6e-91) {
tmp = i * (y1 * (x * j));
} else {
tmp = (a * (y3 * y5)) * -y;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y5 <= -2.6e+119: tmp = a * (t * (y2 * y5)) elif y5 <= -1.7e-19: tmp = z * (a * (t * -b)) elif y5 <= -5.8e-108: tmp = x * (c * (i * -y)) elif y5 <= -1e-194: tmp = (y2 * (t * c)) * -y4 elif y5 <= -2.05e-238: tmp = y4 * (b * (t * j)) elif y5 <= 9.6e-91: tmp = i * (y1 * (x * j)) else: tmp = (a * (y3 * y5)) * -y return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -2.6e+119) tmp = Float64(a * Float64(t * Float64(y2 * y5))); elseif (y5 <= -1.7e-19) tmp = Float64(z * Float64(a * Float64(t * Float64(-b)))); elseif (y5 <= -5.8e-108) tmp = Float64(x * Float64(c * Float64(i * Float64(-y)))); elseif (y5 <= -1e-194) tmp = Float64(Float64(y2 * Float64(t * c)) * Float64(-y4)); elseif (y5 <= -2.05e-238) tmp = Float64(y4 * Float64(b * Float64(t * j))); elseif (y5 <= 9.6e-91) tmp = Float64(i * Float64(y1 * Float64(x * j))); else tmp = Float64(Float64(a * Float64(y3 * y5)) * Float64(-y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y5 <= -2.6e+119) tmp = a * (t * (y2 * y5)); elseif (y5 <= -1.7e-19) tmp = z * (a * (t * -b)); elseif (y5 <= -5.8e-108) tmp = x * (c * (i * -y)); elseif (y5 <= -1e-194) tmp = (y2 * (t * c)) * -y4; elseif (y5 <= -2.05e-238) tmp = y4 * (b * (t * j)); elseif (y5 <= 9.6e-91) tmp = i * (y1 * (x * j)); else tmp = (a * (y3 * y5)) * -y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -2.6e+119], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.7e-19], N[(z * N[(a * N[(t * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5.8e-108], N[(x * N[(c * N[(i * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1e-194], N[(N[(y2 * N[(t * c), $MachinePrecision]), $MachinePrecision] * (-y4)), $MachinePrecision], If[LessEqual[y5, -2.05e-238], N[(y4 * N[(b * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9.6e-91], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * N[(y3 * y5), $MachinePrecision]), $MachinePrecision] * (-y)), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -2.6 \cdot 10^{+119}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq -1.7 \cdot 10^{-19}:\\
\;\;\;\;z \cdot \left(a \cdot \left(t \cdot \left(-b\right)\right)\right)\\
\mathbf{elif}\;y5 \leq -5.8 \cdot 10^{-108}:\\
\;\;\;\;x \cdot \left(c \cdot \left(i \cdot \left(-y\right)\right)\right)\\
\mathbf{elif}\;y5 \leq -1 \cdot 10^{-194}:\\
\;\;\;\;\left(y2 \cdot \left(t \cdot c\right)\right) \cdot \left(-y4\right)\\
\mathbf{elif}\;y5 \leq -2.05 \cdot 10^{-238}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j\right)\right)\\
\mathbf{elif}\;y5 \leq 9.6 \cdot 10^{-91}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(a \cdot \left(y3 \cdot y5\right)\right) \cdot \left(-y\right)\\
\end{array}
\end{array}
if y5 < -2.6e119Initial program 33.3%
Simplified33.3%
Taylor expanded in y5 around inf 51.1%
mul-1-neg51.1%
Simplified51.1%
Taylor expanded in a around inf 56.6%
*-commutative56.6%
*-commutative56.6%
Simplified56.6%
Taylor expanded in y2 around inf 45.3%
if -2.6e119 < y5 < -1.7000000000000001e-19Initial program 19.1%
Simplified19.1%
Taylor expanded in z around -inf 41.9%
Taylor expanded in a around inf 30.4%
*-commutative30.4%
mul-1-neg30.4%
sub-neg30.4%
*-commutative30.4%
Simplified30.4%
Taylor expanded in t around inf 41.9%
if -1.7000000000000001e-19 < y5 < -5.8000000000000002e-108Initial program 31.2%
Simplified31.2%
Taylor expanded in c around inf 41.8%
associate--l+41.8%
*-commutative41.8%
mul-1-neg41.8%
*-commutative41.8%
*-commutative41.8%
Simplified41.8%
Taylor expanded in x around inf 45.4%
associate-*r*48.6%
*-commutative48.6%
Simplified48.6%
Taylor expanded in y0 around 0 42.5%
neg-mul-142.5%
distribute-rgt-neg-in42.5%
Simplified42.5%
if -5.8000000000000002e-108 < y5 < -1.00000000000000002e-194Initial program 43.7%
Simplified43.7%
Taylor expanded in y4 around inf 39.5%
Taylor expanded in t around inf 37.0%
Taylor expanded in j around 0 28.3%
mul-1-neg28.3%
associate-*r*36.5%
Simplified36.5%
if -1.00000000000000002e-194 < y5 < -2.05e-238Initial program 16.7%
Simplified16.7%
Taylor expanded in y4 around inf 50.0%
Taylor expanded in t around inf 50.8%
Taylor expanded in j around inf 67.5%
associate-*r*67.5%
*-commutative67.5%
Simplified67.5%
if -2.05e-238 < y5 < 9.60000000000000043e-91Initial program 36.7%
Simplified36.7%
Taylor expanded in j around inf 51.0%
associate--l+51.0%
mul-1-neg51.0%
*-commutative51.0%
*-commutative51.0%
*-commutative51.0%
Simplified51.0%
Taylor expanded in i around -inf 32.6%
associate-*r*32.6%
neg-mul-132.6%
*-commutative32.6%
*-commutative32.6%
Simplified32.6%
Taylor expanded in x around inf 30.7%
if 9.60000000000000043e-91 < y5 Initial program 27.9%
Simplified27.9%
Taylor expanded in y5 around inf 32.8%
mul-1-neg32.8%
Simplified32.8%
Taylor expanded in a around inf 24.7%
*-commutative24.7%
*-commutative24.7%
Simplified24.7%
Taylor expanded in y around inf 32.0%
Final simplification37.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* (- a) (* y (* y3 y5)))))
(if (<= y0 -2.6e+136)
(* c (* x (* y0 y2)))
(if (<= y0 -6.2e+32)
(* (* b j) (* t y4))
(if (<= y0 -2.5e-238)
t_1
(if (<= y0 1.75e-199)
(* a (* y5 (* t y2)))
(if (<= y0 4.5e-117)
t_1
(if (<= y0 2.1e+91)
(* i (* x (* j y1)))
(* x (* c (* y0 y2)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = -a * (y * (y3 * y5));
double tmp;
if (y0 <= -2.6e+136) {
tmp = c * (x * (y0 * y2));
} else if (y0 <= -6.2e+32) {
tmp = (b * j) * (t * y4);
} else if (y0 <= -2.5e-238) {
tmp = t_1;
} else if (y0 <= 1.75e-199) {
tmp = a * (y5 * (t * y2));
} else if (y0 <= 4.5e-117) {
tmp = t_1;
} else if (y0 <= 2.1e+91) {
tmp = i * (x * (j * y1));
} else {
tmp = x * (c * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = -a * (y * (y3 * y5))
if (y0 <= (-2.6d+136)) then
tmp = c * (x * (y0 * y2))
else if (y0 <= (-6.2d+32)) then
tmp = (b * j) * (t * y4)
else if (y0 <= (-2.5d-238)) then
tmp = t_1
else if (y0 <= 1.75d-199) then
tmp = a * (y5 * (t * y2))
else if (y0 <= 4.5d-117) then
tmp = t_1
else if (y0 <= 2.1d+91) then
tmp = i * (x * (j * y1))
else
tmp = x * (c * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = -a * (y * (y3 * y5));
double tmp;
if (y0 <= -2.6e+136) {
tmp = c * (x * (y0 * y2));
} else if (y0 <= -6.2e+32) {
tmp = (b * j) * (t * y4);
} else if (y0 <= -2.5e-238) {
tmp = t_1;
} else if (y0 <= 1.75e-199) {
tmp = a * (y5 * (t * y2));
} else if (y0 <= 4.5e-117) {
tmp = t_1;
} else if (y0 <= 2.1e+91) {
tmp = i * (x * (j * y1));
} else {
tmp = x * (c * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = -a * (y * (y3 * y5)) tmp = 0 if y0 <= -2.6e+136: tmp = c * (x * (y0 * y2)) elif y0 <= -6.2e+32: tmp = (b * j) * (t * y4) elif y0 <= -2.5e-238: tmp = t_1 elif y0 <= 1.75e-199: tmp = a * (y5 * (t * y2)) elif y0 <= 4.5e-117: tmp = t_1 elif y0 <= 2.1e+91: tmp = i * (x * (j * y1)) else: tmp = x * (c * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(-a) * Float64(y * Float64(y3 * y5))) tmp = 0.0 if (y0 <= -2.6e+136) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y0 <= -6.2e+32) tmp = Float64(Float64(b * j) * Float64(t * y4)); elseif (y0 <= -2.5e-238) tmp = t_1; elseif (y0 <= 1.75e-199) tmp = Float64(a * Float64(y5 * Float64(t * y2))); elseif (y0 <= 4.5e-117) tmp = t_1; elseif (y0 <= 2.1e+91) tmp = Float64(i * Float64(x * Float64(j * y1))); else tmp = Float64(x * Float64(c * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = -a * (y * (y3 * y5)); tmp = 0.0; if (y0 <= -2.6e+136) tmp = c * (x * (y0 * y2)); elseif (y0 <= -6.2e+32) tmp = (b * j) * (t * y4); elseif (y0 <= -2.5e-238) tmp = t_1; elseif (y0 <= 1.75e-199) tmp = a * (y5 * (t * y2)); elseif (y0 <= 4.5e-117) tmp = t_1; elseif (y0 <= 2.1e+91) tmp = i * (x * (j * y1)); else tmp = x * (c * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[((-a) * N[(y * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2.6e+136], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -6.2e+32], N[(N[(b * j), $MachinePrecision] * N[(t * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.5e-238], t$95$1, If[LessEqual[y0, 1.75e-199], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.5e-117], t$95$1, If[LessEqual[y0, 2.1e+91], N[(i * N[(x * N[(j * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(-a\right) \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{if}\;y0 \leq -2.6 \cdot 10^{+136}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq -6.2 \cdot 10^{+32}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(t \cdot y4\right)\\
\mathbf{elif}\;y0 \leq -2.5 \cdot 10^{-238}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y0 \leq 1.75 \cdot 10^{-199}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 4.5 \cdot 10^{-117}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y0 \leq 2.1 \cdot 10^{+91}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -2.6000000000000001e136Initial program 22.6%
Simplified22.6%
Taylor expanded in c around inf 36.2%
associate--l+36.2%
*-commutative36.2%
mul-1-neg36.2%
*-commutative36.2%
*-commutative36.2%
Simplified36.2%
Taylor expanded in x around inf 49.0%
associate-*r*42.8%
*-commutative42.8%
Simplified42.8%
Taylor expanded in y0 around inf 39.9%
*-commutative39.9%
associate-*r*46.1%
Simplified46.1%
if -2.6000000000000001e136 < y0 < -6.19999999999999986e32Initial program 30.0%
Simplified30.0%
Taylor expanded in y4 around inf 66.0%
Taylor expanded in t around inf 46.6%
Taylor expanded in j around inf 36.8%
associate-*r*41.4%
*-commutative41.4%
*-commutative41.4%
Simplified41.4%
if -6.19999999999999986e32 < y0 < -2.5e-238 or 1.7499999999999999e-199 < y0 < 4.49999999999999969e-117Initial program 31.5%
Simplified31.5%
Taylor expanded in y5 around inf 37.8%
mul-1-neg37.8%
Simplified37.8%
Taylor expanded in a around inf 27.7%
*-commutative27.7%
*-commutative27.7%
Simplified27.7%
Taylor expanded in y2 around 0 25.5%
associate-*r*25.5%
neg-mul-125.5%
Simplified25.5%
if -2.5e-238 < y0 < 1.7499999999999999e-199Initial program 45.4%
Simplified45.4%
Taylor expanded in y5 around inf 39.5%
mul-1-neg39.5%
Simplified39.5%
Taylor expanded in a around inf 43.3%
*-commutative43.3%
*-commutative43.3%
Simplified43.3%
Taylor expanded in y2 around inf 37.0%
if 4.49999999999999969e-117 < y0 < 2.10000000000000008e91Initial program 34.5%
Simplified34.5%
Taylor expanded in j around inf 41.5%
associate--l+41.5%
mul-1-neg41.5%
*-commutative41.5%
*-commutative41.5%
*-commutative41.5%
Simplified41.5%
Taylor expanded in i around -inf 37.2%
associate-*r*37.2%
neg-mul-137.2%
*-commutative37.2%
*-commutative37.2%
Simplified37.2%
Taylor expanded in t around 0 33.2%
associate-*r*33.2%
*-commutative33.2%
associate-*r*35.3%
*-commutative35.3%
associate-*r*35.3%
*-commutative35.3%
Simplified35.3%
if 2.10000000000000008e91 < y0 Initial program 25.8%
Simplified25.8%
Taylor expanded in c around inf 39.2%
associate--l+39.2%
*-commutative39.2%
mul-1-neg39.2%
*-commutative39.2%
*-commutative39.2%
Simplified39.2%
Taylor expanded in x around inf 43.7%
associate-*r*42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in y0 around inf 38.6%
Final simplification34.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -1.55e+22)
(* a (* t (* y2 y5)))
(if (<= y5 -6.5e-109)
(* x (* c (* i (- y))))
(if (<= y5 -5.5e-191)
(* (* y2 (* t c)) (- y4))
(if (<= y5 -4.1e-243)
(* y4 (* b (* t j)))
(if (<= y5 5.2e-96)
(* i (* y1 (* x j)))
(* (* a (* y3 y5)) (- y))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -1.55e+22) {
tmp = a * (t * (y2 * y5));
} else if (y5 <= -6.5e-109) {
tmp = x * (c * (i * -y));
} else if (y5 <= -5.5e-191) {
tmp = (y2 * (t * c)) * -y4;
} else if (y5 <= -4.1e-243) {
tmp = y4 * (b * (t * j));
} else if (y5 <= 5.2e-96) {
tmp = i * (y1 * (x * j));
} else {
tmp = (a * (y3 * y5)) * -y;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y5 <= (-1.55d+22)) then
tmp = a * (t * (y2 * y5))
else if (y5 <= (-6.5d-109)) then
tmp = x * (c * (i * -y))
else if (y5 <= (-5.5d-191)) then
tmp = (y2 * (t * c)) * -y4
else if (y5 <= (-4.1d-243)) then
tmp = y4 * (b * (t * j))
else if (y5 <= 5.2d-96) then
tmp = i * (y1 * (x * j))
else
tmp = (a * (y3 * y5)) * -y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -1.55e+22) {
tmp = a * (t * (y2 * y5));
} else if (y5 <= -6.5e-109) {
tmp = x * (c * (i * -y));
} else if (y5 <= -5.5e-191) {
tmp = (y2 * (t * c)) * -y4;
} else if (y5 <= -4.1e-243) {
tmp = y4 * (b * (t * j));
} else if (y5 <= 5.2e-96) {
tmp = i * (y1 * (x * j));
} else {
tmp = (a * (y3 * y5)) * -y;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y5 <= -1.55e+22: tmp = a * (t * (y2 * y5)) elif y5 <= -6.5e-109: tmp = x * (c * (i * -y)) elif y5 <= -5.5e-191: tmp = (y2 * (t * c)) * -y4 elif y5 <= -4.1e-243: tmp = y4 * (b * (t * j)) elif y5 <= 5.2e-96: tmp = i * (y1 * (x * j)) else: tmp = (a * (y3 * y5)) * -y return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -1.55e+22) tmp = Float64(a * Float64(t * Float64(y2 * y5))); elseif (y5 <= -6.5e-109) tmp = Float64(x * Float64(c * Float64(i * Float64(-y)))); elseif (y5 <= -5.5e-191) tmp = Float64(Float64(y2 * Float64(t * c)) * Float64(-y4)); elseif (y5 <= -4.1e-243) tmp = Float64(y4 * Float64(b * Float64(t * j))); elseif (y5 <= 5.2e-96) tmp = Float64(i * Float64(y1 * Float64(x * j))); else tmp = Float64(Float64(a * Float64(y3 * y5)) * Float64(-y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y5 <= -1.55e+22) tmp = a * (t * (y2 * y5)); elseif (y5 <= -6.5e-109) tmp = x * (c * (i * -y)); elseif (y5 <= -5.5e-191) tmp = (y2 * (t * c)) * -y4; elseif (y5 <= -4.1e-243) tmp = y4 * (b * (t * j)); elseif (y5 <= 5.2e-96) tmp = i * (y1 * (x * j)); else tmp = (a * (y3 * y5)) * -y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -1.55e+22], N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -6.5e-109], N[(x * N[(c * N[(i * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5.5e-191], N[(N[(y2 * N[(t * c), $MachinePrecision]), $MachinePrecision] * (-y4)), $MachinePrecision], If[LessEqual[y5, -4.1e-243], N[(y4 * N[(b * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.2e-96], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * N[(y3 * y5), $MachinePrecision]), $MachinePrecision] * (-y)), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -1.55 \cdot 10^{+22}:\\
\;\;\;\;a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq -6.5 \cdot 10^{-109}:\\
\;\;\;\;x \cdot \left(c \cdot \left(i \cdot \left(-y\right)\right)\right)\\
\mathbf{elif}\;y5 \leq -5.5 \cdot 10^{-191}:\\
\;\;\;\;\left(y2 \cdot \left(t \cdot c\right)\right) \cdot \left(-y4\right)\\
\mathbf{elif}\;y5 \leq -4.1 \cdot 10^{-243}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j\right)\right)\\
\mathbf{elif}\;y5 \leq 5.2 \cdot 10^{-96}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(a \cdot \left(y3 \cdot y5\right)\right) \cdot \left(-y\right)\\
\end{array}
\end{array}
if y5 < -1.5500000000000001e22Initial program 29.0%
Simplified29.0%
Taylor expanded in y5 around inf 43.6%
mul-1-neg43.6%
Simplified43.6%
Taylor expanded in a around inf 52.7%
*-commutative52.7%
*-commutative52.7%
Simplified52.7%
Taylor expanded in y2 around inf 41.5%
if -1.5500000000000001e22 < y5 < -6.49999999999999959e-109Initial program 28.7%
Simplified28.7%
Taylor expanded in c around inf 34.1%
associate--l+34.1%
*-commutative34.1%
mul-1-neg34.1%
*-commutative34.1%
*-commutative34.1%
Simplified34.1%
Taylor expanded in x around inf 36.5%
associate-*r*38.9%
*-commutative38.9%
Simplified38.9%
Taylor expanded in y0 around 0 34.5%
neg-mul-134.5%
distribute-rgt-neg-in34.5%
Simplified34.5%
if -6.49999999999999959e-109 < y5 < -5.5000000000000001e-191Initial program 43.7%
Simplified43.7%
Taylor expanded in y4 around inf 39.5%
Taylor expanded in t around inf 37.0%
Taylor expanded in j around 0 28.3%
mul-1-neg28.3%
associate-*r*36.5%
Simplified36.5%
if -5.5000000000000001e-191 < y5 < -4.09999999999999981e-243Initial program 16.7%
Simplified16.7%
Taylor expanded in y4 around inf 50.0%
Taylor expanded in t around inf 50.8%
Taylor expanded in j around inf 67.5%
associate-*r*67.5%
*-commutative67.5%
Simplified67.5%
if -4.09999999999999981e-243 < y5 < 5.2000000000000003e-96Initial program 36.7%
Simplified36.7%
Taylor expanded in j around inf 51.0%
associate--l+51.0%
mul-1-neg51.0%
*-commutative51.0%
*-commutative51.0%
*-commutative51.0%
Simplified51.0%
Taylor expanded in i around -inf 32.6%
associate-*r*32.6%
neg-mul-132.6%
*-commutative32.6%
*-commutative32.6%
Simplified32.6%
Taylor expanded in x around inf 30.7%
if 5.2000000000000003e-96 < y5 Initial program 27.9%
Simplified27.9%
Taylor expanded in y5 around inf 32.8%
mul-1-neg32.8%
Simplified32.8%
Taylor expanded in a around inf 24.7%
*-commutative24.7%
*-commutative24.7%
Simplified24.7%
Taylor expanded in y around inf 32.0%
Final simplification35.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* x (* y0 y2)))) (t_2 (* y1 (* i (* x j)))))
(if (<= y0 -4.6e+154)
t_1
(if (<= y0 -1.1e+90)
t_2
(if (<= y0 -4.5e+59)
(* c (* y0 (* x y2)))
(if (<= y0 -4.65e-262)
(* a (* y2 (* t y5)))
(if (<= y0 1.46e+90) 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 * (x * (y0 * y2));
double t_2 = y1 * (i * (x * j));
double tmp;
if (y0 <= -4.6e+154) {
tmp = t_1;
} else if (y0 <= -1.1e+90) {
tmp = t_2;
} else if (y0 <= -4.5e+59) {
tmp = c * (y0 * (x * y2));
} else if (y0 <= -4.65e-262) {
tmp = a * (y2 * (t * y5));
} else if (y0 <= 1.46e+90) {
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 * (x * (y0 * y2))
t_2 = y1 * (i * (x * j))
if (y0 <= (-4.6d+154)) then
tmp = t_1
else if (y0 <= (-1.1d+90)) then
tmp = t_2
else if (y0 <= (-4.5d+59)) then
tmp = c * (y0 * (x * y2))
else if (y0 <= (-4.65d-262)) then
tmp = a * (y2 * (t * y5))
else if (y0 <= 1.46d+90) 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 * (x * (y0 * y2));
double t_2 = y1 * (i * (x * j));
double tmp;
if (y0 <= -4.6e+154) {
tmp = t_1;
} else if (y0 <= -1.1e+90) {
tmp = t_2;
} else if (y0 <= -4.5e+59) {
tmp = c * (y0 * (x * y2));
} else if (y0 <= -4.65e-262) {
tmp = a * (y2 * (t * y5));
} else if (y0 <= 1.46e+90) {
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 * (x * (y0 * y2)) t_2 = y1 * (i * (x * j)) tmp = 0 if y0 <= -4.6e+154: tmp = t_1 elif y0 <= -1.1e+90: tmp = t_2 elif y0 <= -4.5e+59: tmp = c * (y0 * (x * y2)) elif y0 <= -4.65e-262: tmp = a * (y2 * (t * y5)) elif y0 <= 1.46e+90: 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(x * Float64(y0 * y2))) t_2 = Float64(y1 * Float64(i * Float64(x * j))) tmp = 0.0 if (y0 <= -4.6e+154) tmp = t_1; elseif (y0 <= -1.1e+90) tmp = t_2; elseif (y0 <= -4.5e+59) tmp = Float64(c * Float64(y0 * Float64(x * y2))); elseif (y0 <= -4.65e-262) tmp = Float64(a * Float64(y2 * Float64(t * y5))); elseif (y0 <= 1.46e+90) 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 * (x * (y0 * y2)); t_2 = y1 * (i * (x * j)); tmp = 0.0; if (y0 <= -4.6e+154) tmp = t_1; elseif (y0 <= -1.1e+90) tmp = t_2; elseif (y0 <= -4.5e+59) tmp = c * (y0 * (x * y2)); elseif (y0 <= -4.65e-262) tmp = a * (y2 * (t * y5)); elseif (y0 <= 1.46e+90) 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[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(i * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -4.6e+154], t$95$1, If[LessEqual[y0, -1.1e+90], t$95$2, If[LessEqual[y0, -4.5e+59], N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -4.65e-262], N[(a * N[(y2 * N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.46e+90], t$95$2, t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
t_2 := y1 \cdot \left(i \cdot \left(x \cdot j\right)\right)\\
\mathbf{if}\;y0 \leq -4.6 \cdot 10^{+154}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y0 \leq -1.1 \cdot 10^{+90}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;y0 \leq -4.5 \cdot 10^{+59}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq -4.65 \cdot 10^{-262}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)\\
\mathbf{elif}\;y0 \leq 1.46 \cdot 10^{+90}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y0 < -4.6e154 or 1.45999999999999994e90 < y0 Initial program 22.8%
Simplified22.8%
Taylor expanded in c around inf 36.9%
associate--l+36.9%
*-commutative36.9%
mul-1-neg36.9%
*-commutative36.9%
*-commutative36.9%
Simplified36.9%
Taylor expanded in x around inf 46.2%
associate-*r*43.0%
*-commutative43.0%
Simplified43.0%
Taylor expanded in y0 around inf 35.1%
*-commutative35.1%
associate-*r*41.4%
Simplified41.4%
if -4.6e154 < y0 < -1.09999999999999995e90 or -4.6499999999999997e-262 < y0 < 1.45999999999999994e90Initial program 37.6%
Simplified37.6%
Taylor expanded in j around inf 47.1%
associate--l+47.1%
mul-1-neg47.1%
*-commutative47.1%
*-commutative47.1%
*-commutative47.1%
Simplified47.1%
Taylor expanded in i around -inf 36.8%
associate-*r*36.8%
neg-mul-136.8%
*-commutative36.8%
*-commutative36.8%
Simplified36.8%
Taylor expanded in t around 0 31.7%
if -1.09999999999999995e90 < y0 < -4.49999999999999959e59Initial program 50.0%
Simplified50.0%
Taylor expanded in c around inf 50.6%
associate--l+50.6%
*-commutative50.6%
mul-1-neg50.6%
*-commutative50.6%
*-commutative50.6%
Simplified50.6%
Taylor expanded in x around inf 50.5%
associate-*r*50.5%
*-commutative50.5%
Simplified50.5%
Taylor expanded in y0 around inf 35.9%
*-commutative35.9%
Simplified35.9%
if -4.49999999999999959e59 < y0 < -4.6499999999999997e-262Initial program 30.5%
Simplified30.5%
Taylor expanded in y5 around inf 39.9%
mul-1-neg39.9%
Simplified39.9%
Taylor expanded in a around inf 31.6%
*-commutative31.6%
*-commutative31.6%
Simplified31.6%
Taylor expanded in y2 around inf 22.8%
pow122.8%
associate-*r*21.5%
*-commutative21.5%
Applied egg-rr21.5%
unpow121.5%
associate-*l*22.8%
associate-*r*21.5%
*-commutative21.5%
associate-*l*23.9%
Simplified23.9%
Final simplification32.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y0 -5.8e+144)
(* c (* x (* y0 y2)))
(if (<= y0 -2.4e+33)
(* (* b j) (* t y4))
(if (<= y0 -2.65e-238)
(* a (* y5 (* y (- y3))))
(if (<= y0 1.35e-267)
(* a (* y5 (* t y2)))
(if (<= y0 4.1e+87) (* y1 (* i (* x j))) (* x (* c (* y0 y2)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -5.8e+144) {
tmp = c * (x * (y0 * y2));
} else if (y0 <= -2.4e+33) {
tmp = (b * j) * (t * y4);
} else if (y0 <= -2.65e-238) {
tmp = a * (y5 * (y * -y3));
} else if (y0 <= 1.35e-267) {
tmp = a * (y5 * (t * y2));
} else if (y0 <= 4.1e+87) {
tmp = y1 * (i * (x * j));
} else {
tmp = x * (c * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y0 <= (-5.8d+144)) then
tmp = c * (x * (y0 * y2))
else if (y0 <= (-2.4d+33)) then
tmp = (b * j) * (t * y4)
else if (y0 <= (-2.65d-238)) then
tmp = a * (y5 * (y * -y3))
else if (y0 <= 1.35d-267) then
tmp = a * (y5 * (t * y2))
else if (y0 <= 4.1d+87) then
tmp = y1 * (i * (x * j))
else
tmp = x * (c * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -5.8e+144) {
tmp = c * (x * (y0 * y2));
} else if (y0 <= -2.4e+33) {
tmp = (b * j) * (t * y4);
} else if (y0 <= -2.65e-238) {
tmp = a * (y5 * (y * -y3));
} else if (y0 <= 1.35e-267) {
tmp = a * (y5 * (t * y2));
} else if (y0 <= 4.1e+87) {
tmp = y1 * (i * (x * j));
} else {
tmp = x * (c * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -5.8e+144: tmp = c * (x * (y0 * y2)) elif y0 <= -2.4e+33: tmp = (b * j) * (t * y4) elif y0 <= -2.65e-238: tmp = a * (y5 * (y * -y3)) elif y0 <= 1.35e-267: tmp = a * (y5 * (t * y2)) elif y0 <= 4.1e+87: tmp = y1 * (i * (x * j)) else: tmp = x * (c * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -5.8e+144) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y0 <= -2.4e+33) tmp = Float64(Float64(b * j) * Float64(t * y4)); elseif (y0 <= -2.65e-238) tmp = Float64(a * Float64(y5 * Float64(y * Float64(-y3)))); elseif (y0 <= 1.35e-267) tmp = Float64(a * Float64(y5 * Float64(t * y2))); elseif (y0 <= 4.1e+87) tmp = Float64(y1 * Float64(i * Float64(x * j))); else tmp = Float64(x * Float64(c * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y0 <= -5.8e+144) tmp = c * (x * (y0 * y2)); elseif (y0 <= -2.4e+33) tmp = (b * j) * (t * y4); elseif (y0 <= -2.65e-238) tmp = a * (y5 * (y * -y3)); elseif (y0 <= 1.35e-267) tmp = a * (y5 * (t * y2)); elseif (y0 <= 4.1e+87) tmp = y1 * (i * (x * j)); else tmp = x * (c * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -5.8e+144], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.4e+33], N[(N[(b * j), $MachinePrecision] * N[(t * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -2.65e-238], N[(a * N[(y5 * N[(y * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.35e-267], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.1e+87], N[(y1 * N[(i * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -5.8 \cdot 10^{+144}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq -2.4 \cdot 10^{+33}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(t \cdot y4\right)\\
\mathbf{elif}\;y0 \leq -2.65 \cdot 10^{-238}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(y \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;y0 \leq 1.35 \cdot 10^{-267}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 4.1 \cdot 10^{+87}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -5.79999999999999996e144Initial program 22.6%
Simplified22.6%
Taylor expanded in c around inf 36.2%
associate--l+36.2%
*-commutative36.2%
mul-1-neg36.2%
*-commutative36.2%
*-commutative36.2%
Simplified36.2%
Taylor expanded in x around inf 49.0%
associate-*r*42.8%
*-commutative42.8%
Simplified42.8%
Taylor expanded in y0 around inf 39.9%
*-commutative39.9%
associate-*r*46.1%
Simplified46.1%
if -5.79999999999999996e144 < y0 < -2.4e33Initial program 30.0%
Simplified30.0%
Taylor expanded in y4 around inf 66.0%
Taylor expanded in t around inf 46.6%
Taylor expanded in j around inf 36.8%
associate-*r*41.4%
*-commutative41.4%
*-commutative41.4%
Simplified41.4%
if -2.4e33 < y0 < -2.64999999999999984e-238Initial program 31.5%
Simplified31.5%
Taylor expanded in y5 around inf 39.5%
mul-1-neg39.5%
Simplified39.5%
Taylor expanded in a around inf 27.9%
*-commutative27.9%
*-commutative27.9%
Simplified27.9%
Taylor expanded in y2 around 0 27.8%
neg-mul-127.8%
Simplified27.8%
if -2.64999999999999984e-238 < y0 < 1.34999999999999994e-267Initial program 41.6%
Simplified41.6%
Taylor expanded in y5 around inf 42.0%
mul-1-neg42.0%
Simplified42.0%
Taylor expanded in a around inf 59.9%
*-commutative59.9%
*-commutative59.9%
Simplified59.9%
Taylor expanded in y2 around inf 54.2%
if 1.34999999999999994e-267 < y0 < 4.0999999999999999e87Initial program 36.6%
Simplified36.6%
Taylor expanded in j around inf 44.9%
associate--l+44.9%
mul-1-neg44.9%
*-commutative44.9%
*-commutative44.9%
*-commutative44.9%
Simplified44.9%
Taylor expanded in i around -inf 36.4%
associate-*r*36.4%
neg-mul-136.4%
*-commutative36.4%
*-commutative36.4%
Simplified36.4%
Taylor expanded in t around 0 28.8%
if 4.0999999999999999e87 < y0 Initial program 25.8%
Simplified25.8%
Taylor expanded in c around inf 39.2%
associate--l+39.2%
*-commutative39.2%
mul-1-neg39.2%
*-commutative39.2%
*-commutative39.2%
Simplified39.2%
Taylor expanded in x around inf 43.7%
associate-*r*42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in y0 around inf 38.6%
Final simplification35.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= c -6.6e+86)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= c -1.5e-205)
(* a (* t (* b (- z))))
(if (<= c 6.5e+97)
(* a (* y5 (- (* t y2) (* y y3))))
(* c (* y (- (* y3 y4) (* x i))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -6.6e+86) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (c <= -1.5e-205) {
tmp = a * (t * (b * -z));
} else if (c <= 6.5e+97) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else {
tmp = c * (y * ((y3 * y4) - (x * i)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (c <= (-6.6d+86)) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (c <= (-1.5d-205)) then
tmp = a * (t * (b * -z))
else if (c <= 6.5d+97) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else
tmp = c * (y * ((y3 * y4) - (x * i)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (c <= -6.6e+86) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (c <= -1.5e-205) {
tmp = a * (t * (b * -z));
} else if (c <= 6.5e+97) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else {
tmp = c * (y * ((y3 * y4) - (x * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if c <= -6.6e+86: tmp = c * (y0 * ((x * y2) - (z * y3))) elif c <= -1.5e-205: tmp = a * (t * (b * -z)) elif c <= 6.5e+97: tmp = a * (y5 * ((t * y2) - (y * y3))) else: tmp = c * (y * ((y3 * y4) - (x * i))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (c <= -6.6e+86) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (c <= -1.5e-205) tmp = Float64(a * Float64(t * Float64(b * Float64(-z)))); elseif (c <= 6.5e+97) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); else tmp = Float64(c * Float64(y * Float64(Float64(y3 * y4) - Float64(x * i)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (c <= -6.6e+86) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (c <= -1.5e-205) tmp = a * (t * (b * -z)); elseif (c <= 6.5e+97) tmp = a * (y5 * ((t * y2) - (y * y3))); else tmp = c * (y * ((y3 * y4) - (x * i))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[c, -6.6e+86], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -1.5e-205], N[(a * N[(t * N[(b * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 6.5e+97], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(y * N[(N[(y3 * y4), $MachinePrecision] - N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -6.6 \cdot 10^{+86}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;c \leq -1.5 \cdot 10^{-205}:\\
\;\;\;\;a \cdot \left(t \cdot \left(b \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;c \leq 6.5 \cdot 10^{+97}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4 - x \cdot i\right)\right)\\
\end{array}
\end{array}
if c < -6.5999999999999998e86Initial program 28.9%
Simplified28.9%
Taylor expanded in c around inf 59.6%
associate--l+59.6%
*-commutative59.6%
mul-1-neg59.6%
*-commutative59.6%
*-commutative59.6%
Simplified59.6%
Taylor expanded in y0 around -inf 45.7%
if -6.5999999999999998e86 < c < -1.5e-205Initial program 39.4%
Simplified39.4%
Taylor expanded in z around -inf 47.5%
Taylor expanded in a around inf 32.5%
*-commutative32.5%
mul-1-neg32.5%
sub-neg32.5%
*-commutative32.5%
Simplified32.5%
Taylor expanded in t around inf 30.6%
if -1.5e-205 < c < 6.4999999999999999e97Initial program 33.6%
Simplified33.6%
Taylor expanded in y5 around inf 38.3%
mul-1-neg38.3%
Simplified38.3%
Taylor expanded in a around inf 34.6%
*-commutative34.6%
*-commutative34.6%
Simplified34.6%
if 6.4999999999999999e97 < c Initial program 19.7%
Simplified19.7%
Taylor expanded in c around inf 52.4%
associate--l+52.4%
*-commutative52.4%
mul-1-neg52.4%
*-commutative52.4%
*-commutative52.4%
Simplified52.4%
Taylor expanded in y around -inf 44.4%
mul-1-neg44.4%
unsub-neg44.4%
*-commutative44.4%
*-commutative44.4%
Simplified44.4%
Final simplification37.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y0 -1.45e-236)
(* c (* y2 (- (* x y0) (* t y4))))
(if (<= y0 1.85e+46)
(* a (* y5 (- (* t y2) (* y y3))))
(if (<= y0 5.1e+57)
(* i (* j (* x y1)))
(if (<= y0 4.4e+124)
(* (- a) (* y (* y3 y5)))
(* x (* c (* y0 y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -1.45e-236) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y0 <= 1.85e+46) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y0 <= 5.1e+57) {
tmp = i * (j * (x * y1));
} else if (y0 <= 4.4e+124) {
tmp = -a * (y * (y3 * y5));
} else {
tmp = x * (c * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y0 <= (-1.45d-236)) then
tmp = c * (y2 * ((x * y0) - (t * y4)))
else if (y0 <= 1.85d+46) then
tmp = a * (y5 * ((t * y2) - (y * y3)))
else if (y0 <= 5.1d+57) then
tmp = i * (j * (x * y1))
else if (y0 <= 4.4d+124) then
tmp = -a * (y * (y3 * y5))
else
tmp = x * (c * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -1.45e-236) {
tmp = c * (y2 * ((x * y0) - (t * y4)));
} else if (y0 <= 1.85e+46) {
tmp = a * (y5 * ((t * y2) - (y * y3)));
} else if (y0 <= 5.1e+57) {
tmp = i * (j * (x * y1));
} else if (y0 <= 4.4e+124) {
tmp = -a * (y * (y3 * y5));
} else {
tmp = x * (c * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -1.45e-236: tmp = c * (y2 * ((x * y0) - (t * y4))) elif y0 <= 1.85e+46: tmp = a * (y5 * ((t * y2) - (y * y3))) elif y0 <= 5.1e+57: tmp = i * (j * (x * y1)) elif y0 <= 4.4e+124: tmp = -a * (y * (y3 * y5)) else: tmp = x * (c * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -1.45e-236) tmp = Float64(c * Float64(y2 * Float64(Float64(x * y0) - Float64(t * y4)))); elseif (y0 <= 1.85e+46) tmp = Float64(a * Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3)))); elseif (y0 <= 5.1e+57) tmp = Float64(i * Float64(j * Float64(x * y1))); elseif (y0 <= 4.4e+124) tmp = Float64(Float64(-a) * Float64(y * Float64(y3 * y5))); else tmp = Float64(x * Float64(c * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y0 <= -1.45e-236) tmp = c * (y2 * ((x * y0) - (t * y4))); elseif (y0 <= 1.85e+46) tmp = a * (y5 * ((t * y2) - (y * y3))); elseif (y0 <= 5.1e+57) tmp = i * (j * (x * y1)); elseif (y0 <= 4.4e+124) tmp = -a * (y * (y3 * y5)); else tmp = x * (c * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -1.45e-236], N[(c * N[(y2 * N[(N[(x * y0), $MachinePrecision] - N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.85e+46], N[(a * N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 5.1e+57], N[(i * N[(j * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.4e+124], N[((-a) * N[(y * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -1.45 \cdot 10^{-236}:\\
\;\;\;\;c \cdot \left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 1.85 \cdot 10^{+46}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\\
\mathbf{elif}\;y0 \leq 5.1 \cdot 10^{+57}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1\right)\right)\\
\mathbf{elif}\;y0 \leq 4.4 \cdot 10^{+124}:\\
\;\;\;\;\left(-a\right) \cdot \left(y \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -1.45e-236Initial program 28.5%
Simplified28.5%
Taylor expanded in c around inf 40.4%
associate--l+40.4%
*-commutative40.4%
mul-1-neg40.4%
*-commutative40.4%
*-commutative40.4%
Simplified40.4%
Taylor expanded in y2 around inf 36.6%
if -1.45e-236 < y0 < 1.84999999999999995e46Initial program 35.2%
Simplified35.2%
Taylor expanded in y5 around inf 36.9%
mul-1-neg36.9%
Simplified36.9%
Taylor expanded in a around inf 39.6%
*-commutative39.6%
*-commutative39.6%
Simplified39.6%
if 1.84999999999999995e46 < y0 < 5.10000000000000023e57Initial program 66.7%
Simplified66.7%
Taylor expanded in j around inf 56.1%
associate--l+56.1%
mul-1-neg56.1%
*-commutative56.1%
*-commutative56.1%
*-commutative56.1%
Simplified56.1%
Taylor expanded in i around -inf 66.9%
associate-*r*66.9%
neg-mul-166.9%
*-commutative66.9%
*-commutative66.9%
Simplified66.9%
Taylor expanded in t around 0 67.3%
mul-1-neg67.3%
*-commutative67.3%
distribute-rgt-neg-in67.3%
Simplified67.3%
if 5.10000000000000023e57 < y0 < 4.4000000000000002e124Initial program 30.0%
Simplified30.0%
Taylor expanded in y5 around inf 30.5%
mul-1-neg30.5%
Simplified30.5%
Taylor expanded in a around inf 20.7%
*-commutative20.7%
*-commutative20.7%
Simplified20.7%
Taylor expanded in y2 around 0 30.8%
associate-*r*30.8%
neg-mul-130.8%
Simplified30.8%
if 4.4000000000000002e124 < y0 Initial program 24.7%
Simplified24.7%
Taylor expanded in c around inf 42.5%
associate--l+42.5%
*-commutative42.5%
mul-1-neg42.5%
*-commutative42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in x around inf 47.4%
associate-*r*46.1%
*-commutative46.1%
Simplified46.1%
Taylor expanded in y0 around inf 41.7%
Final simplification39.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* x (* y0 y2)))))
(if (<= y0 -1.8e+135)
t_1
(if (<= y0 -3.5e+50)
(* y4 (* b (* t j)))
(if (<= y0 -3.1e-264)
(* a (* y2 (* t y5)))
(if (<= y0 4.7e+90) (* y1 (* i (* x j))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (x * (y0 * y2));
double tmp;
if (y0 <= -1.8e+135) {
tmp = t_1;
} else if (y0 <= -3.5e+50) {
tmp = y4 * (b * (t * j));
} else if (y0 <= -3.1e-264) {
tmp = a * (y2 * (t * y5));
} else if (y0 <= 4.7e+90) {
tmp = y1 * (i * (x * j));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (x * (y0 * y2))
if (y0 <= (-1.8d+135)) then
tmp = t_1
else if (y0 <= (-3.5d+50)) then
tmp = y4 * (b * (t * j))
else if (y0 <= (-3.1d-264)) then
tmp = a * (y2 * (t * y5))
else if (y0 <= 4.7d+90) then
tmp = y1 * (i * (x * j))
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 * (x * (y0 * y2));
double tmp;
if (y0 <= -1.8e+135) {
tmp = t_1;
} else if (y0 <= -3.5e+50) {
tmp = y4 * (b * (t * j));
} else if (y0 <= -3.1e-264) {
tmp = a * (y2 * (t * y5));
} else if (y0 <= 4.7e+90) {
tmp = y1 * (i * (x * j));
} 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 * (x * (y0 * y2)) tmp = 0 if y0 <= -1.8e+135: tmp = t_1 elif y0 <= -3.5e+50: tmp = y4 * (b * (t * j)) elif y0 <= -3.1e-264: tmp = a * (y2 * (t * y5)) elif y0 <= 4.7e+90: tmp = y1 * (i * (x * j)) 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(x * Float64(y0 * y2))) tmp = 0.0 if (y0 <= -1.8e+135) tmp = t_1; elseif (y0 <= -3.5e+50) tmp = Float64(y4 * Float64(b * Float64(t * j))); elseif (y0 <= -3.1e-264) tmp = Float64(a * Float64(y2 * Float64(t * y5))); elseif (y0 <= 4.7e+90) tmp = Float64(y1 * Float64(i * Float64(x * j))); 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 * (x * (y0 * y2)); tmp = 0.0; if (y0 <= -1.8e+135) tmp = t_1; elseif (y0 <= -3.5e+50) tmp = y4 * (b * (t * j)); elseif (y0 <= -3.1e-264) tmp = a * (y2 * (t * y5)); elseif (y0 <= 4.7e+90) tmp = y1 * (i * (x * j)); 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[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -1.8e+135], t$95$1, If[LessEqual[y0, -3.5e+50], N[(y4 * N[(b * N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -3.1e-264], N[(a * N[(y2 * N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 4.7e+90], N[(y1 * N[(i * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -1.8 \cdot 10^{+135}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y0 \leq -3.5 \cdot 10^{+50}:\\
\;\;\;\;y4 \cdot \left(b \cdot \left(t \cdot j\right)\right)\\
\mathbf{elif}\;y0 \leq -3.1 \cdot 10^{-264}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)\\
\mathbf{elif}\;y0 \leq 4.7 \cdot 10^{+90}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y0 < -1.7999999999999999e135 or 4.7000000000000001e90 < y0 Initial program 24.5%
Simplified24.5%
Taylor expanded in c around inf 38.0%
associate--l+38.0%
*-commutative38.0%
mul-1-neg38.0%
*-commutative38.0%
*-commutative38.0%
Simplified38.0%
Taylor expanded in x around inf 45.8%
associate-*r*42.6%
*-commutative42.6%
Simplified42.6%
Taylor expanded in y0 around inf 35.0%
*-commutative35.0%
associate-*r*41.1%
Simplified41.1%
if -1.7999999999999999e135 < y0 < -3.50000000000000006e50Initial program 35.3%
Simplified35.3%
Taylor expanded in y4 around inf 71.8%
Taylor expanded in t around inf 48.1%
Taylor expanded in j around inf 37.2%
associate-*r*37.2%
*-commutative37.2%
Simplified37.2%
if -3.50000000000000006e50 < y0 < -3.1000000000000002e-264Initial program 31.3%
Simplified31.3%
Taylor expanded in y5 around inf 39.6%
mul-1-neg39.6%
Simplified39.6%
Taylor expanded in a around inf 32.3%
*-commutative32.3%
*-commutative32.3%
Simplified32.3%
Taylor expanded in y2 around inf 23.2%
pow123.2%
associate-*r*21.9%
*-commutative21.9%
Applied egg-rr21.9%
unpow121.9%
associate-*l*23.2%
associate-*r*21.9%
*-commutative21.9%
associate-*l*24.4%
Simplified24.4%
if -3.1000000000000002e-264 < y0 < 4.7000000000000001e90Initial program 37.0%
Simplified37.0%
Taylor expanded in j around inf 46.7%
associate--l+46.7%
mul-1-neg46.7%
*-commutative46.7%
*-commutative46.7%
*-commutative46.7%
Simplified46.7%
Taylor expanded in i around -inf 37.0%
associate-*r*37.0%
neg-mul-137.0%
*-commutative37.0%
*-commutative37.0%
Simplified37.0%
Taylor expanded in t around 0 30.2%
Final simplification32.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* x (* y0 y2)))))
(if (<= y0 -2e+138)
t_1
(if (<= y0 -4.8e+48)
(* (* b j) (* t y4))
(if (<= y0 -3.6e-262)
(* a (* y2 (* t y5)))
(if (<= y0 2.95e+92) (* y1 (* i (* x j))) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (x * (y0 * y2));
double tmp;
if (y0 <= -2e+138) {
tmp = t_1;
} else if (y0 <= -4.8e+48) {
tmp = (b * j) * (t * y4);
} else if (y0 <= -3.6e-262) {
tmp = a * (y2 * (t * y5));
} else if (y0 <= 2.95e+92) {
tmp = y1 * (i * (x * j));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (x * (y0 * y2))
if (y0 <= (-2d+138)) then
tmp = t_1
else if (y0 <= (-4.8d+48)) then
tmp = (b * j) * (t * y4)
else if (y0 <= (-3.6d-262)) then
tmp = a * (y2 * (t * y5))
else if (y0 <= 2.95d+92) then
tmp = y1 * (i * (x * j))
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 * (x * (y0 * y2));
double tmp;
if (y0 <= -2e+138) {
tmp = t_1;
} else if (y0 <= -4.8e+48) {
tmp = (b * j) * (t * y4);
} else if (y0 <= -3.6e-262) {
tmp = a * (y2 * (t * y5));
} else if (y0 <= 2.95e+92) {
tmp = y1 * (i * (x * j));
} 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 * (x * (y0 * y2)) tmp = 0 if y0 <= -2e+138: tmp = t_1 elif y0 <= -4.8e+48: tmp = (b * j) * (t * y4) elif y0 <= -3.6e-262: tmp = a * (y2 * (t * y5)) elif y0 <= 2.95e+92: tmp = y1 * (i * (x * j)) 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(x * Float64(y0 * y2))) tmp = 0.0 if (y0 <= -2e+138) tmp = t_1; elseif (y0 <= -4.8e+48) tmp = Float64(Float64(b * j) * Float64(t * y4)); elseif (y0 <= -3.6e-262) tmp = Float64(a * Float64(y2 * Float64(t * y5))); elseif (y0 <= 2.95e+92) tmp = Float64(y1 * Float64(i * Float64(x * j))); 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 * (x * (y0 * y2)); tmp = 0.0; if (y0 <= -2e+138) tmp = t_1; elseif (y0 <= -4.8e+48) tmp = (b * j) * (t * y4); elseif (y0 <= -3.6e-262) tmp = a * (y2 * (t * y5)); elseif (y0 <= 2.95e+92) tmp = y1 * (i * (x * j)); 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[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -2e+138], t$95$1, If[LessEqual[y0, -4.8e+48], N[(N[(b * j), $MachinePrecision] * N[(t * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -3.6e-262], N[(a * N[(y2 * N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.95e+92], N[(y1 * N[(i * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -2 \cdot 10^{+138}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y0 \leq -4.8 \cdot 10^{+48}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(t \cdot y4\right)\\
\mathbf{elif}\;y0 \leq -3.6 \cdot 10^{-262}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)\\
\mathbf{elif}\;y0 \leq 2.95 \cdot 10^{+92}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y0 < -2.0000000000000001e138 or 2.9499999999999998e92 < y0 Initial program 24.5%
Simplified24.5%
Taylor expanded in c around inf 38.0%
associate--l+38.0%
*-commutative38.0%
mul-1-neg38.0%
*-commutative38.0%
*-commutative38.0%
Simplified38.0%
Taylor expanded in x around inf 45.8%
associate-*r*42.6%
*-commutative42.6%
Simplified42.6%
Taylor expanded in y0 around inf 35.0%
*-commutative35.0%
associate-*r*41.1%
Simplified41.1%
if -2.0000000000000001e138 < y0 < -4.8000000000000002e48Initial program 35.3%
Simplified35.3%
Taylor expanded in y4 around inf 71.8%
Taylor expanded in t around inf 48.1%
Taylor expanded in j around inf 37.2%
associate-*r*42.6%
*-commutative42.6%
*-commutative42.6%
Simplified42.6%
if -4.8000000000000002e48 < y0 < -3.5999999999999998e-262Initial program 31.3%
Simplified31.3%
Taylor expanded in y5 around inf 39.6%
mul-1-neg39.6%
Simplified39.6%
Taylor expanded in a around inf 32.3%
*-commutative32.3%
*-commutative32.3%
Simplified32.3%
Taylor expanded in y2 around inf 23.2%
pow123.2%
associate-*r*21.9%
*-commutative21.9%
Applied egg-rr21.9%
unpow121.9%
associate-*l*23.2%
associate-*r*21.9%
*-commutative21.9%
associate-*l*24.4%
Simplified24.4%
if -3.5999999999999998e-262 < y0 < 2.9499999999999998e92Initial program 37.0%
Simplified37.0%
Taylor expanded in j around inf 46.7%
associate--l+46.7%
mul-1-neg46.7%
*-commutative46.7%
*-commutative46.7%
*-commutative46.7%
Simplified46.7%
Taylor expanded in i around -inf 37.0%
associate-*r*37.0%
neg-mul-137.0%
*-commutative37.0%
*-commutative37.0%
Simplified37.0%
Taylor expanded in t around 0 30.2%
Final simplification32.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y0 -9e+144)
(* c (* x (* y0 y2)))
(if (<= y0 -7.4e+49)
(* (* b j) (* t y4))
(if (<= y0 -1.8e-264)
(* a (* y2 (* t y5)))
(if (<= y0 9e+90) (* y1 (* i (* x j))) (* x (* c (* y0 y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -9e+144) {
tmp = c * (x * (y0 * y2));
} else if (y0 <= -7.4e+49) {
tmp = (b * j) * (t * y4);
} else if (y0 <= -1.8e-264) {
tmp = a * (y2 * (t * y5));
} else if (y0 <= 9e+90) {
tmp = y1 * (i * (x * j));
} else {
tmp = x * (c * (y0 * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y0 <= (-9d+144)) then
tmp = c * (x * (y0 * y2))
else if (y0 <= (-7.4d+49)) then
tmp = (b * j) * (t * y4)
else if (y0 <= (-1.8d-264)) then
tmp = a * (y2 * (t * y5))
else if (y0 <= 9d+90) then
tmp = y1 * (i * (x * j))
else
tmp = x * (c * (y0 * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -9e+144) {
tmp = c * (x * (y0 * y2));
} else if (y0 <= -7.4e+49) {
tmp = (b * j) * (t * y4);
} else if (y0 <= -1.8e-264) {
tmp = a * (y2 * (t * y5));
} else if (y0 <= 9e+90) {
tmp = y1 * (i * (x * j));
} else {
tmp = x * (c * (y0 * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -9e+144: tmp = c * (x * (y0 * y2)) elif y0 <= -7.4e+49: tmp = (b * j) * (t * y4) elif y0 <= -1.8e-264: tmp = a * (y2 * (t * y5)) elif y0 <= 9e+90: tmp = y1 * (i * (x * j)) else: tmp = x * (c * (y0 * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -9e+144) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (y0 <= -7.4e+49) tmp = Float64(Float64(b * j) * Float64(t * y4)); elseif (y0 <= -1.8e-264) tmp = Float64(a * Float64(y2 * Float64(t * y5))); elseif (y0 <= 9e+90) tmp = Float64(y1 * Float64(i * Float64(x * j))); else tmp = Float64(x * Float64(c * Float64(y0 * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y0 <= -9e+144) tmp = c * (x * (y0 * y2)); elseif (y0 <= -7.4e+49) tmp = (b * j) * (t * y4); elseif (y0 <= -1.8e-264) tmp = a * (y2 * (t * y5)); elseif (y0 <= 9e+90) tmp = y1 * (i * (x * j)); else tmp = x * (c * (y0 * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -9e+144], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -7.4e+49], N[(N[(b * j), $MachinePrecision] * N[(t * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -1.8e-264], N[(a * N[(y2 * N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 9e+90], N[(y1 * N[(i * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(c * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -9 \cdot 10^{+144}:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq -7.4 \cdot 10^{+49}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(t \cdot y4\right)\\
\mathbf{elif}\;y0 \leq -1.8 \cdot 10^{-264}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)\\
\mathbf{elif}\;y0 \leq 9 \cdot 10^{+90}:\\
\;\;\;\;y1 \cdot \left(i \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -8.99999999999999935e144Initial program 22.6%
Simplified22.6%
Taylor expanded in c around inf 36.2%
associate--l+36.2%
*-commutative36.2%
mul-1-neg36.2%
*-commutative36.2%
*-commutative36.2%
Simplified36.2%
Taylor expanded in x around inf 49.0%
associate-*r*42.8%
*-commutative42.8%
Simplified42.8%
Taylor expanded in y0 around inf 39.9%
*-commutative39.9%
associate-*r*46.1%
Simplified46.1%
if -8.99999999999999935e144 < y0 < -7.40000000000000036e49Initial program 35.3%
Simplified35.3%
Taylor expanded in y4 around inf 71.8%
Taylor expanded in t around inf 48.1%
Taylor expanded in j around inf 37.2%
associate-*r*42.6%
*-commutative42.6%
*-commutative42.6%
Simplified42.6%
if -7.40000000000000036e49 < y0 < -1.8000000000000001e-264Initial program 31.3%
Simplified31.3%
Taylor expanded in y5 around inf 39.6%
mul-1-neg39.6%
Simplified39.6%
Taylor expanded in a around inf 32.3%
*-commutative32.3%
*-commutative32.3%
Simplified32.3%
Taylor expanded in y2 around inf 23.2%
pow123.2%
associate-*r*21.9%
*-commutative21.9%
Applied egg-rr21.9%
unpow121.9%
associate-*l*23.2%
associate-*r*21.9%
*-commutative21.9%
associate-*l*24.4%
Simplified24.4%
if -1.8000000000000001e-264 < y0 < 9e90Initial program 37.0%
Simplified37.0%
Taylor expanded in j around inf 46.7%
associate--l+46.7%
mul-1-neg46.7%
*-commutative46.7%
*-commutative46.7%
*-commutative46.7%
Simplified46.7%
Taylor expanded in i around -inf 37.0%
associate-*r*37.0%
neg-mul-137.0%
*-commutative37.0%
*-commutative37.0%
Simplified37.0%
Taylor expanded in t around 0 30.2%
if 9e90 < y0 Initial program 25.8%
Simplified25.8%
Taylor expanded in c around inf 39.2%
associate--l+39.2%
*-commutative39.2%
mul-1-neg39.2%
*-commutative39.2%
*-commutative39.2%
Simplified39.2%
Taylor expanded in x around inf 43.7%
associate-*r*42.5%
*-commutative42.5%
Simplified42.5%
Taylor expanded in y0 around inf 38.6%
Final simplification32.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* x (* y0 y2)))))
(if (<= y0 -8.5e+59)
t_1
(if (<= y0 -4.9e-264)
(* a (* y2 (* t y5)))
(if (<= y0 1.7e+96) (* i (* y1 (* x j))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (x * (y0 * y2));
double tmp;
if (y0 <= -8.5e+59) {
tmp = t_1;
} else if (y0 <= -4.9e-264) {
tmp = a * (y2 * (t * y5));
} else if (y0 <= 1.7e+96) {
tmp = i * (y1 * (x * j));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = c * (x * (y0 * y2))
if (y0 <= (-8.5d+59)) then
tmp = t_1
else if (y0 <= (-4.9d-264)) then
tmp = a * (y2 * (t * y5))
else if (y0 <= 1.7d+96) then
tmp = i * (y1 * (x * j))
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 * (x * (y0 * y2));
double tmp;
if (y0 <= -8.5e+59) {
tmp = t_1;
} else if (y0 <= -4.9e-264) {
tmp = a * (y2 * (t * y5));
} else if (y0 <= 1.7e+96) {
tmp = i * (y1 * (x * j));
} 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 * (x * (y0 * y2)) tmp = 0 if y0 <= -8.5e+59: tmp = t_1 elif y0 <= -4.9e-264: tmp = a * (y2 * (t * y5)) elif y0 <= 1.7e+96: tmp = i * (y1 * (x * j)) 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(x * Float64(y0 * y2))) tmp = 0.0 if (y0 <= -8.5e+59) tmp = t_1; elseif (y0 <= -4.9e-264) tmp = Float64(a * Float64(y2 * Float64(t * y5))); elseif (y0 <= 1.7e+96) tmp = Float64(i * Float64(y1 * Float64(x * j))); 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 * (x * (y0 * y2)); tmp = 0.0; if (y0 <= -8.5e+59) tmp = t_1; elseif (y0 <= -4.9e-264) tmp = a * (y2 * (t * y5)); elseif (y0 <= 1.7e+96) tmp = i * (y1 * (x * j)); 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[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y0, -8.5e+59], t$95$1, If[LessEqual[y0, -4.9e-264], N[(a * N[(y2 * N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.7e+96], N[(i * N[(y1 * N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{if}\;y0 \leq -8.5 \cdot 10^{+59}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y0 \leq -4.9 \cdot 10^{-264}:\\
\;\;\;\;a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)\\
\mathbf{elif}\;y0 \leq 1.7 \cdot 10^{+96}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y0 < -8.4999999999999999e59 or 1.7e96 < y0 Initial program 27.0%
Simplified27.0%
Taylor expanded in c around inf 38.4%
associate--l+38.4%
*-commutative38.4%
mul-1-neg38.4%
*-commutative38.4%
*-commutative38.4%
Simplified38.4%
Taylor expanded in x around inf 41.7%
associate-*r*39.1%
*-commutative39.1%
Simplified39.1%
Taylor expanded in y0 around inf 31.8%
*-commutative31.8%
associate-*r*36.8%
Simplified36.8%
if -8.4999999999999999e59 < y0 < -4.89999999999999988e-264Initial program 30.5%
Simplified30.5%
Taylor expanded in y5 around inf 39.9%
mul-1-neg39.9%
Simplified39.9%
Taylor expanded in a around inf 31.6%
*-commutative31.6%
*-commutative31.6%
Simplified31.6%
Taylor expanded in y2 around inf 22.8%
pow122.8%
associate-*r*21.5%
*-commutative21.5%
Applied egg-rr21.5%
unpow121.5%
associate-*l*22.8%
associate-*r*21.5%
*-commutative21.5%
associate-*l*23.9%
Simplified23.9%
if -4.89999999999999988e-264 < y0 < 1.7e96Initial program 37.0%
Simplified37.0%
Taylor expanded in j around inf 46.7%
associate--l+46.7%
mul-1-neg46.7%
*-commutative46.7%
*-commutative46.7%
*-commutative46.7%
Simplified46.7%
Taylor expanded in i around -inf 37.0%
associate-*r*37.0%
neg-mul-137.0%
*-commutative37.0%
*-commutative37.0%
Simplified37.0%
Taylor expanded in x around inf 29.7%
Final simplification30.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y0 -4.5e+59) (not (<= y0 1.4e+18))) (* c (* y0 (* x y2))) (* a (* y5 (* t y2)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y0 <= -4.5e+59) || !(y0 <= 1.4e+18)) {
tmp = c * (y0 * (x * y2));
} else {
tmp = a * (y5 * (t * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((y0 <= (-4.5d+59)) .or. (.not. (y0 <= 1.4d+18))) then
tmp = c * (y0 * (x * y2))
else
tmp = a * (y5 * (t * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y0 <= -4.5e+59) || !(y0 <= 1.4e+18)) {
tmp = c * (y0 * (x * y2));
} else {
tmp = a * (y5 * (t * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y0 <= -4.5e+59) or not (y0 <= 1.4e+18): tmp = c * (y0 * (x * y2)) else: tmp = a * (y5 * (t * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y0 <= -4.5e+59) || !(y0 <= 1.4e+18)) tmp = Float64(c * Float64(y0 * Float64(x * y2))); else tmp = Float64(a * Float64(y5 * Float64(t * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((y0 <= -4.5e+59) || ~((y0 <= 1.4e+18))) tmp = c * (y0 * (x * y2)); else tmp = a * (y5 * (t * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y0, -4.5e+59], N[Not[LessEqual[y0, 1.4e+18]], $MachinePrecision]], N[(c * N[(y0 * N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -4.5 \cdot 10^{+59} \lor \neg \left(y0 \leq 1.4 \cdot 10^{+18}\right):\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -4.49999999999999959e59 or 1.4e18 < y0 Initial program 30.1%
Simplified30.1%
Taylor expanded in c around inf 40.8%
associate--l+40.8%
*-commutative40.8%
mul-1-neg40.8%
*-commutative40.8%
*-commutative40.8%
Simplified40.8%
Taylor expanded in x around inf 42.7%
associate-*r*39.6%
*-commutative39.6%
Simplified39.6%
Taylor expanded in y0 around inf 29.8%
*-commutative29.8%
Simplified29.8%
if -4.49999999999999959e59 < y0 < 1.4e18Initial program 32.5%
Simplified32.5%
Taylor expanded in y5 around inf 38.3%
mul-1-neg38.3%
Simplified38.3%
Taylor expanded in a around inf 33.4%
*-commutative33.4%
*-commutative33.4%
Simplified33.4%
Taylor expanded in y2 around inf 21.4%
Final simplification25.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y0 -1.3e+60) (not (<= y0 2.3e+17))) (* c (* x (* y0 y2))) (* a (* y5 (* t y2)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y0 <= -1.3e+60) || !(y0 <= 2.3e+17)) {
tmp = c * (x * (y0 * y2));
} else {
tmp = a * (y5 * (t * y2));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((y0 <= (-1.3d+60)) .or. (.not. (y0 <= 2.3d+17))) then
tmp = c * (x * (y0 * y2))
else
tmp = a * (y5 * (t * y2))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((y0 <= -1.3e+60) || !(y0 <= 2.3e+17)) {
tmp = c * (x * (y0 * y2));
} else {
tmp = a * (y5 * (t * y2));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y0 <= -1.3e+60) or not (y0 <= 2.3e+17): tmp = c * (x * (y0 * y2)) else: tmp = a * (y5 * (t * y2)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((y0 <= -1.3e+60) || !(y0 <= 2.3e+17)) tmp = Float64(c * Float64(x * Float64(y0 * y2))); else tmp = Float64(a * Float64(y5 * Float64(t * y2))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((y0 <= -1.3e+60) || ~((y0 <= 2.3e+17))) tmp = c * (x * (y0 * y2)); else tmp = a * (y5 * (t * y2)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y0, -1.3e+60], N[Not[LessEqual[y0, 2.3e+17]], $MachinePrecision]], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y5 * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -1.3 \cdot 10^{+60} \lor \neg \left(y0 \leq 2.3 \cdot 10^{+17}\right):\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2\right)\right)\\
\end{array}
\end{array}
if y0 < -1.30000000000000004e60 or 2.3e17 < y0 Initial program 30.1%
Simplified30.1%
Taylor expanded in c around inf 40.8%
associate--l+40.8%
*-commutative40.8%
mul-1-neg40.8%
*-commutative40.8%
*-commutative40.8%
Simplified40.8%
Taylor expanded in x around inf 42.7%
associate-*r*39.6%
*-commutative39.6%
Simplified39.6%
Taylor expanded in y0 around inf 29.8%
*-commutative29.8%
associate-*r*34.1%
Simplified34.1%
if -1.30000000000000004e60 < y0 < 2.3e17Initial program 32.5%
Simplified32.5%
Taylor expanded in y5 around inf 38.3%
mul-1-neg38.3%
Simplified38.3%
Taylor expanded in a around inf 33.4%
*-commutative33.4%
*-commutative33.4%
Simplified33.4%
Taylor expanded in y2 around inf 21.4%
Final simplification26.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* t (* y2 y5))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (t * (y2 * y5));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * (t * (y2 * y5))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (t * (y2 * y5));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (t * (y2 * y5))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(t * Float64(y2 * y5))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (t * (y2 * y5)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(t * N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(t \cdot \left(y2 \cdot y5\right)\right)
\end{array}
Initial program 31.4%
Simplified31.4%
Taylor expanded in y5 around inf 35.0%
mul-1-neg35.0%
Simplified35.0%
Taylor expanded in a around inf 26.7%
*-commutative26.7%
*-commutative26.7%
Simplified26.7%
Taylor expanded in y2 around inf 17.1%
Final simplification17.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* y2 (* t y5))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y2 * (t * y5));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * (y2 * (t * y5))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * (y2 * (t * y5));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * (y2 * (t * y5))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(y2 * Float64(t * y5))) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * (y2 * (t * y5)); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(y2 * N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(y2 \cdot \left(t \cdot y5\right)\right)
\end{array}
Initial program 31.4%
Simplified31.4%
Taylor expanded in y5 around inf 35.0%
mul-1-neg35.0%
Simplified35.0%
Taylor expanded in a around inf 26.7%
*-commutative26.7%
*-commutative26.7%
Simplified26.7%
Taylor expanded in y2 around inf 17.1%
pow117.1%
associate-*r*16.3%
*-commutative16.3%
Applied egg-rr16.3%
unpow116.3%
associate-*l*17.1%
associate-*r*17.1%
*-commutative17.1%
associate-*l*17.4%
Simplified17.4%
Final simplification17.4%
(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 2023224
(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
:herbie-target
(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)))))