
(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 39 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 (- (* x y) (* z t)))
(t_2 (* b t_1))
(t_3 (- (* i y5) (* b y4)))
(t_4 (- (* t y2) (* y y3)))
(t_5 (* x (- (* a b) (* c i))))
(t_6 (* y (+ (+ (* k t_3) t_5) (* y3 (- (* c y4) (* a y5))))))
(t_7 (- (* j y3) (* k y2)))
(t_8
(*
y0
(+
(+ (* y5 t_7) (* c (- (* x y2) (* z y3))))
(* b (- (* z k) (* x j))))))
(t_9 (- (* y1 y4) (* y0 y5))))
(if (<= a -1.7e+72)
(* a (+ (+ (* y1 (- (* z y3) (* x y2))) t_2) (* y5 t_4)))
(if (<= a -9.5e-28)
t_8
(if (<= a -6.5e-119)
t_6
(if (<= a -1.42e-124)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= a -1.05e-201)
(*
i
(-
(* y1 (- (* x j) (* z k)))
(+ (* c t_1) (* y5 (- (* t j) (* y k))))))
(if (<= a -3.5e-304)
t_8
(if (<= a 1.32e-179)
(* k (+ (+ (* y t_3) (* y2 t_9)) (* z (- (* b y0) (* i y1)))))
(if (<= a 1.25e-130)
t_6
(if (<= a 4.6e+38)
(*
y5
(+ (* a t_4) (+ (* i (- (* y k) (* t j))) (* y0 t_7))))
(if (<= a 2.2e+116)
(* y2 (+ (* k t_9) (* t (- (* a y5) (* c y4)))))
(if (<= a 3.35e+190)
t_8
(if (<= a 3.35e+249) (* a t_2) (* y 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 = (x * y) - (z * t);
double t_2 = b * t_1;
double t_3 = (i * y5) - (b * y4);
double t_4 = (t * y2) - (y * y3);
double t_5 = x * ((a * b) - (c * i));
double t_6 = y * (((k * t_3) + t_5) + (y3 * ((c * y4) - (a * y5))));
double t_7 = (j * y3) - (k * y2);
double t_8 = y0 * (((y5 * t_7) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
double t_9 = (y1 * y4) - (y0 * y5);
double tmp;
if (a <= -1.7e+72) {
tmp = a * (((y1 * ((z * y3) - (x * y2))) + t_2) + (y5 * t_4));
} else if (a <= -9.5e-28) {
tmp = t_8;
} else if (a <= -6.5e-119) {
tmp = t_6;
} else if (a <= -1.42e-124) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (a <= -1.05e-201) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k)))));
} else if (a <= -3.5e-304) {
tmp = t_8;
} else if (a <= 1.32e-179) {
tmp = k * (((y * t_3) + (y2 * t_9)) + (z * ((b * y0) - (i * y1))));
} else if (a <= 1.25e-130) {
tmp = t_6;
} else if (a <= 4.6e+38) {
tmp = y5 * ((a * t_4) + ((i * ((y * k) - (t * j))) + (y0 * t_7)));
} else if (a <= 2.2e+116) {
tmp = y2 * ((k * t_9) + (t * ((a * y5) - (c * y4))));
} else if (a <= 3.35e+190) {
tmp = t_8;
} else if (a <= 3.35e+249) {
tmp = a * t_2;
} else {
tmp = y * 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_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 = (x * y) - (z * t)
t_2 = b * t_1
t_3 = (i * y5) - (b * y4)
t_4 = (t * y2) - (y * y3)
t_5 = x * ((a * b) - (c * i))
t_6 = y * (((k * t_3) + t_5) + (y3 * ((c * y4) - (a * y5))))
t_7 = (j * y3) - (k * y2)
t_8 = y0 * (((y5 * t_7) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))))
t_9 = (y1 * y4) - (y0 * y5)
if (a <= (-1.7d+72)) then
tmp = a * (((y1 * ((z * y3) - (x * y2))) + t_2) + (y5 * t_4))
else if (a <= (-9.5d-28)) then
tmp = t_8
else if (a <= (-6.5d-119)) then
tmp = t_6
else if (a <= (-1.42d-124)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (a <= (-1.05d-201)) then
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k)))))
else if (a <= (-3.5d-304)) then
tmp = t_8
else if (a <= 1.32d-179) then
tmp = k * (((y * t_3) + (y2 * t_9)) + (z * ((b * y0) - (i * y1))))
else if (a <= 1.25d-130) then
tmp = t_6
else if (a <= 4.6d+38) then
tmp = y5 * ((a * t_4) + ((i * ((y * k) - (t * j))) + (y0 * t_7)))
else if (a <= 2.2d+116) then
tmp = y2 * ((k * t_9) + (t * ((a * y5) - (c * y4))))
else if (a <= 3.35d+190) then
tmp = t_8
else if (a <= 3.35d+249) then
tmp = a * t_2
else
tmp = y * 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 = (x * y) - (z * t);
double t_2 = b * t_1;
double t_3 = (i * y5) - (b * y4);
double t_4 = (t * y2) - (y * y3);
double t_5 = x * ((a * b) - (c * i));
double t_6 = y * (((k * t_3) + t_5) + (y3 * ((c * y4) - (a * y5))));
double t_7 = (j * y3) - (k * y2);
double t_8 = y0 * (((y5 * t_7) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
double t_9 = (y1 * y4) - (y0 * y5);
double tmp;
if (a <= -1.7e+72) {
tmp = a * (((y1 * ((z * y3) - (x * y2))) + t_2) + (y5 * t_4));
} else if (a <= -9.5e-28) {
tmp = t_8;
} else if (a <= -6.5e-119) {
tmp = t_6;
} else if (a <= -1.42e-124) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (a <= -1.05e-201) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k)))));
} else if (a <= -3.5e-304) {
tmp = t_8;
} else if (a <= 1.32e-179) {
tmp = k * (((y * t_3) + (y2 * t_9)) + (z * ((b * y0) - (i * y1))));
} else if (a <= 1.25e-130) {
tmp = t_6;
} else if (a <= 4.6e+38) {
tmp = y5 * ((a * t_4) + ((i * ((y * k) - (t * j))) + (y0 * t_7)));
} else if (a <= 2.2e+116) {
tmp = y2 * ((k * t_9) + (t * ((a * y5) - (c * y4))));
} else if (a <= 3.35e+190) {
tmp = t_8;
} else if (a <= 3.35e+249) {
tmp = a * t_2;
} else {
tmp = y * t_5;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) t_2 = b * t_1 t_3 = (i * y5) - (b * y4) t_4 = (t * y2) - (y * y3) t_5 = x * ((a * b) - (c * i)) t_6 = y * (((k * t_3) + t_5) + (y3 * ((c * y4) - (a * y5)))) t_7 = (j * y3) - (k * y2) t_8 = y0 * (((y5 * t_7) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))) t_9 = (y1 * y4) - (y0 * y5) tmp = 0 if a <= -1.7e+72: tmp = a * (((y1 * ((z * y3) - (x * y2))) + t_2) + (y5 * t_4)) elif a <= -9.5e-28: tmp = t_8 elif a <= -6.5e-119: tmp = t_6 elif a <= -1.42e-124: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif a <= -1.05e-201: tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k))))) elif a <= -3.5e-304: tmp = t_8 elif a <= 1.32e-179: tmp = k * (((y * t_3) + (y2 * t_9)) + (z * ((b * y0) - (i * y1)))) elif a <= 1.25e-130: tmp = t_6 elif a <= 4.6e+38: tmp = y5 * ((a * t_4) + ((i * ((y * k) - (t * j))) + (y0 * t_7))) elif a <= 2.2e+116: tmp = y2 * ((k * t_9) + (t * ((a * y5) - (c * y4)))) elif a <= 3.35e+190: tmp = t_8 elif a <= 3.35e+249: tmp = a * t_2 else: tmp = y * 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(x * y) - Float64(z * t)) t_2 = Float64(b * t_1) t_3 = Float64(Float64(i * y5) - Float64(b * y4)) t_4 = Float64(Float64(t * y2) - Float64(y * y3)) t_5 = Float64(x * Float64(Float64(a * b) - Float64(c * i))) t_6 = Float64(y * Float64(Float64(Float64(k * t_3) + t_5) + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))) t_7 = Float64(Float64(j * y3) - Float64(k * y2)) t_8 = Float64(y0 * Float64(Float64(Float64(y5 * t_7) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))) t_9 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) tmp = 0.0 if (a <= -1.7e+72) tmp = Float64(a * Float64(Float64(Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))) + t_2) + Float64(y5 * t_4))); elseif (a <= -9.5e-28) tmp = t_8; elseif (a <= -6.5e-119) tmp = t_6; elseif (a <= -1.42e-124) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (a <= -1.05e-201) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(c * t_1) + Float64(y5 * Float64(Float64(t * j) - Float64(y * k)))))); elseif (a <= -3.5e-304) tmp = t_8; elseif (a <= 1.32e-179) tmp = Float64(k * Float64(Float64(Float64(y * t_3) + Float64(y2 * t_9)) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (a <= 1.25e-130) tmp = t_6; elseif (a <= 4.6e+38) tmp = Float64(y5 * Float64(Float64(a * t_4) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * t_7)))); elseif (a <= 2.2e+116) tmp = Float64(y2 * Float64(Float64(k * t_9) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (a <= 3.35e+190) tmp = t_8; elseif (a <= 3.35e+249) tmp = Float64(a * t_2); else tmp = Float64(y * 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 = (x * y) - (z * t); t_2 = b * t_1; t_3 = (i * y5) - (b * y4); t_4 = (t * y2) - (y * y3); t_5 = x * ((a * b) - (c * i)); t_6 = y * (((k * t_3) + t_5) + (y3 * ((c * y4) - (a * y5)))); t_7 = (j * y3) - (k * y2); t_8 = y0 * (((y5 * t_7) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))); t_9 = (y1 * y4) - (y0 * y5); tmp = 0.0; if (a <= -1.7e+72) tmp = a * (((y1 * ((z * y3) - (x * y2))) + t_2) + (y5 * t_4)); elseif (a <= -9.5e-28) tmp = t_8; elseif (a <= -6.5e-119) tmp = t_6; elseif (a <= -1.42e-124) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (a <= -1.05e-201) tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k))))); elseif (a <= -3.5e-304) tmp = t_8; elseif (a <= 1.32e-179) tmp = k * (((y * t_3) + (y2 * t_9)) + (z * ((b * y0) - (i * y1)))); elseif (a <= 1.25e-130) tmp = t_6; elseif (a <= 4.6e+38) tmp = y5 * ((a * t_4) + ((i * ((y * k) - (t * j))) + (y0 * t_7))); elseif (a <= 2.2e+116) tmp = y2 * ((k * t_9) + (t * ((a * y5) - (c * y4)))); elseif (a <= 3.35e+190) tmp = t_8; elseif (a <= 3.35e+249) tmp = a * t_2; else tmp = y * 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[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y * N[(N[(N[(k * t$95$3), $MachinePrecision] + t$95$5), $MachinePrecision] + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(y0 * N[(N[(N[(y5 * t$95$7), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.7e+72], N[(a * N[(N[(N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision] + N[(y5 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -9.5e-28], t$95$8, If[LessEqual[a, -6.5e-119], t$95$6, If[LessEqual[a, -1.42e-124], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.05e-201], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(c * t$95$1), $MachinePrecision] + N[(y5 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.5e-304], t$95$8, If[LessEqual[a, 1.32e-179], N[(k * N[(N[(N[(y * t$95$3), $MachinePrecision] + N[(y2 * t$95$9), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.25e-130], t$95$6, If[LessEqual[a, 4.6e+38], N[(y5 * N[(N[(a * t$95$4), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.2e+116], N[(y2 * N[(N[(k * t$95$9), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.35e+190], t$95$8, If[LessEqual[a, 3.35e+249], N[(a * t$95$2), $MachinePrecision], N[(y * t$95$5), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
t_2 := b \cdot t_1\\
t_3 := i \cdot y5 - b \cdot y4\\
t_4 := t \cdot y2 - y \cdot y3\\
t_5 := x \cdot \left(a \cdot b - c \cdot i\right)\\
t_6 := y \cdot \left(\left(k \cdot t_3 + t_5\right) + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
t_7 := j \cdot y3 - k \cdot y2\\
t_8 := y0 \cdot \left(\left(y5 \cdot t_7 + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
t_9 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;a \leq -1.7 \cdot 10^{+72}:\\
\;\;\;\;a \cdot \left(\left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right) + t_2\right) + y5 \cdot t_4\right)\\
\mathbf{elif}\;a \leq -9.5 \cdot 10^{-28}:\\
\;\;\;\;t_8\\
\mathbf{elif}\;a \leq -6.5 \cdot 10^{-119}:\\
\;\;\;\;t_6\\
\mathbf{elif}\;a \leq -1.42 \cdot 10^{-124}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;a \leq -1.05 \cdot 10^{-201}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \left(c \cdot t_1 + y5 \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\
\mathbf{elif}\;a \leq -3.5 \cdot 10^{-304}:\\
\;\;\;\;t_8\\
\mathbf{elif}\;a \leq 1.32 \cdot 10^{-179}:\\
\;\;\;\;k \cdot \left(\left(y \cdot t_3 + y2 \cdot t_9\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;a \leq 1.25 \cdot 10^{-130}:\\
\;\;\;\;t_6\\
\mathbf{elif}\;a \leq 4.6 \cdot 10^{+38}:\\
\;\;\;\;y5 \cdot \left(a \cdot t_4 + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot t_7\right)\right)\\
\mathbf{elif}\;a \leq 2.2 \cdot 10^{+116}:\\
\;\;\;\;y2 \cdot \left(k \cdot t_9 + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 3.35 \cdot 10^{+190}:\\
\;\;\;\;t_8\\
\mathbf{elif}\;a \leq 3.35 \cdot 10^{+249}:\\
\;\;\;\;a \cdot t_2\\
\mathbf{else}:\\
\;\;\;\;y \cdot t_5\\
\end{array}
\end{array}
if a < -1.6999999999999999e72Initial program 38.6%
Taylor expanded in a around inf 66.5%
if -1.6999999999999999e72 < a < -9.50000000000000001e-28 or -1.05000000000000006e-201 < a < -3.5e-304 or 2.2e116 < a < 3.35e190Initial program 28.8%
Taylor expanded in y0 around inf 63.6%
if -9.50000000000000001e-28 < a < -6.5e-119 or 1.31999999999999999e-179 < a < 1.2499999999999999e-130Initial program 50.8%
Taylor expanded in y around inf 81.0%
if -6.5e-119 < a < -1.42000000000000004e-124Initial program 66.7%
Taylor expanded in j around inf 100.0%
Taylor expanded in y0 around inf 100.0%
if -1.42000000000000004e-124 < a < -1.05000000000000006e-201Initial program 33.8%
Taylor expanded in i around -inf 75.4%
if -3.5e-304 < a < 1.31999999999999999e-179Initial program 37.8%
Taylor expanded in k around inf 62.1%
if 1.2499999999999999e-130 < a < 4.6000000000000002e38Initial program 34.3%
Taylor expanded in y5 around -inf 54.3%
if 4.6000000000000002e38 < a < 2.2e116Initial program 26.3%
Taylor expanded in y around inf 21.4%
Taylor expanded in y2 around inf 63.6%
*-commutative63.6%
*-commutative63.6%
Simplified63.6%
if 3.35e190 < a < 3.35000000000000013e249Initial program 18.2%
Taylor expanded in b around inf 36.5%
Taylor expanded in a around inf 55.1%
if 3.35000000000000013e249 < a Initial program 11.1%
Taylor expanded in y around inf 33.7%
Taylor expanded in x around inf 66.8%
Final simplification65.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y1 y4) (* y0 y5)))
(t_2
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* z k) (* x j))))
(* (- (* c y0) (* a y1)) (- (* x y2) (* z y3))))
(* (- (* b y4) (* i y5)) (- (* t j) (* y k))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* (- (* k y2) (* j y3)) t_1))))
(if (<= t_2 INFINITY)
t_2
(* k (+ (* y (- (* i y5) (* b y4))) (* y2 t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * t_1);
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * t_1);
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y1 * y4) - (y0 * y5) t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * t_1) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_2 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(z * k) - Float64(x * j)))) + Float64(Float64(Float64(c * y0) - Float64(a * y1)) * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * Float64(Float64(t * j) - Float64(y * k)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_1)) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_1))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y1 * y4) - (y0 * y5); t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((b * y0) - (i * y1)) * ((z * k) - (x * j)))) + (((c * y0) - (a * y1)) * ((x * y2) - (z * y3)))) + (((b * y4) - (i * y5)) * ((t * j) - (y * k)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (((k * y2) - (j * y3)) * t_1); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, Infinity], t$95$2, N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \cdot y5\\
t_2 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) + \left(b \cdot y0 - i \cdot y1\right) \cdot \left(z \cdot k - x \cdot j\right)\right) + \left(c \cdot y0 - a \cdot y1\right) \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(t \cdot j - y \cdot k\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot t_1\\
\mathbf{if}\;t_2 \leq \infty:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_1\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 93.3%
if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) Initial program 0.0%
Taylor expanded in y around inf 23.7%
Taylor expanded in k around inf 39.8%
Final simplification59.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y) (* z t)))
(t_2 (- (* c y0) (* a y1)))
(t_3 (* a (* b t_1)))
(t_4 (- (* y1 y4) (* y0 y5)))
(t_5 (- (* t j) (* y k)))
(t_6 (* i (- (* y1 (- (* x j) (* z k))) (+ (* c t_1) (* y5 t_5)))))
(t_7 (- (* z k) (* x j)))
(t_8 (- (* a b) (* c i)))
(t_9
(*
y0
(+
(+ (* y5 (- (* j y3) (* k y2))) (* c (- (* x y2) (* z y3))))
(* b t_7))))
(t_10 (- (* c y4) (* a y5))))
(if (<= b -4.8e+135)
t_3
(if (<= b -2.8e+92)
(*
y4
(+
(+ (* b t_5) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= b -1.4e-65)
t_9
(if (<= b 8.5e-303)
(* k (+ (* y (- (* i y5) (* b y4))) (* y2 t_4)))
(if (<= b 4.4e-219)
(* y2 (+ (+ (* k t_4) (* x t_2)) (* t (- (* a y5) (* c y4)))))
(if (<= b 1.9e-163)
t_6
(if (<= b 1.45e-96)
(* y (+ (* x t_8) (* y3 t_10)))
(if (<= b 1.56e-27)
t_6
(if (<= b 5500000000.0)
(*
y3
(+ (* y t_10) (- (* z (- (* a y1) (* c y0))) (* j t_4))))
(if (<= b 8.5e+25)
(*
x
(+
(+ (* y t_8) (* y2 t_2))
(* j (- (* i y1) (* b y0)))))
(if (<= b 1.65e+94)
t_9
(if (<= b 3.6e+164)
t_3
(if (<= b 3.3e+180)
(* j (* y0 (- (* y3 y5) (* x b))))
(*
b
(+
(+ (* a t_1) (* y4 t_5))
(* y0 t_7))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double t_2 = (c * y0) - (a * y1);
double t_3 = a * (b * t_1);
double t_4 = (y1 * y4) - (y0 * y5);
double t_5 = (t * j) - (y * k);
double t_6 = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * t_5)));
double t_7 = (z * k) - (x * j);
double t_8 = (a * b) - (c * i);
double t_9 = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_7));
double t_10 = (c * y4) - (a * y5);
double tmp;
if (b <= -4.8e+135) {
tmp = t_3;
} else if (b <= -2.8e+92) {
tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (b <= -1.4e-65) {
tmp = t_9;
} else if (b <= 8.5e-303) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_4));
} else if (b <= 4.4e-219) {
tmp = y2 * (((k * t_4) + (x * t_2)) + (t * ((a * y5) - (c * y4))));
} else if (b <= 1.9e-163) {
tmp = t_6;
} else if (b <= 1.45e-96) {
tmp = y * ((x * t_8) + (y3 * t_10));
} else if (b <= 1.56e-27) {
tmp = t_6;
} else if (b <= 5500000000.0) {
tmp = y3 * ((y * t_10) + ((z * ((a * y1) - (c * y0))) - (j * t_4)));
} else if (b <= 8.5e+25) {
tmp = x * (((y * t_8) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))));
} else if (b <= 1.65e+94) {
tmp = t_9;
} else if (b <= 3.6e+164) {
tmp = t_3;
} else if (b <= 3.3e+180) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = b * (((a * t_1) + (y4 * t_5)) + (y0 * t_7));
}
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 = (x * y) - (z * t)
t_2 = (c * y0) - (a * y1)
t_3 = a * (b * t_1)
t_4 = (y1 * y4) - (y0 * y5)
t_5 = (t * j) - (y * k)
t_6 = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * t_5)))
t_7 = (z * k) - (x * j)
t_8 = (a * b) - (c * i)
t_9 = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_7))
t_10 = (c * y4) - (a * y5)
if (b <= (-4.8d+135)) then
tmp = t_3
else if (b <= (-2.8d+92)) then
tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (b <= (-1.4d-65)) then
tmp = t_9
else if (b <= 8.5d-303) then
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_4))
else if (b <= 4.4d-219) then
tmp = y2 * (((k * t_4) + (x * t_2)) + (t * ((a * y5) - (c * y4))))
else if (b <= 1.9d-163) then
tmp = t_6
else if (b <= 1.45d-96) then
tmp = y * ((x * t_8) + (y3 * t_10))
else if (b <= 1.56d-27) then
tmp = t_6
else if (b <= 5500000000.0d0) then
tmp = y3 * ((y * t_10) + ((z * ((a * y1) - (c * y0))) - (j * t_4)))
else if (b <= 8.5d+25) then
tmp = x * (((y * t_8) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))))
else if (b <= 1.65d+94) then
tmp = t_9
else if (b <= 3.6d+164) then
tmp = t_3
else if (b <= 3.3d+180) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else
tmp = b * (((a * t_1) + (y4 * t_5)) + (y0 * t_7))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double t_2 = (c * y0) - (a * y1);
double t_3 = a * (b * t_1);
double t_4 = (y1 * y4) - (y0 * y5);
double t_5 = (t * j) - (y * k);
double t_6 = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * t_5)));
double t_7 = (z * k) - (x * j);
double t_8 = (a * b) - (c * i);
double t_9 = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_7));
double t_10 = (c * y4) - (a * y5);
double tmp;
if (b <= -4.8e+135) {
tmp = t_3;
} else if (b <= -2.8e+92) {
tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (b <= -1.4e-65) {
tmp = t_9;
} else if (b <= 8.5e-303) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_4));
} else if (b <= 4.4e-219) {
tmp = y2 * (((k * t_4) + (x * t_2)) + (t * ((a * y5) - (c * y4))));
} else if (b <= 1.9e-163) {
tmp = t_6;
} else if (b <= 1.45e-96) {
tmp = y * ((x * t_8) + (y3 * t_10));
} else if (b <= 1.56e-27) {
tmp = t_6;
} else if (b <= 5500000000.0) {
tmp = y3 * ((y * t_10) + ((z * ((a * y1) - (c * y0))) - (j * t_4)));
} else if (b <= 8.5e+25) {
tmp = x * (((y * t_8) + (y2 * t_2)) + (j * ((i * y1) - (b * y0))));
} else if (b <= 1.65e+94) {
tmp = t_9;
} else if (b <= 3.6e+164) {
tmp = t_3;
} else if (b <= 3.3e+180) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else {
tmp = b * (((a * t_1) + (y4 * t_5)) + (y0 * t_7));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) t_2 = (c * y0) - (a * y1) t_3 = a * (b * t_1) t_4 = (y1 * y4) - (y0 * y5) t_5 = (t * j) - (y * k) t_6 = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * t_5))) t_7 = (z * k) - (x * j) t_8 = (a * b) - (c * i) t_9 = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_7)) t_10 = (c * y4) - (a * y5) tmp = 0 if b <= -4.8e+135: tmp = t_3 elif b <= -2.8e+92: tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif b <= -1.4e-65: tmp = t_9 elif b <= 8.5e-303: tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_4)) elif b <= 4.4e-219: tmp = y2 * (((k * t_4) + (x * t_2)) + (t * ((a * y5) - (c * y4)))) elif b <= 1.9e-163: tmp = t_6 elif b <= 1.45e-96: tmp = y * ((x * t_8) + (y3 * t_10)) elif b <= 1.56e-27: tmp = t_6 elif b <= 5500000000.0: tmp = y3 * ((y * t_10) + ((z * ((a * y1) - (c * y0))) - (j * t_4))) elif b <= 8.5e+25: tmp = x * (((y * t_8) + (y2 * t_2)) + (j * ((i * y1) - (b * y0)))) elif b <= 1.65e+94: tmp = t_9 elif b <= 3.6e+164: tmp = t_3 elif b <= 3.3e+180: tmp = j * (y0 * ((y3 * y5) - (x * b))) else: tmp = b * (((a * t_1) + (y4 * t_5)) + (y0 * t_7)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) - Float64(z * t)) t_2 = Float64(Float64(c * y0) - Float64(a * y1)) t_3 = Float64(a * Float64(b * t_1)) t_4 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_5 = Float64(Float64(t * j) - Float64(y * k)) t_6 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(c * t_1) + Float64(y5 * t_5)))) t_7 = Float64(Float64(z * k) - Float64(x * j)) t_8 = Float64(Float64(a * b) - Float64(c * i)) t_9 = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * t_7))) t_10 = Float64(Float64(c * y4) - Float64(a * y5)) tmp = 0.0 if (b <= -4.8e+135) tmp = t_3; elseif (b <= -2.8e+92) tmp = Float64(y4 * Float64(Float64(Float64(b * t_5) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (b <= -1.4e-65) tmp = t_9; elseif (b <= 8.5e-303) tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_4))); elseif (b <= 4.4e-219) tmp = Float64(y2 * Float64(Float64(Float64(k * t_4) + Float64(x * t_2)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (b <= 1.9e-163) tmp = t_6; elseif (b <= 1.45e-96) tmp = Float64(y * Float64(Float64(x * t_8) + Float64(y3 * t_10))); elseif (b <= 1.56e-27) tmp = t_6; elseif (b <= 5500000000.0) tmp = Float64(y3 * Float64(Float64(y * t_10) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(j * t_4)))); elseif (b <= 8.5e+25) tmp = Float64(x * Float64(Float64(Float64(y * t_8) + Float64(y2 * t_2)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (b <= 1.65e+94) tmp = t_9; elseif (b <= 3.6e+164) tmp = t_3; elseif (b <= 3.3e+180) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); else tmp = Float64(b * Float64(Float64(Float64(a * t_1) + Float64(y4 * t_5)) + Float64(y0 * t_7))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * y) - (z * t); t_2 = (c * y0) - (a * y1); t_3 = a * (b * t_1); t_4 = (y1 * y4) - (y0 * y5); t_5 = (t * j) - (y * k); t_6 = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * t_5))); t_7 = (z * k) - (x * j); t_8 = (a * b) - (c * i); t_9 = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * t_7)); t_10 = (c * y4) - (a * y5); tmp = 0.0; if (b <= -4.8e+135) tmp = t_3; elseif (b <= -2.8e+92) tmp = y4 * (((b * t_5) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (b <= -1.4e-65) tmp = t_9; elseif (b <= 8.5e-303) tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_4)); elseif (b <= 4.4e-219) tmp = y2 * (((k * t_4) + (x * t_2)) + (t * ((a * y5) - (c * y4)))); elseif (b <= 1.9e-163) tmp = t_6; elseif (b <= 1.45e-96) tmp = y * ((x * t_8) + (y3 * t_10)); elseif (b <= 1.56e-27) tmp = t_6; elseif (b <= 5500000000.0) tmp = y3 * ((y * t_10) + ((z * ((a * y1) - (c * y0))) - (j * t_4))); elseif (b <= 8.5e+25) tmp = x * (((y * t_8) + (y2 * t_2)) + (j * ((i * y1) - (b * y0)))); elseif (b <= 1.65e+94) tmp = t_9; elseif (b <= 3.6e+164) tmp = t_3; elseif (b <= 3.3e+180) tmp = j * (y0 * ((y3 * y5) - (x * b))); else tmp = b * (((a * t_1) + (y4 * t_5)) + (y0 * t_7)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(c * t$95$1), $MachinePrecision] + N[(y5 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -4.8e+135], t$95$3, If[LessEqual[b, -2.8e+92], N[(y4 * N[(N[(N[(b * t$95$5), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.4e-65], t$95$9, If[LessEqual[b, 8.5e-303], N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 4.4e-219], N[(y2 * N[(N[(N[(k * t$95$4), $MachinePrecision] + N[(x * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.9e-163], t$95$6, If[LessEqual[b, 1.45e-96], N[(y * N[(N[(x * t$95$8), $MachinePrecision] + N[(y3 * t$95$10), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.56e-27], t$95$6, If[LessEqual[b, 5500000000.0], N[(y3 * N[(N[(y * t$95$10), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 8.5e+25], N[(x * N[(N[(N[(y * t$95$8), $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[b, 1.65e+94], t$95$9, If[LessEqual[b, 3.6e+164], t$95$3, If[LessEqual[b, 3.3e+180], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(N[(N[(a * t$95$1), $MachinePrecision] + N[(y4 * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
t_2 := c \cdot y0 - a \cdot y1\\
t_3 := a \cdot \left(b \cdot t_1\right)\\
t_4 := y1 \cdot y4 - y0 \cdot y5\\
t_5 := t \cdot j - y \cdot k\\
t_6 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \left(c \cdot t_1 + y5 \cdot t_5\right)\right)\\
t_7 := z \cdot k - x \cdot j\\
t_8 := a \cdot b - c \cdot i\\
t_9 := y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot t_7\right)\\
t_10 := c \cdot y4 - a \cdot y5\\
\mathbf{if}\;b \leq -4.8 \cdot 10^{+135}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;b \leq -2.8 \cdot 10^{+92}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_5 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;b \leq -1.4 \cdot 10^{-65}:\\
\;\;\;\;t_9\\
\mathbf{elif}\;b \leq 8.5 \cdot 10^{-303}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_4\right)\\
\mathbf{elif}\;b \leq 4.4 \cdot 10^{-219}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot t_4 + x \cdot t_2\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;b \leq 1.9 \cdot 10^{-163}:\\
\;\;\;\;t_6\\
\mathbf{elif}\;b \leq 1.45 \cdot 10^{-96}:\\
\;\;\;\;y \cdot \left(x \cdot t_8 + y3 \cdot t_10\right)\\
\mathbf{elif}\;b \leq 1.56 \cdot 10^{-27}:\\
\;\;\;\;t_6\\
\mathbf{elif}\;b \leq 5500000000:\\
\;\;\;\;y3 \cdot \left(y \cdot t_10 + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) - j \cdot t_4\right)\right)\\
\mathbf{elif}\;b \leq 8.5 \cdot 10^{+25}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t_8 + y2 \cdot t_2\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;b \leq 1.65 \cdot 10^{+94}:\\
\;\;\;\;t_9\\
\mathbf{elif}\;b \leq 3.6 \cdot 10^{+164}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;b \leq 3.3 \cdot 10^{+180}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(\left(a \cdot t_1 + y4 \cdot t_5\right) + y0 \cdot t_7\right)\\
\end{array}
\end{array}
if b < -4.79999999999999995e135 or 1.65e94 < b < 3.5999999999999999e164Initial program 23.6%
Taylor expanded in b around inf 45.2%
Taylor expanded in a around inf 63.9%
if -4.79999999999999995e135 < b < -2.80000000000000001e92Initial program 31.7%
Taylor expanded in y4 around inf 71.0%
if -2.80000000000000001e92 < b < -1.4e-65 or 8.5000000000000007e25 < b < 1.65e94Initial program 52.1%
Taylor expanded in y0 around inf 59.2%
if -1.4e-65 < b < 8.5e-303Initial program 34.7%
Taylor expanded in y around inf 48.4%
Taylor expanded in k around inf 54.8%
if 8.5e-303 < b < 4.3999999999999999e-219Initial program 42.0%
Taylor expanded in y2 around inf 70.7%
if 4.3999999999999999e-219 < b < 1.9e-163 or 1.44999999999999997e-96 < b < 1.56e-27Initial program 29.4%
Taylor expanded in i around -inf 65.2%
if 1.9e-163 < b < 1.44999999999999997e-96Initial program 47.2%
Taylor expanded in y around inf 82.0%
Taylor expanded in k around 0 73.6%
if 1.56e-27 < b < 5.5e9Initial program 36.2%
Taylor expanded in y3 around -inf 73.3%
if 5.5e9 < b < 8.5000000000000007e25Initial program 27.0%
Taylor expanded in x around inf 75.4%
if 3.5999999999999999e164 < b < 3.29999999999999989e180Initial program 14.3%
Taylor expanded in j around inf 42.9%
Taylor expanded in y0 around inf 72.2%
if 3.29999999999999989e180 < b Initial program 20.8%
Taylor expanded in b around inf 83.3%
Final simplification65.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y1 y4) (* y0 y5)))
(t_2 (- (* i y5) (* b y4)))
(t_3 (- (* a b) (* c i)))
(t_4
(*
x
(+
(+ (* y t_3) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0))))))
(t_5 (+ (* y t_2) (* y2 t_1)))
(t_6 (- (* c y4) (* a y5)))
(t_7 (* y (+ (+ (* k t_2) (* x t_3)) (* y3 t_6))))
(t_8 (* y3 (+ (* y t_6) (- (* z (- (* a y1) (* c y0))) (* j t_1))))))
(if (<= x -3.2e+141)
t_4
(if (<= x -7e+103)
(* i (* t (- (* z c) (* j y5))))
(if (<= x -1.8e+59)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= x -3.2e-14)
t_7
(if (<= x -5.2e-134)
(* y2 (+ (* k t_1) (* t (- (* a y5) (* c y4)))))
(if (<= x -3.4e-192)
t_8
(if (<= x -6.5e-269)
(* k t_5)
(if (<= x 3.3e-229)
t_8
(if (<= x 6.5e-173)
t_7
(if (<= x 13800.0)
(*
y1
(+
(+
(* a (- (* z y3) (* x y2)))
(* y4 (- (* k y2) (* j y3))))
(* i (- (* x j) (* z k)))))
(if (<= x 6e+168)
(* k (+ t_5 (* z (- (* b y0) (* i y1)))))
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 = (y1 * y4) - (y0 * y5);
double t_2 = (i * y5) - (b * y4);
double t_3 = (a * b) - (c * i);
double t_4 = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double t_5 = (y * t_2) + (y2 * t_1);
double t_6 = (c * y4) - (a * y5);
double t_7 = y * (((k * t_2) + (x * t_3)) + (y3 * t_6));
double t_8 = y3 * ((y * t_6) + ((z * ((a * y1) - (c * y0))) - (j * t_1)));
double tmp;
if (x <= -3.2e+141) {
tmp = t_4;
} else if (x <= -7e+103) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (x <= -1.8e+59) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (x <= -3.2e-14) {
tmp = t_7;
} else if (x <= -5.2e-134) {
tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4))));
} else if (x <= -3.4e-192) {
tmp = t_8;
} else if (x <= -6.5e-269) {
tmp = k * t_5;
} else if (x <= 3.3e-229) {
tmp = t_8;
} else if (x <= 6.5e-173) {
tmp = t_7;
} else if (x <= 13800.0) {
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k))));
} else if (x <= 6e+168) {
tmp = k * (t_5 + (z * ((b * y0) - (i * y1))));
} else {
tmp = t_4;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: t_8
real(8) :: tmp
t_1 = (y1 * y4) - (y0 * y5)
t_2 = (i * y5) - (b * y4)
t_3 = (a * b) - (c * i)
t_4 = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
t_5 = (y * t_2) + (y2 * t_1)
t_6 = (c * y4) - (a * y5)
t_7 = y * (((k * t_2) + (x * t_3)) + (y3 * t_6))
t_8 = y3 * ((y * t_6) + ((z * ((a * y1) - (c * y0))) - (j * t_1)))
if (x <= (-3.2d+141)) then
tmp = t_4
else if (x <= (-7d+103)) then
tmp = i * (t * ((z * c) - (j * y5)))
else if (x <= (-1.8d+59)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (x <= (-3.2d-14)) then
tmp = t_7
else if (x <= (-5.2d-134)) then
tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4))))
else if (x <= (-3.4d-192)) then
tmp = t_8
else if (x <= (-6.5d-269)) then
tmp = k * t_5
else if (x <= 3.3d-229) then
tmp = t_8
else if (x <= 6.5d-173) then
tmp = t_7
else if (x <= 13800.0d0) then
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k))))
else if (x <= 6d+168) then
tmp = k * (t_5 + (z * ((b * y0) - (i * y1))))
else
tmp = t_4
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double t_2 = (i * y5) - (b * y4);
double t_3 = (a * b) - (c * i);
double t_4 = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double t_5 = (y * t_2) + (y2 * t_1);
double t_6 = (c * y4) - (a * y5);
double t_7 = y * (((k * t_2) + (x * t_3)) + (y3 * t_6));
double t_8 = y3 * ((y * t_6) + ((z * ((a * y1) - (c * y0))) - (j * t_1)));
double tmp;
if (x <= -3.2e+141) {
tmp = t_4;
} else if (x <= -7e+103) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (x <= -1.8e+59) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (x <= -3.2e-14) {
tmp = t_7;
} else if (x <= -5.2e-134) {
tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4))));
} else if (x <= -3.4e-192) {
tmp = t_8;
} else if (x <= -6.5e-269) {
tmp = k * t_5;
} else if (x <= 3.3e-229) {
tmp = t_8;
} else if (x <= 6.5e-173) {
tmp = t_7;
} else if (x <= 13800.0) {
tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k))));
} else if (x <= 6e+168) {
tmp = k * (t_5 + (z * ((b * y0) - (i * y1))));
} else {
tmp = t_4;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y1 * y4) - (y0 * y5) t_2 = (i * y5) - (b * y4) t_3 = (a * b) - (c * i) t_4 = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) t_5 = (y * t_2) + (y2 * t_1) t_6 = (c * y4) - (a * y5) t_7 = y * (((k * t_2) + (x * t_3)) + (y3 * t_6)) t_8 = y3 * ((y * t_6) + ((z * ((a * y1) - (c * y0))) - (j * t_1))) tmp = 0 if x <= -3.2e+141: tmp = t_4 elif x <= -7e+103: tmp = i * (t * ((z * c) - (j * y5))) elif x <= -1.8e+59: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif x <= -3.2e-14: tmp = t_7 elif x <= -5.2e-134: tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4)))) elif x <= -3.4e-192: tmp = t_8 elif x <= -6.5e-269: tmp = k * t_5 elif x <= 3.3e-229: tmp = t_8 elif x <= 6.5e-173: tmp = t_7 elif x <= 13800.0: tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k)))) elif x <= 6e+168: tmp = k * (t_5 + (z * ((b * y0) - (i * y1)))) else: tmp = t_4 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_2 = Float64(Float64(i * y5) - Float64(b * y4)) t_3 = Float64(Float64(a * b) - Float64(c * i)) t_4 = Float64(x * Float64(Float64(Float64(y * t_3) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))) t_5 = Float64(Float64(y * t_2) + Float64(y2 * t_1)) t_6 = Float64(Float64(c * y4) - Float64(a * y5)) t_7 = Float64(y * Float64(Float64(Float64(k * t_2) + Float64(x * t_3)) + Float64(y3 * t_6))) t_8 = Float64(y3 * Float64(Float64(y * t_6) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(j * t_1)))) tmp = 0.0 if (x <= -3.2e+141) tmp = t_4; elseif (x <= -7e+103) tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); elseif (x <= -1.8e+59) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (x <= -3.2e-14) tmp = t_7; elseif (x <= -5.2e-134) tmp = Float64(y2 * Float64(Float64(k * t_1) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (x <= -3.4e-192) tmp = t_8; elseif (x <= -6.5e-269) tmp = Float64(k * t_5); elseif (x <= 3.3e-229) tmp = t_8; elseif (x <= 6.5e-173) tmp = t_7; elseif (x <= 13800.0) tmp = Float64(y1 * Float64(Float64(Float64(a * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(i * Float64(Float64(x * j) - Float64(z * k))))); elseif (x <= 6e+168) tmp = Float64(k * Float64(t_5 + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); else tmp = t_4; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y1 * y4) - (y0 * y5); t_2 = (i * y5) - (b * y4); t_3 = (a * b) - (c * i); t_4 = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); t_5 = (y * t_2) + (y2 * t_1); t_6 = (c * y4) - (a * y5); t_7 = y * (((k * t_2) + (x * t_3)) + (y3 * t_6)); t_8 = y3 * ((y * t_6) + ((z * ((a * y1) - (c * y0))) - (j * t_1))); tmp = 0.0; if (x <= -3.2e+141) tmp = t_4; elseif (x <= -7e+103) tmp = i * (t * ((z * c) - (j * y5))); elseif (x <= -1.8e+59) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (x <= -3.2e-14) tmp = t_7; elseif (x <= -5.2e-134) tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4)))); elseif (x <= -3.4e-192) tmp = t_8; elseif (x <= -6.5e-269) tmp = k * t_5; elseif (x <= 3.3e-229) tmp = t_8; elseif (x <= 6.5e-173) tmp = t_7; elseif (x <= 13800.0) tmp = y1 * (((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) + (i * ((x * j) - (z * k)))); elseif (x <= 6e+168) tmp = k * (t_5 + (z * ((b * y0) - (i * y1)))); else tmp = t_4; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = 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 * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y * t$95$2), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(y * N[(N[(N[(k * t$95$2), $MachinePrecision] + N[(x * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(y3 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(y3 * N[(N[(y * t$95$6), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -3.2e+141], t$95$4, If[LessEqual[x, -7e+103], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.8e+59], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3.2e-14], t$95$7, If[LessEqual[x, -5.2e-134], N[(y2 * N[(N[(k * t$95$1), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3.4e-192], t$95$8, If[LessEqual[x, -6.5e-269], N[(k * t$95$5), $MachinePrecision], If[LessEqual[x, 3.3e-229], t$95$8, If[LessEqual[x, 6.5e-173], t$95$7, If[LessEqual[x, 13800.0], N[(y1 * N[(N[(N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6e+168], N[(k * N[(t$95$5 + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$4]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \cdot y5\\
t_2 := i \cdot y5 - b \cdot y4\\
t_3 := a \cdot b - c \cdot i\\
t_4 := x \cdot \left(\left(y \cdot t_3 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
t_5 := y \cdot t_2 + y2 \cdot t_1\\
t_6 := c \cdot y4 - a \cdot y5\\
t_7 := y \cdot \left(\left(k \cdot t_2 + x \cdot t_3\right) + y3 \cdot t_6\right)\\
t_8 := y3 \cdot \left(y \cdot t_6 + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) - j \cdot t_1\right)\right)\\
\mathbf{if}\;x \leq -3.2 \cdot 10^{+141}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;x \leq -7 \cdot 10^{+103}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq -1.8 \cdot 10^{+59}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;x \leq -3.2 \cdot 10^{-14}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;x \leq -5.2 \cdot 10^{-134}:\\
\;\;\;\;y2 \cdot \left(k \cdot t_1 + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq -3.4 \cdot 10^{-192}:\\
\;\;\;\;t_8\\
\mathbf{elif}\;x \leq -6.5 \cdot 10^{-269}:\\
\;\;\;\;k \cdot t_5\\
\mathbf{elif}\;x \leq 3.3 \cdot 10^{-229}:\\
\;\;\;\;t_8\\
\mathbf{elif}\;x \leq 6.5 \cdot 10^{-173}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;x \leq 13800:\\
\;\;\;\;y1 \cdot \left(\left(a \cdot \left(z \cdot y3 - x \cdot y2\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + i \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;x \leq 6 \cdot 10^{+168}:\\
\;\;\;\;k \cdot \left(t_5 + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_4\\
\end{array}
\end{array}
if x < -3.20000000000000019e141 or 5.9999999999999996e168 < x Initial program 28.2%
Taylor expanded in x around inf 68.8%
if -3.20000000000000019e141 < x < -7e103Initial program 40.0%
Taylor expanded in i around -inf 50.0%
Taylor expanded in t around inf 70.4%
+-commutative70.4%
mul-1-neg70.4%
unsub-neg70.4%
Simplified70.4%
if -7e103 < x < -1.7999999999999999e59Initial program 0.0%
Taylor expanded in j around inf 66.7%
Taylor expanded in y0 around inf 100.0%
if -1.7999999999999999e59 < x < -3.2000000000000002e-14 or 3.30000000000000021e-229 < x < 6.4999999999999995e-173Initial program 39.3%
Taylor expanded in y around inf 78.7%
if -3.2000000000000002e-14 < x < -5.20000000000000045e-134Initial program 20.7%
Taylor expanded in y around inf 25.7%
Taylor expanded in y2 around inf 50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
if -5.20000000000000045e-134 < x < -3.40000000000000002e-192 or -6.50000000000000006e-269 < x < 3.30000000000000021e-229Initial program 47.7%
Taylor expanded in y3 around -inf 68.8%
if -3.40000000000000002e-192 < x < -6.50000000000000006e-269Initial program 27.1%
Taylor expanded in y around inf 31.7%
Taylor expanded in k around inf 58.1%
if 6.4999999999999995e-173 < x < 13800Initial program 36.5%
Taylor expanded in y1 around inf 51.6%
if 13800 < x < 5.9999999999999996e168Initial program 40.0%
Taylor expanded in k around inf 60.6%
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 (- (* x y) (* z t)))
(t_2 (- (* t y2) (* y y3)))
(t_3 (- (* y1 y4) (* y0 y5)))
(t_4 (* a (+ (+ (* y1 (- (* z y3) (* x y2))) (* b t_1)) (* y5 t_2))))
(t_5 (- (* j y3) (* k y2)))
(t_6 (* y5 (+ (* a t_2) (+ (* i (- (* y k) (* t j))) (* y0 t_5)))))
(t_7
(*
y0
(+
(+ (* y5 t_5) (* c (- (* x y2) (* z y3))))
(* b (- (* z k) (* x j)))))))
(if (<= a -2.5e+72)
t_4
(if (<= a -2.45e-39)
t_7
(if (<= a -1.25e-193)
(*
i
(-
(* y1 (- (* x j) (* z k)))
(+ (* c t_1) (* y5 (- (* t j) (* y k))))))
(if (<= a -1.05e-299)
t_7
(if (<= a 4.2e-132)
(*
k
(+
(+ (* y (- (* i y5) (* b y4))) (* y2 t_3))
(* z (- (* b y0) (* i y1)))))
(if (<= a 1.7e+23)
t_6
(if (<= a 1.8e+49)
t_4
(if (<= a 9e+97)
(* y2 (+ (* k t_3) (* t (- (* a y5) (* c y4)))))
(if (<= a 9.1e+123)
t_6
(if (<= a 8.4e+161)
t_7
(if (<= a 2.15e+260)
(* j (* x (- (* i y1) (* b y0))))
(* x (* y (- (* a b) (* c 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 = (x * y) - (z * t);
double t_2 = (t * y2) - (y * y3);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_1)) + (y5 * t_2));
double t_5 = (j * y3) - (k * y2);
double t_6 = y5 * ((a * t_2) + ((i * ((y * k) - (t * j))) + (y0 * t_5)));
double t_7 = y0 * (((y5 * t_5) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
double tmp;
if (a <= -2.5e+72) {
tmp = t_4;
} else if (a <= -2.45e-39) {
tmp = t_7;
} else if (a <= -1.25e-193) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k)))));
} else if (a <= -1.05e-299) {
tmp = t_7;
} else if (a <= 4.2e-132) {
tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_3)) + (z * ((b * y0) - (i * y1))));
} else if (a <= 1.7e+23) {
tmp = t_6;
} else if (a <= 1.8e+49) {
tmp = t_4;
} else if (a <= 9e+97) {
tmp = y2 * ((k * t_3) + (t * ((a * y5) - (c * y4))));
} else if (a <= 9.1e+123) {
tmp = t_6;
} else if (a <= 8.4e+161) {
tmp = t_7;
} else if (a <= 2.15e+260) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = x * (y * ((a * b) - (c * 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) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: t_7
real(8) :: tmp
t_1 = (x * y) - (z * t)
t_2 = (t * y2) - (y * y3)
t_3 = (y1 * y4) - (y0 * y5)
t_4 = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_1)) + (y5 * t_2))
t_5 = (j * y3) - (k * y2)
t_6 = y5 * ((a * t_2) + ((i * ((y * k) - (t * j))) + (y0 * t_5)))
t_7 = y0 * (((y5 * t_5) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))))
if (a <= (-2.5d+72)) then
tmp = t_4
else if (a <= (-2.45d-39)) then
tmp = t_7
else if (a <= (-1.25d-193)) then
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k)))))
else if (a <= (-1.05d-299)) then
tmp = t_7
else if (a <= 4.2d-132) then
tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_3)) + (z * ((b * y0) - (i * y1))))
else if (a <= 1.7d+23) then
tmp = t_6
else if (a <= 1.8d+49) then
tmp = t_4
else if (a <= 9d+97) then
tmp = y2 * ((k * t_3) + (t * ((a * y5) - (c * y4))))
else if (a <= 9.1d+123) then
tmp = t_6
else if (a <= 8.4d+161) then
tmp = t_7
else if (a <= 2.15d+260) then
tmp = j * (x * ((i * y1) - (b * y0)))
else
tmp = x * (y * ((a * b) - (c * 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 = (x * y) - (z * t);
double t_2 = (t * y2) - (y * y3);
double t_3 = (y1 * y4) - (y0 * y5);
double t_4 = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_1)) + (y5 * t_2));
double t_5 = (j * y3) - (k * y2);
double t_6 = y5 * ((a * t_2) + ((i * ((y * k) - (t * j))) + (y0 * t_5)));
double t_7 = y0 * (((y5 * t_5) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
double tmp;
if (a <= -2.5e+72) {
tmp = t_4;
} else if (a <= -2.45e-39) {
tmp = t_7;
} else if (a <= -1.25e-193) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k)))));
} else if (a <= -1.05e-299) {
tmp = t_7;
} else if (a <= 4.2e-132) {
tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_3)) + (z * ((b * y0) - (i * y1))));
} else if (a <= 1.7e+23) {
tmp = t_6;
} else if (a <= 1.8e+49) {
tmp = t_4;
} else if (a <= 9e+97) {
tmp = y2 * ((k * t_3) + (t * ((a * y5) - (c * y4))));
} else if (a <= 9.1e+123) {
tmp = t_6;
} else if (a <= 8.4e+161) {
tmp = t_7;
} else if (a <= 2.15e+260) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = x * (y * ((a * b) - (c * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) t_2 = (t * y2) - (y * y3) t_3 = (y1 * y4) - (y0 * y5) t_4 = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_1)) + (y5 * t_2)) t_5 = (j * y3) - (k * y2) t_6 = y5 * ((a * t_2) + ((i * ((y * k) - (t * j))) + (y0 * t_5))) t_7 = y0 * (((y5 * t_5) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))) tmp = 0 if a <= -2.5e+72: tmp = t_4 elif a <= -2.45e-39: tmp = t_7 elif a <= -1.25e-193: tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k))))) elif a <= -1.05e-299: tmp = t_7 elif a <= 4.2e-132: tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_3)) + (z * ((b * y0) - (i * y1)))) elif a <= 1.7e+23: tmp = t_6 elif a <= 1.8e+49: tmp = t_4 elif a <= 9e+97: tmp = y2 * ((k * t_3) + (t * ((a * y5) - (c * y4)))) elif a <= 9.1e+123: tmp = t_6 elif a <= 8.4e+161: tmp = t_7 elif a <= 2.15e+260: tmp = j * (x * ((i * y1) - (b * y0))) else: tmp = x * (y * ((a * b) - (c * i))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) - Float64(z * t)) t_2 = Float64(Float64(t * y2) - Float64(y * y3)) t_3 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_4 = Float64(a * Float64(Float64(Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(b * t_1)) + Float64(y5 * t_2))) t_5 = Float64(Float64(j * y3) - Float64(k * y2)) t_6 = Float64(y5 * Float64(Float64(a * t_2) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * t_5)))) t_7 = Float64(y0 * Float64(Float64(Float64(y5 * t_5) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))) tmp = 0.0 if (a <= -2.5e+72) tmp = t_4; elseif (a <= -2.45e-39) tmp = t_7; elseif (a <= -1.25e-193) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(c * t_1) + Float64(y5 * Float64(Float64(t * j) - Float64(y * k)))))); elseif (a <= -1.05e-299) tmp = t_7; elseif (a <= 4.2e-132) tmp = Float64(k * Float64(Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_3)) + Float64(z * Float64(Float64(b * y0) - Float64(i * y1))))); elseif (a <= 1.7e+23) tmp = t_6; elseif (a <= 1.8e+49) tmp = t_4; elseif (a <= 9e+97) tmp = Float64(y2 * Float64(Float64(k * t_3) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (a <= 9.1e+123) tmp = t_6; elseif (a <= 8.4e+161) tmp = t_7; elseif (a <= 2.15e+260) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); else tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * 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 = (x * y) - (z * t); t_2 = (t * y2) - (y * y3); t_3 = (y1 * y4) - (y0 * y5); t_4 = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_1)) + (y5 * t_2)); t_5 = (j * y3) - (k * y2); t_6 = y5 * ((a * t_2) + ((i * ((y * k) - (t * j))) + (y0 * t_5))); t_7 = y0 * (((y5 * t_5) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))); tmp = 0.0; if (a <= -2.5e+72) tmp = t_4; elseif (a <= -2.45e-39) tmp = t_7; elseif (a <= -1.25e-193) tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k))))); elseif (a <= -1.05e-299) tmp = t_7; elseif (a <= 4.2e-132) tmp = k * (((y * ((i * y5) - (b * y4))) + (y2 * t_3)) + (z * ((b * y0) - (i * y1)))); elseif (a <= 1.7e+23) tmp = t_6; elseif (a <= 1.8e+49) tmp = t_4; elseif (a <= 9e+97) tmp = y2 * ((k * t_3) + (t * ((a * y5) - (c * y4)))); elseif (a <= 9.1e+123) tmp = t_6; elseif (a <= 8.4e+161) tmp = t_7; elseif (a <= 2.15e+260) tmp = j * (x * ((i * y1) - (b * y0))); else tmp = x * (y * ((a * b) - (c * 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[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(a * N[(N[(N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y5 * N[(N[(a * t$95$2), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(y0 * N[(N[(N[(y5 * t$95$5), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.5e+72], t$95$4, If[LessEqual[a, -2.45e-39], t$95$7, If[LessEqual[a, -1.25e-193], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(c * t$95$1), $MachinePrecision] + N[(y5 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.05e-299], t$95$7, If[LessEqual[a, 4.2e-132], N[(k * N[(N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.7e+23], t$95$6, If[LessEqual[a, 1.8e+49], t$95$4, If[LessEqual[a, 9e+97], N[(y2 * N[(N[(k * t$95$3), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 9.1e+123], t$95$6, If[LessEqual[a, 8.4e+161], t$95$7, If[LessEqual[a, 2.15e+260], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
t_2 := t \cdot y2 - y \cdot y3\\
t_3 := y1 \cdot y4 - y0 \cdot y5\\
t_4 := a \cdot \left(\left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right) + b \cdot t_1\right) + y5 \cdot t_2\right)\\
t_5 := j \cdot y3 - k \cdot y2\\
t_6 := y5 \cdot \left(a \cdot t_2 + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot t_5\right)\right)\\
t_7 := y0 \cdot \left(\left(y5 \cdot t_5 + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;a \leq -2.5 \cdot 10^{+72}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;a \leq -2.45 \cdot 10^{-39}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;a \leq -1.25 \cdot 10^{-193}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \left(c \cdot t_1 + y5 \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\
\mathbf{elif}\;a \leq -1.05 \cdot 10^{-299}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;a \leq 4.2 \cdot 10^{-132}:\\
\;\;\;\;k \cdot \left(\left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_3\right) + z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{elif}\;a \leq 1.7 \cdot 10^{+23}:\\
\;\;\;\;t_6\\
\mathbf{elif}\;a \leq 1.8 \cdot 10^{+49}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;a \leq 9 \cdot 10^{+97}:\\
\;\;\;\;y2 \cdot \left(k \cdot t_3 + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 9.1 \cdot 10^{+123}:\\
\;\;\;\;t_6\\
\mathbf{elif}\;a \leq 8.4 \cdot 10^{+161}:\\
\;\;\;\;t_7\\
\mathbf{elif}\;a \leq 2.15 \cdot 10^{+260}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\end{array}
\end{array}
if a < -2.49999999999999996e72 or 1.69999999999999996e23 < a < 1.79999999999999998e49Initial program 39.8%
Taylor expanded in a around inf 64.8%
if -2.49999999999999996e72 < a < -2.44999999999999987e-39 or -1.2500000000000001e-193 < a < -1.05000000000000005e-299 or 9.0999999999999996e123 < a < 8.4e161Initial program 29.5%
Taylor expanded in y0 around inf 68.3%
if -2.44999999999999987e-39 < a < -1.2500000000000001e-193Initial program 42.8%
Taylor expanded in i around -inf 58.3%
if -1.05000000000000005e-299 < a < 4.2000000000000002e-132Initial program 44.1%
Taylor expanded in k around inf 56.6%
if 4.2000000000000002e-132 < a < 1.69999999999999996e23 or 8.99999999999999952e97 < a < 9.0999999999999996e123Initial program 26.6%
Taylor expanded in y5 around -inf 58.3%
if 1.79999999999999998e49 < a < 8.99999999999999952e97Initial program 37.5%
Taylor expanded in y around inf 37.5%
Taylor expanded in y2 around inf 100.0%
*-commutative100.0%
*-commutative100.0%
Simplified100.0%
if 8.4e161 < a < 2.15000000000000012e260Initial program 20.8%
Taylor expanded in j around inf 37.8%
Taylor expanded in x around inf 55.3%
if 2.15000000000000012e260 < a Initial program 0.0%
Taylor expanded in y around inf 40.0%
Taylor expanded in x around inf 100.0%
Final simplification63.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* i y1) (* b y0)))
(t_2 (- (* y1 y4) (* y0 y5)))
(t_3 (- (* a b) (* c i)))
(t_4 (* x t_3))
(t_5 (* x (+ (+ (* y t_3) (* y2 (- (* c y0) (* a y1)))) (* j t_1))))
(t_6 (* k (+ (* y (- (* i y5) (* b y4))) (* y2 t_2)))))
(if (<= x -1.3e+157)
(* y t_4)
(if (<= x -7.5e+100)
(* j (* x t_1))
(if (<= x -1.2e+19)
t_5
(if (<= x -1.7e-100)
(* y (+ t_4 (* y3 (- (* c y4) (* a y5)))))
(if (<= x -5.6e-156)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= x -1.7e-270)
t_6
(if (<= x 5.2e-276)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= x 2.25e+56)
(* y2 (+ (* k t_2) (* t (- (* a y5) (* c y4)))))
(if (<= x 6.4e+168) t_6 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 = (i * y1) - (b * y0);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = (a * b) - (c * i);
double t_4 = x * t_3;
double t_5 = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1));
double t_6 = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2));
double tmp;
if (x <= -1.3e+157) {
tmp = y * t_4;
} else if (x <= -7.5e+100) {
tmp = j * (x * t_1);
} else if (x <= -1.2e+19) {
tmp = t_5;
} else if (x <= -1.7e-100) {
tmp = y * (t_4 + (y3 * ((c * y4) - (a * y5))));
} else if (x <= -5.6e-156) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (x <= -1.7e-270) {
tmp = t_6;
} else if (x <= 5.2e-276) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (x <= 2.25e+56) {
tmp = y2 * ((k * t_2) + (t * ((a * y5) - (c * y4))));
} else if (x <= 6.4e+168) {
tmp = t_6;
} 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_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: t_6
real(8) :: tmp
t_1 = (i * y1) - (b * y0)
t_2 = (y1 * y4) - (y0 * y5)
t_3 = (a * b) - (c * i)
t_4 = x * t_3
t_5 = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1))
t_6 = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2))
if (x <= (-1.3d+157)) then
tmp = y * t_4
else if (x <= (-7.5d+100)) then
tmp = j * (x * t_1)
else if (x <= (-1.2d+19)) then
tmp = t_5
else if (x <= (-1.7d-100)) then
tmp = y * (t_4 + (y3 * ((c * y4) - (a * y5))))
else if (x <= (-5.6d-156)) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (x <= (-1.7d-270)) then
tmp = t_6
else if (x <= 5.2d-276) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (x <= 2.25d+56) then
tmp = y2 * ((k * t_2) + (t * ((a * y5) - (c * y4))))
else if (x <= 6.4d+168) then
tmp = t_6
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 = (i * y1) - (b * y0);
double t_2 = (y1 * y4) - (y0 * y5);
double t_3 = (a * b) - (c * i);
double t_4 = x * t_3;
double t_5 = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1));
double t_6 = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2));
double tmp;
if (x <= -1.3e+157) {
tmp = y * t_4;
} else if (x <= -7.5e+100) {
tmp = j * (x * t_1);
} else if (x <= -1.2e+19) {
tmp = t_5;
} else if (x <= -1.7e-100) {
tmp = y * (t_4 + (y3 * ((c * y4) - (a * y5))));
} else if (x <= -5.6e-156) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (x <= -1.7e-270) {
tmp = t_6;
} else if (x <= 5.2e-276) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (x <= 2.25e+56) {
tmp = y2 * ((k * t_2) + (t * ((a * y5) - (c * y4))));
} else if (x <= 6.4e+168) {
tmp = t_6;
} 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 = (i * y1) - (b * y0) t_2 = (y1 * y4) - (y0 * y5) t_3 = (a * b) - (c * i) t_4 = x * t_3 t_5 = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1)) t_6 = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2)) tmp = 0 if x <= -1.3e+157: tmp = y * t_4 elif x <= -7.5e+100: tmp = j * (x * t_1) elif x <= -1.2e+19: tmp = t_5 elif x <= -1.7e-100: tmp = y * (t_4 + (y3 * ((c * y4) - (a * y5)))) elif x <= -5.6e-156: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif x <= -1.7e-270: tmp = t_6 elif x <= 5.2e-276: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif x <= 2.25e+56: tmp = y2 * ((k * t_2) + (t * ((a * y5) - (c * y4)))) elif x <= 6.4e+168: tmp = t_6 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(i * y1) - Float64(b * y0)) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_3 = Float64(Float64(a * b) - Float64(c * i)) t_4 = Float64(x * t_3) t_5 = Float64(x * Float64(Float64(Float64(y * t_3) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * t_1))) t_6 = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_2))) tmp = 0.0 if (x <= -1.3e+157) tmp = Float64(y * t_4); elseif (x <= -7.5e+100) tmp = Float64(j * Float64(x * t_1)); elseif (x <= -1.2e+19) tmp = t_5; elseif (x <= -1.7e-100) tmp = Float64(y * Float64(t_4 + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (x <= -5.6e-156) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (x <= -1.7e-270) tmp = t_6; elseif (x <= 5.2e-276) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (x <= 2.25e+56) tmp = Float64(y2 * Float64(Float64(k * t_2) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (x <= 6.4e+168) tmp = t_6; 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 = (i * y1) - (b * y0); t_2 = (y1 * y4) - (y0 * y5); t_3 = (a * b) - (c * i); t_4 = x * t_3; t_5 = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * t_1)); t_6 = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2)); tmp = 0.0; if (x <= -1.3e+157) tmp = y * t_4; elseif (x <= -7.5e+100) tmp = j * (x * t_1); elseif (x <= -1.2e+19) tmp = t_5; elseif (x <= -1.7e-100) tmp = y * (t_4 + (y3 * ((c * y4) - (a * y5)))); elseif (x <= -5.6e-156) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (x <= -1.7e-270) tmp = t_6; elseif (x <= 5.2e-276) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (x <= 2.25e+56) tmp = y2 * ((k * t_2) + (t * ((a * y5) - (c * y4)))); elseif (x <= 6.4e+168) tmp = t_6; 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[(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[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(x * t$95$3), $MachinePrecision]}, Block[{t$95$5 = 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]}, Block[{t$95$6 = N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.3e+157], N[(y * t$95$4), $MachinePrecision], If[LessEqual[x, -7.5e+100], N[(j * N[(x * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.2e+19], t$95$5, If[LessEqual[x, -1.7e-100], N[(y * N[(t$95$4 + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.6e-156], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.7e-270], t$95$6, If[LessEqual[x, 5.2e-276], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.25e+56], N[(y2 * N[(N[(k * t$95$2), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.4e+168], t$95$6, t$95$5]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot y1 - b \cdot y0\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
t_3 := a \cdot b - c \cdot i\\
t_4 := x \cdot t_3\\
t_5 := 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_6 := k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_2\right)\\
\mathbf{if}\;x \leq -1.3 \cdot 10^{+157}:\\
\;\;\;\;y \cdot t_4\\
\mathbf{elif}\;x \leq -7.5 \cdot 10^{+100}:\\
\;\;\;\;j \cdot \left(x \cdot t_1\right)\\
\mathbf{elif}\;x \leq -1.2 \cdot 10^{+19}:\\
\;\;\;\;t_5\\
\mathbf{elif}\;x \leq -1.7 \cdot 10^{-100}:\\
\;\;\;\;y \cdot \left(t_4 + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq -5.6 \cdot 10^{-156}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq -1.7 \cdot 10^{-270}:\\
\;\;\;\;t_6\\
\mathbf{elif}\;x \leq 5.2 \cdot 10^{-276}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 2.25 \cdot 10^{+56}:\\
\;\;\;\;y2 \cdot \left(k \cdot t_2 + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 6.4 \cdot 10^{+168}:\\
\;\;\;\;t_6\\
\mathbf{else}:\\
\;\;\;\;t_5\\
\end{array}
\end{array}
if x < -1.30000000000000005e157Initial program 26.5%
Taylor expanded in y around inf 54.8%
Taylor expanded in x around inf 71.0%
if -1.30000000000000005e157 < x < -7.49999999999999983e100Initial program 38.5%
Taylor expanded in j around inf 69.2%
Taylor expanded in x around inf 69.3%
if -7.49999999999999983e100 < x < -1.2e19 or 6.4000000000000002e168 < x Initial program 29.0%
Taylor expanded in x around inf 71.4%
if -1.2e19 < x < -1.69999999999999988e-100Initial program 27.1%
Taylor expanded in y around inf 52.9%
Taylor expanded in k around 0 48.4%
if -1.69999999999999988e-100 < x < -5.6000000000000003e-156Initial program 32.2%
Taylor expanded in y0 around inf 50.0%
Taylor expanded in y5 around inf 51.3%
mul-1-neg51.3%
distribute-rgt-neg-in51.3%
*-commutative51.3%
*-commutative51.3%
*-commutative51.3%
distribute-rgt-neg-in51.3%
Simplified51.3%
if -5.6000000000000003e-156 < x < -1.7e-270 or 2.2500000000000002e56 < x < 6.4000000000000002e168Initial program 36.8%
Taylor expanded in y around inf 36.7%
Taylor expanded in k around inf 58.1%
if -1.7e-270 < x < 5.19999999999999969e-276Initial program 47.0%
Taylor expanded in y around inf 47.3%
Taylor expanded in j around inf 59.9%
mul-1-neg59.9%
*-commutative59.9%
*-commutative59.9%
distribute-rgt-neg-in59.9%
*-commutative59.9%
distribute-rgt-neg-in59.9%
*-commutative59.9%
*-commutative59.9%
Simplified59.9%
if 5.19999999999999969e-276 < x < 2.2500000000000002e56Initial program 37.6%
Taylor expanded in y around inf 44.5%
Taylor expanded in y2 around inf 47.7%
*-commutative47.7%
*-commutative47.7%
Simplified47.7%
Final simplification57.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y1 y4) (* y0 y5)))
(t_2
(*
y3
(+
(* y (- (* c y4) (* a y5)))
(- (* z (- (* a y1) (* c y0))) (* j t_1))))))
(if (<= i -2.5e+212)
t_2
(if (<= i -2.9e+128)
(* k (+ (* y (- (* i y5) (* b y4))) (* y2 t_1)))
(if (<= i -1.15e+33)
(*
i
(-
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* x y) (* z t))) (* y5 (- (* t j) (* y k))))))
(if (<= i -0.031)
(* y0 (+ (* c (- (* x y2) (* z y3))) (* b (- (* z k) (* x j)))))
(if (<= i -1.8e-269)
t_2
(if (<= i 5.9e-168)
(* y2 (+ (* k t_1) (* t (- (* a y5) (* c y4)))))
(if (<= i 0.000125)
t_2
(if (<= i 1.46e+125)
(* (* y y5) (- (* i k) (* a y3)))
(if (<= i 5e+230)
(* y1 (* y4 (- (* k y2) (* j y3))))
(* y (* i (- (* k y5) (* x c)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double t_2 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_1)));
double tmp;
if (i <= -2.5e+212) {
tmp = t_2;
} else if (i <= -2.9e+128) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1));
} else if (i <= -1.15e+33) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * ((t * j) - (y * k)))));
} else if (i <= -0.031) {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
} else if (i <= -1.8e-269) {
tmp = t_2;
} else if (i <= 5.9e-168) {
tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4))));
} else if (i <= 0.000125) {
tmp = t_2;
} else if (i <= 1.46e+125) {
tmp = (y * y5) * ((i * k) - (a * y3));
} else if (i <= 5e+230) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else {
tmp = y * (i * ((k * y5) - (x * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (y1 * y4) - (y0 * y5)
t_2 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_1)))
if (i <= (-2.5d+212)) then
tmp = t_2
else if (i <= (-2.9d+128)) then
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1))
else if (i <= (-1.15d+33)) then
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * ((t * j) - (y * k)))))
else if (i <= (-0.031d0)) then
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))))
else if (i <= (-1.8d-269)) then
tmp = t_2
else if (i <= 5.9d-168) then
tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4))))
else if (i <= 0.000125d0) then
tmp = t_2
else if (i <= 1.46d+125) then
tmp = (y * y5) * ((i * k) - (a * y3))
else if (i <= 5d+230) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else
tmp = y * (i * ((k * y5) - (x * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double t_2 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_1)));
double tmp;
if (i <= -2.5e+212) {
tmp = t_2;
} else if (i <= -2.9e+128) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1));
} else if (i <= -1.15e+33) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * ((t * j) - (y * k)))));
} else if (i <= -0.031) {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
} else if (i <= -1.8e-269) {
tmp = t_2;
} else if (i <= 5.9e-168) {
tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4))));
} else if (i <= 0.000125) {
tmp = t_2;
} else if (i <= 1.46e+125) {
tmp = (y * y5) * ((i * k) - (a * y3));
} else if (i <= 5e+230) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else {
tmp = y * (i * ((k * y5) - (x * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y1 * y4) - (y0 * y5) t_2 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_1))) tmp = 0 if i <= -2.5e+212: tmp = t_2 elif i <= -2.9e+128: tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1)) elif i <= -1.15e+33: tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * ((t * j) - (y * k))))) elif i <= -0.031: tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))) elif i <= -1.8e-269: tmp = t_2 elif i <= 5.9e-168: tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4)))) elif i <= 0.000125: tmp = t_2 elif i <= 1.46e+125: tmp = (y * y5) * ((i * k) - (a * y3)) elif i <= 5e+230: tmp = y1 * (y4 * ((k * y2) - (j * y3))) else: tmp = y * (i * ((k * y5) - (x * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) t_2 = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(Float64(z * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(j * t_1)))) tmp = 0.0 if (i <= -2.5e+212) tmp = t_2; elseif (i <= -2.9e+128) tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_1))); elseif (i <= -1.15e+33) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(c * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * Float64(Float64(t * j) - Float64(y * k)))))); elseif (i <= -0.031) tmp = Float64(y0 * Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (i <= -1.8e-269) tmp = t_2; elseif (i <= 5.9e-168) tmp = Float64(y2 * Float64(Float64(k * t_1) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (i <= 0.000125) tmp = t_2; elseif (i <= 1.46e+125) tmp = Float64(Float64(y * y5) * Float64(Float64(i * k) - Float64(a * y3))); elseif (i <= 5e+230) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); else tmp = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y1 * y4) - (y0 * y5); t_2 = y3 * ((y * ((c * y4) - (a * y5))) + ((z * ((a * y1) - (c * y0))) - (j * t_1))); tmp = 0.0; if (i <= -2.5e+212) tmp = t_2; elseif (i <= -2.9e+128) tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1)); elseif (i <= -1.15e+33) tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * ((t * j) - (y * k))))); elseif (i <= -0.031) tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))); elseif (i <= -1.8e-269) tmp = t_2; elseif (i <= 5.9e-168) tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4)))); elseif (i <= 0.000125) tmp = t_2; elseif (i <= 1.46e+125) tmp = (y * y5) * ((i * k) - (a * y3)); elseif (i <= 5e+230) tmp = y1 * (y4 * ((k * y2) - (j * y3))); else tmp = y * (i * ((k * y5) - (x * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2.5e+212], t$95$2, If[LessEqual[i, -2.9e+128], N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.15e+33], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -0.031], N[(y0 * N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.8e-269], t$95$2, If[LessEqual[i, 5.9e-168], N[(y2 * N[(N[(k * t$95$1), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 0.000125], t$95$2, If[LessEqual[i, 1.46e+125], N[(N[(y * y5), $MachinePrecision] * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 5e+230], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \cdot y5\\
t_2 := y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + \left(z \cdot \left(a \cdot y1 - c \cdot y0\right) - j \cdot t_1\right)\right)\\
\mathbf{if}\;i \leq -2.5 \cdot 10^{+212}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq -2.9 \cdot 10^{+128}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_1\right)\\
\mathbf{elif}\;i \leq -1.15 \cdot 10^{+33}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \left(c \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\
\mathbf{elif}\;i \leq -0.031:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;i \leq -1.8 \cdot 10^{-269}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq 5.9 \cdot 10^{-168}:\\
\;\;\;\;y2 \cdot \left(k \cdot t_1 + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;i \leq 0.000125:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq 1.46 \cdot 10^{+125}:\\
\;\;\;\;\left(y \cdot y5\right) \cdot \left(i \cdot k - a \cdot y3\right)\\
\mathbf{elif}\;i \leq 5 \cdot 10^{+230}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\end{array}
\end{array}
if i < -2.49999999999999996e212 or -0.031 < i < -1.79999999999999999e-269 or 5.9000000000000002e-168 < i < 1.25e-4Initial program 37.5%
Taylor expanded in y3 around -inf 57.3%
if -2.49999999999999996e212 < i < -2.9e128Initial program 21.3%
Taylor expanded in y around inf 47.2%
Taylor expanded in k around inf 63.9%
if -2.9e128 < i < -1.15000000000000005e33Initial program 50.0%
Taylor expanded in i around -inf 75.3%
if -1.15000000000000005e33 < i < -0.031Initial program 33.3%
Taylor expanded in y0 around inf 44.7%
Taylor expanded in y5 around 0 78.0%
*-commutative78.0%
*-commutative78.0%
*-commutative78.0%
*-commutative78.0%
Simplified78.0%
if -1.79999999999999999e-269 < i < 5.9000000000000002e-168Initial program 50.0%
Taylor expanded in y around inf 39.0%
Taylor expanded in y2 around inf 54.0%
*-commutative54.0%
*-commutative54.0%
Simplified54.0%
if 1.25e-4 < i < 1.45999999999999999e125Initial program 12.8%
Taylor expanded in y around inf 54.6%
Taylor expanded in y5 around inf 59.4%
associate-*r*58.7%
*-commutative58.7%
*-commutative58.7%
*-commutative58.7%
Simplified58.7%
if 1.45999999999999999e125 < i < 5.0000000000000003e230Initial program 40.0%
Taylor expanded in y around inf 50.2%
Taylor expanded in y1 around inf 50.6%
if 5.0000000000000003e230 < i Initial program 7.0%
Taylor expanded in y around inf 50.1%
Taylor expanded in i around inf 58.3%
+-commutative58.3%
mul-1-neg58.3%
unsub-neg58.3%
Simplified58.3%
Final simplification58.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y) (* z t)))
(t_2 (- (* j y3) (* k y2)))
(t_3 (- (* t y2) (* y y3)))
(t_4
(*
y0
(+
(+ (* y5 t_2) (* c (- (* x y2) (* z y3))))
(* b (- (* z k) (* x j)))))))
(if (<= a -2.5e+72)
(* a (+ (+ (* y1 (- (* z y3) (* x y2))) (* b t_1)) (* y5 t_3)))
(if (<= a -1.08e-45)
t_4
(if (<= a -7e-194)
(*
i
(-
(* y1 (- (* x j) (* z k)))
(+ (* c t_1) (* y5 (- (* t j) (* y k))))))
(if (<= a -1.7e-301)
t_4
(if (<= a 1.7e-131)
(*
k
(+ (* y (- (* i y5) (* b y4))) (* y2 (- (* y1 y4) (* y0 y5)))))
(if (<= a 5.8e+130)
(* y5 (+ (* a t_3) (+ (* i (- (* y k) (* t j))) (* y0 t_2))))
(if (<= a 6.5e+161)
t_4
(if (<= a 2.9e+228)
(* j (* x (- (* i y1) (* b y0))))
(* y (* x (- (* a b) (* c 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 = (x * y) - (z * t);
double t_2 = (j * y3) - (k * y2);
double t_3 = (t * y2) - (y * y3);
double t_4 = y0 * (((y5 * t_2) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
double tmp;
if (a <= -2.5e+72) {
tmp = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_1)) + (y5 * t_3));
} else if (a <= -1.08e-45) {
tmp = t_4;
} else if (a <= -7e-194) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k)))));
} else if (a <= -1.7e-301) {
tmp = t_4;
} else if (a <= 1.7e-131) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
} else if (a <= 5.8e+130) {
tmp = y5 * ((a * t_3) + ((i * ((y * k) - (t * j))) + (y0 * t_2)));
} else if (a <= 6.5e+161) {
tmp = t_4;
} else if (a <= 2.9e+228) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = y * (x * ((a * b) - (c * 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) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (x * y) - (z * t)
t_2 = (j * y3) - (k * y2)
t_3 = (t * y2) - (y * y3)
t_4 = y0 * (((y5 * t_2) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))))
if (a <= (-2.5d+72)) then
tmp = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_1)) + (y5 * t_3))
else if (a <= (-1.08d-45)) then
tmp = t_4
else if (a <= (-7d-194)) then
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k)))))
else if (a <= (-1.7d-301)) then
tmp = t_4
else if (a <= 1.7d-131) then
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))))
else if (a <= 5.8d+130) then
tmp = y5 * ((a * t_3) + ((i * ((y * k) - (t * j))) + (y0 * t_2)))
else if (a <= 6.5d+161) then
tmp = t_4
else if (a <= 2.9d+228) then
tmp = j * (x * ((i * y1) - (b * y0)))
else
tmp = y * (x * ((a * b) - (c * 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 = (x * y) - (z * t);
double t_2 = (j * y3) - (k * y2);
double t_3 = (t * y2) - (y * y3);
double t_4 = y0 * (((y5 * t_2) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
double tmp;
if (a <= -2.5e+72) {
tmp = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_1)) + (y5 * t_3));
} else if (a <= -1.08e-45) {
tmp = t_4;
} else if (a <= -7e-194) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k)))));
} else if (a <= -1.7e-301) {
tmp = t_4;
} else if (a <= 1.7e-131) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
} else if (a <= 5.8e+130) {
tmp = y5 * ((a * t_3) + ((i * ((y * k) - (t * j))) + (y0 * t_2)));
} else if (a <= 6.5e+161) {
tmp = t_4;
} else if (a <= 2.9e+228) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = y * (x * ((a * b) - (c * i)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) t_2 = (j * y3) - (k * y2) t_3 = (t * y2) - (y * y3) t_4 = y0 * (((y5 * t_2) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))) tmp = 0 if a <= -2.5e+72: tmp = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_1)) + (y5 * t_3)) elif a <= -1.08e-45: tmp = t_4 elif a <= -7e-194: tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k))))) elif a <= -1.7e-301: tmp = t_4 elif a <= 1.7e-131: tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) elif a <= 5.8e+130: tmp = y5 * ((a * t_3) + ((i * ((y * k) - (t * j))) + (y0 * t_2))) elif a <= 6.5e+161: tmp = t_4 elif a <= 2.9e+228: tmp = j * (x * ((i * y1) - (b * y0))) else: tmp = y * (x * ((a * b) - (c * i))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) - Float64(z * t)) t_2 = Float64(Float64(j * y3) - Float64(k * y2)) t_3 = Float64(Float64(t * y2) - Float64(y * y3)) t_4 = Float64(y0 * Float64(Float64(Float64(y5 * t_2) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))) tmp = 0.0 if (a <= -2.5e+72) tmp = Float64(a * Float64(Float64(Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(b * t_1)) + Float64(y5 * t_3))); elseif (a <= -1.08e-45) tmp = t_4; elseif (a <= -7e-194) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(c * t_1) + Float64(y5 * Float64(Float64(t * j) - Float64(y * k)))))); elseif (a <= -1.7e-301) tmp = t_4; elseif (a <= 1.7e-131) tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))); elseif (a <= 5.8e+130) tmp = Float64(y5 * Float64(Float64(a * t_3) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * t_2)))); elseif (a <= 6.5e+161) tmp = t_4; elseif (a <= 2.9e+228) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); else tmp = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * 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 = (x * y) - (z * t); t_2 = (j * y3) - (k * y2); t_3 = (t * y2) - (y * y3); t_4 = y0 * (((y5 * t_2) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))); tmp = 0.0; if (a <= -2.5e+72) tmp = a * (((y1 * ((z * y3) - (x * y2))) + (b * t_1)) + (y5 * t_3)); elseif (a <= -1.08e-45) tmp = t_4; elseif (a <= -7e-194) tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * t_1) + (y5 * ((t * j) - (y * k))))); elseif (a <= -1.7e-301) tmp = t_4; elseif (a <= 1.7e-131) tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))); elseif (a <= 5.8e+130) tmp = y5 * ((a * t_3) + ((i * ((y * k) - (t * j))) + (y0 * t_2))); elseif (a <= 6.5e+161) tmp = t_4; elseif (a <= 2.9e+228) tmp = j * (x * ((i * y1) - (b * y0))); else tmp = y * (x * ((a * b) - (c * 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[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y0 * N[(N[(N[(y5 * t$95$2), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.5e+72], N[(a * N[(N[(N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.08e-45], t$95$4, If[LessEqual[a, -7e-194], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(c * t$95$1), $MachinePrecision] + N[(y5 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.7e-301], t$95$4, If[LessEqual[a, 1.7e-131], N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.8e+130], N[(y5 * N[(N[(a * t$95$3), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.5e+161], t$95$4, If[LessEqual[a, 2.9e+228], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
t_2 := j \cdot y3 - k \cdot y2\\
t_3 := t \cdot y2 - y \cdot y3\\
t_4 := y0 \cdot \left(\left(y5 \cdot t_2 + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;a \leq -2.5 \cdot 10^{+72}:\\
\;\;\;\;a \cdot \left(\left(y1 \cdot \left(z \cdot y3 - x \cdot y2\right) + b \cdot t_1\right) + y5 \cdot t_3\right)\\
\mathbf{elif}\;a \leq -1.08 \cdot 10^{-45}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;a \leq -7 \cdot 10^{-194}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \left(c \cdot t_1 + y5 \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\
\mathbf{elif}\;a \leq -1.7 \cdot 10^{-301}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;a \leq 1.7 \cdot 10^{-131}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq 5.8 \cdot 10^{+130}:\\
\;\;\;\;y5 \cdot \left(a \cdot t_3 + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot t_2\right)\right)\\
\mathbf{elif}\;a \leq 6.5 \cdot 10^{+161}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;a \leq 2.9 \cdot 10^{+228}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\end{array}
\end{array}
if a < -2.49999999999999996e72Initial program 38.6%
Taylor expanded in a around inf 66.5%
if -2.49999999999999996e72 < a < -1.08e-45 or -7.0000000000000006e-194 < a < -1.7000000000000001e-301 or 5.7999999999999998e130 < a < 6.5e161Initial program 29.5%
Taylor expanded in y0 around inf 68.3%
if -1.08e-45 < a < -7.0000000000000006e-194Initial program 42.8%
Taylor expanded in i around -inf 58.3%
if -1.7000000000000001e-301 < a < 1.69999999999999998e-131Initial program 44.1%
Taylor expanded in y around inf 49.0%
Taylor expanded in k around inf 54.4%
if 1.69999999999999998e-131 < a < 5.7999999999999998e130Initial program 32.0%
Taylor expanded in y5 around -inf 53.8%
if 6.5e161 < a < 2.90000000000000002e228Initial program 21.1%
Taylor expanded in j around inf 42.5%
Taylor expanded in x around inf 53.8%
if 2.90000000000000002e228 < a Initial program 10.0%
Taylor expanded in y around inf 40.3%
Taylor expanded in x around inf 70.1%
Final simplification60.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* k y2) (* j y3)))
(t_2 (- (* t j) (* y k)))
(t_3
(* y2 (+ (* k (- (* y1 y4) (* y0 y5))) (* t (- (* a y5) (* c y4))))))
(t_4 (* y0 (+ (* c (- (* x y2) (* z y3))) (* b (- (* z k) (* x j)))))))
(if (<= i -2e+33)
(*
i
(- (* y1 (- (* x j) (* z k))) (+ (* c (- (* x y) (* z t))) (* y5 t_2))))
(if (<= i -2e-55)
t_4
(if (<= i -1.25e-224)
t_3
(if (<= i -4e-283)
(* y4 (+ (+ (* b t_2) (* y1 t_1)) (* c (- (* y y3) (* t y2)))))
(if (<= i 3.8e-176)
t_3
(if (<= i 1.6e-37)
t_4
(if (<= i 1.5e+139)
(* (* y y5) (- (* i k) (* a y3)))
(if (<= i 5.4e+230)
(* y1 (* y4 t_1))
(* y (* i (- (* k y5) (* x c))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = (t * j) - (y * k);
double t_3 = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * ((a * y5) - (c * y4))));
double t_4 = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
double tmp;
if (i <= -2e+33) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2)));
} else if (i <= -2e-55) {
tmp = t_4;
} else if (i <= -1.25e-224) {
tmp = t_3;
} else if (i <= -4e-283) {
tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
} else if (i <= 3.8e-176) {
tmp = t_3;
} else if (i <= 1.6e-37) {
tmp = t_4;
} else if (i <= 1.5e+139) {
tmp = (y * y5) * ((i * k) - (a * y3));
} else if (i <= 5.4e+230) {
tmp = y1 * (y4 * t_1);
} else {
tmp = y * (i * ((k * y5) - (x * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = (k * y2) - (j * y3)
t_2 = (t * j) - (y * k)
t_3 = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * ((a * y5) - (c * y4))))
t_4 = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))))
if (i <= (-2d+33)) then
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2)))
else if (i <= (-2d-55)) then
tmp = t_4
else if (i <= (-1.25d-224)) then
tmp = t_3
else if (i <= (-4d-283)) then
tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))))
else if (i <= 3.8d-176) then
tmp = t_3
else if (i <= 1.6d-37) then
tmp = t_4
else if (i <= 1.5d+139) then
tmp = (y * y5) * ((i * k) - (a * y3))
else if (i <= 5.4d+230) then
tmp = y1 * (y4 * t_1)
else
tmp = y * (i * ((k * y5) - (x * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = (t * j) - (y * k);
double t_3 = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * ((a * y5) - (c * y4))));
double t_4 = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
double tmp;
if (i <= -2e+33) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2)));
} else if (i <= -2e-55) {
tmp = t_4;
} else if (i <= -1.25e-224) {
tmp = t_3;
} else if (i <= -4e-283) {
tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
} else if (i <= 3.8e-176) {
tmp = t_3;
} else if (i <= 1.6e-37) {
tmp = t_4;
} else if (i <= 1.5e+139) {
tmp = (y * y5) * ((i * k) - (a * y3));
} else if (i <= 5.4e+230) {
tmp = y1 * (y4 * t_1);
} else {
tmp = y * (i * ((k * y5) - (x * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (k * y2) - (j * y3) t_2 = (t * j) - (y * k) t_3 = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * ((a * y5) - (c * y4)))) t_4 = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))) tmp = 0 if i <= -2e+33: tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2))) elif i <= -2e-55: tmp = t_4 elif i <= -1.25e-224: tmp = t_3 elif i <= -4e-283: tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2)))) elif i <= 3.8e-176: tmp = t_3 elif i <= 1.6e-37: tmp = t_4 elif i <= 1.5e+139: tmp = (y * y5) * ((i * k) - (a * y3)) elif i <= 5.4e+230: tmp = y1 * (y4 * t_1) else: tmp = y * (i * ((k * y5) - (x * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(k * y2) - Float64(j * y3)) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = Float64(y2 * Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))) t_4 = Float64(y0 * Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))) tmp = 0.0 if (i <= -2e+33) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(c * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * t_2)))); elseif (i <= -2e-55) tmp = t_4; elseif (i <= -1.25e-224) tmp = t_3; elseif (i <= -4e-283) tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * t_1)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (i <= 3.8e-176) tmp = t_3; elseif (i <= 1.6e-37) tmp = t_4; elseif (i <= 1.5e+139) tmp = Float64(Float64(y * y5) * Float64(Float64(i * k) - Float64(a * y3))); elseif (i <= 5.4e+230) tmp = Float64(y1 * Float64(y4 * t_1)); else tmp = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (k * y2) - (j * y3); t_2 = (t * j) - (y * k); t_3 = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * ((a * y5) - (c * y4)))); t_4 = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))); tmp = 0.0; if (i <= -2e+33) tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2))); elseif (i <= -2e-55) tmp = t_4; elseif (i <= -1.25e-224) tmp = t_3; elseif (i <= -4e-283) tmp = y4 * (((b * t_2) + (y1 * t_1)) + (c * ((y * y3) - (t * y2)))); elseif (i <= 3.8e-176) tmp = t_3; elseif (i <= 1.6e-37) tmp = t_4; elseif (i <= 1.5e+139) tmp = (y * y5) * ((i * k) - (a * y3)); elseif (i <= 5.4e+230) tmp = y1 * (y4 * t_1); else tmp = y * (i * ((k * y5) - (x * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y2 * N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(y0 * N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2e+33], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2e-55], t$95$4, If[LessEqual[i, -1.25e-224], t$95$3, If[LessEqual[i, -4e-283], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 3.8e-176], t$95$3, If[LessEqual[i, 1.6e-37], t$95$4, If[LessEqual[i, 1.5e+139], N[(N[(y * y5), $MachinePrecision] * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 5.4e+230], N[(y1 * N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision], N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := t \cdot j - y \cdot k\\
t_3 := y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
t_4 := y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;i \leq -2 \cdot 10^{+33}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \left(c \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot t_2\right)\right)\\
\mathbf{elif}\;i \leq -2 \cdot 10^{-55}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;i \leq -1.25 \cdot 10^{-224}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;i \leq -4 \cdot 10^{-283}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t_2 + y1 \cdot t_1\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;i \leq 3.8 \cdot 10^{-176}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;i \leq 1.6 \cdot 10^{-37}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;i \leq 1.5 \cdot 10^{+139}:\\
\;\;\;\;\left(y \cdot y5\right) \cdot \left(i \cdot k - a \cdot y3\right)\\
\mathbf{elif}\;i \leq 5.4 \cdot 10^{+230}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot t_1\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\end{array}
\end{array}
if i < -1.9999999999999999e33Initial program 32.2%
Taylor expanded in i around -inf 55.8%
if -1.9999999999999999e33 < i < -1.99999999999999999e-55 or 3.80000000000000012e-176 < i < 1.5999999999999999e-37Initial program 39.4%
Taylor expanded in y0 around inf 63.0%
Taylor expanded in y5 around 0 55.1%
*-commutative55.1%
*-commutative55.1%
*-commutative55.1%
*-commutative55.1%
Simplified55.1%
if -1.99999999999999999e-55 < i < -1.25e-224 or -3.99999999999999979e-283 < i < 3.80000000000000012e-176Initial program 39.0%
Taylor expanded in y around inf 44.5%
Taylor expanded in y2 around inf 55.4%
*-commutative55.4%
*-commutative55.4%
Simplified55.4%
if -1.25e-224 < i < -3.99999999999999979e-283Initial program 64.3%
Taylor expanded in y4 around inf 64.6%
if 1.5999999999999999e-37 < i < 1.5e139Initial program 14.9%
Taylor expanded in y around inf 52.6%
Taylor expanded in y5 around inf 56.8%
associate-*r*56.2%
*-commutative56.2%
*-commutative56.2%
*-commutative56.2%
Simplified56.2%
if 1.5e139 < i < 5.40000000000000006e230Initial program 40.0%
Taylor expanded in y around inf 50.2%
Taylor expanded in y1 around inf 50.6%
if 5.40000000000000006e230 < i Initial program 7.0%
Taylor expanded in y around inf 50.1%
Taylor expanded in i around inf 58.3%
+-commutative58.3%
mul-1-neg58.3%
unsub-neg58.3%
Simplified58.3%
Final simplification55.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(* y2 (+ (* k (- (* y1 y4) (* y0 y5))) (* t (- (* a y5) (* c y4)))))))
(if (<= x -1e+158)
(* y (* x (- (* a b) (* c i))))
(if (<= x -7.8)
(* j (* x (- (* i y1) (* b y0))))
(if (<= x -4.3e-101)
(* (* y y5) (- (* i k) (* a y3)))
(if (<= x -8.5e-142)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= x -6.6e-262)
t_1
(if (<= x 2e-275)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= x 1.9e+98)
t_1
(*
y0
(+
(* c (- (* x y2) (* z y3)))
(* b (- (* z k) (* x j))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * ((a * y5) - (c * y4))));
double tmp;
if (x <= -1e+158) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (x <= -7.8) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (x <= -4.3e-101) {
tmp = (y * y5) * ((i * k) - (a * y3));
} else if (x <= -8.5e-142) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (x <= -6.6e-262) {
tmp = t_1;
} else if (x <= 2e-275) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (x <= 1.9e+98) {
tmp = t_1;
} else {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * ((a * y5) - (c * y4))))
if (x <= (-1d+158)) then
tmp = y * (x * ((a * b) - (c * i)))
else if (x <= (-7.8d0)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (x <= (-4.3d-101)) then
tmp = (y * y5) * ((i * k) - (a * y3))
else if (x <= (-8.5d-142)) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (x <= (-6.6d-262)) then
tmp = t_1
else if (x <= 2d-275) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (x <= 1.9d+98) then
tmp = t_1
else
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * ((a * y5) - (c * y4))));
double tmp;
if (x <= -1e+158) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (x <= -7.8) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (x <= -4.3e-101) {
tmp = (y * y5) * ((i * k) - (a * y3));
} else if (x <= -8.5e-142) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (x <= -6.6e-262) {
tmp = t_1;
} else if (x <= 2e-275) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (x <= 1.9e+98) {
tmp = t_1;
} else {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * ((a * y5) - (c * y4)))) tmp = 0 if x <= -1e+158: tmp = y * (x * ((a * b) - (c * i))) elif x <= -7.8: tmp = j * (x * ((i * y1) - (b * y0))) elif x <= -4.3e-101: tmp = (y * y5) * ((i * k) - (a * y3)) elif x <= -8.5e-142: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif x <= -6.6e-262: tmp = t_1 elif x <= 2e-275: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif x <= 1.9e+98: tmp = t_1 else: tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y2 * Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))) tmp = 0.0 if (x <= -1e+158) tmp = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i)))); elseif (x <= -7.8) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (x <= -4.3e-101) tmp = Float64(Float64(y * y5) * Float64(Float64(i * k) - Float64(a * y3))); elseif (x <= -8.5e-142) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (x <= -6.6e-262) tmp = t_1; elseif (x <= 2e-275) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (x <= 1.9e+98) tmp = t_1; else tmp = Float64(y0 * Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y2 * ((k * ((y1 * y4) - (y0 * y5))) + (t * ((a * y5) - (c * y4)))); tmp = 0.0; if (x <= -1e+158) tmp = y * (x * ((a * b) - (c * i))); elseif (x <= -7.8) tmp = j * (x * ((i * y1) - (b * y0))); elseif (x <= -4.3e-101) tmp = (y * y5) * ((i * k) - (a * y3)); elseif (x <= -8.5e-142) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (x <= -6.6e-262) tmp = t_1; elseif (x <= 2e-275) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (x <= 1.9e+98) tmp = t_1; else tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y2 * N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1e+158], N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -7.8], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -4.3e-101], N[(N[(y * y5), $MachinePrecision] * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -8.5e-142], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -6.6e-262], t$95$1, If[LessEqual[x, 2e-275], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.9e+98], t$95$1, N[(y0 * N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y2 \cdot \left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{if}\;x \leq -1 \cdot 10^{+158}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;x \leq -7.8:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -4.3 \cdot 10^{-101}:\\
\;\;\;\;\left(y \cdot y5\right) \cdot \left(i \cdot k - a \cdot y3\right)\\
\mathbf{elif}\;x \leq -8.5 \cdot 10^{-142}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq -6.6 \cdot 10^{-262}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 2 \cdot 10^{-275}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 1.9 \cdot 10^{+98}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\end{array}
\end{array}
if x < -9.99999999999999953e157Initial program 26.5%
Taylor expanded in y around inf 54.8%
Taylor expanded in x around inf 71.0%
if -9.99999999999999953e157 < x < -7.79999999999999982Initial program 37.0%
Taylor expanded in j around inf 51.9%
Taylor expanded in x around inf 56.3%
if -7.79999999999999982 < x < -4.2999999999999997e-101Initial program 22.5%
Taylor expanded in y around inf 50.3%
Taylor expanded in y5 around inf 44.5%
associate-*r*51.4%
*-commutative51.4%
*-commutative51.4%
*-commutative51.4%
Simplified51.4%
if -4.2999999999999997e-101 < x < -8.4999999999999996e-142Initial program 32.1%
Taylor expanded in y0 around inf 46.2%
Taylor expanded in y5 around inf 62.0%
mul-1-neg62.0%
distribute-rgt-neg-in62.0%
*-commutative62.0%
*-commutative62.0%
*-commutative62.0%
distribute-rgt-neg-in62.0%
Simplified62.0%
if -8.4999999999999996e-142 < x < -6.6000000000000005e-262 or 1.99999999999999987e-275 < x < 1.89999999999999995e98Initial program 40.6%
Taylor expanded in y around inf 43.6%
Taylor expanded in y2 around inf 47.8%
*-commutative47.8%
*-commutative47.8%
Simplified47.8%
if -6.6000000000000005e-262 < x < 1.99999999999999987e-275Initial program 44.9%
Taylor expanded in y around inf 45.2%
Taylor expanded in j around inf 56.0%
mul-1-neg56.0%
*-commutative56.0%
*-commutative56.0%
distribute-rgt-neg-in56.0%
*-commutative56.0%
distribute-rgt-neg-in56.0%
*-commutative56.0%
*-commutative56.0%
Simplified56.0%
if 1.89999999999999995e98 < x Initial program 22.5%
Taylor expanded in y0 around inf 43.1%
Taylor expanded in y5 around 0 50.4%
*-commutative50.4%
*-commutative50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Final simplification53.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* y1 y4) (* y0 y5))))
(if (<= x -4.2e+159)
(* y (* x (- (* a b) (* c i))))
(if (<= x -14.0)
(* j (* x (- (* i y1) (* b y0))))
(if (<= x -3.7e-101)
(* (* y y5) (- (* i k) (* a y3)))
(if (<= x -9e-142)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= x -1.12e-271)
(* k (+ (* y (- (* i y5) (* b y4))) (* y2 t_1)))
(if (<= x 1e-278)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= x 4.1e+99)
(* y2 (+ (* k t_1) (* t (- (* a y5) (* c y4)))))
(*
y0
(+
(* c (- (* x y2) (* z y3)))
(* b (- (* z k) (* x j))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double tmp;
if (x <= -4.2e+159) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (x <= -14.0) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (x <= -3.7e-101) {
tmp = (y * y5) * ((i * k) - (a * y3));
} else if (x <= -9e-142) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (x <= -1.12e-271) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1));
} else if (x <= 1e-278) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (x <= 4.1e+99) {
tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4))));
} else {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (y1 * y4) - (y0 * y5)
if (x <= (-4.2d+159)) then
tmp = y * (x * ((a * b) - (c * i)))
else if (x <= (-14.0d0)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (x <= (-3.7d-101)) then
tmp = (y * y5) * ((i * k) - (a * y3))
else if (x <= (-9d-142)) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (x <= (-1.12d-271)) then
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1))
else if (x <= 1d-278) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (x <= 4.1d+99) then
tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4))))
else
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (y1 * y4) - (y0 * y5);
double tmp;
if (x <= -4.2e+159) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (x <= -14.0) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (x <= -3.7e-101) {
tmp = (y * y5) * ((i * k) - (a * y3));
} else if (x <= -9e-142) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (x <= -1.12e-271) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1));
} else if (x <= 1e-278) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (x <= 4.1e+99) {
tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4))));
} else {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (y1 * y4) - (y0 * y5) tmp = 0 if x <= -4.2e+159: tmp = y * (x * ((a * b) - (c * i))) elif x <= -14.0: tmp = j * (x * ((i * y1) - (b * y0))) elif x <= -3.7e-101: tmp = (y * y5) * ((i * k) - (a * y3)) elif x <= -9e-142: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif x <= -1.12e-271: tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1)) elif x <= 1e-278: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif x <= 4.1e+99: tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4)))) else: tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) tmp = 0.0 if (x <= -4.2e+159) tmp = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i)))); elseif (x <= -14.0) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (x <= -3.7e-101) tmp = Float64(Float64(y * y5) * Float64(Float64(i * k) - Float64(a * y3))); elseif (x <= -9e-142) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (x <= -1.12e-271) tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_1))); elseif (x <= 1e-278) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (x <= 4.1e+99) tmp = Float64(y2 * Float64(Float64(k * t_1) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); else tmp = Float64(y0 * Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (y1 * y4) - (y0 * y5); tmp = 0.0; if (x <= -4.2e+159) tmp = y * (x * ((a * b) - (c * i))); elseif (x <= -14.0) tmp = j * (x * ((i * y1) - (b * y0))); elseif (x <= -3.7e-101) tmp = (y * y5) * ((i * k) - (a * y3)); elseif (x <= -9e-142) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (x <= -1.12e-271) tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_1)); elseif (x <= 1e-278) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (x <= 4.1e+99) tmp = y2 * ((k * t_1) + (t * ((a * y5) - (c * y4)))); else tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -4.2e+159], N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -14.0], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3.7e-101], N[(N[(y * y5), $MachinePrecision] * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -9e-142], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.12e-271], N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1e-278], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.1e+99], N[(y2 * N[(N[(k * t$95$1), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;x \leq -4.2 \cdot 10^{+159}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;x \leq -14:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -3.7 \cdot 10^{-101}:\\
\;\;\;\;\left(y \cdot y5\right) \cdot \left(i \cdot k - a \cdot y3\right)\\
\mathbf{elif}\;x \leq -9 \cdot 10^{-142}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq -1.12 \cdot 10^{-271}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_1\right)\\
\mathbf{elif}\;x \leq 10^{-278}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 4.1 \cdot 10^{+99}:\\
\;\;\;\;y2 \cdot \left(k \cdot t_1 + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\end{array}
\end{array}
if x < -4.19999999999999978e159Initial program 26.5%
Taylor expanded in y around inf 54.8%
Taylor expanded in x around inf 71.0%
if -4.19999999999999978e159 < x < -14Initial program 37.0%
Taylor expanded in j around inf 51.9%
Taylor expanded in x around inf 56.3%
if -14 < x < -3.70000000000000005e-101Initial program 22.5%
Taylor expanded in y around inf 50.3%
Taylor expanded in y5 around inf 44.5%
associate-*r*51.4%
*-commutative51.4%
*-commutative51.4%
*-commutative51.4%
Simplified51.4%
if -3.70000000000000005e-101 < x < -9.00000000000000037e-142Initial program 32.1%
Taylor expanded in y0 around inf 46.2%
Taylor expanded in y5 around inf 62.0%
mul-1-neg62.0%
distribute-rgt-neg-in62.0%
*-commutative62.0%
*-commutative62.0%
*-commutative62.0%
distribute-rgt-neg-in62.0%
Simplified62.0%
if -9.00000000000000037e-142 < x < -1.11999999999999997e-271Initial program 35.1%
Taylor expanded in y around inf 34.9%
Taylor expanded in k around inf 43.2%
if -1.11999999999999997e-271 < x < 9.99999999999999938e-279Initial program 47.0%
Taylor expanded in y around inf 47.3%
Taylor expanded in j around inf 59.9%
mul-1-neg59.9%
*-commutative59.9%
*-commutative59.9%
distribute-rgt-neg-in59.9%
*-commutative59.9%
distribute-rgt-neg-in59.9%
*-commutative59.9%
*-commutative59.9%
Simplified59.9%
if 9.99999999999999938e-279 < x < 4.09999999999999979e99Initial program 42.0%
Taylor expanded in y around inf 45.8%
Taylor expanded in y2 around inf 49.9%
*-commutative49.9%
*-commutative49.9%
Simplified49.9%
if 4.09999999999999979e99 < x Initial program 22.5%
Taylor expanded in y0 around inf 43.1%
Taylor expanded in y5 around 0 50.4%
*-commutative50.4%
*-commutative50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Final simplification53.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* x (- (* a b) (* c i)))) (t_2 (- (* y1 y4) (* y0 y5))))
(if (<= x -1.9e+158)
(* y t_1)
(if (<= x -1.2e+21)
(* j (* x (- (* i y1) (* b y0))))
(if (<= x -7e-102)
(* y (+ t_1 (* y3 (- (* c y4) (* a y5)))))
(if (<= x -3e-142)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= x -5.3e-272)
(* k (+ (* y (- (* i y5) (* b y4))) (* y2 t_2)))
(if (<= x 1.08e-278)
(* j (* y3 (- (* y0 y5) (* y1 y4))))
(if (<= x 1.25e+99)
(* y2 (+ (* k t_2) (* t (- (* a y5) (* c y4)))))
(*
y0
(+
(* c (- (* x y2) (* z y3)))
(* b (- (* z k) (* x j))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * ((a * b) - (c * i));
double t_2 = (y1 * y4) - (y0 * y5);
double tmp;
if (x <= -1.9e+158) {
tmp = y * t_1;
} else if (x <= -1.2e+21) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (x <= -7e-102) {
tmp = y * (t_1 + (y3 * ((c * y4) - (a * y5))));
} else if (x <= -3e-142) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (x <= -5.3e-272) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2));
} else if (x <= 1.08e-278) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (x <= 1.25e+99) {
tmp = y2 * ((k * t_2) + (t * ((a * y5) - (c * y4))));
} else {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = x * ((a * b) - (c * i))
t_2 = (y1 * y4) - (y0 * y5)
if (x <= (-1.9d+158)) then
tmp = y * t_1
else if (x <= (-1.2d+21)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (x <= (-7d-102)) then
tmp = y * (t_1 + (y3 * ((c * y4) - (a * y5))))
else if (x <= (-3d-142)) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (x <= (-5.3d-272)) then
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2))
else if (x <= 1.08d-278) then
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)))
else if (x <= 1.25d+99) then
tmp = y2 * ((k * t_2) + (t * ((a * y5) - (c * y4))))
else
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = x * ((a * b) - (c * i));
double t_2 = (y1 * y4) - (y0 * y5);
double tmp;
if (x <= -1.9e+158) {
tmp = y * t_1;
} else if (x <= -1.2e+21) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (x <= -7e-102) {
tmp = y * (t_1 + (y3 * ((c * y4) - (a * y5))));
} else if (x <= -3e-142) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (x <= -5.3e-272) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2));
} else if (x <= 1.08e-278) {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
} else if (x <= 1.25e+99) {
tmp = y2 * ((k * t_2) + (t * ((a * y5) - (c * y4))));
} else {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * ((a * b) - (c * i)) t_2 = (y1 * y4) - (y0 * y5) tmp = 0 if x <= -1.9e+158: tmp = y * t_1 elif x <= -1.2e+21: tmp = j * (x * ((i * y1) - (b * y0))) elif x <= -7e-102: tmp = y * (t_1 + (y3 * ((c * y4) - (a * y5)))) elif x <= -3e-142: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif x <= -5.3e-272: tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2)) elif x <= 1.08e-278: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) elif x <= 1.25e+99: tmp = y2 * ((k * t_2) + (t * ((a * y5) - (c * y4)))) else: tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(Float64(a * b) - Float64(c * i))) t_2 = Float64(Float64(y1 * y4) - Float64(y0 * y5)) tmp = 0.0 if (x <= -1.9e+158) tmp = Float64(y * t_1); elseif (x <= -1.2e+21) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (x <= -7e-102) tmp = Float64(y * Float64(t_1 + Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (x <= -3e-142) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (x <= -5.3e-272) tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * t_2))); elseif (x <= 1.08e-278) tmp = Float64(j * Float64(y3 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))); elseif (x <= 1.25e+99) tmp = Float64(y2 * Float64(Float64(k * t_2) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); else tmp = Float64(y0 * Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = x * ((a * b) - (c * i)); t_2 = (y1 * y4) - (y0 * y5); tmp = 0.0; if (x <= -1.9e+158) tmp = y * t_1; elseif (x <= -1.2e+21) tmp = j * (x * ((i * y1) - (b * y0))); elseif (x <= -7e-102) tmp = y * (t_1 + (y3 * ((c * y4) - (a * y5)))); elseif (x <= -3e-142) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (x <= -5.3e-272) tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * t_2)); elseif (x <= 1.08e-278) tmp = j * (y3 * ((y0 * y5) - (y1 * y4))); elseif (x <= 1.25e+99) tmp = y2 * ((k * t_2) + (t * ((a * y5) - (c * y4)))); else tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.9e+158], N[(y * t$95$1), $MachinePrecision], If[LessEqual[x, -1.2e+21], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -7e-102], N[(y * N[(t$95$1 + N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -3e-142], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.3e-272], N[(k * N[(N[(y * N[(N[(i * y5), $MachinePrecision] - N[(b * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.08e-278], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.25e+99], N[(y2 * N[(N[(k * t$95$2), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y0 * N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(a \cdot b - c \cdot i\right)\\
t_2 := y1 \cdot y4 - y0 \cdot y5\\
\mathbf{if}\;x \leq -1.9 \cdot 10^{+158}:\\
\;\;\;\;y \cdot t_1\\
\mathbf{elif}\;x \leq -1.2 \cdot 10^{+21}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;x \leq -7 \cdot 10^{-102}:\\
\;\;\;\;y \cdot \left(t_1 + y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq -3 \cdot 10^{-142}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;x \leq -5.3 \cdot 10^{-272}:\\
\;\;\;\;k \cdot \left(y \cdot \left(i \cdot y5 - b \cdot y4\right) + y2 \cdot t_2\right)\\
\mathbf{elif}\;x \leq 1.08 \cdot 10^{-278}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 1.25 \cdot 10^{+99}:\\
\;\;\;\;y2 \cdot \left(k \cdot t_2 + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\end{array}
\end{array}
if x < -1.8999999999999999e158Initial program 26.5%
Taylor expanded in y around inf 54.8%
Taylor expanded in x around inf 71.0%
if -1.8999999999999999e158 < x < -1.2e21Initial program 36.4%
Taylor expanded in j around inf 63.7%
Taylor expanded in x around inf 64.1%
if -1.2e21 < x < -6.99999999999999973e-102Initial program 27.1%
Taylor expanded in y around inf 52.9%
Taylor expanded in k around 0 48.4%
if -6.99999999999999973e-102 < x < -3.0000000000000001e-142Initial program 29.8%
Taylor expanded in y0 around inf 42.9%
Taylor expanded in y5 around inf 58.1%
mul-1-neg58.1%
distribute-rgt-neg-in58.1%
*-commutative58.1%
*-commutative58.1%
*-commutative58.1%
distribute-rgt-neg-in58.1%
Simplified58.1%
if -3.0000000000000001e-142 < x < -5.3e-272Initial program 36.5%
Taylor expanded in y around inf 32.3%
Taylor expanded in k around inf 44.7%
if -5.3e-272 < x < 1.0800000000000001e-278Initial program 47.0%
Taylor expanded in y around inf 47.3%
Taylor expanded in j around inf 59.9%
mul-1-neg59.9%
*-commutative59.9%
*-commutative59.9%
distribute-rgt-neg-in59.9%
*-commutative59.9%
distribute-rgt-neg-in59.9%
*-commutative59.9%
*-commutative59.9%
Simplified59.9%
if 1.0800000000000001e-278 < x < 1.25000000000000002e99Initial program 42.0%
Taylor expanded in y around inf 45.8%
Taylor expanded in y2 around inf 49.9%
*-commutative49.9%
*-commutative49.9%
Simplified49.9%
if 1.25000000000000002e99 < x Initial program 22.5%
Taylor expanded in y0 around inf 43.1%
Taylor expanded in y5 around 0 50.4%
*-commutative50.4%
*-commutative50.4%
*-commutative50.4%
*-commutative50.4%
Simplified50.4%
Final simplification54.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y (* y3 (- (* c y4) (* a y5))))))
(if (<= y5 -6.1e+152)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= y5 -1.5e+24)
(* b (* x (- (* y a) (* j y0))))
(if (<= y5 -7.4e-181)
t_1
(if (<= y5 8.5e-288)
(* y (* x (- (* a b) (* c i))))
(if (<= y5 3.05e-229)
(* a (* b (- (* x y) (* z t))))
(if (<= y5 2e+53)
(* y0 (+ (* c (- (* x y2) (* z y3))) (* b (- (* z k) (* x j)))))
(if (<= y5 2.5e+169)
(* y0 (* y5 (- (* j y3) (* k y2))))
(if (<= y5 3.1e+264)
t_1
(if (<= y5 1.078e+280)
(* (* z y3) (- (* a y1) (* c y0)))
(* (* y y5) (- (* i k) (* a y3))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * (y3 * ((c * y4) - (a * y5)));
double tmp;
if (y5 <= -6.1e+152) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (y5 <= -1.5e+24) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= -7.4e-181) {
tmp = t_1;
} else if (y5 <= 8.5e-288) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (y5 <= 3.05e-229) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y5 <= 2e+53) {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
} else if (y5 <= 2.5e+169) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y5 <= 3.1e+264) {
tmp = t_1;
} else if (y5 <= 1.078e+280) {
tmp = (z * y3) * ((a * y1) - (c * y0));
} else {
tmp = (y * y5) * ((i * k) - (a * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y * (y3 * ((c * y4) - (a * y5)))
if (y5 <= (-6.1d+152)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (y5 <= (-1.5d+24)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y5 <= (-7.4d-181)) then
tmp = t_1
else if (y5 <= 8.5d-288) then
tmp = y * (x * ((a * b) - (c * i)))
else if (y5 <= 3.05d-229) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y5 <= 2d+53) then
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))))
else if (y5 <= 2.5d+169) then
tmp = y0 * (y5 * ((j * y3) - (k * y2)))
else if (y5 <= 3.1d+264) then
tmp = t_1
else if (y5 <= 1.078d+280) then
tmp = (z * y3) * ((a * y1) - (c * y0))
else
tmp = (y * y5) * ((i * k) - (a * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * (y3 * ((c * y4) - (a * y5)));
double tmp;
if (y5 <= -6.1e+152) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (y5 <= -1.5e+24) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= -7.4e-181) {
tmp = t_1;
} else if (y5 <= 8.5e-288) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (y5 <= 3.05e-229) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y5 <= 2e+53) {
tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j))));
} else if (y5 <= 2.5e+169) {
tmp = y0 * (y5 * ((j * y3) - (k * y2)));
} else if (y5 <= 3.1e+264) {
tmp = t_1;
} else if (y5 <= 1.078e+280) {
tmp = (z * y3) * ((a * y1) - (c * y0));
} else {
tmp = (y * y5) * ((i * k) - (a * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y * (y3 * ((c * y4) - (a * y5))) tmp = 0 if y5 <= -6.1e+152: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif y5 <= -1.5e+24: tmp = b * (x * ((y * a) - (j * y0))) elif y5 <= -7.4e-181: tmp = t_1 elif y5 <= 8.5e-288: tmp = y * (x * ((a * b) - (c * i))) elif y5 <= 3.05e-229: tmp = a * (b * ((x * y) - (z * t))) elif y5 <= 2e+53: tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))) elif y5 <= 2.5e+169: tmp = y0 * (y5 * ((j * y3) - (k * y2))) elif y5 <= 3.1e+264: tmp = t_1 elif y5 <= 1.078e+280: tmp = (z * y3) * ((a * y1) - (c * y0)) else: tmp = (y * y5) * ((i * k) - (a * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))) tmp = 0.0 if (y5 <= -6.1e+152) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (y5 <= -1.5e+24) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y5 <= -7.4e-181) tmp = t_1; elseif (y5 <= 8.5e-288) tmp = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i)))); elseif (y5 <= 3.05e-229) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y5 <= 2e+53) tmp = Float64(y0 * Float64(Float64(c * Float64(Float64(x * y2) - Float64(z * y3))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (y5 <= 2.5e+169) tmp = Float64(y0 * Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2)))); elseif (y5 <= 3.1e+264) tmp = t_1; elseif (y5 <= 1.078e+280) tmp = Float64(Float64(z * y3) * Float64(Float64(a * y1) - Float64(c * y0))); else tmp = Float64(Float64(y * y5) * Float64(Float64(i * k) - Float64(a * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y * (y3 * ((c * y4) - (a * y5))); tmp = 0.0; if (y5 <= -6.1e+152) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (y5 <= -1.5e+24) tmp = b * (x * ((y * a) - (j * y0))); elseif (y5 <= -7.4e-181) tmp = t_1; elseif (y5 <= 8.5e-288) tmp = y * (x * ((a * b) - (c * i))); elseif (y5 <= 3.05e-229) tmp = a * (b * ((x * y) - (z * t))); elseif (y5 <= 2e+53) tmp = y0 * ((c * ((x * y2) - (z * y3))) + (b * ((z * k) - (x * j)))); elseif (y5 <= 2.5e+169) tmp = y0 * (y5 * ((j * y3) - (k * y2))); elseif (y5 <= 3.1e+264) tmp = t_1; elseif (y5 <= 1.078e+280) tmp = (z * y3) * ((a * y1) - (c * y0)); else tmp = (y * y5) * ((i * k) - (a * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -6.1e+152], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.5e+24], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -7.4e-181], t$95$1, If[LessEqual[y5, 8.5e-288], N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.05e-229], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2e+53], N[(y0 * N[(N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.5e+169], N[(y0 * N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.1e+264], t$95$1, If[LessEqual[y5, 1.078e+280], N[(N[(z * y3), $MachinePrecision] * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * y5), $MachinePrecision] * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{if}\;y5 \leq -6.1 \cdot 10^{+152}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq -1.5 \cdot 10^{+24}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq -7.4 \cdot 10^{-181}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y5 \leq 8.5 \cdot 10^{-288}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;y5 \leq 3.05 \cdot 10^{-229}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y5 \leq 2 \cdot 10^{+53}:\\
\;\;\;\;y0 \cdot \left(c \cdot \left(x \cdot y2 - z \cdot y3\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y5 \leq 2.5 \cdot 10^{+169}:\\
\;\;\;\;y0 \cdot \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\\
\mathbf{elif}\;y5 \leq 3.1 \cdot 10^{+264}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y5 \leq 1.078 \cdot 10^{+280}:\\
\;\;\;\;\left(z \cdot y3\right) \cdot \left(a \cdot y1 - c \cdot y0\right)\\
\mathbf{else}:\\
\;\;\;\;\left(y \cdot y5\right) \cdot \left(i \cdot k - a \cdot y3\right)\\
\end{array}
\end{array}
if y5 < -6.10000000000000035e152Initial program 38.9%
Taylor expanded in y0 around inf 34.1%
Taylor expanded in y2 around inf 59.3%
+-commutative59.3%
mul-1-neg59.3%
unsub-neg59.3%
Simplified59.3%
if -6.10000000000000035e152 < y5 < -1.49999999999999997e24Initial program 40.9%
Taylor expanded in b around inf 32.1%
Taylor expanded in x around inf 42.2%
if -1.49999999999999997e24 < y5 < -7.39999999999999968e-181 or 2.50000000000000009e169 < y5 < 3.09999999999999981e264Initial program 31.4%
Taylor expanded in y around inf 57.4%
Taylor expanded in y3 around inf 50.2%
*-commutative50.2%
*-commutative50.2%
Simplified50.2%
if -7.39999999999999968e-181 < y5 < 8.4999999999999997e-288Initial program 40.4%
Taylor expanded in y around inf 44.2%
Taylor expanded in x around inf 54.5%
if 8.4999999999999997e-288 < y5 < 3.0499999999999999e-229Initial program 27.2%
Taylor expanded in b around inf 27.8%
Taylor expanded in a around inf 61.3%
if 3.0499999999999999e-229 < y5 < 2e53Initial program 43.0%
Taylor expanded in y0 around inf 52.7%
Taylor expanded in y5 around 0 50.9%
*-commutative50.9%
*-commutative50.9%
*-commutative50.9%
*-commutative50.9%
Simplified50.9%
if 2e53 < y5 < 2.50000000000000009e169Initial program 21.5%
Taylor expanded in y0 around inf 49.4%
Taylor expanded in y5 around inf 49.6%
mul-1-neg49.6%
distribute-rgt-neg-in49.6%
*-commutative49.6%
*-commutative49.6%
*-commutative49.6%
distribute-rgt-neg-in49.6%
Simplified49.6%
if 3.09999999999999981e264 < y5 < 1.0780000000000001e280Initial program 25.0%
Taylor expanded in y3 around -inf 25.0%
Taylor expanded in z around inf 100.0%
associate-*r*100.0%
Simplified100.0%
if 1.0780000000000001e280 < y5 Initial program 14.3%
Taylor expanded in y around inf 42.9%
Taylor expanded in y5 around inf 72.2%
associate-*r*72.2%
*-commutative72.2%
*-commutative72.2%
*-commutative72.2%
Simplified72.2%
Final simplification53.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x b) (* y3 y5)))
(t_2 (* c (* y0 (- (* x y2) (* z y3)))))
(t_3 (* y (* i (- (* k y5) (* x c))))))
(if (<= z -1.65e+78)
t_2
(if (<= z -1.6e-29)
(* y (* x (- (* a b) (* c i))))
(if (<= z -6.9e-99)
(* b (* (* y k) (- y4)))
(if (<= z -8.2e-163)
(* y (* a t_1))
(if (<= z -1.9e-270)
(* b (* x (- (* y a) (* j y0))))
(if (<= z 2.45e-71)
(* j (* t (- (* b y4) (* i y5))))
(if (<= z 2.7e-51)
t_2
(if (<= z 5.5e+117)
t_3
(if (<= z 7.8e+164)
(* a (* y t_1))
(if (<= z 2.5e+255) t_3 (* (* c y3) (* y y4))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * b) - (y3 * y5);
double t_2 = c * (y0 * ((x * y2) - (z * y3)));
double t_3 = y * (i * ((k * y5) - (x * c)));
double tmp;
if (z <= -1.65e+78) {
tmp = t_2;
} else if (z <= -1.6e-29) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (z <= -6.9e-99) {
tmp = b * ((y * k) * -y4);
} else if (z <= -8.2e-163) {
tmp = y * (a * t_1);
} else if (z <= -1.9e-270) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= 2.45e-71) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (z <= 2.7e-51) {
tmp = t_2;
} else if (z <= 5.5e+117) {
tmp = t_3;
} else if (z <= 7.8e+164) {
tmp = a * (y * t_1);
} else if (z <= 2.5e+255) {
tmp = t_3;
} else {
tmp = (c * y3) * (y * y4);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = (x * b) - (y3 * y5)
t_2 = c * (y0 * ((x * y2) - (z * y3)))
t_3 = y * (i * ((k * y5) - (x * c)))
if (z <= (-1.65d+78)) then
tmp = t_2
else if (z <= (-1.6d-29)) then
tmp = y * (x * ((a * b) - (c * i)))
else if (z <= (-6.9d-99)) then
tmp = b * ((y * k) * -y4)
else if (z <= (-8.2d-163)) then
tmp = y * (a * t_1)
else if (z <= (-1.9d-270)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= 2.45d-71) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (z <= 2.7d-51) then
tmp = t_2
else if (z <= 5.5d+117) then
tmp = t_3
else if (z <= 7.8d+164) then
tmp = a * (y * t_1)
else if (z <= 2.5d+255) then
tmp = t_3
else
tmp = (c * y3) * (y * y4)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * b) - (y3 * y5);
double t_2 = c * (y0 * ((x * y2) - (z * y3)));
double t_3 = y * (i * ((k * y5) - (x * c)));
double tmp;
if (z <= -1.65e+78) {
tmp = t_2;
} else if (z <= -1.6e-29) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (z <= -6.9e-99) {
tmp = b * ((y * k) * -y4);
} else if (z <= -8.2e-163) {
tmp = y * (a * t_1);
} else if (z <= -1.9e-270) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= 2.45e-71) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (z <= 2.7e-51) {
tmp = t_2;
} else if (z <= 5.5e+117) {
tmp = t_3;
} else if (z <= 7.8e+164) {
tmp = a * (y * t_1);
} else if (z <= 2.5e+255) {
tmp = t_3;
} else {
tmp = (c * y3) * (y * y4);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * b) - (y3 * y5) t_2 = c * (y0 * ((x * y2) - (z * y3))) t_3 = y * (i * ((k * y5) - (x * c))) tmp = 0 if z <= -1.65e+78: tmp = t_2 elif z <= -1.6e-29: tmp = y * (x * ((a * b) - (c * i))) elif z <= -6.9e-99: tmp = b * ((y * k) * -y4) elif z <= -8.2e-163: tmp = y * (a * t_1) elif z <= -1.9e-270: tmp = b * (x * ((y * a) - (j * y0))) elif z <= 2.45e-71: tmp = j * (t * ((b * y4) - (i * y5))) elif z <= 2.7e-51: tmp = t_2 elif z <= 5.5e+117: tmp = t_3 elif z <= 7.8e+164: tmp = a * (y * t_1) elif z <= 2.5e+255: tmp = t_3 else: tmp = (c * y3) * (y * y4) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * b) - Float64(y3 * y5)) t_2 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) t_3 = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))) tmp = 0.0 if (z <= -1.65e+78) tmp = t_2; elseif (z <= -1.6e-29) tmp = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i)))); elseif (z <= -6.9e-99) tmp = Float64(b * Float64(Float64(y * k) * Float64(-y4))); elseif (z <= -8.2e-163) tmp = Float64(y * Float64(a * t_1)); elseif (z <= -1.9e-270) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= 2.45e-71) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (z <= 2.7e-51) tmp = t_2; elseif (z <= 5.5e+117) tmp = t_3; elseif (z <= 7.8e+164) tmp = Float64(a * Float64(y * t_1)); elseif (z <= 2.5e+255) tmp = t_3; else tmp = Float64(Float64(c * y3) * Float64(y * y4)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * b) - (y3 * y5); t_2 = c * (y0 * ((x * y2) - (z * y3))); t_3 = y * (i * ((k * y5) - (x * c))); tmp = 0.0; if (z <= -1.65e+78) tmp = t_2; elseif (z <= -1.6e-29) tmp = y * (x * ((a * b) - (c * i))); elseif (z <= -6.9e-99) tmp = b * ((y * k) * -y4); elseif (z <= -8.2e-163) tmp = y * (a * t_1); elseif (z <= -1.9e-270) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= 2.45e-71) tmp = j * (t * ((b * y4) - (i * y5))); elseif (z <= 2.7e-51) tmp = t_2; elseif (z <= 5.5e+117) tmp = t_3; elseif (z <= 7.8e+164) tmp = a * (y * t_1); elseif (z <= 2.5e+255) tmp = t_3; else tmp = (c * y3) * (y * y4); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.65e+78], t$95$2, If[LessEqual[z, -1.6e-29], N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -6.9e-99], N[(b * N[(N[(y * k), $MachinePrecision] * (-y4)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -8.2e-163], N[(y * N[(a * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.9e-270], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.45e-71], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.7e-51], t$95$2, If[LessEqual[z, 5.5e+117], t$95$3, If[LessEqual[z, 7.8e+164], N[(a * N[(y * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.5e+255], t$95$3, N[(N[(c * y3), $MachinePrecision] * N[(y * y4), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot b - y3 \cdot y5\\
t_2 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
t_3 := y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{if}\;z \leq -1.65 \cdot 10^{+78}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq -1.6 \cdot 10^{-29}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;z \leq -6.9 \cdot 10^{-99}:\\
\;\;\;\;b \cdot \left(\left(y \cdot k\right) \cdot \left(-y4\right)\right)\\
\mathbf{elif}\;z \leq -8.2 \cdot 10^{-163}:\\
\;\;\;\;y \cdot \left(a \cdot t_1\right)\\
\mathbf{elif}\;z \leq -1.9 \cdot 10^{-270}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 2.45 \cdot 10^{-71}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq 2.7 \cdot 10^{-51}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq 5.5 \cdot 10^{+117}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;z \leq 7.8 \cdot 10^{+164}:\\
\;\;\;\;a \cdot \left(y \cdot t_1\right)\\
\mathbf{elif}\;z \leq 2.5 \cdot 10^{+255}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;\left(c \cdot y3\right) \cdot \left(y \cdot y4\right)\\
\end{array}
\end{array}
if z < -1.65e78 or 2.4499999999999999e-71 < z < 2.6999999999999997e-51Initial program 28.1%
Taylor expanded in y0 around inf 44.6%
Taylor expanded in c around inf 56.9%
if -1.65e78 < z < -1.6e-29Initial program 35.0%
Taylor expanded in y around inf 35.1%
Taylor expanded in x around inf 50.7%
if -1.6e-29 < z < -6.9000000000000003e-99Initial program 53.2%
Taylor expanded in y around inf 47.5%
Taylor expanded in y4 around inf 16.1%
associate-*r*9.9%
*-commutative9.9%
distribute-lft-out--9.9%
*-commutative9.9%
*-commutative9.9%
Simplified9.9%
Taylor expanded in k around inf 23.0%
associate-*r*23.0%
neg-mul-123.0%
associate-*r*42.3%
Simplified42.3%
if -6.9000000000000003e-99 < z < -8.19999999999999965e-163Initial program 41.5%
Taylor expanded in y around inf 59.3%
Taylor expanded in a around inf 54.8%
if -8.19999999999999965e-163 < z < -1.90000000000000021e-270Initial program 26.7%
Taylor expanded in b around inf 53.3%
Taylor expanded in x around inf 59.0%
if -1.90000000000000021e-270 < z < 2.4499999999999999e-71Initial program 35.4%
Taylor expanded in j around inf 43.6%
Taylor expanded in t around inf 32.1%
*-commutative32.1%
*-commutative32.1%
Simplified32.1%
if 2.6999999999999997e-51 < z < 5.49999999999999965e117 or 7.79999999999999971e164 < z < 2.5000000000000001e255Initial program 39.6%
Taylor expanded in y around inf 40.2%
Taylor expanded in i around inf 55.4%
+-commutative55.4%
mul-1-neg55.4%
unsub-neg55.4%
Simplified55.4%
if 5.49999999999999965e117 < z < 7.79999999999999971e164Initial program 18.2%
Taylor expanded in y around inf 20.3%
Taylor expanded in a around inf 47.6%
if 2.5000000000000001e255 < z Initial program 33.3%
Taylor expanded in y around inf 33.4%
Taylor expanded in y4 around inf 50.9%
associate-*r*50.9%
*-commutative50.9%
distribute-lft-out--50.9%
*-commutative50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in k around 0 68.2%
mul-1-neg68.2%
*-commutative68.2%
distribute-rgt-neg-in68.2%
Simplified68.2%
Final simplification49.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y0 (* y2 (- (* x c) (* k y5))))))
(if (<= j -3.4e+31)
(* (* j y5) (- (* y0 y3) (* t i)))
(if (<= j -1.55e-120)
(* y (* i (- (* k y5) (* x c))))
(if (<= j -6e-190)
t_1
(if (<= j -5.5e-253)
(* y (* y3 (- (* c y4) (* a y5))))
(if (<= j -1.15e-285)
(* y1 (* y4 (- (* k y2) (* j y3))))
(if (<= j 1.55e-171)
(* y (* a (- (* x b) (* y3 y5))))
(if (<= j 1.55e-117)
t_1
(if (<= j 0.00031)
(* b (* a (- (* x y) (* z t))))
(if (<= j 1.9e+80)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= j 2.7e+219)
(* j (* x (- (* i y1) (* b y0))))
(* j (* y3 (- (* 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 = y0 * (y2 * ((x * c) - (k * y5)));
double tmp;
if (j <= -3.4e+31) {
tmp = (j * y5) * ((y0 * y3) - (t * i));
} else if (j <= -1.55e-120) {
tmp = y * (i * ((k * y5) - (x * c)));
} else if (j <= -6e-190) {
tmp = t_1;
} else if (j <= -5.5e-253) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (j <= -1.15e-285) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (j <= 1.55e-171) {
tmp = y * (a * ((x * b) - (y3 * y5)));
} else if (j <= 1.55e-117) {
tmp = t_1;
} else if (j <= 0.00031) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 1.9e+80) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 2.7e+219) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = j * (y3 * ((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) :: tmp
t_1 = y0 * (y2 * ((x * c) - (k * y5)))
if (j <= (-3.4d+31)) then
tmp = (j * y5) * ((y0 * y3) - (t * i))
else if (j <= (-1.55d-120)) then
tmp = y * (i * ((k * y5) - (x * c)))
else if (j <= (-6d-190)) then
tmp = t_1
else if (j <= (-5.5d-253)) then
tmp = y * (y3 * ((c * y4) - (a * y5)))
else if (j <= (-1.15d-285)) then
tmp = y1 * (y4 * ((k * y2) - (j * y3)))
else if (j <= 1.55d-171) then
tmp = y * (a * ((x * b) - (y3 * y5)))
else if (j <= 1.55d-117) then
tmp = t_1
else if (j <= 0.00031d0) then
tmp = b * (a * ((x * y) - (z * t)))
else if (j <= 1.9d+80) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (j <= 2.7d+219) then
tmp = j * (x * ((i * y1) - (b * y0)))
else
tmp = j * (y3 * ((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 = y0 * (y2 * ((x * c) - (k * y5)));
double tmp;
if (j <= -3.4e+31) {
tmp = (j * y5) * ((y0 * y3) - (t * i));
} else if (j <= -1.55e-120) {
tmp = y * (i * ((k * y5) - (x * c)));
} else if (j <= -6e-190) {
tmp = t_1;
} else if (j <= -5.5e-253) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (j <= -1.15e-285) {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
} else if (j <= 1.55e-171) {
tmp = y * (a * ((x * b) - (y3 * y5)));
} else if (j <= 1.55e-117) {
tmp = t_1;
} else if (j <= 0.00031) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 1.9e+80) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 2.7e+219) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = j * (y3 * ((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 = y0 * (y2 * ((x * c) - (k * y5))) tmp = 0 if j <= -3.4e+31: tmp = (j * y5) * ((y0 * y3) - (t * i)) elif j <= -1.55e-120: tmp = y * (i * ((k * y5) - (x * c))) elif j <= -6e-190: tmp = t_1 elif j <= -5.5e-253: tmp = y * (y3 * ((c * y4) - (a * y5))) elif j <= -1.15e-285: tmp = y1 * (y4 * ((k * y2) - (j * y3))) elif j <= 1.55e-171: tmp = y * (a * ((x * b) - (y3 * y5))) elif j <= 1.55e-117: tmp = t_1 elif j <= 0.00031: tmp = b * (a * ((x * y) - (z * t))) elif j <= 1.9e+80: tmp = c * (y0 * ((x * y2) - (z * y3))) elif j <= 2.7e+219: tmp = j * (x * ((i * y1) - (b * y0))) else: tmp = j * (y3 * ((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(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))) tmp = 0.0 if (j <= -3.4e+31) tmp = Float64(Float64(j * y5) * Float64(Float64(y0 * y3) - Float64(t * i))); elseif (j <= -1.55e-120) tmp = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))); elseif (j <= -6e-190) tmp = t_1; elseif (j <= -5.5e-253) tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))); elseif (j <= -1.15e-285) tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3)))); elseif (j <= 1.55e-171) tmp = Float64(y * Float64(a * Float64(Float64(x * b) - Float64(y3 * y5)))); elseif (j <= 1.55e-117) tmp = t_1; elseif (j <= 0.00031) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= 1.9e+80) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (j <= 2.7e+219) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); else tmp = Float64(j * Float64(y3 * 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 = y0 * (y2 * ((x * c) - (k * y5))); tmp = 0.0; if (j <= -3.4e+31) tmp = (j * y5) * ((y0 * y3) - (t * i)); elseif (j <= -1.55e-120) tmp = y * (i * ((k * y5) - (x * c))); elseif (j <= -6e-190) tmp = t_1; elseif (j <= -5.5e-253) tmp = y * (y3 * ((c * y4) - (a * y5))); elseif (j <= -1.15e-285) tmp = y1 * (y4 * ((k * y2) - (j * y3))); elseif (j <= 1.55e-171) tmp = y * (a * ((x * b) - (y3 * y5))); elseif (j <= 1.55e-117) tmp = t_1; elseif (j <= 0.00031) tmp = b * (a * ((x * y) - (z * t))); elseif (j <= 1.9e+80) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (j <= 2.7e+219) tmp = j * (x * ((i * y1) - (b * y0))); else tmp = j * (y3 * ((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[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.4e+31], N[(N[(j * y5), $MachinePrecision] * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.55e-120], N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -6e-190], t$95$1, If[LessEqual[j, -5.5e-253], N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.15e-285], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.55e-171], N[(y * N[(a * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.55e-117], t$95$1, If[LessEqual[j, 0.00031], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.9e+80], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.7e+219], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{if}\;j \leq -3.4 \cdot 10^{+31}:\\
\;\;\;\;\left(j \cdot y5\right) \cdot \left(y0 \cdot y3 - t \cdot i\right)\\
\mathbf{elif}\;j \leq -1.55 \cdot 10^{-120}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{elif}\;j \leq -6 \cdot 10^{-190}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq -5.5 \cdot 10^{-253}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq -1.15 \cdot 10^{-285}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 1.55 \cdot 10^{-171}:\\
\;\;\;\;y \cdot \left(a \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq 1.55 \cdot 10^{-117}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 0.00031:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 1.9 \cdot 10^{+80}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 2.7 \cdot 10^{+219}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\end{array}
\end{array}
if j < -3.3999999999999998e31Initial program 33.3%
Taylor expanded in j around inf 59.4%
Taylor expanded in y5 around inf 45.6%
associate-*r*47.3%
+-commutative47.3%
mul-1-neg47.3%
unsub-neg47.3%
*-commutative47.3%
*-commutative47.3%
Simplified47.3%
if -3.3999999999999998e31 < j < -1.5500000000000001e-120Initial program 25.4%
Taylor expanded in y around inf 50.7%
Taylor expanded in i around inf 54.3%
+-commutative54.3%
mul-1-neg54.3%
unsub-neg54.3%
Simplified54.3%
if -1.5500000000000001e-120 < j < -5.9999999999999996e-190 or 1.55e-171 < j < 1.55000000000000005e-117Initial program 33.3%
Taylor expanded in y0 around inf 50.7%
Taylor expanded in y2 around inf 57.7%
+-commutative57.7%
mul-1-neg57.7%
unsub-neg57.7%
Simplified57.7%
if -5.9999999999999996e-190 < j < -5.49999999999999974e-253Initial program 28.8%
Taylor expanded in y around inf 44.7%
Taylor expanded in y3 around inf 51.5%
*-commutative51.5%
*-commutative51.5%
Simplified51.5%
if -5.49999999999999974e-253 < j < -1.14999999999999998e-285Initial program 41.5%
Taylor expanded in y around inf 49.9%
Taylor expanded in y1 around inf 67.1%
if -1.14999999999999998e-285 < j < 1.55e-171Initial program 54.1%
Taylor expanded in y around inf 57.8%
Taylor expanded in a around inf 40.0%
if 1.55000000000000005e-117 < j < 3.1e-4Initial program 40.8%
Taylor expanded in b around inf 44.2%
Taylor expanded in a around inf 37.8%
*-commutative37.8%
Simplified37.8%
if 3.1e-4 < j < 1.89999999999999999e80Initial program 37.5%
Taylor expanded in y0 around inf 62.8%
Taylor expanded in c around inf 69.5%
if 1.89999999999999999e80 < j < 2.6999999999999999e219Initial program 30.8%
Taylor expanded in j around inf 46.5%
Taylor expanded in x around inf 58.3%
if 2.6999999999999999e219 < j Initial program 18.8%
Taylor expanded in y around inf 37.5%
Taylor expanded in j around inf 69.3%
mul-1-neg69.3%
*-commutative69.3%
*-commutative69.3%
distribute-rgt-neg-in69.3%
*-commutative69.3%
distribute-rgt-neg-in69.3%
*-commutative69.3%
*-commutative69.3%
Simplified69.3%
Final simplification52.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* t (* y2 (- (* a y5) (* c y4))))))
(if (<= j -1.5e+42)
(* (* j y5) (- (* y0 y3) (* t i)))
(if (<= j -1.26e-85)
(* x (* y (- (* a b) (* c i))))
(if (<= j -7.8e-259)
(* k (* y0 (- (* z b) (* y2 y5))))
(if (<= j 3e-203)
t_1
(if (<= j 1.15e-117)
(* b (* y (- (* x a) (* k y4))))
(if (<= j 9.5e-70)
(* b (* a (- (* x y) (* z t))))
(if (<= j 3.8e-62)
t_1
(if (<= j 1.7e-26)
(* b (* y4 (- (* t j) (* y k))))
(if (<= j 1.25e+80)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= j 3.9e+219)
(* j (* x (- (* i y1) (* b y0))))
(* j (* y3 (- (* 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 = t * (y2 * ((a * y5) - (c * y4)));
double tmp;
if (j <= -1.5e+42) {
tmp = (j * y5) * ((y0 * y3) - (t * i));
} else if (j <= -1.26e-85) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (j <= -7.8e-259) {
tmp = k * (y0 * ((z * b) - (y2 * y5)));
} else if (j <= 3e-203) {
tmp = t_1;
} else if (j <= 1.15e-117) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (j <= 9.5e-70) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 3.8e-62) {
tmp = t_1;
} else if (j <= 1.7e-26) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= 1.25e+80) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 3.9e+219) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = j * (y3 * ((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) :: tmp
t_1 = t * (y2 * ((a * y5) - (c * y4)))
if (j <= (-1.5d+42)) then
tmp = (j * y5) * ((y0 * y3) - (t * i))
else if (j <= (-1.26d-85)) then
tmp = x * (y * ((a * b) - (c * i)))
else if (j <= (-7.8d-259)) then
tmp = k * (y0 * ((z * b) - (y2 * y5)))
else if (j <= 3d-203) then
tmp = t_1
else if (j <= 1.15d-117) then
tmp = b * (y * ((x * a) - (k * y4)))
else if (j <= 9.5d-70) then
tmp = b * (a * ((x * y) - (z * t)))
else if (j <= 3.8d-62) then
tmp = t_1
else if (j <= 1.7d-26) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (j <= 1.25d+80) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (j <= 3.9d+219) then
tmp = j * (x * ((i * y1) - (b * y0)))
else
tmp = j * (y3 * ((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 = t * (y2 * ((a * y5) - (c * y4)));
double tmp;
if (j <= -1.5e+42) {
tmp = (j * y5) * ((y0 * y3) - (t * i));
} else if (j <= -1.26e-85) {
tmp = x * (y * ((a * b) - (c * i)));
} else if (j <= -7.8e-259) {
tmp = k * (y0 * ((z * b) - (y2 * y5)));
} else if (j <= 3e-203) {
tmp = t_1;
} else if (j <= 1.15e-117) {
tmp = b * (y * ((x * a) - (k * y4)));
} else if (j <= 9.5e-70) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 3.8e-62) {
tmp = t_1;
} else if (j <= 1.7e-26) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= 1.25e+80) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 3.9e+219) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = j * (y3 * ((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 = t * (y2 * ((a * y5) - (c * y4))) tmp = 0 if j <= -1.5e+42: tmp = (j * y5) * ((y0 * y3) - (t * i)) elif j <= -1.26e-85: tmp = x * (y * ((a * b) - (c * i))) elif j <= -7.8e-259: tmp = k * (y0 * ((z * b) - (y2 * y5))) elif j <= 3e-203: tmp = t_1 elif j <= 1.15e-117: tmp = b * (y * ((x * a) - (k * y4))) elif j <= 9.5e-70: tmp = b * (a * ((x * y) - (z * t))) elif j <= 3.8e-62: tmp = t_1 elif j <= 1.7e-26: tmp = b * (y4 * ((t * j) - (y * k))) elif j <= 1.25e+80: tmp = c * (y0 * ((x * y2) - (z * y3))) elif j <= 3.9e+219: tmp = j * (x * ((i * y1) - (b * y0))) else: tmp = j * (y3 * ((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(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))) tmp = 0.0 if (j <= -1.5e+42) tmp = Float64(Float64(j * y5) * Float64(Float64(y0 * y3) - Float64(t * i))); elseif (j <= -1.26e-85) tmp = Float64(x * Float64(y * Float64(Float64(a * b) - Float64(c * i)))); elseif (j <= -7.8e-259) tmp = Float64(k * Float64(y0 * Float64(Float64(z * b) - Float64(y2 * y5)))); elseif (j <= 3e-203) tmp = t_1; elseif (j <= 1.15e-117) tmp = Float64(b * Float64(y * Float64(Float64(x * a) - Float64(k * y4)))); elseif (j <= 9.5e-70) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= 3.8e-62) tmp = t_1; elseif (j <= 1.7e-26) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (j <= 1.25e+80) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (j <= 3.9e+219) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); else tmp = Float64(j * Float64(y3 * 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 = t * (y2 * ((a * y5) - (c * y4))); tmp = 0.0; if (j <= -1.5e+42) tmp = (j * y5) * ((y0 * y3) - (t * i)); elseif (j <= -1.26e-85) tmp = x * (y * ((a * b) - (c * i))); elseif (j <= -7.8e-259) tmp = k * (y0 * ((z * b) - (y2 * y5))); elseif (j <= 3e-203) tmp = t_1; elseif (j <= 1.15e-117) tmp = b * (y * ((x * a) - (k * y4))); elseif (j <= 9.5e-70) tmp = b * (a * ((x * y) - (z * t))); elseif (j <= 3.8e-62) tmp = t_1; elseif (j <= 1.7e-26) tmp = b * (y4 * ((t * j) - (y * k))); elseif (j <= 1.25e+80) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (j <= 3.9e+219) tmp = j * (x * ((i * y1) - (b * y0))); else tmp = j * (y3 * ((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[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.5e+42], N[(N[(j * y5), $MachinePrecision] * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.26e-85], N[(x * N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -7.8e-259], N[(k * N[(y0 * N[(N[(z * b), $MachinePrecision] - N[(y2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3e-203], t$95$1, If[LessEqual[j, 1.15e-117], N[(b * N[(y * N[(N[(x * a), $MachinePrecision] - N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9.5e-70], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.8e-62], t$95$1, If[LessEqual[j, 1.7e-26], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.25e+80], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.9e+219], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{if}\;j \leq -1.5 \cdot 10^{+42}:\\
\;\;\;\;\left(j \cdot y5\right) \cdot \left(y0 \cdot y3 - t \cdot i\right)\\
\mathbf{elif}\;j \leq -1.26 \cdot 10^{-85}:\\
\;\;\;\;x \cdot \left(y \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;j \leq -7.8 \cdot 10^{-259}:\\
\;\;\;\;k \cdot \left(y0 \cdot \left(z \cdot b - y2 \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq 3 \cdot 10^{-203}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 1.15 \cdot 10^{-117}:\\
\;\;\;\;b \cdot \left(y \cdot \left(x \cdot a - k \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq 9.5 \cdot 10^{-70}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 3.8 \cdot 10^{-62}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;j \leq 1.7 \cdot 10^{-26}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;j \leq 1.25 \cdot 10^{+80}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 3.9 \cdot 10^{+219}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\end{array}
\end{array}
if j < -1.50000000000000014e42Initial program 34.6%
Taylor expanded in j around inf 61.7%
Taylor expanded in y5 around inf 47.2%
associate-*r*49.1%
+-commutative49.1%
mul-1-neg49.1%
unsub-neg49.1%
*-commutative49.1%
*-commutative49.1%
Simplified49.1%
if -1.50000000000000014e42 < j < -1.26e-85Initial program 26.3%
Taylor expanded in y around inf 35.1%
Taylor expanded in x around inf 53.3%
if -1.26e-85 < j < -7.80000000000000031e-259Initial program 33.2%
Taylor expanded in y0 around inf 39.9%
Taylor expanded in k around inf 46.0%
distribute-lft-out--46.0%
*-commutative46.0%
Simplified46.0%
if -7.80000000000000031e-259 < j < 3.0000000000000001e-203 or 9.4999999999999994e-70 < j < 3.80000000000000006e-62Initial program 44.2%
Taylor expanded in y around inf 40.7%
Taylor expanded in t around inf 51.1%
if 3.0000000000000001e-203 < j < 1.14999999999999997e-117Initial program 41.1%
Taylor expanded in b around inf 41.7%
Taylor expanded in y around inf 53.3%
+-commutative53.3%
mul-1-neg53.3%
unsub-neg53.3%
Simplified53.3%
if 1.14999999999999997e-117 < j < 9.4999999999999994e-70Initial program 21.1%
Taylor expanded in b around inf 62.1%
Taylor expanded in a around inf 51.1%
*-commutative51.1%
Simplified51.1%
if 3.80000000000000006e-62 < j < 1.70000000000000007e-26Initial program 45.9%
Taylor expanded in b around inf 31.0%
Taylor expanded in y4 around inf 46.9%
if 1.70000000000000007e-26 < j < 1.2499999999999999e80Initial program 45.0%
Taylor expanded in y0 around inf 55.4%
Taylor expanded in c around inf 60.7%
if 1.2499999999999999e80 < j < 3.8999999999999999e219Initial program 30.8%
Taylor expanded in j around inf 46.5%
Taylor expanded in x around inf 58.3%
if 3.8999999999999999e219 < j Initial program 18.8%
Taylor expanded in y around inf 37.5%
Taylor expanded in j around inf 69.3%
mul-1-neg69.3%
*-commutative69.3%
*-commutative69.3%
distribute-rgt-neg-in69.3%
*-commutative69.3%
distribute-rgt-neg-in69.3%
*-commutative69.3%
*-commutative69.3%
Simplified69.3%
Final simplification52.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y (* y3 (- (* c y4) (* a y5))))))
(if (<= y5 -6e+150)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= y5 -6.5e+23)
(* b (* x (- (* y a) (* j y0))))
(if (<= y5 -9.6e-176)
t_1
(if (<= y5 5.2e-286)
(* y (* x (- (* a b) (* c i))))
(if (<= y5 1.15e-154)
(* a (* b (- (* x y) (* z t))))
(if (<= y5 1.8e+51)
(* j (* x (- (* i y1) (* b y0))))
(if (or (<= y5 1.7e+160) (not (<= y5 1.6e+249)))
(* y (* i (- (* k y5) (* x 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 = y * (y3 * ((c * y4) - (a * y5)));
double tmp;
if (y5 <= -6e+150) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (y5 <= -6.5e+23) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= -9.6e-176) {
tmp = t_1;
} else if (y5 <= 5.2e-286) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (y5 <= 1.15e-154) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y5 <= 1.8e+51) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if ((y5 <= 1.7e+160) || !(y5 <= 1.6e+249)) {
tmp = y * (i * ((k * y5) - (x * 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) :: tmp
t_1 = y * (y3 * ((c * y4) - (a * y5)))
if (y5 <= (-6d+150)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (y5 <= (-6.5d+23)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y5 <= (-9.6d-176)) then
tmp = t_1
else if (y5 <= 5.2d-286) then
tmp = y * (x * ((a * b) - (c * i)))
else if (y5 <= 1.15d-154) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y5 <= 1.8d+51) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if ((y5 <= 1.7d+160) .or. (.not. (y5 <= 1.6d+249))) then
tmp = y * (i * ((k * y5) - (x * 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 = y * (y3 * ((c * y4) - (a * y5)));
double tmp;
if (y5 <= -6e+150) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (y5 <= -6.5e+23) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= -9.6e-176) {
tmp = t_1;
} else if (y5 <= 5.2e-286) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (y5 <= 1.15e-154) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y5 <= 1.8e+51) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if ((y5 <= 1.7e+160) || !(y5 <= 1.6e+249)) {
tmp = y * (i * ((k * y5) - (x * 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 = y * (y3 * ((c * y4) - (a * y5))) tmp = 0 if y5 <= -6e+150: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif y5 <= -6.5e+23: tmp = b * (x * ((y * a) - (j * y0))) elif y5 <= -9.6e-176: tmp = t_1 elif y5 <= 5.2e-286: tmp = y * (x * ((a * b) - (c * i))) elif y5 <= 1.15e-154: tmp = a * (b * ((x * y) - (z * t))) elif y5 <= 1.8e+51: tmp = j * (x * ((i * y1) - (b * y0))) elif (y5 <= 1.7e+160) or not (y5 <= 1.6e+249): tmp = y * (i * ((k * y5) - (x * 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(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))) tmp = 0.0 if (y5 <= -6e+150) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (y5 <= -6.5e+23) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y5 <= -9.6e-176) tmp = t_1; elseif (y5 <= 5.2e-286) tmp = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i)))); elseif (y5 <= 1.15e-154) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y5 <= 1.8e+51) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif ((y5 <= 1.7e+160) || !(y5 <= 1.6e+249)) tmp = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * 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 = y * (y3 * ((c * y4) - (a * y5))); tmp = 0.0; if (y5 <= -6e+150) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (y5 <= -6.5e+23) tmp = b * (x * ((y * a) - (j * y0))); elseif (y5 <= -9.6e-176) tmp = t_1; elseif (y5 <= 5.2e-286) tmp = y * (x * ((a * b) - (c * i))); elseif (y5 <= 1.15e-154) tmp = a * (b * ((x * y) - (z * t))); elseif (y5 <= 1.8e+51) tmp = j * (x * ((i * y1) - (b * y0))); elseif ((y5 <= 1.7e+160) || ~((y5 <= 1.6e+249))) tmp = y * (i * ((k * y5) - (x * 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[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -6e+150], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -6.5e+23], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -9.6e-176], t$95$1, If[LessEqual[y5, 5.2e-286], N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.15e-154], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.8e+51], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[y5, 1.7e+160], N[Not[LessEqual[y5, 1.6e+249]], $MachinePrecision]], N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{if}\;y5 \leq -6 \cdot 10^{+150}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq -6.5 \cdot 10^{+23}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq -9.6 \cdot 10^{-176}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y5 \leq 5.2 \cdot 10^{-286}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;y5 \leq 1.15 \cdot 10^{-154}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y5 \leq 1.8 \cdot 10^{+51}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq 1.7 \cdot 10^{+160} \lor \neg \left(y5 \leq 1.6 \cdot 10^{+249}\right):\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y5 < -6.00000000000000025e150Initial program 38.9%
Taylor expanded in y0 around inf 34.1%
Taylor expanded in y2 around inf 59.3%
+-commutative59.3%
mul-1-neg59.3%
unsub-neg59.3%
Simplified59.3%
if -6.00000000000000025e150 < y5 < -6.4999999999999996e23Initial program 40.9%
Taylor expanded in b around inf 32.1%
Taylor expanded in x around inf 42.2%
if -6.4999999999999996e23 < y5 < -9.60000000000000024e-176 or 1.70000000000000015e160 < y5 < 1.60000000000000007e249Initial program 34.0%
Taylor expanded in y around inf 52.4%
Taylor expanded in y3 around inf 47.5%
*-commutative47.5%
*-commutative47.5%
Simplified47.5%
if -9.60000000000000024e-176 < y5 < 5.1999999999999999e-286Initial program 40.4%
Taylor expanded in y around inf 44.2%
Taylor expanded in x around inf 54.5%
if 5.1999999999999999e-286 < y5 < 1.15e-154Initial program 40.5%
Taylor expanded in b around inf 35.9%
Taylor expanded in a around inf 44.4%
if 1.15e-154 < y5 < 1.80000000000000005e51Initial program 37.1%
Taylor expanded in j around inf 40.6%
Taylor expanded in x around inf 44.0%
if 1.80000000000000005e51 < y5 < 1.70000000000000015e160 or 1.60000000000000007e249 < y5 Initial program 18.2%
Taylor expanded in y around inf 45.9%
Taylor expanded in i around inf 51.0%
+-commutative51.0%
mul-1-neg51.0%
unsub-neg51.0%
Simplified51.0%
Final simplification49.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x b) (* y3 y5)))
(t_2 (* c (* y0 (- (* x y2) (* z y3)))))
(t_3 (* y (* i (- (* k y5) (* x c))))))
(if (<= z -1.6e+85)
t_2
(if (<= z -1.1e-157)
(* y (* a t_1))
(if (<= z -1.6e-267)
(* b (* x (- (* y a) (* j y0))))
(if (<= z 6.5e-71)
(* j (* t (- (* b y4) (* i y5))))
(if (<= z 1e-56)
t_2
(if (<= z 2.7e+117)
t_3
(if (<= z 2.65e+157)
(* a (* y t_1))
(if (<= z 3.35e+255) t_3 (* (* c y3) (* y y4))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * b) - (y3 * y5);
double t_2 = c * (y0 * ((x * y2) - (z * y3)));
double t_3 = y * (i * ((k * y5) - (x * c)));
double tmp;
if (z <= -1.6e+85) {
tmp = t_2;
} else if (z <= -1.1e-157) {
tmp = y * (a * t_1);
} else if (z <= -1.6e-267) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= 6.5e-71) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (z <= 1e-56) {
tmp = t_2;
} else if (z <= 2.7e+117) {
tmp = t_3;
} else if (z <= 2.65e+157) {
tmp = a * (y * t_1);
} else if (z <= 3.35e+255) {
tmp = t_3;
} else {
tmp = (c * y3) * (y * y4);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = (x * b) - (y3 * y5)
t_2 = c * (y0 * ((x * y2) - (z * y3)))
t_3 = y * (i * ((k * y5) - (x * c)))
if (z <= (-1.6d+85)) then
tmp = t_2
else if (z <= (-1.1d-157)) then
tmp = y * (a * t_1)
else if (z <= (-1.6d-267)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= 6.5d-71) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (z <= 1d-56) then
tmp = t_2
else if (z <= 2.7d+117) then
tmp = t_3
else if (z <= 2.65d+157) then
tmp = a * (y * t_1)
else if (z <= 3.35d+255) then
tmp = t_3
else
tmp = (c * y3) * (y * y4)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * b) - (y3 * y5);
double t_2 = c * (y0 * ((x * y2) - (z * y3)));
double t_3 = y * (i * ((k * y5) - (x * c)));
double tmp;
if (z <= -1.6e+85) {
tmp = t_2;
} else if (z <= -1.1e-157) {
tmp = y * (a * t_1);
} else if (z <= -1.6e-267) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= 6.5e-71) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (z <= 1e-56) {
tmp = t_2;
} else if (z <= 2.7e+117) {
tmp = t_3;
} else if (z <= 2.65e+157) {
tmp = a * (y * t_1);
} else if (z <= 3.35e+255) {
tmp = t_3;
} else {
tmp = (c * y3) * (y * y4);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * b) - (y3 * y5) t_2 = c * (y0 * ((x * y2) - (z * y3))) t_3 = y * (i * ((k * y5) - (x * c))) tmp = 0 if z <= -1.6e+85: tmp = t_2 elif z <= -1.1e-157: tmp = y * (a * t_1) elif z <= -1.6e-267: tmp = b * (x * ((y * a) - (j * y0))) elif z <= 6.5e-71: tmp = j * (t * ((b * y4) - (i * y5))) elif z <= 1e-56: tmp = t_2 elif z <= 2.7e+117: tmp = t_3 elif z <= 2.65e+157: tmp = a * (y * t_1) elif z <= 3.35e+255: tmp = t_3 else: tmp = (c * y3) * (y * y4) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * b) - Float64(y3 * y5)) t_2 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) t_3 = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))) tmp = 0.0 if (z <= -1.6e+85) tmp = t_2; elseif (z <= -1.1e-157) tmp = Float64(y * Float64(a * t_1)); elseif (z <= -1.6e-267) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= 6.5e-71) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (z <= 1e-56) tmp = t_2; elseif (z <= 2.7e+117) tmp = t_3; elseif (z <= 2.65e+157) tmp = Float64(a * Float64(y * t_1)); elseif (z <= 3.35e+255) tmp = t_3; else tmp = Float64(Float64(c * y3) * Float64(y * y4)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * b) - (y3 * y5); t_2 = c * (y0 * ((x * y2) - (z * y3))); t_3 = y * (i * ((k * y5) - (x * c))); tmp = 0.0; if (z <= -1.6e+85) tmp = t_2; elseif (z <= -1.1e-157) tmp = y * (a * t_1); elseif (z <= -1.6e-267) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= 6.5e-71) tmp = j * (t * ((b * y4) - (i * y5))); elseif (z <= 1e-56) tmp = t_2; elseif (z <= 2.7e+117) tmp = t_3; elseif (z <= 2.65e+157) tmp = a * (y * t_1); elseif (z <= 3.35e+255) tmp = t_3; else tmp = (c * y3) * (y * y4); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.6e+85], t$95$2, If[LessEqual[z, -1.1e-157], N[(y * N[(a * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.6e-267], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.5e-71], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1e-56], t$95$2, If[LessEqual[z, 2.7e+117], t$95$3, If[LessEqual[z, 2.65e+157], N[(a * N[(y * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.35e+255], t$95$3, N[(N[(c * y3), $MachinePrecision] * N[(y * y4), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot b - y3 \cdot y5\\
t_2 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
t_3 := y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{if}\;z \leq -1.6 \cdot 10^{+85}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq -1.1 \cdot 10^{-157}:\\
\;\;\;\;y \cdot \left(a \cdot t_1\right)\\
\mathbf{elif}\;z \leq -1.6 \cdot 10^{-267}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 6.5 \cdot 10^{-71}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq 10^{-56}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq 2.7 \cdot 10^{+117}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;z \leq 2.65 \cdot 10^{+157}:\\
\;\;\;\;a \cdot \left(y \cdot t_1\right)\\
\mathbf{elif}\;z \leq 3.35 \cdot 10^{+255}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;\left(c \cdot y3\right) \cdot \left(y \cdot y4\right)\\
\end{array}
\end{array}
if z < -1.60000000000000009e85 or 6.50000000000000005e-71 < z < 1e-56Initial program 28.6%
Taylor expanded in y0 around inf 45.4%
Taylor expanded in c around inf 56.2%
if -1.60000000000000009e85 < z < -1.10000000000000005e-157Initial program 41.6%
Taylor expanded in y around inf 45.7%
Taylor expanded in a around inf 40.8%
if -1.10000000000000005e-157 < z < -1.59999999999999993e-267Initial program 26.7%
Taylor expanded in b around inf 53.3%
Taylor expanded in x around inf 59.0%
if -1.59999999999999993e-267 < z < 6.50000000000000005e-71Initial program 35.4%
Taylor expanded in j around inf 43.6%
Taylor expanded in t around inf 32.1%
*-commutative32.1%
*-commutative32.1%
Simplified32.1%
if 1e-56 < z < 2.7000000000000002e117 or 2.6499999999999999e157 < z < 3.35e255Initial program 39.6%
Taylor expanded in y around inf 40.2%
Taylor expanded in i around inf 55.4%
+-commutative55.4%
mul-1-neg55.4%
unsub-neg55.4%
Simplified55.4%
if 2.7000000000000002e117 < z < 2.6499999999999999e157Initial program 18.2%
Taylor expanded in y around inf 20.3%
Taylor expanded in a around inf 47.6%
if 3.35e255 < z Initial program 33.3%
Taylor expanded in y around inf 33.4%
Taylor expanded in y4 around inf 50.9%
associate-*r*50.9%
*-commutative50.9%
distribute-lft-out--50.9%
*-commutative50.9%
*-commutative50.9%
Simplified50.9%
Taylor expanded in k around 0 68.2%
mul-1-neg68.2%
*-commutative68.2%
distribute-rgt-neg-in68.2%
Simplified68.2%
Final simplification47.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y (* y3 (- (* c y4) (* a y5))))))
(if (<= y5 -8.8e+145)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= y5 -1.06e+24)
(* b (* x (- (* y a) (* j y0))))
(if (<= y5 -4.9e-182)
t_1
(if (<= y5 1e-287)
(* y (* x (- (* a b) (* c i))))
(if (<= y5 9e-156)
(* a (* b (- (* x y) (* z t))))
(if (<= y5 1.35e+51)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y5 5.5e+160)
(* y (* i (- (* k y5) (* x c))))
(if (<= y5 9.6e+261)
t_1
(* (* y y5) (- (* i k) (* a y3)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * (y3 * ((c * y4) - (a * y5)));
double tmp;
if (y5 <= -8.8e+145) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (y5 <= -1.06e+24) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= -4.9e-182) {
tmp = t_1;
} else if (y5 <= 1e-287) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (y5 <= 9e-156) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y5 <= 1.35e+51) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y5 <= 5.5e+160) {
tmp = y * (i * ((k * y5) - (x * c)));
} else if (y5 <= 9.6e+261) {
tmp = t_1;
} else {
tmp = (y * y5) * ((i * k) - (a * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y * (y3 * ((c * y4) - (a * y5)))
if (y5 <= (-8.8d+145)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (y5 <= (-1.06d+24)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y5 <= (-4.9d-182)) then
tmp = t_1
else if (y5 <= 1d-287) then
tmp = y * (x * ((a * b) - (c * i)))
else if (y5 <= 9d-156) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y5 <= 1.35d+51) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y5 <= 5.5d+160) then
tmp = y * (i * ((k * y5) - (x * c)))
else if (y5 <= 9.6d+261) then
tmp = t_1
else
tmp = (y * y5) * ((i * k) - (a * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y * (y3 * ((c * y4) - (a * y5)));
double tmp;
if (y5 <= -8.8e+145) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (y5 <= -1.06e+24) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y5 <= -4.9e-182) {
tmp = t_1;
} else if (y5 <= 1e-287) {
tmp = y * (x * ((a * b) - (c * i)));
} else if (y5 <= 9e-156) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y5 <= 1.35e+51) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y5 <= 5.5e+160) {
tmp = y * (i * ((k * y5) - (x * c)));
} else if (y5 <= 9.6e+261) {
tmp = t_1;
} else {
tmp = (y * y5) * ((i * k) - (a * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y * (y3 * ((c * y4) - (a * y5))) tmp = 0 if y5 <= -8.8e+145: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif y5 <= -1.06e+24: tmp = b * (x * ((y * a) - (j * y0))) elif y5 <= -4.9e-182: tmp = t_1 elif y5 <= 1e-287: tmp = y * (x * ((a * b) - (c * i))) elif y5 <= 9e-156: tmp = a * (b * ((x * y) - (z * t))) elif y5 <= 1.35e+51: tmp = j * (x * ((i * y1) - (b * y0))) elif y5 <= 5.5e+160: tmp = y * (i * ((k * y5) - (x * c))) elif y5 <= 9.6e+261: tmp = t_1 else: tmp = (y * y5) * ((i * k) - (a * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))) tmp = 0.0 if (y5 <= -8.8e+145) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (y5 <= -1.06e+24) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y5 <= -4.9e-182) tmp = t_1; elseif (y5 <= 1e-287) tmp = Float64(y * Float64(x * Float64(Float64(a * b) - Float64(c * i)))); elseif (y5 <= 9e-156) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y5 <= 1.35e+51) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y5 <= 5.5e+160) tmp = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))); elseif (y5 <= 9.6e+261) tmp = t_1; else tmp = Float64(Float64(y * y5) * Float64(Float64(i * k) - Float64(a * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y * (y3 * ((c * y4) - (a * y5))); tmp = 0.0; if (y5 <= -8.8e+145) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (y5 <= -1.06e+24) tmp = b * (x * ((y * a) - (j * y0))); elseif (y5 <= -4.9e-182) tmp = t_1; elseif (y5 <= 1e-287) tmp = y * (x * ((a * b) - (c * i))); elseif (y5 <= 9e-156) tmp = a * (b * ((x * y) - (z * t))); elseif (y5 <= 1.35e+51) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y5 <= 5.5e+160) tmp = y * (i * ((k * y5) - (x * c))); elseif (y5 <= 9.6e+261) tmp = t_1; else tmp = (y * y5) * ((i * k) - (a * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -8.8e+145], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -1.06e+24], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -4.9e-182], t$95$1, If[LessEqual[y5, 1e-287], N[(y * N[(x * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9e-156], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.35e+51], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.5e+160], N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9.6e+261], t$95$1, N[(N[(y * y5), $MachinePrecision] * N[(N[(i * k), $MachinePrecision] - N[(a * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{if}\;y5 \leq -8.8 \cdot 10^{+145}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;y5 \leq -1.06 \cdot 10^{+24}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq -4.9 \cdot 10^{-182}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y5 \leq 10^{-287}:\\
\;\;\;\;y \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right)\\
\mathbf{elif}\;y5 \leq 9 \cdot 10^{-156}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y5 \leq 1.35 \cdot 10^{+51}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq 5.5 \cdot 10^{+160}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{elif}\;y5 \leq 9.6 \cdot 10^{+261}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;\left(y \cdot y5\right) \cdot \left(i \cdot k - a \cdot y3\right)\\
\end{array}
\end{array}
if y5 < -8.80000000000000035e145Initial program 38.9%
Taylor expanded in y0 around inf 34.1%
Taylor expanded in y2 around inf 59.3%
+-commutative59.3%
mul-1-neg59.3%
unsub-neg59.3%
Simplified59.3%
if -8.80000000000000035e145 < y5 < -1.06e24Initial program 40.9%
Taylor expanded in b around inf 32.1%
Taylor expanded in x around inf 42.2%
if -1.06e24 < y5 < -4.9000000000000003e-182 or 5.5e160 < y5 < 9.5999999999999993e261Initial program 33.4%
Taylor expanded in y around inf 53.2%
Taylor expanded in y3 around inf 48.4%
*-commutative48.4%
*-commutative48.4%
Simplified48.4%
if -4.9000000000000003e-182 < y5 < 1.00000000000000002e-287Initial program 40.4%
Taylor expanded in y around inf 44.2%
Taylor expanded in x around inf 54.5%
if 1.00000000000000002e-287 < y5 < 8.99999999999999971e-156Initial program 40.5%
Taylor expanded in b around inf 35.9%
Taylor expanded in a around inf 44.4%
if 8.99999999999999971e-156 < y5 < 1.34999999999999996e51Initial program 37.1%
Taylor expanded in j around inf 40.6%
Taylor expanded in x around inf 44.0%
if 1.34999999999999996e51 < y5 < 5.5e160Initial program 18.8%
Taylor expanded in y around inf 47.4%
Taylor expanded in i around inf 48.0%
+-commutative48.0%
mul-1-neg48.0%
unsub-neg48.0%
Simplified48.0%
if 9.5999999999999993e261 < y5 Initial program 18.2%
Taylor expanded in y around inf 36.4%
Taylor expanded in y5 around inf 64.1%
associate-*r*55.5%
*-commutative55.5%
*-commutative55.5%
*-commutative55.5%
Simplified55.5%
Final simplification49.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -6.2e+29)
(* (* j y5) (- (* y0 y3) (* t i)))
(if (<= j -1.95e-120)
(* y (* i (- (* k y5) (* x c))))
(if (<= j -1.15e-189)
(* y0 (* y2 (- (* x c) (* k y5))))
(if (<= j -1.02e-231)
(* y (* y3 (- (* c y4) (* a y5))))
(if (<= j 6.5e-205)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= j 3.5e-5)
(* b (* a (- (* x y) (* z t))))
(if (<= j 1.8e+81)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= j 1.6e+219)
(* j (* x (- (* i y1) (* b y0))))
(* j (* y3 (- (* 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 tmp;
if (j <= -6.2e+29) {
tmp = (j * y5) * ((y0 * y3) - (t * i));
} else if (j <= -1.95e-120) {
tmp = y * (i * ((k * y5) - (x * c)));
} else if (j <= -1.15e-189) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (j <= -1.02e-231) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (j <= 6.5e-205) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (j <= 3.5e-5) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 1.8e+81) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 1.6e+219) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = j * (y3 * ((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) :: tmp
if (j <= (-6.2d+29)) then
tmp = (j * y5) * ((y0 * y3) - (t * i))
else if (j <= (-1.95d-120)) then
tmp = y * (i * ((k * y5) - (x * c)))
else if (j <= (-1.15d-189)) then
tmp = y0 * (y2 * ((x * c) - (k * y5)))
else if (j <= (-1.02d-231)) then
tmp = y * (y3 * ((c * y4) - (a * y5)))
else if (j <= 6.5d-205) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (j <= 3.5d-5) then
tmp = b * (a * ((x * y) - (z * t)))
else if (j <= 1.8d+81) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (j <= 1.6d+219) then
tmp = j * (x * ((i * y1) - (b * y0)))
else
tmp = j * (y3 * ((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 tmp;
if (j <= -6.2e+29) {
tmp = (j * y5) * ((y0 * y3) - (t * i));
} else if (j <= -1.95e-120) {
tmp = y * (i * ((k * y5) - (x * c)));
} else if (j <= -1.15e-189) {
tmp = y0 * (y2 * ((x * c) - (k * y5)));
} else if (j <= -1.02e-231) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (j <= 6.5e-205) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (j <= 3.5e-5) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 1.8e+81) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 1.6e+219) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = j * (y3 * ((y0 * y5) - (y1 * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -6.2e+29: tmp = (j * y5) * ((y0 * y3) - (t * i)) elif j <= -1.95e-120: tmp = y * (i * ((k * y5) - (x * c))) elif j <= -1.15e-189: tmp = y0 * (y2 * ((x * c) - (k * y5))) elif j <= -1.02e-231: tmp = y * (y3 * ((c * y4) - (a * y5))) elif j <= 6.5e-205: tmp = t * (y2 * ((a * y5) - (c * y4))) elif j <= 3.5e-5: tmp = b * (a * ((x * y) - (z * t))) elif j <= 1.8e+81: tmp = c * (y0 * ((x * y2) - (z * y3))) elif j <= 1.6e+219: tmp = j * (x * ((i * y1) - (b * y0))) else: tmp = j * (y3 * ((y0 * y5) - (y1 * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -6.2e+29) tmp = Float64(Float64(j * y5) * Float64(Float64(y0 * y3) - Float64(t * i))); elseif (j <= -1.95e-120) tmp = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))); elseif (j <= -1.15e-189) tmp = Float64(y0 * Float64(y2 * Float64(Float64(x * c) - Float64(k * y5)))); elseif (j <= -1.02e-231) tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))); elseif (j <= 6.5e-205) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (j <= 3.5e-5) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= 1.8e+81) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (j <= 1.6e+219) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); else tmp = Float64(j * Float64(y3 * 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) tmp = 0.0; if (j <= -6.2e+29) tmp = (j * y5) * ((y0 * y3) - (t * i)); elseif (j <= -1.95e-120) tmp = y * (i * ((k * y5) - (x * c))); elseif (j <= -1.15e-189) tmp = y0 * (y2 * ((x * c) - (k * y5))); elseif (j <= -1.02e-231) tmp = y * (y3 * ((c * y4) - (a * y5))); elseif (j <= 6.5e-205) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (j <= 3.5e-5) tmp = b * (a * ((x * y) - (z * t))); elseif (j <= 1.8e+81) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (j <= 1.6e+219) tmp = j * (x * ((i * y1) - (b * y0))); else tmp = j * (y3 * ((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_] := If[LessEqual[j, -6.2e+29], N[(N[(j * y5), $MachinePrecision] * N[(N[(y0 * y3), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.95e-120], N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.15e-189], N[(y0 * N[(y2 * N[(N[(x * c), $MachinePrecision] - N[(k * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.02e-231], N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6.5e-205], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.5e-5], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.8e+81], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.6e+219], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y3 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -6.2 \cdot 10^{+29}:\\
\;\;\;\;\left(j \cdot y5\right) \cdot \left(y0 \cdot y3 - t \cdot i\right)\\
\mathbf{elif}\;j \leq -1.95 \cdot 10^{-120}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{elif}\;j \leq -1.15 \cdot 10^{-189}:\\
\;\;\;\;y0 \cdot \left(y2 \cdot \left(x \cdot c - k \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq -1.02 \cdot 10^{-231}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq 6.5 \cdot 10^{-205}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq 3.5 \cdot 10^{-5}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 1.8 \cdot 10^{+81}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 1.6 \cdot 10^{+219}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\\
\end{array}
\end{array}
if j < -6.1999999999999998e29Initial program 33.3%
Taylor expanded in j around inf 59.4%
Taylor expanded in y5 around inf 45.6%
associate-*r*47.3%
+-commutative47.3%
mul-1-neg47.3%
unsub-neg47.3%
*-commutative47.3%
*-commutative47.3%
Simplified47.3%
if -6.1999999999999998e29 < j < -1.9500000000000001e-120Initial program 25.4%
Taylor expanded in y around inf 50.7%
Taylor expanded in i around inf 54.3%
+-commutative54.3%
mul-1-neg54.3%
unsub-neg54.3%
Simplified54.3%
if -1.9500000000000001e-120 < j < -1.1499999999999999e-189Initial program 38.9%
Taylor expanded in y0 around inf 61.8%
Taylor expanded in y2 around inf 56.6%
+-commutative56.6%
mul-1-neg56.6%
unsub-neg56.6%
Simplified56.6%
if -1.1499999999999999e-189 < j < -1.02000000000000006e-231Initial program 34.9%
Taylor expanded in y around inf 50.5%
Taylor expanded in y3 around inf 59.7%
*-commutative59.7%
*-commutative59.7%
Simplified59.7%
if -1.02000000000000006e-231 < j < 6.49999999999999956e-205Initial program 41.2%
Taylor expanded in y around inf 46.2%
Taylor expanded in t around inf 44.5%
if 6.49999999999999956e-205 < j < 3.4999999999999997e-5Initial program 40.9%
Taylor expanded in b around inf 43.3%
Taylor expanded in a around inf 37.2%
*-commutative37.2%
Simplified37.2%
if 3.4999999999999997e-5 < j < 1.80000000000000003e81Initial program 37.5%
Taylor expanded in y0 around inf 62.8%
Taylor expanded in c around inf 69.5%
if 1.80000000000000003e81 < j < 1.60000000000000013e219Initial program 30.8%
Taylor expanded in j around inf 46.5%
Taylor expanded in x around inf 58.3%
if 1.60000000000000013e219 < j Initial program 18.8%
Taylor expanded in y around inf 37.5%
Taylor expanded in j around inf 69.3%
mul-1-neg69.3%
*-commutative69.3%
*-commutative69.3%
distribute-rgt-neg-in69.3%
*-commutative69.3%
distribute-rgt-neg-in69.3%
*-commutative69.3%
*-commutative69.3%
Simplified69.3%
Final simplification50.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -1e-5)
(* j (* t (- (* b y4) (* i y5))))
(if (<= j -1.05e-136)
(* y (* i (- (* k y5) (* x c))))
(if (<= j -9.5e-175)
(* a (* b (- (* x y) (* z t))))
(if (<= j -1.55e-189)
(* j (* y0 (* y3 y5)))
(if (<= j 3.2e-19)
(* y (* y3 (- (* c y4) (* a y5))))
(if (<= j 7.6e+77)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= j 1.05e+223)
(* j (* x (- (* i y1) (* b y0))))
(* j (* y0 (- (* y3 y5) (* x b))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -1e-5) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (j <= -1.05e-136) {
tmp = y * (i * ((k * y5) - (x * c)));
} else if (j <= -9.5e-175) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= -1.55e-189) {
tmp = j * (y0 * (y3 * y5));
} else if (j <= 3.2e-19) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (j <= 7.6e+77) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 1.05e+223) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (j <= (-1d-5)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (j <= (-1.05d-136)) then
tmp = y * (i * ((k * y5) - (x * c)))
else if (j <= (-9.5d-175)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (j <= (-1.55d-189)) then
tmp = j * (y0 * (y3 * y5))
else if (j <= 3.2d-19) then
tmp = y * (y3 * ((c * y4) - (a * y5)))
else if (j <= 7.6d+77) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (j <= 1.05d+223) then
tmp = j * (x * ((i * y1) - (b * y0)))
else
tmp = j * (y0 * ((y3 * y5) - (x * b)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (j <= -1e-5) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (j <= -1.05e-136) {
tmp = y * (i * ((k * y5) - (x * c)));
} else if (j <= -9.5e-175) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= -1.55e-189) {
tmp = j * (y0 * (y3 * y5));
} else if (j <= 3.2e-19) {
tmp = y * (y3 * ((c * y4) - (a * y5)));
} else if (j <= 7.6e+77) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (j <= 1.05e+223) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if j <= -1e-5: tmp = j * (t * ((b * y4) - (i * y5))) elif j <= -1.05e-136: tmp = y * (i * ((k * y5) - (x * c))) elif j <= -9.5e-175: tmp = a * (b * ((x * y) - (z * t))) elif j <= -1.55e-189: tmp = j * (y0 * (y3 * y5)) elif j <= 3.2e-19: tmp = y * (y3 * ((c * y4) - (a * y5))) elif j <= 7.6e+77: tmp = c * (y0 * ((x * y2) - (z * y3))) elif j <= 1.05e+223: tmp = j * (x * ((i * y1) - (b * y0))) else: tmp = j * (y0 * ((y3 * y5) - (x * b))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (j <= -1e-5) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (j <= -1.05e-136) tmp = Float64(y * Float64(i * Float64(Float64(k * y5) - Float64(x * c)))); elseif (j <= -9.5e-175) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= -1.55e-189) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (j <= 3.2e-19) tmp = Float64(y * Float64(y3 * Float64(Float64(c * y4) - Float64(a * y5)))); elseif (j <= 7.6e+77) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (j <= 1.05e+223) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); else tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (j <= -1e-5) tmp = j * (t * ((b * y4) - (i * y5))); elseif (j <= -1.05e-136) tmp = y * (i * ((k * y5) - (x * c))); elseif (j <= -9.5e-175) tmp = a * (b * ((x * y) - (z * t))); elseif (j <= -1.55e-189) tmp = j * (y0 * (y3 * y5)); elseif (j <= 3.2e-19) tmp = y * (y3 * ((c * y4) - (a * y5))); elseif (j <= 7.6e+77) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (j <= 1.05e+223) tmp = j * (x * ((i * y1) - (b * y0))); else tmp = j * (y0 * ((y3 * y5) - (x * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[j, -1e-5], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.05e-136], N[(y * N[(i * N[(N[(k * y5), $MachinePrecision] - N[(x * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -9.5e-175], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.55e-189], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.2e-19], N[(y * N[(y3 * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 7.6e+77], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.05e+223], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -1 \cdot 10^{-5}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq -1.05 \cdot 10^{-136}:\\
\;\;\;\;y \cdot \left(i \cdot \left(k \cdot y5 - x \cdot c\right)\right)\\
\mathbf{elif}\;j \leq -9.5 \cdot 10^{-175}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq -1.55 \cdot 10^{-189}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq 3.2 \cdot 10^{-19}:\\
\;\;\;\;y \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq 7.6 \cdot 10^{+77}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 1.05 \cdot 10^{+223}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\end{array}
\end{array}
if j < -1.00000000000000008e-5Initial program 34.4%
Taylor expanded in j around inf 52.6%
Taylor expanded in t around inf 43.4%
*-commutative43.4%
*-commutative43.4%
Simplified43.4%
if -1.00000000000000008e-5 < j < -1.0499999999999999e-136Initial program 25.5%
Taylor expanded in y around inf 57.8%
Taylor expanded in i around inf 54.9%
+-commutative54.9%
mul-1-neg54.9%
unsub-neg54.9%
Simplified54.9%
if -1.0499999999999999e-136 < j < -9.50000000000000052e-175Initial program 37.5%
Taylor expanded in b around inf 64.3%
Taylor expanded in a around inf 70.8%
if -9.50000000000000052e-175 < j < -1.55e-189Initial program 33.3%
Taylor expanded in j around inf 66.7%
Taylor expanded in y0 around inf 34.6%
Taylor expanded in y3 around inf 68.0%
if -1.55e-189 < j < 3.19999999999999982e-19Initial program 39.5%
Taylor expanded in y around inf 44.7%
Taylor expanded in y3 around inf 35.9%
*-commutative35.9%
*-commutative35.9%
Simplified35.9%
if 3.19999999999999982e-19 < j < 7.6000000000000002e77Initial program 42.1%
Taylor expanded in y0 around inf 58.2%
Taylor expanded in c around inf 63.8%
if 7.6000000000000002e77 < j < 1.04999999999999995e223Initial program 33.3%
Taylor expanded in j around inf 48.5%
Taylor expanded in x around inf 56.3%
if 1.04999999999999995e223 < j Initial program 13.3%
Taylor expanded in j around inf 73.3%
Taylor expanded in y0 around inf 55.2%
Final simplification46.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y (- (* x b) (* y3 y5)))))
(t_2 (* j (* x (- (* i y1) (* b y0))))))
(if (<= x -1.4e+19)
t_2
(if (<= x -8.7e-191)
t_1
(if (<= x 1.5e-218)
(* j (* t (- (* b y4) (* i y5))))
(if (<= x 2.8e+23)
(* a (* b (- (* x y) (* z t))))
(if (<= x 2e+159)
(* b (* y4 (- (* t j) (* y k))))
(if (<= x 5.2e+204) t_1 t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y * ((x * b) - (y3 * y5)));
double t_2 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (x <= -1.4e+19) {
tmp = t_2;
} else if (x <= -8.7e-191) {
tmp = t_1;
} else if (x <= 1.5e-218) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (x <= 2.8e+23) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (x <= 2e+159) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (x <= 5.2e+204) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = a * (y * ((x * b) - (y3 * y5)))
t_2 = j * (x * ((i * y1) - (b * y0)))
if (x <= (-1.4d+19)) then
tmp = t_2
else if (x <= (-8.7d-191)) then
tmp = t_1
else if (x <= 1.5d-218) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (x <= 2.8d+23) then
tmp = a * (b * ((x * y) - (z * t)))
else if (x <= 2d+159) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (x <= 5.2d+204) then
tmp = t_1
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * (y * ((x * b) - (y3 * y5)));
double t_2 = j * (x * ((i * y1) - (b * y0)));
double tmp;
if (x <= -1.4e+19) {
tmp = t_2;
} else if (x <= -8.7e-191) {
tmp = t_1;
} else if (x <= 1.5e-218) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (x <= 2.8e+23) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (x <= 2e+159) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (x <= 5.2e+204) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (y * ((x * b) - (y3 * y5))) t_2 = j * (x * ((i * y1) - (b * y0))) tmp = 0 if x <= -1.4e+19: tmp = t_2 elif x <= -8.7e-191: tmp = t_1 elif x <= 1.5e-218: tmp = j * (t * ((b * y4) - (i * y5))) elif x <= 2.8e+23: tmp = a * (b * ((x * y) - (z * t))) elif x <= 2e+159: tmp = b * (y4 * ((t * j) - (y * k))) elif x <= 5.2e+204: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))) t_2 = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))) tmp = 0.0 if (x <= -1.4e+19) tmp = t_2; elseif (x <= -8.7e-191) tmp = t_1; elseif (x <= 1.5e-218) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (x <= 2.8e+23) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (x <= 2e+159) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (x <= 5.2e+204) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * (y * ((x * b) - (y3 * y5))); t_2 = j * (x * ((i * y1) - (b * y0))); tmp = 0.0; if (x <= -1.4e+19) tmp = t_2; elseif (x <= -8.7e-191) tmp = t_1; elseif (x <= 1.5e-218) tmp = j * (t * ((b * y4) - (i * y5))); elseif (x <= 2.8e+23) tmp = a * (b * ((x * y) - (z * t))); elseif (x <= 2e+159) tmp = b * (y4 * ((t * j) - (y * k))); elseif (x <= 5.2e+204) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.4e+19], t$95$2, If[LessEqual[x, -8.7e-191], t$95$1, If[LessEqual[x, 1.5e-218], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.8e+23], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2e+159], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.2e+204], t$95$1, t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
t_2 := j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{if}\;x \leq -1.4 \cdot 10^{+19}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;x \leq -8.7 \cdot 10^{-191}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 1.5 \cdot 10^{-218}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 2.8 \cdot 10^{+23}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;x \leq 2 \cdot 10^{+159}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;x \leq 5.2 \cdot 10^{+204}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if x < -1.4e19 or 5.2000000000000002e204 < x Initial program 30.7%
Taylor expanded in j around inf 45.3%
Taylor expanded in x around inf 54.2%
if -1.4e19 < x < -8.69999999999999979e-191 or 1.9999999999999999e159 < x < 5.2000000000000002e204Initial program 33.3%
Taylor expanded in y around inf 37.5%
Taylor expanded in a around inf 36.7%
if -8.69999999999999979e-191 < x < 1.4999999999999999e-218Initial program 40.2%
Taylor expanded in j around inf 32.5%
Taylor expanded in t around inf 31.1%
*-commutative31.1%
*-commutative31.1%
Simplified31.1%
if 1.4999999999999999e-218 < x < 2.8e23Initial program 35.7%
Taylor expanded in b around inf 33.4%
Taylor expanded in a around inf 36.4%
if 2.8e23 < x < 1.9999999999999999e159Initial program 34.3%
Taylor expanded in b around inf 37.9%
Taylor expanded in y4 around inf 44.8%
Final simplification41.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y) (* z t)))
(t_2 (* a (* b t_1)))
(t_3 (* c (* y0 (- (* x y2) (* z y3))))))
(if (<= i -5.4e+90)
(* j (* x (- (* i y1) (* b y0))))
(if (<= i -7.5e-23)
t_2
(if (<= i -3e-137)
t_3
(if (<= i -1.15e-251)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= i 1.1e-185)
(* b (* a t_1))
(if (<= i 1.65e-72) t_3 t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double t_2 = a * (b * t_1);
double t_3 = c * (y0 * ((x * y2) - (z * y3)));
double tmp;
if (i <= -5.4e+90) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (i <= -7.5e-23) {
tmp = t_2;
} else if (i <= -3e-137) {
tmp = t_3;
} else if (i <= -1.15e-251) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= 1.1e-185) {
tmp = b * (a * t_1);
} else if (i <= 1.65e-72) {
tmp = t_3;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = (x * y) - (z * t)
t_2 = a * (b * t_1)
t_3 = c * (y0 * ((x * y2) - (z * y3)))
if (i <= (-5.4d+90)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (i <= (-7.5d-23)) then
tmp = t_2
else if (i <= (-3d-137)) then
tmp = t_3
else if (i <= (-1.15d-251)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (i <= 1.1d-185) then
tmp = b * (a * t_1)
else if (i <= 1.65d-72) then
tmp = t_3
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double t_2 = a * (b * t_1);
double t_3 = c * (y0 * ((x * y2) - (z * y3)));
double tmp;
if (i <= -5.4e+90) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (i <= -7.5e-23) {
tmp = t_2;
} else if (i <= -3e-137) {
tmp = t_3;
} else if (i <= -1.15e-251) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= 1.1e-185) {
tmp = b * (a * t_1);
} else if (i <= 1.65e-72) {
tmp = t_3;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) t_2 = a * (b * t_1) t_3 = c * (y0 * ((x * y2) - (z * y3))) tmp = 0 if i <= -5.4e+90: tmp = j * (x * ((i * y1) - (b * y0))) elif i <= -7.5e-23: tmp = t_2 elif i <= -3e-137: tmp = t_3 elif i <= -1.15e-251: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif i <= 1.1e-185: tmp = b * (a * t_1) elif i <= 1.65e-72: tmp = t_3 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) - Float64(z * t)) t_2 = Float64(a * Float64(b * t_1)) t_3 = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) tmp = 0.0 if (i <= -5.4e+90) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (i <= -7.5e-23) tmp = t_2; elseif (i <= -3e-137) tmp = t_3; elseif (i <= -1.15e-251) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (i <= 1.1e-185) tmp = Float64(b * Float64(a * t_1)); elseif (i <= 1.65e-72) tmp = t_3; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * y) - (z * t); t_2 = a * (b * t_1); t_3 = c * (y0 * ((x * y2) - (z * y3))); tmp = 0.0; if (i <= -5.4e+90) tmp = j * (x * ((i * y1) - (b * y0))); elseif (i <= -7.5e-23) tmp = t_2; elseif (i <= -3e-137) tmp = t_3; elseif (i <= -1.15e-251) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (i <= 1.1e-185) tmp = b * (a * t_1); elseif (i <= 1.65e-72) tmp = t_3; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -5.4e+90], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -7.5e-23], t$95$2, If[LessEqual[i, -3e-137], t$95$3, If[LessEqual[i, -1.15e-251], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.1e-185], N[(b * N[(a * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.65e-72], t$95$3, t$95$2]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
t_2 := a \cdot \left(b \cdot t_1\right)\\
t_3 := c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{if}\;i \leq -5.4 \cdot 10^{+90}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;i \leq -7.5 \cdot 10^{-23}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;i \leq -3 \cdot 10^{-137}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;i \leq -1.15 \cdot 10^{-251}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;i \leq 1.1 \cdot 10^{-185}:\\
\;\;\;\;b \cdot \left(a \cdot t_1\right)\\
\mathbf{elif}\;i \leq 1.65 \cdot 10^{-72}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
if i < -5.4e90Initial program 27.4%
Taylor expanded in j around inf 43.2%
Taylor expanded in x around inf 46.0%
if -5.4e90 < i < -7.4999999999999998e-23 or 1.65e-72 < i Initial program 27.7%
Taylor expanded in b around inf 35.4%
Taylor expanded in a around inf 36.7%
if -7.4999999999999998e-23 < i < -2.9999999999999998e-137 or 1.1e-185 < i < 1.65e-72Initial program 41.6%
Taylor expanded in y0 around inf 63.0%
Taylor expanded in c around inf 51.8%
if -2.9999999999999998e-137 < i < -1.15000000000000009e-251Initial program 41.5%
Taylor expanded in j around inf 49.0%
Taylor expanded in y0 around inf 46.0%
if -1.15000000000000009e-251 < i < 1.1e-185Initial program 48.4%
Taylor expanded in b around inf 42.8%
Taylor expanded in a around inf 37.4%
*-commutative37.4%
Simplified37.4%
Final simplification42.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* (* x y) a))))
(if (<= x -1.4e+103)
t_1
(if (<= x 1.7e-287)
(* j (* y0 (* y3 y5)))
(if (<= x 8.5e+23)
(* a (* b (* t (- z))))
(if (<= x 9.5e+90)
(* b (* k (* y (- y4))))
(if (or (<= x 7.2e+134) (not (<= x 1.55e+205)))
(* j (* y0 (* x (- 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 = b * ((x * y) * a);
double tmp;
if (x <= -1.4e+103) {
tmp = t_1;
} else if (x <= 1.7e-287) {
tmp = j * (y0 * (y3 * y5));
} else if (x <= 8.5e+23) {
tmp = a * (b * (t * -z));
} else if (x <= 9.5e+90) {
tmp = b * (k * (y * -y4));
} else if ((x <= 7.2e+134) || !(x <= 1.55e+205)) {
tmp = j * (y0 * (x * -b));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * ((x * y) * a)
if (x <= (-1.4d+103)) then
tmp = t_1
else if (x <= 1.7d-287) then
tmp = j * (y0 * (y3 * y5))
else if (x <= 8.5d+23) then
tmp = a * (b * (t * -z))
else if (x <= 9.5d+90) then
tmp = b * (k * (y * -y4))
else if ((x <= 7.2d+134) .or. (.not. (x <= 1.55d+205))) then
tmp = j * (y0 * (x * -b))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * ((x * y) * a);
double tmp;
if (x <= -1.4e+103) {
tmp = t_1;
} else if (x <= 1.7e-287) {
tmp = j * (y0 * (y3 * y5));
} else if (x <= 8.5e+23) {
tmp = a * (b * (t * -z));
} else if (x <= 9.5e+90) {
tmp = b * (k * (y * -y4));
} else if ((x <= 7.2e+134) || !(x <= 1.55e+205)) {
tmp = j * (y0 * (x * -b));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * ((x * y) * a) tmp = 0 if x <= -1.4e+103: tmp = t_1 elif x <= 1.7e-287: tmp = j * (y0 * (y3 * y5)) elif x <= 8.5e+23: tmp = a * (b * (t * -z)) elif x <= 9.5e+90: tmp = b * (k * (y * -y4)) elif (x <= 7.2e+134) or not (x <= 1.55e+205): tmp = j * (y0 * (x * -b)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(Float64(x * y) * a)) tmp = 0.0 if (x <= -1.4e+103) tmp = t_1; elseif (x <= 1.7e-287) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (x <= 8.5e+23) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); elseif (x <= 9.5e+90) tmp = Float64(b * Float64(k * Float64(y * Float64(-y4)))); elseif ((x <= 7.2e+134) || !(x <= 1.55e+205)) tmp = Float64(j * Float64(y0 * Float64(x * Float64(-b)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * ((x * y) * a); tmp = 0.0; if (x <= -1.4e+103) tmp = t_1; elseif (x <= 1.7e-287) tmp = j * (y0 * (y3 * y5)); elseif (x <= 8.5e+23) tmp = a * (b * (t * -z)); elseif (x <= 9.5e+90) tmp = b * (k * (y * -y4)); elseif ((x <= 7.2e+134) || ~((x <= 1.55e+205))) tmp = j * (y0 * (x * -b)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.4e+103], t$95$1, If[LessEqual[x, 1.7e-287], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 8.5e+23], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 9.5e+90], N[(b * N[(k * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[x, 7.2e+134], N[Not[LessEqual[x, 1.55e+205]], $MachinePrecision]], N[(j * N[(y0 * N[(x * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{if}\;x \leq -1.4 \cdot 10^{+103}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 1.7 \cdot 10^{-287}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 8.5 \cdot 10^{+23}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;x \leq 9.5 \cdot 10^{+90}:\\
\;\;\;\;b \cdot \left(k \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;x \leq 7.2 \cdot 10^{+134} \lor \neg \left(x \leq 1.55 \cdot 10^{+205}\right):\\
\;\;\;\;j \cdot \left(y0 \cdot \left(x \cdot \left(-b\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if x < -1.40000000000000004e103 or 7.19999999999999976e134 < x < 1.55000000000000009e205Initial program 30.0%
Taylor expanded in b around inf 34.4%
Taylor expanded in a around inf 42.0%
Taylor expanded in x around inf 35.0%
*-commutative35.0%
Simplified35.0%
Taylor expanded in a around 0 35.0%
*-commutative35.0%
associate-*r*36.7%
Simplified36.7%
if -1.40000000000000004e103 < x < 1.6999999999999999e-287Initial program 34.3%
Taylor expanded in j around inf 36.6%
Taylor expanded in y0 around inf 32.4%
Taylor expanded in y3 around inf 25.4%
if 1.6999999999999999e-287 < x < 8.5000000000000001e23Initial program 38.3%
Taylor expanded in b around inf 32.6%
Taylor expanded in a around inf 32.4%
Taylor expanded in x around 0 30.2%
associate-*r*30.2%
neg-mul-130.2%
*-commutative30.2%
Simplified30.2%
if 8.5000000000000001e23 < x < 9.4999999999999994e90Initial program 55.5%
Taylor expanded in y around inf 34.3%
Taylor expanded in y4 around inf 39.7%
associate-*r*29.6%
*-commutative29.6%
distribute-lft-out--29.6%
*-commutative29.6%
*-commutative29.6%
Simplified29.6%
Taylor expanded in k around inf 45.5%
mul-1-neg45.5%
distribute-rgt-neg-in45.5%
*-commutative45.5%
Simplified45.5%
if 9.4999999999999994e90 < x < 7.19999999999999976e134 or 1.55000000000000009e205 < x Initial program 21.4%
Taylor expanded in j around inf 39.9%
Taylor expanded in y0 around inf 33.4%
Taylor expanded in y3 around 0 36.9%
mul-1-neg36.9%
associate-*r*36.9%
distribute-rgt-neg-in36.9%
Simplified36.9%
Final simplification31.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* j (* y0 (* x (- b))))))
(if (<= x -0.11)
t_1
(if (<= x 4.9e-225)
(* y (* a (- (* y3 y5))))
(if (<= x 5.8e+23)
(* a (* b (* t (- z))))
(if (<= x 5.5e+90)
(* b (* k (* y (- y4))))
(if (or (<= x 1.32e+136) (not (<= x 2.25e+209)))
t_1
(* b (* (* x y) a)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (y0 * (x * -b));
double tmp;
if (x <= -0.11) {
tmp = t_1;
} else if (x <= 4.9e-225) {
tmp = y * (a * -(y3 * y5));
} else if (x <= 5.8e+23) {
tmp = a * (b * (t * -z));
} else if (x <= 5.5e+90) {
tmp = b * (k * (y * -y4));
} else if ((x <= 1.32e+136) || !(x <= 2.25e+209)) {
tmp = t_1;
} else {
tmp = b * ((x * y) * a);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = j * (y0 * (x * -b))
if (x <= (-0.11d0)) then
tmp = t_1
else if (x <= 4.9d-225) then
tmp = y * (a * -(y3 * y5))
else if (x <= 5.8d+23) then
tmp = a * (b * (t * -z))
else if (x <= 5.5d+90) then
tmp = b * (k * (y * -y4))
else if ((x <= 1.32d+136) .or. (.not. (x <= 2.25d+209))) then
tmp = t_1
else
tmp = b * ((x * y) * a)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = j * (y0 * (x * -b));
double tmp;
if (x <= -0.11) {
tmp = t_1;
} else if (x <= 4.9e-225) {
tmp = y * (a * -(y3 * y5));
} else if (x <= 5.8e+23) {
tmp = a * (b * (t * -z));
} else if (x <= 5.5e+90) {
tmp = b * (k * (y * -y4));
} else if ((x <= 1.32e+136) || !(x <= 2.25e+209)) {
tmp = t_1;
} else {
tmp = b * ((x * y) * a);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = j * (y0 * (x * -b)) tmp = 0 if x <= -0.11: tmp = t_1 elif x <= 4.9e-225: tmp = y * (a * -(y3 * y5)) elif x <= 5.8e+23: tmp = a * (b * (t * -z)) elif x <= 5.5e+90: tmp = b * (k * (y * -y4)) elif (x <= 1.32e+136) or not (x <= 2.25e+209): tmp = t_1 else: tmp = b * ((x * y) * a) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(j * Float64(y0 * Float64(x * Float64(-b)))) tmp = 0.0 if (x <= -0.11) tmp = t_1; elseif (x <= 4.9e-225) tmp = Float64(y * Float64(a * Float64(-Float64(y3 * y5)))); elseif (x <= 5.8e+23) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); elseif (x <= 5.5e+90) tmp = Float64(b * Float64(k * Float64(y * Float64(-y4)))); elseif ((x <= 1.32e+136) || !(x <= 2.25e+209)) tmp = t_1; else tmp = Float64(b * Float64(Float64(x * y) * a)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = j * (y0 * (x * -b)); tmp = 0.0; if (x <= -0.11) tmp = t_1; elseif (x <= 4.9e-225) tmp = y * (a * -(y3 * y5)); elseif (x <= 5.8e+23) tmp = a * (b * (t * -z)); elseif (x <= 5.5e+90) tmp = b * (k * (y * -y4)); elseif ((x <= 1.32e+136) || ~((x <= 2.25e+209))) tmp = t_1; else tmp = b * ((x * y) * a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(x * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -0.11], t$95$1, If[LessEqual[x, 4.9e-225], N[(y * N[(a * (-N[(y3 * y5), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.8e+23], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 5.5e+90], N[(b * N[(k * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[x, 1.32e+136], N[Not[LessEqual[x, 2.25e+209]], $MachinePrecision]], t$95$1, N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := j \cdot \left(y0 \cdot \left(x \cdot \left(-b\right)\right)\right)\\
\mathbf{if}\;x \leq -0.11:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 4.9 \cdot 10^{-225}:\\
\;\;\;\;y \cdot \left(a \cdot \left(-y3 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 5.8 \cdot 10^{+23}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;x \leq 5.5 \cdot 10^{+90}:\\
\;\;\;\;b \cdot \left(k \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.32 \cdot 10^{+136} \lor \neg \left(x \leq 2.25 \cdot 10^{+209}\right):\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\end{array}
\end{array}
if x < -0.110000000000000001 or 5.49999999999999999e90 < x < 1.32e136 or 2.2500000000000002e209 < x Initial program 29.0%
Taylor expanded in j around inf 40.6%
Taylor expanded in y0 around inf 35.8%
Taylor expanded in y3 around 0 34.5%
mul-1-neg34.5%
associate-*r*32.4%
distribute-rgt-neg-in32.4%
Simplified32.4%
if -0.110000000000000001 < x < 4.89999999999999971e-225Initial program 36.7%
Taylor expanded in y around inf 33.2%
Taylor expanded in a around inf 26.5%
Taylor expanded in b around 0 25.3%
mul-1-neg25.3%
*-commutative25.3%
distribute-rgt-neg-in25.3%
Simplified25.3%
if 4.89999999999999971e-225 < x < 5.80000000000000025e23Initial program 35.7%
Taylor expanded in b around inf 33.4%
Taylor expanded in a around inf 36.4%
Taylor expanded in x around 0 33.6%
associate-*r*33.6%
neg-mul-133.6%
*-commutative33.6%
Simplified33.6%
if 5.80000000000000025e23 < x < 5.49999999999999999e90Initial program 55.5%
Taylor expanded in y around inf 34.3%
Taylor expanded in y4 around inf 39.7%
associate-*r*29.6%
*-commutative29.6%
distribute-lft-out--29.6%
*-commutative29.6%
*-commutative29.6%
Simplified29.6%
Taylor expanded in k around inf 45.5%
mul-1-neg45.5%
distribute-rgt-neg-in45.5%
*-commutative45.5%
Simplified45.5%
if 1.32e136 < x < 2.2500000000000002e209Initial program 25.0%
Taylor expanded in b around inf 27.1%
Taylor expanded in a around inf 51.2%
Taylor expanded in x around inf 43.4%
*-commutative43.4%
Simplified43.4%
Taylor expanded in a around 0 43.4%
*-commutative43.4%
associate-*r*51.2%
Simplified51.2%
Final simplification32.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y) (* z t))))
(if (<= t -2.9e+72)
(* a (* b t_1))
(if (<= t -560000.0)
(* b (* y4 (- (* t j) (* y k))))
(if (or (<= t -1.15e-215) (not (<= t 0.054)))
(* b (* a t_1))
(* a (* y (- (* x b) (* y3 y5)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double tmp;
if (t <= -2.9e+72) {
tmp = a * (b * t_1);
} else if (t <= -560000.0) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if ((t <= -1.15e-215) || !(t <= 0.054)) {
tmp = b * (a * t_1);
} else {
tmp = a * (y * ((x * b) - (y3 * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (x * y) - (z * t)
if (t <= (-2.9d+72)) then
tmp = a * (b * t_1)
else if (t <= (-560000.0d0)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if ((t <= (-1.15d-215)) .or. (.not. (t <= 0.054d0))) then
tmp = b * (a * t_1)
else
tmp = a * (y * ((x * b) - (y3 * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double tmp;
if (t <= -2.9e+72) {
tmp = a * (b * t_1);
} else if (t <= -560000.0) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if ((t <= -1.15e-215) || !(t <= 0.054)) {
tmp = b * (a * t_1);
} else {
tmp = a * (y * ((x * b) - (y3 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) tmp = 0 if t <= -2.9e+72: tmp = a * (b * t_1) elif t <= -560000.0: tmp = b * (y4 * ((t * j) - (y * k))) elif (t <= -1.15e-215) or not (t <= 0.054): tmp = b * (a * t_1) else: tmp = a * (y * ((x * b) - (y3 * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) - Float64(z * t)) tmp = 0.0 if (t <= -2.9e+72) tmp = Float64(a * Float64(b * t_1)); elseif (t <= -560000.0) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif ((t <= -1.15e-215) || !(t <= 0.054)) tmp = Float64(b * Float64(a * t_1)); else tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * y) - (z * t); tmp = 0.0; if (t <= -2.9e+72) tmp = a * (b * t_1); elseif (t <= -560000.0) tmp = b * (y4 * ((t * j) - (y * k))); elseif ((t <= -1.15e-215) || ~((t <= 0.054))) tmp = b * (a * t_1); else tmp = a * (y * ((x * b) - (y3 * 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[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.9e+72], N[(a * N[(b * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -560000.0], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[t, -1.15e-215], N[Not[LessEqual[t, 0.054]], $MachinePrecision]], N[(b * N[(a * t$95$1), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
\mathbf{if}\;t \leq -2.9 \cdot 10^{+72}:\\
\;\;\;\;a \cdot \left(b \cdot t_1\right)\\
\mathbf{elif}\;t \leq -560000:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;t \leq -1.15 \cdot 10^{-215} \lor \neg \left(t \leq 0.054\right):\\
\;\;\;\;b \cdot \left(a \cdot t_1\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\end{array}
\end{array}
if t < -2.90000000000000017e72Initial program 22.7%
Taylor expanded in b around inf 34.2%
Taylor expanded in a around inf 48.7%
if -2.90000000000000017e72 < t < -5.6e5Initial program 30.0%
Taylor expanded in b around inf 35.9%
Taylor expanded in y4 around inf 59.5%
if -5.6e5 < t < -1.15e-215 or 0.0539999999999999994 < t Initial program 36.5%
Taylor expanded in b around inf 33.3%
Taylor expanded in a around inf 28.3%
*-commutative28.3%
Simplified28.3%
if -1.15e-215 < t < 0.0539999999999999994Initial program 39.2%
Taylor expanded in y around inf 43.5%
Taylor expanded in a around inf 37.8%
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 (* b (- (* x y) (* z t))))))
(if (<= c -2.15e+280)
(* c (* (* z y3) (- y0)))
(if (<= c -6.4e-16)
t_1
(if (<= c -4e-235)
(* b (* (* y k) (- y4)))
(if (<= c 1.5e+194) t_1 (* (* c y3) (* y 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 = a * (b * ((x * y) - (z * t)));
double tmp;
if (c <= -2.15e+280) {
tmp = c * ((z * y3) * -y0);
} else if (c <= -6.4e-16) {
tmp = t_1;
} else if (c <= -4e-235) {
tmp = b * ((y * k) * -y4);
} else if (c <= 1.5e+194) {
tmp = t_1;
} else {
tmp = (c * y3) * (y * 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 = a * (b * ((x * y) - (z * t)))
if (c <= (-2.15d+280)) then
tmp = c * ((z * y3) * -y0)
else if (c <= (-6.4d-16)) then
tmp = t_1
else if (c <= (-4d-235)) then
tmp = b * ((y * k) * -y4)
else if (c <= 1.5d+194) then
tmp = t_1
else
tmp = (c * y3) * (y * 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 = a * (b * ((x * y) - (z * t)));
double tmp;
if (c <= -2.15e+280) {
tmp = c * ((z * y3) * -y0);
} else if (c <= -6.4e-16) {
tmp = t_1;
} else if (c <= -4e-235) {
tmp = b * ((y * k) * -y4);
} else if (c <= 1.5e+194) {
tmp = t_1;
} else {
tmp = (c * y3) * (y * y4);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (b * ((x * y) - (z * t))) tmp = 0 if c <= -2.15e+280: tmp = c * ((z * y3) * -y0) elif c <= -6.4e-16: tmp = t_1 elif c <= -4e-235: tmp = b * ((y * k) * -y4) elif c <= 1.5e+194: tmp = t_1 else: tmp = (c * y3) * (y * y4) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (c <= -2.15e+280) tmp = Float64(c * Float64(Float64(z * y3) * Float64(-y0))); elseif (c <= -6.4e-16) tmp = t_1; elseif (c <= -4e-235) tmp = Float64(b * Float64(Float64(y * k) * Float64(-y4))); elseif (c <= 1.5e+194) tmp = t_1; else tmp = Float64(Float64(c * y3) * Float64(y * 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 = a * (b * ((x * y) - (z * t))); tmp = 0.0; if (c <= -2.15e+280) tmp = c * ((z * y3) * -y0); elseif (c <= -6.4e-16) tmp = t_1; elseif (c <= -4e-235) tmp = b * ((y * k) * -y4); elseif (c <= 1.5e+194) tmp = t_1; else tmp = (c * y3) * (y * 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[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.15e+280], N[(c * N[(N[(z * y3), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, -6.4e-16], t$95$1, If[LessEqual[c, -4e-235], N[(b * N[(N[(y * k), $MachinePrecision] * (-y4)), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 1.5e+194], t$95$1, N[(N[(c * y3), $MachinePrecision] * N[(y * y4), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;c \leq -2.15 \cdot 10^{+280}:\\
\;\;\;\;c \cdot \left(\left(z \cdot y3\right) \cdot \left(-y0\right)\right)\\
\mathbf{elif}\;c \leq -6.4 \cdot 10^{-16}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;c \leq -4 \cdot 10^{-235}:\\
\;\;\;\;b \cdot \left(\left(y \cdot k\right) \cdot \left(-y4\right)\right)\\
\mathbf{elif}\;c \leq 1.5 \cdot 10^{+194}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;\left(c \cdot y3\right) \cdot \left(y \cdot y4\right)\\
\end{array}
\end{array}
if c < -2.14999999999999983e280Initial program 0.0%
Taylor expanded in y3 around -inf 71.4%
Taylor expanded in c around inf 85.7%
*-commutative85.7%
Simplified85.7%
Taylor expanded in z around inf 71.9%
*-commutative71.9%
Simplified71.9%
if -2.14999999999999983e280 < c < -6.40000000000000046e-16 or -3.9999999999999998e-235 < c < 1.5000000000000002e194Initial program 34.8%
Taylor expanded in b around inf 34.7%
Taylor expanded in a around inf 35.3%
if -6.40000000000000046e-16 < c < -3.9999999999999998e-235Initial program 44.8%
Taylor expanded in y around inf 41.4%
Taylor expanded in y4 around inf 34.2%
associate-*r*28.5%
*-commutative28.5%
distribute-lft-out--28.5%
*-commutative28.5%
*-commutative28.5%
Simplified28.5%
Taylor expanded in k around inf 28.1%
associate-*r*28.1%
neg-mul-128.1%
associate-*r*32.1%
Simplified32.1%
if 1.5000000000000002e194 < c Initial program 21.7%
Taylor expanded in y around inf 31.1%
Taylor expanded in y4 around inf 39.8%
associate-*r*35.7%
*-commutative35.7%
distribute-lft-out--35.7%
*-commutative35.7%
*-commutative35.7%
Simplified35.7%
Taylor expanded in k around 0 40.2%
mul-1-neg40.2%
*-commutative40.2%
distribute-rgt-neg-in40.2%
Simplified40.2%
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 (- (* x y) (* z t))))
(if (<= t -2.7e+73)
(* a (* b t_1))
(if (<= t -510000.0)
(* b (* y4 (- (* t j) (* y k))))
(if (<= t -1.6e-214)
(* b (* a t_1))
(if (<= t 2.9e+49)
(* a (* y (- (* x b) (* y3 y5))))
(* j (* t (- (* 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 * y) - (z * t);
double tmp;
if (t <= -2.7e+73) {
tmp = a * (b * t_1);
} else if (t <= -510000.0) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (t <= -1.6e-214) {
tmp = b * (a * t_1);
} else if (t <= 2.9e+49) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else {
tmp = j * (t * ((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 * y) - (z * t)
if (t <= (-2.7d+73)) then
tmp = a * (b * t_1)
else if (t <= (-510000.0d0)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (t <= (-1.6d-214)) then
tmp = b * (a * t_1)
else if (t <= 2.9d+49) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else
tmp = j * (t * ((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 * y) - (z * t);
double tmp;
if (t <= -2.7e+73) {
tmp = a * (b * t_1);
} else if (t <= -510000.0) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (t <= -1.6e-214) {
tmp = b * (a * t_1);
} else if (t <= 2.9e+49) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else {
tmp = j * (t * ((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 * y) - (z * t) tmp = 0 if t <= -2.7e+73: tmp = a * (b * t_1) elif t <= -510000.0: tmp = b * (y4 * ((t * j) - (y * k))) elif t <= -1.6e-214: tmp = b * (a * t_1) elif t <= 2.9e+49: tmp = a * (y * ((x * b) - (y3 * y5))) else: tmp = j * (t * ((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(Float64(x * y) - Float64(z * t)) tmp = 0.0 if (t <= -2.7e+73) tmp = Float64(a * Float64(b * t_1)); elseif (t <= -510000.0) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (t <= -1.6e-214) tmp = Float64(b * Float64(a * t_1)); elseif (t <= 2.9e+49) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); else tmp = Float64(j * Float64(t * 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 * y) - (z * t); tmp = 0.0; if (t <= -2.7e+73) tmp = a * (b * t_1); elseif (t <= -510000.0) tmp = b * (y4 * ((t * j) - (y * k))); elseif (t <= -1.6e-214) tmp = b * (a * t_1); elseif (t <= 2.9e+49) tmp = a * (y * ((x * b) - (y3 * y5))); else tmp = j * (t * ((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[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.7e+73], N[(a * N[(b * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -510000.0], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.6e-214], N[(b * N[(a * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.9e+49], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
\mathbf{if}\;t \leq -2.7 \cdot 10^{+73}:\\
\;\;\;\;a \cdot \left(b \cdot t_1\right)\\
\mathbf{elif}\;t \leq -510000:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;t \leq -1.6 \cdot 10^{-214}:\\
\;\;\;\;b \cdot \left(a \cdot t_1\right)\\
\mathbf{elif}\;t \leq 2.9 \cdot 10^{+49}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\end{array}
\end{array}
if t < -2.6999999999999999e73Initial program 22.7%
Taylor expanded in b around inf 34.2%
Taylor expanded in a around inf 48.7%
if -2.6999999999999999e73 < t < -5.1e5Initial program 30.0%
Taylor expanded in b around inf 35.9%
Taylor expanded in y4 around inf 59.5%
if -5.1e5 < t < -1.60000000000000007e-214Initial program 47.5%
Taylor expanded in b around inf 30.2%
Taylor expanded in a around inf 26.0%
*-commutative26.0%
Simplified26.0%
if -1.60000000000000007e-214 < t < 2.9e49Initial program 38.4%
Taylor expanded in y around inf 44.6%
Taylor expanded in a around inf 36.3%
if 2.9e49 < t Initial program 29.1%
Taylor expanded in j around inf 40.9%
Taylor expanded in t around inf 43.0%
*-commutative43.0%
*-commutative43.0%
Simplified43.0%
Final simplification39.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* b (* t (- z))))))
(if (<= b -2.7e+96)
t_1
(if (<= b -2.4e-241)
(* j (* y0 (* y3 y5)))
(if (<= b 1.1e-154)
(* c (* (* z y3) (- y0)))
(if (<= b 3.5e+32)
(* y (* y5 (* a (- y3))))
(if (<= b 1.22e+196) (* (* b y0) (* 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 = a * (b * (t * -z));
double tmp;
if (b <= -2.7e+96) {
tmp = t_1;
} else if (b <= -2.4e-241) {
tmp = j * (y0 * (y3 * y5));
} else if (b <= 1.1e-154) {
tmp = c * ((z * y3) * -y0);
} else if (b <= 3.5e+32) {
tmp = y * (y5 * (a * -y3));
} else if (b <= 1.22e+196) {
tmp = (b * y0) * (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 = a * (b * (t * -z))
if (b <= (-2.7d+96)) then
tmp = t_1
else if (b <= (-2.4d-241)) then
tmp = j * (y0 * (y3 * y5))
else if (b <= 1.1d-154) then
tmp = c * ((z * y3) * -y0)
else if (b <= 3.5d+32) then
tmp = y * (y5 * (a * -y3))
else if (b <= 1.22d+196) then
tmp = (b * y0) * (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 = a * (b * (t * -z));
double tmp;
if (b <= -2.7e+96) {
tmp = t_1;
} else if (b <= -2.4e-241) {
tmp = j * (y0 * (y3 * y5));
} else if (b <= 1.1e-154) {
tmp = c * ((z * y3) * -y0);
} else if (b <= 3.5e+32) {
tmp = y * (y5 * (a * -y3));
} else if (b <= 1.22e+196) {
tmp = (b * y0) * (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 = a * (b * (t * -z)) tmp = 0 if b <= -2.7e+96: tmp = t_1 elif b <= -2.4e-241: tmp = j * (y0 * (y3 * y5)) elif b <= 1.1e-154: tmp = c * ((z * y3) * -y0) elif b <= 3.5e+32: tmp = y * (y5 * (a * -y3)) elif b <= 1.22e+196: tmp = (b * y0) * (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(a * Float64(b * Float64(t * Float64(-z)))) tmp = 0.0 if (b <= -2.7e+96) tmp = t_1; elseif (b <= -2.4e-241) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (b <= 1.1e-154) tmp = Float64(c * Float64(Float64(z * y3) * Float64(-y0))); elseif (b <= 3.5e+32) tmp = Float64(y * Float64(y5 * Float64(a * Float64(-y3)))); elseif (b <= 1.22e+196) tmp = Float64(Float64(b * y0) * Float64(x * Float64(-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 = a * (b * (t * -z)); tmp = 0.0; if (b <= -2.7e+96) tmp = t_1; elseif (b <= -2.4e-241) tmp = j * (y0 * (y3 * y5)); elseif (b <= 1.1e-154) tmp = c * ((z * y3) * -y0); elseif (b <= 3.5e+32) tmp = y * (y5 * (a * -y3)); elseif (b <= 1.22e+196) tmp = (b * y0) * (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[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.7e+96], t$95$1, If[LessEqual[b, -2.4e-241], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.1e-154], N[(c * N[(N[(z * y3), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.5e+32], N[(y * N[(y5 * N[(a * (-y3)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.22e+196], N[(N[(b * y0), $MachinePrecision] * N[(x * (-j)), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{if}\;b \leq -2.7 \cdot 10^{+96}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;b \leq -2.4 \cdot 10^{-241}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;b \leq 1.1 \cdot 10^{-154}:\\
\;\;\;\;c \cdot \left(\left(z \cdot y3\right) \cdot \left(-y0\right)\right)\\
\mathbf{elif}\;b \leq 3.5 \cdot 10^{+32}:\\
\;\;\;\;y \cdot \left(y5 \cdot \left(a \cdot \left(-y3\right)\right)\right)\\
\mathbf{elif}\;b \leq 1.22 \cdot 10^{+196}:\\
\;\;\;\;\left(b \cdot y0\right) \cdot \left(x \cdot \left(-j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if b < -2.70000000000000022e96 or 1.21999999999999995e196 < b Initial program 24.9%
Taylor expanded in b around inf 61.8%
Taylor expanded in a around inf 60.6%
Taylor expanded in x around 0 44.9%
associate-*r*44.9%
neg-mul-144.9%
*-commutative44.9%
Simplified44.9%
if -2.70000000000000022e96 < b < -2.4e-241Initial program 44.2%
Taylor expanded in j around inf 34.5%
Taylor expanded in y0 around inf 33.7%
Taylor expanded in y3 around inf 26.4%
if -2.4e-241 < b < 1.10000000000000004e-154Initial program 34.2%
Taylor expanded in y3 around -inf 34.7%
Taylor expanded in c around inf 25.7%
*-commutative25.7%
Simplified25.7%
Taylor expanded in z around inf 27.6%
*-commutative27.6%
Simplified27.6%
if 1.10000000000000004e-154 < b < 3.5000000000000001e32Initial program 31.6%
Taylor expanded in y around inf 48.2%
Taylor expanded in a around inf 27.1%
Taylor expanded in b around 0 23.1%
mul-1-neg23.1%
associate-*r*27.7%
Simplified27.7%
if 3.5000000000000001e32 < b < 1.21999999999999995e196Initial program 36.0%
Taylor expanded in b around inf 39.4%
Taylor expanded in y0 around inf 31.8%
associate-*r*34.4%
*-commutative34.4%
Simplified34.4%
Taylor expanded in k around 0 32.1%
neg-mul-132.1%
distribute-rgt-neg-in32.1%
Simplified32.1%
Final simplification31.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* (* x y) a))))
(if (<= x -3e+103)
t_1
(if (<= x 1e-287)
(* j (* y0 (* y3 y5)))
(if (<= x 1.15e+24)
(* a (* b (* t (- z))))
(if (<= x 2.55e+98)
(* b (* k (* y (- y4))))
(if (<= x 2.05e+125) (* (* z k) (* b y0)) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * ((x * y) * a);
double tmp;
if (x <= -3e+103) {
tmp = t_1;
} else if (x <= 1e-287) {
tmp = j * (y0 * (y3 * y5));
} else if (x <= 1.15e+24) {
tmp = a * (b * (t * -z));
} else if (x <= 2.55e+98) {
tmp = b * (k * (y * -y4));
} else if (x <= 2.05e+125) {
tmp = (z * k) * (b * y0);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * ((x * y) * a)
if (x <= (-3d+103)) then
tmp = t_1
else if (x <= 1d-287) then
tmp = j * (y0 * (y3 * y5))
else if (x <= 1.15d+24) then
tmp = a * (b * (t * -z))
else if (x <= 2.55d+98) then
tmp = b * (k * (y * -y4))
else if (x <= 2.05d+125) then
tmp = (z * k) * (b * y0)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * ((x * y) * a);
double tmp;
if (x <= -3e+103) {
tmp = t_1;
} else if (x <= 1e-287) {
tmp = j * (y0 * (y3 * y5));
} else if (x <= 1.15e+24) {
tmp = a * (b * (t * -z));
} else if (x <= 2.55e+98) {
tmp = b * (k * (y * -y4));
} else if (x <= 2.05e+125) {
tmp = (z * k) * (b * y0);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * ((x * y) * a) tmp = 0 if x <= -3e+103: tmp = t_1 elif x <= 1e-287: tmp = j * (y0 * (y3 * y5)) elif x <= 1.15e+24: tmp = a * (b * (t * -z)) elif x <= 2.55e+98: tmp = b * (k * (y * -y4)) elif x <= 2.05e+125: tmp = (z * k) * (b * y0) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(Float64(x * y) * a)) tmp = 0.0 if (x <= -3e+103) tmp = t_1; elseif (x <= 1e-287) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (x <= 1.15e+24) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); elseif (x <= 2.55e+98) tmp = Float64(b * Float64(k * Float64(y * Float64(-y4)))); elseif (x <= 2.05e+125) tmp = Float64(Float64(z * k) * Float64(b * y0)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * ((x * y) * a); tmp = 0.0; if (x <= -3e+103) tmp = t_1; elseif (x <= 1e-287) tmp = j * (y0 * (y3 * y5)); elseif (x <= 1.15e+24) tmp = a * (b * (t * -z)); elseif (x <= 2.55e+98) tmp = b * (k * (y * -y4)); elseif (x <= 2.05e+125) tmp = (z * k) * (b * y0); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -3e+103], t$95$1, If[LessEqual[x, 1e-287], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.15e+24], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.55e+98], N[(b * N[(k * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.05e+125], N[(N[(z * k), $MachinePrecision] * N[(b * y0), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{if}\;x \leq -3 \cdot 10^{+103}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 10^{-287}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 1.15 \cdot 10^{+24}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;x \leq 2.55 \cdot 10^{+98}:\\
\;\;\;\;b \cdot \left(k \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{elif}\;x \leq 2.05 \cdot 10^{+125}:\\
\;\;\;\;\left(z \cdot k\right) \cdot \left(b \cdot y0\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if x < -3e103 or 2.04999999999999996e125 < x Initial program 29.9%
Taylor expanded in b around inf 30.4%
Taylor expanded in a around inf 36.3%
Taylor expanded in x around inf 31.1%
*-commutative31.1%
Simplified31.1%
Taylor expanded in a around 0 31.1%
*-commutative31.1%
associate-*r*32.4%
Simplified32.4%
if -3e103 < x < 1.00000000000000002e-287Initial program 34.3%
Taylor expanded in j around inf 36.6%
Taylor expanded in y0 around inf 32.4%
Taylor expanded in y3 around inf 25.4%
if 1.00000000000000002e-287 < x < 1.15e24Initial program 38.3%
Taylor expanded in b around inf 32.6%
Taylor expanded in a around inf 32.4%
Taylor expanded in x around 0 30.2%
associate-*r*30.2%
neg-mul-130.2%
*-commutative30.2%
Simplified30.2%
if 1.15e24 < x < 2.54999999999999994e98Initial program 55.5%
Taylor expanded in y around inf 34.3%
Taylor expanded in y4 around inf 39.7%
associate-*r*29.6%
*-commutative29.6%
distribute-lft-out--29.6%
*-commutative29.6%
*-commutative29.6%
Simplified29.6%
Taylor expanded in k around inf 45.5%
mul-1-neg45.5%
distribute-rgt-neg-in45.5%
*-commutative45.5%
Simplified45.5%
if 2.54999999999999994e98 < x < 2.04999999999999996e125Initial program 9.1%
Taylor expanded in b around inf 36.4%
Taylor expanded in y0 around inf 37.4%
associate-*r*37.3%
*-commutative37.3%
Simplified37.3%
Taylor expanded in k around inf 28.4%
*-commutative28.4%
Simplified28.4%
Final simplification30.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -0.09)
(* j (* y0 (* x (- b))))
(if (<= x 1.2e-226)
(* y (* a (- (* y3 y5))))
(if (<= x 2.6e+22)
(* a (* b (* t (- z))))
(if (<= x 1.6e+91)
(* b (* k (* y (- y4))))
(* b (* j (* x (- y0)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -0.09) {
tmp = j * (y0 * (x * -b));
} else if (x <= 1.2e-226) {
tmp = y * (a * -(y3 * y5));
} else if (x <= 2.6e+22) {
tmp = a * (b * (t * -z));
} else if (x <= 1.6e+91) {
tmp = b * (k * (y * -y4));
} else {
tmp = b * (j * (x * -y0));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-0.09d0)) then
tmp = j * (y0 * (x * -b))
else if (x <= 1.2d-226) then
tmp = y * (a * -(y3 * y5))
else if (x <= 2.6d+22) then
tmp = a * (b * (t * -z))
else if (x <= 1.6d+91) then
tmp = b * (k * (y * -y4))
else
tmp = b * (j * (x * -y0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -0.09) {
tmp = j * (y0 * (x * -b));
} else if (x <= 1.2e-226) {
tmp = y * (a * -(y3 * y5));
} else if (x <= 2.6e+22) {
tmp = a * (b * (t * -z));
} else if (x <= 1.6e+91) {
tmp = b * (k * (y * -y4));
} else {
tmp = b * (j * (x * -y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -0.09: tmp = j * (y0 * (x * -b)) elif x <= 1.2e-226: tmp = y * (a * -(y3 * y5)) elif x <= 2.6e+22: tmp = a * (b * (t * -z)) elif x <= 1.6e+91: tmp = b * (k * (y * -y4)) else: tmp = b * (j * (x * -y0)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (x <= -0.09) tmp = Float64(j * Float64(y0 * Float64(x * Float64(-b)))); elseif (x <= 1.2e-226) tmp = Float64(y * Float64(a * Float64(-Float64(y3 * y5)))); elseif (x <= 2.6e+22) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); elseif (x <= 1.6e+91) tmp = Float64(b * Float64(k * Float64(y * Float64(-y4)))); else tmp = Float64(b * Float64(j * Float64(x * Float64(-y0)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -0.09) tmp = j * (y0 * (x * -b)); elseif (x <= 1.2e-226) tmp = y * (a * -(y3 * y5)); elseif (x <= 2.6e+22) tmp = a * (b * (t * -z)); elseif (x <= 1.6e+91) tmp = b * (k * (y * -y4)); else tmp = b * (j * (x * -y0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -0.09], N[(j * N[(y0 * N[(x * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.2e-226], N[(y * N[(a * (-N[(y3 * y5), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.6e+22], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.6e+91], N[(b * N[(k * N[(y * (-y4)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(j * N[(x * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -0.09:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(x \cdot \left(-b\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.2 \cdot 10^{-226}:\\
\;\;\;\;y \cdot \left(a \cdot \left(-y3 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 2.6 \cdot 10^{+22}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;x \leq 1.6 \cdot 10^{+91}:\\
\;\;\;\;b \cdot \left(k \cdot \left(y \cdot \left(-y4\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(j \cdot \left(x \cdot \left(-y0\right)\right)\right)\\
\end{array}
\end{array}
if x < -0.089999999999999997Initial program 32.6%
Taylor expanded in j around inf 41.0%
Taylor expanded in y0 around inf 36.9%
Taylor expanded in y3 around 0 33.3%
mul-1-neg33.3%
associate-*r*30.2%
distribute-rgt-neg-in30.2%
Simplified30.2%
if -0.089999999999999997 < x < 1.2e-226Initial program 36.7%
Taylor expanded in y around inf 33.2%
Taylor expanded in a around inf 26.5%
Taylor expanded in b around 0 25.3%
mul-1-neg25.3%
*-commutative25.3%
distribute-rgt-neg-in25.3%
Simplified25.3%
if 1.2e-226 < x < 2.6e22Initial program 35.7%
Taylor expanded in b around inf 33.4%
Taylor expanded in a around inf 36.4%
Taylor expanded in x around 0 33.6%
associate-*r*33.6%
neg-mul-133.6%
*-commutative33.6%
Simplified33.6%
if 2.6e22 < x < 1.59999999999999995e91Initial program 55.5%
Taylor expanded in y around inf 34.3%
Taylor expanded in y4 around inf 39.7%
associate-*r*29.6%
*-commutative29.6%
distribute-lft-out--29.6%
*-commutative29.6%
*-commutative29.6%
Simplified29.6%
Taylor expanded in k around inf 45.5%
mul-1-neg45.5%
distribute-rgt-neg-in45.5%
*-commutative45.5%
Simplified45.5%
if 1.59999999999999995e91 < x Initial program 22.5%
Taylor expanded in j around inf 30.7%
Taylor expanded in y0 around inf 28.8%
Taylor expanded in y3 around 0 31.2%
associate-*r*31.2%
neg-mul-131.2%
*-commutative31.2%
Simplified31.2%
Final simplification30.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= t -1.5e-215) (not (<= t 0.095))) (* a (* b (- (* x y) (* z t)))) (* a (* y (- (* x b) (* y3 y5))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((t <= -1.5e-215) || !(t <= 0.095)) {
tmp = a * (b * ((x * y) - (z * t)));
} else {
tmp = a * (y * ((x * b) - (y3 * y5)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((t <= (-1.5d-215)) .or. (.not. (t <= 0.095d0))) then
tmp = a * (b * ((x * y) - (z * t)))
else
tmp = a * (y * ((x * b) - (y3 * y5)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((t <= -1.5e-215) || !(t <= 0.095)) {
tmp = a * (b * ((x * y) - (z * t)));
} else {
tmp = a * (y * ((x * b) - (y3 * y5)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (t <= -1.5e-215) or not (t <= 0.095): tmp = a * (b * ((x * y) - (z * t))) else: tmp = a * (y * ((x * b) - (y3 * y5))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((t <= -1.5e-215) || !(t <= 0.095)) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); else tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((t <= -1.5e-215) || ~((t <= 0.095))) tmp = a * (b * ((x * y) - (z * t))); else tmp = a * (y * ((x * b) - (y3 * y5))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[t, -1.5e-215], N[Not[LessEqual[t, 0.095]], $MachinePrecision]], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.5 \cdot 10^{-215} \lor \neg \left(t \leq 0.095\right):\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\end{array}
\end{array}
if t < -1.50000000000000013e-215 or 0.095000000000000001 < t Initial program 32.3%
Taylor expanded in b around inf 33.8%
Taylor expanded in a around inf 33.7%
if -1.50000000000000013e-215 < t < 0.095000000000000001Initial program 39.2%
Taylor expanded in y around inf 43.5%
Taylor expanded in a around inf 37.8%
Final simplification35.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* x y) (* z t))))
(if (<= t -1.6e-214)
(* a (* b t_1))
(if (<= t 0.013) (* a (* y (- (* x b) (* y3 y5)))) (* b (* a t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (x * y) - (z * t);
double tmp;
if (t <= -1.6e-214) {
tmp = a * (b * t_1);
} else if (t <= 0.013) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else {
tmp = b * (a * 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 = (x * y) - (z * t)
if (t <= (-1.6d-214)) then
tmp = a * (b * t_1)
else if (t <= 0.013d0) then
tmp = a * (y * ((x * b) - (y3 * y5)))
else
tmp = b * (a * 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 = (x * y) - (z * t);
double tmp;
if (t <= -1.6e-214) {
tmp = a * (b * t_1);
} else if (t <= 0.013) {
tmp = a * (y * ((x * b) - (y3 * y5)));
} else {
tmp = b * (a * t_1);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (x * y) - (z * t) tmp = 0 if t <= -1.6e-214: tmp = a * (b * t_1) elif t <= 0.013: tmp = a * (y * ((x * b) - (y3 * y5))) else: tmp = b * (a * t_1) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(x * y) - Float64(z * t)) tmp = 0.0 if (t <= -1.6e-214) tmp = Float64(a * Float64(b * t_1)); elseif (t <= 0.013) tmp = Float64(a * Float64(y * Float64(Float64(x * b) - Float64(y3 * y5)))); else tmp = Float64(b * Float64(a * t_1)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (x * y) - (z * t); tmp = 0.0; if (t <= -1.6e-214) tmp = a * (b * t_1); elseif (t <= 0.013) tmp = a * (y * ((x * b) - (y3 * y5))); else tmp = b * (a * t_1); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.6e-214], N[(a * N[(b * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 0.013], N[(a * N[(y * N[(N[(x * b), $MachinePrecision] - N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(a * t$95$1), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot y - z \cdot t\\
\mathbf{if}\;t \leq -1.6 \cdot 10^{-214}:\\
\;\;\;\;a \cdot \left(b \cdot t_1\right)\\
\mathbf{elif}\;t \leq 0.013:\\
\;\;\;\;a \cdot \left(y \cdot \left(x \cdot b - y3 \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(a \cdot t_1\right)\\
\end{array}
\end{array}
if t < -1.60000000000000007e-214Initial program 34.4%
Taylor expanded in b around inf 32.8%
Taylor expanded in a around inf 36.2%
if -1.60000000000000007e-214 < t < 0.0129999999999999994Initial program 39.2%
Taylor expanded in y around inf 43.5%
Taylor expanded in a around inf 37.8%
if 0.0129999999999999994 < t Initial program 29.1%
Taylor expanded in b around inf 35.5%
Taylor expanded in a around inf 29.9%
*-commutative29.9%
Simplified29.9%
Final simplification35.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* (* x y) a))))
(if (<= x -3.6e+103)
t_1
(if (<= x 6.2e-289)
(* j (* y0 (* y3 y5)))
(if (<= x 6e+49) (* a (* b (* t (- z)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * ((x * y) * a);
double tmp;
if (x <= -3.6e+103) {
tmp = t_1;
} else if (x <= 6.2e-289) {
tmp = j * (y0 * (y3 * y5));
} else if (x <= 6e+49) {
tmp = a * (b * (t * -z));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * ((x * y) * a)
if (x <= (-3.6d+103)) then
tmp = t_1
else if (x <= 6.2d-289) then
tmp = j * (y0 * (y3 * y5))
else if (x <= 6d+49) then
tmp = a * (b * (t * -z))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * ((x * y) * a);
double tmp;
if (x <= -3.6e+103) {
tmp = t_1;
} else if (x <= 6.2e-289) {
tmp = j * (y0 * (y3 * y5));
} else if (x <= 6e+49) {
tmp = a * (b * (t * -z));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * ((x * y) * a) tmp = 0 if x <= -3.6e+103: tmp = t_1 elif x <= 6.2e-289: tmp = j * (y0 * (y3 * y5)) elif x <= 6e+49: tmp = a * (b * (t * -z)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(Float64(x * y) * a)) tmp = 0.0 if (x <= -3.6e+103) tmp = t_1; elseif (x <= 6.2e-289) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (x <= 6e+49) tmp = Float64(a * Float64(b * Float64(t * Float64(-z)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * ((x * y) * a); tmp = 0.0; if (x <= -3.6e+103) tmp = t_1; elseif (x <= 6.2e-289) tmp = j * (y0 * (y3 * y5)); elseif (x <= 6e+49) tmp = a * (b * (t * -z)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(N[(x * y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -3.6e+103], t$95$1, If[LessEqual[x, 6.2e-289], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6e+49], N[(a * N[(b * N[(t * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(\left(x \cdot y\right) \cdot a\right)\\
\mathbf{if}\;x \leq -3.6 \cdot 10^{+103}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 6.2 \cdot 10^{-289}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 6 \cdot 10^{+49}:\\
\;\;\;\;a \cdot \left(b \cdot \left(t \cdot \left(-z\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if x < -3.60000000000000017e103 or 6.0000000000000005e49 < x Initial program 32.1%
Taylor expanded in b around inf 33.7%
Taylor expanded in a around inf 34.1%
Taylor expanded in x around inf 29.1%
*-commutative29.1%
Simplified29.1%
Taylor expanded in a around 0 29.1%
*-commutative29.1%
associate-*r*30.1%
Simplified30.1%
if -3.60000000000000017e103 < x < 6.2e-289Initial program 34.3%
Taylor expanded in j around inf 36.6%
Taylor expanded in y0 around inf 32.4%
Taylor expanded in y3 around inf 25.4%
if 6.2e-289 < x < 6.0000000000000005e49Initial program 37.9%
Taylor expanded in b around inf 32.8%
Taylor expanded in a around inf 31.3%
Taylor expanded in x around 0 29.2%
associate-*r*29.2%
neg-mul-129.2%
*-commutative29.2%
Simplified29.2%
Final simplification28.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* (* x y) b))))
(if (<= x -1e+103)
t_1
(if (<= x 1.06e-299)
(* j (* y0 (* y3 y5)))
(if (<= x 6.8e-34) (* c (* y (* y3 y4))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((x * y) * b);
double tmp;
if (x <= -1e+103) {
tmp = t_1;
} else if (x <= 1.06e-299) {
tmp = j * (y0 * (y3 * y5));
} else if (x <= 6.8e-34) {
tmp = c * (y * (y3 * y4));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * ((x * y) * b)
if (x <= (-1d+103)) then
tmp = t_1
else if (x <= 1.06d-299) then
tmp = j * (y0 * (y3 * y5))
else if (x <= 6.8d-34) then
tmp = c * (y * (y3 * y4))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((x * y) * b);
double tmp;
if (x <= -1e+103) {
tmp = t_1;
} else if (x <= 1.06e-299) {
tmp = j * (y0 * (y3 * y5));
} else if (x <= 6.8e-34) {
tmp = c * (y * (y3 * y4));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * ((x * y) * b) tmp = 0 if x <= -1e+103: tmp = t_1 elif x <= 1.06e-299: tmp = j * (y0 * (y3 * y5)) elif x <= 6.8e-34: tmp = c * (y * (y3 * y4)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(Float64(x * y) * b)) tmp = 0.0 if (x <= -1e+103) tmp = t_1; elseif (x <= 1.06e-299) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (x <= 6.8e-34) tmp = Float64(c * Float64(y * Float64(y3 * y4))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * ((x * y) * b); tmp = 0.0; if (x <= -1e+103) tmp = t_1; elseif (x <= 1.06e-299) tmp = j * (y0 * (y3 * y5)); elseif (x <= 6.8e-34) tmp = c * (y * (y3 * y4)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1e+103], t$95$1, If[LessEqual[x, 1.06e-299], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 6.8e-34], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{if}\;x \leq -1 \cdot 10^{+103}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;x \leq 1.06 \cdot 10^{-299}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;x \leq 6.8 \cdot 10^{-34}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if x < -1e103 or 6.8000000000000001e-34 < x Initial program 33.8%
Taylor expanded in b around inf 36.3%
Taylor expanded in a around inf 36.2%
Taylor expanded in x around inf 28.5%
*-commutative28.5%
Simplified28.5%
if -1e103 < x < 1.06e-299Initial program 34.3%
Taylor expanded in j around inf 34.2%
Taylor expanded in y0 around inf 33.5%
Taylor expanded in y3 around inf 25.9%
if 1.06e-299 < x < 6.8000000000000001e-34Initial program 36.2%
Taylor expanded in y around inf 34.0%
Taylor expanded in y4 around inf 20.2%
associate-*r*18.9%
*-commutative18.9%
distribute-lft-out--18.9%
*-commutative18.9%
*-commutative18.9%
Simplified18.9%
Taylor expanded in k around 0 21.5%
Final simplification25.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* y (* y3 y4)))))
(if (<= y4 -1.45e+215)
t_1
(if (<= y4 5.2e-120)
(* j (* y0 (* y3 y5)))
(if (<= y4 5.3e+23) (* y (* a (* x 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 = c * (y * (y3 * y4));
double tmp;
if (y4 <= -1.45e+215) {
tmp = t_1;
} else if (y4 <= 5.2e-120) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 5.3e+23) {
tmp = y * (a * (x * b));
} 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 * (y * (y3 * y4))
if (y4 <= (-1.45d+215)) then
tmp = t_1
else if (y4 <= 5.2d-120) then
tmp = j * (y0 * (y3 * y5))
else if (y4 <= 5.3d+23) then
tmp = y * (a * (x * b))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = c * (y * (y3 * y4));
double tmp;
if (y4 <= -1.45e+215) {
tmp = t_1;
} else if (y4 <= 5.2e-120) {
tmp = j * (y0 * (y3 * y5));
} else if (y4 <= 5.3e+23) {
tmp = y * (a * (x * b));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (y * (y3 * y4)) tmp = 0 if y4 <= -1.45e+215: tmp = t_1 elif y4 <= 5.2e-120: tmp = j * (y0 * (y3 * y5)) elif y4 <= 5.3e+23: tmp = y * (a * (x * b)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(c * Float64(y * Float64(y3 * y4))) tmp = 0.0 if (y4 <= -1.45e+215) tmp = t_1; elseif (y4 <= 5.2e-120) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (y4 <= 5.3e+23) tmp = Float64(y * Float64(a * Float64(x * b))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = c * (y * (y3 * y4)); tmp = 0.0; if (y4 <= -1.45e+215) tmp = t_1; elseif (y4 <= 5.2e-120) tmp = j * (y0 * (y3 * y5)); elseif (y4 <= 5.3e+23) tmp = y * (a * (x * b)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -1.45e+215], t$95$1, If[LessEqual[y4, 5.2e-120], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 5.3e+23], N[(y * N[(a * N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\mathbf{if}\;y4 \leq -1.45 \cdot 10^{+215}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y4 \leq 5.2 \cdot 10^{-120}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;y4 \leq 5.3 \cdot 10^{+23}:\\
\;\;\;\;y \cdot \left(a \cdot \left(x \cdot b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y4 < -1.45e215 or 5.3000000000000001e23 < y4 Initial program 34.5%
Taylor expanded in y around inf 40.7%
Taylor expanded in y4 around inf 41.4%
associate-*r*34.7%
*-commutative34.7%
distribute-lft-out--34.7%
*-commutative34.7%
*-commutative34.7%
Simplified34.7%
Taylor expanded in k around 0 35.8%
if -1.45e215 < y4 < 5.2000000000000002e-120Initial program 38.7%
Taylor expanded in j around inf 36.9%
Taylor expanded in y0 around inf 24.5%
Taylor expanded in y3 around inf 18.9%
if 5.2000000000000002e-120 < y4 < 5.3000000000000001e23Initial program 14.7%
Taylor expanded in y around inf 48.5%
Taylor expanded in a around inf 48.8%
Taylor expanded in b around inf 38.9%
*-commutative38.9%
Simplified38.9%
Final simplification26.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= x -3.5e-142) (not (<= x 1.55e+49))) (* a (* (* x y) b)) (* b (* k (* z y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((x <= -3.5e-142) || !(x <= 1.55e+49)) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((x <= (-3.5d-142)) .or. (.not. (x <= 1.55d+49))) then
tmp = a * ((x * y) * b)
else
tmp = b * (k * (z * y0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((x <= -3.5e-142) || !(x <= 1.55e+49)) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (x <= -3.5e-142) or not (x <= 1.55e+49): tmp = a * ((x * y) * b) else: tmp = b * (k * (z * y0)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((x <= -3.5e-142) || !(x <= 1.55e+49)) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(b * Float64(k * Float64(z * y0))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((x <= -3.5e-142) || ~((x <= 1.55e+49))) tmp = a * ((x * y) * b); else tmp = b * (k * (z * y0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[x, -3.5e-142], N[Not[LessEqual[x, 1.55e+49]], $MachinePrecision]], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.5 \cdot 10^{-142} \lor \neg \left(x \leq 1.55 \cdot 10^{+49}\right):\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\end{array}
\end{array}
if x < -3.50000000000000015e-142 or 1.54999999999999996e49 < x Initial program 30.8%
Taylor expanded in b around inf 34.8%
Taylor expanded in a around inf 31.6%
Taylor expanded in x around inf 24.7%
*-commutative24.7%
Simplified24.7%
if -3.50000000000000015e-142 < x < 1.54999999999999996e49Initial program 39.1%
Taylor expanded in b around inf 30.7%
Taylor expanded in y0 around inf 16.7%
associate-*r*15.9%
*-commutative15.9%
Simplified15.9%
Taylor expanded in k around inf 15.9%
*-commutative15.9%
*-commutative15.9%
Simplified15.9%
Final simplification20.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= x -4.7e+116) (not (<= x 8.8e-41))) (* a (* (* x y) b)) (* c (* y (* y3 y4)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((x <= -4.7e+116) || !(x <= 8.8e-41)) {
tmp = a * ((x * y) * b);
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if ((x <= (-4.7d+116)) .or. (.not. (x <= 8.8d-41))) then
tmp = a * ((x * y) * b)
else
tmp = c * (y * (y3 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if ((x <= -4.7e+116) || !(x <= 8.8e-41)) {
tmp = a * ((x * y) * b);
} else {
tmp = c * (y * (y3 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (x <= -4.7e+116) or not (x <= 8.8e-41): tmp = a * ((x * y) * b) else: tmp = c * (y * (y3 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if ((x <= -4.7e+116) || !(x <= 8.8e-41)) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(c * Float64(y * Float64(y3 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if ((x <= -4.7e+116) || ~((x <= 8.8e-41))) tmp = a * ((x * y) * b); else tmp = c * (y * (y3 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[x, -4.7e+116], N[Not[LessEqual[x, 8.8e-41]], $MachinePrecision]], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(c * N[(y * N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -4.7 \cdot 10^{+116} \lor \neg \left(x \leq 8.8 \cdot 10^{-41}\right):\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(y \cdot \left(y3 \cdot y4\right)\right)\\
\end{array}
\end{array}
if x < -4.7000000000000003e116 or 8.7999999999999999e-41 < x Initial program 33.8%
Taylor expanded in b around inf 37.3%
Taylor expanded in a around inf 36.3%
Taylor expanded in x around inf 28.3%
*-commutative28.3%
Simplified28.3%
if -4.7000000000000003e116 < x < 8.7999999999999999e-41Initial program 35.2%
Taylor expanded in y around inf 36.9%
Taylor expanded in y4 around inf 24.3%
associate-*r*21.8%
*-commutative21.8%
distribute-lft-out--21.8%
*-commutative21.8%
*-commutative21.8%
Simplified21.8%
Taylor expanded in k around 0 19.0%
Final simplification22.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* (* x y) b)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * ((x * y) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * ((x * y) * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(Float64(x * y) * b)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * ((x * y) * b); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Initial program 34.6%
Taylor expanded in b around inf 32.9%
Taylor expanded in a around inf 29.2%
Taylor expanded in x around inf 16.3%
*-commutative16.3%
Simplified16.3%
Final simplification16.3%
(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 2023332
(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)))))