
(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 45 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 (* i (+ (* y1 (- (* x j) (* z k))) (* c (- (* z t) (* x y))))))
(t_2 (- (* a y1) (* c y0)))
(t_3 (* z t_2))
(t_4 (* z (+ (* y3 t_2) (* t (- (* c i) (* a b))))))
(t_5 (- (* c y0) (* a y1))))
(if (<= z -4.5e+242)
t_1
(if (<= z -5e+169)
(* y3 (+ (* y (- (* c y4) (* a y5))) t_3))
(if (<= z -9.2e+115)
t_1
(if (<= z -4.7e-36)
t_4
(if (<= z -7.8e-306)
(*
y4
(+
(+ (* b (- (* t j) (* y k))) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= z 4.2e-244)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_5))
(* t (- (* a y5) (* c y4)))))
(if (<= z 3.1e-105)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= z 1.8e-42)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_5))
(* j (- (* i y1) (* b y0)))))
(if (<= z 3.5e-15)
(*
a
(+
(* y5 (- (* t y2) (* y y3)))
(* y1 (- (* z y3) (* x y2)))))
(if (<= z 6.6e+37)
(* y3 (+ (* c (* y y4)) t_3))
(if (<= z 1.05e+137)
(*
b
(+
(* a (- (* x y) (* z t)))
(* y0 (- (* z k) (* x j)))))
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 = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))));
double t_2 = (a * y1) - (c * y0);
double t_3 = z * t_2;
double t_4 = z * ((y3 * t_2) + (t * ((c * i) - (a * b))));
double t_5 = (c * y0) - (a * y1);
double tmp;
if (z <= -4.5e+242) {
tmp = t_1;
} else if (z <= -5e+169) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + t_3);
} else if (z <= -9.2e+115) {
tmp = t_1;
} else if (z <= -4.7e-36) {
tmp = t_4;
} else if (z <= -7.8e-306) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (z <= 4.2e-244) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_5)) + (t * ((a * y5) - (c * y4))));
} else if (z <= 3.1e-105) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 1.8e-42) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + (j * ((i * y1) - (b * y0))));
} else if (z <= 3.5e-15) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 6.6e+37) {
tmp = y3 * ((c * (y * y4)) + t_3);
} else if (z <= 1.05e+137) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} 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) :: tmp
t_1 = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))))
t_2 = (a * y1) - (c * y0)
t_3 = z * t_2
t_4 = z * ((y3 * t_2) + (t * ((c * i) - (a * b))))
t_5 = (c * y0) - (a * y1)
if (z <= (-4.5d+242)) then
tmp = t_1
else if (z <= (-5d+169)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + t_3)
else if (z <= (-9.2d+115)) then
tmp = t_1
else if (z <= (-4.7d-36)) then
tmp = t_4
else if (z <= (-7.8d-306)) then
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (z <= 4.2d-244) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_5)) + (t * ((a * y5) - (c * y4))))
else if (z <= 3.1d-105) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (z <= 1.8d-42) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + (j * ((i * y1) - (b * y0))))
else if (z <= 3.5d-15) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))))
else if (z <= 6.6d+37) then
tmp = y3 * ((c * (y * y4)) + t_3)
else if (z <= 1.05d+137) then
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))))
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 = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))));
double t_2 = (a * y1) - (c * y0);
double t_3 = z * t_2;
double t_4 = z * ((y3 * t_2) + (t * ((c * i) - (a * b))));
double t_5 = (c * y0) - (a * y1);
double tmp;
if (z <= -4.5e+242) {
tmp = t_1;
} else if (z <= -5e+169) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + t_3);
} else if (z <= -9.2e+115) {
tmp = t_1;
} else if (z <= -4.7e-36) {
tmp = t_4;
} else if (z <= -7.8e-306) {
tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (z <= 4.2e-244) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_5)) + (t * ((a * y5) - (c * y4))));
} else if (z <= 3.1e-105) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 1.8e-42) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + (j * ((i * y1) - (b * y0))));
} else if (z <= 3.5e-15) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 6.6e+37) {
tmp = y3 * ((c * (y * y4)) + t_3);
} else if (z <= 1.05e+137) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} 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 = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y)))) t_2 = (a * y1) - (c * y0) t_3 = z * t_2 t_4 = z * ((y3 * t_2) + (t * ((c * i) - (a * b)))) t_5 = (c * y0) - (a * y1) tmp = 0 if z <= -4.5e+242: tmp = t_1 elif z <= -5e+169: tmp = y3 * ((y * ((c * y4) - (a * y5))) + t_3) elif z <= -9.2e+115: tmp = t_1 elif z <= -4.7e-36: tmp = t_4 elif z <= -7.8e-306: tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif z <= 4.2e-244: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_5)) + (t * ((a * y5) - (c * y4)))) elif z <= 3.1e-105: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif z <= 1.8e-42: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + (j * ((i * y1) - (b * y0)))) elif z <= 3.5e-15: tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))) elif z <= 6.6e+37: tmp = y3 * ((c * (y * y4)) + t_3) elif z <= 1.05e+137: tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))) 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(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(c * Float64(Float64(z * t) - Float64(x * y))))) t_2 = Float64(Float64(a * y1) - Float64(c * y0)) t_3 = Float64(z * t_2) t_4 = Float64(z * Float64(Float64(y3 * t_2) + Float64(t * Float64(Float64(c * i) - Float64(a * b))))) t_5 = Float64(Float64(c * y0) - Float64(a * y1)) tmp = 0.0 if (z <= -4.5e+242) tmp = t_1; elseif (z <= -5e+169) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + t_3)); elseif (z <= -9.2e+115) tmp = t_1; elseif (z <= -4.7e-36) tmp = t_4; elseif (z <= -7.8e-306) tmp = Float64(y4 * Float64(Float64(Float64(b * Float64(Float64(t * j) - Float64(y * k))) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (z <= 4.2e-244) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_5)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (z <= 3.1e-105) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (z <= 1.8e-42) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_5)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (z <= 3.5e-15) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))))); elseif (z <= 6.6e+37) tmp = Float64(y3 * Float64(Float64(c * Float64(y * y4)) + t_3)); elseif (z <= 1.05e+137) tmp = Float64(b * Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); 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 = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y)))); t_2 = (a * y1) - (c * y0); t_3 = z * t_2; t_4 = z * ((y3 * t_2) + (t * ((c * i) - (a * b)))); t_5 = (c * y0) - (a * y1); tmp = 0.0; if (z <= -4.5e+242) tmp = t_1; elseif (z <= -5e+169) tmp = y3 * ((y * ((c * y4) - (a * y5))) + t_3); elseif (z <= -9.2e+115) tmp = t_1; elseif (z <= -4.7e-36) tmp = t_4; elseif (z <= -7.8e-306) tmp = y4 * (((b * ((t * j) - (y * k))) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (z <= 4.2e-244) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_5)) + (t * ((a * y5) - (c * y4)))); elseif (z <= 3.1e-105) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (z <= 1.8e-42) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_5)) + (j * ((i * y1) - (b * y0)))); elseif (z <= 3.5e-15) tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))); elseif (z <= 6.6e+37) tmp = y3 * ((c * (y * y4)) + t_3); elseif (z <= 1.05e+137) tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))); 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[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(z * t$95$2), $MachinePrecision]}, Block[{t$95$4 = N[(z * N[(N[(y3 * t$95$2), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4.5e+242], t$95$1, If[LessEqual[z, -5e+169], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -9.2e+115], t$95$1, If[LessEqual[z, -4.7e-36], t$95$4, If[LessEqual[z, -7.8e-306], N[(y4 * N[(N[(N[(b * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.2e-244], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.1e-105], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.8e-42], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$5), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.5e-15], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.6e+37], N[(y3 * N[(N[(c * N[(y * y4), $MachinePrecision]), $MachinePrecision] + t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.05e+137], N[(b * N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$4]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + c \cdot \left(z \cdot t - x \cdot y\right)\right)\\
t_2 := a \cdot y1 - c \cdot y0\\
t_3 := z \cdot t\_2\\
t_4 := z \cdot \left(y3 \cdot t\_2 + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\
t_5 := c \cdot y0 - a \cdot y1\\
\mathbf{if}\;z \leq -4.5 \cdot 10^{+242}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -5 \cdot 10^{+169}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + t\_3\right)\\
\mathbf{elif}\;z \leq -9.2 \cdot 10^{+115}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -4.7 \cdot 10^{-36}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;z \leq -7.8 \cdot 10^{-306}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot \left(t \cdot j - y \cdot k\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 4.2 \cdot 10^{-244}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_5\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 3.1 \cdot 10^{-105}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;z \leq 1.8 \cdot 10^{-42}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_5\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 3.5 \cdot 10^{-15}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 6.6 \cdot 10^{+37}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y \cdot y4\right) + t\_3\right)\\
\mathbf{elif}\;z \leq 1.05 \cdot 10^{+137}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_4\\
\end{array}
\end{array}
if z < -4.4999999999999996e242 or -5.00000000000000017e169 < z < -9.20000000000000014e115Initial program 26.1%
Taylor expanded in i around -inf 73.9%
Taylor expanded in y5 around 0 82.6%
if -4.4999999999999996e242 < z < -5.00000000000000017e169Initial program 25.0%
Taylor expanded in y3 around -inf 31.8%
Taylor expanded in j around 0 63.0%
if -9.20000000000000014e115 < z < -4.7000000000000003e-36 or 1.05e137 < z Initial program 24.5%
Taylor expanded in z around -inf 60.5%
Taylor expanded in k around 0 66.9%
if -4.7000000000000003e-36 < z < -7.799999999999999e-306Initial program 23.2%
Taylor expanded in y4 around inf 53.6%
if -7.799999999999999e-306 < z < 4.20000000000000003e-244Initial program 27.3%
Taylor expanded in y2 around inf 72.6%
if 4.20000000000000003e-244 < z < 3.10000000000000014e-105Initial program 26.0%
Taylor expanded in j around inf 22.0%
Taylor expanded in y0 around inf 50.8%
if 3.10000000000000014e-105 < z < 1.8000000000000001e-42Initial program 27.7%
Taylor expanded in x around inf 73.3%
if 1.8000000000000001e-42 < z < 3.5000000000000001e-15Initial program 29.3%
Taylor expanded in c around inf 42.9%
mul-1-neg42.9%
Simplified42.9%
Taylor expanded in a around -inf 71.6%
mul-1-neg71.6%
Simplified71.6%
if 3.5000000000000001e-15 < z < 6.6000000000000002e37Initial program 25.0%
Taylor expanded in y3 around -inf 37.6%
Taylor expanded in j around 0 38.2%
Taylor expanded in y5 around 0 57.1%
if 6.6000000000000002e37 < z < 1.05e137Initial program 27.8%
Taylor expanded in b around inf 42.7%
Taylor expanded in y4 around 0 56.7%
Final simplification62.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
(+
(+
(+
(+
(+
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* x j) (* z k)) (- (* i y1) (* b y0))))
(* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))))
(* (- (* t j) (* y k)) (- (* b y4) (* i y5))))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* t_1 (- (* y1 y4) (* y0 y5))))))
(if (<= t_2 INFINITY)
t_2
(* y1 (+ (* a (- (* z y3) (* x y2))) (* 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 = (k * y2) - (j * y3);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_1 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= ((double) INFINITY)) {
tmp = t_2;
} else {
tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * 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 = (k * y2) - (j * y3);
double t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_1 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_2;
} else {
tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * t_1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (k * y2) - (j * y3) t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_1 * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_2 <= math.inf: tmp = t_2 else: tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * t_1)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(k * y2) - Float64(j * y3)) t_2 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) + Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(i * y1) - Float64(b * y0)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(b * y4) - Float64(i * y5)))) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(t_1 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_2 <= Inf) tmp = t_2; else tmp = Float64(y1 * Float64(Float64(a * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y4 * t_1))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (k * y2) - (j * y3); t_2 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) + (((x * j) - (z * k)) * ((i * y1) - (b * y0)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((t * j) - (y * k)) * ((b * y4) - (i * y5)))) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_1 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_2 <= Inf) tmp = t_2; else tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * t_1)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, Infinity], t$95$2, N[(y1 * N[(N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) + \left(x \cdot j - z \cdot k\right) \cdot \left(i \cdot y1 - b \cdot y0\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + t\_1 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_2 \leq \infty:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 - x \cdot y2\right) + y4 \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 81.1%
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 c around inf 9.1%
mul-1-neg9.1%
Simplified9.1%
Taylor expanded in y1 around inf 42.6%
Final simplification54.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y3 (+ (* c (* y y4)) (* z (- (* a y1) (* c y0))))))
(t_2
(*
t
(+
(* j (- (* b y4) (* i y5)))
(+ (* c (* z i)) (* y2 (- (* a y5) (* c y4)))))))
(t_3
(* y1 (+ (* a (- (* z y3) (* x y2))) (* y4 (- (* k y2) (* j y3)))))))
(if (<= i -3.55e+142)
(* i (* j (- (* x y1) (* t y5))))
(if (<= i -7.5e-44)
t_1
(if (<= i -2.8e-162)
t_2
(if (<= i -4.4e-175)
t_3
(if (<= i -1.1e-279)
(* b (+ (* a (- (* x y) (* z t))) (* y0 (- (* z k) (* x j)))))
(if (<= i -6.5e-298)
(* y3 (* y5 (- (* j y0) (* y a))))
(if (<= i 2.6e-218)
t_3
(if (<= i 1.3e-75)
t_1
(if (<= i 1.32e+116)
t_3
(if (or (<= i 8e+224) (not (<= i 9.2e+249)))
(*
i
(+
(* y1 (- (* x j) (* z k)))
(* c (- (* z t) (* x y)))))
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 = y3 * ((c * (y * y4)) + (z * ((a * y1) - (c * y0))));
double t_2 = t * ((j * ((b * y4) - (i * y5))) + ((c * (z * i)) + (y2 * ((a * y5) - (c * y4)))));
double t_3 = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3))));
double tmp;
if (i <= -3.55e+142) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (i <= -7.5e-44) {
tmp = t_1;
} else if (i <= -2.8e-162) {
tmp = t_2;
} else if (i <= -4.4e-175) {
tmp = t_3;
} else if (i <= -1.1e-279) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else if (i <= -6.5e-298) {
tmp = y3 * (y5 * ((j * y0) - (y * a)));
} else if (i <= 2.6e-218) {
tmp = t_3;
} else if (i <= 1.3e-75) {
tmp = t_1;
} else if (i <= 1.32e+116) {
tmp = t_3;
} else if ((i <= 8e+224) || !(i <= 9.2e+249)) {
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))));
} 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 = y3 * ((c * (y * y4)) + (z * ((a * y1) - (c * y0))))
t_2 = t * ((j * ((b * y4) - (i * y5))) + ((c * (z * i)) + (y2 * ((a * y5) - (c * y4)))))
t_3 = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3))))
if (i <= (-3.55d+142)) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (i <= (-7.5d-44)) then
tmp = t_1
else if (i <= (-2.8d-162)) then
tmp = t_2
else if (i <= (-4.4d-175)) then
tmp = t_3
else if (i <= (-1.1d-279)) then
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))))
else if (i <= (-6.5d-298)) then
tmp = y3 * (y5 * ((j * y0) - (y * a)))
else if (i <= 2.6d-218) then
tmp = t_3
else if (i <= 1.3d-75) then
tmp = t_1
else if (i <= 1.32d+116) then
tmp = t_3
else if ((i <= 8d+224) .or. (.not. (i <= 9.2d+249))) then
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))))
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 = y3 * ((c * (y * y4)) + (z * ((a * y1) - (c * y0))));
double t_2 = t * ((j * ((b * y4) - (i * y5))) + ((c * (z * i)) + (y2 * ((a * y5) - (c * y4)))));
double t_3 = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3))));
double tmp;
if (i <= -3.55e+142) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (i <= -7.5e-44) {
tmp = t_1;
} else if (i <= -2.8e-162) {
tmp = t_2;
} else if (i <= -4.4e-175) {
tmp = t_3;
} else if (i <= -1.1e-279) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else if (i <= -6.5e-298) {
tmp = y3 * (y5 * ((j * y0) - (y * a)));
} else if (i <= 2.6e-218) {
tmp = t_3;
} else if (i <= 1.3e-75) {
tmp = t_1;
} else if (i <= 1.32e+116) {
tmp = t_3;
} else if ((i <= 8e+224) || !(i <= 9.2e+249)) {
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))));
} 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 = y3 * ((c * (y * y4)) + (z * ((a * y1) - (c * y0)))) t_2 = t * ((j * ((b * y4) - (i * y5))) + ((c * (z * i)) + (y2 * ((a * y5) - (c * y4))))) t_3 = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) tmp = 0 if i <= -3.55e+142: tmp = i * (j * ((x * y1) - (t * y5))) elif i <= -7.5e-44: tmp = t_1 elif i <= -2.8e-162: tmp = t_2 elif i <= -4.4e-175: tmp = t_3 elif i <= -1.1e-279: tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))) elif i <= -6.5e-298: tmp = y3 * (y5 * ((j * y0) - (y * a))) elif i <= 2.6e-218: tmp = t_3 elif i <= 1.3e-75: tmp = t_1 elif i <= 1.32e+116: tmp = t_3 elif (i <= 8e+224) or not (i <= 9.2e+249): tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y)))) 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(y3 * Float64(Float64(c * Float64(y * y4)) + Float64(z * Float64(Float64(a * y1) - Float64(c * y0))))) t_2 = Float64(t * Float64(Float64(j * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(Float64(c * Float64(z * i)) + Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))))) t_3 = Float64(y1 * Float64(Float64(a * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))))) tmp = 0.0 if (i <= -3.55e+142) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (i <= -7.5e-44) tmp = t_1; elseif (i <= -2.8e-162) tmp = t_2; elseif (i <= -4.4e-175) tmp = t_3; elseif (i <= -1.1e-279) tmp = Float64(b * Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (i <= -6.5e-298) tmp = Float64(y3 * Float64(y5 * Float64(Float64(j * y0) - Float64(y * a)))); elseif (i <= 2.6e-218) tmp = t_3; elseif (i <= 1.3e-75) tmp = t_1; elseif (i <= 1.32e+116) tmp = t_3; elseif ((i <= 8e+224) || !(i <= 9.2e+249)) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(c * Float64(Float64(z * t) - Float64(x * y))))); 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 = y3 * ((c * (y * y4)) + (z * ((a * y1) - (c * y0)))); t_2 = t * ((j * ((b * y4) - (i * y5))) + ((c * (z * i)) + (y2 * ((a * y5) - (c * y4))))); t_3 = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))); tmp = 0.0; if (i <= -3.55e+142) tmp = i * (j * ((x * y1) - (t * y5))); elseif (i <= -7.5e-44) tmp = t_1; elseif (i <= -2.8e-162) tmp = t_2; elseif (i <= -4.4e-175) tmp = t_3; elseif (i <= -1.1e-279) tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))); elseif (i <= -6.5e-298) tmp = y3 * (y5 * ((j * y0) - (y * a))); elseif (i <= 2.6e-218) tmp = t_3; elseif (i <= 1.3e-75) tmp = t_1; elseif (i <= 1.32e+116) tmp = t_3; elseif ((i <= 8e+224) || ~((i <= 9.2e+249))) tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y)))); 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[(y3 * N[(N[(c * N[(y * y4), $MachinePrecision]), $MachinePrecision] + N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(t * N[(N[(j * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(c * N[(z * i), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y1 * 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]), $MachinePrecision]}, If[LessEqual[i, -3.55e+142], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -7.5e-44], t$95$1, If[LessEqual[i, -2.8e-162], t$95$2, If[LessEqual[i, -4.4e-175], t$95$3, If[LessEqual[i, -1.1e-279], N[(b * N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -6.5e-298], N[(y3 * N[(y5 * N[(N[(j * y0), $MachinePrecision] - N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.6e-218], t$95$3, If[LessEqual[i, 1.3e-75], t$95$1, If[LessEqual[i, 1.32e+116], t$95$3, If[Or[LessEqual[i, 8e+224], N[Not[LessEqual[i, 9.2e+249]], $MachinePrecision]], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y3 \cdot \left(c \cdot \left(y \cdot y4\right) + z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
t_2 := t \cdot \left(j \cdot \left(b \cdot y4 - i \cdot y5\right) + \left(c \cdot \left(z \cdot i\right) + y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\right)\\
t_3 := y1 \cdot \left(a \cdot \left(z \cdot y3 - x \cdot y2\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{if}\;i \leq -3.55 \cdot 10^{+142}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq -7.5 \cdot 10^{-44}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -2.8 \cdot 10^{-162}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;i \leq -4.4 \cdot 10^{-175}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq -1.1 \cdot 10^{-279}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;i \leq -6.5 \cdot 10^{-298}:\\
\;\;\;\;y3 \cdot \left(y5 \cdot \left(j \cdot y0 - y \cdot a\right)\right)\\
\mathbf{elif}\;i \leq 2.6 \cdot 10^{-218}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq 1.3 \cdot 10^{-75}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 1.32 \cdot 10^{+116}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;i \leq 8 \cdot 10^{+224} \lor \neg \left(i \leq 9.2 \cdot 10^{+249}\right):\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + c \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if i < -3.55e142Initial program 19.2%
Taylor expanded in j around inf 48.6%
Taylor expanded in i around -inf 56.7%
mul-1-neg56.7%
Simplified56.7%
if -3.55e142 < i < -7.50000000000000008e-44 or 2.59999999999999983e-218 < i < 1.3e-75Initial program 22.6%
Taylor expanded in y3 around -inf 31.8%
Taylor expanded in j around 0 35.8%
Taylor expanded in y5 around 0 49.2%
if -7.50000000000000008e-44 < i < -2.80000000000000022e-162 or 7.99999999999999976e224 < i < 9.1999999999999993e249Initial program 31.4%
Taylor expanded in c around inf 43.9%
mul-1-neg43.9%
Simplified43.9%
Taylor expanded in t around inf 66.1%
if -2.80000000000000022e-162 < i < -4.4e-175 or -6.5000000000000002e-298 < i < 2.59999999999999983e-218 or 1.3e-75 < i < 1.32000000000000002e116Initial program 24.6%
Taylor expanded in c around inf 27.4%
mul-1-neg27.4%
Simplified27.4%
Taylor expanded in y1 around inf 60.5%
if -4.4e-175 < i < -1.1e-279Initial program 20.2%
Taylor expanded in b around inf 42.0%
Taylor expanded in y4 around 0 52.5%
if -1.1e-279 < i < -6.5000000000000002e-298Initial program 0.0%
Taylor expanded in y3 around -inf 20.0%
Taylor expanded in y5 around -inf 80.4%
mul-1-neg80.4%
Simplified80.4%
if 1.32000000000000002e116 < i < 7.99999999999999976e224 or 9.1999999999999993e249 < i Initial program 34.0%
Taylor expanded in i around -inf 62.0%
Taylor expanded in y5 around 0 64.4%
Final simplification58.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* z y3) (* x y2)))
(t_2 (* y1 (- (* x j) (* z k))))
(t_3 (* a (- (* x y) (* z t))))
(t_4 (- (* a y1) (* c y0)))
(t_5 (* y0 (- (* z k) (* x j)))))
(if (<= z -2.2e+241)
(* i (+ t_2 (* c (- (* z t) (* x y)))))
(if (<= z -3e+167)
(* y3 (+ (* y (- (* c y4) (* a y5))) (* z t_4)))
(if (<= z -9.8e+60)
(* i t_2)
(if (<= z -1.4e-7)
(* b (* x (- (* y a) (* j y0))))
(if (<= z -2.6e-117)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= z -1.85e-293)
(*
k
(+ (* y (- (* i y5) (* b y4))) (* y2 (- (* y1 y4) (* y0 y5)))))
(if (<= z 3e-170)
(* y1 (+ (* a t_1) (* y4 (- (* k y2) (* j y3)))))
(if (<= z 4.6e-138)
(* b (+ (+ t_3 (* y4 (- (* t j) (* y k)))) t_5))
(if (<= z 1.35e-71)
(* c (* y3 (- (* y y4) (* z y0))))
(if (<= z 2.7e-42)
(*
x
(+
(+
(* y (- (* a b) (* c i)))
(* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= z 2.2e+37)
(* a (+ (* y5 (- (* t y2) (* y y3))) (* y1 t_1)))
(if (<= z 1.45e+137)
(* b (+ t_3 t_5))
(*
z
(+
(* y3 t_4)
(* t (- (* c i) (* a 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 t_1 = (z * y3) - (x * y2);
double t_2 = y1 * ((x * j) - (z * k));
double t_3 = a * ((x * y) - (z * t));
double t_4 = (a * y1) - (c * y0);
double t_5 = y0 * ((z * k) - (x * j));
double tmp;
if (z <= -2.2e+241) {
tmp = i * (t_2 + (c * ((z * t) - (x * y))));
} else if (z <= -3e+167) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_4));
} else if (z <= -9.8e+60) {
tmp = i * t_2;
} else if (z <= -1.4e-7) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -2.6e-117) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= -1.85e-293) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
} else if (z <= 3e-170) {
tmp = y1 * ((a * t_1) + (y4 * ((k * y2) - (j * y3))));
} else if (z <= 4.6e-138) {
tmp = b * ((t_3 + (y4 * ((t * j) - (y * k)))) + t_5);
} else if (z <= 1.35e-71) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (z <= 2.7e-42) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (z <= 2.2e+37) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * t_1));
} else if (z <= 1.45e+137) {
tmp = b * (t_3 + t_5);
} else {
tmp = z * ((y3 * t_4) + (t * ((c * i) - (a * 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) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = (z * y3) - (x * y2)
t_2 = y1 * ((x * j) - (z * k))
t_3 = a * ((x * y) - (z * t))
t_4 = (a * y1) - (c * y0)
t_5 = y0 * ((z * k) - (x * j))
if (z <= (-2.2d+241)) then
tmp = i * (t_2 + (c * ((z * t) - (x * y))))
else if (z <= (-3d+167)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_4))
else if (z <= (-9.8d+60)) then
tmp = i * t_2
else if (z <= (-1.4d-7)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= (-2.6d-117)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (z <= (-1.85d-293)) then
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))))
else if (z <= 3d-170) then
tmp = y1 * ((a * t_1) + (y4 * ((k * y2) - (j * y3))))
else if (z <= 4.6d-138) then
tmp = b * ((t_3 + (y4 * ((t * j) - (y * k)))) + t_5)
else if (z <= 1.35d-71) then
tmp = c * (y3 * ((y * y4) - (z * y0)))
else if (z <= 2.7d-42) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (z <= 2.2d+37) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * t_1))
else if (z <= 1.45d+137) then
tmp = b * (t_3 + t_5)
else
tmp = z * ((y3 * t_4) + (t * ((c * i) - (a * 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 t_1 = (z * y3) - (x * y2);
double t_2 = y1 * ((x * j) - (z * k));
double t_3 = a * ((x * y) - (z * t));
double t_4 = (a * y1) - (c * y0);
double t_5 = y0 * ((z * k) - (x * j));
double tmp;
if (z <= -2.2e+241) {
tmp = i * (t_2 + (c * ((z * t) - (x * y))));
} else if (z <= -3e+167) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_4));
} else if (z <= -9.8e+60) {
tmp = i * t_2;
} else if (z <= -1.4e-7) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -2.6e-117) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= -1.85e-293) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
} else if (z <= 3e-170) {
tmp = y1 * ((a * t_1) + (y4 * ((k * y2) - (j * y3))));
} else if (z <= 4.6e-138) {
tmp = b * ((t_3 + (y4 * ((t * j) - (y * k)))) + t_5);
} else if (z <= 1.35e-71) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (z <= 2.7e-42) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (z <= 2.2e+37) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * t_1));
} else if (z <= 1.45e+137) {
tmp = b * (t_3 + t_5);
} else {
tmp = z * ((y3 * t_4) + (t * ((c * i) - (a * b))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (z * y3) - (x * y2) t_2 = y1 * ((x * j) - (z * k)) t_3 = a * ((x * y) - (z * t)) t_4 = (a * y1) - (c * y0) t_5 = y0 * ((z * k) - (x * j)) tmp = 0 if z <= -2.2e+241: tmp = i * (t_2 + (c * ((z * t) - (x * y)))) elif z <= -3e+167: tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_4)) elif z <= -9.8e+60: tmp = i * t_2 elif z <= -1.4e-7: tmp = b * (x * ((y * a) - (j * y0))) elif z <= -2.6e-117: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif z <= -1.85e-293: tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) elif z <= 3e-170: tmp = y1 * ((a * t_1) + (y4 * ((k * y2) - (j * y3)))) elif z <= 4.6e-138: tmp = b * ((t_3 + (y4 * ((t * j) - (y * k)))) + t_5) elif z <= 1.35e-71: tmp = c * (y3 * ((y * y4) - (z * y0))) elif z <= 2.7e-42: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif z <= 2.2e+37: tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * t_1)) elif z <= 1.45e+137: tmp = b * (t_3 + t_5) else: tmp = z * ((y3 * t_4) + (t * ((c * i) - (a * b)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(z * y3) - Float64(x * y2)) t_2 = Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) t_3 = Float64(a * Float64(Float64(x * y) - Float64(z * t))) t_4 = Float64(Float64(a * y1) - Float64(c * y0)) t_5 = Float64(y0 * Float64(Float64(z * k) - Float64(x * j))) tmp = 0.0 if (z <= -2.2e+241) tmp = Float64(i * Float64(t_2 + Float64(c * Float64(Float64(z * t) - Float64(x * y))))); elseif (z <= -3e+167) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(z * t_4))); elseif (z <= -9.8e+60) tmp = Float64(i * t_2); elseif (z <= -1.4e-7) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= -2.6e-117) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (z <= -1.85e-293) tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))); elseif (z <= 3e-170) tmp = Float64(y1 * Float64(Float64(a * t_1) + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))))); elseif (z <= 4.6e-138) tmp = Float64(b * Float64(Float64(t_3 + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + t_5)); elseif (z <= 1.35e-71) tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0)))); elseif (z <= 2.7e-42) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (z <= 2.2e+37) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * t_1))); elseif (z <= 1.45e+137) tmp = Float64(b * Float64(t_3 + t_5)); else tmp = Float64(z * Float64(Float64(y3 * t_4) + Float64(t * Float64(Float64(c * i) - Float64(a * 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) t_1 = (z * y3) - (x * y2); t_2 = y1 * ((x * j) - (z * k)); t_3 = a * ((x * y) - (z * t)); t_4 = (a * y1) - (c * y0); t_5 = y0 * ((z * k) - (x * j)); tmp = 0.0; if (z <= -2.2e+241) tmp = i * (t_2 + (c * ((z * t) - (x * y)))); elseif (z <= -3e+167) tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_4)); elseif (z <= -9.8e+60) tmp = i * t_2; elseif (z <= -1.4e-7) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= -2.6e-117) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (z <= -1.85e-293) tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))); elseif (z <= 3e-170) tmp = y1 * ((a * t_1) + (y4 * ((k * y2) - (j * y3)))); elseif (z <= 4.6e-138) tmp = b * ((t_3 + (y4 * ((t * j) - (y * k)))) + t_5); elseif (z <= 1.35e-71) tmp = c * (y3 * ((y * y4) - (z * y0))); elseif (z <= 2.7e-42) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (z <= 2.2e+37) tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * t_1)); elseif (z <= 1.45e+137) tmp = b * (t_3 + t_5); else tmp = z * ((y3 * t_4) + (t * ((c * i) - (a * b)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.2e+241], N[(i * N[(t$95$2 + N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3e+167], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -9.8e+60], N[(i * t$95$2), $MachinePrecision], If[LessEqual[z, -1.4e-7], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.6e-117], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.85e-293], 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[z, 3e-170], N[(y1 * N[(N[(a * t$95$1), $MachinePrecision] + N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.6e-138], N[(b * N[(N[(t$95$3 + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$5), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.35e-71], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.7e-42], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.2e+37], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.45e+137], N[(b * N[(t$95$3 + t$95$5), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(y3 * t$95$4), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot y3 - x \cdot y2\\
t_2 := y1 \cdot \left(x \cdot j - z \cdot k\right)\\
t_3 := a \cdot \left(x \cdot y - z \cdot t\right)\\
t_4 := a \cdot y1 - c \cdot y0\\
t_5 := y0 \cdot \left(z \cdot k - x \cdot j\right)\\
\mathbf{if}\;z \leq -2.2 \cdot 10^{+241}:\\
\;\;\;\;i \cdot \left(t\_2 + c \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;z \leq -3 \cdot 10^{+167}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + z \cdot t\_4\right)\\
\mathbf{elif}\;z \leq -9.8 \cdot 10^{+60}:\\
\;\;\;\;i \cdot t\_2\\
\mathbf{elif}\;z \leq -1.4 \cdot 10^{-7}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq -2.6 \cdot 10^{-117}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq -1.85 \cdot 10^{-293}:\\
\;\;\;\;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}\;z \leq 3 \cdot 10^{-170}:\\
\;\;\;\;y1 \cdot \left(a \cdot t\_1 + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{elif}\;z \leq 4.6 \cdot 10^{-138}:\\
\;\;\;\;b \cdot \left(\left(t\_3 + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + t\_5\right)\\
\mathbf{elif}\;z \leq 1.35 \cdot 10^{-71}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 2.7 \cdot 10^{-42}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 2.2 \cdot 10^{+37}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot t\_1\right)\\
\mathbf{elif}\;z \leq 1.45 \cdot 10^{+137}:\\
\;\;\;\;b \cdot \left(t\_3 + t\_5\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(y3 \cdot t\_4 + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\end{array}
\end{array}
if z < -2.2e241Initial program 28.6%
Taylor expanded in i around -inf 85.7%
Taylor expanded in y5 around 0 85.7%
if -2.2e241 < z < -3.00000000000000012e167Initial program 25.0%
Taylor expanded in y3 around -inf 31.8%
Taylor expanded in j around 0 63.0%
if -3.00000000000000012e167 < z < -9.8000000000000005e60Initial program 18.8%
Taylor expanded in i around -inf 50.0%
Taylor expanded in y1 around inf 63.2%
if -9.8000000000000005e60 < z < -1.4000000000000001e-7Initial program 29.0%
Taylor expanded in b around inf 29.1%
Taylor expanded in x around inf 65.2%
if -1.4000000000000001e-7 < z < -2.59999999999999983e-117Initial program 16.0%
Taylor expanded in j around inf 62.0%
Taylor expanded in y1 around -inf 58.8%
mul-1-neg58.8%
Simplified58.8%
if -2.59999999999999983e-117 < z < -1.85000000000000004e-293Initial program 31.3%
Taylor expanded in c around inf 37.9%
mul-1-neg37.9%
Simplified37.9%
Taylor expanded in k around inf 45.9%
if -1.85000000000000004e-293 < z < 3.00000000000000013e-170Initial program 21.0%
Taylor expanded in c around inf 37.2%
mul-1-neg37.2%
Simplified37.2%
Taylor expanded in y1 around inf 50.4%
if 3.00000000000000013e-170 < z < 4.5999999999999998e-138Initial program 100.0%
Taylor expanded in b around inf 100.0%
if 4.5999999999999998e-138 < z < 1.3500000000000001e-71Initial program 20.0%
Taylor expanded in y3 around -inf 60.0%
Taylor expanded in c around inf 70.2%
if 1.3500000000000001e-71 < z < 2.69999999999999999e-42Initial program 34.1%
Taylor expanded in x around inf 84.1%
if 2.69999999999999999e-42 < z < 2.2000000000000001e37Initial program 26.3%
Taylor expanded in c around inf 30.4%
mul-1-neg30.4%
Simplified30.4%
Taylor expanded in a around -inf 56.9%
mul-1-neg56.9%
Simplified56.9%
if 2.2000000000000001e37 < z < 1.44999999999999992e137Initial program 27.8%
Taylor expanded in b around inf 42.7%
Taylor expanded in y4 around 0 56.7%
if 1.44999999999999992e137 < z Initial program 24.7%
Taylor expanded in z around -inf 75.3%
Taylor expanded in k around 0 73.0%
Final simplification61.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* z (* y1 (- (/ (* t c) y1) k)))))
(t_2 (* x (- (* y2 (- (* c y0) (* a y1))) (* c (* y i))))))
(if (<= y1 -4.8e+235)
(* y3 (* y1 (- (* z a) (* j y4))))
(if (<= y1 -1.65e+127)
t_1
(if (<= y1 -1.9e+98)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y1 -1.35e-8)
(* z (* c (- (* t i) (* y0 y3))))
(if (<= y1 -1.3e-29)
t_2
(if (<= y1 -3.5e-55)
(* y3 (* a (- (* z y1) (* y y5))))
(if (<= y1 -4.2e-208)
(* b (* x (- (* y a) (* j y0))))
(if (<= y1 5.6e-195)
(* j (* t (- (* b y4) (* i y5))))
(if (<= y1 9.6e-147)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= y1 3.4e-85)
t_1
(if (<= y1 1.4e+53)
t_2
(* i (* z (* t (- c (* k (/ y1 t)))))))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (z * (y1 * (((t * c) / y1) - k)));
double t_2 = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
double tmp;
if (y1 <= -4.8e+235) {
tmp = y3 * (y1 * ((z * a) - (j * y4)));
} else if (y1 <= -1.65e+127) {
tmp = t_1;
} else if (y1 <= -1.9e+98) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y1 <= -1.35e-8) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (y1 <= -1.3e-29) {
tmp = t_2;
} else if (y1 <= -3.5e-55) {
tmp = y3 * (a * ((z * y1) - (y * y5)));
} else if (y1 <= -4.2e-208) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y1 <= 5.6e-195) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y1 <= 9.6e-147) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 3.4e-85) {
tmp = t_1;
} else if (y1 <= 1.4e+53) {
tmp = t_2;
} else {
tmp = i * (z * (t * (c - (k * (y1 / t)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = i * (z * (y1 * (((t * c) / y1) - k)))
t_2 = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)))
if (y1 <= (-4.8d+235)) then
tmp = y3 * (y1 * ((z * a) - (j * y4)))
else if (y1 <= (-1.65d+127)) then
tmp = t_1
else if (y1 <= (-1.9d+98)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y1 <= (-1.35d-8)) then
tmp = z * (c * ((t * i) - (y0 * y3)))
else if (y1 <= (-1.3d-29)) then
tmp = t_2
else if (y1 <= (-3.5d-55)) then
tmp = y3 * (a * ((z * y1) - (y * y5)))
else if (y1 <= (-4.2d-208)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y1 <= 5.6d-195) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (y1 <= 9.6d-147) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (y1 <= 3.4d-85) then
tmp = t_1
else if (y1 <= 1.4d+53) then
tmp = t_2
else
tmp = i * (z * (t * (c - (k * (y1 / t)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * (z * (y1 * (((t * c) / y1) - k)));
double t_2 = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
double tmp;
if (y1 <= -4.8e+235) {
tmp = y3 * (y1 * ((z * a) - (j * y4)));
} else if (y1 <= -1.65e+127) {
tmp = t_1;
} else if (y1 <= -1.9e+98) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y1 <= -1.35e-8) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (y1 <= -1.3e-29) {
tmp = t_2;
} else if (y1 <= -3.5e-55) {
tmp = y3 * (a * ((z * y1) - (y * y5)));
} else if (y1 <= -4.2e-208) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y1 <= 5.6e-195) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (y1 <= 9.6e-147) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (y1 <= 3.4e-85) {
tmp = t_1;
} else if (y1 <= 1.4e+53) {
tmp = t_2;
} else {
tmp = i * (z * (t * (c - (k * (y1 / t)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (z * (y1 * (((t * c) / y1) - k))) t_2 = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))) tmp = 0 if y1 <= -4.8e+235: tmp = y3 * (y1 * ((z * a) - (j * y4))) elif y1 <= -1.65e+127: tmp = t_1 elif y1 <= -1.9e+98: tmp = b * (y0 * ((z * k) - (x * j))) elif y1 <= -1.35e-8: tmp = z * (c * ((t * i) - (y0 * y3))) elif y1 <= -1.3e-29: tmp = t_2 elif y1 <= -3.5e-55: tmp = y3 * (a * ((z * y1) - (y * y5))) elif y1 <= -4.2e-208: tmp = b * (x * ((y * a) - (j * y0))) elif y1 <= 5.6e-195: tmp = j * (t * ((b * y4) - (i * y5))) elif y1 <= 9.6e-147: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif y1 <= 3.4e-85: tmp = t_1 elif y1 <= 1.4e+53: tmp = t_2 else: tmp = i * (z * (t * (c - (k * (y1 / t))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(z * Float64(y1 * Float64(Float64(Float64(t * c) / y1) - k)))) t_2 = Float64(x * Float64(Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(c * Float64(y * i)))) tmp = 0.0 if (y1 <= -4.8e+235) tmp = Float64(y3 * Float64(y1 * Float64(Float64(z * a) - Float64(j * y4)))); elseif (y1 <= -1.65e+127) tmp = t_1; elseif (y1 <= -1.9e+98) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y1 <= -1.35e-8) tmp = Float64(z * Float64(c * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (y1 <= -1.3e-29) tmp = t_2; elseif (y1 <= -3.5e-55) tmp = Float64(y3 * Float64(a * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y1 <= -4.2e-208) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y1 <= 5.6e-195) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (y1 <= 9.6e-147) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (y1 <= 3.4e-85) tmp = t_1; elseif (y1 <= 1.4e+53) tmp = t_2; else tmp = Float64(i * Float64(z * Float64(t * Float64(c - Float64(k * Float64(y1 / t)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * (z * (y1 * (((t * c) / y1) - k))); t_2 = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))); tmp = 0.0; if (y1 <= -4.8e+235) tmp = y3 * (y1 * ((z * a) - (j * y4))); elseif (y1 <= -1.65e+127) tmp = t_1; elseif (y1 <= -1.9e+98) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y1 <= -1.35e-8) tmp = z * (c * ((t * i) - (y0 * y3))); elseif (y1 <= -1.3e-29) tmp = t_2; elseif (y1 <= -3.5e-55) tmp = y3 * (a * ((z * y1) - (y * y5))); elseif (y1 <= -4.2e-208) tmp = b * (x * ((y * a) - (j * y0))); elseif (y1 <= 5.6e-195) tmp = j * (t * ((b * y4) - (i * y5))); elseif (y1 <= 9.6e-147) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (y1 <= 3.4e-85) tmp = t_1; elseif (y1 <= 1.4e+53) tmp = t_2; else tmp = i * (z * (t * (c - (k * (y1 / t))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(z * N[(y1 * N[(N[(N[(t * c), $MachinePrecision] / y1), $MachinePrecision] - k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -4.8e+235], N[(y3 * N[(y1 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.65e+127], t$95$1, If[LessEqual[y1, -1.9e+98], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.35e-8], N[(z * N[(c * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.3e-29], t$95$2, If[LessEqual[y1, -3.5e-55], N[(y3 * N[(a * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4.2e-208], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.6e-195], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 9.6e-147], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.4e-85], t$95$1, If[LessEqual[y1, 1.4e+53], t$95$2, N[(i * N[(z * N[(t * N[(c - N[(k * N[(y1 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(z \cdot \left(y1 \cdot \left(\frac{t \cdot c}{y1} - k\right)\right)\right)\\
t_2 := x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) - c \cdot \left(y \cdot i\right)\right)\\
\mathbf{if}\;y1 \leq -4.8 \cdot 10^{+235}:\\
\;\;\;\;y3 \cdot \left(y1 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq -1.65 \cdot 10^{+127}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq -1.9 \cdot 10^{+98}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq -1.35 \cdot 10^{-8}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq -1.3 \cdot 10^{-29}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y1 \leq -3.5 \cdot 10^{-55}:\\
\;\;\;\;y3 \cdot \left(a \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq -4.2 \cdot 10^{-208}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 5.6 \cdot 10^{-195}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq 9.6 \cdot 10^{-147}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;y1 \leq 3.4 \cdot 10^{-85}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq 1.4 \cdot 10^{+53}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot \left(c - k \cdot \frac{y1}{t}\right)\right)\right)\\
\end{array}
\end{array}
if y1 < -4.7999999999999998e235Initial program 22.2%
Taylor expanded in y3 around -inf 21.9%
Taylor expanded in y1 around inf 58.3%
if -4.7999999999999998e235 < y1 < -1.64999999999999988e127 or 9.59999999999999994e-147 < y1 < 3.4e-85Initial program 27.5%
Taylor expanded in i around -inf 49.2%
Taylor expanded in z around -inf 44.1%
mul-1-neg44.1%
Simplified44.1%
Taylor expanded in y1 around inf 46.8%
if -1.64999999999999988e127 < y1 < -1.89999999999999995e98Initial program 12.5%
Taylor expanded in b around inf 13.1%
Taylor expanded in y0 around inf 75.3%
if -1.89999999999999995e98 < y1 < -1.35000000000000001e-8Initial program 29.0%
Taylor expanded in z around -inf 43.5%
Taylor expanded in c around inf 47.2%
+-commutative47.2%
mul-1-neg47.2%
unsub-neg47.2%
*-commutative47.2%
Simplified47.2%
if -1.35000000000000001e-8 < y1 < -1.3000000000000001e-29 or 3.4e-85 < y1 < 1.4e53Initial program 17.6%
Taylor expanded in c around inf 26.5%
mul-1-neg26.5%
Simplified26.5%
Taylor expanded in x around inf 61.7%
if -1.3000000000000001e-29 < y1 < -3.50000000000000025e-55Initial program 22.2%
Taylor expanded in y3 around -inf 33.3%
Taylor expanded in a around -inf 65.9%
mul-1-neg65.9%
Simplified65.9%
if -3.50000000000000025e-55 < y1 < -4.20000000000000024e-208Initial program 32.8%
Taylor expanded in b around inf 43.8%
Taylor expanded in x around inf 47.6%
if -4.20000000000000024e-208 < y1 < 5.60000000000000007e-195Initial program 42.2%
Taylor expanded in j around inf 42.4%
Taylor expanded in t around inf 52.3%
if 5.60000000000000007e-195 < y1 < 9.59999999999999994e-147Initial program 12.5%
Taylor expanded in j around inf 50.0%
Taylor expanded in y0 around inf 87.9%
if 1.4e53 < y1 Initial program 18.7%
Taylor expanded in i around -inf 43.3%
Taylor expanded in z around -inf 43.9%
mul-1-neg43.9%
Simplified43.9%
Taylor expanded in t around inf 45.7%
mul-1-neg45.7%
unsub-neg45.7%
associate-/l*52.8%
Simplified52.8%
Final simplification54.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y1) (* c y0))) (t_2 (* b (* k (- (* z y0) (* y y4))))))
(if (<= j -2.55e+194)
(* i (* j (- (* x y1) (* t y5))))
(if (<= j -3.8e+79)
(* b (* y4 (- (* t j) (* y k))))
(if (<= j -2.9e+24)
(* c (* i (- (* z t) (* x y))))
(if (<= j -4.8e-37)
t_2
(if (<= j -3e-157)
(* z (* y3 t_1))
(if (<= j 8.5e-196)
(* b (* z (- (* k y0) (* t a))))
(if (<= j 4.9e-142)
(* y3 (* z t_1))
(if (<= j 5.5e-74)
(* b (* a (- (* x y) (* z t))))
(if (<= j 4.3e-8)
(* y1 (* a (* z y3)))
(if (<= j 6.6e+50)
(* b (* y0 (- (* z k) (* x j))))
(if (<= j 1.3e+139)
t_2
(if (<= j 5.5e+204)
(* j (* y1 (- (* x i) (* y3 y4))))
(* 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 t_1 = (a * y1) - (c * y0);
double t_2 = b * (k * ((z * y0) - (y * y4)));
double tmp;
if (j <= -2.55e+194) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (j <= -3.8e+79) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= -2.9e+24) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (j <= -4.8e-37) {
tmp = t_2;
} else if (j <= -3e-157) {
tmp = z * (y3 * t_1);
} else if (j <= 8.5e-196) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (j <= 4.9e-142) {
tmp = y3 * (z * t_1);
} else if (j <= 5.5e-74) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 4.3e-8) {
tmp = y1 * (a * (z * y3));
} else if (j <= 6.6e+50) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (j <= 1.3e+139) {
tmp = t_2;
} else if (j <= 5.5e+204) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} 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) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (a * y1) - (c * y0)
t_2 = b * (k * ((z * y0) - (y * y4)))
if (j <= (-2.55d+194)) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (j <= (-3.8d+79)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (j <= (-2.9d+24)) then
tmp = c * (i * ((z * t) - (x * y)))
else if (j <= (-4.8d-37)) then
tmp = t_2
else if (j <= (-3d-157)) then
tmp = z * (y3 * t_1)
else if (j <= 8.5d-196) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (j <= 4.9d-142) then
tmp = y3 * (z * t_1)
else if (j <= 5.5d-74) then
tmp = b * (a * ((x * y) - (z * t)))
else if (j <= 4.3d-8) then
tmp = y1 * (a * (z * y3))
else if (j <= 6.6d+50) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (j <= 1.3d+139) then
tmp = t_2
else if (j <= 5.5d+204) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
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 t_1 = (a * y1) - (c * y0);
double t_2 = b * (k * ((z * y0) - (y * y4)));
double tmp;
if (j <= -2.55e+194) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (j <= -3.8e+79) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= -2.9e+24) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (j <= -4.8e-37) {
tmp = t_2;
} else if (j <= -3e-157) {
tmp = z * (y3 * t_1);
} else if (j <= 8.5e-196) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (j <= 4.9e-142) {
tmp = y3 * (z * t_1);
} else if (j <= 5.5e-74) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 4.3e-8) {
tmp = y1 * (a * (z * y3));
} else if (j <= 6.6e+50) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (j <= 1.3e+139) {
tmp = t_2;
} else if (j <= 5.5e+204) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} 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): t_1 = (a * y1) - (c * y0) t_2 = b * (k * ((z * y0) - (y * y4))) tmp = 0 if j <= -2.55e+194: tmp = i * (j * ((x * y1) - (t * y5))) elif j <= -3.8e+79: tmp = b * (y4 * ((t * j) - (y * k))) elif j <= -2.9e+24: tmp = c * (i * ((z * t) - (x * y))) elif j <= -4.8e-37: tmp = t_2 elif j <= -3e-157: tmp = z * (y3 * t_1) elif j <= 8.5e-196: tmp = b * (z * ((k * y0) - (t * a))) elif j <= 4.9e-142: tmp = y3 * (z * t_1) elif j <= 5.5e-74: tmp = b * (a * ((x * y) - (z * t))) elif j <= 4.3e-8: tmp = y1 * (a * (z * y3)) elif j <= 6.6e+50: tmp = b * (y0 * ((z * k) - (x * j))) elif j <= 1.3e+139: tmp = t_2 elif j <= 5.5e+204: tmp = j * (y1 * ((x * i) - (y3 * y4))) 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) t_1 = Float64(Float64(a * y1) - Float64(c * y0)) t_2 = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))) tmp = 0.0 if (j <= -2.55e+194) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (j <= -3.8e+79) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (j <= -2.9e+24) tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); elseif (j <= -4.8e-37) tmp = t_2; elseif (j <= -3e-157) tmp = Float64(z * Float64(y3 * t_1)); elseif (j <= 8.5e-196) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (j <= 4.9e-142) tmp = Float64(y3 * Float64(z * t_1)); elseif (j <= 5.5e-74) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= 4.3e-8) tmp = Float64(y1 * Float64(a * Float64(z * y3))); elseif (j <= 6.6e+50) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (j <= 1.3e+139) tmp = t_2; elseif (j <= 5.5e+204) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); 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) t_1 = (a * y1) - (c * y0); t_2 = b * (k * ((z * y0) - (y * y4))); tmp = 0.0; if (j <= -2.55e+194) tmp = i * (j * ((x * y1) - (t * y5))); elseif (j <= -3.8e+79) tmp = b * (y4 * ((t * j) - (y * k))); elseif (j <= -2.9e+24) tmp = c * (i * ((z * t) - (x * y))); elseif (j <= -4.8e-37) tmp = t_2; elseif (j <= -3e-157) tmp = z * (y3 * t_1); elseif (j <= 8.5e-196) tmp = b * (z * ((k * y0) - (t * a))); elseif (j <= 4.9e-142) tmp = y3 * (z * t_1); elseif (j <= 5.5e-74) tmp = b * (a * ((x * y) - (z * t))); elseif (j <= 4.3e-8) tmp = y1 * (a * (z * y3)); elseif (j <= 6.6e+50) tmp = b * (y0 * ((z * k) - (x * j))); elseif (j <= 1.3e+139) tmp = t_2; elseif (j <= 5.5e+204) tmp = j * (y1 * ((x * i) - (y3 * y4))); 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_] := Block[{t$95$1 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -2.55e+194], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -3.8e+79], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.9e+24], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -4.8e-37], t$95$2, If[LessEqual[j, -3e-157], N[(z * N[(y3 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 8.5e-196], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.9e-142], N[(y3 * N[(z * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.5e-74], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.3e-8], N[(y1 * N[(a * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6.6e+50], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.3e+139], t$95$2, If[LessEqual[j, 5.5e+204], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $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}
t_1 := a \cdot y1 - c \cdot y0\\
t_2 := b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{if}\;j \leq -2.55 \cdot 10^{+194}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq -3.8 \cdot 10^{+79}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;j \leq -2.9 \cdot 10^{+24}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;j \leq -4.8 \cdot 10^{-37}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq -3 \cdot 10^{-157}:\\
\;\;\;\;z \cdot \left(y3 \cdot t\_1\right)\\
\mathbf{elif}\;j \leq 8.5 \cdot 10^{-196}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;j \leq 4.9 \cdot 10^{-142}:\\
\;\;\;\;y3 \cdot \left(z \cdot t\_1\right)\\
\mathbf{elif}\;j \leq 5.5 \cdot 10^{-74}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 4.3 \cdot 10^{-8}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 6.6 \cdot 10^{+50}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;j \leq 1.3 \cdot 10^{+139}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq 5.5 \cdot 10^{+204}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\end{array}
\end{array}
if j < -2.5500000000000001e194Initial program 12.9%
Taylor expanded in j around inf 58.3%
Taylor expanded in i around -inf 64.8%
mul-1-neg64.8%
Simplified64.8%
if -2.5500000000000001e194 < j < -3.8000000000000002e79Initial program 23.3%
Taylor expanded in b around inf 46.3%
Taylor expanded in y4 around inf 58.5%
if -3.8000000000000002e79 < j < -2.89999999999999979e24Initial program 13.2%
Taylor expanded in i around -inf 37.5%
Taylor expanded in c around inf 75.1%
if -2.89999999999999979e24 < j < -4.79999999999999982e-37 or 6.6000000000000001e50 < j < 1.30000000000000011e139Initial program 19.8%
Taylor expanded in b around inf 48.6%
Taylor expanded in k around -inf 49.4%
mul-1-neg49.4%
Simplified49.4%
if -4.79999999999999982e-37 < j < -3e-157Initial program 40.1%
Taylor expanded in z around -inf 31.4%
Taylor expanded in y3 around inf 49.1%
if -3e-157 < j < 8.50000000000000004e-196Initial program 39.4%
Taylor expanded in b around inf 44.4%
Taylor expanded in z around -inf 40.1%
mul-1-neg40.1%
Simplified40.1%
if 8.50000000000000004e-196 < j < 4.9000000000000003e-142Initial program 44.3%
Taylor expanded in y3 around -inf 44.5%
Taylor expanded in z around inf 78.2%
if 4.9000000000000003e-142 < j < 5.5000000000000001e-74Initial program 23.6%
Taylor expanded in b around inf 35.5%
Taylor expanded in a around inf 46.3%
if 5.5000000000000001e-74 < j < 4.3000000000000001e-8Initial program 17.6%
Taylor expanded in c around inf 29.7%
mul-1-neg29.7%
Simplified29.7%
Taylor expanded in y1 around inf 59.9%
Taylor expanded in z around inf 53.7%
if 4.3000000000000001e-8 < j < 6.6000000000000001e50Initial program 45.8%
Taylor expanded in b around inf 28.2%
Taylor expanded in y0 around inf 55.8%
if 1.30000000000000011e139 < j < 5.4999999999999996e204Initial program 9.1%
Taylor expanded in j around inf 45.5%
Taylor expanded in y1 around -inf 72.8%
mul-1-neg72.8%
Simplified72.8%
if 5.4999999999999996e204 < j Initial program 12.2%
Taylor expanded in j around inf 64.0%
Taylor expanded in y0 around inf 68.6%
Final simplification55.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y1) (* c y0))))
(if (<= j -3.8e+193)
(* i (* j (- (* x y1) (* t y5))))
(if (<= j -1.6e+79)
(* b (* y4 (- (* t j) (* y k))))
(if (<= j -1.8e+24)
(* c (* i (- (* z t) (* x y))))
(if (<= j -7e-37)
(* b (* k (- (* z y0) (* y y4))))
(if (<= j -8.5e-161)
(* z (* y3 t_1))
(if (<= j 1.12e-194)
(* b (* z (- (* k y0) (* t a))))
(if (<= j 1.66e-143)
(* y3 (* z t_1))
(if (<= j 5.5e-74)
(* b (* a (- (* x y) (* z t))))
(if (<= j 1.9e+16)
(* (* z k) (- (* b y0) (* i y1)))
(if (<= j 1.6e+80)
(* b (* x (- (* y a) (* j y0))))
(if (<= j 1.45e+140)
(* y1 (* y2 (- (* k y4) (* x a))))
(if (<= j 3.1e+206)
(* j (* y1 (- (* x i) (* y3 y4))))
(* 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 t_1 = (a * y1) - (c * y0);
double tmp;
if (j <= -3.8e+193) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (j <= -1.6e+79) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= -1.8e+24) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (j <= -7e-37) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (j <= -8.5e-161) {
tmp = z * (y3 * t_1);
} else if (j <= 1.12e-194) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (j <= 1.66e-143) {
tmp = y3 * (z * t_1);
} else if (j <= 5.5e-74) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 1.9e+16) {
tmp = (z * k) * ((b * y0) - (i * y1));
} else if (j <= 1.6e+80) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (j <= 1.45e+140) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (j <= 3.1e+206) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} 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) :: t_1
real(8) :: tmp
t_1 = (a * y1) - (c * y0)
if (j <= (-3.8d+193)) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (j <= (-1.6d+79)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (j <= (-1.8d+24)) then
tmp = c * (i * ((z * t) - (x * y)))
else if (j <= (-7d-37)) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (j <= (-8.5d-161)) then
tmp = z * (y3 * t_1)
else if (j <= 1.12d-194) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (j <= 1.66d-143) then
tmp = y3 * (z * t_1)
else if (j <= 5.5d-74) then
tmp = b * (a * ((x * y) - (z * t)))
else if (j <= 1.9d+16) then
tmp = (z * k) * ((b * y0) - (i * y1))
else if (j <= 1.6d+80) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (j <= 1.45d+140) then
tmp = y1 * (y2 * ((k * y4) - (x * a)))
else if (j <= 3.1d+206) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
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 t_1 = (a * y1) - (c * y0);
double tmp;
if (j <= -3.8e+193) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (j <= -1.6e+79) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= -1.8e+24) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (j <= -7e-37) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (j <= -8.5e-161) {
tmp = z * (y3 * t_1);
} else if (j <= 1.12e-194) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (j <= 1.66e-143) {
tmp = y3 * (z * t_1);
} else if (j <= 5.5e-74) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 1.9e+16) {
tmp = (z * k) * ((b * y0) - (i * y1));
} else if (j <= 1.6e+80) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (j <= 1.45e+140) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (j <= 3.1e+206) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} 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): t_1 = (a * y1) - (c * y0) tmp = 0 if j <= -3.8e+193: tmp = i * (j * ((x * y1) - (t * y5))) elif j <= -1.6e+79: tmp = b * (y4 * ((t * j) - (y * k))) elif j <= -1.8e+24: tmp = c * (i * ((z * t) - (x * y))) elif j <= -7e-37: tmp = b * (k * ((z * y0) - (y * y4))) elif j <= -8.5e-161: tmp = z * (y3 * t_1) elif j <= 1.12e-194: tmp = b * (z * ((k * y0) - (t * a))) elif j <= 1.66e-143: tmp = y3 * (z * t_1) elif j <= 5.5e-74: tmp = b * (a * ((x * y) - (z * t))) elif j <= 1.9e+16: tmp = (z * k) * ((b * y0) - (i * y1)) elif j <= 1.6e+80: tmp = b * (x * ((y * a) - (j * y0))) elif j <= 1.45e+140: tmp = y1 * (y2 * ((k * y4) - (x * a))) elif j <= 3.1e+206: tmp = j * (y1 * ((x * i) - (y3 * y4))) 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) t_1 = Float64(Float64(a * y1) - Float64(c * y0)) tmp = 0.0 if (j <= -3.8e+193) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (j <= -1.6e+79) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (j <= -1.8e+24) tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); elseif (j <= -7e-37) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (j <= -8.5e-161) tmp = Float64(z * Float64(y3 * t_1)); elseif (j <= 1.12e-194) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (j <= 1.66e-143) tmp = Float64(y3 * Float64(z * t_1)); elseif (j <= 5.5e-74) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= 1.9e+16) tmp = Float64(Float64(z * k) * Float64(Float64(b * y0) - Float64(i * y1))); elseif (j <= 1.6e+80) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (j <= 1.45e+140) tmp = Float64(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * a)))); elseif (j <= 3.1e+206) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); 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) t_1 = (a * y1) - (c * y0); tmp = 0.0; if (j <= -3.8e+193) tmp = i * (j * ((x * y1) - (t * y5))); elseif (j <= -1.6e+79) tmp = b * (y4 * ((t * j) - (y * k))); elseif (j <= -1.8e+24) tmp = c * (i * ((z * t) - (x * y))); elseif (j <= -7e-37) tmp = b * (k * ((z * y0) - (y * y4))); elseif (j <= -8.5e-161) tmp = z * (y3 * t_1); elseif (j <= 1.12e-194) tmp = b * (z * ((k * y0) - (t * a))); elseif (j <= 1.66e-143) tmp = y3 * (z * t_1); elseif (j <= 5.5e-74) tmp = b * (a * ((x * y) - (z * t))); elseif (j <= 1.9e+16) tmp = (z * k) * ((b * y0) - (i * y1)); elseif (j <= 1.6e+80) tmp = b * (x * ((y * a) - (j * y0))); elseif (j <= 1.45e+140) tmp = y1 * (y2 * ((k * y4) - (x * a))); elseif (j <= 3.1e+206) tmp = j * (y1 * ((x * i) - (y3 * y4))); 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_] := Block[{t$95$1 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.8e+193], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.6e+79], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.8e+24], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -7e-37], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -8.5e-161], N[(z * N[(y3 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.12e-194], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.66e-143], N[(y3 * N[(z * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.5e-74], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.9e+16], N[(N[(z * k), $MachinePrecision] * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.6e+80], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.45e+140], N[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.1e+206], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $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}
t_1 := a \cdot y1 - c \cdot y0\\
\mathbf{if}\;j \leq -3.8 \cdot 10^{+193}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq -1.6 \cdot 10^{+79}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;j \leq -1.8 \cdot 10^{+24}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;j \leq -7 \cdot 10^{-37}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq -8.5 \cdot 10^{-161}:\\
\;\;\;\;z \cdot \left(y3 \cdot t\_1\right)\\
\mathbf{elif}\;j \leq 1.12 \cdot 10^{-194}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;j \leq 1.66 \cdot 10^{-143}:\\
\;\;\;\;y3 \cdot \left(z \cdot t\_1\right)\\
\mathbf{elif}\;j \leq 5.5 \cdot 10^{-74}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 1.9 \cdot 10^{+16}:\\
\;\;\;\;\left(z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\right)\\
\mathbf{elif}\;j \leq 1.6 \cdot 10^{+80}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq 1.45 \cdot 10^{+140}:\\
\;\;\;\;y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\mathbf{elif}\;j \leq 3.1 \cdot 10^{+206}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\end{array}
\end{array}
if j < -3.79999999999999972e193Initial program 12.9%
Taylor expanded in j around inf 58.3%
Taylor expanded in i around -inf 64.8%
mul-1-neg64.8%
Simplified64.8%
if -3.79999999999999972e193 < j < -1.60000000000000001e79Initial program 23.3%
Taylor expanded in b around inf 46.3%
Taylor expanded in y4 around inf 58.5%
if -1.60000000000000001e79 < j < -1.79999999999999992e24Initial program 13.2%
Taylor expanded in i around -inf 37.5%
Taylor expanded in c around inf 75.1%
if -1.79999999999999992e24 < j < -7.0000000000000003e-37Initial program 40.5%
Taylor expanded in b around inf 60.1%
Taylor expanded in k around -inf 53.7%
mul-1-neg53.7%
Simplified53.7%
if -7.0000000000000003e-37 < j < -8.50000000000000054e-161Initial program 40.1%
Taylor expanded in z around -inf 31.4%
Taylor expanded in y3 around inf 49.1%
if -8.50000000000000054e-161 < j < 1.12000000000000001e-194Initial program 39.4%
Taylor expanded in b around inf 44.4%
Taylor expanded in z around -inf 40.1%
mul-1-neg40.1%
Simplified40.1%
if 1.12000000000000001e-194 < j < 1.6600000000000001e-143Initial program 44.3%
Taylor expanded in y3 around -inf 44.5%
Taylor expanded in z around inf 78.2%
if 1.6600000000000001e-143 < j < 5.5000000000000001e-74Initial program 23.6%
Taylor expanded in b around inf 35.5%
Taylor expanded in a around inf 46.3%
if 5.5000000000000001e-74 < j < 1.9e16Initial program 26.3%
Taylor expanded in z around -inf 52.6%
Taylor expanded in k around inf 61.5%
associate-*r*53.0%
*-commutative53.0%
*-commutative53.0%
Simplified53.0%
if 1.9e16 < j < 1.59999999999999995e80Initial program 20.5%
Taylor expanded in b around inf 20.7%
Taylor expanded in x around inf 61.3%
if 1.59999999999999995e80 < j < 1.4499999999999999e140Initial program 0.0%
Taylor expanded in c around inf 0.0%
mul-1-neg0.0%
Simplified0.0%
Taylor expanded in y1 around inf 33.7%
Taylor expanded in y2 around inf 44.0%
+-commutative44.0%
mul-1-neg44.0%
unsub-neg44.0%
*-commutative44.0%
Simplified44.0%
if 1.4499999999999999e140 < j < 3.09999999999999991e206Initial program 10.0%
Taylor expanded in j around inf 50.0%
Taylor expanded in y1 around -inf 80.0%
mul-1-neg80.0%
Simplified80.0%
if 3.09999999999999991e206 < j Initial program 12.2%
Taylor expanded in j around inf 64.0%
Taylor expanded in y0 around inf 68.6%
Final simplification55.9%
(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) (* j y0)))))
(t_2 (* i (* z (* t (- c (* k (/ y1 t))))))))
(if (<= a -5.8e+192)
(* z (* y3 (- (* a y1) (* c y0))))
(if (<= a -1e+149)
t_1
(if (<= a -2.9e+43)
(* i (* x (- (* j y1) (* y c))))
(if (<= a -1.2e-67)
t_1
(if (<= a -9e-185)
(* z (* c (- (* t i) (* y0 y3))))
(if (<= a 5.5e-303)
t_2
(if (<= a 2.9e-269)
(* c (* y3 (- (* y y4) (* z y0))))
(if (<= a 8e-201)
t_2
(if (<= a 1.05e-41)
(* i (* j (- (* x y1) (* t y5))))
(if (<= a 28500.0)
(* b (* y0 (- (* z k) (* x j))))
(if (<= a 9.5e+129)
(* y3 (* y1 (- (* z a) (* j y4))))
(if (<= a 1.12e+280)
t_1
(* y1 (* (* x y2) (- 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 = b * (x * ((y * a) - (j * y0)));
double t_2 = i * (z * (t * (c - (k * (y1 / t)))));
double tmp;
if (a <= -5.8e+192) {
tmp = z * (y3 * ((a * y1) - (c * y0)));
} else if (a <= -1e+149) {
tmp = t_1;
} else if (a <= -2.9e+43) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -1.2e-67) {
tmp = t_1;
} else if (a <= -9e-185) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (a <= 5.5e-303) {
tmp = t_2;
} else if (a <= 2.9e-269) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (a <= 8e-201) {
tmp = t_2;
} else if (a <= 1.05e-41) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (a <= 28500.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (a <= 9.5e+129) {
tmp = y3 * (y1 * ((z * a) - (j * y4)));
} else if (a <= 1.12e+280) {
tmp = t_1;
} else {
tmp = y1 * ((x * y2) * -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) :: t_2
real(8) :: tmp
t_1 = b * (x * ((y * a) - (j * y0)))
t_2 = i * (z * (t * (c - (k * (y1 / t)))))
if (a <= (-5.8d+192)) then
tmp = z * (y3 * ((a * y1) - (c * y0)))
else if (a <= (-1d+149)) then
tmp = t_1
else if (a <= (-2.9d+43)) then
tmp = i * (x * ((j * y1) - (y * c)))
else if (a <= (-1.2d-67)) then
tmp = t_1
else if (a <= (-9d-185)) then
tmp = z * (c * ((t * i) - (y0 * y3)))
else if (a <= 5.5d-303) then
tmp = t_2
else if (a <= 2.9d-269) then
tmp = c * (y3 * ((y * y4) - (z * y0)))
else if (a <= 8d-201) then
tmp = t_2
else if (a <= 1.05d-41) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (a <= 28500.0d0) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (a <= 9.5d+129) then
tmp = y3 * (y1 * ((z * a) - (j * y4)))
else if (a <= 1.12d+280) then
tmp = t_1
else
tmp = y1 * ((x * y2) * -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 = b * (x * ((y * a) - (j * y0)));
double t_2 = i * (z * (t * (c - (k * (y1 / t)))));
double tmp;
if (a <= -5.8e+192) {
tmp = z * (y3 * ((a * y1) - (c * y0)));
} else if (a <= -1e+149) {
tmp = t_1;
} else if (a <= -2.9e+43) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -1.2e-67) {
tmp = t_1;
} else if (a <= -9e-185) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (a <= 5.5e-303) {
tmp = t_2;
} else if (a <= 2.9e-269) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (a <= 8e-201) {
tmp = t_2;
} else if (a <= 1.05e-41) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (a <= 28500.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (a <= 9.5e+129) {
tmp = y3 * (y1 * ((z * a) - (j * y4)));
} else if (a <= 1.12e+280) {
tmp = t_1;
} else {
tmp = y1 * ((x * y2) * -a);
}
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) - (j * y0))) t_2 = i * (z * (t * (c - (k * (y1 / t))))) tmp = 0 if a <= -5.8e+192: tmp = z * (y3 * ((a * y1) - (c * y0))) elif a <= -1e+149: tmp = t_1 elif a <= -2.9e+43: tmp = i * (x * ((j * y1) - (y * c))) elif a <= -1.2e-67: tmp = t_1 elif a <= -9e-185: tmp = z * (c * ((t * i) - (y0 * y3))) elif a <= 5.5e-303: tmp = t_2 elif a <= 2.9e-269: tmp = c * (y3 * ((y * y4) - (z * y0))) elif a <= 8e-201: tmp = t_2 elif a <= 1.05e-41: tmp = i * (j * ((x * y1) - (t * y5))) elif a <= 28500.0: tmp = b * (y0 * ((z * k) - (x * j))) elif a <= 9.5e+129: tmp = y3 * (y1 * ((z * a) - (j * y4))) elif a <= 1.12e+280: tmp = t_1 else: tmp = y1 * ((x * y2) * -a) 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(x * Float64(Float64(y * a) - Float64(j * y0)))) t_2 = Float64(i * Float64(z * Float64(t * Float64(c - Float64(k * Float64(y1 / t)))))) tmp = 0.0 if (a <= -5.8e+192) tmp = Float64(z * Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (a <= -1e+149) tmp = t_1; elseif (a <= -2.9e+43) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); elseif (a <= -1.2e-67) tmp = t_1; elseif (a <= -9e-185) tmp = Float64(z * Float64(c * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (a <= 5.5e-303) tmp = t_2; elseif (a <= 2.9e-269) tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0)))); elseif (a <= 8e-201) tmp = t_2; elseif (a <= 1.05e-41) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (a <= 28500.0) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (a <= 9.5e+129) tmp = Float64(y3 * Float64(y1 * Float64(Float64(z * a) - Float64(j * y4)))); elseif (a <= 1.12e+280) tmp = t_1; else tmp = Float64(y1 * Float64(Float64(x * y2) * Float64(-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 = b * (x * ((y * a) - (j * y0))); t_2 = i * (z * (t * (c - (k * (y1 / t))))); tmp = 0.0; if (a <= -5.8e+192) tmp = z * (y3 * ((a * y1) - (c * y0))); elseif (a <= -1e+149) tmp = t_1; elseif (a <= -2.9e+43) tmp = i * (x * ((j * y1) - (y * c))); elseif (a <= -1.2e-67) tmp = t_1; elseif (a <= -9e-185) tmp = z * (c * ((t * i) - (y0 * y3))); elseif (a <= 5.5e-303) tmp = t_2; elseif (a <= 2.9e-269) tmp = c * (y3 * ((y * y4) - (z * y0))); elseif (a <= 8e-201) tmp = t_2; elseif (a <= 1.05e-41) tmp = i * (j * ((x * y1) - (t * y5))); elseif (a <= 28500.0) tmp = b * (y0 * ((z * k) - (x * j))); elseif (a <= 9.5e+129) tmp = y3 * (y1 * ((z * a) - (j * y4))); elseif (a <= 1.12e+280) tmp = t_1; else tmp = y1 * ((x * y2) * -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[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(z * N[(t * N[(c - N[(k * N[(y1 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -5.8e+192], N[(z * N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1e+149], t$95$1, If[LessEqual[a, -2.9e+43], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.2e-67], t$95$1, If[LessEqual[a, -9e-185], N[(z * N[(c * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.5e-303], t$95$2, If[LessEqual[a, 2.9e-269], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8e-201], t$95$2, If[LessEqual[a, 1.05e-41], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 28500.0], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 9.5e+129], N[(y3 * N[(y1 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.12e+280], t$95$1, N[(y1 * N[(N[(x * y2), $MachinePrecision] * (-a)), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
t_2 := i \cdot \left(z \cdot \left(t \cdot \left(c - k \cdot \frac{y1}{t}\right)\right)\right)\\
\mathbf{if}\;a \leq -5.8 \cdot 10^{+192}:\\
\;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq -1 \cdot 10^{+149}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -2.9 \cdot 10^{+43}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{elif}\;a \leq -1.2 \cdot 10^{-67}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -9 \cdot 10^{-185}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 5.5 \cdot 10^{-303}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq 2.9 \cdot 10^{-269}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq 8 \cdot 10^{-201}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq 1.05 \cdot 10^{-41}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq 28500:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;a \leq 9.5 \cdot 10^{+129}:\\
\;\;\;\;y3 \cdot \left(y1 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 1.12 \cdot 10^{+280}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(\left(x \cdot y2\right) \cdot \left(-a\right)\right)\\
\end{array}
\end{array}
if a < -5.8000000000000003e192Initial program 26.5%
Taylor expanded in z around -inf 43.9%
Taylor expanded in y3 around inf 61.3%
if -5.8000000000000003e192 < a < -1.00000000000000005e149 or -2.9000000000000002e43 < a < -1.2e-67 or 9.5000000000000004e129 < a < 1.1200000000000001e280Initial program 28.5%
Taylor expanded in b around inf 39.0%
Taylor expanded in x around inf 47.5%
if -1.00000000000000005e149 < a < -2.9000000000000002e43Initial program 15.4%
Taylor expanded in i around -inf 61.7%
Taylor expanded in x around inf 54.5%
if -1.2e-67 < a < -9.0000000000000003e-185Initial program 27.5%
Taylor expanded in z around -inf 53.8%
Taylor expanded in c around inf 80.7%
+-commutative80.7%
mul-1-neg80.7%
unsub-neg80.7%
*-commutative80.7%
Simplified80.7%
if -9.0000000000000003e-185 < a < 5.50000000000000018e-303 or 2.9000000000000001e-269 < a < 7.99999999999999957e-201Initial program 31.7%
Taylor expanded in i around -inf 50.5%
Taylor expanded in z around -inf 53.7%
mul-1-neg53.7%
Simplified53.7%
Taylor expanded in t around inf 55.9%
mul-1-neg55.9%
unsub-neg55.9%
associate-/l*56.1%
Simplified56.1%
if 5.50000000000000018e-303 < a < 2.9000000000000001e-269Initial program 22.2%
Taylor expanded in y3 around -inf 56.2%
Taylor expanded in c around inf 67.0%
if 7.99999999999999957e-201 < a < 1.05000000000000006e-41Initial program 19.6%
Taylor expanded in j around inf 33.8%
Taylor expanded in i around -inf 46.2%
mul-1-neg46.2%
Simplified46.2%
if 1.05000000000000006e-41 < a < 28500Initial program 20.0%
Taylor expanded in b around inf 52.8%
Taylor expanded in y0 around inf 61.2%
if 28500 < a < 9.5000000000000004e129Initial program 28.7%
Taylor expanded in y3 around -inf 34.1%
Taylor expanded in y1 around inf 48.8%
if 1.1200000000000001e280 < a Initial program 0.0%
Taylor expanded in c around inf 0.0%
mul-1-neg0.0%
Simplified0.0%
Taylor expanded in y1 around inf 57.1%
Taylor expanded in x around inf 100.0%
mul-1-neg100.0%
*-commutative100.0%
distribute-rgt-neg-in100.0%
*-commutative100.0%
Simplified100.0%
Final simplification55.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) (* j y0))))))
(if (<= a -3.5e+191)
(* z (* y3 (- (* a y1) (* c y0))))
(if (<= a -3.2e+147)
t_1
(if (<= a -3.15e+38)
(* i (* x (- (* j y1) (* y c))))
(if (<= a -9.5e-68)
t_1
(if (<= a -1.36e-182)
(* z (* c (- (* t i) (* y0 y3))))
(if (<= a 1.1e-303)
(* i (* z (* y1 (- (/ (* t c) y1) k))))
(if (<= a 7.5e-269)
(* c (* y3 (- (* y y4) (* z y0))))
(if (<= a 7.5e-205)
(* i (* z (* t (- c (* k (/ y1 t))))))
(if (<= a 3.6e-42)
(* i (* j (- (* x y1) (* t y5))))
(if (<= a 30000000.0)
(* b (* y0 (- (* z k) (* x j))))
(if (<= a 9.5e+126)
(* y3 (* y1 (- (* z a) (* j y4))))
(if (<= a 1.7e+280)
t_1
(* y1 (* (* x y2) (- 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (a <= -3.5e+191) {
tmp = z * (y3 * ((a * y1) - (c * y0)));
} else if (a <= -3.2e+147) {
tmp = t_1;
} else if (a <= -3.15e+38) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -9.5e-68) {
tmp = t_1;
} else if (a <= -1.36e-182) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (a <= 1.1e-303) {
tmp = i * (z * (y1 * (((t * c) / y1) - k)));
} else if (a <= 7.5e-269) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (a <= 7.5e-205) {
tmp = i * (z * (t * (c - (k * (y1 / t)))));
} else if (a <= 3.6e-42) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (a <= 30000000.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (a <= 9.5e+126) {
tmp = y3 * (y1 * ((z * a) - (j * y4)));
} else if (a <= 1.7e+280) {
tmp = t_1;
} else {
tmp = y1 * ((x * y2) * -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 = b * (x * ((y * a) - (j * y0)))
if (a <= (-3.5d+191)) then
tmp = z * (y3 * ((a * y1) - (c * y0)))
else if (a <= (-3.2d+147)) then
tmp = t_1
else if (a <= (-3.15d+38)) then
tmp = i * (x * ((j * y1) - (y * c)))
else if (a <= (-9.5d-68)) then
tmp = t_1
else if (a <= (-1.36d-182)) then
tmp = z * (c * ((t * i) - (y0 * y3)))
else if (a <= 1.1d-303) then
tmp = i * (z * (y1 * (((t * c) / y1) - k)))
else if (a <= 7.5d-269) then
tmp = c * (y3 * ((y * y4) - (z * y0)))
else if (a <= 7.5d-205) then
tmp = i * (z * (t * (c - (k * (y1 / t)))))
else if (a <= 3.6d-42) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (a <= 30000000.0d0) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (a <= 9.5d+126) then
tmp = y3 * (y1 * ((z * a) - (j * y4)))
else if (a <= 1.7d+280) then
tmp = t_1
else
tmp = y1 * ((x * y2) * -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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (a <= -3.5e+191) {
tmp = z * (y3 * ((a * y1) - (c * y0)));
} else if (a <= -3.2e+147) {
tmp = t_1;
} else if (a <= -3.15e+38) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -9.5e-68) {
tmp = t_1;
} else if (a <= -1.36e-182) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (a <= 1.1e-303) {
tmp = i * (z * (y1 * (((t * c) / y1) - k)));
} else if (a <= 7.5e-269) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (a <= 7.5e-205) {
tmp = i * (z * (t * (c - (k * (y1 / t)))));
} else if (a <= 3.6e-42) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (a <= 30000000.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (a <= 9.5e+126) {
tmp = y3 * (y1 * ((z * a) - (j * y4)));
} else if (a <= 1.7e+280) {
tmp = t_1;
} else {
tmp = y1 * ((x * y2) * -a);
}
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) - (j * y0))) tmp = 0 if a <= -3.5e+191: tmp = z * (y3 * ((a * y1) - (c * y0))) elif a <= -3.2e+147: tmp = t_1 elif a <= -3.15e+38: tmp = i * (x * ((j * y1) - (y * c))) elif a <= -9.5e-68: tmp = t_1 elif a <= -1.36e-182: tmp = z * (c * ((t * i) - (y0 * y3))) elif a <= 1.1e-303: tmp = i * (z * (y1 * (((t * c) / y1) - k))) elif a <= 7.5e-269: tmp = c * (y3 * ((y * y4) - (z * y0))) elif a <= 7.5e-205: tmp = i * (z * (t * (c - (k * (y1 / t))))) elif a <= 3.6e-42: tmp = i * (j * ((x * y1) - (t * y5))) elif a <= 30000000.0: tmp = b * (y0 * ((z * k) - (x * j))) elif a <= 9.5e+126: tmp = y3 * (y1 * ((z * a) - (j * y4))) elif a <= 1.7e+280: tmp = t_1 else: tmp = y1 * ((x * y2) * -a) 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(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (a <= -3.5e+191) tmp = Float64(z * Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (a <= -3.2e+147) tmp = t_1; elseif (a <= -3.15e+38) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); elseif (a <= -9.5e-68) tmp = t_1; elseif (a <= -1.36e-182) tmp = Float64(z * Float64(c * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (a <= 1.1e-303) tmp = Float64(i * Float64(z * Float64(y1 * Float64(Float64(Float64(t * c) / y1) - k)))); elseif (a <= 7.5e-269) tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0)))); elseif (a <= 7.5e-205) tmp = Float64(i * Float64(z * Float64(t * Float64(c - Float64(k * Float64(y1 / t)))))); elseif (a <= 3.6e-42) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (a <= 30000000.0) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (a <= 9.5e+126) tmp = Float64(y3 * Float64(y1 * Float64(Float64(z * a) - Float64(j * y4)))); elseif (a <= 1.7e+280) tmp = t_1; else tmp = Float64(y1 * Float64(Float64(x * y2) * Float64(-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 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (a <= -3.5e+191) tmp = z * (y3 * ((a * y1) - (c * y0))); elseif (a <= -3.2e+147) tmp = t_1; elseif (a <= -3.15e+38) tmp = i * (x * ((j * y1) - (y * c))); elseif (a <= -9.5e-68) tmp = t_1; elseif (a <= -1.36e-182) tmp = z * (c * ((t * i) - (y0 * y3))); elseif (a <= 1.1e-303) tmp = i * (z * (y1 * (((t * c) / y1) - k))); elseif (a <= 7.5e-269) tmp = c * (y3 * ((y * y4) - (z * y0))); elseif (a <= 7.5e-205) tmp = i * (z * (t * (c - (k * (y1 / t))))); elseif (a <= 3.6e-42) tmp = i * (j * ((x * y1) - (t * y5))); elseif (a <= 30000000.0) tmp = b * (y0 * ((z * k) - (x * j))); elseif (a <= 9.5e+126) tmp = y3 * (y1 * ((z * a) - (j * y4))); elseif (a <= 1.7e+280) tmp = t_1; else tmp = y1 * ((x * y2) * -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[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -3.5e+191], N[(z * N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -3.2e+147], t$95$1, If[LessEqual[a, -3.15e+38], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -9.5e-68], t$95$1, If[LessEqual[a, -1.36e-182], N[(z * N[(c * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.1e-303], N[(i * N[(z * N[(y1 * N[(N[(N[(t * c), $MachinePrecision] / y1), $MachinePrecision] - k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7.5e-269], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 7.5e-205], N[(i * N[(z * N[(t * N[(c - N[(k * N[(y1 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.6e-42], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 30000000.0], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 9.5e+126], N[(y3 * N[(y1 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.7e+280], t$95$1, N[(y1 * N[(N[(x * y2), $MachinePrecision] * (-a)), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;a \leq -3.5 \cdot 10^{+191}:\\
\;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq -3.2 \cdot 10^{+147}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -3.15 \cdot 10^{+38}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{elif}\;a \leq -9.5 \cdot 10^{-68}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -1.36 \cdot 10^{-182}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 1.1 \cdot 10^{-303}:\\
\;\;\;\;i \cdot \left(z \cdot \left(y1 \cdot \left(\frac{t \cdot c}{y1} - k\right)\right)\right)\\
\mathbf{elif}\;a \leq 7.5 \cdot 10^{-269}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq 7.5 \cdot 10^{-205}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot \left(c - k \cdot \frac{y1}{t}\right)\right)\right)\\
\mathbf{elif}\;a \leq 3.6 \cdot 10^{-42}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;a \leq 30000000:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;a \leq 9.5 \cdot 10^{+126}:\\
\;\;\;\;y3 \cdot \left(y1 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 1.7 \cdot 10^{+280}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(\left(x \cdot y2\right) \cdot \left(-a\right)\right)\\
\end{array}
\end{array}
if a < -3.4999999999999997e191Initial program 26.5%
Taylor expanded in z around -inf 43.9%
Taylor expanded in y3 around inf 61.3%
if -3.4999999999999997e191 < a < -3.19999999999999979e147 or -3.15000000000000001e38 < a < -9.4999999999999997e-68 or 9.49999999999999951e126 < a < 1.69999999999999993e280Initial program 28.5%
Taylor expanded in b around inf 39.0%
Taylor expanded in x around inf 47.5%
if -3.19999999999999979e147 < a < -3.15000000000000001e38Initial program 15.4%
Taylor expanded in i around -inf 61.7%
Taylor expanded in x around inf 54.5%
if -9.4999999999999997e-68 < a < -1.36000000000000006e-182Initial program 27.5%
Taylor expanded in z around -inf 53.8%
Taylor expanded in c around inf 80.7%
+-commutative80.7%
mul-1-neg80.7%
unsub-neg80.7%
*-commutative80.7%
Simplified80.7%
if -1.36000000000000006e-182 < a < 1.10000000000000007e-303Initial program 28.4%
Taylor expanded in i around -inf 46.3%
Taylor expanded in z around -inf 47.1%
mul-1-neg47.1%
Simplified47.1%
Taylor expanded in y1 around inf 51.6%
if 1.10000000000000007e-303 < a < 7.4999999999999993e-269Initial program 22.2%
Taylor expanded in y3 around -inf 56.2%
Taylor expanded in c around inf 67.0%
if 7.4999999999999993e-269 < a < 7.4999999999999996e-205Initial program 35.4%
Taylor expanded in i around -inf 55.1%
Taylor expanded in z around -inf 60.9%
mul-1-neg60.9%
Simplified60.9%
Taylor expanded in t around inf 60.9%
mul-1-neg60.9%
unsub-neg60.9%
associate-/l*61.3%
Simplified61.3%
if 7.4999999999999996e-205 < a < 3.6000000000000002e-42Initial program 19.6%
Taylor expanded in j around inf 33.8%
Taylor expanded in i around -inf 46.2%
mul-1-neg46.2%
Simplified46.2%
if 3.6000000000000002e-42 < a < 3e7Initial program 20.0%
Taylor expanded in b around inf 52.8%
Taylor expanded in y0 around inf 61.2%
if 3e7 < a < 9.49999999999999951e126Initial program 28.7%
Taylor expanded in y3 around -inf 34.1%
Taylor expanded in y1 around inf 48.8%
if 1.69999999999999993e280 < a Initial program 0.0%
Taylor expanded in c around inf 0.0%
mul-1-neg0.0%
Simplified0.0%
Taylor expanded in y1 around inf 57.1%
Taylor expanded in x around inf 100.0%
mul-1-neg100.0%
*-commutative100.0%
distribute-rgt-neg-in100.0%
*-commutative100.0%
Simplified100.0%
Final simplification55.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* k (- (* z y0) (* y y4)))))
(t_2 (* c (* i (- (* z t) (* x y))))))
(if (<= j -2.05e+193)
(* i (* j (- (* x y1) (* t y5))))
(if (<= j -5e+78)
(* b (* y4 (- (* t j) (* y k))))
(if (<= j -3.6e+24)
t_2
(if (<= j -4e-219)
t_1
(if (<= j -2.15e-276)
(* a (* b (- (* x y) (* z t))))
(if (<= j -2.8e-280)
(* c (* y3 (- (* y y4) (* z y0))))
(if (<= j 2.05e-75)
t_2
(if (<= j 4e-8)
(* y1 (* a (* z y3)))
(if (<= j 1.35e+49)
(* b (* y0 (- (* z k) (* x j))))
(if (<= j 3.8e+135)
t_1
(if (<= j 2.5e+206)
(* j (* y1 (- (* x i) (* y3 y4))))
(* 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 t_1 = b * (k * ((z * y0) - (y * y4)));
double t_2 = c * (i * ((z * t) - (x * y)));
double tmp;
if (j <= -2.05e+193) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (j <= -5e+78) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= -3.6e+24) {
tmp = t_2;
} else if (j <= -4e-219) {
tmp = t_1;
} else if (j <= -2.15e-276) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= -2.8e-280) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (j <= 2.05e-75) {
tmp = t_2;
} else if (j <= 4e-8) {
tmp = y1 * (a * (z * y3));
} else if (j <= 1.35e+49) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (j <= 3.8e+135) {
tmp = t_1;
} else if (j <= 2.5e+206) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} 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) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = b * (k * ((z * y0) - (y * y4)))
t_2 = c * (i * ((z * t) - (x * y)))
if (j <= (-2.05d+193)) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (j <= (-5d+78)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (j <= (-3.6d+24)) then
tmp = t_2
else if (j <= (-4d-219)) then
tmp = t_1
else if (j <= (-2.15d-276)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (j <= (-2.8d-280)) then
tmp = c * (y3 * ((y * y4) - (z * y0)))
else if (j <= 2.05d-75) then
tmp = t_2
else if (j <= 4d-8) then
tmp = y1 * (a * (z * y3))
else if (j <= 1.35d+49) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (j <= 3.8d+135) then
tmp = t_1
else if (j <= 2.5d+206) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
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 t_1 = b * (k * ((z * y0) - (y * y4)));
double t_2 = c * (i * ((z * t) - (x * y)));
double tmp;
if (j <= -2.05e+193) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (j <= -5e+78) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= -3.6e+24) {
tmp = t_2;
} else if (j <= -4e-219) {
tmp = t_1;
} else if (j <= -2.15e-276) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= -2.8e-280) {
tmp = c * (y3 * ((y * y4) - (z * y0)));
} else if (j <= 2.05e-75) {
tmp = t_2;
} else if (j <= 4e-8) {
tmp = y1 * (a * (z * y3));
} else if (j <= 1.35e+49) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (j <= 3.8e+135) {
tmp = t_1;
} else if (j <= 2.5e+206) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} 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): t_1 = b * (k * ((z * y0) - (y * y4))) t_2 = c * (i * ((z * t) - (x * y))) tmp = 0 if j <= -2.05e+193: tmp = i * (j * ((x * y1) - (t * y5))) elif j <= -5e+78: tmp = b * (y4 * ((t * j) - (y * k))) elif j <= -3.6e+24: tmp = t_2 elif j <= -4e-219: tmp = t_1 elif j <= -2.15e-276: tmp = a * (b * ((x * y) - (z * t))) elif j <= -2.8e-280: tmp = c * (y3 * ((y * y4) - (z * y0))) elif j <= 2.05e-75: tmp = t_2 elif j <= 4e-8: tmp = y1 * (a * (z * y3)) elif j <= 1.35e+49: tmp = b * (y0 * ((z * k) - (x * j))) elif j <= 3.8e+135: tmp = t_1 elif j <= 2.5e+206: tmp = j * (y1 * ((x * i) - (y3 * y4))) 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) t_1 = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))) t_2 = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))) tmp = 0.0 if (j <= -2.05e+193) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (j <= -5e+78) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (j <= -3.6e+24) tmp = t_2; elseif (j <= -4e-219) tmp = t_1; elseif (j <= -2.15e-276) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= -2.8e-280) tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * y0)))); elseif (j <= 2.05e-75) tmp = t_2; elseif (j <= 4e-8) tmp = Float64(y1 * Float64(a * Float64(z * y3))); elseif (j <= 1.35e+49) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (j <= 3.8e+135) tmp = t_1; elseif (j <= 2.5e+206) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); 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) t_1 = b * (k * ((z * y0) - (y * y4))); t_2 = c * (i * ((z * t) - (x * y))); tmp = 0.0; if (j <= -2.05e+193) tmp = i * (j * ((x * y1) - (t * y5))); elseif (j <= -5e+78) tmp = b * (y4 * ((t * j) - (y * k))); elseif (j <= -3.6e+24) tmp = t_2; elseif (j <= -4e-219) tmp = t_1; elseif (j <= -2.15e-276) tmp = a * (b * ((x * y) - (z * t))); elseif (j <= -2.8e-280) tmp = c * (y3 * ((y * y4) - (z * y0))); elseif (j <= 2.05e-75) tmp = t_2; elseif (j <= 4e-8) tmp = y1 * (a * (z * y3)); elseif (j <= 1.35e+49) tmp = b * (y0 * ((z * k) - (x * j))); elseif (j <= 3.8e+135) tmp = t_1; elseif (j <= 2.5e+206) tmp = j * (y1 * ((x * i) - (y3 * y4))); 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_] := Block[{t$95$1 = N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -2.05e+193], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -5e+78], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -3.6e+24], t$95$2, If[LessEqual[j, -4e-219], t$95$1, If[LessEqual[j, -2.15e-276], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.8e-280], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.05e-75], t$95$2, If[LessEqual[j, 4e-8], N[(y1 * N[(a * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.35e+49], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.8e+135], t$95$1, If[LessEqual[j, 2.5e+206], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $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}
t_1 := b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
t_2 := c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{if}\;j \leq -2.05 \cdot 10^{+193}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq -5 \cdot 10^{+78}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;j \leq -3.6 \cdot 10^{+24}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq -4 \cdot 10^{-219}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -2.15 \cdot 10^{-276}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq -2.8 \cdot 10^{-280}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq 2.05 \cdot 10^{-75}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;j \leq 4 \cdot 10^{-8}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 1.35 \cdot 10^{+49}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;j \leq 3.8 \cdot 10^{+135}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 2.5 \cdot 10^{+206}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\end{array}
\end{array}
if j < -2.0499999999999999e193Initial program 12.9%
Taylor expanded in j around inf 58.3%
Taylor expanded in i around -inf 64.8%
mul-1-neg64.8%
Simplified64.8%
if -2.0499999999999999e193 < j < -4.99999999999999984e78Initial program 23.3%
Taylor expanded in b around inf 46.3%
Taylor expanded in y4 around inf 58.5%
if -4.99999999999999984e78 < j < -3.59999999999999983e24 or -2.80000000000000017e-280 < j < 2.05000000000000001e-75Initial program 28.9%
Taylor expanded in i around -inf 39.1%
Taylor expanded in c around inf 47.2%
if -3.59999999999999983e24 < j < -4.0000000000000001e-219 or 1.35000000000000005e49 < j < 3.8000000000000001e135Initial program 29.4%
Taylor expanded in b around inf 37.0%
Taylor expanded in k around -inf 37.6%
mul-1-neg37.6%
Simplified37.6%
if -4.0000000000000001e-219 < j < -2.1499999999999998e-276Initial program 85.5%
Taylor expanded in b around inf 43.1%
Taylor expanded in a around inf 71.0%
if -2.1499999999999998e-276 < j < -2.80000000000000017e-280Initial program 0.0%
Taylor expanded in y3 around -inf 50.0%
Taylor expanded in c around inf 100.0%
if 2.05000000000000001e-75 < j < 4.0000000000000001e-8Initial program 17.6%
Taylor expanded in c around inf 29.7%
mul-1-neg29.7%
Simplified29.7%
Taylor expanded in y1 around inf 59.9%
Taylor expanded in z around inf 53.7%
if 4.0000000000000001e-8 < j < 1.35000000000000005e49Initial program 45.8%
Taylor expanded in b around inf 28.2%
Taylor expanded in y0 around inf 55.8%
if 3.8000000000000001e135 < j < 2.5000000000000001e206Initial program 9.1%
Taylor expanded in j around inf 45.5%
Taylor expanded in y1 around -inf 72.8%
mul-1-neg72.8%
Simplified72.8%
if 2.5000000000000001e206 < j Initial program 12.2%
Taylor expanded in j around inf 64.0%
Taylor expanded in y0 around inf 68.6%
Final simplification53.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y1) (* c y0))))
(if (<= j -6.2e+193)
(* i (* j (- (* x y1) (* t y5))))
(if (<= j -6.5e+78)
(* b (* y4 (- (* t j) (* y k))))
(if (<= j -1.2e+24)
(* c (* i (- (* z t) (* x y))))
(if (<= j -2.35e-36)
(* b (* k (- (* z y0) (* y y4))))
(if (<= j -7.1e-161)
(* z (* y3 t_1))
(if (<= j 7.5e-196)
(* b (* z (- (* k y0) (* t a))))
(if (<= j 4.6e-146)
(* y3 (* z t_1))
(if (<= j 3.2e-75)
(* b (* a (- (* x y) (* z t))))
(if (<= j 9.2e+16)
(* (* z k) (- (* b y0) (* i y1)))
(if (<= j 3.2e+67)
(* a (* (* x y) b))
(if (<= j 1.05e+210)
(* i (* z (- (* t c) (* k y1))))
(* 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 t_1 = (a * y1) - (c * y0);
double tmp;
if (j <= -6.2e+193) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (j <= -6.5e+78) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= -1.2e+24) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (j <= -2.35e-36) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (j <= -7.1e-161) {
tmp = z * (y3 * t_1);
} else if (j <= 7.5e-196) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (j <= 4.6e-146) {
tmp = y3 * (z * t_1);
} else if (j <= 3.2e-75) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 9.2e+16) {
tmp = (z * k) * ((b * y0) - (i * y1));
} else if (j <= 3.2e+67) {
tmp = a * ((x * y) * b);
} else if (j <= 1.05e+210) {
tmp = i * (z * ((t * c) - (k * y1)));
} 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) :: t_1
real(8) :: tmp
t_1 = (a * y1) - (c * y0)
if (j <= (-6.2d+193)) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (j <= (-6.5d+78)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (j <= (-1.2d+24)) then
tmp = c * (i * ((z * t) - (x * y)))
else if (j <= (-2.35d-36)) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (j <= (-7.1d-161)) then
tmp = z * (y3 * t_1)
else if (j <= 7.5d-196) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (j <= 4.6d-146) then
tmp = y3 * (z * t_1)
else if (j <= 3.2d-75) then
tmp = b * (a * ((x * y) - (z * t)))
else if (j <= 9.2d+16) then
tmp = (z * k) * ((b * y0) - (i * y1))
else if (j <= 3.2d+67) then
tmp = a * ((x * y) * b)
else if (j <= 1.05d+210) then
tmp = i * (z * ((t * c) - (k * y1)))
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 t_1 = (a * y1) - (c * y0);
double tmp;
if (j <= -6.2e+193) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (j <= -6.5e+78) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= -1.2e+24) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (j <= -2.35e-36) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (j <= -7.1e-161) {
tmp = z * (y3 * t_1);
} else if (j <= 7.5e-196) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (j <= 4.6e-146) {
tmp = y3 * (z * t_1);
} else if (j <= 3.2e-75) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (j <= 9.2e+16) {
tmp = (z * k) * ((b * y0) - (i * y1));
} else if (j <= 3.2e+67) {
tmp = a * ((x * y) * b);
} else if (j <= 1.05e+210) {
tmp = i * (z * ((t * c) - (k * y1)));
} 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): t_1 = (a * y1) - (c * y0) tmp = 0 if j <= -6.2e+193: tmp = i * (j * ((x * y1) - (t * y5))) elif j <= -6.5e+78: tmp = b * (y4 * ((t * j) - (y * k))) elif j <= -1.2e+24: tmp = c * (i * ((z * t) - (x * y))) elif j <= -2.35e-36: tmp = b * (k * ((z * y0) - (y * y4))) elif j <= -7.1e-161: tmp = z * (y3 * t_1) elif j <= 7.5e-196: tmp = b * (z * ((k * y0) - (t * a))) elif j <= 4.6e-146: tmp = y3 * (z * t_1) elif j <= 3.2e-75: tmp = b * (a * ((x * y) - (z * t))) elif j <= 9.2e+16: tmp = (z * k) * ((b * y0) - (i * y1)) elif j <= 3.2e+67: tmp = a * ((x * y) * b) elif j <= 1.05e+210: tmp = i * (z * ((t * c) - (k * y1))) 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) t_1 = Float64(Float64(a * y1) - Float64(c * y0)) tmp = 0.0 if (j <= -6.2e+193) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (j <= -6.5e+78) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (j <= -1.2e+24) tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); elseif (j <= -2.35e-36) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (j <= -7.1e-161) tmp = Float64(z * Float64(y3 * t_1)); elseif (j <= 7.5e-196) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (j <= 4.6e-146) tmp = Float64(y3 * Float64(z * t_1)); elseif (j <= 3.2e-75) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= 9.2e+16) tmp = Float64(Float64(z * k) * Float64(Float64(b * y0) - Float64(i * y1))); elseif (j <= 3.2e+67) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (j <= 1.05e+210) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); 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) t_1 = (a * y1) - (c * y0); tmp = 0.0; if (j <= -6.2e+193) tmp = i * (j * ((x * y1) - (t * y5))); elseif (j <= -6.5e+78) tmp = b * (y4 * ((t * j) - (y * k))); elseif (j <= -1.2e+24) tmp = c * (i * ((z * t) - (x * y))); elseif (j <= -2.35e-36) tmp = b * (k * ((z * y0) - (y * y4))); elseif (j <= -7.1e-161) tmp = z * (y3 * t_1); elseif (j <= 7.5e-196) tmp = b * (z * ((k * y0) - (t * a))); elseif (j <= 4.6e-146) tmp = y3 * (z * t_1); elseif (j <= 3.2e-75) tmp = b * (a * ((x * y) - (z * t))); elseif (j <= 9.2e+16) tmp = (z * k) * ((b * y0) - (i * y1)); elseif (j <= 3.2e+67) tmp = a * ((x * y) * b); elseif (j <= 1.05e+210) tmp = i * (z * ((t * c) - (k * y1))); 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_] := Block[{t$95$1 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -6.2e+193], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -6.5e+78], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.2e+24], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.35e-36], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -7.1e-161], N[(z * N[(y3 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 7.5e-196], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.6e-146], N[(y3 * N[(z * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.2e-75], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 9.2e+16], N[(N[(z * k), $MachinePrecision] * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.2e+67], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.05e+210], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $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}
t_1 := a \cdot y1 - c \cdot y0\\
\mathbf{if}\;j \leq -6.2 \cdot 10^{+193}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq -6.5 \cdot 10^{+78}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;j \leq -1.2 \cdot 10^{+24}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;j \leq -2.35 \cdot 10^{-36}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq -7.1 \cdot 10^{-161}:\\
\;\;\;\;z \cdot \left(y3 \cdot t\_1\right)\\
\mathbf{elif}\;j \leq 7.5 \cdot 10^{-196}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;j \leq 4.6 \cdot 10^{-146}:\\
\;\;\;\;y3 \cdot \left(z \cdot t\_1\right)\\
\mathbf{elif}\;j \leq 3.2 \cdot 10^{-75}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 9.2 \cdot 10^{+16}:\\
\;\;\;\;\left(z \cdot k\right) \cdot \left(b \cdot y0 - i \cdot y1\right)\\
\mathbf{elif}\;j \leq 3.2 \cdot 10^{+67}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;j \leq 1.05 \cdot 10^{+210}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\end{array}
\end{array}
if j < -6.19999999999999972e193Initial program 12.9%
Taylor expanded in j around inf 58.3%
Taylor expanded in i around -inf 64.8%
mul-1-neg64.8%
Simplified64.8%
if -6.19999999999999972e193 < j < -6.50000000000000036e78Initial program 23.3%
Taylor expanded in b around inf 46.3%
Taylor expanded in y4 around inf 58.5%
if -6.50000000000000036e78 < j < -1.2e24Initial program 13.2%
Taylor expanded in i around -inf 37.5%
Taylor expanded in c around inf 75.1%
if -1.2e24 < j < -2.3500000000000001e-36Initial program 40.5%
Taylor expanded in b around inf 60.1%
Taylor expanded in k around -inf 53.7%
mul-1-neg53.7%
Simplified53.7%
if -2.3500000000000001e-36 < j < -7.1e-161Initial program 40.1%
Taylor expanded in z around -inf 31.4%
Taylor expanded in y3 around inf 49.1%
if -7.1e-161 < j < 7.5e-196Initial program 39.4%
Taylor expanded in b around inf 44.4%
Taylor expanded in z around -inf 40.1%
mul-1-neg40.1%
Simplified40.1%
if 7.5e-196 < j < 4.6000000000000001e-146Initial program 44.3%
Taylor expanded in y3 around -inf 44.5%
Taylor expanded in z around inf 78.2%
if 4.6000000000000001e-146 < j < 3.19999999999999977e-75Initial program 23.6%
Taylor expanded in b around inf 35.5%
Taylor expanded in a around inf 46.3%
if 3.19999999999999977e-75 < j < 9.2e16Initial program 26.3%
Taylor expanded in z around -inf 52.6%
Taylor expanded in k around inf 61.5%
associate-*r*53.0%
*-commutative53.0%
*-commutative53.0%
Simplified53.0%
if 9.2e16 < j < 3.19999999999999983e67Initial program 22.8%
Taylor expanded in b around inf 23.0%
Taylor expanded in a around inf 46.3%
Taylor expanded in x around inf 57.4%
if 3.19999999999999983e67 < j < 1.0499999999999999e210Initial program 8.0%
Taylor expanded in i around -inf 32.5%
Taylor expanded in z around -inf 52.7%
mul-1-neg52.7%
Simplified52.7%
if 1.0499999999999999e210 < j Initial program 8.9%
Taylor expanded in j around inf 65.2%
Taylor expanded in y0 around inf 70.2%
Final simplification55.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y1 (* y2 (- (* k y4) (* x a))))))
(if (<= y2 -1.18e+191)
t_1
(if (<= y2 -1.65e+39)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y2 -5.3e-8)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y2 -1.95e-28)
(* z (* c (- (* t i) (* y0 y3))))
(if (<= y2 -7.6e-162)
(* a (* b (- (* x y) (* z t))))
(if (<= y2 -2e-210)
(* y3 (* y0 (- (* j y5) (* z c))))
(if (<= y2 8e-140)
(* c (* i (- (* z t) (* x y))))
(if (<= y2 4.9e+100)
(* i (* z (- (* t c) (* k y1))))
(if (<= y2 1.12e+141)
(* y3 (* y (- (* c y4) (* a y5))))
(if (<= y2 6.5e+177)
(* b (* x (- (* y a) (* j y0))))
(if (<= y2 1.86e+201)
(* c (* y3 (- (* y y4) (* z 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 = y1 * (y2 * ((k * y4) - (x * a)));
double tmp;
if (y2 <= -1.18e+191) {
tmp = t_1;
} else if (y2 <= -1.65e+39) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= -5.3e-8) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= -1.95e-28) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (y2 <= -7.6e-162) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y2 <= -2e-210) {
tmp = y3 * (y0 * ((j * y5) - (z * c)));
} else if (y2 <= 8e-140) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (y2 <= 4.9e+100) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (y2 <= 1.12e+141) {
tmp = y3 * (y * ((c * y4) - (a * y5)));
} else if (y2 <= 6.5e+177) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.86e+201) {
tmp = c * (y3 * ((y * y4) - (z * 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 = y1 * (y2 * ((k * y4) - (x * a)))
if (y2 <= (-1.18d+191)) then
tmp = t_1
else if (y2 <= (-1.65d+39)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y2 <= (-5.3d-8)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y2 <= (-1.95d-28)) then
tmp = z * (c * ((t * i) - (y0 * y3)))
else if (y2 <= (-7.6d-162)) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y2 <= (-2d-210)) then
tmp = y3 * (y0 * ((j * y5) - (z * c)))
else if (y2 <= 8d-140) then
tmp = c * (i * ((z * t) - (x * y)))
else if (y2 <= 4.9d+100) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (y2 <= 1.12d+141) then
tmp = y3 * (y * ((c * y4) - (a * y5)))
else if (y2 <= 6.5d+177) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y2 <= 1.86d+201) then
tmp = c * (y3 * ((y * y4) - (z * 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 = y1 * (y2 * ((k * y4) - (x * a)));
double tmp;
if (y2 <= -1.18e+191) {
tmp = t_1;
} else if (y2 <= -1.65e+39) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= -5.3e-8) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= -1.95e-28) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (y2 <= -7.6e-162) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y2 <= -2e-210) {
tmp = y3 * (y0 * ((j * y5) - (z * c)));
} else if (y2 <= 8e-140) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (y2 <= 4.9e+100) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (y2 <= 1.12e+141) {
tmp = y3 * (y * ((c * y4) - (a * y5)));
} else if (y2 <= 6.5e+177) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y2 <= 1.86e+201) {
tmp = c * (y3 * ((y * y4) - (z * 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 = y1 * (y2 * ((k * y4) - (x * a))) tmp = 0 if y2 <= -1.18e+191: tmp = t_1 elif y2 <= -1.65e+39: tmp = b * (y0 * ((z * k) - (x * j))) elif y2 <= -5.3e-8: tmp = b * (y4 * ((t * j) - (y * k))) elif y2 <= -1.95e-28: tmp = z * (c * ((t * i) - (y0 * y3))) elif y2 <= -7.6e-162: tmp = a * (b * ((x * y) - (z * t))) elif y2 <= -2e-210: tmp = y3 * (y0 * ((j * y5) - (z * c))) elif y2 <= 8e-140: tmp = c * (i * ((z * t) - (x * y))) elif y2 <= 4.9e+100: tmp = i * (z * ((t * c) - (k * y1))) elif y2 <= 1.12e+141: tmp = y3 * (y * ((c * y4) - (a * y5))) elif y2 <= 6.5e+177: tmp = b * (x * ((y * a) - (j * y0))) elif y2 <= 1.86e+201: tmp = c * (y3 * ((y * y4) - (z * 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(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * a)))) tmp = 0.0 if (y2 <= -1.18e+191) tmp = t_1; elseif (y2 <= -1.65e+39) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y2 <= -5.3e-8) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y2 <= -1.95e-28) tmp = Float64(z * Float64(c * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (y2 <= -7.6e-162) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y2 <= -2e-210) tmp = Float64(y3 * Float64(y0 * Float64(Float64(j * y5) - Float64(z * c)))); elseif (y2 <= 8e-140) tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); elseif (y2 <= 4.9e+100) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (y2 <= 1.12e+141) tmp = Float64(y3 * Float64(y * Float64(Float64(c * y4) - Float64(a * y5)))); elseif (y2 <= 6.5e+177) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y2 <= 1.86e+201) tmp = Float64(c * Float64(y3 * Float64(Float64(y * y4) - Float64(z * 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 = y1 * (y2 * ((k * y4) - (x * a))); tmp = 0.0; if (y2 <= -1.18e+191) tmp = t_1; elseif (y2 <= -1.65e+39) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y2 <= -5.3e-8) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y2 <= -1.95e-28) tmp = z * (c * ((t * i) - (y0 * y3))); elseif (y2 <= -7.6e-162) tmp = a * (b * ((x * y) - (z * t))); elseif (y2 <= -2e-210) tmp = y3 * (y0 * ((j * y5) - (z * c))); elseif (y2 <= 8e-140) tmp = c * (i * ((z * t) - (x * y))); elseif (y2 <= 4.9e+100) tmp = i * (z * ((t * c) - (k * y1))); elseif (y2 <= 1.12e+141) tmp = y3 * (y * ((c * y4) - (a * y5))); elseif (y2 <= 6.5e+177) tmp = b * (x * ((y * a) - (j * y0))); elseif (y2 <= 1.86e+201) tmp = c * (y3 * ((y * y4) - (z * 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[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.18e+191], t$95$1, If[LessEqual[y2, -1.65e+39], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -5.3e-8], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.95e-28], N[(z * N[(c * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -7.6e-162], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -2e-210], N[(y3 * N[(y0 * N[(N[(j * y5), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8e-140], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4.9e+100], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.12e+141], N[(y3 * N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.5e+177], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.86e+201], N[(c * N[(y3 * N[(N[(y * y4), $MachinePrecision] - N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\mathbf{if}\;y2 \leq -1.18 \cdot 10^{+191}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -1.65 \cdot 10^{+39}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq -5.3 \cdot 10^{-8}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y2 \leq -1.95 \cdot 10^{-28}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-162}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y2 \leq -2 \cdot 10^{-210}:\\
\;\;\;\;y3 \cdot \left(y0 \cdot \left(j \cdot y5 - z \cdot c\right)\right)\\
\mathbf{elif}\;y2 \leq 8 \cdot 10^{-140}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;y2 \leq 4.9 \cdot 10^{+100}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;y2 \leq 1.12 \cdot 10^{+141}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;y2 \leq 6.5 \cdot 10^{+177}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 1.86 \cdot 10^{+201}:\\
\;\;\;\;c \cdot \left(y3 \cdot \left(y \cdot y4 - z \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -1.17999999999999994e191 or 1.8600000000000001e201 < y2 Initial program 14.3%
Taylor expanded in c around inf 26.5%
mul-1-neg26.5%
Simplified26.5%
Taylor expanded in y1 around inf 45.1%
Taylor expanded in y2 around inf 51.9%
+-commutative51.9%
mul-1-neg51.9%
unsub-neg51.9%
*-commutative51.9%
Simplified51.9%
if -1.17999999999999994e191 < y2 < -1.6500000000000001e39Initial program 25.0%
Taylor expanded in b around inf 33.7%
Taylor expanded in y0 around inf 55.1%
if -1.6500000000000001e39 < y2 < -5.2999999999999998e-8Initial program 27.3%
Taylor expanded in b around inf 80.4%
Taylor expanded in y4 around inf 67.2%
if -5.2999999999999998e-8 < y2 < -1.94999999999999999e-28Initial program 0.0%
Taylor expanded in z around -inf 40.0%
Taylor expanded in c around inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
Simplified100.0%
if -1.94999999999999999e-28 < y2 < -7.6000000000000001e-162Initial program 44.1%
Taylor expanded in b around inf 44.5%
Taylor expanded in a around inf 52.6%
if -7.6000000000000001e-162 < y2 < -2.0000000000000001e-210Initial program 10.3%
Taylor expanded in y3 around -inf 18.7%
Taylor expanded in y0 around inf 55.8%
if -2.0000000000000001e-210 < y2 < 7.9999999999999999e-140Initial program 36.3%
Taylor expanded in i around -inf 44.1%
Taylor expanded in c around inf 44.6%
if 7.9999999999999999e-140 < y2 < 4.89999999999999967e100Initial program 26.2%
Taylor expanded in i around -inf 55.4%
Taylor expanded in z around -inf 51.3%
mul-1-neg51.3%
Simplified51.3%
if 4.89999999999999967e100 < y2 < 1.11999999999999993e141Initial program 20.6%
Taylor expanded in y3 around -inf 41.4%
Taylor expanded in y around inf 52.5%
if 1.11999999999999993e141 < y2 < 6.5000000000000002e177Initial program 20.0%
Taylor expanded in b around inf 40.5%
Taylor expanded in x around inf 70.5%
if 6.5000000000000002e177 < y2 < 1.8600000000000001e201Initial program 0.0%
Taylor expanded in y3 around -inf 37.7%
Taylor expanded in c around inf 75.4%
Final simplification54.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* x (- (* y a) (* j y0))))))
(if (<= a -3.2e+187)
(* z (* y3 (- (* a y1) (* c y0))))
(if (<= a -5.6e+153)
t_1
(if (<= a -5.8e+38)
(* i (* x (- (* j y1) (* y c))))
(if (<= a -1.3e-67)
t_1
(if (<= a -1.65e-184)
(* z (* c (- (* t i) (* y0 y3))))
(if (<= a 2.7e-264)
(* i (* y1 (- (* x j) (* z k))))
(if (<= a 5.7e-167)
(* c (* i (- (* z t) (* x y))))
(if (<= a 3.8e-38)
(* b (* y4 (- (* t j) (* y k))))
(if (<= a 920000.0)
(* b (* y0 (- (* z k) (* x j))))
(if (<= a 8.4e+127)
(* y3 (* y1 (- (* z a) (* j y4))))
(if (<= a 8.2e+279)
t_1
(* y1 (* (* x y2) (- 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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (a <= -3.2e+187) {
tmp = z * (y3 * ((a * y1) - (c * y0)));
} else if (a <= -5.6e+153) {
tmp = t_1;
} else if (a <= -5.8e+38) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -1.3e-67) {
tmp = t_1;
} else if (a <= -1.65e-184) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (a <= 2.7e-264) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (a <= 5.7e-167) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (a <= 3.8e-38) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (a <= 920000.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (a <= 8.4e+127) {
tmp = y3 * (y1 * ((z * a) - (j * y4)));
} else if (a <= 8.2e+279) {
tmp = t_1;
} else {
tmp = y1 * ((x * y2) * -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 = b * (x * ((y * a) - (j * y0)))
if (a <= (-3.2d+187)) then
tmp = z * (y3 * ((a * y1) - (c * y0)))
else if (a <= (-5.6d+153)) then
tmp = t_1
else if (a <= (-5.8d+38)) then
tmp = i * (x * ((j * y1) - (y * c)))
else if (a <= (-1.3d-67)) then
tmp = t_1
else if (a <= (-1.65d-184)) then
tmp = z * (c * ((t * i) - (y0 * y3)))
else if (a <= 2.7d-264) then
tmp = i * (y1 * ((x * j) - (z * k)))
else if (a <= 5.7d-167) then
tmp = c * (i * ((z * t) - (x * y)))
else if (a <= 3.8d-38) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (a <= 920000.0d0) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (a <= 8.4d+127) then
tmp = y3 * (y1 * ((z * a) - (j * y4)))
else if (a <= 8.2d+279) then
tmp = t_1
else
tmp = y1 * ((x * y2) * -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 = b * (x * ((y * a) - (j * y0)));
double tmp;
if (a <= -3.2e+187) {
tmp = z * (y3 * ((a * y1) - (c * y0)));
} else if (a <= -5.6e+153) {
tmp = t_1;
} else if (a <= -5.8e+38) {
tmp = i * (x * ((j * y1) - (y * c)));
} else if (a <= -1.3e-67) {
tmp = t_1;
} else if (a <= -1.65e-184) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (a <= 2.7e-264) {
tmp = i * (y1 * ((x * j) - (z * k)));
} else if (a <= 5.7e-167) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (a <= 3.8e-38) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (a <= 920000.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (a <= 8.4e+127) {
tmp = y3 * (y1 * ((z * a) - (j * y4)));
} else if (a <= 8.2e+279) {
tmp = t_1;
} else {
tmp = y1 * ((x * y2) * -a);
}
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) - (j * y0))) tmp = 0 if a <= -3.2e+187: tmp = z * (y3 * ((a * y1) - (c * y0))) elif a <= -5.6e+153: tmp = t_1 elif a <= -5.8e+38: tmp = i * (x * ((j * y1) - (y * c))) elif a <= -1.3e-67: tmp = t_1 elif a <= -1.65e-184: tmp = z * (c * ((t * i) - (y0 * y3))) elif a <= 2.7e-264: tmp = i * (y1 * ((x * j) - (z * k))) elif a <= 5.7e-167: tmp = c * (i * ((z * t) - (x * y))) elif a <= 3.8e-38: tmp = b * (y4 * ((t * j) - (y * k))) elif a <= 920000.0: tmp = b * (y0 * ((z * k) - (x * j))) elif a <= 8.4e+127: tmp = y3 * (y1 * ((z * a) - (j * y4))) elif a <= 8.2e+279: tmp = t_1 else: tmp = y1 * ((x * y2) * -a) 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(x * Float64(Float64(y * a) - Float64(j * y0)))) tmp = 0.0 if (a <= -3.2e+187) tmp = Float64(z * Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (a <= -5.6e+153) tmp = t_1; elseif (a <= -5.8e+38) tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); elseif (a <= -1.3e-67) tmp = t_1; elseif (a <= -1.65e-184) tmp = Float64(z * Float64(c * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (a <= 2.7e-264) tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); elseif (a <= 5.7e-167) tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); elseif (a <= 3.8e-38) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (a <= 920000.0) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (a <= 8.4e+127) tmp = Float64(y3 * Float64(y1 * Float64(Float64(z * a) - Float64(j * y4)))); elseif (a <= 8.2e+279) tmp = t_1; else tmp = Float64(y1 * Float64(Float64(x * y2) * Float64(-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 = b * (x * ((y * a) - (j * y0))); tmp = 0.0; if (a <= -3.2e+187) tmp = z * (y3 * ((a * y1) - (c * y0))); elseif (a <= -5.6e+153) tmp = t_1; elseif (a <= -5.8e+38) tmp = i * (x * ((j * y1) - (y * c))); elseif (a <= -1.3e-67) tmp = t_1; elseif (a <= -1.65e-184) tmp = z * (c * ((t * i) - (y0 * y3))); elseif (a <= 2.7e-264) tmp = i * (y1 * ((x * j) - (z * k))); elseif (a <= 5.7e-167) tmp = c * (i * ((z * t) - (x * y))); elseif (a <= 3.8e-38) tmp = b * (y4 * ((t * j) - (y * k))); elseif (a <= 920000.0) tmp = b * (y0 * ((z * k) - (x * j))); elseif (a <= 8.4e+127) tmp = y3 * (y1 * ((z * a) - (j * y4))); elseif (a <= 8.2e+279) tmp = t_1; else tmp = y1 * ((x * y2) * -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[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -3.2e+187], N[(z * N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.6e+153], t$95$1, If[LessEqual[a, -5.8e+38], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.3e-67], t$95$1, If[LessEqual[a, -1.65e-184], N[(z * N[(c * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.7e-264], N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 5.7e-167], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.8e-38], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 920000.0], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.4e+127], N[(y3 * N[(y1 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 8.2e+279], t$95$1, N[(y1 * N[(N[(x * y2), $MachinePrecision] * (-a)), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{if}\;a \leq -3.2 \cdot 10^{+187}:\\
\;\;\;\;z \cdot \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;a \leq -5.6 \cdot 10^{+153}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -5.8 \cdot 10^{+38}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\mathbf{elif}\;a \leq -1.3 \cdot 10^{-67}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq -1.65 \cdot 10^{-184}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;a \leq 2.7 \cdot 10^{-264}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{elif}\;a \leq 5.7 \cdot 10^{-167}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;a \leq 3.8 \cdot 10^{-38}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;a \leq 920000:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;a \leq 8.4 \cdot 10^{+127}:\\
\;\;\;\;y3 \cdot \left(y1 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{elif}\;a \leq 8.2 \cdot 10^{+279}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(\left(x \cdot y2\right) \cdot \left(-a\right)\right)\\
\end{array}
\end{array}
if a < -3.19999999999999993e187Initial program 26.5%
Taylor expanded in z around -inf 43.9%
Taylor expanded in y3 around inf 61.3%
if -3.19999999999999993e187 < a < -5.5999999999999997e153 or -5.80000000000000013e38 < a < -1.2999999999999999e-67 or 8.39999999999999967e127 < a < 8.1999999999999995e279Initial program 28.5%
Taylor expanded in b around inf 39.0%
Taylor expanded in x around inf 47.5%
if -5.5999999999999997e153 < a < -5.80000000000000013e38Initial program 15.4%
Taylor expanded in i around -inf 61.7%
Taylor expanded in x around inf 54.5%
if -1.2999999999999999e-67 < a < -1.6499999999999999e-184Initial program 27.5%
Taylor expanded in z around -inf 53.8%
Taylor expanded in c around inf 80.7%
+-commutative80.7%
mul-1-neg80.7%
unsub-neg80.7%
*-commutative80.7%
Simplified80.7%
if -1.6499999999999999e-184 < a < 2.69999999999999994e-264Initial program 28.1%
Taylor expanded in i around -inf 43.1%
Taylor expanded in y1 around inf 46.3%
if 2.69999999999999994e-264 < a < 5.69999999999999988e-167Initial program 26.4%
Taylor expanded in i around -inf 58.2%
Taylor expanded in c around inf 55.6%
if 5.69999999999999988e-167 < a < 3.8e-38Initial program 19.7%
Taylor expanded in b around inf 42.8%
Taylor expanded in y4 around inf 43.1%
if 3.8e-38 < a < 9.2e5Initial program 25.0%
Taylor expanded in b around inf 52.9%
Taylor expanded in y0 around inf 75.7%
if 9.2e5 < a < 8.39999999999999967e127Initial program 28.7%
Taylor expanded in y3 around -inf 34.1%
Taylor expanded in y1 around inf 48.8%
if 8.1999999999999995e279 < a Initial program 0.0%
Taylor expanded in c around inf 0.0%
mul-1-neg0.0%
Simplified0.0%
Taylor expanded in y1 around inf 57.1%
Taylor expanded in x around inf 100.0%
mul-1-neg100.0%
*-commutative100.0%
distribute-rgt-neg-in100.0%
*-commutative100.0%
Simplified100.0%
Final simplification53.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -1.35e+196)
(* i (* z (- (* t c) (* k y1))))
(if (<= z -1.2e+61)
(* i (* j (- (* x y1) (* t y5))))
(if (<= z -1.42e-8)
(* b (* x (- (* y a) (* j y0))))
(if (<= z -8e-58)
(* i (* t (- (* z c) (* j y5))))
(if (<= z -1.35e-116)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= z 7.4e-247)
(* x (- (* y2 (- (* c y0) (* a y1))) (* c (* y i))))
(if (<= z 2.6e-43)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= z 1.82e+37)
(*
a
(+
(* y5 (- (* t y2) (* y y3)))
(* y1 (- (* z y3) (* x y2)))))
(if (<= z 1.45e+137)
(*
b
(+ (* a (- (* x y) (* z t))) (* y0 (- (* z k) (* x j)))))
(*
z
(+ (* c (* t i)) (* y3 (- (* a y1) (* c 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 (z <= -1.35e+196) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (z <= -1.2e+61) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (z <= -1.42e-8) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -8e-58) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (z <= -1.35e-116) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 7.4e-247) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (z <= 2.6e-43) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 1.82e+37) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 1.45e+137) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else {
tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * 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 (z <= (-1.35d+196)) then
tmp = i * (z * ((t * c) - (k * y1)))
else if (z <= (-1.2d+61)) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (z <= (-1.42d-8)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= (-8d-58)) then
tmp = i * (t * ((z * c) - (j * y5)))
else if (z <= (-1.35d-116)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (z <= 7.4d-247) then
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)))
else if (z <= 2.6d-43) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (z <= 1.82d+37) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))))
else if (z <= 1.45d+137) then
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))))
else
tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * 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 (z <= -1.35e+196) {
tmp = i * (z * ((t * c) - (k * y1)));
} else if (z <= -1.2e+61) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (z <= -1.42e-8) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -8e-58) {
tmp = i * (t * ((z * c) - (j * y5)));
} else if (z <= -1.35e-116) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 7.4e-247) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (z <= 2.6e-43) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 1.82e+37) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 1.45e+137) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else {
tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * y0))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -1.35e+196: tmp = i * (z * ((t * c) - (k * y1))) elif z <= -1.2e+61: tmp = i * (j * ((x * y1) - (t * y5))) elif z <= -1.42e-8: tmp = b * (x * ((y * a) - (j * y0))) elif z <= -8e-58: tmp = i * (t * ((z * c) - (j * y5))) elif z <= -1.35e-116: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif z <= 7.4e-247: tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))) elif z <= 2.6e-43: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif z <= 1.82e+37: tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))) elif z <= 1.45e+137: tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))) else: tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * 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 (z <= -1.35e+196) tmp = Float64(i * Float64(z * Float64(Float64(t * c) - Float64(k * y1)))); elseif (z <= -1.2e+61) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (z <= -1.42e-8) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= -8e-58) tmp = Float64(i * Float64(t * Float64(Float64(z * c) - Float64(j * y5)))); elseif (z <= -1.35e-116) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (z <= 7.4e-247) tmp = Float64(x * Float64(Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(c * Float64(y * i)))); elseif (z <= 2.6e-43) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (z <= 1.82e+37) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))))); elseif (z <= 1.45e+137) tmp = Float64(b * Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); else tmp = Float64(z * Float64(Float64(c * Float64(t * i)) + Float64(y3 * Float64(Float64(a * y1) - Float64(c * 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 (z <= -1.35e+196) tmp = i * (z * ((t * c) - (k * y1))); elseif (z <= -1.2e+61) tmp = i * (j * ((x * y1) - (t * y5))); elseif (z <= -1.42e-8) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= -8e-58) tmp = i * (t * ((z * c) - (j * y5))); elseif (z <= -1.35e-116) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (z <= 7.4e-247) tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))); elseif (z <= 2.6e-43) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (z <= 1.82e+37) tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))); elseif (z <= 1.45e+137) tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))); else tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * 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[z, -1.35e+196], N[(i * N[(z * N[(N[(t * c), $MachinePrecision] - N[(k * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.2e+61], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.42e-8], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -8e-58], N[(i * N[(t * N[(N[(z * c), $MachinePrecision] - N[(j * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.35e-116], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.4e-247], N[(x * N[(N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.6e-43], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.82e+37], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.45e+137], N[(b * N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(c * N[(t * i), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.35 \cdot 10^{+196}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c - k \cdot y1\right)\right)\\
\mathbf{elif}\;z \leq -1.2 \cdot 10^{+61}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq -1.42 \cdot 10^{-8}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq -8 \cdot 10^{-58}:\\
\;\;\;\;i \cdot \left(t \cdot \left(z \cdot c - j \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq -1.35 \cdot 10^{-116}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 7.4 \cdot 10^{-247}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) - c \cdot \left(y \cdot i\right)\right)\\
\mathbf{elif}\;z \leq 2.6 \cdot 10^{-43}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;z \leq 1.82 \cdot 10^{+37}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 1.45 \cdot 10^{+137}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\end{array}
\end{array}
if z < -1.34999999999999998e196Initial program 35.0%
Taylor expanded in i around -inf 70.2%
Taylor expanded in z around -inf 70.2%
mul-1-neg70.2%
Simplified70.2%
if -1.34999999999999998e196 < z < -1.1999999999999999e61Initial program 15.4%
Taylor expanded in j around inf 30.9%
Taylor expanded in i around -inf 58.2%
mul-1-neg58.2%
Simplified58.2%
if -1.1999999999999999e61 < z < -1.41999999999999998e-8Initial program 29.0%
Taylor expanded in b around inf 29.1%
Taylor expanded in x around inf 65.2%
if -1.41999999999999998e-8 < z < -8.0000000000000002e-58Initial program 22.9%
Taylor expanded in i around -inf 46.0%
Taylor expanded in t around inf 67.1%
if -8.0000000000000002e-58 < z < -1.35e-116Initial program 7.1%
Taylor expanded in j around inf 68.8%
Taylor expanded in y1 around -inf 70.0%
mul-1-neg70.0%
Simplified70.0%
if -1.35e-116 < z < 7.40000000000000021e-247Initial program 30.5%
Taylor expanded in c around inf 42.0%
mul-1-neg42.0%
Simplified42.0%
Taylor expanded in x around inf 36.1%
if 7.40000000000000021e-247 < z < 2.6e-43Initial program 26.6%
Taylor expanded in j around inf 26.7%
Taylor expanded in y0 around inf 46.7%
if 2.6e-43 < z < 1.81999999999999998e37Initial program 26.3%
Taylor expanded in c around inf 30.4%
mul-1-neg30.4%
Simplified30.4%
Taylor expanded in a around -inf 56.9%
mul-1-neg56.9%
Simplified56.9%
if 1.81999999999999998e37 < z < 1.44999999999999992e137Initial program 27.8%
Taylor expanded in b around inf 42.7%
Taylor expanded in y4 around 0 56.7%
if 1.44999999999999992e137 < z Initial program 24.7%
Taylor expanded in c around inf 20.1%
mul-1-neg20.1%
Simplified20.1%
Taylor expanded in z around -inf 65.8%
mul-1-neg65.8%
Simplified65.8%
Final simplification56.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y1) (* c y0))) (t_2 (* y1 (- (* x j) (* z k)))))
(if (<= z -1.55e+242)
(* i (+ t_2 (* c (- (* z t) (* x y)))))
(if (<= z -2e+168)
(* y3 (+ (* y (- (* c y4) (* a y5))) (* z t_1)))
(if (<= z -3e+61)
(* i t_2)
(if (<= z -3.3e-9)
(* b (* x (- (* y a) (* j y0))))
(if (<= z -1.55e-114)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= z 1.05e-246)
(* x (- (* y2 (- (* c y0) (* a y1))) (* c (* y i))))
(if (<= z 2.35e-43)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= z 3.2e+37)
(*
a
(+
(* y5 (- (* t y2) (* y y3)))
(* y1 (- (* z y3) (* x y2)))))
(if (<= z 1.75e+137)
(*
b
(+ (* a (- (* x y) (* z t))) (* y0 (- (* z k) (* x j)))))
(* z (+ (* c (* t i)) (* y3 t_1))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * y1) - (c * y0);
double t_2 = y1 * ((x * j) - (z * k));
double tmp;
if (z <= -1.55e+242) {
tmp = i * (t_2 + (c * ((z * t) - (x * y))));
} else if (z <= -2e+168) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1));
} else if (z <= -3e+61) {
tmp = i * t_2;
} else if (z <= -3.3e-9) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -1.55e-114) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 1.05e-246) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (z <= 2.35e-43) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 3.2e+37) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 1.75e+137) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else {
tmp = z * ((c * (t * i)) + (y3 * t_1));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (a * y1) - (c * y0)
t_2 = y1 * ((x * j) - (z * k))
if (z <= (-1.55d+242)) then
tmp = i * (t_2 + (c * ((z * t) - (x * y))))
else if (z <= (-2d+168)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1))
else if (z <= (-3d+61)) then
tmp = i * t_2
else if (z <= (-3.3d-9)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= (-1.55d-114)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (z <= 1.05d-246) then
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)))
else if (z <= 2.35d-43) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (z <= 3.2d+37) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))))
else if (z <= 1.75d+137) then
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))))
else
tmp = z * ((c * (t * i)) + (y3 * 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 * y1) - (c * y0);
double t_2 = y1 * ((x * j) - (z * k));
double tmp;
if (z <= -1.55e+242) {
tmp = i * (t_2 + (c * ((z * t) - (x * y))));
} else if (z <= -2e+168) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1));
} else if (z <= -3e+61) {
tmp = i * t_2;
} else if (z <= -3.3e-9) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -1.55e-114) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 1.05e-246) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (z <= 2.35e-43) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 3.2e+37) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 1.75e+137) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else {
tmp = z * ((c * (t * i)) + (y3 * 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 * y1) - (c * y0) t_2 = y1 * ((x * j) - (z * k)) tmp = 0 if z <= -1.55e+242: tmp = i * (t_2 + (c * ((z * t) - (x * y)))) elif z <= -2e+168: tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1)) elif z <= -3e+61: tmp = i * t_2 elif z <= -3.3e-9: tmp = b * (x * ((y * a) - (j * y0))) elif z <= -1.55e-114: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif z <= 1.05e-246: tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))) elif z <= 2.35e-43: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif z <= 3.2e+37: tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))) elif z <= 1.75e+137: tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))) else: tmp = z * ((c * (t * i)) + (y3 * 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(a * y1) - Float64(c * y0)) t_2 = Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) tmp = 0.0 if (z <= -1.55e+242) tmp = Float64(i * Float64(t_2 + Float64(c * Float64(Float64(z * t) - Float64(x * y))))); elseif (z <= -2e+168) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(z * t_1))); elseif (z <= -3e+61) tmp = Float64(i * t_2); elseif (z <= -3.3e-9) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= -1.55e-114) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (z <= 1.05e-246) tmp = Float64(x * Float64(Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(c * Float64(y * i)))); elseif (z <= 2.35e-43) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (z <= 3.2e+37) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))))); elseif (z <= 1.75e+137) tmp = Float64(b * Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); else tmp = Float64(z * Float64(Float64(c * Float64(t * i)) + Float64(y3 * 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 * y1) - (c * y0); t_2 = y1 * ((x * j) - (z * k)); tmp = 0.0; if (z <= -1.55e+242) tmp = i * (t_2 + (c * ((z * t) - (x * y)))); elseif (z <= -2e+168) tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1)); elseif (z <= -3e+61) tmp = i * t_2; elseif (z <= -3.3e-9) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= -1.55e-114) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (z <= 1.05e-246) tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))); elseif (z <= 2.35e-43) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (z <= 3.2e+37) tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))); elseif (z <= 1.75e+137) tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))); else tmp = z * ((c * (t * i)) + (y3 * 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[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.55e+242], N[(i * N[(t$95$2 + N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2e+168], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3e+61], N[(i * t$95$2), $MachinePrecision], If[LessEqual[z, -3.3e-9], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.55e-114], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.05e-246], N[(x * N[(N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.35e-43], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.2e+37], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.75e+137], N[(b * N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(c * N[(t * i), $MachinePrecision]), $MachinePrecision] + N[(y3 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot y1 - c \cdot y0\\
t_2 := y1 \cdot \left(x \cdot j - z \cdot k\right)\\
\mathbf{if}\;z \leq -1.55 \cdot 10^{+242}:\\
\;\;\;\;i \cdot \left(t\_2 + c \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;z \leq -2 \cdot 10^{+168}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + z \cdot t\_1\right)\\
\mathbf{elif}\;z \leq -3 \cdot 10^{+61}:\\
\;\;\;\;i \cdot t\_2\\
\mathbf{elif}\;z \leq -3.3 \cdot 10^{-9}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq -1.55 \cdot 10^{-114}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 1.05 \cdot 10^{-246}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) - c \cdot \left(y \cdot i\right)\right)\\
\mathbf{elif}\;z \leq 2.35 \cdot 10^{-43}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;z \leq 3.2 \cdot 10^{+37}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 1.75 \cdot 10^{+137}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i\right) + y3 \cdot t\_1\right)\\
\end{array}
\end{array}
if z < -1.55000000000000005e242Initial program 28.6%
Taylor expanded in i around -inf 85.7%
Taylor expanded in y5 around 0 85.7%
if -1.55000000000000005e242 < z < -1.9999999999999999e168Initial program 25.0%
Taylor expanded in y3 around -inf 31.8%
Taylor expanded in j around 0 63.0%
if -1.9999999999999999e168 < z < -3e61Initial program 18.8%
Taylor expanded in i around -inf 50.0%
Taylor expanded in y1 around inf 63.2%
if -3e61 < z < -3.30000000000000018e-9Initial program 29.0%
Taylor expanded in b around inf 29.1%
Taylor expanded in x around inf 65.2%
if -3.30000000000000018e-9 < z < -1.55e-114Initial program 12.8%
Taylor expanded in j around inf 64.2%
Taylor expanded in y1 around -inf 61.1%
mul-1-neg61.1%
Simplified61.1%
if -1.55e-114 < z < 1.04999999999999997e-246Initial program 30.5%
Taylor expanded in c around inf 42.0%
mul-1-neg42.0%
Simplified42.0%
Taylor expanded in x around inf 36.1%
if 1.04999999999999997e-246 < z < 2.35e-43Initial program 26.6%
Taylor expanded in j around inf 26.7%
Taylor expanded in y0 around inf 46.7%
if 2.35e-43 < z < 3.20000000000000014e37Initial program 26.3%
Taylor expanded in c around inf 30.4%
mul-1-neg30.4%
Simplified30.4%
Taylor expanded in a around -inf 56.9%
mul-1-neg56.9%
Simplified56.9%
if 3.20000000000000014e37 < z < 1.7500000000000001e137Initial program 27.8%
Taylor expanded in b around inf 42.7%
Taylor expanded in y4 around 0 56.7%
if 1.7500000000000001e137 < z Initial program 24.7%
Taylor expanded in c around inf 20.1%
mul-1-neg20.1%
Simplified20.1%
Taylor expanded in z around -inf 65.8%
mul-1-neg65.8%
Simplified65.8%
Final simplification56.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y1) (* c y0))) (t_2 (* y1 (- (* x j) (* z k)))))
(if (<= z -1.1e+241)
(* i (+ t_2 (* c (- (* z t) (* x y)))))
(if (<= z -2e+169)
(* y3 (+ (* y (- (* c y4) (* a y5))) (* z t_1)))
(if (<= z -1.45e+61)
(* i t_2)
(if (<= z -2.25e-7)
(* b (* x (- (* y a) (* j y0))))
(if (<= z -1.55e-114)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= z 5.6e-245)
(* x (- (* y2 (- (* c y0) (* a y1))) (* c (* y i))))
(if (<= z 2.8e-43)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= z 8.4e+37)
(*
a
(+
(* y5 (- (* t y2) (* y y3)))
(* y1 (- (* z y3) (* x y2)))))
(if (<= z 2.2e+136)
(*
b
(+ (* a (- (* x y) (* z t))) (* y0 (- (* z k) (* x j)))))
(* z (+ (* y3 t_1) (* t (- (* c i) (* a 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 t_1 = (a * y1) - (c * y0);
double t_2 = y1 * ((x * j) - (z * k));
double tmp;
if (z <= -1.1e+241) {
tmp = i * (t_2 + (c * ((z * t) - (x * y))));
} else if (z <= -2e+169) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1));
} else if (z <= -1.45e+61) {
tmp = i * t_2;
} else if (z <= -2.25e-7) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -1.55e-114) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 5.6e-245) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (z <= 2.8e-43) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 8.4e+37) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 2.2e+136) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else {
tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * 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) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (a * y1) - (c * y0)
t_2 = y1 * ((x * j) - (z * k))
if (z <= (-1.1d+241)) then
tmp = i * (t_2 + (c * ((z * t) - (x * y))))
else if (z <= (-2d+169)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1))
else if (z <= (-1.45d+61)) then
tmp = i * t_2
else if (z <= (-2.25d-7)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= (-1.55d-114)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (z <= 5.6d-245) then
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)))
else if (z <= 2.8d-43) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (z <= 8.4d+37) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))))
else if (z <= 2.2d+136) then
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))))
else
tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * 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 t_1 = (a * y1) - (c * y0);
double t_2 = y1 * ((x * j) - (z * k));
double tmp;
if (z <= -1.1e+241) {
tmp = i * (t_2 + (c * ((z * t) - (x * y))));
} else if (z <= -2e+169) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1));
} else if (z <= -1.45e+61) {
tmp = i * t_2;
} else if (z <= -2.25e-7) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -1.55e-114) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 5.6e-245) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (z <= 2.8e-43) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 8.4e+37) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 2.2e+136) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else {
tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * y1) - (c * y0) t_2 = y1 * ((x * j) - (z * k)) tmp = 0 if z <= -1.1e+241: tmp = i * (t_2 + (c * ((z * t) - (x * y)))) elif z <= -2e+169: tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1)) elif z <= -1.45e+61: tmp = i * t_2 elif z <= -2.25e-7: tmp = b * (x * ((y * a) - (j * y0))) elif z <= -1.55e-114: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif z <= 5.6e-245: tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))) elif z <= 2.8e-43: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif z <= 8.4e+37: tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))) elif z <= 2.2e+136: tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))) else: tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(a * y1) - Float64(c * y0)) t_2 = Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) tmp = 0.0 if (z <= -1.1e+241) tmp = Float64(i * Float64(t_2 + Float64(c * Float64(Float64(z * t) - Float64(x * y))))); elseif (z <= -2e+169) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(z * t_1))); elseif (z <= -1.45e+61) tmp = Float64(i * t_2); elseif (z <= -2.25e-7) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= -1.55e-114) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (z <= 5.6e-245) tmp = Float64(x * Float64(Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(c * Float64(y * i)))); elseif (z <= 2.8e-43) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (z <= 8.4e+37) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))))); elseif (z <= 2.2e+136) tmp = Float64(b * Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); else tmp = Float64(z * Float64(Float64(y3 * t_1) + Float64(t * Float64(Float64(c * i) - Float64(a * 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) t_1 = (a * y1) - (c * y0); t_2 = y1 * ((x * j) - (z * k)); tmp = 0.0; if (z <= -1.1e+241) tmp = i * (t_2 + (c * ((z * t) - (x * y)))); elseif (z <= -2e+169) tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1)); elseif (z <= -1.45e+61) tmp = i * t_2; elseif (z <= -2.25e-7) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= -1.55e-114) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (z <= 5.6e-245) tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))); elseif (z <= 2.8e-43) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (z <= 8.4e+37) tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))); elseif (z <= 2.2e+136) tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))); else tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.1e+241], N[(i * N[(t$95$2 + N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2e+169], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.45e+61], N[(i * t$95$2), $MachinePrecision], If[LessEqual[z, -2.25e-7], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.55e-114], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.6e-245], N[(x * N[(N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.8e-43], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.4e+37], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.2e+136], N[(b * N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(y3 * t$95$1), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot y1 - c \cdot y0\\
t_2 := y1 \cdot \left(x \cdot j - z \cdot k\right)\\
\mathbf{if}\;z \leq -1.1 \cdot 10^{+241}:\\
\;\;\;\;i \cdot \left(t\_2 + c \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;z \leq -2 \cdot 10^{+169}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + z \cdot t\_1\right)\\
\mathbf{elif}\;z \leq -1.45 \cdot 10^{+61}:\\
\;\;\;\;i \cdot t\_2\\
\mathbf{elif}\;z \leq -2.25 \cdot 10^{-7}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq -1.55 \cdot 10^{-114}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 5.6 \cdot 10^{-245}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) - c \cdot \left(y \cdot i\right)\right)\\
\mathbf{elif}\;z \leq 2.8 \cdot 10^{-43}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;z \leq 8.4 \cdot 10^{+37}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 2.2 \cdot 10^{+136}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(y3 \cdot t\_1 + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\end{array}
\end{array}
if z < -1.1e241Initial program 28.6%
Taylor expanded in i around -inf 85.7%
Taylor expanded in y5 around 0 85.7%
if -1.1e241 < z < -1.99999999999999987e169Initial program 25.0%
Taylor expanded in y3 around -inf 31.8%
Taylor expanded in j around 0 63.0%
if -1.99999999999999987e169 < z < -1.45e61Initial program 18.8%
Taylor expanded in i around -inf 50.0%
Taylor expanded in y1 around inf 63.2%
if -1.45e61 < z < -2.2499999999999999e-7Initial program 29.0%
Taylor expanded in b around inf 29.1%
Taylor expanded in x around inf 65.2%
if -2.2499999999999999e-7 < z < -1.55e-114Initial program 12.8%
Taylor expanded in j around inf 64.2%
Taylor expanded in y1 around -inf 61.1%
mul-1-neg61.1%
Simplified61.1%
if -1.55e-114 < z < 5.6000000000000003e-245Initial program 30.5%
Taylor expanded in c around inf 42.0%
mul-1-neg42.0%
Simplified42.0%
Taylor expanded in x around inf 36.1%
if 5.6000000000000003e-245 < z < 2.7999999999999998e-43Initial program 26.6%
Taylor expanded in j around inf 26.7%
Taylor expanded in y0 around inf 46.7%
if 2.7999999999999998e-43 < z < 8.4000000000000004e37Initial program 26.3%
Taylor expanded in c around inf 30.4%
mul-1-neg30.4%
Simplified30.4%
Taylor expanded in a around -inf 56.9%
mul-1-neg56.9%
Simplified56.9%
if 8.4000000000000004e37 < z < 2.1999999999999999e136Initial program 27.8%
Taylor expanded in b around inf 42.7%
Taylor expanded in y4 around 0 56.7%
if 2.1999999999999999e136 < z Initial program 24.7%
Taylor expanded in z around -inf 75.3%
Taylor expanded in k around 0 73.0%
Final simplification57.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y1) (* c y0)))
(t_2 (* y1 (- (* x j) (* z k))))
(t_3 (- (* c y0) (* a y1))))
(if (<= z -6e+241)
(* i (+ t_2 (* c (- (* z t) (* x y)))))
(if (<= z -1.8e+168)
(* y3 (+ (* y (- (* c y4) (* a y5))) (* z t_1)))
(if (<= z -3.7e+60)
(* i t_2)
(if (<= z -2.2e-13)
(* b (* x (- (* y a) (* j y0))))
(if (<= z -2.5e-117)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= z 1.2e-196)
(*
y2
(+
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_3))
(* t (- (* a y5) (* c y4)))))
(if (<= z 2.35e-42)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_3))
(* j (- (* i y1) (* b y0)))))
(if (<= z 1.35e+38)
(*
a
(+
(* y5 (- (* t y2) (* y y3)))
(* y1 (- (* z y3) (* x y2)))))
(if (<= z 1.05e+138)
(*
b
(+ (* a (- (* x y) (* z t))) (* y0 (- (* z k) (* x j)))))
(* z (+ (* y3 t_1) (* t (- (* c i) (* a 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 t_1 = (a * y1) - (c * y0);
double t_2 = y1 * ((x * j) - (z * k));
double t_3 = (c * y0) - (a * y1);
double tmp;
if (z <= -6e+241) {
tmp = i * (t_2 + (c * ((z * t) - (x * y))));
} else if (z <= -1.8e+168) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1));
} else if (z <= -3.7e+60) {
tmp = i * t_2;
} else if (z <= -2.2e-13) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -2.5e-117) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 1.2e-196) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4))));
} else if (z <= 2.35e-42) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + (j * ((i * y1) - (b * y0))));
} else if (z <= 1.35e+38) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 1.05e+138) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else {
tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * 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) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = (a * y1) - (c * y0)
t_2 = y1 * ((x * j) - (z * k))
t_3 = (c * y0) - (a * y1)
if (z <= (-6d+241)) then
tmp = i * (t_2 + (c * ((z * t) - (x * y))))
else if (z <= (-1.8d+168)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1))
else if (z <= (-3.7d+60)) then
tmp = i * t_2
else if (z <= (-2.2d-13)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= (-2.5d-117)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (z <= 1.2d-196) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4))))
else if (z <= 2.35d-42) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + (j * ((i * y1) - (b * y0))))
else if (z <= 1.35d+38) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))))
else if (z <= 1.05d+138) then
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))))
else
tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * 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 t_1 = (a * y1) - (c * y0);
double t_2 = y1 * ((x * j) - (z * k));
double t_3 = (c * y0) - (a * y1);
double tmp;
if (z <= -6e+241) {
tmp = i * (t_2 + (c * ((z * t) - (x * y))));
} else if (z <= -1.8e+168) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1));
} else if (z <= -3.7e+60) {
tmp = i * t_2;
} else if (z <= -2.2e-13) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -2.5e-117) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 1.2e-196) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4))));
} else if (z <= 2.35e-42) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + (j * ((i * y1) - (b * y0))));
} else if (z <= 1.35e+38) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 1.05e+138) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else {
tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * y1) - (c * y0) t_2 = y1 * ((x * j) - (z * k)) t_3 = (c * y0) - (a * y1) tmp = 0 if z <= -6e+241: tmp = i * (t_2 + (c * ((z * t) - (x * y)))) elif z <= -1.8e+168: tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1)) elif z <= -3.7e+60: tmp = i * t_2 elif z <= -2.2e-13: tmp = b * (x * ((y * a) - (j * y0))) elif z <= -2.5e-117: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif z <= 1.2e-196: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4)))) elif z <= 2.35e-42: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + (j * ((i * y1) - (b * y0)))) elif z <= 1.35e+38: tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))) elif z <= 1.05e+138: tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))) else: tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(a * y1) - Float64(c * y0)) t_2 = Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) t_3 = Float64(Float64(c * y0) - Float64(a * y1)) tmp = 0.0 if (z <= -6e+241) tmp = Float64(i * Float64(t_2 + Float64(c * Float64(Float64(z * t) - Float64(x * y))))); elseif (z <= -1.8e+168) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(z * t_1))); elseif (z <= -3.7e+60) tmp = Float64(i * t_2); elseif (z <= -2.2e-13) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= -2.5e-117) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (z <= 1.2e-196) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_3)) + Float64(t * Float64(Float64(a * y5) - Float64(c * y4))))); elseif (z <= 2.35e-42) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_3)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (z <= 1.35e+38) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))))); elseif (z <= 1.05e+138) tmp = Float64(b * Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); else tmp = Float64(z * Float64(Float64(y3 * t_1) + Float64(t * Float64(Float64(c * i) - Float64(a * 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) t_1 = (a * y1) - (c * y0); t_2 = y1 * ((x * j) - (z * k)); t_3 = (c * y0) - (a * y1); tmp = 0.0; if (z <= -6e+241) tmp = i * (t_2 + (c * ((z * t) - (x * y)))); elseif (z <= -1.8e+168) tmp = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_1)); elseif (z <= -3.7e+60) tmp = i * t_2; elseif (z <= -2.2e-13) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= -2.5e-117) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (z <= 1.2e-196) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) + (t * ((a * y5) - (c * y4)))); elseif (z <= 2.35e-42) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + (j * ((i * y1) - (b * y0)))); elseif (z <= 1.35e+38) tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))); elseif (z <= 1.05e+138) tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))); else tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -6e+241], N[(i * N[(t$95$2 + N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.8e+168], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3.7e+60], N[(i * t$95$2), $MachinePrecision], If[LessEqual[z, -2.2e-13], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.5e-117], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.2e-196], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(t * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.35e-42], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$3), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.35e+38], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.05e+138], N[(b * N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(y3 * t$95$1), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot y1 - c \cdot y0\\
t_2 := y1 \cdot \left(x \cdot j - z \cdot k\right)\\
t_3 := c \cdot y0 - a \cdot y1\\
\mathbf{if}\;z \leq -6 \cdot 10^{+241}:\\
\;\;\;\;i \cdot \left(t\_2 + c \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;z \leq -1.8 \cdot 10^{+168}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + z \cdot t\_1\right)\\
\mathbf{elif}\;z \leq -3.7 \cdot 10^{+60}:\\
\;\;\;\;i \cdot t\_2\\
\mathbf{elif}\;z \leq -2.2 \cdot 10^{-13}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq -2.5 \cdot 10^{-117}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 1.2 \cdot 10^{-196}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_3\right) + t \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 2.35 \cdot 10^{-42}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_3\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 1.35 \cdot 10^{+38}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 1.05 \cdot 10^{+138}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(y3 \cdot t\_1 + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\end{array}
\end{array}
if z < -6.00000000000000031e241Initial program 28.6%
Taylor expanded in i around -inf 85.7%
Taylor expanded in y5 around 0 85.7%
if -6.00000000000000031e241 < z < -1.8e168Initial program 25.0%
Taylor expanded in y3 around -inf 31.8%
Taylor expanded in j around 0 63.0%
if -1.8e168 < z < -3.69999999999999988e60Initial program 18.8%
Taylor expanded in i around -inf 50.0%
Taylor expanded in y1 around inf 63.2%
if -3.69999999999999988e60 < z < -2.19999999999999997e-13Initial program 29.0%
Taylor expanded in b around inf 29.1%
Taylor expanded in x around inf 65.2%
if -2.19999999999999997e-13 < z < -2.5e-117Initial program 16.0%
Taylor expanded in j around inf 62.0%
Taylor expanded in y1 around -inf 58.8%
mul-1-neg58.8%
Simplified58.8%
if -2.5e-117 < z < 1.2000000000000001e-196Initial program 27.4%
Taylor expanded in y2 around inf 43.2%
if 1.2000000000000001e-196 < z < 2.35e-42Initial program 28.7%
Taylor expanded in x around inf 57.0%
if 2.35e-42 < z < 1.34999999999999998e38Initial program 26.3%
Taylor expanded in c around inf 30.4%
mul-1-neg30.4%
Simplified30.4%
Taylor expanded in a around -inf 56.9%
mul-1-neg56.9%
Simplified56.9%
if 1.34999999999999998e38 < z < 1.05000000000000003e138Initial program 27.8%
Taylor expanded in b around inf 42.7%
Taylor expanded in y4 around 0 56.7%
if 1.05000000000000003e138 < z Initial program 24.7%
Taylor expanded in z around -inf 75.3%
Taylor expanded in k around 0 73.0%
Final simplification59.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y1) (* c y0)))
(t_2
(*
i
(+
(- (* c (- (* z t) (* x y))) (* y5 (- (* t j) (* y k))))
(* y1 (- (* x j) (* z k))))))
(t_3 (- (* b y4) (* i y5)))
(t_4 (- (* c y4) (* a y5)))
(t_5 (* y3 (+ (* y t_4) (* z t_1))))
(t_6 (- (* k y2) (* j y3))))
(if (<= y3 -4.8e+114)
t_5
(if (<= y3 -1.1e-15)
(* z (+ (* y3 t_1) (* t (- (* c i) (* a b)))))
(if (<= y3 -1.5e-75)
t_2
(if (<= y3 -7.2e-192)
(+
(* t_6 (- (* y1 y4) (* y0 y5)))
(* j (+ (* t t_3) (* x (- (* i y1) (* b y0))))))
(if (<= y3 -6.4e-214)
(* y (- (- (* y3 t_4) (* c (* x i))) (* k t_3)))
(if (<= y3 -1.7e-282)
(*
y0
(+
(+ (* y5 (- (* j y3) (* k y2))) (* c (- (* x y2) (* z y3))))
(* b (- (* z k) (* x j)))))
(if (<= y3 2.6e-40)
t_2
(if (<= y3 5.2e+165)
(* y1 (+ (* a (- (* z y3) (* x y2))) (* y4 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 = (a * y1) - (c * y0);
double t_2 = i * (((c * ((z * t) - (x * y))) - (y5 * ((t * j) - (y * k)))) + (y1 * ((x * j) - (z * k))));
double t_3 = (b * y4) - (i * y5);
double t_4 = (c * y4) - (a * y5);
double t_5 = y3 * ((y * t_4) + (z * t_1));
double t_6 = (k * y2) - (j * y3);
double tmp;
if (y3 <= -4.8e+114) {
tmp = t_5;
} else if (y3 <= -1.1e-15) {
tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b))));
} else if (y3 <= -1.5e-75) {
tmp = t_2;
} else if (y3 <= -7.2e-192) {
tmp = (t_6 * ((y1 * y4) - (y0 * y5))) + (j * ((t * t_3) + (x * ((i * y1) - (b * y0)))));
} else if (y3 <= -6.4e-214) {
tmp = y * (((y3 * t_4) - (c * (x * i))) - (k * t_3));
} else if (y3 <= -1.7e-282) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (y3 <= 2.6e-40) {
tmp = t_2;
} else if (y3 <= 5.2e+165) {
tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * 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 = (a * y1) - (c * y0)
t_2 = i * (((c * ((z * t) - (x * y))) - (y5 * ((t * j) - (y * k)))) + (y1 * ((x * j) - (z * k))))
t_3 = (b * y4) - (i * y5)
t_4 = (c * y4) - (a * y5)
t_5 = y3 * ((y * t_4) + (z * t_1))
t_6 = (k * y2) - (j * y3)
if (y3 <= (-4.8d+114)) then
tmp = t_5
else if (y3 <= (-1.1d-15)) then
tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b))))
else if (y3 <= (-1.5d-75)) then
tmp = t_2
else if (y3 <= (-7.2d-192)) then
tmp = (t_6 * ((y1 * y4) - (y0 * y5))) + (j * ((t * t_3) + (x * ((i * y1) - (b * y0)))))
else if (y3 <= (-6.4d-214)) then
tmp = y * (((y3 * t_4) - (c * (x * i))) - (k * t_3))
else if (y3 <= (-1.7d-282)) then
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))))
else if (y3 <= 2.6d-40) then
tmp = t_2
else if (y3 <= 5.2d+165) then
tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * 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 = (a * y1) - (c * y0);
double t_2 = i * (((c * ((z * t) - (x * y))) - (y5 * ((t * j) - (y * k)))) + (y1 * ((x * j) - (z * k))));
double t_3 = (b * y4) - (i * y5);
double t_4 = (c * y4) - (a * y5);
double t_5 = y3 * ((y * t_4) + (z * t_1));
double t_6 = (k * y2) - (j * y3);
double tmp;
if (y3 <= -4.8e+114) {
tmp = t_5;
} else if (y3 <= -1.1e-15) {
tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b))));
} else if (y3 <= -1.5e-75) {
tmp = t_2;
} else if (y3 <= -7.2e-192) {
tmp = (t_6 * ((y1 * y4) - (y0 * y5))) + (j * ((t * t_3) + (x * ((i * y1) - (b * y0)))));
} else if (y3 <= -6.4e-214) {
tmp = y * (((y3 * t_4) - (c * (x * i))) - (k * t_3));
} else if (y3 <= -1.7e-282) {
tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j))));
} else if (y3 <= 2.6e-40) {
tmp = t_2;
} else if (y3 <= 5.2e+165) {
tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * 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 = (a * y1) - (c * y0) t_2 = i * (((c * ((z * t) - (x * y))) - (y5 * ((t * j) - (y * k)))) + (y1 * ((x * j) - (z * k)))) t_3 = (b * y4) - (i * y5) t_4 = (c * y4) - (a * y5) t_5 = y3 * ((y * t_4) + (z * t_1)) t_6 = (k * y2) - (j * y3) tmp = 0 if y3 <= -4.8e+114: tmp = t_5 elif y3 <= -1.1e-15: tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b)))) elif y3 <= -1.5e-75: tmp = t_2 elif y3 <= -7.2e-192: tmp = (t_6 * ((y1 * y4) - (y0 * y5))) + (j * ((t * t_3) + (x * ((i * y1) - (b * y0))))) elif y3 <= -6.4e-214: tmp = y * (((y3 * t_4) - (c * (x * i))) - (k * t_3)) elif y3 <= -1.7e-282: tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))) elif y3 <= 2.6e-40: tmp = t_2 elif y3 <= 5.2e+165: tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * 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(a * y1) - Float64(c * y0)) t_2 = Float64(i * Float64(Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) - Float64(y5 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y1 * Float64(Float64(x * j) - Float64(z * k))))) t_3 = Float64(Float64(b * y4) - Float64(i * y5)) t_4 = Float64(Float64(c * y4) - Float64(a * y5)) t_5 = Float64(y3 * Float64(Float64(y * t_4) + Float64(z * t_1))) t_6 = Float64(Float64(k * y2) - Float64(j * y3)) tmp = 0.0 if (y3 <= -4.8e+114) tmp = t_5; elseif (y3 <= -1.1e-15) tmp = Float64(z * Float64(Float64(y3 * t_1) + Float64(t * Float64(Float64(c * i) - Float64(a * b))))); elseif (y3 <= -1.5e-75) tmp = t_2; elseif (y3 <= -7.2e-192) tmp = Float64(Float64(t_6 * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(j * Float64(Float64(t * t_3) + Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))))); elseif (y3 <= -6.4e-214) tmp = Float64(y * Float64(Float64(Float64(y3 * t_4) - Float64(c * Float64(x * i))) - Float64(k * t_3))); elseif (y3 <= -1.7e-282) tmp = Float64(y0 * Float64(Float64(Float64(y5 * Float64(Float64(j * y3) - Float64(k * y2))) + Float64(c * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(b * Float64(Float64(z * k) - Float64(x * j))))); elseif (y3 <= 2.6e-40) tmp = t_2; elseif (y3 <= 5.2e+165) tmp = Float64(y1 * Float64(Float64(a * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y4 * 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 = (a * y1) - (c * y0); t_2 = i * (((c * ((z * t) - (x * y))) - (y5 * ((t * j) - (y * k)))) + (y1 * ((x * j) - (z * k)))); t_3 = (b * y4) - (i * y5); t_4 = (c * y4) - (a * y5); t_5 = y3 * ((y * t_4) + (z * t_1)); t_6 = (k * y2) - (j * y3); tmp = 0.0; if (y3 <= -4.8e+114) tmp = t_5; elseif (y3 <= -1.1e-15) tmp = z * ((y3 * t_1) + (t * ((c * i) - (a * b)))); elseif (y3 <= -1.5e-75) tmp = t_2; elseif (y3 <= -7.2e-192) tmp = (t_6 * ((y1 * y4) - (y0 * y5))) + (j * ((t * t_3) + (x * ((i * y1) - (b * y0))))); elseif (y3 <= -6.4e-214) tmp = y * (((y3 * t_4) - (c * (x * i))) - (k * t_3)); elseif (y3 <= -1.7e-282) tmp = y0 * (((y5 * ((j * y3) - (k * y2))) + (c * ((x * y2) - (z * y3)))) + (b * ((z * k) - (x * j)))); elseif (y3 <= 2.6e-40) tmp = t_2; elseif (y3 <= 5.2e+165) tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * 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[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y3 * N[(N[(y * t$95$4), $MachinePrecision] + N[(z * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -4.8e+114], t$95$5, If[LessEqual[y3, -1.1e-15], N[(z * N[(N[(y3 * t$95$1), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.5e-75], t$95$2, If[LessEqual[y3, -7.2e-192], N[(N[(t$95$6 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * t$95$3), $MachinePrecision] + N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -6.4e-214], N[(y * N[(N[(N[(y3 * t$95$4), $MachinePrecision] - N[(c * N[(x * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(k * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.7e-282], N[(y0 * N[(N[(N[(y5 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.6e-40], t$95$2, If[LessEqual[y3, 5.2e+165], N[(y1 * N[(N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$5]]]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot y1 - c \cdot y0\\
t_2 := i \cdot \left(\left(c \cdot \left(z \cdot t - x \cdot y\right) - y5 \cdot \left(t \cdot j - y \cdot k\right)\right) + y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
t_3 := b \cdot y4 - i \cdot y5\\
t_4 := c \cdot y4 - a \cdot y5\\
t_5 := y3 \cdot \left(y \cdot t\_4 + z \cdot t\_1\right)\\
t_6 := k \cdot y2 - j \cdot y3\\
\mathbf{if}\;y3 \leq -4.8 \cdot 10^{+114}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y3 \leq -1.1 \cdot 10^{-15}:\\
\;\;\;\;z \cdot \left(y3 \cdot t\_1 + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;y3 \leq -1.5 \cdot 10^{-75}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq -7.2 \cdot 10^{-192}:\\
\;\;\;\;t\_6 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + j \cdot \left(t \cdot t\_3 + x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y3 \leq -6.4 \cdot 10^{-214}:\\
\;\;\;\;y \cdot \left(\left(y3 \cdot t\_4 - c \cdot \left(x \cdot i\right)\right) - k \cdot t\_3\right)\\
\mathbf{elif}\;y3 \leq -1.7 \cdot 10^{-282}:\\
\;\;\;\;y0 \cdot \left(\left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right) + c \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + b \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y3 \leq 2.6 \cdot 10^{-40}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y3 \leq 5.2 \cdot 10^{+165}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 - x \cdot y2\right) + y4 \cdot t\_6\right)\\
\mathbf{else}:\\
\;\;\;\;t\_5\\
\end{array}
\end{array}
if y3 < -4.8e114 or 5.2000000000000002e165 < y3 Initial program 15.6%
Taylor expanded in y3 around -inf 49.0%
Taylor expanded in j around 0 56.8%
if -4.8e114 < y3 < -1.09999999999999993e-15Initial program 36.3%
Taylor expanded in z around -inf 44.4%
Taylor expanded in k around 0 56.2%
if -1.09999999999999993e-15 < y3 < -1.4999999999999999e-75 or -1.69999999999999999e-282 < y3 < 2.6000000000000001e-40Initial program 29.9%
Taylor expanded in i around -inf 61.2%
if -1.4999999999999999e-75 < y3 < -7.1999999999999998e-192Initial program 26.4%
Taylor expanded in j around inf 56.3%
if -7.1999999999999998e-192 < y3 < -6.40000000000000027e-214Initial program 51.1%
Taylor expanded in c around inf 75.0%
mul-1-neg75.0%
Simplified75.0%
Taylor expanded in y around inf 100.0%
if -6.40000000000000027e-214 < y3 < -1.69999999999999999e-282Initial program 39.1%
Taylor expanded in y0 around inf 67.2%
if 2.6000000000000001e-40 < y3 < 5.2000000000000002e165Initial program 18.8%
Taylor expanded in c around inf 25.0%
mul-1-neg25.0%
Simplified25.0%
Taylor expanded in y1 around inf 63.0%
Final simplification60.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y1) (* c y0)))
(t_2 (* z (+ (* y3 t_1) (* t (- (* c i) (* a b))))))
(t_3 (* z t_1)))
(if (<= i -6.2e+142)
(* i (* j (- (* x y1) (* t y5))))
(if (<= i -2.5e-50)
(* y3 (+ (* c (* y y4)) t_3))
(if (<= i -1.25e-155)
(* k (+ (* y (- (* i y5) (* b y4))) (* y2 (- (* y1 y4) (* y0 y5)))))
(if (<= i -1.55e-189)
(* y3 (+ (* y (- (* c y4) (* a y5))) t_3))
(if (<= i -4.5e-297)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= i 9.4e-51)
t_2
(if (<= i 460000.0)
(* y1 (* y2 (- (* k y4) (* x a))))
(if (<= i 7.8e+136)
t_2
(*
i
(+
(* y1 (- (* x j) (* z k)))
(* c (- (* z t) (* x y)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * y1) - (c * y0);
double t_2 = z * ((y3 * t_1) + (t * ((c * i) - (a * b))));
double t_3 = z * t_1;
double tmp;
if (i <= -6.2e+142) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (i <= -2.5e-50) {
tmp = y3 * ((c * (y * y4)) + t_3);
} else if (i <= -1.25e-155) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
} else if (i <= -1.55e-189) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + t_3);
} else if (i <= -4.5e-297) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= 9.4e-51) {
tmp = t_2;
} else if (i <= 460000.0) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (i <= 7.8e+136) {
tmp = t_2;
} else {
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: tmp
t_1 = (a * y1) - (c * y0)
t_2 = z * ((y3 * t_1) + (t * ((c * i) - (a * b))))
t_3 = z * t_1
if (i <= (-6.2d+142)) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (i <= (-2.5d-50)) then
tmp = y3 * ((c * (y * y4)) + t_3)
else if (i <= (-1.25d-155)) then
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))))
else if (i <= (-1.55d-189)) then
tmp = y3 * ((y * ((c * y4) - (a * y5))) + t_3)
else if (i <= (-4.5d-297)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (i <= 9.4d-51) then
tmp = t_2
else if (i <= 460000.0d0) then
tmp = y1 * (y2 * ((k * y4) - (x * a)))
else if (i <= 7.8d+136) then
tmp = t_2
else
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * y1) - (c * y0);
double t_2 = z * ((y3 * t_1) + (t * ((c * i) - (a * b))));
double t_3 = z * t_1;
double tmp;
if (i <= -6.2e+142) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (i <= -2.5e-50) {
tmp = y3 * ((c * (y * y4)) + t_3);
} else if (i <= -1.25e-155) {
tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5))));
} else if (i <= -1.55e-189) {
tmp = y3 * ((y * ((c * y4) - (a * y5))) + t_3);
} else if (i <= -4.5e-297) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= 9.4e-51) {
tmp = t_2;
} else if (i <= 460000.0) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (i <= 7.8e+136) {
tmp = t_2;
} else {
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * y1) - (c * y0) t_2 = z * ((y3 * t_1) + (t * ((c * i) - (a * b)))) t_3 = z * t_1 tmp = 0 if i <= -6.2e+142: tmp = i * (j * ((x * y1) - (t * y5))) elif i <= -2.5e-50: tmp = y3 * ((c * (y * y4)) + t_3) elif i <= -1.25e-155: tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))) elif i <= -1.55e-189: tmp = y3 * ((y * ((c * y4) - (a * y5))) + t_3) elif i <= -4.5e-297: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif i <= 9.4e-51: tmp = t_2 elif i <= 460000.0: tmp = y1 * (y2 * ((k * y4) - (x * a))) elif i <= 7.8e+136: tmp = t_2 else: tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(a * y1) - Float64(c * y0)) t_2 = Float64(z * Float64(Float64(y3 * t_1) + Float64(t * Float64(Float64(c * i) - Float64(a * b))))) t_3 = Float64(z * t_1) tmp = 0.0 if (i <= -6.2e+142) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (i <= -2.5e-50) tmp = Float64(y3 * Float64(Float64(c * Float64(y * y4)) + t_3)); elseif (i <= -1.25e-155) tmp = Float64(k * Float64(Float64(y * Float64(Float64(i * y5) - Float64(b * y4))) + Float64(y2 * Float64(Float64(y1 * y4) - Float64(y0 * y5))))); elseif (i <= -1.55e-189) tmp = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + t_3)); elseif (i <= -4.5e-297) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (i <= 9.4e-51) tmp = t_2; elseif (i <= 460000.0) tmp = Float64(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * a)))); elseif (i <= 7.8e+136) tmp = t_2; else tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(c * Float64(Float64(z * t) - Float64(x * y))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (a * y1) - (c * y0); t_2 = z * ((y3 * t_1) + (t * ((c * i) - (a * b)))); t_3 = z * t_1; tmp = 0.0; if (i <= -6.2e+142) tmp = i * (j * ((x * y1) - (t * y5))); elseif (i <= -2.5e-50) tmp = y3 * ((c * (y * y4)) + t_3); elseif (i <= -1.25e-155) tmp = k * ((y * ((i * y5) - (b * y4))) + (y2 * ((y1 * y4) - (y0 * y5)))); elseif (i <= -1.55e-189) tmp = y3 * ((y * ((c * y4) - (a * y5))) + t_3); elseif (i <= -4.5e-297) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (i <= 9.4e-51) tmp = t_2; elseif (i <= 460000.0) tmp = y1 * (y2 * ((k * y4) - (x * a))); elseif (i <= 7.8e+136) tmp = t_2; else tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(z * N[(N[(y3 * t$95$1), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(z * t$95$1), $MachinePrecision]}, If[LessEqual[i, -6.2e+142], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -2.5e-50], N[(y3 * N[(N[(c * N[(y * y4), $MachinePrecision]), $MachinePrecision] + t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -1.25e-155], 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[i, -1.55e-189], N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$3), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -4.5e-297], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 9.4e-51], t$95$2, If[LessEqual[i, 460000.0], N[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 7.8e+136], t$95$2, N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot y1 - c \cdot y0\\
t_2 := z \cdot \left(y3 \cdot t\_1 + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\
t_3 := z \cdot t\_1\\
\mathbf{if}\;i \leq -6.2 \cdot 10^{+142}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq -2.5 \cdot 10^{-50}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y \cdot y4\right) + t\_3\right)\\
\mathbf{elif}\;i \leq -1.25 \cdot 10^{-155}:\\
\;\;\;\;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}\;i \leq -1.55 \cdot 10^{-189}:\\
\;\;\;\;y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + t\_3\right)\\
\mathbf{elif}\;i \leq -4.5 \cdot 10^{-297}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;i \leq 9.4 \cdot 10^{-51}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;i \leq 460000:\\
\;\;\;\;y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\mathbf{elif}\;i \leq 7.8 \cdot 10^{+136}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + c \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\end{array}
\end{array}
if i < -6.1999999999999998e142Initial program 19.2%
Taylor expanded in j around inf 48.6%
Taylor expanded in i around -inf 56.7%
mul-1-neg56.7%
Simplified56.7%
if -6.1999999999999998e142 < i < -2.49999999999999984e-50Initial program 19.3%
Taylor expanded in y3 around -inf 30.7%
Taylor expanded in j around 0 28.8%
Taylor expanded in y5 around 0 47.0%
if -2.49999999999999984e-50 < i < -1.25e-155Initial program 43.8%
Taylor expanded in c around inf 56.3%
mul-1-neg56.3%
Simplified56.3%
Taylor expanded in k around inf 44.9%
if -1.25e-155 < i < -1.55e-189Initial program 33.3%
Taylor expanded in y3 around -inf 66.7%
Taylor expanded in j around 0 77.8%
if -1.55e-189 < i < -4.49999999999999975e-297Initial program 18.3%
Taylor expanded in j around inf 41.4%
Taylor expanded in y0 around inf 55.7%
if -4.49999999999999975e-297 < i < 9.3999999999999995e-51 or 4.6e5 < i < 7.80000000000000038e136Initial program 28.0%
Taylor expanded in z around -inf 47.1%
Taylor expanded in k around 0 49.6%
if 9.3999999999999995e-51 < i < 4.6e5Initial program 0.5%
Taylor expanded in c around inf 11.1%
mul-1-neg11.1%
Simplified11.1%
Taylor expanded in y1 around inf 79.2%
Taylor expanded in y2 around inf 68.4%
+-commutative68.4%
mul-1-neg68.4%
unsub-neg68.4%
*-commutative68.4%
Simplified68.4%
if 7.80000000000000038e136 < i Initial program 28.8%
Taylor expanded in i around -inf 63.7%
Taylor expanded in y5 around 0 58.5%
Final simplification53.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -2.35e+198)
(* b (* z (- (* k y0) (* t a))))
(if (<= z -1.2e+61)
(* i (* j (- (* x y1) (* t y5))))
(if (<= z -1.85e-10)
(* b (* x (- (* y a) (* j y0))))
(if (<= z -2.7e-28)
(* j (* t (- (* b y4) (* i y5))))
(if (<= z -1.95e-117)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= z 3.45e-242)
(* y1 (* y2 (- (* k y4) (* x a))))
(if (<= z 2.9e-42)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= z 1.6e+36)
(* j (* x (- (* i y1) (* b y0))))
(if (<= z 7.5e+135)
(* b (* y0 (- (* z k) (* x j))))
(* c (* (* z t) i))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -2.35e+198) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (z <= -1.2e+61) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (z <= -1.85e-10) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -2.7e-28) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (z <= -1.95e-117) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 3.45e-242) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (z <= 2.9e-42) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 1.6e+36) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (z <= 7.5e+135) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else {
tmp = c * ((z * t) * i);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (z <= (-2.35d+198)) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (z <= (-1.2d+61)) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (z <= (-1.85d-10)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= (-2.7d-28)) then
tmp = j * (t * ((b * y4) - (i * y5)))
else if (z <= (-1.95d-117)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (z <= 3.45d-242) then
tmp = y1 * (y2 * ((k * y4) - (x * a)))
else if (z <= 2.9d-42) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (z <= 1.6d+36) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (z <= 7.5d+135) then
tmp = b * (y0 * ((z * k) - (x * j)))
else
tmp = c * ((z * t) * i)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -2.35e+198) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (z <= -1.2e+61) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (z <= -1.85e-10) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -2.7e-28) {
tmp = j * (t * ((b * y4) - (i * y5)));
} else if (z <= -1.95e-117) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 3.45e-242) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (z <= 2.9e-42) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 1.6e+36) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (z <= 7.5e+135) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else {
tmp = c * ((z * t) * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -2.35e+198: tmp = b * (z * ((k * y0) - (t * a))) elif z <= -1.2e+61: tmp = i * (j * ((x * y1) - (t * y5))) elif z <= -1.85e-10: tmp = b * (x * ((y * a) - (j * y0))) elif z <= -2.7e-28: tmp = j * (t * ((b * y4) - (i * y5))) elif z <= -1.95e-117: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif z <= 3.45e-242: tmp = y1 * (y2 * ((k * y4) - (x * a))) elif z <= 2.9e-42: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif z <= 1.6e+36: tmp = j * (x * ((i * y1) - (b * y0))) elif z <= 7.5e+135: tmp = b * (y0 * ((z * k) - (x * j))) else: tmp = c * ((z * t) * i) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -2.35e+198) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (z <= -1.2e+61) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (z <= -1.85e-10) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= -2.7e-28) tmp = Float64(j * Float64(t * Float64(Float64(b * y4) - Float64(i * y5)))); elseif (z <= -1.95e-117) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (z <= 3.45e-242) tmp = Float64(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * a)))); elseif (z <= 2.9e-42) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (z <= 1.6e+36) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (z <= 7.5e+135) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); else tmp = Float64(c * Float64(Float64(z * t) * i)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (z <= -2.35e+198) tmp = b * (z * ((k * y0) - (t * a))); elseif (z <= -1.2e+61) tmp = i * (j * ((x * y1) - (t * y5))); elseif (z <= -1.85e-10) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= -2.7e-28) tmp = j * (t * ((b * y4) - (i * y5))); elseif (z <= -1.95e-117) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (z <= 3.45e-242) tmp = y1 * (y2 * ((k * y4) - (x * a))); elseif (z <= 2.9e-42) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (z <= 1.6e+36) tmp = j * (x * ((i * y1) - (b * y0))); elseif (z <= 7.5e+135) tmp = b * (y0 * ((z * k) - (x * j))); else tmp = c * ((z * t) * i); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -2.35e+198], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.2e+61], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.85e-10], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -2.7e-28], N[(j * N[(t * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.95e-117], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.45e-242], N[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.9e-42], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.6e+36], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.5e+135], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(z * t), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.35 \cdot 10^{+198}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;z \leq -1.2 \cdot 10^{+61}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq -1.85 \cdot 10^{-10}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq -2.7 \cdot 10^{-28}:\\
\;\;\;\;j \cdot \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq -1.95 \cdot 10^{-117}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 3.45 \cdot 10^{-242}:\\
\;\;\;\;y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\mathbf{elif}\;z \leq 2.9 \cdot 10^{-42}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;z \leq 1.6 \cdot 10^{+36}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 7.5 \cdot 10^{+135}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(z \cdot t\right) \cdot i\right)\\
\end{array}
\end{array}
if z < -2.3500000000000001e198Initial program 35.0%
Taylor expanded in b around inf 55.4%
Taylor expanded in z around -inf 51.3%
mul-1-neg51.3%
Simplified51.3%
if -2.3500000000000001e198 < z < -1.1999999999999999e61Initial program 15.4%
Taylor expanded in j around inf 30.9%
Taylor expanded in i around -inf 58.2%
mul-1-neg58.2%
Simplified58.2%
if -1.1999999999999999e61 < z < -1.85000000000000007e-10Initial program 29.0%
Taylor expanded in b around inf 29.1%
Taylor expanded in x around inf 65.2%
if -1.85000000000000007e-10 < z < -2.6999999999999999e-28Initial program 50.0%
Taylor expanded in j around inf 100.0%
Taylor expanded in t around inf 100.0%
if -2.6999999999999999e-28 < z < -1.94999999999999996e-117Initial program 13.2%
Taylor expanded in j around inf 58.8%
Taylor expanded in y1 around -inf 63.6%
mul-1-neg63.6%
Simplified63.6%
if -1.94999999999999996e-117 < z < 3.44999999999999998e-242Initial program 29.9%
Taylor expanded in c around inf 41.1%
mul-1-neg41.1%
Simplified41.1%
Taylor expanded in y1 around inf 37.2%
Taylor expanded in y2 around inf 35.0%
+-commutative35.0%
mul-1-neg35.0%
unsub-neg35.0%
*-commutative35.0%
Simplified35.0%
if 3.44999999999999998e-242 < z < 2.9000000000000003e-42Initial program 25.1%
Taylor expanded in j around inf 28.3%
Taylor expanded in y0 around inf 46.5%
if 2.9000000000000003e-42 < z < 1.5999999999999999e36Initial program 27.5%
Taylor expanded in j around inf 36.8%
Taylor expanded in x around inf 47.1%
if 1.5999999999999999e36 < z < 7.49999999999999947e135Initial program 28.8%
Taylor expanded in b around inf 40.6%
Taylor expanded in y0 around inf 47.9%
if 7.49999999999999947e135 < z Initial program 23.5%
Taylor expanded in i around -inf 39.1%
Taylor expanded in z around -inf 57.8%
mul-1-neg57.8%
Simplified57.8%
Taylor expanded in c around inf 53.3%
mul-1-neg53.3%
*-commutative53.3%
distribute-rgt-neg-in53.3%
*-commutative53.3%
Simplified53.3%
Final simplification50.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y3 (* z (- (* a y1) (* c y0))))))
(if (<= y1 -5e+201)
t_1
(if (<= y1 -1.2e+106)
(* i (* j (- (* x y1) (* t y5))))
(if (<= y1 -1.52e-15)
(* z (* c (- (* t i) (* y0 y3))))
(if (<= y1 -1.28e-54)
(* y3 (* a (- (* z y1) (* y y5))))
(if (<= y1 -6.3e-62)
(* y1 (* y2 (- (* k y4) (* x a))))
(if (<= y1 -3.3e-268)
(* b (* x (- (* y a) (* j y0))))
(if (<= y1 1.36e-179)
(* b (* k (- (* z y0) (* y y4))))
(if (<= y1 3.4e+71)
(* c (* i (- (* z t) (* x y))))
(if (<= y1 1.16e+129)
t_1
(* i (* y1 (- (* x j) (* z k)))))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * (z * ((a * y1) - (c * y0)));
double tmp;
if (y1 <= -5e+201) {
tmp = t_1;
} else if (y1 <= -1.2e+106) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (y1 <= -1.52e-15) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (y1 <= -1.28e-54) {
tmp = y3 * (a * ((z * y1) - (y * y5)));
} else if (y1 <= -6.3e-62) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (y1 <= -3.3e-268) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y1 <= 1.36e-179) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (y1 <= 3.4e+71) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (y1 <= 1.16e+129) {
tmp = t_1;
} else {
tmp = i * (y1 * ((x * j) - (z * k)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y3 * (z * ((a * y1) - (c * y0)))
if (y1 <= (-5d+201)) then
tmp = t_1
else if (y1 <= (-1.2d+106)) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (y1 <= (-1.52d-15)) then
tmp = z * (c * ((t * i) - (y0 * y3)))
else if (y1 <= (-1.28d-54)) then
tmp = y3 * (a * ((z * y1) - (y * y5)))
else if (y1 <= (-6.3d-62)) then
tmp = y1 * (y2 * ((k * y4) - (x * a)))
else if (y1 <= (-3.3d-268)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y1 <= 1.36d-179) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (y1 <= 3.4d+71) then
tmp = c * (i * ((z * t) - (x * y)))
else if (y1 <= 1.16d+129) then
tmp = t_1
else
tmp = i * (y1 * ((x * j) - (z * k)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y3 * (z * ((a * y1) - (c * y0)));
double tmp;
if (y1 <= -5e+201) {
tmp = t_1;
} else if (y1 <= -1.2e+106) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (y1 <= -1.52e-15) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (y1 <= -1.28e-54) {
tmp = y3 * (a * ((z * y1) - (y * y5)));
} else if (y1 <= -6.3e-62) {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
} else if (y1 <= -3.3e-268) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y1 <= 1.36e-179) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (y1 <= 3.4e+71) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (y1 <= 1.16e+129) {
tmp = t_1;
} else {
tmp = i * (y1 * ((x * j) - (z * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y3 * (z * ((a * y1) - (c * y0))) tmp = 0 if y1 <= -5e+201: tmp = t_1 elif y1 <= -1.2e+106: tmp = i * (j * ((x * y1) - (t * y5))) elif y1 <= -1.52e-15: tmp = z * (c * ((t * i) - (y0 * y3))) elif y1 <= -1.28e-54: tmp = y3 * (a * ((z * y1) - (y * y5))) elif y1 <= -6.3e-62: tmp = y1 * (y2 * ((k * y4) - (x * a))) elif y1 <= -3.3e-268: tmp = b * (x * ((y * a) - (j * y0))) elif y1 <= 1.36e-179: tmp = b * (k * ((z * y0) - (y * y4))) elif y1 <= 3.4e+71: tmp = c * (i * ((z * t) - (x * y))) elif y1 <= 1.16e+129: tmp = t_1 else: tmp = i * (y1 * ((x * j) - (z * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))) tmp = 0.0 if (y1 <= -5e+201) tmp = t_1; elseif (y1 <= -1.2e+106) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (y1 <= -1.52e-15) tmp = Float64(z * Float64(c * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (y1 <= -1.28e-54) tmp = Float64(y3 * Float64(a * Float64(Float64(z * y1) - Float64(y * y5)))); elseif (y1 <= -6.3e-62) tmp = Float64(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * a)))); elseif (y1 <= -3.3e-268) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y1 <= 1.36e-179) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (y1 <= 3.4e+71) tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); elseif (y1 <= 1.16e+129) tmp = t_1; else tmp = Float64(i * Float64(y1 * Float64(Float64(x * j) - Float64(z * k)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y3 * (z * ((a * y1) - (c * y0))); tmp = 0.0; if (y1 <= -5e+201) tmp = t_1; elseif (y1 <= -1.2e+106) tmp = i * (j * ((x * y1) - (t * y5))); elseif (y1 <= -1.52e-15) tmp = z * (c * ((t * i) - (y0 * y3))); elseif (y1 <= -1.28e-54) tmp = y3 * (a * ((z * y1) - (y * y5))); elseif (y1 <= -6.3e-62) tmp = y1 * (y2 * ((k * y4) - (x * a))); elseif (y1 <= -3.3e-268) tmp = b * (x * ((y * a) - (j * y0))); elseif (y1 <= 1.36e-179) tmp = b * (k * ((z * y0) - (y * y4))); elseif (y1 <= 3.4e+71) tmp = c * (i * ((z * t) - (x * y))); elseif (y1 <= 1.16e+129) tmp = t_1; else tmp = i * (y1 * ((x * j) - (z * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -5e+201], t$95$1, If[LessEqual[y1, -1.2e+106], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.52e-15], N[(z * N[(c * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.28e-54], N[(y3 * N[(a * N[(N[(z * y1), $MachinePrecision] - N[(y * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -6.3e-62], N[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.3e-268], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.36e-179], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.4e+71], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.16e+129], t$95$1, N[(i * N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{if}\;y1 \leq -5 \cdot 10^{+201}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq -1.2 \cdot 10^{+106}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq -1.52 \cdot 10^{-15}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq -1.28 \cdot 10^{-54}:\\
\;\;\;\;y3 \cdot \left(a \cdot \left(z \cdot y1 - y \cdot y5\right)\right)\\
\mathbf{elif}\;y1 \leq -6.3 \cdot 10^{-62}:\\
\;\;\;\;y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\mathbf{elif}\;y1 \leq -3.3 \cdot 10^{-268}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 1.36 \cdot 10^{-179}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 3.4 \cdot 10^{+71}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;y1 \leq 1.16 \cdot 10^{+129}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\end{array}
\end{array}
if y1 < -4.9999999999999995e201 or 3.3999999999999998e71 < y1 < 1.16e129Initial program 16.9%
Taylor expanded in y3 around -inf 28.2%
Taylor expanded in z around inf 54.1%
if -4.9999999999999995e201 < y1 < -1.2e106Initial program 14.5%
Taylor expanded in j around inf 32.0%
Taylor expanded in i around -inf 55.5%
mul-1-neg55.5%
Simplified55.5%
if -1.2e106 < y1 < -1.52000000000000005e-15Initial program 26.8%
Taylor expanded in z around -inf 39.2%
Taylor expanded in c around inf 45.0%
+-commutative45.0%
mul-1-neg45.0%
unsub-neg45.0%
*-commutative45.0%
Simplified45.0%
if -1.52000000000000005e-15 < y1 < -1.2800000000000001e-54Initial program 27.3%
Taylor expanded in y3 around -inf 36.4%
Taylor expanded in a around -inf 63.5%
mul-1-neg63.5%
Simplified63.5%
if -1.2800000000000001e-54 < y1 < -6.2999999999999997e-62Initial program 0.0%
Taylor expanded in c around inf 33.3%
mul-1-neg33.3%
Simplified33.3%
Taylor expanded in y1 around inf 100.0%
Taylor expanded in y2 around inf 100.0%
+-commutative100.0%
mul-1-neg100.0%
unsub-neg100.0%
*-commutative100.0%
Simplified100.0%
if -6.2999999999999997e-62 < y1 < -3.29999999999999993e-268Initial program 33.0%
Taylor expanded in b around inf 42.3%
Taylor expanded in x around inf 47.8%
if -3.29999999999999993e-268 < y1 < 1.35999999999999993e-179Initial program 42.5%
Taylor expanded in b around inf 46.4%
Taylor expanded in k around -inf 54.6%
mul-1-neg54.6%
Simplified54.6%
if 1.35999999999999993e-179 < y1 < 3.3999999999999998e71Initial program 25.5%
Taylor expanded in i around -inf 49.8%
Taylor expanded in c around inf 41.2%
if 1.16e129 < y1 Initial program 21.4%
Taylor expanded in i around -inf 54.1%
Taylor expanded in y1 around inf 64.9%
Final simplification51.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -6.1e+60)
(* i (+ (* y1 (- (* x j) (* z k))) (* c (- (* z t) (* x y)))))
(if (<= z -5.5e-12)
(* b (* x (- (* y a) (* j y0))))
(if (<= z -9e-115)
(* j (* y1 (- (* x i) (* y3 y4))))
(if (<= z 8.2e-247)
(* x (- (* y2 (- (* c y0) (* a y1))) (* c (* y i))))
(if (<= z 3.55e-43)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= z 2.15e+37)
(*
a
(+ (* y5 (- (* t y2) (* y y3))) (* y1 (- (* z y3) (* x y2)))))
(if (<= z 6.8e+138)
(* b (+ (* a (- (* x y) (* z t))) (* y0 (- (* z k) (* x j)))))
(* z (+ (* c (* t i)) (* y3 (- (* a y1) (* c 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 (z <= -6.1e+60) {
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))));
} else if (z <= -5.5e-12) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -9e-115) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 8.2e-247) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (z <= 3.55e-43) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 2.15e+37) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 6.8e+138) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else {
tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * 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 (z <= (-6.1d+60)) then
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))))
else if (z <= (-5.5d-12)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (z <= (-9d-115)) then
tmp = j * (y1 * ((x * i) - (y3 * y4)))
else if (z <= 8.2d-247) then
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)))
else if (z <= 3.55d-43) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (z <= 2.15d+37) then
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))))
else if (z <= 6.8d+138) then
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))))
else
tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * 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 (z <= -6.1e+60) {
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))));
} else if (z <= -5.5e-12) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (z <= -9e-115) {
tmp = j * (y1 * ((x * i) - (y3 * y4)));
} else if (z <= 8.2e-247) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (z <= 3.55e-43) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (z <= 2.15e+37) {
tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2))));
} else if (z <= 6.8e+138) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else {
tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * y0))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -6.1e+60: tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y)))) elif z <= -5.5e-12: tmp = b * (x * ((y * a) - (j * y0))) elif z <= -9e-115: tmp = j * (y1 * ((x * i) - (y3 * y4))) elif z <= 8.2e-247: tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))) elif z <= 3.55e-43: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif z <= 2.15e+37: tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))) elif z <= 6.8e+138: tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))) else: tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * 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 (z <= -6.1e+60) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(c * Float64(Float64(z * t) - Float64(x * y))))); elseif (z <= -5.5e-12) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (z <= -9e-115) tmp = Float64(j * Float64(y1 * Float64(Float64(x * i) - Float64(y3 * y4)))); elseif (z <= 8.2e-247) tmp = Float64(x * Float64(Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(c * Float64(y * i)))); elseif (z <= 3.55e-43) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (z <= 2.15e+37) tmp = Float64(a * Float64(Float64(y5 * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(y1 * Float64(Float64(z * y3) - Float64(x * y2))))); elseif (z <= 6.8e+138) tmp = Float64(b * Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); else tmp = Float64(z * Float64(Float64(c * Float64(t * i)) + Float64(y3 * Float64(Float64(a * y1) - Float64(c * 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 (z <= -6.1e+60) tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y)))); elseif (z <= -5.5e-12) tmp = b * (x * ((y * a) - (j * y0))); elseif (z <= -9e-115) tmp = j * (y1 * ((x * i) - (y3 * y4))); elseif (z <= 8.2e-247) tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))); elseif (z <= 3.55e-43) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (z <= 2.15e+37) tmp = a * ((y5 * ((t * y2) - (y * y3))) + (y1 * ((z * y3) - (x * y2)))); elseif (z <= 6.8e+138) tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))); else tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * 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[z, -6.1e+60], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -5.5e-12], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -9e-115], N[(j * N[(y1 * N[(N[(x * i), $MachinePrecision] - N[(y3 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.2e-247], N[(x * N[(N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.55e-43], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.15e+37], N[(a * N[(N[(y5 * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.8e+138], N[(b * N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(N[(c * N[(t * i), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.1 \cdot 10^{+60}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + c \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;z \leq -5.5 \cdot 10^{-12}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq -9 \cdot 10^{-115}:\\
\;\;\;\;j \cdot \left(y1 \cdot \left(x \cdot i - y3 \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 8.2 \cdot 10^{-247}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) - c \cdot \left(y \cdot i\right)\right)\\
\mathbf{elif}\;z \leq 3.55 \cdot 10^{-43}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;z \leq 2.15 \cdot 10^{+37}:\\
\;\;\;\;a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right) + y1 \cdot \left(z \cdot y3 - x \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 6.8 \cdot 10^{+138}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\end{array}
\end{array}
if z < -6.0999999999999999e60Initial program 23.9%
Taylor expanded in i around -inf 56.7%
Taylor expanded in y5 around 0 61.0%
if -6.0999999999999999e60 < z < -5.5000000000000004e-12Initial program 29.0%
Taylor expanded in b around inf 29.1%
Taylor expanded in x around inf 65.2%
if -5.5000000000000004e-12 < z < -9.00000000000000046e-115Initial program 12.8%
Taylor expanded in j around inf 64.2%
Taylor expanded in y1 around -inf 61.1%
mul-1-neg61.1%
Simplified61.1%
if -9.00000000000000046e-115 < z < 8.1999999999999997e-247Initial program 30.5%
Taylor expanded in c around inf 42.0%
mul-1-neg42.0%
Simplified42.0%
Taylor expanded in x around inf 36.1%
if 8.1999999999999997e-247 < z < 3.55000000000000013e-43Initial program 26.6%
Taylor expanded in j around inf 26.7%
Taylor expanded in y0 around inf 46.7%
if 3.55000000000000013e-43 < z < 2.1499999999999998e37Initial program 26.3%
Taylor expanded in c around inf 30.4%
mul-1-neg30.4%
Simplified30.4%
Taylor expanded in a around -inf 56.9%
mul-1-neg56.9%
Simplified56.9%
if 2.1499999999999998e37 < z < 6.80000000000000022e138Initial program 27.8%
Taylor expanded in b around inf 42.7%
Taylor expanded in y4 around 0 56.7%
if 6.80000000000000022e138 < z Initial program 24.7%
Taylor expanded in c around inf 20.1%
mul-1-neg20.1%
Simplified20.1%
Taylor expanded in z around -inf 65.8%
mul-1-neg65.8%
Simplified65.8%
Final simplification55.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* k y2) (* j y3)))
(t_2 (- (* a y1) (* c y0)))
(t_3 (* y3 (+ (* y (- (* c y4) (* a y5))) (* z t_2))))
(t_4 (- (* t j) (* y k)))
(t_5
(*
i
(+
(- (* c (- (* z t) (* x y))) (* y5 t_4))
(* y1 (- (* x j) (* z k)))))))
(if (<= y3 -2.9e+113)
t_3
(if (<= y3 -2.6e-11)
(* z (+ (* y3 t_2) (* t (- (* c i) (* a b)))))
(if (<= y3 -4e-105)
t_5
(if (<= y3 -3.1e-163)
(* y4 (+ (+ (* b t_4) (* y1 t_1)) (* c (- (* y y3) (* t y2)))))
(if (<= y3 4.8e-38)
t_5
(if (<= y3 5.8e+165)
(* y1 (+ (* a (- (* z y3) (* x y2))) (* y4 t_1)))
t_3))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = (a * y1) - (c * y0);
double t_3 = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_2));
double t_4 = (t * j) - (y * k);
double t_5 = i * (((c * ((z * t) - (x * y))) - (y5 * t_4)) + (y1 * ((x * j) - (z * k))));
double tmp;
if (y3 <= -2.9e+113) {
tmp = t_3;
} else if (y3 <= -2.6e-11) {
tmp = z * ((y3 * t_2) + (t * ((c * i) - (a * b))));
} else if (y3 <= -4e-105) {
tmp = t_5;
} else if (y3 <= -3.1e-163) {
tmp = y4 * (((b * t_4) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
} else if (y3 <= 4.8e-38) {
tmp = t_5;
} else if (y3 <= 5.8e+165) {
tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * t_1));
} else {
tmp = t_3;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: t_5
real(8) :: tmp
t_1 = (k * y2) - (j * y3)
t_2 = (a * y1) - (c * y0)
t_3 = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_2))
t_4 = (t * j) - (y * k)
t_5 = i * (((c * ((z * t) - (x * y))) - (y5 * t_4)) + (y1 * ((x * j) - (z * k))))
if (y3 <= (-2.9d+113)) then
tmp = t_3
else if (y3 <= (-2.6d-11)) then
tmp = z * ((y3 * t_2) + (t * ((c * i) - (a * b))))
else if (y3 <= (-4d-105)) then
tmp = t_5
else if (y3 <= (-3.1d-163)) then
tmp = y4 * (((b * t_4) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))))
else if (y3 <= 4.8d-38) then
tmp = t_5
else if (y3 <= 5.8d+165) then
tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * t_1))
else
tmp = t_3
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (k * y2) - (j * y3);
double t_2 = (a * y1) - (c * y0);
double t_3 = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_2));
double t_4 = (t * j) - (y * k);
double t_5 = i * (((c * ((z * t) - (x * y))) - (y5 * t_4)) + (y1 * ((x * j) - (z * k))));
double tmp;
if (y3 <= -2.9e+113) {
tmp = t_3;
} else if (y3 <= -2.6e-11) {
tmp = z * ((y3 * t_2) + (t * ((c * i) - (a * b))));
} else if (y3 <= -4e-105) {
tmp = t_5;
} else if (y3 <= -3.1e-163) {
tmp = y4 * (((b * t_4) + (y1 * t_1)) + (c * ((y * y3) - (t * y2))));
} else if (y3 <= 4.8e-38) {
tmp = t_5;
} else if (y3 <= 5.8e+165) {
tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * t_1));
} else {
tmp = t_3;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (k * y2) - (j * y3) t_2 = (a * y1) - (c * y0) t_3 = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_2)) t_4 = (t * j) - (y * k) t_5 = i * (((c * ((z * t) - (x * y))) - (y5 * t_4)) + (y1 * ((x * j) - (z * k)))) tmp = 0 if y3 <= -2.9e+113: tmp = t_3 elif y3 <= -2.6e-11: tmp = z * ((y3 * t_2) + (t * ((c * i) - (a * b)))) elif y3 <= -4e-105: tmp = t_5 elif y3 <= -3.1e-163: tmp = y4 * (((b * t_4) + (y1 * t_1)) + (c * ((y * y3) - (t * y2)))) elif y3 <= 4.8e-38: tmp = t_5 elif y3 <= 5.8e+165: tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * t_1)) else: tmp = t_3 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(k * y2) - Float64(j * y3)) t_2 = Float64(Float64(a * y1) - Float64(c * y0)) t_3 = Float64(y3 * Float64(Float64(y * Float64(Float64(c * y4) - Float64(a * y5))) + Float64(z * t_2))) t_4 = Float64(Float64(t * j) - Float64(y * k)) t_5 = Float64(i * Float64(Float64(Float64(c * Float64(Float64(z * t) - Float64(x * y))) - Float64(y5 * t_4)) + Float64(y1 * Float64(Float64(x * j) - Float64(z * k))))) tmp = 0.0 if (y3 <= -2.9e+113) tmp = t_3; elseif (y3 <= -2.6e-11) tmp = Float64(z * Float64(Float64(y3 * t_2) + Float64(t * Float64(Float64(c * i) - Float64(a * b))))); elseif (y3 <= -4e-105) tmp = t_5; elseif (y3 <= -3.1e-163) tmp = Float64(y4 * Float64(Float64(Float64(b * t_4) + Float64(y1 * t_1)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y3 <= 4.8e-38) tmp = t_5; elseif (y3 <= 5.8e+165) tmp = Float64(y1 * Float64(Float64(a * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y4 * t_1))); else tmp = t_3; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (k * y2) - (j * y3); t_2 = (a * y1) - (c * y0); t_3 = y3 * ((y * ((c * y4) - (a * y5))) + (z * t_2)); t_4 = (t * j) - (y * k); t_5 = i * (((c * ((z * t) - (x * y))) - (y5 * t_4)) + (y1 * ((x * j) - (z * k)))); tmp = 0.0; if (y3 <= -2.9e+113) tmp = t_3; elseif (y3 <= -2.6e-11) tmp = z * ((y3 * t_2) + (t * ((c * i) - (a * b)))); elseif (y3 <= -4e-105) tmp = t_5; elseif (y3 <= -3.1e-163) tmp = y4 * (((b * t_4) + (y1 * t_1)) + (c * ((y * y3) - (t * y2)))); elseif (y3 <= 4.8e-38) tmp = t_5; elseif (y3 <= 5.8e+165) tmp = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * t_1)); else tmp = t_3; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y3 * N[(N[(y * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(i * N[(N[(N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(y5 * t$95$4), $MachinePrecision]), $MachinePrecision] + N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -2.9e+113], t$95$3, If[LessEqual[y3, -2.6e-11], N[(z * N[(N[(y3 * t$95$2), $MachinePrecision] + N[(t * N[(N[(c * i), $MachinePrecision] - N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -4e-105], t$95$5, If[LessEqual[y3, -3.1e-163], N[(y4 * N[(N[(N[(b * t$95$4), $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[y3, 4.8e-38], t$95$5, If[LessEqual[y3, 5.8e+165], N[(y1 * N[(N[(a * N[(N[(z * y3), $MachinePrecision] - N[(x * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$3]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot y2 - j \cdot y3\\
t_2 := a \cdot y1 - c \cdot y0\\
t_3 := y3 \cdot \left(y \cdot \left(c \cdot y4 - a \cdot y5\right) + z \cdot t\_2\right)\\
t_4 := t \cdot j - y \cdot k\\
t_5 := i \cdot \left(\left(c \cdot \left(z \cdot t - x \cdot y\right) - y5 \cdot t\_4\right) + y1 \cdot \left(x \cdot j - z \cdot k\right)\right)\\
\mathbf{if}\;y3 \leq -2.9 \cdot 10^{+113}:\\
\;\;\;\;t\_3\\
\mathbf{elif}\;y3 \leq -2.6 \cdot 10^{-11}:\\
\;\;\;\;z \cdot \left(y3 \cdot t\_2 + t \cdot \left(c \cdot i - a \cdot b\right)\right)\\
\mathbf{elif}\;y3 \leq -4 \cdot 10^{-105}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y3 \leq -3.1 \cdot 10^{-163}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_4 + y1 \cdot t\_1\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y3 \leq 4.8 \cdot 10^{-38}:\\
\;\;\;\;t\_5\\
\mathbf{elif}\;y3 \leq 5.8 \cdot 10^{+165}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3 - x \cdot y2\right) + y4 \cdot t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_3\\
\end{array}
\end{array}
if y3 < -2.89999999999999984e113 or 5.80000000000000011e165 < y3 Initial program 15.6%
Taylor expanded in y3 around -inf 49.0%
Taylor expanded in j around 0 56.8%
if -2.89999999999999984e113 < y3 < -2.6000000000000001e-11Initial program 36.3%
Taylor expanded in z around -inf 44.4%
Taylor expanded in k around 0 56.2%
if -2.6000000000000001e-11 < y3 < -3.99999999999999986e-105 or -3.09999999999999975e-163 < y3 < 4.80000000000000044e-38Initial program 31.6%
Taylor expanded in i around -inf 55.5%
if -3.99999999999999986e-105 < y3 < -3.09999999999999975e-163Initial program 28.6%
Taylor expanded in y4 around inf 71.9%
if 4.80000000000000044e-38 < y3 < 5.80000000000000011e165Initial program 18.8%
Taylor expanded in c around inf 25.0%
mul-1-neg25.0%
Simplified25.0%
Taylor expanded in y1 around inf 63.0%
Final simplification58.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -2.8e+173)
(* x (- (* y2 (- (* c y0) (* a y1))) (* c (* y i))))
(if (<= x -1.1e+100)
(* b (* y0 (- (* z k) (* x j))))
(if (<= x -2.75e-5)
(* b (* a (- (* x y) (* z t))))
(if (<= x -5.6e-64)
(* y3 (* y1 (- (* z a) (* j y4))))
(if (<= x -1.2e-79)
(* c (* i (- (* z t) (* x y))))
(if (<= x -7.2e-184)
(* b (* k (- (* z y0) (* y y4))))
(if (<= x 1.05e+53)
(* z (+ (* c (* t i)) (* y3 (- (* a y1) (* c y0)))))
(* i (* x (- (* j y1) (* y c))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -2.8e+173) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (x <= -1.1e+100) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (x <= -2.75e-5) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (x <= -5.6e-64) {
tmp = y3 * (y1 * ((z * a) - (j * y4)));
} else if (x <= -1.2e-79) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (x <= -7.2e-184) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (x <= 1.05e+53) {
tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * y0))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (x <= (-2.8d+173)) then
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)))
else if (x <= (-1.1d+100)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (x <= (-2.75d-5)) then
tmp = b * (a * ((x * y) - (z * t)))
else if (x <= (-5.6d-64)) then
tmp = y3 * (y1 * ((z * a) - (j * y4)))
else if (x <= (-1.2d-79)) then
tmp = c * (i * ((z * t) - (x * y)))
else if (x <= (-7.2d-184)) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (x <= 1.05d+53) then
tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * y0))))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (x <= -2.8e+173) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (x <= -1.1e+100) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (x <= -2.75e-5) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (x <= -5.6e-64) {
tmp = y3 * (y1 * ((z * a) - (j * y4)));
} else if (x <= -1.2e-79) {
tmp = c * (i * ((z * t) - (x * y)));
} else if (x <= -7.2e-184) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (x <= 1.05e+53) {
tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * y0))));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -2.8e+173: tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))) elif x <= -1.1e+100: tmp = b * (y0 * ((z * k) - (x * j))) elif x <= -2.75e-5: tmp = b * (a * ((x * y) - (z * t))) elif x <= -5.6e-64: tmp = y3 * (y1 * ((z * a) - (j * y4))) elif x <= -1.2e-79: tmp = c * (i * ((z * t) - (x * y))) elif x <= -7.2e-184: tmp = b * (k * ((z * y0) - (y * y4))) elif x <= 1.05e+53: tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * y0)))) else: tmp = i * (x * ((j * y1) - (y * c))) 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 <= -2.8e+173) tmp = Float64(x * Float64(Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(c * Float64(y * i)))); elseif (x <= -1.1e+100) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (x <= -2.75e-5) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (x <= -5.6e-64) tmp = Float64(y3 * Float64(y1 * Float64(Float64(z * a) - Float64(j * y4)))); elseif (x <= -1.2e-79) tmp = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))); elseif (x <= -7.2e-184) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (x <= 1.05e+53) tmp = Float64(z * Float64(Float64(c * Float64(t * i)) + Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (x <= -2.8e+173) tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))); elseif (x <= -1.1e+100) tmp = b * (y0 * ((z * k) - (x * j))); elseif (x <= -2.75e-5) tmp = b * (a * ((x * y) - (z * t))); elseif (x <= -5.6e-64) tmp = y3 * (y1 * ((z * a) - (j * y4))); elseif (x <= -1.2e-79) tmp = c * (i * ((z * t) - (x * y))); elseif (x <= -7.2e-184) tmp = b * (k * ((z * y0) - (y * y4))); elseif (x <= 1.05e+53) tmp = z * ((c * (t * i)) + (y3 * ((a * y1) - (c * y0)))); else tmp = i * (x * ((j * y1) - (y * c))); 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, -2.8e+173], N[(x * N[(N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.1e+100], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.75e-5], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -5.6e-64], N[(y3 * N[(y1 * N[(N[(z * a), $MachinePrecision] - N[(j * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.2e-79], N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -7.2e-184], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.05e+53], N[(z * N[(N[(c * N[(t * i), $MachinePrecision]), $MachinePrecision] + N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.8 \cdot 10^{+173}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) - c \cdot \left(y \cdot i\right)\right)\\
\mathbf{elif}\;x \leq -1.1 \cdot 10^{+100}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;x \leq -2.75 \cdot 10^{-5}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;x \leq -5.6 \cdot 10^{-64}:\\
\;\;\;\;y3 \cdot \left(y1 \cdot \left(z \cdot a - j \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq -1.2 \cdot 10^{-79}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{elif}\;x \leq -7.2 \cdot 10^{-184}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 1.05 \cdot 10^{+53}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i\right) + y3 \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -2.79999999999999982e173Initial program 18.8%
Taylor expanded in c around inf 28.4%
mul-1-neg28.4%
Simplified28.4%
Taylor expanded in x around inf 60.9%
if -2.79999999999999982e173 < x < -1.1e100Initial program 13.8%
Taylor expanded in b around inf 50.2%
Taylor expanded in y0 around inf 68.5%
if -1.1e100 < x < -2.7500000000000001e-5Initial program 47.9%
Taylor expanded in b around inf 38.2%
Taylor expanded in a around inf 52.4%
if -2.7500000000000001e-5 < x < -5.60000000000000008e-64Initial program 7.7%
Taylor expanded in y3 around -inf 16.2%
Taylor expanded in y1 around inf 62.5%
if -5.60000000000000008e-64 < x < -1.20000000000000003e-79Initial program 66.7%
Taylor expanded in i around -inf 66.7%
Taylor expanded in c around inf 66.8%
if -1.20000000000000003e-79 < x < -7.2000000000000002e-184Initial program 43.2%
Taylor expanded in b around inf 54.4%
Taylor expanded in k around -inf 53.4%
mul-1-neg53.4%
Simplified53.4%
if -7.2000000000000002e-184 < x < 1.0500000000000001e53Initial program 28.1%
Taylor expanded in c around inf 36.6%
mul-1-neg36.6%
Simplified36.6%
Taylor expanded in z around -inf 42.8%
mul-1-neg42.8%
Simplified42.8%
if 1.0500000000000001e53 < x Initial program 15.4%
Taylor expanded in i around -inf 42.1%
Taylor expanded in x around inf 42.3%
Final simplification50.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* a y1) (* c y0))))
(if (<= x -1.3e+173)
(* x (- (* y2 (- (* c y0) (* a y1))) (* c (* y i))))
(if (<= x -2.4e+117)
(* b (+ (* a (- (* x y) (* z t))) (* y0 (- (* z k) (* x j)))))
(if (<= x -2.1e+17)
(* z (* c (- (* t i) (* y0 y3))))
(if (<= x -1.85e-5)
(* y1 (* (* i k) (- z)))
(if (<= x -2.4e-100)
(* y3 (+ (* c (* y y4)) (* z t_1)))
(if (<= x -1.32e-183)
(* b (* k (- (* z y0) (* y y4))))
(if (<= x 3e+56)
(* z (+ (* c (* t i)) (* y3 t_1)))
(* i (* x (- (* j y1) (* y c)))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * y1) - (c * y0);
double tmp;
if (x <= -1.3e+173) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (x <= -2.4e+117) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else if (x <= -2.1e+17) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (x <= -1.85e-5) {
tmp = y1 * ((i * k) * -z);
} else if (x <= -2.4e-100) {
tmp = y3 * ((c * (y * y4)) + (z * t_1));
} else if (x <= -1.32e-183) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (x <= 3e+56) {
tmp = z * ((c * (t * i)) + (y3 * t_1));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = (a * y1) - (c * y0)
if (x <= (-1.3d+173)) then
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)))
else if (x <= (-2.4d+117)) then
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))))
else if (x <= (-2.1d+17)) then
tmp = z * (c * ((t * i) - (y0 * y3)))
else if (x <= (-1.85d-5)) then
tmp = y1 * ((i * k) * -z)
else if (x <= (-2.4d-100)) then
tmp = y3 * ((c * (y * y4)) + (z * t_1))
else if (x <= (-1.32d-183)) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (x <= 3d+56) then
tmp = z * ((c * (t * i)) + (y3 * t_1))
else
tmp = i * (x * ((j * y1) - (y * c)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (a * y1) - (c * y0);
double tmp;
if (x <= -1.3e+173) {
tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i)));
} else if (x <= -2.4e+117) {
tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j))));
} else if (x <= -2.1e+17) {
tmp = z * (c * ((t * i) - (y0 * y3)));
} else if (x <= -1.85e-5) {
tmp = y1 * ((i * k) * -z);
} else if (x <= -2.4e-100) {
tmp = y3 * ((c * (y * y4)) + (z * t_1));
} else if (x <= -1.32e-183) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (x <= 3e+56) {
tmp = z * ((c * (t * i)) + (y3 * t_1));
} else {
tmp = i * (x * ((j * y1) - (y * c)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (a * y1) - (c * y0) tmp = 0 if x <= -1.3e+173: tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))) elif x <= -2.4e+117: tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))) elif x <= -2.1e+17: tmp = z * (c * ((t * i) - (y0 * y3))) elif x <= -1.85e-5: tmp = y1 * ((i * k) * -z) elif x <= -2.4e-100: tmp = y3 * ((c * (y * y4)) + (z * t_1)) elif x <= -1.32e-183: tmp = b * (k * ((z * y0) - (y * y4))) elif x <= 3e+56: tmp = z * ((c * (t * i)) + (y3 * t_1)) else: tmp = i * (x * ((j * y1) - (y * c))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(a * y1) - Float64(c * y0)) tmp = 0.0 if (x <= -1.3e+173) tmp = Float64(x * Float64(Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(c * Float64(y * i)))); elseif (x <= -2.4e+117) tmp = Float64(b * Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (x <= -2.1e+17) tmp = Float64(z * Float64(c * Float64(Float64(t * i) - Float64(y0 * y3)))); elseif (x <= -1.85e-5) tmp = Float64(y1 * Float64(Float64(i * k) * Float64(-z))); elseif (x <= -2.4e-100) tmp = Float64(y3 * Float64(Float64(c * Float64(y * y4)) + Float64(z * t_1))); elseif (x <= -1.32e-183) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (x <= 3e+56) tmp = Float64(z * Float64(Float64(c * Float64(t * i)) + Float64(y3 * t_1))); else tmp = Float64(i * Float64(x * Float64(Float64(j * y1) - Float64(y * c)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (a * y1) - (c * y0); tmp = 0.0; if (x <= -1.3e+173) tmp = x * ((y2 * ((c * y0) - (a * y1))) - (c * (y * i))); elseif (x <= -2.4e+117) tmp = b * ((a * ((x * y) - (z * t))) + (y0 * ((z * k) - (x * j)))); elseif (x <= -2.1e+17) tmp = z * (c * ((t * i) - (y0 * y3))); elseif (x <= -1.85e-5) tmp = y1 * ((i * k) * -z); elseif (x <= -2.4e-100) tmp = y3 * ((c * (y * y4)) + (z * t_1)); elseif (x <= -1.32e-183) tmp = b * (k * ((z * y0) - (y * y4))); elseif (x <= 3e+56) tmp = z * ((c * (t * i)) + (y3 * t_1)); else tmp = i * (x * ((j * y1) - (y * c))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.3e+173], N[(x * N[(N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(c * N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.4e+117], N[(b * N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.1e+17], N[(z * N[(c * N[(N[(t * i), $MachinePrecision] - N[(y0 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.85e-5], N[(y1 * N[(N[(i * k), $MachinePrecision] * (-z)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -2.4e-100], N[(y3 * N[(N[(c * N[(y * y4), $MachinePrecision]), $MachinePrecision] + N[(z * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.32e-183], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 3e+56], N[(z * N[(N[(c * N[(t * i), $MachinePrecision]), $MachinePrecision] + N[(y3 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(x * N[(N[(j * y1), $MachinePrecision] - N[(y * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot y1 - c \cdot y0\\
\mathbf{if}\;x \leq -1.3 \cdot 10^{+173}:\\
\;\;\;\;x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right) - c \cdot \left(y \cdot i\right)\right)\\
\mathbf{elif}\;x \leq -2.4 \cdot 10^{+117}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;x \leq -2.1 \cdot 10^{+17}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i - y0 \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq -1.85 \cdot 10^{-5}:\\
\;\;\;\;y1 \cdot \left(\left(i \cdot k\right) \cdot \left(-z\right)\right)\\
\mathbf{elif}\;x \leq -2.4 \cdot 10^{-100}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y \cdot y4\right) + z \cdot t\_1\right)\\
\mathbf{elif}\;x \leq -1.32 \cdot 10^{-183}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;x \leq 3 \cdot 10^{+56}:\\
\;\;\;\;z \cdot \left(c \cdot \left(t \cdot i\right) + y3 \cdot t\_1\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(x \cdot \left(j \cdot y1 - y \cdot c\right)\right)\\
\end{array}
\end{array}
if x < -1.2999999999999999e173Initial program 18.8%
Taylor expanded in c around inf 28.4%
mul-1-neg28.4%
Simplified28.4%
Taylor expanded in x around inf 60.9%
if -1.2999999999999999e173 < x < -2.3999999999999999e117Initial program 12.0%
Taylor expanded in b around inf 59.0%
Taylor expanded in y4 around 0 65.4%
if -2.3999999999999999e117 < x < -2.1e17Initial program 44.9%
Taylor expanded in z around -inf 50.4%
Taylor expanded in c around inf 65.5%
+-commutative65.5%
mul-1-neg65.5%
unsub-neg65.5%
*-commutative65.5%
Simplified65.5%
if -2.1e17 < x < -1.84999999999999991e-5Initial program 29.7%
Taylor expanded in i around -inf 57.5%
Taylor expanded in z around -inf 44.8%
mul-1-neg44.8%
Simplified44.8%
Taylor expanded in c around 0 45.2%
pow145.2%
associate-*r*58.6%
*-commutative58.6%
Applied egg-rr58.6%
unpow158.6%
associate-*r*72.1%
*-commutative72.1%
Simplified72.1%
if -1.84999999999999991e-5 < x < -2.4000000000000003e-100Initial program 36.8%
Taylor expanded in y3 around -inf 16.4%
Taylor expanded in j around 0 32.3%
Taylor expanded in y5 around 0 48.0%
if -2.4000000000000003e-100 < x < -1.3199999999999999e-183Initial program 29.9%
Taylor expanded in b around inf 61.2%
Taylor expanded in k around -inf 59.9%
mul-1-neg59.9%
Simplified59.9%
if -1.3199999999999999e-183 < x < 3.00000000000000006e56Initial program 28.1%
Taylor expanded in c around inf 36.6%
mul-1-neg36.6%
Simplified36.6%
Taylor expanded in z around -inf 42.8%
mul-1-neg42.8%
Simplified42.8%
if 3.00000000000000006e56 < x Initial program 15.4%
Taylor expanded in i around -inf 42.1%
Taylor expanded in x around inf 42.3%
Final simplification50.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* i (- (* z t) (* x y)))))
(t_2 (* b (* y0 (- (* z k) (* x j))))))
(if (<= a -4.2e-68)
(* b (* a (- (* x y) (* z t))))
(if (<= a -8e-194)
t_1
(if (<= a 5e-251)
(* (* z y1) (* i (- k)))
(if (<= a 4.1e-163)
t_1
(if (<= a 4.2e-38)
(* b (* y4 (- (* t j) (* y k))))
(if (<= a 3e+81)
t_2
(if (<= a 5.8e+139)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= a 6.5e+172)
t_2
(* y1 (* y2 (- (* k y4) (* x 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 = c * (i * ((z * t) - (x * y)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double tmp;
if (a <= -4.2e-68) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (a <= -8e-194) {
tmp = t_1;
} else if (a <= 5e-251) {
tmp = (z * y1) * (i * -k);
} else if (a <= 4.1e-163) {
tmp = t_1;
} else if (a <= 4.2e-38) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (a <= 3e+81) {
tmp = t_2;
} else if (a <= 5.8e+139) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (a <= 6.5e+172) {
tmp = t_2;
} else {
tmp = y1 * (y2 * ((k * y4) - (x * 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) :: t_2
real(8) :: tmp
t_1 = c * (i * ((z * t) - (x * y)))
t_2 = b * (y0 * ((z * k) - (x * j)))
if (a <= (-4.2d-68)) then
tmp = b * (a * ((x * y) - (z * t)))
else if (a <= (-8d-194)) then
tmp = t_1
else if (a <= 5d-251) then
tmp = (z * y1) * (i * -k)
else if (a <= 4.1d-163) then
tmp = t_1
else if (a <= 4.2d-38) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (a <= 3d+81) then
tmp = t_2
else if (a <= 5.8d+139) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (a <= 6.5d+172) then
tmp = t_2
else
tmp = y1 * (y2 * ((k * y4) - (x * 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 = c * (i * ((z * t) - (x * y)));
double t_2 = b * (y0 * ((z * k) - (x * j)));
double tmp;
if (a <= -4.2e-68) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (a <= -8e-194) {
tmp = t_1;
} else if (a <= 5e-251) {
tmp = (z * y1) * (i * -k);
} else if (a <= 4.1e-163) {
tmp = t_1;
} else if (a <= 4.2e-38) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (a <= 3e+81) {
tmp = t_2;
} else if (a <= 5.8e+139) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (a <= 6.5e+172) {
tmp = t_2;
} else {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = c * (i * ((z * t) - (x * y))) t_2 = b * (y0 * ((z * k) - (x * j))) tmp = 0 if a <= -4.2e-68: tmp = b * (a * ((x * y) - (z * t))) elif a <= -8e-194: tmp = t_1 elif a <= 5e-251: tmp = (z * y1) * (i * -k) elif a <= 4.1e-163: tmp = t_1 elif a <= 4.2e-38: tmp = b * (y4 * ((t * j) - (y * k))) elif a <= 3e+81: tmp = t_2 elif a <= 5.8e+139: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif a <= 6.5e+172: tmp = t_2 else: tmp = y1 * (y2 * ((k * y4) - (x * a))) 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(i * Float64(Float64(z * t) - Float64(x * y)))) t_2 = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))) tmp = 0.0 if (a <= -4.2e-68) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (a <= -8e-194) tmp = t_1; elseif (a <= 5e-251) tmp = Float64(Float64(z * y1) * Float64(i * Float64(-k))); elseif (a <= 4.1e-163) tmp = t_1; elseif (a <= 4.2e-38) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (a <= 3e+81) tmp = t_2; elseif (a <= 5.8e+139) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (a <= 6.5e+172) tmp = t_2; else tmp = Float64(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * 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 = c * (i * ((z * t) - (x * y))); t_2 = b * (y0 * ((z * k) - (x * j))); tmp = 0.0; if (a <= -4.2e-68) tmp = b * (a * ((x * y) - (z * t))); elseif (a <= -8e-194) tmp = t_1; elseif (a <= 5e-251) tmp = (z * y1) * (i * -k); elseif (a <= 4.1e-163) tmp = t_1; elseif (a <= 4.2e-38) tmp = b * (y4 * ((t * j) - (y * k))); elseif (a <= 3e+81) tmp = t_2; elseif (a <= 5.8e+139) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (a <= 6.5e+172) tmp = t_2; else tmp = y1 * (y2 * ((k * y4) - (x * 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[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -4.2e-68], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -8e-194], t$95$1, If[LessEqual[a, 5e-251], N[(N[(z * y1), $MachinePrecision] * N[(i * (-k)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 4.1e-163], t$95$1, If[LessEqual[a, 4.2e-38], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3e+81], t$95$2, If[LessEqual[a, 5.8e+139], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.5e+172], t$95$2, N[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
t_2 := b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{if}\;a \leq -4.2 \cdot 10^{-68}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;a \leq -8 \cdot 10^{-194}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 5 \cdot 10^{-251}:\\
\;\;\;\;\left(z \cdot y1\right) \cdot \left(i \cdot \left(-k\right)\right)\\
\mathbf{elif}\;a \leq 4.1 \cdot 10^{-163}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 4.2 \cdot 10^{-38}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;a \leq 3 \cdot 10^{+81}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;a \leq 5.8 \cdot 10^{+139}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;a \leq 6.5 \cdot 10^{+172}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\end{array}
\end{array}
if a < -4.20000000000000016e-68Initial program 30.4%
Taylor expanded in b around inf 37.9%
Taylor expanded in a around inf 38.5%
if -4.20000000000000016e-68 < a < -8.00000000000000014e-194 or 5.0000000000000003e-251 < a < 4.09999999999999982e-163Initial program 26.7%
Taylor expanded in i around -inf 56.5%
Taylor expanded in c around inf 64.1%
if -8.00000000000000014e-194 < a < 5.0000000000000003e-251Initial program 28.7%
Taylor expanded in i around -inf 39.5%
Taylor expanded in z around -inf 43.2%
mul-1-neg43.2%
Simplified43.2%
Taylor expanded in c around 0 40.4%
associate-*r*43.0%
Simplified43.0%
if 4.09999999999999982e-163 < a < 4.20000000000000026e-38Initial program 19.7%
Taylor expanded in b around inf 42.8%
Taylor expanded in y4 around inf 43.1%
if 4.20000000000000026e-38 < a < 2.99999999999999997e81 or 5.7999999999999998e139 < a < 6.4999999999999997e172Initial program 21.8%
Taylor expanded in b around inf 29.3%
Taylor expanded in y0 around inf 50.7%
if 2.99999999999999997e81 < a < 5.7999999999999998e139Initial program 28.9%
Taylor expanded in j around inf 62.4%
Taylor expanded in y0 around inf 52.8%
if 6.4999999999999997e172 < a Initial program 9.5%
Taylor expanded in c around inf 9.5%
mul-1-neg9.5%
Simplified9.5%
Taylor expanded in y1 around inf 57.2%
Taylor expanded in y2 around inf 62.3%
+-commutative62.3%
mul-1-neg62.3%
unsub-neg62.3%
*-commutative62.3%
Simplified62.3%
Final simplification48.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y1 (* y2 y4)))))
(if (<= z -5.2e+241)
(* y1 (* (* i k) (- z)))
(if (<= z -5e+73)
(* y3 (* a (* z y1)))
(if (<= z -3.2e-56)
t_1
(if (<= z -6.2e-117)
(* j (* (* y3 y4) (- y1)))
(if (<= z 1.65e-196)
t_1
(if (<= z 1.1e-9)
(* j (* y0 (* y3 y5)))
(if (<= z 8.8e+41)
(* y1 (* (* x y2) (- a)))
(if (<= z 4.4e+135)
(* b (* z (* k y0)))
(* c (* (* z t) 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 = k * (y1 * (y2 * y4));
double tmp;
if (z <= -5.2e+241) {
tmp = y1 * ((i * k) * -z);
} else if (z <= -5e+73) {
tmp = y3 * (a * (z * y1));
} else if (z <= -3.2e-56) {
tmp = t_1;
} else if (z <= -6.2e-117) {
tmp = j * ((y3 * y4) * -y1);
} else if (z <= 1.65e-196) {
tmp = t_1;
} else if (z <= 1.1e-9) {
tmp = j * (y0 * (y3 * y5));
} else if (z <= 8.8e+41) {
tmp = y1 * ((x * y2) * -a);
} else if (z <= 4.4e+135) {
tmp = b * (z * (k * y0));
} else {
tmp = c * ((z * t) * i);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = k * (y1 * (y2 * y4))
if (z <= (-5.2d+241)) then
tmp = y1 * ((i * k) * -z)
else if (z <= (-5d+73)) then
tmp = y3 * (a * (z * y1))
else if (z <= (-3.2d-56)) then
tmp = t_1
else if (z <= (-6.2d-117)) then
tmp = j * ((y3 * y4) * -y1)
else if (z <= 1.65d-196) then
tmp = t_1
else if (z <= 1.1d-9) then
tmp = j * (y0 * (y3 * y5))
else if (z <= 8.8d+41) then
tmp = y1 * ((x * y2) * -a)
else if (z <= 4.4d+135) then
tmp = b * (z * (k * y0))
else
tmp = c * ((z * t) * 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 = k * (y1 * (y2 * y4));
double tmp;
if (z <= -5.2e+241) {
tmp = y1 * ((i * k) * -z);
} else if (z <= -5e+73) {
tmp = y3 * (a * (z * y1));
} else if (z <= -3.2e-56) {
tmp = t_1;
} else if (z <= -6.2e-117) {
tmp = j * ((y3 * y4) * -y1);
} else if (z <= 1.65e-196) {
tmp = t_1;
} else if (z <= 1.1e-9) {
tmp = j * (y0 * (y3 * y5));
} else if (z <= 8.8e+41) {
tmp = y1 * ((x * y2) * -a);
} else if (z <= 4.4e+135) {
tmp = b * (z * (k * y0));
} else {
tmp = c * ((z * t) * i);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y1 * (y2 * y4)) tmp = 0 if z <= -5.2e+241: tmp = y1 * ((i * k) * -z) elif z <= -5e+73: tmp = y3 * (a * (z * y1)) elif z <= -3.2e-56: tmp = t_1 elif z <= -6.2e-117: tmp = j * ((y3 * y4) * -y1) elif z <= 1.65e-196: tmp = t_1 elif z <= 1.1e-9: tmp = j * (y0 * (y3 * y5)) elif z <= 8.8e+41: tmp = y1 * ((x * y2) * -a) elif z <= 4.4e+135: tmp = b * (z * (k * y0)) else: tmp = c * ((z * t) * i) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y1 * Float64(y2 * y4))) tmp = 0.0 if (z <= -5.2e+241) tmp = Float64(y1 * Float64(Float64(i * k) * Float64(-z))); elseif (z <= -5e+73) tmp = Float64(y3 * Float64(a * Float64(z * y1))); elseif (z <= -3.2e-56) tmp = t_1; elseif (z <= -6.2e-117) tmp = Float64(j * Float64(Float64(y3 * y4) * Float64(-y1))); elseif (z <= 1.65e-196) tmp = t_1; elseif (z <= 1.1e-9) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (z <= 8.8e+41) tmp = Float64(y1 * Float64(Float64(x * y2) * Float64(-a))); elseif (z <= 4.4e+135) tmp = Float64(b * Float64(z * Float64(k * y0))); else tmp = Float64(c * Float64(Float64(z * t) * 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 = k * (y1 * (y2 * y4)); tmp = 0.0; if (z <= -5.2e+241) tmp = y1 * ((i * k) * -z); elseif (z <= -5e+73) tmp = y3 * (a * (z * y1)); elseif (z <= -3.2e-56) tmp = t_1; elseif (z <= -6.2e-117) tmp = j * ((y3 * y4) * -y1); elseif (z <= 1.65e-196) tmp = t_1; elseif (z <= 1.1e-9) tmp = j * (y0 * (y3 * y5)); elseif (z <= 8.8e+41) tmp = y1 * ((x * y2) * -a); elseif (z <= 4.4e+135) tmp = b * (z * (k * y0)); else tmp = c * ((z * t) * 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[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -5.2e+241], N[(y1 * N[(N[(i * k), $MachinePrecision] * (-z)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -5e+73], N[(y3 * N[(a * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3.2e-56], t$95$1, If[LessEqual[z, -6.2e-117], N[(j * N[(N[(y3 * y4), $MachinePrecision] * (-y1)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.65e-196], t$95$1, If[LessEqual[z, 1.1e-9], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.8e+41], N[(y1 * N[(N[(x * y2), $MachinePrecision] * (-a)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.4e+135], N[(b * N[(z * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(c * N[(N[(z * t), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{if}\;z \leq -5.2 \cdot 10^{+241}:\\
\;\;\;\;y1 \cdot \left(\left(i \cdot k\right) \cdot \left(-z\right)\right)\\
\mathbf{elif}\;z \leq -5 \cdot 10^{+73}:\\
\;\;\;\;y3 \cdot \left(a \cdot \left(z \cdot y1\right)\right)\\
\mathbf{elif}\;z \leq -3.2 \cdot 10^{-56}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -6.2 \cdot 10^{-117}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot y4\right) \cdot \left(-y1\right)\right)\\
\mathbf{elif}\;z \leq 1.65 \cdot 10^{-196}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{-9}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq 8.8 \cdot 10^{+41}:\\
\;\;\;\;y1 \cdot \left(\left(x \cdot y2\right) \cdot \left(-a\right)\right)\\
\mathbf{elif}\;z \leq 4.4 \cdot 10^{+135}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;c \cdot \left(\left(z \cdot t\right) \cdot i\right)\\
\end{array}
\end{array}
if z < -5.20000000000000015e241Initial program 28.6%
Taylor expanded in i around -inf 85.7%
Taylor expanded in z around -inf 78.7%
mul-1-neg78.7%
Simplified78.7%
Taylor expanded in c around 0 51.1%
pow151.1%
associate-*r*51.1%
*-commutative51.1%
Applied egg-rr51.1%
unpow151.1%
associate-*r*64.8%
*-commutative64.8%
Simplified64.8%
if -5.20000000000000015e241 < z < -4.99999999999999976e73Initial program 23.3%
Taylor expanded in y3 around -inf 31.1%
Taylor expanded in j around 0 51.1%
Taylor expanded in y1 around inf 47.5%
associate-*r*47.5%
mul-1-neg47.5%
Simplified47.5%
if -4.99999999999999976e73 < z < -3.19999999999999986e-56 or -6.20000000000000022e-117 < z < 1.64999999999999999e-196Initial program 27.4%
Taylor expanded in c around inf 33.7%
mul-1-neg33.7%
Simplified33.7%
Taylor expanded in y1 around inf 38.1%
Taylor expanded in k around inf 28.3%
*-commutative28.3%
Simplified28.3%
if -3.19999999999999986e-56 < z < -6.20000000000000022e-117Initial program 7.1%
Taylor expanded in c around inf 13.1%
mul-1-neg13.1%
Simplified13.1%
Taylor expanded in y1 around inf 32.5%
Taylor expanded in j around inf 50.8%
mul-1-neg50.8%
distribute-rgt-neg-in50.8%
distribute-rgt-neg-in50.8%
*-commutative50.8%
Simplified50.8%
if 1.64999999999999999e-196 < z < 1.0999999999999999e-9Initial program 33.0%
Taylor expanded in j around inf 30.4%
Taylor expanded in y0 around inf 36.1%
Taylor expanded in y3 around inf 28.0%
*-commutative28.0%
Simplified28.0%
if 1.0999999999999999e-9 < z < 8.79999999999999959e41Initial program 7.1%
Taylor expanded in c around inf 7.1%
mul-1-neg7.1%
Simplified7.1%
Taylor expanded in y1 around inf 58.0%
Taylor expanded in x around inf 57.7%
mul-1-neg57.7%
*-commutative57.7%
distribute-rgt-neg-in57.7%
*-commutative57.7%
Simplified57.7%
if 8.79999999999999959e41 < z < 4.3999999999999999e135Initial program 33.6%
Taylor expanded in b around inf 38.1%
Taylor expanded in z around -inf 43.0%
mul-1-neg43.0%
Simplified43.0%
Taylor expanded in a around 0 38.5%
mul-1-neg38.5%
associate-*r*38.6%
distribute-rgt-neg-in38.6%
Simplified38.6%
if 4.3999999999999999e135 < z Initial program 23.5%
Taylor expanded in i around -inf 39.1%
Taylor expanded in z around -inf 57.8%
mul-1-neg57.8%
Simplified57.8%
Taylor expanded in c around inf 53.3%
mul-1-neg53.3%
*-commutative53.3%
distribute-rgt-neg-in53.3%
*-commutative53.3%
Simplified53.3%
Final simplification40.7%
(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 (<= y -4.3e-30)
t_1
(if (<= y -4.2e-148)
(* j (* (* y3 y4) (- y1)))
(if (<= y 3.8e-252)
(* (* z y1) (* i (- k)))
(if (<= y 5.6e-126)
(* y3 (* c (* y0 (- z))))
(if (<= y 2.55e-108)
(* a (* (* z t) (- b)))
(if (<= y 2.1e-51)
(* k (* y1 (* y2 y4)))
(if (<= y 3.7e+99) (* y1 (* a (* z y3))) t_1)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((x * y) * b);
double tmp;
if (y <= -4.3e-30) {
tmp = t_1;
} else if (y <= -4.2e-148) {
tmp = j * ((y3 * y4) * -y1);
} else if (y <= 3.8e-252) {
tmp = (z * y1) * (i * -k);
} else if (y <= 5.6e-126) {
tmp = y3 * (c * (y0 * -z));
} else if (y <= 2.55e-108) {
tmp = a * ((z * t) * -b);
} else if (y <= 2.1e-51) {
tmp = k * (y1 * (y2 * y4));
} else if (y <= 3.7e+99) {
tmp = y1 * (a * (z * y3));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * ((x * y) * b)
if (y <= (-4.3d-30)) then
tmp = t_1
else if (y <= (-4.2d-148)) then
tmp = j * ((y3 * y4) * -y1)
else if (y <= 3.8d-252) then
tmp = (z * y1) * (i * -k)
else if (y <= 5.6d-126) then
tmp = y3 * (c * (y0 * -z))
else if (y <= 2.55d-108) then
tmp = a * ((z * t) * -b)
else if (y <= 2.1d-51) then
tmp = k * (y1 * (y2 * y4))
else if (y <= 3.7d+99) then
tmp = y1 * (a * (z * y3))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((x * y) * b);
double tmp;
if (y <= -4.3e-30) {
tmp = t_1;
} else if (y <= -4.2e-148) {
tmp = j * ((y3 * y4) * -y1);
} else if (y <= 3.8e-252) {
tmp = (z * y1) * (i * -k);
} else if (y <= 5.6e-126) {
tmp = y3 * (c * (y0 * -z));
} else if (y <= 2.55e-108) {
tmp = a * ((z * t) * -b);
} else if (y <= 2.1e-51) {
tmp = k * (y1 * (y2 * y4));
} else if (y <= 3.7e+99) {
tmp = y1 * (a * (z * y3));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * ((x * y) * b) tmp = 0 if y <= -4.3e-30: tmp = t_1 elif y <= -4.2e-148: tmp = j * ((y3 * y4) * -y1) elif y <= 3.8e-252: tmp = (z * y1) * (i * -k) elif y <= 5.6e-126: tmp = y3 * (c * (y0 * -z)) elif y <= 2.55e-108: tmp = a * ((z * t) * -b) elif y <= 2.1e-51: tmp = k * (y1 * (y2 * y4)) elif y <= 3.7e+99: tmp = y1 * (a * (z * y3)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(Float64(x * y) * b)) tmp = 0.0 if (y <= -4.3e-30) tmp = t_1; elseif (y <= -4.2e-148) tmp = Float64(j * Float64(Float64(y3 * y4) * Float64(-y1))); elseif (y <= 3.8e-252) tmp = Float64(Float64(z * y1) * Float64(i * Float64(-k))); elseif (y <= 5.6e-126) tmp = Float64(y3 * Float64(c * Float64(y0 * Float64(-z)))); elseif (y <= 2.55e-108) tmp = Float64(a * Float64(Float64(z * t) * Float64(-b))); elseif (y <= 2.1e-51) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (y <= 3.7e+99) tmp = Float64(y1 * Float64(a * Float64(z * y3))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * ((x * y) * b); tmp = 0.0; if (y <= -4.3e-30) tmp = t_1; elseif (y <= -4.2e-148) tmp = j * ((y3 * y4) * -y1); elseif (y <= 3.8e-252) tmp = (z * y1) * (i * -k); elseif (y <= 5.6e-126) tmp = y3 * (c * (y0 * -z)); elseif (y <= 2.55e-108) tmp = a * ((z * t) * -b); elseif (y <= 2.1e-51) tmp = k * (y1 * (y2 * y4)); elseif (y <= 3.7e+99) tmp = y1 * (a * (z * y3)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -4.3e-30], t$95$1, If[LessEqual[y, -4.2e-148], N[(j * N[(N[(y3 * y4), $MachinePrecision] * (-y1)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3.8e-252], N[(N[(z * y1), $MachinePrecision] * N[(i * (-k)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 5.6e-126], N[(y3 * N[(c * N[(y0 * (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.55e-108], N[(a * N[(N[(z * t), $MachinePrecision] * (-b)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.1e-51], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3.7e+99], N[(y1 * N[(a * N[(z * y3), $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}\;y \leq -4.3 \cdot 10^{-30}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq -4.2 \cdot 10^{-148}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot y4\right) \cdot \left(-y1\right)\right)\\
\mathbf{elif}\;y \leq 3.8 \cdot 10^{-252}:\\
\;\;\;\;\left(z \cdot y1\right) \cdot \left(i \cdot \left(-k\right)\right)\\
\mathbf{elif}\;y \leq 5.6 \cdot 10^{-126}:\\
\;\;\;\;y3 \cdot \left(c \cdot \left(y0 \cdot \left(-z\right)\right)\right)\\
\mathbf{elif}\;y \leq 2.55 \cdot 10^{-108}:\\
\;\;\;\;a \cdot \left(\left(z \cdot t\right) \cdot \left(-b\right)\right)\\
\mathbf{elif}\;y \leq 2.1 \cdot 10^{-51}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;y \leq 3.7 \cdot 10^{+99}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -4.29999999999999966e-30 or 3.7000000000000001e99 < y Initial program 26.4%
Taylor expanded in b around inf 31.6%
Taylor expanded in a around inf 37.2%
Taylor expanded in x around inf 36.3%
if -4.29999999999999966e-30 < y < -4.2e-148Initial program 17.4%
Taylor expanded in c around inf 24.0%
mul-1-neg24.0%
Simplified24.0%
Taylor expanded in y1 around inf 57.4%
Taylor expanded in j around inf 34.1%
mul-1-neg34.1%
distribute-rgt-neg-in34.1%
distribute-rgt-neg-in34.1%
*-commutative34.1%
Simplified34.1%
if -4.2e-148 < y < 3.8e-252Initial program 28.9%
Taylor expanded in i around -inf 47.0%
Taylor expanded in z around -inf 47.5%
mul-1-neg47.5%
Simplified47.5%
Taylor expanded in c around 0 33.4%
associate-*r*35.2%
Simplified35.2%
if 3.8e-252 < y < 5.59999999999999983e-126Initial program 21.7%
Taylor expanded in y3 around -inf 22.3%
Taylor expanded in j around 0 27.0%
Taylor expanded in y0 around inf 31.5%
*-commutative31.5%
*-commutative31.5%
Simplified31.5%
if 5.59999999999999983e-126 < y < 2.5500000000000001e-108Initial program 66.7%
Taylor expanded in b around inf 50.6%
Taylor expanded in a around inf 68.3%
Taylor expanded in x around 0 68.3%
associate-*r*68.3%
mul-1-neg68.3%
*-commutative68.3%
Simplified68.3%
if 2.5500000000000001e-108 < y < 2.10000000000000002e-51Initial program 13.3%
Taylor expanded in c around inf 33.3%
mul-1-neg33.3%
Simplified33.3%
Taylor expanded in y1 around inf 47.2%
Taylor expanded in k around inf 41.1%
*-commutative41.1%
Simplified41.1%
if 2.10000000000000002e-51 < y < 3.7000000000000001e99Initial program 24.1%
Taylor expanded in c around inf 20.7%
mul-1-neg20.7%
Simplified20.7%
Taylor expanded in y1 around inf 55.5%
Taylor expanded in z around inf 39.6%
Final simplification36.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y1 (* y2 y4)))))
(if (<= z -1.75e+74)
(* i (* (* z y1) (- k)))
(if (<= z -1.25e-55)
t_1
(if (<= z -1.1e-116)
(* j (* (* y3 y4) (- y1)))
(if (<= z 7.8e-198)
t_1
(if (<= z 6.5e-9)
(* j (* y0 (* y3 y5)))
(if (<= z 1e+42)
(* y1 (* (* x y2) (- a)))
(if (<= z 4.8e+135)
(* b (* z (* k y0)))
(* i (* z (* t 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 * (y1 * (y2 * y4));
double tmp;
if (z <= -1.75e+74) {
tmp = i * ((z * y1) * -k);
} else if (z <= -1.25e-55) {
tmp = t_1;
} else if (z <= -1.1e-116) {
tmp = j * ((y3 * y4) * -y1);
} else if (z <= 7.8e-198) {
tmp = t_1;
} else if (z <= 6.5e-9) {
tmp = j * (y0 * (y3 * y5));
} else if (z <= 1e+42) {
tmp = y1 * ((x * y2) * -a);
} else if (z <= 4.8e+135) {
tmp = b * (z * (k * y0));
} else {
tmp = i * (z * (t * c));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = k * (y1 * (y2 * y4))
if (z <= (-1.75d+74)) then
tmp = i * ((z * y1) * -k)
else if (z <= (-1.25d-55)) then
tmp = t_1
else if (z <= (-1.1d-116)) then
tmp = j * ((y3 * y4) * -y1)
else if (z <= 7.8d-198) then
tmp = t_1
else if (z <= 6.5d-9) then
tmp = j * (y0 * (y3 * y5))
else if (z <= 1d+42) then
tmp = y1 * ((x * y2) * -a)
else if (z <= 4.8d+135) then
tmp = b * (z * (k * y0))
else
tmp = i * (z * (t * 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 * (y1 * (y2 * y4));
double tmp;
if (z <= -1.75e+74) {
tmp = i * ((z * y1) * -k);
} else if (z <= -1.25e-55) {
tmp = t_1;
} else if (z <= -1.1e-116) {
tmp = j * ((y3 * y4) * -y1);
} else if (z <= 7.8e-198) {
tmp = t_1;
} else if (z <= 6.5e-9) {
tmp = j * (y0 * (y3 * y5));
} else if (z <= 1e+42) {
tmp = y1 * ((x * y2) * -a);
} else if (z <= 4.8e+135) {
tmp = b * (z * (k * y0));
} else {
tmp = i * (z * (t * c));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = k * (y1 * (y2 * y4)) tmp = 0 if z <= -1.75e+74: tmp = i * ((z * y1) * -k) elif z <= -1.25e-55: tmp = t_1 elif z <= -1.1e-116: tmp = j * ((y3 * y4) * -y1) elif z <= 7.8e-198: tmp = t_1 elif z <= 6.5e-9: tmp = j * (y0 * (y3 * y5)) elif z <= 1e+42: tmp = y1 * ((x * y2) * -a) elif z <= 4.8e+135: tmp = b * (z * (k * y0)) else: tmp = i * (z * (t * c)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(k * Float64(y1 * Float64(y2 * y4))) tmp = 0.0 if (z <= -1.75e+74) tmp = Float64(i * Float64(Float64(z * y1) * Float64(-k))); elseif (z <= -1.25e-55) tmp = t_1; elseif (z <= -1.1e-116) tmp = Float64(j * Float64(Float64(y3 * y4) * Float64(-y1))); elseif (z <= 7.8e-198) tmp = t_1; elseif (z <= 6.5e-9) tmp = Float64(j * Float64(y0 * Float64(y3 * y5))); elseif (z <= 1e+42) tmp = Float64(y1 * Float64(Float64(x * y2) * Float64(-a))); elseif (z <= 4.8e+135) tmp = Float64(b * Float64(z * Float64(k * y0))); else tmp = Float64(i * Float64(z * Float64(t * 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 * (y1 * (y2 * y4)); tmp = 0.0; if (z <= -1.75e+74) tmp = i * ((z * y1) * -k); elseif (z <= -1.25e-55) tmp = t_1; elseif (z <= -1.1e-116) tmp = j * ((y3 * y4) * -y1); elseif (z <= 7.8e-198) tmp = t_1; elseif (z <= 6.5e-9) tmp = j * (y0 * (y3 * y5)); elseif (z <= 1e+42) tmp = y1 * ((x * y2) * -a); elseif (z <= 4.8e+135) tmp = b * (z * (k * y0)); else tmp = i * (z * (t * 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[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.75e+74], N[(i * N[(N[(z * y1), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.25e-55], t$95$1, If[LessEqual[z, -1.1e-116], N[(j * N[(N[(y3 * y4), $MachinePrecision] * (-y1)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.8e-198], t$95$1, If[LessEqual[z, 6.5e-9], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1e+42], N[(y1 * N[(N[(x * y2), $MachinePrecision] * (-a)), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.8e+135], N[(b * N[(z * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(z * N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{if}\;z \leq -1.75 \cdot 10^{+74}:\\
\;\;\;\;i \cdot \left(\left(z \cdot y1\right) \cdot \left(-k\right)\right)\\
\mathbf{elif}\;z \leq -1.25 \cdot 10^{-55}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -1.1 \cdot 10^{-116}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot y4\right) \cdot \left(-y1\right)\right)\\
\mathbf{elif}\;z \leq 7.8 \cdot 10^{-198}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 6.5 \cdot 10^{-9}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
\mathbf{elif}\;z \leq 10^{+42}:\\
\;\;\;\;y1 \cdot \left(\left(x \cdot y2\right) \cdot \left(-a\right)\right)\\
\mathbf{elif}\;z \leq 4.8 \cdot 10^{+135}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c\right)\right)\\
\end{array}
\end{array}
if z < -1.75000000000000007e74Initial program 25.0%
Taylor expanded in i around -inf 57.0%
Taylor expanded in z around -inf 52.7%
mul-1-neg52.7%
Simplified52.7%
Taylor expanded in c around 0 42.0%
if -1.75000000000000007e74 < z < -1.25e-55 or -1.10000000000000005e-116 < z < 7.7999999999999998e-198Initial program 27.4%
Taylor expanded in c around inf 33.7%
mul-1-neg33.7%
Simplified33.7%
Taylor expanded in y1 around inf 38.1%
Taylor expanded in k around inf 28.3%
*-commutative28.3%
Simplified28.3%
if -1.25e-55 < z < -1.10000000000000005e-116Initial program 7.1%
Taylor expanded in c around inf 13.1%
mul-1-neg13.1%
Simplified13.1%
Taylor expanded in y1 around inf 32.5%
Taylor expanded in j around inf 50.8%
mul-1-neg50.8%
distribute-rgt-neg-in50.8%
distribute-rgt-neg-in50.8%
*-commutative50.8%
Simplified50.8%
if 7.7999999999999998e-198 < z < 6.5000000000000003e-9Initial program 33.0%
Taylor expanded in j around inf 30.4%
Taylor expanded in y0 around inf 36.1%
Taylor expanded in y3 around inf 28.0%
*-commutative28.0%
Simplified28.0%
if 6.5000000000000003e-9 < z < 1.00000000000000004e42Initial program 7.1%
Taylor expanded in c around inf 7.1%
mul-1-neg7.1%
Simplified7.1%
Taylor expanded in y1 around inf 58.0%
Taylor expanded in x around inf 57.7%
mul-1-neg57.7%
*-commutative57.7%
distribute-rgt-neg-in57.7%
*-commutative57.7%
Simplified57.7%
if 1.00000000000000004e42 < z < 4.79999999999999995e135Initial program 33.6%
Taylor expanded in b around inf 38.1%
Taylor expanded in z around -inf 43.0%
mul-1-neg43.0%
Simplified43.0%
Taylor expanded in a around 0 38.5%
mul-1-neg38.5%
associate-*r*38.6%
distribute-rgt-neg-in38.6%
Simplified38.6%
if 4.79999999999999995e135 < z Initial program 23.5%
Taylor expanded in i around -inf 39.1%
Taylor expanded in z around -inf 57.8%
mul-1-neg57.8%
Simplified57.8%
Taylor expanded in c around inf 48.8%
*-commutative48.8%
Simplified48.8%
Final simplification38.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* k (* y1 (* y2 y4)))))
(if (<= y2 -2.25e+192)
t_1
(if (<= y2 -1.25e+39)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y2 7.2e-182)
(* b (* a (- (* x y) (* z t))))
(if (<= y2 1.5e-70)
(* a (* y1 (* z y3)))
(if (<= y2 5.2e+40)
(* y1 (* (* i k) (- z)))
(if (<= y2 1.5e+180) (* b (* x (- (* y a) (* j 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 = k * (y1 * (y2 * y4));
double tmp;
if (y2 <= -2.25e+192) {
tmp = t_1;
} else if (y2 <= -1.25e+39) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= 7.2e-182) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y2 <= 1.5e-70) {
tmp = a * (y1 * (z * y3));
} else if (y2 <= 5.2e+40) {
tmp = y1 * ((i * k) * -z);
} else if (y2 <= 1.5e+180) {
tmp = b * (x * ((y * a) - (j * 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 = k * (y1 * (y2 * y4))
if (y2 <= (-2.25d+192)) then
tmp = t_1
else if (y2 <= (-1.25d+39)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y2 <= 7.2d-182) then
tmp = b * (a * ((x * y) - (z * t)))
else if (y2 <= 1.5d-70) then
tmp = a * (y1 * (z * y3))
else if (y2 <= 5.2d+40) then
tmp = y1 * ((i * k) * -z)
else if (y2 <= 1.5d+180) then
tmp = b * (x * ((y * a) - (j * 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 = k * (y1 * (y2 * y4));
double tmp;
if (y2 <= -2.25e+192) {
tmp = t_1;
} else if (y2 <= -1.25e+39) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= 7.2e-182) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y2 <= 1.5e-70) {
tmp = a * (y1 * (z * y3));
} else if (y2 <= 5.2e+40) {
tmp = y1 * ((i * k) * -z);
} else if (y2 <= 1.5e+180) {
tmp = b * (x * ((y * a) - (j * 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 = k * (y1 * (y2 * y4)) tmp = 0 if y2 <= -2.25e+192: tmp = t_1 elif y2 <= -1.25e+39: tmp = b * (y0 * ((z * k) - (x * j))) elif y2 <= 7.2e-182: tmp = b * (a * ((x * y) - (z * t))) elif y2 <= 1.5e-70: tmp = a * (y1 * (z * y3)) elif y2 <= 5.2e+40: tmp = y1 * ((i * k) * -z) elif y2 <= 1.5e+180: tmp = b * (x * ((y * a) - (j * 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(k * Float64(y1 * Float64(y2 * y4))) tmp = 0.0 if (y2 <= -2.25e+192) tmp = t_1; elseif (y2 <= -1.25e+39) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y2 <= 7.2e-182) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (y2 <= 1.5e-70) tmp = Float64(a * Float64(y1 * Float64(z * y3))); elseif (y2 <= 5.2e+40) tmp = Float64(y1 * Float64(Float64(i * k) * Float64(-z))); elseif (y2 <= 1.5e+180) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * 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 = k * (y1 * (y2 * y4)); tmp = 0.0; if (y2 <= -2.25e+192) tmp = t_1; elseif (y2 <= -1.25e+39) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y2 <= 7.2e-182) tmp = b * (a * ((x * y) - (z * t))); elseif (y2 <= 1.5e-70) tmp = a * (y1 * (z * y3)); elseif (y2 <= 5.2e+40) tmp = y1 * ((i * k) * -z); elseif (y2 <= 1.5e+180) tmp = b * (x * ((y * a) - (j * 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[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.25e+192], t$95$1, If[LessEqual[y2, -1.25e+39], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.2e-182], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.5e-70], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.2e+40], N[(y1 * N[(N[(i * k), $MachinePrecision] * (-z)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.5e+180], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{if}\;y2 \leq -2.25 \cdot 10^{+192}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -1.25 \cdot 10^{+39}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 7.2 \cdot 10^{-182}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y2 \leq 1.5 \cdot 10^{-70}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 5.2 \cdot 10^{+40}:\\
\;\;\;\;y1 \cdot \left(\left(i \cdot k\right) \cdot \left(-z\right)\right)\\
\mathbf{elif}\;y2 \leq 1.5 \cdot 10^{+180}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -2.25e192 or 1.50000000000000001e180 < y2 Initial program 12.3%
Taylor expanded in c around inf 22.8%
mul-1-neg22.8%
Simplified22.8%
Taylor expanded in y1 around inf 42.3%
Taylor expanded in k around inf 46.4%
*-commutative46.4%
Simplified46.4%
if -2.25e192 < y2 < -1.25000000000000004e39Initial program 25.0%
Taylor expanded in b around inf 33.7%
Taylor expanded in y0 around inf 55.1%
if -1.25000000000000004e39 < y2 < 7.19999999999999954e-182Initial program 34.1%
Taylor expanded in b around inf 39.3%
Taylor expanded in a around inf 37.1%
if 7.19999999999999954e-182 < y2 < 1.5000000000000001e-70Initial program 33.7%
Taylor expanded in c around inf 28.1%
mul-1-neg28.1%
Simplified28.1%
Taylor expanded in y1 around inf 55.7%
Taylor expanded in z around inf 50.5%
if 1.5000000000000001e-70 < y2 < 5.2000000000000001e40Initial program 25.0%
Taylor expanded in i around -inf 46.3%
Taylor expanded in z around -inf 46.9%
mul-1-neg46.9%
Simplified46.9%
Taylor expanded in c around 0 30.1%
pow130.1%
associate-*r*30.0%
*-commutative30.0%
Applied egg-rr30.0%
unpow130.0%
associate-*r*34.6%
*-commutative34.6%
Simplified34.6%
if 5.2000000000000001e40 < y2 < 1.50000000000000001e180Initial program 14.0%
Taylor expanded in b around inf 38.7%
Taylor expanded in x around inf 46.3%
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 (* y4 (- (* t j) (* y k))))))
(if (<= y2 -4.7e+191)
t_1
(if (<= y2 -6e+38)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y2 -8e-12)
t_1
(if (<= y2 -2.2e-38)
(* i (* z (* t c)))
(if (<= y2 4300000000000.0)
(* a (* b (- (* x y) (* z t))))
(if (<= y2 7.5e+178)
(* b (* x (- (* y a) (* j y0))))
(* k (* y1 (* y2 y4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (y2 <= -4.7e+191) {
tmp = t_1;
} else if (y2 <= -6e+38) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= -8e-12) {
tmp = t_1;
} else if (y2 <= -2.2e-38) {
tmp = i * (z * (t * c));
} else if (y2 <= 4300000000000.0) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y2 <= 7.5e+178) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = k * (y1 * (y2 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (y4 * ((t * j) - (y * k)))
if (y2 <= (-4.7d+191)) then
tmp = t_1
else if (y2 <= (-6d+38)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y2 <= (-8d-12)) then
tmp = t_1
else if (y2 <= (-2.2d-38)) then
tmp = i * (z * (t * c))
else if (y2 <= 4300000000000.0d0) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y2 <= 7.5d+178) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = k * (y1 * (y2 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (y4 * ((t * j) - (y * k)));
double tmp;
if (y2 <= -4.7e+191) {
tmp = t_1;
} else if (y2 <= -6e+38) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= -8e-12) {
tmp = t_1;
} else if (y2 <= -2.2e-38) {
tmp = i * (z * (t * c));
} else if (y2 <= 4300000000000.0) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y2 <= 7.5e+178) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = k * (y1 * (y2 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (y4 * ((t * j) - (y * k))) tmp = 0 if y2 <= -4.7e+191: tmp = t_1 elif y2 <= -6e+38: tmp = b * (y0 * ((z * k) - (x * j))) elif y2 <= -8e-12: tmp = t_1 elif y2 <= -2.2e-38: tmp = i * (z * (t * c)) elif y2 <= 4300000000000.0: tmp = a * (b * ((x * y) - (z * t))) elif y2 <= 7.5e+178: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = k * (y1 * (y2 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) tmp = 0.0 if (y2 <= -4.7e+191) tmp = t_1; elseif (y2 <= -6e+38) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y2 <= -8e-12) tmp = t_1; elseif (y2 <= -2.2e-38) tmp = Float64(i * Float64(z * Float64(t * c))); elseif (y2 <= 4300000000000.0) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y2 <= 7.5e+178) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (y4 * ((t * j) - (y * k))); tmp = 0.0; if (y2 <= -4.7e+191) tmp = t_1; elseif (y2 <= -6e+38) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y2 <= -8e-12) tmp = t_1; elseif (y2 <= -2.2e-38) tmp = i * (z * (t * c)); elseif (y2 <= 4300000000000.0) tmp = a * (b * ((x * y) - (z * t))); elseif (y2 <= 7.5e+178) tmp = b * (x * ((y * a) - (j * y0))); else tmp = k * (y1 * (y2 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -4.7e+191], t$95$1, If[LessEqual[y2, -6e+38], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -8e-12], t$95$1, If[LessEqual[y2, -2.2e-38], N[(i * N[(z * N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 4300000000000.0], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.5e+178], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{if}\;y2 \leq -4.7 \cdot 10^{+191}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -6 \cdot 10^{+38}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq -8 \cdot 10^{-12}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -2.2 \cdot 10^{-38}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c\right)\right)\\
\mathbf{elif}\;y2 \leq 4300000000000:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+178}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -4.7000000000000001e191 or -6.0000000000000002e38 < y2 < -7.99999999999999984e-12Initial program 17.3%
Taylor expanded in b around inf 49.3%
Taylor expanded in y4 around inf 54.5%
if -4.7000000000000001e191 < y2 < -6.0000000000000002e38Initial program 25.0%
Taylor expanded in b around inf 33.7%
Taylor expanded in y0 around inf 55.1%
if -7.99999999999999984e-12 < y2 < -2.20000000000000007e-38Initial program 0.0%
Taylor expanded in i around -inf 33.3%
Taylor expanded in z around -inf 66.8%
mul-1-neg66.8%
Simplified66.8%
Taylor expanded in c around inf 67.2%
*-commutative67.2%
Simplified67.2%
if -2.20000000000000007e-38 < y2 < 4.3e12Initial program 35.9%
Taylor expanded in b around inf 30.5%
Taylor expanded in a around inf 35.9%
if 4.3e12 < y2 < 7.4999999999999995e178Initial program 14.9%
Taylor expanded in b around inf 36.1%
Taylor expanded in x around inf 42.6%
if 7.4999999999999995e178 < y2 Initial program 12.5%
Taylor expanded in c around inf 21.9%
mul-1-neg21.9%
Simplified21.9%
Taylor expanded in y1 around inf 47.2%
Taylor expanded in k around inf 44.7%
*-commutative44.7%
Simplified44.7%
Final simplification43.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* c (* i (- (* z t) (* x y))))))
(if (<= j -1.75e+193)
(* i (* j (- (* x y1) (* t y5))))
(if (<= j -2.3e+79)
(* b (* y4 (- (* t j) (* y k))))
(if (<= j -1.04e+24)
t_1
(if (<= j -1.45e-38)
(* b (* k (- (* z y0) (* y y4))))
(if (<= j -6e-180)
(* y3 (* z (- (* a y1) (* c y0))))
(if (<= j 3.8e+144) t_1 (* 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 t_1 = c * (i * ((z * t) - (x * y)));
double tmp;
if (j <= -1.75e+193) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (j <= -2.3e+79) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= -1.04e+24) {
tmp = t_1;
} else if (j <= -1.45e-38) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (j <= -6e-180) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (j <= 3.8e+144) {
tmp = t_1;
} 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) :: t_1
real(8) :: tmp
t_1 = c * (i * ((z * t) - (x * y)))
if (j <= (-1.75d+193)) then
tmp = i * (j * ((x * y1) - (t * y5)))
else if (j <= (-2.3d+79)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (j <= (-1.04d+24)) then
tmp = t_1
else if (j <= (-1.45d-38)) then
tmp = b * (k * ((z * y0) - (y * y4)))
else if (j <= (-6d-180)) then
tmp = y3 * (z * ((a * y1) - (c * y0)))
else if (j <= 3.8d+144) then
tmp = t_1
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 t_1 = c * (i * ((z * t) - (x * y)));
double tmp;
if (j <= -1.75e+193) {
tmp = i * (j * ((x * y1) - (t * y5)));
} else if (j <= -2.3e+79) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (j <= -1.04e+24) {
tmp = t_1;
} else if (j <= -1.45e-38) {
tmp = b * (k * ((z * y0) - (y * y4)));
} else if (j <= -6e-180) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (j <= 3.8e+144) {
tmp = t_1;
} 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): t_1 = c * (i * ((z * t) - (x * y))) tmp = 0 if j <= -1.75e+193: tmp = i * (j * ((x * y1) - (t * y5))) elif j <= -2.3e+79: tmp = b * (y4 * ((t * j) - (y * k))) elif j <= -1.04e+24: tmp = t_1 elif j <= -1.45e-38: tmp = b * (k * ((z * y0) - (y * y4))) elif j <= -6e-180: tmp = y3 * (z * ((a * y1) - (c * y0))) elif j <= 3.8e+144: tmp = t_1 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) t_1 = Float64(c * Float64(i * Float64(Float64(z * t) - Float64(x * y)))) tmp = 0.0 if (j <= -1.75e+193) tmp = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))); elseif (j <= -2.3e+79) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (j <= -1.04e+24) tmp = t_1; elseif (j <= -1.45e-38) tmp = Float64(b * Float64(k * Float64(Float64(z * y0) - Float64(y * y4)))); elseif (j <= -6e-180) tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (j <= 3.8e+144) tmp = t_1; 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) t_1 = c * (i * ((z * t) - (x * y))); tmp = 0.0; if (j <= -1.75e+193) tmp = i * (j * ((x * y1) - (t * y5))); elseif (j <= -2.3e+79) tmp = b * (y4 * ((t * j) - (y * k))); elseif (j <= -1.04e+24) tmp = t_1; elseif (j <= -1.45e-38) tmp = b * (k * ((z * y0) - (y * y4))); elseif (j <= -6e-180) tmp = y3 * (z * ((a * y1) - (c * y0))); elseif (j <= 3.8e+144) tmp = t_1; 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_] := Block[{t$95$1 = N[(c * N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.75e+193], N[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -2.3e+79], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.04e+24], t$95$1, If[LessEqual[j, -1.45e-38], N[(b * N[(k * N[(N[(z * y0), $MachinePrecision] - N[(y * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -6e-180], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.8e+144], t$95$1, N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot \left(i \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\mathbf{if}\;j \leq -1.75 \cdot 10^{+193}:\\
\;\;\;\;i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{elif}\;j \leq -2.3 \cdot 10^{+79}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;j \leq -1.04 \cdot 10^{+24}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq -1.45 \cdot 10^{-38}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0 - y \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq -6 \cdot 10^{-180}:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq 3.8 \cdot 10^{+144}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\end{array}
\end{array}
if j < -1.75000000000000007e193Initial program 12.9%
Taylor expanded in j around inf 58.3%
Taylor expanded in i around -inf 64.8%
mul-1-neg64.8%
Simplified64.8%
if -1.75000000000000007e193 < j < -2.3e79Initial program 23.3%
Taylor expanded in b around inf 46.3%
Taylor expanded in y4 around inf 58.5%
if -2.3e79 < j < -1.03999999999999997e24 or -6.0000000000000001e-180 < j < 3.80000000000000026e144Initial program 28.9%
Taylor expanded in i around -inf 42.1%
Taylor expanded in c around inf 39.9%
if -1.03999999999999997e24 < j < -1.44999999999999997e-38Initial program 40.5%
Taylor expanded in b around inf 60.1%
Taylor expanded in k around -inf 53.7%
mul-1-neg53.7%
Simplified53.7%
if -1.44999999999999997e-38 < j < -6.0000000000000001e-180Initial program 34.1%
Taylor expanded in y3 around -inf 34.0%
Taylor expanded in z around inf 42.1%
if 3.80000000000000026e144 < j Initial program 11.9%
Taylor expanded in j around inf 58.8%
Taylor expanded in y0 around inf 65.3%
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
(* y1 (+ (* a (- (* z y3) (* x y2))) (* y4 (- (* k y2) (* j y3)))))))
(if (<= i -5.7e+130)
(* i (* z (* t (- c (* k (/ y1 t))))))
(if (<= i -5e-135)
t_1
(if (<= i -4.8e-297)
(* j (* y0 (- (* y3 y5) (* x b))))
(if (<= i 2.95e+116)
t_1
(* i (+ (* y1 (- (* x j) (* z k))) (* c (- (* z t) (* x y)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3))));
double tmp;
if (i <= -5.7e+130) {
tmp = i * (z * (t * (c - (k * (y1 / t)))));
} else if (i <= -5e-135) {
tmp = t_1;
} else if (i <= -4.8e-297) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= 2.95e+116) {
tmp = t_1;
} else {
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3))))
if (i <= (-5.7d+130)) then
tmp = i * (z * (t * (c - (k * (y1 / t)))))
else if (i <= (-5d-135)) then
tmp = t_1
else if (i <= (-4.8d-297)) then
tmp = j * (y0 * ((y3 * y5) - (x * b)))
else if (i <= 2.95d+116) then
tmp = t_1
else
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3))));
double tmp;
if (i <= -5.7e+130) {
tmp = i * (z * (t * (c - (k * (y1 / t)))));
} else if (i <= -5e-135) {
tmp = t_1;
} else if (i <= -4.8e-297) {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
} else if (i <= 2.95e+116) {
tmp = t_1;
} else {
tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))) tmp = 0 if i <= -5.7e+130: tmp = i * (z * (t * (c - (k * (y1 / t))))) elif i <= -5e-135: tmp = t_1 elif i <= -4.8e-297: tmp = j * (y0 * ((y3 * y5) - (x * b))) elif i <= 2.95e+116: tmp = t_1 else: tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y1 * Float64(Float64(a * Float64(Float64(z * y3) - Float64(x * y2))) + Float64(y4 * Float64(Float64(k * y2) - Float64(j * y3))))) tmp = 0.0 if (i <= -5.7e+130) tmp = Float64(i * Float64(z * Float64(t * Float64(c - Float64(k * Float64(y1 / t)))))); elseif (i <= -5e-135) tmp = t_1; elseif (i <= -4.8e-297) tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (i <= 2.95e+116) tmp = t_1; else tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) + Float64(c * Float64(Float64(z * t) - Float64(x * y))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y1 * ((a * ((z * y3) - (x * y2))) + (y4 * ((k * y2) - (j * y3)))); tmp = 0.0; if (i <= -5.7e+130) tmp = i * (z * (t * (c - (k * (y1 / t))))); elseif (i <= -5e-135) tmp = t_1; elseif (i <= -4.8e-297) tmp = j * (y0 * ((y3 * y5) - (x * b))); elseif (i <= 2.95e+116) tmp = t_1; else tmp = i * ((y1 * ((x * j) - (z * k))) + (c * ((z * t) - (x * y)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y1 * N[(N[(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]), $MachinePrecision]}, If[LessEqual[i, -5.7e+130], N[(i * N[(z * N[(t * N[(c - N[(k * N[(y1 / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -5e-135], t$95$1, If[LessEqual[i, -4.8e-297], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.95e+116], t$95$1, N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot \left(a \cdot \left(z \cdot y3 - x \cdot y2\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\mathbf{if}\;i \leq -5.7 \cdot 10^{+130}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot \left(c - k \cdot \frac{y1}{t}\right)\right)\right)\\
\mathbf{elif}\;i \leq -5 \cdot 10^{-135}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -4.8 \cdot 10^{-297}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;i \leq 2.95 \cdot 10^{+116}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) + c \cdot \left(z \cdot t - x \cdot y\right)\right)\\
\end{array}
\end{array}
if i < -5.7e130Initial program 17.3%
Taylor expanded in i around -inf 54.2%
Taylor expanded in z around -inf 48.1%
mul-1-neg48.1%
Simplified48.1%
Taylor expanded in t around inf 51.2%
mul-1-neg51.2%
unsub-neg51.2%
associate-/l*54.6%
Simplified54.6%
if -5.7e130 < i < -5.0000000000000002e-135 or -4.7999999999999999e-297 < i < 2.95e116Initial program 24.0%
Taylor expanded in c around inf 27.1%
mul-1-neg27.1%
Simplified27.1%
Taylor expanded in y1 around inf 48.6%
if -5.0000000000000002e-135 < i < -4.7999999999999999e-297Initial program 30.1%
Taylor expanded in j around inf 43.1%
Taylor expanded in y0 around inf 48.4%
if 2.95e116 < i Initial program 29.3%
Taylor expanded in i around -inf 60.6%
Taylor expanded in y5 around 0 57.6%
Final simplification51.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -1.46e+158)
(* j (* (* y3 y4) (- y1)))
(if (<= j -1.55e+24)
(* k (* y1 (* y2 y4)))
(if (<= j -3.45e-161)
(* y3 (* a (* z y1)))
(if (<= j 7.5e-196)
(* b (* z (* k y0)))
(if (<= j 1e+18)
(* y1 (* a (* z y3)))
(if (<= j 3.6e+216)
(* i (* z (* t c)))
(* 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 (j <= -1.46e+158) {
tmp = j * ((y3 * y4) * -y1);
} else if (j <= -1.55e+24) {
tmp = k * (y1 * (y2 * y4));
} else if (j <= -3.45e-161) {
tmp = y3 * (a * (z * y1));
} else if (j <= 7.5e-196) {
tmp = b * (z * (k * y0));
} else if (j <= 1e+18) {
tmp = y1 * (a * (z * y3));
} else if (j <= 3.6e+216) {
tmp = i * (z * (t * c));
} 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 (j <= (-1.46d+158)) then
tmp = j * ((y3 * y4) * -y1)
else if (j <= (-1.55d+24)) then
tmp = k * (y1 * (y2 * y4))
else if (j <= (-3.45d-161)) then
tmp = y3 * (a * (z * y1))
else if (j <= 7.5d-196) then
tmp = b * (z * (k * y0))
else if (j <= 1d+18) then
tmp = y1 * (a * (z * y3))
else if (j <= 3.6d+216) then
tmp = i * (z * (t * c))
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 (j <= -1.46e+158) {
tmp = j * ((y3 * y4) * -y1);
} else if (j <= -1.55e+24) {
tmp = k * (y1 * (y2 * y4));
} else if (j <= -3.45e-161) {
tmp = y3 * (a * (z * y1));
} else if (j <= 7.5e-196) {
tmp = b * (z * (k * y0));
} else if (j <= 1e+18) {
tmp = y1 * (a * (z * y3));
} else if (j <= 3.6e+216) {
tmp = i * (z * (t * c));
} 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 j <= -1.46e+158: tmp = j * ((y3 * y4) * -y1) elif j <= -1.55e+24: tmp = k * (y1 * (y2 * y4)) elif j <= -3.45e-161: tmp = y3 * (a * (z * y1)) elif j <= 7.5e-196: tmp = b * (z * (k * y0)) elif j <= 1e+18: tmp = y1 * (a * (z * y3)) elif j <= 3.6e+216: tmp = i * (z * (t * c)) 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 (j <= -1.46e+158) tmp = Float64(j * Float64(Float64(y3 * y4) * Float64(-y1))); elseif (j <= -1.55e+24) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); elseif (j <= -3.45e-161) tmp = Float64(y3 * Float64(a * Float64(z * y1))); elseif (j <= 7.5e-196) tmp = Float64(b * Float64(z * Float64(k * y0))); elseif (j <= 1e+18) tmp = Float64(y1 * Float64(a * Float64(z * y3))); elseif (j <= 3.6e+216) tmp = Float64(i * Float64(z * Float64(t * c))); 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 (j <= -1.46e+158) tmp = j * ((y3 * y4) * -y1); elseif (j <= -1.55e+24) tmp = k * (y1 * (y2 * y4)); elseif (j <= -3.45e-161) tmp = y3 * (a * (z * y1)); elseif (j <= 7.5e-196) tmp = b * (z * (k * y0)); elseif (j <= 1e+18) tmp = y1 * (a * (z * y3)); elseif (j <= 3.6e+216) tmp = i * (z * (t * c)); 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[j, -1.46e+158], N[(j * N[(N[(y3 * y4), $MachinePrecision] * (-y1)), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.55e+24], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -3.45e-161], N[(y3 * N[(a * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 7.5e-196], N[(b * N[(z * N[(k * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1e+18], N[(y1 * N[(a * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 3.6e+216], N[(i * N[(z * N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(j * N[(x * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -1.46 \cdot 10^{+158}:\\
\;\;\;\;j \cdot \left(\left(y3 \cdot y4\right) \cdot \left(-y1\right)\right)\\
\mathbf{elif}\;j \leq -1.55 \cdot 10^{+24}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{elif}\;j \leq -3.45 \cdot 10^{-161}:\\
\;\;\;\;y3 \cdot \left(a \cdot \left(z \cdot y1\right)\right)\\
\mathbf{elif}\;j \leq 7.5 \cdot 10^{-196}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq 10^{+18}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;j \leq 3.6 \cdot 10^{+216}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(j \cdot \left(x \cdot \left(-y0\right)\right)\right)\\
\end{array}
\end{array}
if j < -1.4599999999999999e158Initial program 14.0%
Taylor expanded in c around inf 16.8%
mul-1-neg16.8%
Simplified16.8%
Taylor expanded in y1 around inf 34.3%
Taylor expanded in j around inf 37.3%
mul-1-neg37.3%
distribute-rgt-neg-in37.3%
distribute-rgt-neg-in37.3%
*-commutative37.3%
Simplified37.3%
if -1.4599999999999999e158 < j < -1.55000000000000005e24Initial program 20.9%
Taylor expanded in c around inf 31.2%
mul-1-neg31.2%
Simplified31.2%
Taylor expanded in y1 around inf 48.9%
Taylor expanded in k around inf 39.3%
*-commutative39.3%
Simplified39.3%
if -1.55000000000000005e24 < j < -3.45000000000000001e-161Initial program 39.2%
Taylor expanded in y3 around -inf 36.3%
Taylor expanded in j around 0 46.8%
Taylor expanded in y1 around inf 31.8%
associate-*r*31.8%
mul-1-neg31.8%
Simplified31.8%
if -3.45000000000000001e-161 < j < 7.5e-196Initial program 40.3%
Taylor expanded in b around inf 43.2%
Taylor expanded in z around -inf 40.9%
mul-1-neg40.9%
Simplified40.9%
Taylor expanded in a around 0 25.8%
mul-1-neg25.8%
associate-*r*28.0%
distribute-rgt-neg-in28.0%
Simplified28.0%
if 7.5e-196 < j < 1e18Initial program 29.4%
Taylor expanded in c around inf 35.0%
mul-1-neg35.0%
Simplified35.0%
Taylor expanded in y1 around inf 51.1%
Taylor expanded in z around inf 38.0%
if 1e18 < j < 3.6000000000000002e216Initial program 9.2%
Taylor expanded in i around -inf 33.9%
Taylor expanded in z around -inf 46.3%
mul-1-neg46.3%
Simplified46.3%
Taylor expanded in c around inf 40.4%
*-commutative40.4%
Simplified40.4%
if 3.6000000000000002e216 < j Initial program 9.3%
Taylor expanded in j around inf 68.2%
Taylor expanded in y0 around inf 68.8%
Taylor expanded in y3 around 0 55.4%
associate-*r*55.4%
neg-mul-155.4%
*-commutative55.4%
*-commutative55.4%
Simplified55.4%
Final simplification37.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))))
(if (<= y2 -1.8e+39)
t_1
(if (<= y2 1.7e-183)
(* b (* a (- (* x y) (* z t))))
(if (<= y2 1.45e-70)
(* a (* y1 (* z y3)))
(if (<= y2 1.7e+18)
(* y1 (* (* i k) (- z)))
(if (<= y2 2.1e+180) t_1 (* k (* y1 (* y2 y4))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (y2 <= -1.8e+39) {
tmp = t_1;
} else if (y2 <= 1.7e-183) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y2 <= 1.45e-70) {
tmp = a * (y1 * (z * y3));
} else if (y2 <= 1.7e+18) {
tmp = y1 * ((i * k) * -z);
} else if (y2 <= 2.1e+180) {
tmp = t_1;
} else {
tmp = k * (y1 * (y2 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
if (y2 <= (-1.8d+39)) then
tmp = t_1
else if (y2 <= 1.7d-183) then
tmp = b * (a * ((x * y) - (z * t)))
else if (y2 <= 1.45d-70) then
tmp = a * (y1 * (z * y3))
else if (y2 <= 1.7d+18) then
tmp = y1 * ((i * k) * -z)
else if (y2 <= 2.1d+180) then
tmp = t_1
else
tmp = k * (y1 * (y2 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (y2 <= -1.8e+39) {
tmp = t_1;
} else if (y2 <= 1.7e-183) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y2 <= 1.45e-70) {
tmp = a * (y1 * (z * y3));
} else if (y2 <= 1.7e+18) {
tmp = y1 * ((i * k) * -z);
} else if (y2 <= 2.1e+180) {
tmp = t_1;
} else {
tmp = k * (y1 * (y2 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if y2 <= -1.8e+39: tmp = t_1 elif y2 <= 1.7e-183: tmp = b * (a * ((x * y) - (z * t))) elif y2 <= 1.45e-70: tmp = a * (y1 * (z * y3)) elif y2 <= 1.7e+18: tmp = y1 * ((i * k) * -z) elif y2 <= 2.1e+180: tmp = t_1 else: tmp = k * (y1 * (y2 * y4)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (y2 <= -1.8e+39) tmp = t_1; elseif (y2 <= 1.7e-183) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (y2 <= 1.45e-70) tmp = Float64(a * Float64(y1 * Float64(z * y3))); elseif (y2 <= 1.7e+18) tmp = Float64(y1 * Float64(Float64(i * k) * Float64(-z))); elseif (y2 <= 2.1e+180) tmp = t_1; else tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (y2 <= -1.8e+39) tmp = t_1; elseif (y2 <= 1.7e-183) tmp = b * (a * ((x * y) - (z * t))); elseif (y2 <= 1.45e-70) tmp = a * (y1 * (z * y3)); elseif (y2 <= 1.7e+18) tmp = y1 * ((i * k) * -z); elseif (y2 <= 2.1e+180) tmp = t_1; else tmp = k * (y1 * (y2 * y4)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.8e+39], t$95$1, If[LessEqual[y2, 1.7e-183], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.45e-70], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.7e+18], N[(y1 * N[(N[(i * k), $MachinePrecision] * (-z)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.1e+180], t$95$1, N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;y2 \leq -1.8 \cdot 10^{+39}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq 1.7 \cdot 10^{-183}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y2 \leq 1.45 \cdot 10^{-70}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 1.7 \cdot 10^{+18}:\\
\;\;\;\;y1 \cdot \left(\left(i \cdot k\right) \cdot \left(-z\right)\right)\\
\mathbf{elif}\;y2 \leq 2.1 \cdot 10^{+180}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -1.79999999999999992e39 or 1.7e18 < y2 < 2.1e180Initial program 17.4%
Taylor expanded in b around inf 35.1%
Taylor expanded in j around inf 40.4%
if -1.79999999999999992e39 < y2 < 1.70000000000000007e-183Initial program 34.1%
Taylor expanded in b around inf 39.3%
Taylor expanded in a around inf 37.1%
if 1.70000000000000007e-183 < y2 < 1.44999999999999986e-70Initial program 33.7%
Taylor expanded in c around inf 28.1%
mul-1-neg28.1%
Simplified28.1%
Taylor expanded in y1 around inf 55.7%
Taylor expanded in z around inf 50.5%
if 1.44999999999999986e-70 < y2 < 1.7e18Initial program 23.6%
Taylor expanded in i around -inf 48.4%
Taylor expanded in z around -inf 49.0%
mul-1-neg49.0%
Simplified49.0%
Taylor expanded in c around 0 29.4%
pow129.4%
associate-*r*29.4%
*-commutative29.4%
Applied egg-rr29.4%
unpow129.4%
associate-*r*34.7%
*-commutative34.7%
Simplified34.7%
if 2.1e180 < y2 Initial program 12.5%
Taylor expanded in c around inf 21.9%
mul-1-neg21.9%
Simplified21.9%
Taylor expanded in y1 around inf 47.2%
Taylor expanded in k around inf 44.7%
*-commutative44.7%
Simplified44.7%
Final simplification39.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -2.45e+39)
(* b (* j (- (* t y4) (* x y0))))
(if (<= y2 2.25e-181)
(* b (* a (- (* x y) (* z t))))
(if (<= y2 2.1e-76)
(* a (* y1 (* z y3)))
(if (<= y2 7.2e+40)
(* y1 (* (* i k) (- z)))
(if (<= y2 9e+179)
(* b (* x (- (* y a) (* j y0))))
(* k (* y1 (* y2 y4)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.45e+39) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 2.25e-181) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y2 <= 2.1e-76) {
tmp = a * (y1 * (z * y3));
} else if (y2 <= 7.2e+40) {
tmp = y1 * ((i * k) * -z);
} else if (y2 <= 9e+179) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = k * (y1 * (y2 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-2.45d+39)) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (y2 <= 2.25d-181) then
tmp = b * (a * ((x * y) - (z * t)))
else if (y2 <= 2.1d-76) then
tmp = a * (y1 * (z * y3))
else if (y2 <= 7.2d+40) then
tmp = y1 * ((i * k) * -z)
else if (y2 <= 9d+179) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = k * (y1 * (y2 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -2.45e+39) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (y2 <= 2.25e-181) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (y2 <= 2.1e-76) {
tmp = a * (y1 * (z * y3));
} else if (y2 <= 7.2e+40) {
tmp = y1 * ((i * k) * -z);
} else if (y2 <= 9e+179) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = k * (y1 * (y2 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -2.45e+39: tmp = b * (j * ((t * y4) - (x * y0))) elif y2 <= 2.25e-181: tmp = b * (a * ((x * y) - (z * t))) elif y2 <= 2.1e-76: tmp = a * (y1 * (z * y3)) elif y2 <= 7.2e+40: tmp = y1 * ((i * k) * -z) elif y2 <= 9e+179: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = k * (y1 * (y2 * 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 (y2 <= -2.45e+39) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (y2 <= 2.25e-181) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (y2 <= 2.1e-76) tmp = Float64(a * Float64(y1 * Float64(z * y3))); elseif (y2 <= 7.2e+40) tmp = Float64(y1 * Float64(Float64(i * k) * Float64(-z))); elseif (y2 <= 9e+179) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -2.45e+39) tmp = b * (j * ((t * y4) - (x * y0))); elseif (y2 <= 2.25e-181) tmp = b * (a * ((x * y) - (z * t))); elseif (y2 <= 2.1e-76) tmp = a * (y1 * (z * y3)); elseif (y2 <= 7.2e+40) tmp = y1 * ((i * k) * -z); elseif (y2 <= 9e+179) tmp = b * (x * ((y * a) - (j * y0))); else tmp = k * (y1 * (y2 * 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[y2, -2.45e+39], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.25e-181], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.1e-76], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 7.2e+40], N[(y1 * N[(N[(i * k), $MachinePrecision] * (-z)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9e+179], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -2.45 \cdot 10^{+39}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq 2.25 \cdot 10^{-181}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y2 \leq 2.1 \cdot 10^{-76}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 7.2 \cdot 10^{+40}:\\
\;\;\;\;y1 \cdot \left(\left(i \cdot k\right) \cdot \left(-z\right)\right)\\
\mathbf{elif}\;y2 \leq 9 \cdot 10^{+179}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -2.44999999999999994e39Initial program 18.4%
Taylor expanded in b around inf 33.0%
Taylor expanded in j around inf 39.7%
if -2.44999999999999994e39 < y2 < 2.2499999999999999e-181Initial program 34.1%
Taylor expanded in b around inf 39.3%
Taylor expanded in a around inf 37.1%
if 2.2499999999999999e-181 < y2 < 2.09999999999999992e-76Initial program 33.7%
Taylor expanded in c around inf 28.1%
mul-1-neg28.1%
Simplified28.1%
Taylor expanded in y1 around inf 55.7%
Taylor expanded in z around inf 50.5%
if 2.09999999999999992e-76 < y2 < 7.19999999999999993e40Initial program 25.0%
Taylor expanded in i around -inf 46.3%
Taylor expanded in z around -inf 46.9%
mul-1-neg46.9%
Simplified46.9%
Taylor expanded in c around 0 30.1%
pow130.1%
associate-*r*30.0%
*-commutative30.0%
Applied egg-rr30.0%
unpow130.0%
associate-*r*34.6%
*-commutative34.6%
Simplified34.6%
if 7.19999999999999993e40 < y2 < 9.0000000000000005e179Initial program 14.0%
Taylor expanded in b around inf 38.7%
Taylor expanded in x around inf 46.3%
if 9.0000000000000005e179 < y2 Initial program 12.5%
Taylor expanded in c around inf 21.9%
mul-1-neg21.9%
Simplified21.9%
Taylor expanded in y1 around inf 47.2%
Taylor expanded in k around inf 44.7%
*-commutative44.7%
Simplified44.7%
Final simplification40.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* y1 (* y2 (- (* k y4) (* x a))))))
(if (<= y2 -9.2e+190)
t_1
(if (<= y2 -6.4e+38)
(* b (* y0 (- (* z k) (* x j))))
(if (<= y2 -1.15e-17)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y2 -3.2e-38)
(* i (* z (* t c)))
(if (<= y2 1.35e+14) (* a (* b (- (* x y) (* z t)))) 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 * (y2 * ((k * y4) - (x * a)));
double tmp;
if (y2 <= -9.2e+190) {
tmp = t_1;
} else if (y2 <= -6.4e+38) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= -1.15e-17) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= -3.2e-38) {
tmp = i * (z * (t * c));
} else if (y2 <= 1.35e+14) {
tmp = a * (b * ((x * y) - (z * t)));
} 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 = y1 * (y2 * ((k * y4) - (x * a)))
if (y2 <= (-9.2d+190)) then
tmp = t_1
else if (y2 <= (-6.4d+38)) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (y2 <= (-1.15d-17)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y2 <= (-3.2d-38)) then
tmp = i * (z * (t * c))
else if (y2 <= 1.35d+14) then
tmp = a * (b * ((x * y) - (z * t)))
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 = y1 * (y2 * ((k * y4) - (x * a)));
double tmp;
if (y2 <= -9.2e+190) {
tmp = t_1;
} else if (y2 <= -6.4e+38) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (y2 <= -1.15e-17) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y2 <= -3.2e-38) {
tmp = i * (z * (t * c));
} else if (y2 <= 1.35e+14) {
tmp = a * (b * ((x * y) - (z * t)));
} 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 = y1 * (y2 * ((k * y4) - (x * a))) tmp = 0 if y2 <= -9.2e+190: tmp = t_1 elif y2 <= -6.4e+38: tmp = b * (y0 * ((z * k) - (x * j))) elif y2 <= -1.15e-17: tmp = b * (y4 * ((t * j) - (y * k))) elif y2 <= -3.2e-38: tmp = i * (z * (t * c)) elif y2 <= 1.35e+14: tmp = a * (b * ((x * y) - (z * t))) 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(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * a)))) tmp = 0.0 if (y2 <= -9.2e+190) tmp = t_1; elseif (y2 <= -6.4e+38) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (y2 <= -1.15e-17) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y2 <= -3.2e-38) tmp = Float64(i * Float64(z * Float64(t * c))); elseif (y2 <= 1.35e+14) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); 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 = y1 * (y2 * ((k * y4) - (x * a))); tmp = 0.0; if (y2 <= -9.2e+190) tmp = t_1; elseif (y2 <= -6.4e+38) tmp = b * (y0 * ((z * k) - (x * j))); elseif (y2 <= -1.15e-17) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y2 <= -3.2e-38) tmp = i * (z * (t * c)); elseif (y2 <= 1.35e+14) tmp = a * (b * ((x * y) - (z * t))); 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[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -9.2e+190], t$95$1, If[LessEqual[y2, -6.4e+38], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.15e-17], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -3.2e-38], N[(i * N[(z * N[(t * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.35e+14], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\mathbf{if}\;y2 \leq -9.2 \cdot 10^{+190}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y2 \leq -6.4 \cdot 10^{+38}:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-17}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y2 \leq -3.2 \cdot 10^{-38}:\\
\;\;\;\;i \cdot \left(z \cdot \left(t \cdot c\right)\right)\\
\mathbf{elif}\;y2 \leq 1.35 \cdot 10^{+14}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y2 < -9.2e190 or 1.35e14 < y2 Initial program 13.4%
Taylor expanded in c around inf 22.3%
mul-1-neg22.3%
Simplified22.3%
Taylor expanded in y1 around inf 46.0%
Taylor expanded in y2 around inf 44.5%
+-commutative44.5%
mul-1-neg44.5%
unsub-neg44.5%
*-commutative44.5%
Simplified44.5%
if -9.2e190 < y2 < -6.3999999999999997e38Initial program 25.0%
Taylor expanded in b around inf 33.7%
Taylor expanded in y0 around inf 55.1%
if -6.3999999999999997e38 < y2 < -1.15000000000000004e-17Initial program 25.5%
Taylor expanded in b around inf 75.8%
Taylor expanded in y4 around inf 63.3%
if -1.15000000000000004e-17 < y2 < -3.19999999999999977e-38Initial program 0.0%
Taylor expanded in i around -inf 33.3%
Taylor expanded in z around -inf 66.8%
mul-1-neg66.8%
Simplified66.8%
Taylor expanded in c around inf 67.2%
*-commutative67.2%
Simplified67.2%
if -3.19999999999999977e-38 < y2 < 1.35e14Initial program 35.6%
Taylor expanded in b around inf 30.2%
Taylor expanded in a around inf 35.6%
Final simplification43.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* i (* j (- (* x y1) (* t y5))))))
(if (<= a -7.2e-190)
(* b (* a (- (* x y) (* z t))))
(if (<= a 3.8e-241)
(* (* z y1) (* i (- k)))
(if (<= a 9.6e-42)
t_1
(if (<= a 145.0)
(* b (* y0 (- (* z k) (* x j))))
(if (<= a 3.6e+173) t_1 (* y1 (* y2 (- (* k y4) (* x 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 = i * (j * ((x * y1) - (t * y5)));
double tmp;
if (a <= -7.2e-190) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (a <= 3.8e-241) {
tmp = (z * y1) * (i * -k);
} else if (a <= 9.6e-42) {
tmp = t_1;
} else if (a <= 145.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (a <= 3.6e+173) {
tmp = t_1;
} else {
tmp = y1 * (y2 * ((k * y4) - (x * 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 = i * (j * ((x * y1) - (t * y5)))
if (a <= (-7.2d-190)) then
tmp = b * (a * ((x * y) - (z * t)))
else if (a <= 3.8d-241) then
tmp = (z * y1) * (i * -k)
else if (a <= 9.6d-42) then
tmp = t_1
else if (a <= 145.0d0) then
tmp = b * (y0 * ((z * k) - (x * j)))
else if (a <= 3.6d+173) then
tmp = t_1
else
tmp = y1 * (y2 * ((k * y4) - (x * 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 = i * (j * ((x * y1) - (t * y5)));
double tmp;
if (a <= -7.2e-190) {
tmp = b * (a * ((x * y) - (z * t)));
} else if (a <= 3.8e-241) {
tmp = (z * y1) * (i * -k);
} else if (a <= 9.6e-42) {
tmp = t_1;
} else if (a <= 145.0) {
tmp = b * (y0 * ((z * k) - (x * j)));
} else if (a <= 3.6e+173) {
tmp = t_1;
} else {
tmp = y1 * (y2 * ((k * y4) - (x * a)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * (j * ((x * y1) - (t * y5))) tmp = 0 if a <= -7.2e-190: tmp = b * (a * ((x * y) - (z * t))) elif a <= 3.8e-241: tmp = (z * y1) * (i * -k) elif a <= 9.6e-42: tmp = t_1 elif a <= 145.0: tmp = b * (y0 * ((z * k) - (x * j))) elif a <= 3.6e+173: tmp = t_1 else: tmp = y1 * (y2 * ((k * y4) - (x * a))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(j * Float64(Float64(x * y1) - Float64(t * y5)))) tmp = 0.0 if (a <= -7.2e-190) tmp = Float64(b * Float64(a * Float64(Float64(x * y) - Float64(z * t)))); elseif (a <= 3.8e-241) tmp = Float64(Float64(z * y1) * Float64(i * Float64(-k))); elseif (a <= 9.6e-42) tmp = t_1; elseif (a <= 145.0) tmp = Float64(b * Float64(y0 * Float64(Float64(z * k) - Float64(x * j)))); elseif (a <= 3.6e+173) tmp = t_1; else tmp = Float64(y1 * Float64(y2 * Float64(Float64(k * y4) - Float64(x * 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 = i * (j * ((x * y1) - (t * y5))); tmp = 0.0; if (a <= -7.2e-190) tmp = b * (a * ((x * y) - (z * t))); elseif (a <= 3.8e-241) tmp = (z * y1) * (i * -k); elseif (a <= 9.6e-42) tmp = t_1; elseif (a <= 145.0) tmp = b * (y0 * ((z * k) - (x * j))); elseif (a <= 3.6e+173) tmp = t_1; else tmp = y1 * (y2 * ((k * y4) - (x * 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[(i * N[(j * N[(N[(x * y1), $MachinePrecision] - N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -7.2e-190], N[(b * N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.8e-241], N[(N[(z * y1), $MachinePrecision] * N[(i * (-k)), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 9.6e-42], t$95$1, If[LessEqual[a, 145.0], N[(b * N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 3.6e+173], t$95$1, N[(y1 * N[(y2 * N[(N[(k * y4), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(j \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\\
\mathbf{if}\;a \leq -7.2 \cdot 10^{-190}:\\
\;\;\;\;b \cdot \left(a \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;a \leq 3.8 \cdot 10^{-241}:\\
\;\;\;\;\left(z \cdot y1\right) \cdot \left(i \cdot \left(-k\right)\right)\\
\mathbf{elif}\;a \leq 9.6 \cdot 10^{-42}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 145:\\
\;\;\;\;b \cdot \left(y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;a \leq 3.6 \cdot 10^{+173}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y2 \cdot \left(k \cdot y4 - x \cdot a\right)\right)\\
\end{array}
\end{array}
if a < -7.20000000000000014e-190Initial program 29.9%
Taylor expanded in b around inf 35.0%
Taylor expanded in a around inf 36.7%
if -7.20000000000000014e-190 < a < 3.7999999999999999e-241Initial program 29.1%
Taylor expanded in i around -inf 41.6%
Taylor expanded in z around -inf 45.1%
mul-1-neg45.1%
Simplified45.1%
Taylor expanded in c around 0 42.5%
associate-*r*47.4%
Simplified47.4%
if 3.7999999999999999e-241 < a < 9.60000000000000011e-42 or 145 < a < 3.6000000000000002e173Initial program 23.7%
Taylor expanded in j around inf 40.4%
Taylor expanded in i around -inf 40.8%
mul-1-neg40.8%
Simplified40.8%
if 9.60000000000000011e-42 < a < 145Initial program 20.0%
Taylor expanded in b around inf 52.8%
Taylor expanded in y0 around inf 61.2%
if 3.6000000000000002e173 < a Initial program 9.5%
Taylor expanded in c around inf 9.5%
mul-1-neg9.5%
Simplified9.5%
Taylor expanded in y1 around inf 57.2%
Taylor expanded in y2 around inf 62.3%
+-commutative62.3%
mul-1-neg62.3%
unsub-neg62.3%
*-commutative62.3%
Simplified62.3%
Final simplification43.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= x -2.6e+120)
(* y1 (* (* x y2) (- a)))
(if (<= x -1.4e-5)
(* y1 (* (* i k) (- z)))
(if (<= x 2.06e-26)
(* a (* y1 (* z y3)))
(if (<= x 4.6e+77)
(* y3 (* a (* y (- y5))))
(if (<= x 8.6e+146)
(* a (* (* z t) (- b)))
(* a (* x (* y2 (- y1))))))))))
double code(double x, double y, double z, double t, double 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 <= -2.6e+120) {
tmp = y1 * ((x * y2) * -a);
} else if (x <= -1.4e-5) {
tmp = y1 * ((i * k) * -z);
} else if (x <= 2.06e-26) {
tmp = a * (y1 * (z * y3));
} else if (x <= 4.6e+77) {
tmp = y3 * (a * (y * -y5));
} else if (x <= 8.6e+146) {
tmp = a * ((z * t) * -b);
} else {
tmp = a * (x * (y2 * -y1));
}
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 <= (-2.6d+120)) then
tmp = y1 * ((x * y2) * -a)
else if (x <= (-1.4d-5)) then
tmp = y1 * ((i * k) * -z)
else if (x <= 2.06d-26) then
tmp = a * (y1 * (z * y3))
else if (x <= 4.6d+77) then
tmp = y3 * (a * (y * -y5))
else if (x <= 8.6d+146) then
tmp = a * ((z * t) * -b)
else
tmp = a * (x * (y2 * -y1))
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 <= -2.6e+120) {
tmp = y1 * ((x * y2) * -a);
} else if (x <= -1.4e-5) {
tmp = y1 * ((i * k) * -z);
} else if (x <= 2.06e-26) {
tmp = a * (y1 * (z * y3));
} else if (x <= 4.6e+77) {
tmp = y3 * (a * (y * -y5));
} else if (x <= 8.6e+146) {
tmp = a * ((z * t) * -b);
} else {
tmp = a * (x * (y2 * -y1));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if x <= -2.6e+120: tmp = y1 * ((x * y2) * -a) elif x <= -1.4e-5: tmp = y1 * ((i * k) * -z) elif x <= 2.06e-26: tmp = a * (y1 * (z * y3)) elif x <= 4.6e+77: tmp = y3 * (a * (y * -y5)) elif x <= 8.6e+146: tmp = a * ((z * t) * -b) else: tmp = a * (x * (y2 * -y1)) 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 <= -2.6e+120) tmp = Float64(y1 * Float64(Float64(x * y2) * Float64(-a))); elseif (x <= -1.4e-5) tmp = Float64(y1 * Float64(Float64(i * k) * Float64(-z))); elseif (x <= 2.06e-26) tmp = Float64(a * Float64(y1 * Float64(z * y3))); elseif (x <= 4.6e+77) tmp = Float64(y3 * Float64(a * Float64(y * Float64(-y5)))); elseif (x <= 8.6e+146) tmp = Float64(a * Float64(Float64(z * t) * Float64(-b))); else tmp = Float64(a * Float64(x * Float64(y2 * Float64(-y1)))); 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 <= -2.6e+120) tmp = y1 * ((x * y2) * -a); elseif (x <= -1.4e-5) tmp = y1 * ((i * k) * -z); elseif (x <= 2.06e-26) tmp = a * (y1 * (z * y3)); elseif (x <= 4.6e+77) tmp = y3 * (a * (y * -y5)); elseif (x <= 8.6e+146) tmp = a * ((z * t) * -b); else tmp = a * (x * (y2 * -y1)); 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, -2.6e+120], N[(y1 * N[(N[(x * y2), $MachinePrecision] * (-a)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.4e-5], N[(y1 * N[(N[(i * k), $MachinePrecision] * (-z)), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.06e-26], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.6e+77], N[(y3 * N[(a * N[(y * (-y5)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 8.6e+146], N[(a * N[(N[(z * t), $MachinePrecision] * (-b)), $MachinePrecision]), $MachinePrecision], N[(a * N[(x * N[(y2 * (-y1)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -2.6 \cdot 10^{+120}:\\
\;\;\;\;y1 \cdot \left(\left(x \cdot y2\right) \cdot \left(-a\right)\right)\\
\mathbf{elif}\;x \leq -1.4 \cdot 10^{-5}:\\
\;\;\;\;y1 \cdot \left(\left(i \cdot k\right) \cdot \left(-z\right)\right)\\
\mathbf{elif}\;x \leq 2.06 \cdot 10^{-26}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;x \leq 4.6 \cdot 10^{+77}:\\
\;\;\;\;y3 \cdot \left(a \cdot \left(y \cdot \left(-y5\right)\right)\right)\\
\mathbf{elif}\;x \leq 8.6 \cdot 10^{+146}:\\
\;\;\;\;a \cdot \left(\left(z \cdot t\right) \cdot \left(-b\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(x \cdot \left(y2 \cdot \left(-y1\right)\right)\right)\\
\end{array}
\end{array}
if x < -2.5999999999999999e120Initial program 15.2%
Taylor expanded in c around inf 24.1%
mul-1-neg24.1%
Simplified24.1%
Taylor expanded in y1 around inf 39.8%
Taylor expanded in x around inf 42.3%
mul-1-neg42.3%
*-commutative42.3%
distribute-rgt-neg-in42.3%
*-commutative42.3%
Simplified42.3%
if -2.5999999999999999e120 < x < -1.39999999999999998e-5Initial program 40.4%
Taylor expanded in i around -inf 47.3%
Taylor expanded in z around -inf 48.1%
mul-1-neg48.1%
Simplified48.1%
Taylor expanded in c around 0 18.6%
pow118.6%
associate-*r*24.8%
*-commutative24.8%
Applied egg-rr24.8%
unpow124.8%
associate-*r*34.3%
*-commutative34.3%
Simplified34.3%
if -1.39999999999999998e-5 < x < 2.0599999999999999e-26Initial program 27.7%
Taylor expanded in c around inf 32.9%
mul-1-neg32.9%
Simplified32.9%
Taylor expanded in y1 around inf 42.9%
Taylor expanded in z around inf 27.0%
if 2.0599999999999999e-26 < x < 4.5999999999999999e77Initial program 44.8%
Taylor expanded in y3 around -inf 22.8%
Taylor expanded in j around 0 28.6%
Taylor expanded in y5 around inf 39.8%
if 4.5999999999999999e77 < x < 8.5999999999999997e146Initial program 27.3%
Taylor expanded in b around inf 45.4%
Taylor expanded in a around inf 47.0%
Taylor expanded in x around 0 46.3%
associate-*r*46.3%
mul-1-neg46.3%
*-commutative46.3%
Simplified46.3%
if 8.5999999999999997e146 < x Initial program 8.4%
Taylor expanded in c around inf 13.6%
mul-1-neg13.6%
Simplified13.6%
Taylor expanded in y1 around inf 43.9%
Taylor expanded in x around inf 41.3%
associate-*r*41.3%
mul-1-neg41.3%
Simplified41.3%
Final simplification34.4%
(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 (<= y3 -1.62e-49)
(* y1 (* a (* z y3)))
(if (<= y3 -1.4e-124)
t_1
(if (<= y3 -1.2e-242)
(* b (* j (* x (- y0))))
(if (<= y3 1.35e-51)
t_1
(if (<= y3 3.1e+35)
(* k (* y1 (* y2 y4)))
(* a (* y1 (* z y3))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((x * y) * b);
double tmp;
if (y3 <= -1.62e-49) {
tmp = y1 * (a * (z * y3));
} else if (y3 <= -1.4e-124) {
tmp = t_1;
} else if (y3 <= -1.2e-242) {
tmp = b * (j * (x * -y0));
} else if (y3 <= 1.35e-51) {
tmp = t_1;
} else if (y3 <= 3.1e+35) {
tmp = k * (y1 * (y2 * y4));
} else {
tmp = a * (y1 * (z * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = a * ((x * y) * b)
if (y3 <= (-1.62d-49)) then
tmp = y1 * (a * (z * y3))
else if (y3 <= (-1.4d-124)) then
tmp = t_1
else if (y3 <= (-1.2d-242)) then
tmp = b * (j * (x * -y0))
else if (y3 <= 1.35d-51) then
tmp = t_1
else if (y3 <= 3.1d+35) then
tmp = k * (y1 * (y2 * y4))
else
tmp = a * (y1 * (z * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = a * ((x * y) * b);
double tmp;
if (y3 <= -1.62e-49) {
tmp = y1 * (a * (z * y3));
} else if (y3 <= -1.4e-124) {
tmp = t_1;
} else if (y3 <= -1.2e-242) {
tmp = b * (j * (x * -y0));
} else if (y3 <= 1.35e-51) {
tmp = t_1;
} else if (y3 <= 3.1e+35) {
tmp = k * (y1 * (y2 * y4));
} else {
tmp = a * (y1 * (z * y3));
}
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 y3 <= -1.62e-49: tmp = y1 * (a * (z * y3)) elif y3 <= -1.4e-124: tmp = t_1 elif y3 <= -1.2e-242: tmp = b * (j * (x * -y0)) elif y3 <= 1.35e-51: tmp = t_1 elif y3 <= 3.1e+35: tmp = k * (y1 * (y2 * y4)) else: tmp = a * (y1 * (z * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(Float64(x * y) * b)) tmp = 0.0 if (y3 <= -1.62e-49) tmp = Float64(y1 * Float64(a * Float64(z * y3))); elseif (y3 <= -1.4e-124) tmp = t_1; elseif (y3 <= -1.2e-242) tmp = Float64(b * Float64(j * Float64(x * Float64(-y0)))); elseif (y3 <= 1.35e-51) tmp = t_1; elseif (y3 <= 3.1e+35) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); else tmp = Float64(a * Float64(y1 * Float64(z * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = a * ((x * y) * b); tmp = 0.0; if (y3 <= -1.62e-49) tmp = y1 * (a * (z * y3)); elseif (y3 <= -1.4e-124) tmp = t_1; elseif (y3 <= -1.2e-242) tmp = b * (j * (x * -y0)); elseif (y3 <= 1.35e-51) tmp = t_1; elseif (y3 <= 3.1e+35) tmp = k * (y1 * (y2 * y4)); else tmp = a * (y1 * (z * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.62e-49], N[(y1 * N[(a * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.4e-124], t$95$1, If[LessEqual[y3, -1.2e-242], N[(b * N[(j * N[(x * (-y0)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.35e-51], t$95$1, If[LessEqual[y3, 3.1e+35], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{if}\;y3 \leq -1.62 \cdot 10^{-49}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq -1.4 \cdot 10^{-124}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq -1.2 \cdot 10^{-242}:\\
\;\;\;\;b \cdot \left(j \cdot \left(x \cdot \left(-y0\right)\right)\right)\\
\mathbf{elif}\;y3 \leq 1.35 \cdot 10^{-51}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 3.1 \cdot 10^{+35}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -1.62e-49Initial program 28.5%
Taylor expanded in c around inf 27.4%
mul-1-neg27.4%
Simplified27.4%
Taylor expanded in y1 around inf 42.6%
Taylor expanded in z around inf 32.6%
if -1.62e-49 < y3 < -1.39999999999999999e-124 or -1.2e-242 < y3 < 1.3499999999999999e-51Initial program 26.5%
Taylor expanded in b around inf 31.9%
Taylor expanded in a around inf 34.8%
Taylor expanded in x around inf 29.8%
if -1.39999999999999999e-124 < y3 < -1.2e-242Initial program 41.1%
Taylor expanded in j around inf 41.1%
Taylor expanded in y0 around inf 30.7%
Taylor expanded in y3 around 0 30.7%
associate-*r*30.7%
neg-mul-130.7%
*-commutative30.7%
*-commutative30.7%
Simplified30.7%
if 1.3499999999999999e-51 < y3 < 3.09999999999999987e35Initial program 21.1%
Taylor expanded in c around inf 21.1%
mul-1-neg21.1%
Simplified21.1%
Taylor expanded in y1 around inf 69.3%
Taylor expanded in k around inf 43.6%
*-commutative43.6%
Simplified43.6%
if 3.09999999999999987e35 < y3 Initial program 14.0%
Taylor expanded in c around inf 25.7%
mul-1-neg25.7%
Simplified25.7%
Taylor expanded in y1 around inf 42.7%
Taylor expanded in z around inf 40.1%
Final simplification34.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y2 -1.65e+109)
(* y1 (* (* x y2) (- a)))
(if (<= y2 9.5e-184)
(* a (* b (- (* x y) (* z t))))
(if (<= y2 1.9e-110)
(* a (* y1 (* z y3)))
(if (<= y2 1.65e+38)
(* y1 (* (* i k) (- z)))
(* k (* y1 (* y2 y4))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.65e+109) {
tmp = y1 * ((x * y2) * -a);
} else if (y2 <= 9.5e-184) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y2 <= 1.9e-110) {
tmp = a * (y1 * (z * y3));
} else if (y2 <= 1.65e+38) {
tmp = y1 * ((i * k) * -z);
} else {
tmp = k * (y1 * (y2 * y4));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y2 <= (-1.65d+109)) then
tmp = y1 * ((x * y2) * -a)
else if (y2 <= 9.5d-184) then
tmp = a * (b * ((x * y) - (z * t)))
else if (y2 <= 1.9d-110) then
tmp = a * (y1 * (z * y3))
else if (y2 <= 1.65d+38) then
tmp = y1 * ((i * k) * -z)
else
tmp = k * (y1 * (y2 * y4))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y2 <= -1.65e+109) {
tmp = y1 * ((x * y2) * -a);
} else if (y2 <= 9.5e-184) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (y2 <= 1.9e-110) {
tmp = a * (y1 * (z * y3));
} else if (y2 <= 1.65e+38) {
tmp = y1 * ((i * k) * -z);
} else {
tmp = k * (y1 * (y2 * y4));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y2 <= -1.65e+109: tmp = y1 * ((x * y2) * -a) elif y2 <= 9.5e-184: tmp = a * (b * ((x * y) - (z * t))) elif y2 <= 1.9e-110: tmp = a * (y1 * (z * y3)) elif y2 <= 1.65e+38: tmp = y1 * ((i * k) * -z) else: tmp = k * (y1 * (y2 * 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 (y2 <= -1.65e+109) tmp = Float64(y1 * Float64(Float64(x * y2) * Float64(-a))); elseif (y2 <= 9.5e-184) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (y2 <= 1.9e-110) tmp = Float64(a * Float64(y1 * Float64(z * y3))); elseif (y2 <= 1.65e+38) tmp = Float64(y1 * Float64(Float64(i * k) * Float64(-z))); else tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y2 <= -1.65e+109) tmp = y1 * ((x * y2) * -a); elseif (y2 <= 9.5e-184) tmp = a * (b * ((x * y) - (z * t))); elseif (y2 <= 1.9e-110) tmp = a * (y1 * (z * y3)); elseif (y2 <= 1.65e+38) tmp = y1 * ((i * k) * -z); else tmp = k * (y1 * (y2 * 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[y2, -1.65e+109], N[(y1 * N[(N[(x * y2), $MachinePrecision] * (-a)), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 9.5e-184], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.9e-110], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 1.65e+38], N[(y1 * N[(N[(i * k), $MachinePrecision] * (-z)), $MachinePrecision]), $MachinePrecision], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y2 \leq -1.65 \cdot 10^{+109}:\\
\;\;\;\;y1 \cdot \left(\left(x \cdot y2\right) \cdot \left(-a\right)\right)\\
\mathbf{elif}\;y2 \leq 9.5 \cdot 10^{-184}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;y2 \leq 1.9 \cdot 10^{-110}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;y2 \leq 1.65 \cdot 10^{+38}:\\
\;\;\;\;y1 \cdot \left(\left(i \cdot k\right) \cdot \left(-z\right)\right)\\
\mathbf{else}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y2 < -1.6499999999999999e109Initial program 16.7%
Taylor expanded in c around inf 23.8%
mul-1-neg23.8%
Simplified23.8%
Taylor expanded in y1 around inf 35.9%
Taylor expanded in x around inf 41.1%
mul-1-neg41.1%
*-commutative41.1%
distribute-rgt-neg-in41.1%
*-commutative41.1%
Simplified41.1%
if -1.6499999999999999e109 < y2 < 9.4999999999999991e-184Initial program 33.8%
Taylor expanded in b around inf 40.5%
Taylor expanded in a around inf 36.6%
if 9.4999999999999991e-184 < y2 < 1.8999999999999999e-110Initial program 23.6%
Taylor expanded in c around inf 23.5%
mul-1-neg23.5%
Simplified23.5%
Taylor expanded in y1 around inf 68.9%
Taylor expanded in z around inf 54.3%
if 1.8999999999999999e-110 < y2 < 1.65e38Initial program 33.0%
Taylor expanded in i around -inf 46.9%
Taylor expanded in z around -inf 51.6%
mul-1-neg51.6%
Simplified51.6%
Taylor expanded in c around 0 33.4%
pow133.4%
associate-*r*33.4%
*-commutative33.4%
Applied egg-rr33.4%
unpow133.4%
associate-*r*37.2%
*-commutative37.2%
Simplified37.2%
if 1.65e38 < y2 Initial program 13.0%
Taylor expanded in c around inf 21.1%
mul-1-neg21.1%
Simplified21.1%
Taylor expanded in y1 around inf 52.0%
Taylor expanded in k around inf 36.5%
*-commutative36.5%
Simplified36.5%
Final simplification38.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* y1 (* z y3)))))
(if (<= y3 -5.2e-49)
t_1
(if (<= y3 2.75e-52)
(* a (* (* x y) b))
(if (<= y3 9e+35) (* k (* y1 (* y2 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 * (y1 * (z * y3));
double tmp;
if (y3 <= -5.2e-49) {
tmp = t_1;
} else if (y3 <= 2.75e-52) {
tmp = a * ((x * y) * b);
} else if (y3 <= 9e+35) {
tmp = k * (y1 * (y2 * 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 * (y1 * (z * y3))
if (y3 <= (-5.2d-49)) then
tmp = t_1
else if (y3 <= 2.75d-52) then
tmp = a * ((x * y) * b)
else if (y3 <= 9d+35) then
tmp = k * (y1 * (y2 * 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 * (y1 * (z * y3));
double tmp;
if (y3 <= -5.2e-49) {
tmp = t_1;
} else if (y3 <= 2.75e-52) {
tmp = a * ((x * y) * b);
} else if (y3 <= 9e+35) {
tmp = k * (y1 * (y2 * 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 * (y1 * (z * y3)) tmp = 0 if y3 <= -5.2e-49: tmp = t_1 elif y3 <= 2.75e-52: tmp = a * ((x * y) * b) elif y3 <= 9e+35: tmp = k * (y1 * (y2 * 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(y1 * Float64(z * y3))) tmp = 0.0 if (y3 <= -5.2e-49) tmp = t_1; elseif (y3 <= 2.75e-52) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (y3 <= 9e+35) tmp = Float64(k * Float64(y1 * Float64(y2 * 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 * (y1 * (z * y3)); tmp = 0.0; if (y3 <= -5.2e-49) tmp = t_1; elseif (y3 <= 2.75e-52) tmp = a * ((x * y) * b); elseif (y3 <= 9e+35) tmp = k * (y1 * (y2 * 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[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -5.2e-49], t$95$1, If[LessEqual[y3, 2.75e-52], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 9e+35], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{if}\;y3 \leq -5.2 \cdot 10^{-49}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y3 \leq 2.75 \cdot 10^{-52}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;y3 \leq 9 \cdot 10^{+35}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y3 < -5.1999999999999999e-49 or 8.9999999999999993e35 < y3 Initial program 22.1%
Taylor expanded in c around inf 26.6%
mul-1-neg26.6%
Simplified26.6%
Taylor expanded in y1 around inf 42.7%
Taylor expanded in z around inf 35.8%
if -5.1999999999999999e-49 < y3 < 2.75e-52Initial program 30.3%
Taylor expanded in b around inf 34.4%
Taylor expanded in a around inf 30.0%
Taylor expanded in x around inf 24.4%
if 2.75e-52 < y3 < 8.9999999999999993e35Initial program 21.1%
Taylor expanded in c around inf 21.1%
mul-1-neg21.1%
Simplified21.1%
Taylor expanded in y1 around inf 69.3%
Taylor expanded in k around inf 43.6%
*-commutative43.6%
Simplified43.6%
Final simplification31.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y3 -9.2e-49)
(* y1 (* a (* z y3)))
(if (<= y3 4.9e-55)
(* a (* (* x y) b))
(if (<= y3 2.3e+36) (* k (* y1 (* y2 y4))) (* a (* y1 (* z y3)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -9.2e-49) {
tmp = y1 * (a * (z * y3));
} else if (y3 <= 4.9e-55) {
tmp = a * ((x * y) * b);
} else if (y3 <= 2.3e+36) {
tmp = k * (y1 * (y2 * y4));
} else {
tmp = a * (y1 * (z * y3));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y3 <= (-9.2d-49)) then
tmp = y1 * (a * (z * y3))
else if (y3 <= 4.9d-55) then
tmp = a * ((x * y) * b)
else if (y3 <= 2.3d+36) then
tmp = k * (y1 * (y2 * y4))
else
tmp = a * (y1 * (z * y3))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y3 <= -9.2e-49) {
tmp = y1 * (a * (z * y3));
} else if (y3 <= 4.9e-55) {
tmp = a * ((x * y) * b);
} else if (y3 <= 2.3e+36) {
tmp = k * (y1 * (y2 * y4));
} else {
tmp = a * (y1 * (z * y3));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y3 <= -9.2e-49: tmp = y1 * (a * (z * y3)) elif y3 <= 4.9e-55: tmp = a * ((x * y) * b) elif y3 <= 2.3e+36: tmp = k * (y1 * (y2 * y4)) else: tmp = a * (y1 * (z * y3)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y3 <= -9.2e-49) tmp = Float64(y1 * Float64(a * Float64(z * y3))); elseif (y3 <= 4.9e-55) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (y3 <= 2.3e+36) tmp = Float64(k * Float64(y1 * Float64(y2 * y4))); else tmp = Float64(a * Float64(y1 * Float64(z * y3))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y3 <= -9.2e-49) tmp = y1 * (a * (z * y3)); elseif (y3 <= 4.9e-55) tmp = a * ((x * y) * b); elseif (y3 <= 2.3e+36) tmp = k * (y1 * (y2 * y4)); else tmp = a * (y1 * (z * y3)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -9.2e-49], N[(y1 * N[(a * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.9e-55], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.3e+36], N[(k * N[(y1 * N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -9.2 \cdot 10^{-49}:\\
\;\;\;\;y1 \cdot \left(a \cdot \left(z \cdot y3\right)\right)\\
\mathbf{elif}\;y3 \leq 4.9 \cdot 10^{-55}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;y3 \leq 2.3 \cdot 10^{+36}:\\
\;\;\;\;k \cdot \left(y1 \cdot \left(y2 \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\end{array}
\end{array}
if y3 < -9.1999999999999996e-49Initial program 28.5%
Taylor expanded in c around inf 27.4%
mul-1-neg27.4%
Simplified27.4%
Taylor expanded in y1 around inf 42.6%
Taylor expanded in z around inf 32.6%
if -9.1999999999999996e-49 < y3 < 4.90000000000000035e-55Initial program 30.3%
Taylor expanded in b around inf 34.4%
Taylor expanded in a around inf 30.0%
Taylor expanded in x around inf 24.4%
if 4.90000000000000035e-55 < y3 < 2.29999999999999996e36Initial program 21.1%
Taylor expanded in c around inf 21.1%
mul-1-neg21.1%
Simplified21.1%
Taylor expanded in y1 around inf 69.3%
Taylor expanded in k around inf 43.6%
*-commutative43.6%
Simplified43.6%
if 2.29999999999999996e36 < y3 Initial program 14.0%
Taylor expanded in c around inf 25.7%
mul-1-neg25.7%
Simplified25.7%
Taylor expanded in y1 around inf 42.7%
Taylor expanded in z around inf 40.1%
Final simplification31.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= y3 -2e-48) (not (<= y3 8e-34))) (* a (* y1 (* z y3))) (* 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) {
double tmp;
if ((y3 <= -2e-48) || !(y3 <= 8e-34)) {
tmp = a * (y1 * (z * y3));
} else {
tmp = a * ((x * y) * 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 ((y3 <= (-2d-48)) .or. (.not. (y3 <= 8d-34))) then
tmp = a * (y1 * (z * y3))
else
tmp = a * ((x * y) * 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 ((y3 <= -2e-48) || !(y3 <= 8e-34)) {
tmp = a * (y1 * (z * y3));
} else {
tmp = a * ((x * y) * b);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if (y3 <= -2e-48) or not (y3 <= 8e-34): tmp = a * (y1 * (z * y3)) else: tmp = a * ((x * y) * 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 ((y3 <= -2e-48) || !(y3 <= 8e-34)) tmp = Float64(a * Float64(y1 * Float64(z * y3))); else tmp = Float64(a * Float64(Float64(x * y) * 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 ((y3 <= -2e-48) || ~((y3 <= 8e-34))) tmp = a * (y1 * (z * y3)); else tmp = a * ((x * y) * b); 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[y3, -2e-48], N[Not[LessEqual[y3, 8e-34]], $MachinePrecision]], N[(a * N[(y1 * N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y3 \leq -2 \cdot 10^{-48} \lor \neg \left(y3 \leq 8 \cdot 10^{-34}\right):\\
\;\;\;\;a \cdot \left(y1 \cdot \left(z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if y3 < -1.9999999999999999e-48 or 7.99999999999999942e-34 < y3 Initial program 21.7%
Taylor expanded in c around inf 25.8%
mul-1-neg25.8%
Simplified25.8%
Taylor expanded in y1 around inf 46.3%
Taylor expanded in z around inf 34.1%
if -1.9999999999999999e-48 < y3 < 7.99999999999999942e-34Initial program 30.4%
Taylor expanded in b around inf 33.4%
Taylor expanded in a around inf 29.2%
Taylor expanded in x around inf 23.8%
Final simplification29.8%
(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 25.3%
Taylor expanded in b around inf 34.0%
Taylor expanded in a around inf 30.7%
Taylor expanded in x around inf 19.1%
Final simplification19.1%
(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 2024066
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:name "Linear.Matrix:det44 from linear-1.19.1.3"
:precision binary64
:alt
(if (< y4 -7.206256231996481e+60) (- (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))))) (- (/ (- (* y2 t) (* y3 y)) (/ 1.0 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3.364603505246317e-66) (+ (- (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x))) (* (- (* b y0) (* i y1)) (- (* j x) (* k z)))) (- (* (- (* y0 c) (* a y1)) (- (* x y2) (* z y3))) (- (* (- (* t y2) (* y y3)) (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) (- (* k y2) (* j y3)))))) (if (< y4 -1.2000065055686116e-105) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 6.718963124057495e-279) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (if (< y4 4.77962681403792e-222) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 2.2852241541266835e-175) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (- (* k (* i (* z y1))) (+ (* j (* i (* x y1))) (* y0 (* k (* z b)))))) (- (* z (* y3 (* a y1))) (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3)))))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))))))))
(+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i)))) (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a)))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))