
(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 42 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
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i (- (* y k) (* t j))) (* y0 (- (* j y3) (* k y2)))))))
(t_2 (- (* t j) (* y k)))
(t_3 (- (* a b) (* c i)))
(t_4
(*
z
(+
(* k (- (* b y0) (* i y1)))
(- (* y3 (- (* a y1) (* c y0))) (* t t_3))))))
(if (<= y5 -8.5e+105)
t_1
(if (<= y5 -2.3e-179)
t_4
(if (<= y5 -5.3e-307)
(*
x
(+
(+ (* y t_3) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= y5 1.9e-236)
(*
y4
(+
(+ (* b t_2) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))
(if (<= y5 1.32e+19)
(*
i
(-
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* x y) (* z t))) (* y5 t_2))))
(if (<= y5 2.4e+81) t_4 t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
double t_2 = (t * j) - (y * k);
double t_3 = (a * b) - (c * i);
double t_4 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_3)));
double tmp;
if (y5 <= -8.5e+105) {
tmp = t_1;
} else if (y5 <= -2.3e-179) {
tmp = t_4;
} else if (y5 <= -5.3e-307) {
tmp = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y5 <= 1.9e-236) {
tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y5 <= 1.32e+19) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2)));
} else if (y5 <= 2.4e+81) {
tmp = t_4;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
t_2 = (t * j) - (y * k)
t_3 = (a * b) - (c * i)
t_4 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_3)))
if (y5 <= (-8.5d+105)) then
tmp = t_1
else if (y5 <= (-2.3d-179)) then
tmp = t_4
else if (y5 <= (-5.3d-307)) then
tmp = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (y5 <= 1.9d-236) then
tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
else if (y5 <= 1.32d+19) then
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2)))
else if (y5 <= 2.4d+81) then
tmp = t_4
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
double t_2 = (t * j) - (y * k);
double t_3 = (a * b) - (c * i);
double t_4 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_3)));
double tmp;
if (y5 <= -8.5e+105) {
tmp = t_1;
} else if (y5 <= -2.3e-179) {
tmp = t_4;
} else if (y5 <= -5.3e-307) {
tmp = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y5 <= 1.9e-236) {
tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
} else if (y5 <= 1.32e+19) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2)));
} else if (y5 <= 2.4e+81) {
tmp = t_4;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) t_2 = (t * j) - (y * k) t_3 = (a * b) - (c * i) t_4 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_3))) tmp = 0 if y5 <= -8.5e+105: tmp = t_1 elif y5 <= -2.3e-179: tmp = t_4 elif y5 <= -5.3e-307: tmp = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif y5 <= 1.9e-236: tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) elif y5 <= 1.32e+19: tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2))) elif y5 <= 2.4e+81: tmp = t_4 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))) t_2 = Float64(Float64(t * j) - Float64(y * k)) t_3 = Float64(Float64(a * b) - Float64(c * i)) t_4 = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(t * t_3)))) tmp = 0.0 if (y5 <= -8.5e+105) tmp = t_1; elseif (y5 <= -2.3e-179) tmp = t_4; elseif (y5 <= -5.3e-307) tmp = Float64(x * Float64(Float64(Float64(y * t_3) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y5 <= 1.9e-236) tmp = Float64(y4 * Float64(Float64(Float64(b * t_2) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); elseif (y5 <= 1.32e+19) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(c * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * t_2)))); elseif (y5 <= 2.4e+81) tmp = t_4; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); t_2 = (t * j) - (y * k); t_3 = (a * b) - (c * i); t_4 = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_3))); tmp = 0.0; if (y5 <= -8.5e+105) tmp = t_1; elseif (y5 <= -2.3e-179) tmp = t_4; elseif (y5 <= -5.3e-307) tmp = x * (((y * t_3) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (y5 <= 1.9e-236) tmp = y4 * (((b * t_2) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); elseif (y5 <= 1.32e+19) tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_2))); elseif (y5 <= 2.4e+81) tmp = t_4; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -8.5e+105], t$95$1, If[LessEqual[y5, -2.3e-179], t$95$4, If[LessEqual[y5, -5.3e-307], N[(x * N[(N[(N[(y * t$95$3), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.9e-236], N[(y4 * N[(N[(N[(b * t$95$2), $MachinePrecision] + N[(y1 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.32e+19], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.4e+81], t$95$4, t$95$1]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
t_2 := t \cdot j - y \cdot k\\
t_3 := a \cdot b - c \cdot i\\
t_4 := z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) - t \cdot t\_3\right)\right)\\
\mathbf{if}\;y5 \leq -8.5 \cdot 10^{+105}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq -2.3 \cdot 10^{-179}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;y5 \leq -5.3 \cdot 10^{-307}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_3 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq 1.9 \cdot 10^{-236}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_2 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;y5 \leq 1.32 \cdot 10^{+19}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \left(c \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot t\_2\right)\right)\\
\mathbf{elif}\;y5 \leq 2.4 \cdot 10^{+81}:\\
\;\;\;\;t\_4\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y5 < -8.49999999999999986e105 or 2.3999999999999999e81 < y5 Initial program 29.7%
Taylor expanded in y5 around -inf 71.7%
if -8.49999999999999986e105 < y5 < -2.29999999999999988e-179 or 1.32e19 < y5 < 2.3999999999999999e81Initial program 32.2%
Taylor expanded in z around -inf 52.3%
if -2.29999999999999988e-179 < y5 < -5.2999999999999998e-307Initial program 32.5%
Taylor expanded in x around inf 64.8%
if -5.2999999999999998e-307 < y5 < 1.9e-236Initial program 37.2%
Taylor expanded in y4 around inf 68.9%
if 1.9e-236 < y5 < 1.32e19Initial program 39.0%
Taylor expanded in i around -inf 51.0%
Final simplification60.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t j) (* y k)))
(t_2 (- (* k y2) (* j y3)))
(t_3
(+
(+
(+
(+
(-
(* (- (* a b) (* c i)) (- (* x y) (* z t)))
(* (- (* b y0) (* i y1)) (- (* x j) (* z k))))
(* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))))
(* (- (* b y4) (* i y5)) t_1))
(* (- (* t y2) (* y y3)) (- (* a y5) (* c y4))))
(* t_2 (- (* y1 y4) (* y0 y5))))))
(if (<= t_3 INFINITY)
t_3
(* y4 (+ (+ (* b t_1) (* y1 t_2)) (* c (- (* y y3) (* t y2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * j) - (y * k);
double t_2 = (k * y2) - (j * y3);
double t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * t_1)) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= ((double) INFINITY)) {
tmp = t_3;
} else {
tmp = y4 * (((b * t_1) + (y1 * t_2)) + (c * ((y * y3) - (t * y2))));
}
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 = (t * j) - (y * k);
double t_2 = (k * y2) - (j * y3);
double t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * t_1)) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_2 * ((y1 * y4) - (y0 * y5)));
double tmp;
if (t_3 <= Double.POSITIVE_INFINITY) {
tmp = t_3;
} else {
tmp = y4 * (((b * t_1) + (y1 * t_2)) + (c * ((y * y3) - (t * y2))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (t * j) - (y * k) t_2 = (k * y2) - (j * y3) t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * t_1)) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_2 * ((y1 * y4) - (y0 * y5))) tmp = 0 if t_3 <= math.inf: tmp = t_3 else: tmp = y4 * (((b * t_1) + (y1 * t_2)) + (c * ((y * y3) - (t * y2)))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * j) - Float64(y * k)) t_2 = Float64(Float64(k * y2) - Float64(j * y3)) t_3 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(a * b) - Float64(c * i)) * Float64(Float64(x * y) - Float64(z * t))) - Float64(Float64(Float64(b * y0) - Float64(i * y1)) * Float64(Float64(x * j) - Float64(z * k)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(Float64(Float64(b * y4) - Float64(i * y5)) * t_1)) + Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(a * y5) - Float64(c * y4)))) + Float64(t_2 * Float64(Float64(y1 * y4) - Float64(y0 * y5)))) tmp = 0.0 if (t_3 <= Inf) tmp = t_3; else tmp = Float64(y4 * Float64(Float64(Float64(b * t_1) + Float64(y1 * t_2)) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (t * j) - (y * k); t_2 = (k * y2) - (j * y3); t_3 = (((((((a * b) - (c * i)) * ((x * y) - (z * t))) - (((b * y0) - (i * y1)) * ((x * j) - (z * k)))) + (((x * y2) - (z * y3)) * ((c * y0) - (a * y1)))) + (((b * y4) - (i * y5)) * t_1)) + (((t * y2) - (y * y3)) * ((a * y5) - (c * y4)))) + (t_2 * ((y1 * y4) - (y0 * y5))); tmp = 0.0; if (t_3 <= Inf) tmp = t_3; else tmp = y4 * (((b * t_1) + (y1 * t_2)) + (c * ((y * y3) - (t * y2)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(N[(N[(N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision] * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(x * j), $MachinePrecision] - N[(z * k), $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[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision] * t$95$1), $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$2 * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, Infinity], t$95$3, N[(y4 * N[(N[(N[(b * t$95$1), $MachinePrecision] + N[(y1 * t$95$2), $MachinePrecision]), $MachinePrecision] + N[(c * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot j - y \cdot k\\
t_2 := k \cdot y2 - j \cdot y3\\
t_3 := \left(\left(\left(\left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - z \cdot t\right) - \left(b \cdot y0 - i \cdot y1\right) \cdot \left(x \cdot j - z \cdot k\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot t\_1\right) + \left(t \cdot y2 - y \cdot y3\right) \cdot \left(a \cdot y5 - c \cdot y4\right)\right) + t\_2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\\
\mathbf{if}\;t\_3 \leq \infty:\\
\;\;\;\;t\_3\\
\mathbf{else}:\\
\;\;\;\;y4 \cdot \left(\left(b \cdot t\_1 + y1 \cdot t\_2\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0Initial program 90.9%
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 y4 around inf 40.3%
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
(*
i
(-
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* x y) (* z t))) (* y5 (- (* t j) (* y k)))))))
(t_2
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i (- (* y k) (* t j))) (* y0 (- (* j y3) (* k y2)))))))
(t_3 (- (* c y0) (* a y1)))
(t_4
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_3))
(* j (- (* i y1) (* b y0)))))))
(if (<= i -1.8e+42)
t_1
(if (<= i -400000000.0)
t_4
(if (<= i -1.95e-204)
t_2
(if (<= i 3.8e-131)
(*
y2
(-
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_3))
(* t (- (* c y4) (* a y5)))))
(if (<= i 6.6e+129) t_4 (if (<= i 6.5e+196) t_2 t_1))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * ((t * j) - (y * k)))));
double t_2 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
double t_3 = (c * y0) - (a * y1);
double t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + (j * ((i * y1) - (b * y0))));
double tmp;
if (i <= -1.8e+42) {
tmp = t_1;
} else if (i <= -400000000.0) {
tmp = t_4;
} else if (i <= -1.95e-204) {
tmp = t_2;
} else if (i <= 3.8e-131) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) - (t * ((c * y4) - (a * y5))));
} else if (i <= 6.6e+129) {
tmp = t_4;
} else if (i <= 6.5e+196) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: t_3
real(8) :: t_4
real(8) :: tmp
t_1 = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * ((t * j) - (y * k)))))
t_2 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
t_3 = (c * y0) - (a * y1)
t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + (j * ((i * y1) - (b * y0))))
if (i <= (-1.8d+42)) then
tmp = t_1
else if (i <= (-400000000.0d0)) then
tmp = t_4
else if (i <= (-1.95d-204)) then
tmp = t_2
else if (i <= 3.8d-131) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) - (t * ((c * y4) - (a * y5))))
else if (i <= 6.6d+129) then
tmp = t_4
else if (i <= 6.5d+196) then
tmp = t_2
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * ((t * j) - (y * k)))));
double t_2 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
double t_3 = (c * y0) - (a * y1);
double t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + (j * ((i * y1) - (b * y0))));
double tmp;
if (i <= -1.8e+42) {
tmp = t_1;
} else if (i <= -400000000.0) {
tmp = t_4;
} else if (i <= -1.95e-204) {
tmp = t_2;
} else if (i <= 3.8e-131) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) - (t * ((c * y4) - (a * y5))));
} else if (i <= 6.6e+129) {
tmp = t_4;
} else if (i <= 6.5e+196) {
tmp = t_2;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * ((t * j) - (y * k))))) t_2 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) t_3 = (c * y0) - (a * y1) t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + (j * ((i * y1) - (b * y0)))) tmp = 0 if i <= -1.8e+42: tmp = t_1 elif i <= -400000000.0: tmp = t_4 elif i <= -1.95e-204: tmp = t_2 elif i <= 3.8e-131: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) - (t * ((c * y4) - (a * y5)))) elif i <= 6.6e+129: tmp = t_4 elif i <= 6.5e+196: tmp = t_2 else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(c * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * Float64(Float64(t * j) - Float64(y * k)))))) t_2 = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))) t_3 = Float64(Float64(c * y0) - Float64(a * y1)) t_4 = 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))))) tmp = 0.0 if (i <= -1.8e+42) tmp = t_1; elseif (i <= -400000000.0) tmp = t_4; elseif (i <= -1.95e-204) tmp = t_2; elseif (i <= 3.8e-131) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_3)) - Float64(t * Float64(Float64(c * y4) - Float64(a * y5))))); elseif (i <= 6.6e+129) tmp = t_4; elseif (i <= 6.5e+196) tmp = t_2; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * ((t * j) - (y * k))))); t_2 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); t_3 = (c * y0) - (a * y1); t_4 = x * (((y * ((a * b) - (c * i))) + (y2 * t_3)) + (j * ((i * y1) - (b * y0)))); tmp = 0.0; if (i <= -1.8e+42) tmp = t_1; elseif (i <= -400000000.0) tmp = t_4; elseif (i <= -1.95e-204) tmp = t_2; elseif (i <= 3.8e-131) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_3)) - (t * ((c * y4) - (a * y5)))); elseif (i <= 6.6e+129) tmp = t_4; elseif (i <= 6.5e+196) tmp = t_2; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = 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[i, -1.8e+42], t$95$1, If[LessEqual[i, -400000000.0], t$95$4, If[LessEqual[i, -1.95e-204], t$95$2, If[LessEqual[i, 3.8e-131], 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[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 6.6e+129], t$95$4, If[LessEqual[i, 6.5e+196], t$95$2, t$95$1]]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \left(c \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot \left(t \cdot j - y \cdot k\right)\right)\right)\\
t_2 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
t_3 := c \cdot y0 - a \cdot y1\\
t_4 := 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{if}\;i \leq -1.8 \cdot 10^{+42}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -400000000:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;i \leq -1.95 \cdot 10^{-204}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;i \leq 3.8 \cdot 10^{-131}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_3\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{elif}\;i \leq 6.6 \cdot 10^{+129}:\\
\;\;\;\;t\_4\\
\mathbf{elif}\;i \leq 6.5 \cdot 10^{+196}:\\
\;\;\;\;t\_2\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if i < -1.8e42 or 6.49999999999999968e196 < i Initial program 22.2%
Taylor expanded in i around -inf 59.5%
if -1.8e42 < i < -4e8 or 3.79999999999999995e-131 < i < 6.5999999999999998e129Initial program 33.6%
Taylor expanded in x around inf 59.8%
if -4e8 < i < -1.95e-204 or 6.5999999999999998e129 < i < 6.49999999999999968e196Initial program 34.4%
Taylor expanded in y5 around -inf 66.2%
if -1.95e-204 < i < 3.79999999999999995e-131Initial program 47.1%
Taylor expanded in y2 around inf 53.3%
Final simplification59.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* c y0) (* a y1)))
(t_2
(*
y2
(-
(+ (* k (- (* y1 y4) (* y0 y5))) (* x t_1))
(* t (- (* c y4) (* a y5)))))))
(if (<= y2 -2.05e+238)
t_2
(if (<= y2 -1.95e+101)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y2 -4.6e-40)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 t_1))
(* j (- (* i y1) (* b y0)))))
(if (<= y2 -7.6e-269)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y2 6.6e-118)
(* y0 (* j (- (* y3 y5) (* x b))))
(if (<= y2 2.9e+34) (* z (* y1 (- (* a y3) (* i k)))) t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y0) - (a * y1);
double t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) - (t * ((c * y4) - (a * y5))));
double tmp;
if (y2 <= -2.05e+238) {
tmp = t_2;
} else if (y2 <= -1.95e+101) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y2 <= -4.6e-40) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (j * ((i * y1) - (b * y0))));
} else if (y2 <= -7.6e-269) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 6.6e-118) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (y2 <= 2.9e+34) {
tmp = z * (y1 * ((a * y3) - (i * k)));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (c * y0) - (a * y1)
t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) - (t * ((c * y4) - (a * y5))))
if (y2 <= (-2.05d+238)) then
tmp = t_2
else if (y2 <= (-1.95d+101)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y2 <= (-4.6d-40)) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (j * ((i * y1) - (b * y0))))
else if (y2 <= (-7.6d-269)) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y2 <= 6.6d-118) then
tmp = y0 * (j * ((y3 * y5) - (x * b)))
else if (y2 <= 2.9d+34) then
tmp = z * (y1 * ((a * y3) - (i * k)))
else
tmp = t_2
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (c * y0) - (a * y1);
double t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) - (t * ((c * y4) - (a * y5))));
double tmp;
if (y2 <= -2.05e+238) {
tmp = t_2;
} else if (y2 <= -1.95e+101) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y2 <= -4.6e-40) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (j * ((i * y1) - (b * y0))));
} else if (y2 <= -7.6e-269) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y2 <= 6.6e-118) {
tmp = y0 * (j * ((y3 * y5) - (x * b)));
} else if (y2 <= 2.9e+34) {
tmp = z * (y1 * ((a * y3) - (i * k)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = (c * y0) - (a * y1) t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) - (t * ((c * y4) - (a * y5)))) tmp = 0 if y2 <= -2.05e+238: tmp = t_2 elif y2 <= -1.95e+101: tmp = t * (y4 * ((b * j) - (c * y2))) elif y2 <= -4.6e-40: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (j * ((i * y1) - (b * y0)))) elif y2 <= -7.6e-269: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y2 <= 6.6e-118: tmp = y0 * (j * ((y3 * y5) - (x * b))) elif y2 <= 2.9e+34: tmp = z * (y1 * ((a * y3) - (i * k))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(c * y0) - Float64(a * y1)) t_2 = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * t_1)) - Float64(t * Float64(Float64(c * y4) - Float64(a * y5))))) tmp = 0.0 if (y2 <= -2.05e+238) tmp = t_2; elseif (y2 <= -1.95e+101) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y2 <= -4.6e-40) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * t_1)) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y2 <= -7.6e-269) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y2 <= 6.6e-118) tmp = Float64(y0 * Float64(j * Float64(Float64(y3 * y5) - Float64(x * b)))); elseif (y2 <= 2.9e+34) tmp = Float64(z * Float64(y1 * Float64(Float64(a * y3) - Float64(i * k)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = (c * y0) - (a * y1); t_2 = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * t_1)) - (t * ((c * y4) - (a * y5)))); tmp = 0.0; if (y2 <= -2.05e+238) tmp = t_2; elseif (y2 <= -1.95e+101) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y2 <= -4.6e-40) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * t_1)) + (j * ((i * y1) - (b * y0)))); elseif (y2 <= -7.6e-269) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y2 <= 6.6e-118) tmp = y0 * (j * ((y3 * y5) - (x * b))); elseif (y2 <= 2.9e+34) tmp = z * (y1 * ((a * y3) - (i * k))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(t * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.05e+238], t$95$2, If[LessEqual[y2, -1.95e+101], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -4.6e-40], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -7.6e-269], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 6.6e-118], N[(y0 * N[(j * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.9e+34], N[(z * N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := c \cdot y0 - a \cdot y1\\
t_2 := y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot t\_1\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{if}\;y2 \leq -2.05 \cdot 10^{+238}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y2 \leq -1.95 \cdot 10^{+101}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y2 \leq -4.6 \cdot 10^{-40}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot t\_1\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-269}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y2 \leq 6.6 \cdot 10^{-118}:\\
\;\;\;\;y0 \cdot \left(j \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\mathbf{elif}\;y2 \leq 2.9 \cdot 10^{+34}:\\
\;\;\;\;z \cdot \left(y1 \cdot \left(a \cdot y3 - i \cdot k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y2 < -2.0499999999999999e238 or 2.9000000000000001e34 < y2 Initial program 29.0%
Taylor expanded in y2 around inf 61.9%
if -2.0499999999999999e238 < y2 < -1.95e101Initial program 17.0%
Taylor expanded in y4 around inf 53.7%
Taylor expanded in t around inf 67.1%
if -1.95e101 < y2 < -4.6e-40Initial program 37.0%
Taylor expanded in x around inf 66.8%
if -4.6e-40 < y2 < -7.6000000000000005e-269Initial program 30.6%
Taylor expanded in b around inf 48.9%
if -7.6000000000000005e-269 < y2 < 6.5999999999999999e-118Initial program 45.2%
Taylor expanded in y0 around inf 48.5%
Taylor expanded in j around inf 50.7%
if 6.5999999999999999e-118 < y2 < 2.9000000000000001e34Initial program 36.9%
Taylor expanded in z around -inf 47.7%
Taylor expanded in y1 around -inf 45.6%
mul-1-neg45.6%
Simplified45.6%
Final simplification56.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))))
(if (<= y1 -2.15e+176)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= y1 -1.08e-111)
t_1
(if (<= y1 -4.8e-222)
(* i (* y5 (- (* y k) (* t j))))
(if (<= y1 2e-282)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y1 5e-34)
(* x (* y0 (* j (- (* c (/ y2 j)) b))))
(if (<= y1 5.8e+65)
t_1
(if (<= y1 2.5e+131)
(* t (* y2 (- (* a y5) (* c y4))))
(* z (* y1 (- (* a y3) (* i 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 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (y1 <= -2.15e+176) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (y1 <= -1.08e-111) {
tmp = t_1;
} else if (y1 <= -4.8e-222) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 2e-282) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 5e-34) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y1 <= 5.8e+65) {
tmp = t_1;
} else if (y1 <= 2.5e+131) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = z * (y1 * ((a * y3) - (i * 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 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
if (y1 <= (-2.15d+176)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (y1 <= (-1.08d-111)) then
tmp = t_1
else if (y1 <= (-4.8d-222)) then
tmp = i * (y5 * ((y * k) - (t * j)))
else if (y1 <= 2d-282) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y1 <= 5d-34) then
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)))
else if (y1 <= 5.8d+65) then
tmp = t_1
else if (y1 <= 2.5d+131) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else
tmp = z * (y1 * ((a * y3) - (i * 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 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
double tmp;
if (y1 <= -2.15e+176) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (y1 <= -1.08e-111) {
tmp = t_1;
} else if (y1 <= -4.8e-222) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 2e-282) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 5e-34) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y1 <= 5.8e+65) {
tmp = t_1;
} else if (y1 <= 2.5e+131) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = z * (y1 * ((a * y3) - (i * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) tmp = 0 if y1 <= -2.15e+176: tmp = x * (y1 * ((i * j) - (a * y2))) elif y1 <= -1.08e-111: tmp = t_1 elif y1 <= -4.8e-222: tmp = i * (y5 * ((y * k) - (t * j))) elif y1 <= 2e-282: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y1 <= 5e-34: tmp = x * (y0 * (j * ((c * (y2 / j)) - b))) elif y1 <= 5.8e+65: tmp = t_1 elif y1 <= 2.5e+131: tmp = t * (y2 * ((a * y5) - (c * y4))) else: tmp = z * (y1 * ((a * y3) - (i * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(x * Float64(Float64(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))))) tmp = 0.0 if (y1 <= -2.15e+176) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (y1 <= -1.08e-111) tmp = t_1; elseif (y1 <= -4.8e-222) tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))); elseif (y1 <= 2e-282) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y1 <= 5e-34) tmp = Float64(x * Float64(y0 * Float64(j * Float64(Float64(c * Float64(y2 / j)) - b)))); elseif (y1 <= 5.8e+65) tmp = t_1; elseif (y1 <= 2.5e+131) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); else tmp = Float64(z * Float64(y1 * Float64(Float64(a * y3) - Float64(i * 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 = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); tmp = 0.0; if (y1 <= -2.15e+176) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (y1 <= -1.08e-111) tmp = t_1; elseif (y1 <= -4.8e-222) tmp = i * (y5 * ((y * k) - (t * j))); elseif (y1 <= 2e-282) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y1 <= 5e-34) tmp = x * (y0 * (j * ((c * (y2 / j)) - b))); elseif (y1 <= 5.8e+65) tmp = t_1; elseif (y1 <= 2.5e+131) tmp = t * (y2 * ((a * y5) - (c * y4))); else tmp = z * (y1 * ((a * y3) - (i * 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[(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[y1, -2.15e+176], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.08e-111], t$95$1, If[LessEqual[y1, -4.8e-222], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2e-282], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5e-34], N[(x * N[(y0 * N[(j * N[(N[(c * N[(y2 / j), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.8e+65], t$95$1, If[LessEqual[y1, 2.5e+131], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 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{if}\;y1 \leq -2.15 \cdot 10^{+176}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -1.08 \cdot 10^{-111}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq -4.8 \cdot 10^{-222}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 2 \cdot 10^{-282}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 5 \cdot 10^{-34}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(j \cdot \left(c \cdot \frac{y2}{j} - b\right)\right)\right)\\
\mathbf{elif}\;y1 \leq 5.8 \cdot 10^{+65}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq 2.5 \cdot 10^{+131}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(y1 \cdot \left(a \cdot y3 - i \cdot k\right)\right)\\
\end{array}
\end{array}
if y1 < -2.15000000000000013e176Initial program 24.9%
Taylor expanded in x around inf 46.7%
Taylor expanded in y1 around inf 61.0%
distribute-lft-out--61.0%
*-commutative61.0%
Simplified61.0%
if -2.15000000000000013e176 < y1 < -1.08e-111 or 5.0000000000000003e-34 < y1 < 5.8000000000000001e65Initial program 39.6%
Taylor expanded in x around inf 52.2%
if -1.08e-111 < y1 < -4.79999999999999986e-222Initial program 32.4%
Taylor expanded in y5 around -inf 68.8%
Taylor expanded in i around inf 72.0%
if -4.79999999999999986e-222 < y1 < 2e-282Initial program 35.0%
Taylor expanded in b around inf 60.2%
if 2e-282 < y1 < 5.0000000000000003e-34Initial program 30.2%
Taylor expanded in y0 around inf 47.3%
Taylor expanded in x around inf 47.3%
Taylor expanded in j around inf 49.6%
associate-/l*49.6%
Simplified49.6%
if 5.8000000000000001e65 < y1 < 2.49999999999999998e131Initial program 38.0%
Taylor expanded in t around inf 58.0%
Taylor expanded in y2 around inf 67.1%
if 2.49999999999999998e131 < y1 Initial program 27.4%
Taylor expanded in z around -inf 45.1%
Taylor expanded in y1 around -inf 54.3%
mul-1-neg54.3%
Simplified54.3%
Final simplification57.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -3.6e+87)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 -1.7e-122)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y1 -2.3e-240)
(* i (* y5 (- (* y k) (* t j))))
(if (<= y1 7e-167)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 6.6e-37)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y1 5e+67)
(* b (* z (- (* k y0) (* t a))))
(if (<= y1 2.35e+132)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y1 2.15e+220)
(* (* i k) (* z (- y1)))
(* y1 (* y4 (- (* k y2) (* j 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 (y1 <= -3.6e+87) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -1.7e-122) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -2.3e-240) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 7e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 6.6e-37) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y1 <= 5e+67) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y1 <= 2.35e+132) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 2.15e+220) {
tmp = (i * k) * (z * -y1);
} else {
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= (-3.6d+87)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= (-1.7d-122)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y1 <= (-2.3d-240)) then
tmp = i * (y5 * ((y * k) - (t * j)))
else if (y1 <= 7d-167) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 6.6d-37) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y1 <= 5d+67) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (y1 <= 2.35d+132) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y1 <= 2.15d+220) then
tmp = (i * k) * (z * -y1)
else
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -3.6e+87) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -1.7e-122) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -2.3e-240) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 7e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 6.6e-37) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y1 <= 5e+67) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y1 <= 2.35e+132) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 2.15e+220) {
tmp = (i * k) * (z * -y1);
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -3.6e+87: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= -1.7e-122: tmp = t * (y4 * ((b * j) - (c * y2))) elif y1 <= -2.3e-240: tmp = i * (y5 * ((y * k) - (t * j))) elif y1 <= 7e-167: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 6.6e-37: tmp = x * (y0 * ((c * y2) - (b * j))) elif y1 <= 5e+67: tmp = b * (z * ((k * y0) - (t * a))) elif y1 <= 2.35e+132: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y1 <= 2.15e+220: tmp = (i * k) * (z * -y1) else: tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -3.6e+87) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= -1.7e-122) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= -2.3e-240) tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))); elseif (y1 <= 7e-167) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 6.6e-37) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y1 <= 5e+67) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (y1 <= 2.35e+132) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y1 <= 2.15e+220) tmp = Float64(Float64(i * k) * Float64(z * Float64(-y1))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * 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 (y1 <= -3.6e+87) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= -1.7e-122) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y1 <= -2.3e-240) tmp = i * (y5 * ((y * k) - (t * j))); elseif (y1 <= 7e-167) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 6.6e-37) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y1 <= 5e+67) tmp = b * (z * ((k * y0) - (t * a))); elseif (y1 <= 2.35e+132) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y1 <= 2.15e+220) tmp = (i * k) * (z * -y1); else tmp = y1 * (y4 * ((k * y2) - (j * 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[y1, -3.6e+87], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.7e-122], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.3e-240], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 7e-167], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6.6e-37], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5e+67], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.35e+132], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.15e+220], N[(N[(i * k), $MachinePrecision] * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -3.6 \cdot 10^{+87}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq -1.7 \cdot 10^{-122}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -2.3 \cdot 10^{-240}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 7 \cdot 10^{-167}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 6.6 \cdot 10^{-37}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 5 \cdot 10^{+67}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;y1 \leq 2.35 \cdot 10^{+132}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 2.15 \cdot 10^{+220}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(z \cdot \left(-y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -3.59999999999999994e87Initial program 36.9%
Taylor expanded in x around inf 54.6%
Taylor expanded in j around inf 50.8%
if -3.59999999999999994e87 < y1 < -1.6999999999999999e-122Initial program 38.4%
Taylor expanded in y4 around inf 36.4%
Taylor expanded in t around inf 47.9%
if -1.6999999999999999e-122 < y1 < -2.29999999999999993e-240Initial program 29.9%
Taylor expanded in y5 around -inf 71.4%
Taylor expanded in i around inf 70.8%
if -2.29999999999999993e-240 < y1 < 6.9999999999999998e-167Initial program 32.4%
Taylor expanded in b around inf 45.4%
Taylor expanded in y4 around inf 47.7%
if 6.9999999999999998e-167 < y1 < 6.59999999999999964e-37Initial program 35.9%
Taylor expanded in y0 around inf 49.0%
Taylor expanded in x around inf 61.0%
if 6.59999999999999964e-37 < y1 < 4.99999999999999976e67Initial program 19.2%
Taylor expanded in b around inf 30.9%
Taylor expanded in z around -inf 42.4%
associate-*r*42.4%
neg-mul-142.4%
Simplified42.4%
if 4.99999999999999976e67 < y1 < 2.35e132Initial program 39.9%
Taylor expanded in t around inf 60.9%
Taylor expanded in y2 around inf 70.5%
if 2.35e132 < y1 < 2.15e220Initial program 38.3%
Taylor expanded in z around -inf 54.1%
Taylor expanded in y1 around -inf 69.9%
mul-1-neg69.9%
Simplified69.9%
Taylor expanded in a around 0 62.4%
associate-*r*62.4%
*-commutative62.4%
Simplified62.4%
if 2.15e220 < y1 Initial program 22.2%
Taylor expanded in y4 around inf 52.1%
Taylor expanded in y1 around inf 59.6%
Final simplification55.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y5 -1.06e+138)
(* t (* y5 (- (* a y2) (* i j))))
(if (<= y5 -6.6e-90)
(*
k
(-
(* z (- (* b y0) (* i y1)))
(+ (* y (- (* b y4) (* i y5))) (* y2 (- (* y0 y5) (* y1 y4))))))
(if (<= y5 3.3e-304)
(*
x
(+
(+ (* y (- (* a b) (* c i))) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= y5 1.08e+77)
(*
c
(+
(+ (* i (- (* z t) (* x y))) (* y0 (- (* x y2) (* z y3))))
(* y4 (- (* y y3) (* t y2)))))
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i (- (* y k) (* t j))) (* y0 (- (* j y3) (* k y2)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -1.06e+138) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y5 <= -6.6e-90) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * ((y0 * y5) - (y1 * y4)))));
} else if (y5 <= 3.3e-304) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y5 <= 1.08e+77) {
tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))));
} else {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y5 <= (-1.06d+138)) then
tmp = t * (y5 * ((a * y2) - (i * j)))
else if (y5 <= (-6.6d-90)) then
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * ((y0 * y5) - (y1 * y4)))))
else if (y5 <= 3.3d-304) then
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (y5 <= 1.08d+77) then
tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))))
else
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y5 <= -1.06e+138) {
tmp = t * (y5 * ((a * y2) - (i * j)));
} else if (y5 <= -6.6e-90) {
tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * ((y0 * y5) - (y1 * y4)))));
} else if (y5 <= 3.3e-304) {
tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y5 <= 1.08e+77) {
tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))));
} else {
tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y5 <= -1.06e+138: tmp = t * (y5 * ((a * y2) - (i * j))) elif y5 <= -6.6e-90: tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * ((y0 * y5) - (y1 * y4))))) elif y5 <= 3.3e-304: tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif y5 <= 1.08e+77: tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2)))) else: tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y5 <= -1.06e+138) tmp = Float64(t * Float64(y5 * Float64(Float64(a * y2) - Float64(i * j)))); elseif (y5 <= -6.6e-90) tmp = Float64(k * Float64(Float64(z * Float64(Float64(b * y0) - Float64(i * y1))) - Float64(Float64(y * Float64(Float64(b * y4) - Float64(i * y5))) + Float64(y2 * Float64(Float64(y0 * y5) - Float64(y1 * y4)))))); elseif (y5 <= 3.3e-304) tmp = Float64(x * Float64(Float64(Float64(y * Float64(Float64(a * b) - Float64(c * i))) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y5 <= 1.08e+77) tmp = Float64(c * Float64(Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); else tmp = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y5 <= -1.06e+138) tmp = t * (y5 * ((a * y2) - (i * j))); elseif (y5 <= -6.6e-90) tmp = k * ((z * ((b * y0) - (i * y1))) - ((y * ((b * y4) - (i * y5))) + (y2 * ((y0 * y5) - (y1 * y4))))); elseif (y5 <= 3.3e-304) tmp = x * (((y * ((a * b) - (c * i))) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (y5 <= 1.08e+77) tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2)))); else tmp = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -1.06e+138], N[(t * N[(y5 * N[(N[(a * y2), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -6.6e-90], N[(k * N[(N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * N[(N[(b * y4), $MachinePrecision] - N[(i * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(y0 * y5), $MachinePrecision] - N[(y1 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.3e-304], N[(x * N[(N[(N[(y * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.08e+77], N[(c * N[(N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y5 \leq -1.06 \cdot 10^{+138}:\\
\;\;\;\;t \cdot \left(y5 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\\
\mathbf{elif}\;y5 \leq -6.6 \cdot 10^{-90}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right) - \left(y \cdot \left(b \cdot y4 - i \cdot y5\right) + y2 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right)\right)\\
\mathbf{elif}\;y5 \leq 3.3 \cdot 10^{-304}:\\
\;\;\;\;x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq 1.08 \cdot 10^{+77}:\\
\;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
\end{array}
\end{array}
if y5 < -1.05999999999999994e138Initial program 17.9%
Taylor expanded in y5 around -inf 57.5%
Taylor expanded in t around inf 64.6%
if -1.05999999999999994e138 < y5 < -6.6e-90Initial program 28.9%
Taylor expanded in k around inf 52.3%
if -6.6e-90 < y5 < 3.30000000000000013e-304Initial program 34.4%
Taylor expanded in x around inf 58.0%
if 3.30000000000000013e-304 < y5 < 1.07999999999999996e77Initial program 39.4%
Taylor expanded in c around inf 53.7%
if 1.07999999999999996e77 < y5 Initial program 34.6%
Taylor expanded in y5 around -inf 75.5%
Final simplification59.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1
(*
y5
(+
(* a (- (* t y2) (* y y3)))
(+ (* i (- (* y k) (* t j))) (* y0 (- (* j y3) (* k y2)))))))
(t_2 (- (* a b) (* c i))))
(if (<= y5 -1.05e+107)
t_1
(if (<= y5 -6.4e-181)
(*
z
(+
(* k (- (* b y0) (* i y1)))
(- (* y3 (- (* a y1) (* c y0))) (* t t_2))))
(if (<= y5 1.8e-307)
(*
x
(+
(+ (* y t_2) (* y2 (- (* c y0) (* a y1))))
(* j (- (* i y1) (* b y0)))))
(if (<= y5 1.22e+77)
(*
c
(+
(+ (* i (- (* z t) (* x y))) (* y0 (- (* x y2) (* z y3))))
(* y4 (- (* y y3) (* t y2)))))
t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
double t_2 = (a * b) - (c * i);
double tmp;
if (y5 <= -1.05e+107) {
tmp = t_1;
} else if (y5 <= -6.4e-181) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2)));
} else if (y5 <= 1.8e-307) {
tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y5 <= 1.22e+77) {
tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))))
t_2 = (a * b) - (c * i)
if (y5 <= (-1.05d+107)) then
tmp = t_1
else if (y5 <= (-6.4d-181)) then
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2)))
else if (y5 <= 1.8d-307) then
tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))))
else if (y5 <= 1.22d+77) then
tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2)))));
double t_2 = (a * b) - (c * i);
double tmp;
if (y5 <= -1.05e+107) {
tmp = t_1;
} else if (y5 <= -6.4e-181) {
tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2)));
} else if (y5 <= 1.8e-307) {
tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0))));
} else if (y5 <= 1.22e+77) {
tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2))));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))) t_2 = (a * b) - (c * i) tmp = 0 if y5 <= -1.05e+107: tmp = t_1 elif y5 <= -6.4e-181: tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2))) elif y5 <= 1.8e-307: tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))) elif y5 <= 1.22e+77: tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2)))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(y5 * Float64(Float64(a * Float64(Float64(t * y2) - Float64(y * y3))) + Float64(Float64(i * Float64(Float64(y * k) - Float64(t * j))) + Float64(y0 * Float64(Float64(j * y3) - Float64(k * y2)))))) t_2 = Float64(Float64(a * b) - Float64(c * i)) tmp = 0.0 if (y5 <= -1.05e+107) tmp = t_1; elseif (y5 <= -6.4e-181) tmp = Float64(z * Float64(Float64(k * Float64(Float64(b * y0) - Float64(i * y1))) + Float64(Float64(y3 * Float64(Float64(a * y1) - Float64(c * y0))) - Float64(t * t_2)))); elseif (y5 <= 1.8e-307) tmp = Float64(x * Float64(Float64(Float64(y * t_2) + Float64(y2 * Float64(Float64(c * y0) - Float64(a * y1)))) + Float64(j * Float64(Float64(i * y1) - Float64(b * y0))))); elseif (y5 <= 1.22e+77) tmp = Float64(c * Float64(Float64(Float64(i * Float64(Float64(z * t) - Float64(x * y))) + Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))) + Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2))))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = y5 * ((a * ((t * y2) - (y * y3))) + ((i * ((y * k) - (t * j))) + (y0 * ((j * y3) - (k * y2))))); t_2 = (a * b) - (c * i); tmp = 0.0; if (y5 <= -1.05e+107) tmp = t_1; elseif (y5 <= -6.4e-181) tmp = z * ((k * ((b * y0) - (i * y1))) + ((y3 * ((a * y1) - (c * y0))) - (t * t_2))); elseif (y5 <= 1.8e-307) tmp = x * (((y * t_2) + (y2 * ((c * y0) - (a * y1)))) + (j * ((i * y1) - (b * y0)))); elseif (y5 <= 1.22e+77) tmp = c * (((i * ((z * t) - (x * y))) + (y0 * ((x * y2) - (z * y3)))) + (y4 * ((y * y3) - (t * y2)))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y5 * N[(N[(a * N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(i * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(j * y3), $MachinePrecision] - N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.05e+107], t$95$1, If[LessEqual[y5, -6.4e-181], N[(z * N[(N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(y3 * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.8e-307], N[(x * N[(N[(N[(y * t$95$2), $MachinePrecision] + N[(y2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.22e+77], N[(c * N[(N[(N[(i * N[(N[(z * t), $MachinePrecision] - N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := y5 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right) + \left(i \cdot \left(y \cdot k - t \cdot j\right) + y0 \cdot \left(j \cdot y3 - k \cdot y2\right)\right)\right)\\
t_2 := a \cdot b - c \cdot i\\
\mathbf{if}\;y5 \leq -1.05 \cdot 10^{+107}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y5 \leq -6.4 \cdot 10^{-181}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right) + \left(y3 \cdot \left(a \cdot y1 - c \cdot y0\right) - t \cdot t\_2\right)\right)\\
\mathbf{elif}\;y5 \leq 1.8 \cdot 10^{-307}:\\
\;\;\;\;x \cdot \left(\left(y \cdot t\_2 + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + j \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y5 \leq 1.22 \cdot 10^{+77}:\\
\;\;\;\;c \cdot \left(\left(i \cdot \left(z \cdot t - x \cdot y\right) + y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right) + y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y5 < -1.05e107 or 1.22000000000000012e77 < y5 Initial program 29.9%
Taylor expanded in y5 around -inf 70.5%
if -1.05e107 < y5 < -6.4000000000000003e-181Initial program 29.8%
Taylor expanded in z around -inf 48.9%
if -6.4000000000000003e-181 < y5 < 1.80000000000000003e-307Initial program 32.5%
Taylor expanded in x around inf 64.8%
if 1.80000000000000003e-307 < y5 < 1.22000000000000012e77Initial program 39.4%
Taylor expanded in c around inf 53.7%
Final simplification59.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t j) (* y k)))
(t_2
(*
y4
(+
(+ (* b t_1) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))))
(if (<= y4 -1.05e+118)
t_2
(if (<= y4 -5e-228)
(*
i
(-
(* y1 (- (* x j) (* z k)))
(+ (* c (- (* x y) (* z t))) (* y5 t_1))))
(if (<= y4 1.45e-269)
(* x (* y0 (* j (- (* c (/ y2 j)) b))))
(if (<= y4 1.56e+21)
(*
y2
(-
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t (- (* c y4) (* a y5)))))
t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * j) - (y * k);
double t_2 = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y4 <= -1.05e+118) {
tmp = t_2;
} else if (y4 <= -5e-228) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_1)));
} else if (y4 <= 1.45e-269) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y4 <= 1.56e+21) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) - (t * ((c * y4) - (a * y5))));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (t * j) - (y * k)
t_2 = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
if (y4 <= (-1.05d+118)) then
tmp = t_2
else if (y4 <= (-5d-228)) then
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_1)))
else if (y4 <= 1.45d-269) then
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)))
else if (y4 <= 1.56d+21) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) - (t * ((c * y4) - (a * y5))))
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 = (t * j) - (y * k);
double t_2 = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y4 <= -1.05e+118) {
tmp = t_2;
} else if (y4 <= -5e-228) {
tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_1)));
} else if (y4 <= 1.45e-269) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y4 <= 1.56e+21) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) - (t * ((c * y4) - (a * y5))));
} 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 = (t * j) - (y * k) t_2 = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) tmp = 0 if y4 <= -1.05e+118: tmp = t_2 elif y4 <= -5e-228: tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_1))) elif y4 <= 1.45e-269: tmp = x * (y0 * (j * ((c * (y2 / j)) - b))) elif y4 <= 1.56e+21: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) - (t * ((c * y4) - (a * y5)))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * j) - Float64(y * k)) t_2 = Float64(y4 * Float64(Float64(Float64(b * t_1) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) tmp = 0.0 if (y4 <= -1.05e+118) tmp = t_2; elseif (y4 <= -5e-228) tmp = Float64(i * Float64(Float64(y1 * Float64(Float64(x * j) - Float64(z * k))) - Float64(Float64(c * Float64(Float64(x * y) - Float64(z * t))) + Float64(y5 * t_1)))); elseif (y4 <= 1.45e-269) tmp = Float64(x * Float64(y0 * Float64(j * Float64(Float64(c * Float64(y2 / j)) - b)))); elseif (y4 <= 1.56e+21) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) - Float64(t * Float64(Float64(c * y4) - Float64(a * y5))))); 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 = (t * j) - (y * k); t_2 = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); tmp = 0.0; if (y4 <= -1.05e+118) tmp = t_2; elseif (y4 <= -5e-228) tmp = i * ((y1 * ((x * j) - (z * k))) - ((c * ((x * y) - (z * t))) + (y5 * t_1))); elseif (y4 <= 1.45e-269) tmp = x * (y0 * (j * ((c * (y2 / j)) - b))); elseif (y4 <= 1.56e+21) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) - (t * ((c * y4) - (a * y5)))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y4 * N[(N[(N[(b * t$95$1), $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[y4, -1.05e+118], t$95$2, If[LessEqual[y4, -5e-228], N[(i * N[(N[(y1 * N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(c * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y5 * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.45e-269], N[(x * N[(y0 * N[(j * N[(N[(c * N[(y2 / j), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.56e+21], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot j - y \cdot k\\
t_2 := y4 \cdot \left(\left(b \cdot t\_1 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;y4 \leq -1.05 \cdot 10^{+118}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq -5 \cdot 10^{-228}:\\
\;\;\;\;i \cdot \left(y1 \cdot \left(x \cdot j - z \cdot k\right) - \left(c \cdot \left(x \cdot y - z \cdot t\right) + y5 \cdot t\_1\right)\right)\\
\mathbf{elif}\;y4 \leq 1.45 \cdot 10^{-269}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(j \cdot \left(c \cdot \frac{y2}{j} - b\right)\right)\right)\\
\mathbf{elif}\;y4 \leq 1.56 \cdot 10^{+21}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y4 < -1.05e118 or 1.56e21 < y4 Initial program 20.4%
Taylor expanded in y4 around inf 64.5%
if -1.05e118 < y4 < -4.99999999999999972e-228Initial program 44.2%
Taylor expanded in i around -inf 49.4%
if -4.99999999999999972e-228 < y4 < 1.45e-269Initial program 40.2%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in x around inf 53.9%
Taylor expanded in j around inf 57.1%
associate-/l*57.1%
Simplified57.1%
if 1.45e-269 < y4 < 1.56e21Initial program 35.1%
Taylor expanded in y2 around inf 51.4%
Final simplification56.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (- (* t j) (* y k)))
(t_2
(*
y4
(+
(+ (* b t_1) (* y1 (- (* k y2) (* j y3))))
(* c (- (* y y3) (* t y2)))))))
(if (<= y4 -5.8e+98)
t_2
(if (<= y4 -28000.0)
(* y3 (* z (- (* a y1) (* c y0))))
(if (<= y4 1.2e-275)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 t_1))
(* y0 (- (* z k) (* x j)))))
(if (<= y4 2.2e+16)
(*
y2
(-
(+ (* k (- (* y1 y4) (* y0 y5))) (* x (- (* c y0) (* a y1))))
(* t (- (* c y4) (* a y5)))))
t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = (t * j) - (y * k);
double t_2 = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y4 <= -5.8e+98) {
tmp = t_2;
} else if (y4 <= -28000.0) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y4 <= 1.2e-275) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
} else if (y4 <= 2.2e+16) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) - (t * ((c * y4) - (a * y5))));
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (t * j) - (y * k)
t_2 = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))))
if (y4 <= (-5.8d+98)) then
tmp = t_2
else if (y4 <= (-28000.0d0)) then
tmp = y3 * (z * ((a * y1) - (c * y0)))
else if (y4 <= 1.2d-275) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))))
else if (y4 <= 2.2d+16) then
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) - (t * ((c * y4) - (a * y5))))
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 = (t * j) - (y * k);
double t_2 = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2))));
double tmp;
if (y4 <= -5.8e+98) {
tmp = t_2;
} else if (y4 <= -28000.0) {
tmp = y3 * (z * ((a * y1) - (c * y0)));
} else if (y4 <= 1.2e-275) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j))));
} else if (y4 <= 2.2e+16) {
tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) - (t * ((c * y4) - (a * y5))));
} 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 = (t * j) - (y * k) t_2 = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))) tmp = 0 if y4 <= -5.8e+98: tmp = t_2 elif y4 <= -28000.0: tmp = y3 * (z * ((a * y1) - (c * y0))) elif y4 <= 1.2e-275: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j)))) elif y4 <= 2.2e+16: tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) - (t * ((c * y4) - (a * y5)))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(Float64(t * j) - Float64(y * k)) t_2 = Float64(y4 * Float64(Float64(Float64(b * t_1) + Float64(y1 * Float64(Float64(k * y2) - Float64(j * y3)))) + Float64(c * Float64(Float64(y * y3) - Float64(t * y2))))) tmp = 0.0 if (y4 <= -5.8e+98) tmp = t_2; elseif (y4 <= -28000.0) tmp = Float64(y3 * Float64(z * Float64(Float64(a * y1) - Float64(c * y0)))); elseif (y4 <= 1.2e-275) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * t_1)) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y4 <= 2.2e+16) tmp = Float64(y2 * Float64(Float64(Float64(k * Float64(Float64(y1 * y4) - Float64(y0 * y5))) + Float64(x * Float64(Float64(c * y0) - Float64(a * y1)))) - Float64(t * Float64(Float64(c * y4) - Float64(a * y5))))); 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 = (t * j) - (y * k); t_2 = y4 * (((b * t_1) + (y1 * ((k * y2) - (j * y3)))) + (c * ((y * y3) - (t * y2)))); tmp = 0.0; if (y4 <= -5.8e+98) tmp = t_2; elseif (y4 <= -28000.0) tmp = y3 * (z * ((a * y1) - (c * y0))); elseif (y4 <= 1.2e-275) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * t_1)) + (y0 * ((z * k) - (x * j)))); elseif (y4 <= 2.2e+16) tmp = y2 * (((k * ((y1 * y4) - (y0 * y5))) + (x * ((c * y0) - (a * y1)))) - (t * ((c * y4) - (a * y5)))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(y4 * N[(N[(N[(b * t$95$1), $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[y4, -5.8e+98], t$95$2, If[LessEqual[y4, -28000.0], N[(y3 * N[(z * N[(N[(a * y1), $MachinePrecision] - N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 1.2e-275], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * t$95$1), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y4, 2.2e+16], N[(y2 * N[(N[(N[(k * N[(N[(y1 * y4), $MachinePrecision] - N[(y0 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(x * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t * N[(N[(c * y4), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot j - y \cdot k\\
t_2 := y4 \cdot \left(\left(b \cdot t\_1 + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{if}\;y4 \leq -5.8 \cdot 10^{+98}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;y4 \leq -28000:\\
\;\;\;\;y3 \cdot \left(z \cdot \left(a \cdot y1 - c \cdot y0\right)\right)\\
\mathbf{elif}\;y4 \leq 1.2 \cdot 10^{-275}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot t\_1\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y4 \leq 2.2 \cdot 10^{+16}:\\
\;\;\;\;y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if y4 < -5.8000000000000002e98 or 2.2e16 < y4 Initial program 22.5%
Taylor expanded in y4 around inf 64.4%
if -5.8000000000000002e98 < y4 < -28000Initial program 29.4%
Taylor expanded in z around -inf 59.0%
Taylor expanded in y3 around inf 59.4%
if -28000 < y4 < 1.19999999999999995e-275Initial program 45.5%
Taylor expanded in b around inf 46.4%
if 1.19999999999999995e-275 < y4 < 2.2e16Initial program 34.6%
Taylor expanded in y2 around inf 50.7%
Final simplification55.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -1.65e+89)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= y1 -8.6e-124)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y1 -4e-217)
(* i (* y5 (- (* y k) (* t j))))
(if (<= y1 3.4e-279)
(*
b
(+
(+ (* a (- (* x y) (* z t))) (* y4 (- (* t j) (* y k))))
(* y0 (- (* z k) (* x j)))))
(if (<= y1 7.6e+66)
(* x (* y0 (* j (- (* c (/ y2 j)) b))))
(if (<= y1 2.4e+130)
(* t (* y2 (- (* a y5) (* c y4))))
(* z (* y1 (- (* a y3) (* i 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 tmp;
if (y1 <= -1.65e+89) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (y1 <= -8.6e-124) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -4e-217) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 3.4e-279) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 7.6e+66) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y1 <= 2.4e+130) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = z * (y1 * ((a * y3) - (i * 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) :: tmp
if (y1 <= (-1.65d+89)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (y1 <= (-8.6d-124)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y1 <= (-4d-217)) then
tmp = i * (y5 * ((y * k) - (t * j)))
else if (y1 <= 3.4d-279) then
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))))
else if (y1 <= 7.6d+66) then
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)))
else if (y1 <= 2.4d+130) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else
tmp = z * (y1 * ((a * y3) - (i * 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 tmp;
if (y1 <= -1.65e+89) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (y1 <= -8.6e-124) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -4e-217) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 3.4e-279) {
tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j))));
} else if (y1 <= 7.6e+66) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y1 <= 2.4e+130) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = z * (y1 * ((a * y3) - (i * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -1.65e+89: tmp = x * (y1 * ((i * j) - (a * y2))) elif y1 <= -8.6e-124: tmp = t * (y4 * ((b * j) - (c * y2))) elif y1 <= -4e-217: tmp = i * (y5 * ((y * k) - (t * j))) elif y1 <= 3.4e-279: tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))) elif y1 <= 7.6e+66: tmp = x * (y0 * (j * ((c * (y2 / j)) - b))) elif y1 <= 2.4e+130: tmp = t * (y2 * ((a * y5) - (c * y4))) else: tmp = z * (y1 * ((a * y3) - (i * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -1.65e+89) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (y1 <= -8.6e-124) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= -4e-217) tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))); elseif (y1 <= 3.4e-279) tmp = Float64(b * Float64(Float64(Float64(a * Float64(Float64(x * y) - Float64(z * t))) + Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))) + Float64(y0 * Float64(Float64(z * k) - Float64(x * j))))); elseif (y1 <= 7.6e+66) tmp = Float64(x * Float64(y0 * Float64(j * Float64(Float64(c * Float64(y2 / j)) - b)))); elseif (y1 <= 2.4e+130) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); else tmp = Float64(z * Float64(y1 * Float64(Float64(a * y3) - Float64(i * 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) tmp = 0.0; if (y1 <= -1.65e+89) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (y1 <= -8.6e-124) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y1 <= -4e-217) tmp = i * (y5 * ((y * k) - (t * j))); elseif (y1 <= 3.4e-279) tmp = b * (((a * ((x * y) - (z * t))) + (y4 * ((t * j) - (y * k)))) + (y0 * ((z * k) - (x * j)))); elseif (y1 <= 7.6e+66) tmp = x * (y0 * (j * ((c * (y2 / j)) - b))); elseif (y1 <= 2.4e+130) tmp = t * (y2 * ((a * y5) - (c * y4))); else tmp = z * (y1 * ((a * y3) - (i * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -1.65e+89], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -8.6e-124], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4e-217], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.4e-279], N[(b * N[(N[(N[(a * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(N[(z * k), $MachinePrecision] - N[(x * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 7.6e+66], N[(x * N[(y0 * N[(j * N[(N[(c * N[(y2 / j), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.4e+130], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -1.65 \cdot 10^{+89}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -8.6 \cdot 10^{-124}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -4 \cdot 10^{-217}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 3.4 \cdot 10^{-279}:\\
\;\;\;\;b \cdot \left(\left(a \cdot \left(x \cdot y - z \cdot t\right) + y4 \cdot \left(t \cdot j - y \cdot k\right)\right) + y0 \cdot \left(z \cdot k - x \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 7.6 \cdot 10^{+66}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(j \cdot \left(c \cdot \frac{y2}{j} - b\right)\right)\right)\\
\mathbf{elif}\;y1 \leq 2.4 \cdot 10^{+130}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(y1 \cdot \left(a \cdot y3 - i \cdot k\right)\right)\\
\end{array}
\end{array}
if y1 < -1.64999999999999987e89Initial program 36.3%
Taylor expanded in x around inf 52.5%
Taylor expanded in y1 around inf 55.0%
distribute-lft-out--55.0%
*-commutative55.0%
Simplified55.0%
if -1.64999999999999987e89 < y1 < -8.6e-124Initial program 39.1%
Taylor expanded in y4 around inf 34.5%
Taylor expanded in t around inf 48.0%
if -8.6e-124 < y1 < -4.00000000000000033e-217Initial program 32.3%
Taylor expanded in y5 around -inf 73.1%
Taylor expanded in i around inf 76.3%
if -4.00000000000000033e-217 < y1 < 3.40000000000000015e-279Initial program 35.0%
Taylor expanded in b around inf 60.2%
if 3.40000000000000015e-279 < y1 < 7.6000000000000004e66Initial program 27.5%
Taylor expanded in y0 around inf 48.2%
Taylor expanded in x around inf 39.8%
Taylor expanded in j around inf 41.5%
associate-/l*43.1%
Simplified43.1%
if 7.6000000000000004e66 < y1 < 2.40000000000000024e130Initial program 39.9%
Taylor expanded in t around inf 60.9%
Taylor expanded in y2 around inf 70.5%
if 2.40000000000000024e130 < y1 Initial program 27.4%
Taylor expanded in z around -inf 45.1%
Taylor expanded in y1 around -inf 54.3%
mul-1-neg54.3%
Simplified54.3%
Final simplification55.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -4.2e+85)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 -4.7e-123)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y1 -7.2e-240)
(* i (* y5 (- (* y k) (* t j))))
(if (<= y1 5.7e-167)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 3.3e-44)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y1 6e+83)
(* (* x a) (- (* y b) (* y1 y2)))
(if (<= y1 3.1e+217)
(* k (* z (- (* b y0) (* i y1))))
(* y1 (* y4 (- (* k y2) (* j 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 (y1 <= -4.2e+85) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -4.7e-123) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -7.2e-240) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 5.7e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 3.3e-44) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y1 <= 6e+83) {
tmp = (x * a) * ((y * b) - (y1 * y2));
} else if (y1 <= 3.1e+217) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= (-4.2d+85)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= (-4.7d-123)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y1 <= (-7.2d-240)) then
tmp = i * (y5 * ((y * k) - (t * j)))
else if (y1 <= 5.7d-167) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 3.3d-44) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y1 <= 6d+83) then
tmp = (x * a) * ((y * b) - (y1 * y2))
else if (y1 <= 3.1d+217) then
tmp = k * (z * ((b * y0) - (i * y1)))
else
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -4.2e+85) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -4.7e-123) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -7.2e-240) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 5.7e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 3.3e-44) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y1 <= 6e+83) {
tmp = (x * a) * ((y * b) - (y1 * y2));
} else if (y1 <= 3.1e+217) {
tmp = k * (z * ((b * y0) - (i * y1)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -4.2e+85: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= -4.7e-123: tmp = t * (y4 * ((b * j) - (c * y2))) elif y1 <= -7.2e-240: tmp = i * (y5 * ((y * k) - (t * j))) elif y1 <= 5.7e-167: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 3.3e-44: tmp = x * (y0 * ((c * y2) - (b * j))) elif y1 <= 6e+83: tmp = (x * a) * ((y * b) - (y1 * y2)) elif y1 <= 3.1e+217: tmp = k * (z * ((b * y0) - (i * y1))) else: tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -4.2e+85) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= -4.7e-123) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= -7.2e-240) tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))); elseif (y1 <= 5.7e-167) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 3.3e-44) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y1 <= 6e+83) tmp = Float64(Float64(x * a) * Float64(Float64(y * b) - Float64(y1 * y2))); elseif (y1 <= 3.1e+217) tmp = Float64(k * Float64(z * Float64(Float64(b * y0) - Float64(i * y1)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * 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 (y1 <= -4.2e+85) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= -4.7e-123) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y1 <= -7.2e-240) tmp = i * (y5 * ((y * k) - (t * j))); elseif (y1 <= 5.7e-167) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 3.3e-44) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y1 <= 6e+83) tmp = (x * a) * ((y * b) - (y1 * y2)); elseif (y1 <= 3.1e+217) tmp = k * (z * ((b * y0) - (i * y1))); else tmp = y1 * (y4 * ((k * y2) - (j * 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[y1, -4.2e+85], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4.7e-123], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -7.2e-240], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.7e-167], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.3e-44], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6e+83], N[(N[(x * a), $MachinePrecision] * N[(N[(y * b), $MachinePrecision] - N[(y1 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.1e+217], N[(k * N[(z * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -4.2 \cdot 10^{+85}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq -4.7 \cdot 10^{-123}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -7.2 \cdot 10^{-240}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 5.7 \cdot 10^{-167}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 3.3 \cdot 10^{-44}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 6 \cdot 10^{+83}:\\
\;\;\;\;\left(x \cdot a\right) \cdot \left(y \cdot b - y1 \cdot y2\right)\\
\mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+217}:\\
\;\;\;\;k \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -4.2000000000000002e85Initial program 36.9%
Taylor expanded in x around inf 54.6%
Taylor expanded in j around inf 50.8%
if -4.2000000000000002e85 < y1 < -4.7000000000000002e-123Initial program 38.4%
Taylor expanded in y4 around inf 36.4%
Taylor expanded in t around inf 47.9%
if -4.7000000000000002e-123 < y1 < -7.1999999999999998e-240Initial program 29.9%
Taylor expanded in y5 around -inf 71.4%
Taylor expanded in i around inf 70.8%
if -7.1999999999999998e-240 < y1 < 5.69999999999999988e-167Initial program 32.4%
Taylor expanded in b around inf 45.4%
Taylor expanded in y4 around inf 47.7%
if 5.69999999999999988e-167 < y1 < 3.30000000000000006e-44Initial program 37.4%
Taylor expanded in y0 around inf 46.9%
Taylor expanded in x around inf 59.3%
if 3.30000000000000006e-44 < y1 < 5.9999999999999999e83Initial program 19.4%
Taylor expanded in x around inf 46.3%
Taylor expanded in a around inf 46.9%
associate-*r*47.0%
+-commutative47.0%
mul-1-neg47.0%
unsub-neg47.0%
*-commutative47.0%
Simplified47.0%
if 5.9999999999999999e83 < y1 < 3.1000000000000002e217Initial program 41.3%
Taylor expanded in z around -inf 55.5%
Taylor expanded in k around inf 59.5%
if 3.1000000000000002e217 < y1 Initial program 22.2%
Taylor expanded in y4 around inf 52.1%
Taylor expanded in y1 around inf 59.6%
Final simplification54.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -2.55e+85)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 -2.1e-131)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y1 3.4e-166)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 1.95e-36)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y1 4.4e+68)
(* b (* z (- (* k y0) (* t a))))
(if (<= y1 1.3e+133)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y1 2.3e+220)
(* (* i k) (* z (- y1)))
(* y1 (* y4 (- (* k y2) (* j 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 (y1 <= -2.55e+85) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -2.1e-131) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= 3.4e-166) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 1.95e-36) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y1 <= 4.4e+68) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y1 <= 1.3e+133) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 2.3e+220) {
tmp = (i * k) * (z * -y1);
} else {
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= (-2.55d+85)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= (-2.1d-131)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y1 <= 3.4d-166) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 1.95d-36) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y1 <= 4.4d+68) then
tmp = b * (z * ((k * y0) - (t * a)))
else if (y1 <= 1.3d+133) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y1 <= 2.3d+220) then
tmp = (i * k) * (z * -y1)
else
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -2.55e+85) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -2.1e-131) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= 3.4e-166) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 1.95e-36) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y1 <= 4.4e+68) {
tmp = b * (z * ((k * y0) - (t * a)));
} else if (y1 <= 1.3e+133) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 2.3e+220) {
tmp = (i * k) * (z * -y1);
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -2.55e+85: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= -2.1e-131: tmp = t * (y4 * ((b * j) - (c * y2))) elif y1 <= 3.4e-166: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 1.95e-36: tmp = x * (y0 * ((c * y2) - (b * j))) elif y1 <= 4.4e+68: tmp = b * (z * ((k * y0) - (t * a))) elif y1 <= 1.3e+133: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y1 <= 2.3e+220: tmp = (i * k) * (z * -y1) else: tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -2.55e+85) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= -2.1e-131) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= 3.4e-166) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 1.95e-36) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y1 <= 4.4e+68) tmp = Float64(b * Float64(z * Float64(Float64(k * y0) - Float64(t * a)))); elseif (y1 <= 1.3e+133) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y1 <= 2.3e+220) tmp = Float64(Float64(i * k) * Float64(z * Float64(-y1))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * 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 (y1 <= -2.55e+85) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= -2.1e-131) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y1 <= 3.4e-166) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 1.95e-36) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y1 <= 4.4e+68) tmp = b * (z * ((k * y0) - (t * a))); elseif (y1 <= 1.3e+133) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y1 <= 2.3e+220) tmp = (i * k) * (z * -y1); else tmp = y1 * (y4 * ((k * y2) - (j * 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[y1, -2.55e+85], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.1e-131], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.4e-166], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.95e-36], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.4e+68], N[(b * N[(z * N[(N[(k * y0), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.3e+133], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.3e+220], N[(N[(i * k), $MachinePrecision] * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -2.55 \cdot 10^{+85}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq -2.1 \cdot 10^{-131}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 3.4 \cdot 10^{-166}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 1.95 \cdot 10^{-36}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 4.4 \cdot 10^{+68}:\\
\;\;\;\;b \cdot \left(z \cdot \left(k \cdot y0 - t \cdot a\right)\right)\\
\mathbf{elif}\;y1 \leq 1.3 \cdot 10^{+133}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 2.3 \cdot 10^{+220}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(z \cdot \left(-y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -2.5499999999999999e85Initial program 36.9%
Taylor expanded in x around inf 54.6%
Taylor expanded in j around inf 50.8%
if -2.5499999999999999e85 < y1 < -2.09999999999999997e-131Initial program 41.2%
Taylor expanded in y4 around inf 36.9%
Taylor expanded in t around inf 44.5%
if -2.09999999999999997e-131 < y1 < 3.3999999999999997e-166Initial program 29.4%
Taylor expanded in b around inf 39.8%
Taylor expanded in y4 around inf 44.3%
if 3.3999999999999997e-166 < y1 < 1.95e-36Initial program 35.9%
Taylor expanded in y0 around inf 49.0%
Taylor expanded in x around inf 61.0%
if 1.95e-36 < y1 < 4.39999999999999974e68Initial program 19.2%
Taylor expanded in b around inf 30.9%
Taylor expanded in z around -inf 42.4%
associate-*r*42.4%
neg-mul-142.4%
Simplified42.4%
if 4.39999999999999974e68 < y1 < 1.2999999999999999e133Initial program 39.9%
Taylor expanded in t around inf 60.9%
Taylor expanded in y2 around inf 70.5%
if 1.2999999999999999e133 < y1 < 2.29999999999999997e220Initial program 38.3%
Taylor expanded in z around -inf 54.1%
Taylor expanded in y1 around -inf 69.9%
mul-1-neg69.9%
Simplified69.9%
Taylor expanded in a around 0 62.4%
associate-*r*62.4%
*-commutative62.4%
Simplified62.4%
if 2.29999999999999997e220 < y1 Initial program 22.2%
Taylor expanded in y4 around inf 52.1%
Taylor expanded in y1 around inf 59.6%
Final simplification51.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -1.65e+89)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= y1 -2.9e-123)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y1 -6.5e-239)
(* i (* y5 (- (* y k) (* t j))))
(if (<= y1 1.12e-167)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 1.45e+68)
(* x (* y0 (* j (- (* c (/ y2 j)) b))))
(if (<= y1 1.35e+132)
(* t (* y2 (- (* a y5) (* c y4))))
(* z (* y1 (- (* a y3) (* i 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 tmp;
if (y1 <= -1.65e+89) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (y1 <= -2.9e-123) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -6.5e-239) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 1.12e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 1.45e+68) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y1 <= 1.35e+132) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = z * (y1 * ((a * y3) - (i * 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) :: tmp
if (y1 <= (-1.65d+89)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (y1 <= (-2.9d-123)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y1 <= (-6.5d-239)) then
tmp = i * (y5 * ((y * k) - (t * j)))
else if (y1 <= 1.12d-167) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 1.45d+68) then
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)))
else if (y1 <= 1.35d+132) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else
tmp = z * (y1 * ((a * y3) - (i * 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 tmp;
if (y1 <= -1.65e+89) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (y1 <= -2.9e-123) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -6.5e-239) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 1.12e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 1.45e+68) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y1 <= 1.35e+132) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else {
tmp = z * (y1 * ((a * y3) - (i * k)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -1.65e+89: tmp = x * (y1 * ((i * j) - (a * y2))) elif y1 <= -2.9e-123: tmp = t * (y4 * ((b * j) - (c * y2))) elif y1 <= -6.5e-239: tmp = i * (y5 * ((y * k) - (t * j))) elif y1 <= 1.12e-167: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 1.45e+68: tmp = x * (y0 * (j * ((c * (y2 / j)) - b))) elif y1 <= 1.35e+132: tmp = t * (y2 * ((a * y5) - (c * y4))) else: tmp = z * (y1 * ((a * y3) - (i * k))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -1.65e+89) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (y1 <= -2.9e-123) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= -6.5e-239) tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))); elseif (y1 <= 1.12e-167) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 1.45e+68) tmp = Float64(x * Float64(y0 * Float64(j * Float64(Float64(c * Float64(y2 / j)) - b)))); elseif (y1 <= 1.35e+132) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); else tmp = Float64(z * Float64(y1 * Float64(Float64(a * y3) - Float64(i * 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) tmp = 0.0; if (y1 <= -1.65e+89) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (y1 <= -2.9e-123) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y1 <= -6.5e-239) tmp = i * (y5 * ((y * k) - (t * j))); elseif (y1 <= 1.12e-167) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 1.45e+68) tmp = x * (y0 * (j * ((c * (y2 / j)) - b))); elseif (y1 <= 1.35e+132) tmp = t * (y2 * ((a * y5) - (c * y4))); else tmp = z * (y1 * ((a * y3) - (i * k))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -1.65e+89], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -2.9e-123], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -6.5e-239], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.12e-167], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.45e+68], N[(x * N[(y0 * N[(j * N[(N[(c * N[(y2 / j), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.35e+132], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(y1 * N[(N[(a * y3), $MachinePrecision] - N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -1.65 \cdot 10^{+89}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -2.9 \cdot 10^{-123}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -6.5 \cdot 10^{-239}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 1.12 \cdot 10^{-167}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 1.45 \cdot 10^{+68}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(j \cdot \left(c \cdot \frac{y2}{j} - b\right)\right)\right)\\
\mathbf{elif}\;y1 \leq 1.35 \cdot 10^{+132}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(y1 \cdot \left(a \cdot y3 - i \cdot k\right)\right)\\
\end{array}
\end{array}
if y1 < -1.64999999999999987e89Initial program 36.3%
Taylor expanded in x around inf 52.5%
Taylor expanded in y1 around inf 55.0%
distribute-lft-out--55.0%
*-commutative55.0%
Simplified55.0%
if -1.64999999999999987e89 < y1 < -2.90000000000000004e-123Initial program 39.1%
Taylor expanded in y4 around inf 34.5%
Taylor expanded in t around inf 48.0%
if -2.90000000000000004e-123 < y1 < -6.5000000000000003e-239Initial program 29.9%
Taylor expanded in y5 around -inf 71.4%
Taylor expanded in i around inf 70.8%
if -6.5000000000000003e-239 < y1 < 1.1200000000000001e-167Initial program 32.4%
Taylor expanded in b around inf 45.4%
Taylor expanded in y4 around inf 47.7%
if 1.1200000000000001e-167 < y1 < 1.45000000000000006e68Initial program 29.1%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in x around inf 43.8%
Taylor expanded in j around inf 43.8%
associate-/l*46.1%
Simplified46.1%
if 1.45000000000000006e68 < y1 < 1.35e132Initial program 39.9%
Taylor expanded in t around inf 60.9%
Taylor expanded in y2 around inf 70.5%
if 1.35e132 < y1 Initial program 27.4%
Taylor expanded in z around -inf 45.1%
Taylor expanded in y1 around -inf 54.3%
mul-1-neg54.3%
Simplified54.3%
Final simplification54.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -5.2e+89)
(* x (* y1 (- (* i j) (* a y2))))
(if (<= y1 -3.4e-122)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y1 -4.2e-241)
(* i (* y5 (- (* y k) (* t j))))
(if (<= y1 2.15e-165)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 3.8e+31)
(* x (* y0 (* j (- (* c (/ y2 j)) b))))
(if (<= y1 1.4e+221)
(* z (* k (- (* b y0) (* i y1))))
(* y1 (* y4 (- (* k y2) (* j 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 (y1 <= -5.2e+89) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (y1 <= -3.4e-122) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -4.2e-241) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 2.15e-165) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 3.8e+31) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y1 <= 1.4e+221) {
tmp = z * (k * ((b * y0) - (i * y1)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= (-5.2d+89)) then
tmp = x * (y1 * ((i * j) - (a * y2)))
else if (y1 <= (-3.4d-122)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y1 <= (-4.2d-241)) then
tmp = i * (y5 * ((y * k) - (t * j)))
else if (y1 <= 2.15d-165) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 3.8d+31) then
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)))
else if (y1 <= 1.4d+221) then
tmp = z * (k * ((b * y0) - (i * y1)))
else
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -5.2e+89) {
tmp = x * (y1 * ((i * j) - (a * y2)));
} else if (y1 <= -3.4e-122) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -4.2e-241) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 2.15e-165) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 3.8e+31) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y1 <= 1.4e+221) {
tmp = z * (k * ((b * y0) - (i * y1)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -5.2e+89: tmp = x * (y1 * ((i * j) - (a * y2))) elif y1 <= -3.4e-122: tmp = t * (y4 * ((b * j) - (c * y2))) elif y1 <= -4.2e-241: tmp = i * (y5 * ((y * k) - (t * j))) elif y1 <= 2.15e-165: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 3.8e+31: tmp = x * (y0 * (j * ((c * (y2 / j)) - b))) elif y1 <= 1.4e+221: tmp = z * (k * ((b * y0) - (i * y1))) else: tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -5.2e+89) tmp = Float64(x * Float64(y1 * Float64(Float64(i * j) - Float64(a * y2)))); elseif (y1 <= -3.4e-122) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= -4.2e-241) tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))); elseif (y1 <= 2.15e-165) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 3.8e+31) tmp = Float64(x * Float64(y0 * Float64(j * Float64(Float64(c * Float64(y2 / j)) - b)))); elseif (y1 <= 1.4e+221) tmp = Float64(z * Float64(k * Float64(Float64(b * y0) - Float64(i * y1)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * 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 (y1 <= -5.2e+89) tmp = x * (y1 * ((i * j) - (a * y2))); elseif (y1 <= -3.4e-122) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y1 <= -4.2e-241) tmp = i * (y5 * ((y * k) - (t * j))); elseif (y1 <= 2.15e-165) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 3.8e+31) tmp = x * (y0 * (j * ((c * (y2 / j)) - b))); elseif (y1 <= 1.4e+221) tmp = z * (k * ((b * y0) - (i * y1))); else tmp = y1 * (y4 * ((k * y2) - (j * 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[y1, -5.2e+89], N[(x * N[(y1 * N[(N[(i * j), $MachinePrecision] - N[(a * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.4e-122], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4.2e-241], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.15e-165], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.8e+31], N[(x * N[(y0 * N[(j * N[(N[(c * N[(y2 / j), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.4e+221], N[(z * N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -5.2 \cdot 10^{+89}:\\
\;\;\;\;x \cdot \left(y1 \cdot \left(i \cdot j - a \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -3.4 \cdot 10^{-122}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -4.2 \cdot 10^{-241}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 2.15 \cdot 10^{-165}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 3.8 \cdot 10^{+31}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(j \cdot \left(c \cdot \frac{y2}{j} - b\right)\right)\right)\\
\mathbf{elif}\;y1 \leq 1.4 \cdot 10^{+221}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -5.2000000000000001e89Initial program 36.3%
Taylor expanded in x around inf 52.5%
Taylor expanded in y1 around inf 55.0%
distribute-lft-out--55.0%
*-commutative55.0%
Simplified55.0%
if -5.2000000000000001e89 < y1 < -3.3999999999999998e-122Initial program 39.1%
Taylor expanded in y4 around inf 34.5%
Taylor expanded in t around inf 48.0%
if -3.3999999999999998e-122 < y1 < -4.1999999999999999e-241Initial program 29.9%
Taylor expanded in y5 around -inf 71.4%
Taylor expanded in i around inf 70.8%
if -4.1999999999999999e-241 < y1 < 2.15000000000000003e-165Initial program 32.4%
Taylor expanded in b around inf 45.4%
Taylor expanded in y4 around inf 47.7%
if 2.15000000000000003e-165 < y1 < 3.8000000000000001e31Initial program 29.0%
Taylor expanded in y0 around inf 49.4%
Taylor expanded in x around inf 49.5%
Taylor expanded in j around inf 49.5%
associate-/l*52.3%
Simplified52.3%
if 3.8000000000000001e31 < y1 < 1.39999999999999994e221Initial program 37.6%
Taylor expanded in z around -inf 57.7%
Taylor expanded in k around inf 50.9%
if 1.39999999999999994e221 < y1 Initial program 22.2%
Taylor expanded in y4 around inf 52.1%
Taylor expanded in y1 around inf 59.6%
Final simplification53.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -7.2e+87)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 -7.2e-123)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y1 -3.2e-235)
(* i (* y5 (- (* y k) (* t j))))
(if (<= y1 3.5e-167)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 1.15e+31)
(* x (* y0 (* j (- (* c (/ y2 j)) b))))
(if (<= y1 8.5e+218)
(* z (* k (- (* b y0) (* i y1))))
(* y1 (* y4 (- (* k y2) (* j 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 (y1 <= -7.2e+87) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -7.2e-123) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -3.2e-235) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 3.5e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 1.15e+31) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y1 <= 8.5e+218) {
tmp = z * (k * ((b * y0) - (i * y1)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= (-7.2d+87)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= (-7.2d-123)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y1 <= (-3.2d-235)) then
tmp = i * (y5 * ((y * k) - (t * j)))
else if (y1 <= 3.5d-167) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 1.15d+31) then
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)))
else if (y1 <= 8.5d+218) then
tmp = z * (k * ((b * y0) - (i * y1)))
else
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -7.2e+87) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -7.2e-123) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -3.2e-235) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 3.5e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 1.15e+31) {
tmp = x * (y0 * (j * ((c * (y2 / j)) - b)));
} else if (y1 <= 8.5e+218) {
tmp = z * (k * ((b * y0) - (i * y1)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -7.2e+87: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= -7.2e-123: tmp = t * (y4 * ((b * j) - (c * y2))) elif y1 <= -3.2e-235: tmp = i * (y5 * ((y * k) - (t * j))) elif y1 <= 3.5e-167: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 1.15e+31: tmp = x * (y0 * (j * ((c * (y2 / j)) - b))) elif y1 <= 8.5e+218: tmp = z * (k * ((b * y0) - (i * y1))) else: tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -7.2e+87) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= -7.2e-123) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= -3.2e-235) tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))); elseif (y1 <= 3.5e-167) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 1.15e+31) tmp = Float64(x * Float64(y0 * Float64(j * Float64(Float64(c * Float64(y2 / j)) - b)))); elseif (y1 <= 8.5e+218) tmp = Float64(z * Float64(k * Float64(Float64(b * y0) - Float64(i * y1)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * 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 (y1 <= -7.2e+87) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= -7.2e-123) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y1 <= -3.2e-235) tmp = i * (y5 * ((y * k) - (t * j))); elseif (y1 <= 3.5e-167) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 1.15e+31) tmp = x * (y0 * (j * ((c * (y2 / j)) - b))); elseif (y1 <= 8.5e+218) tmp = z * (k * ((b * y0) - (i * y1))); else tmp = y1 * (y4 * ((k * y2) - (j * 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[y1, -7.2e+87], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -7.2e-123], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.2e-235], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.5e-167], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.15e+31], N[(x * N[(y0 * N[(j * N[(N[(c * N[(y2 / j), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 8.5e+218], N[(z * N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -7.2 \cdot 10^{+87}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq -7.2 \cdot 10^{-123}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -3.2 \cdot 10^{-235}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 3.5 \cdot 10^{-167}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 1.15 \cdot 10^{+31}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(j \cdot \left(c \cdot \frac{y2}{j} - b\right)\right)\right)\\
\mathbf{elif}\;y1 \leq 8.5 \cdot 10^{+218}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -7.19999999999999988e87Initial program 36.9%
Taylor expanded in x around inf 54.6%
Taylor expanded in j around inf 50.8%
if -7.19999999999999988e87 < y1 < -7.1999999999999994e-123Initial program 38.4%
Taylor expanded in y4 around inf 36.4%
Taylor expanded in t around inf 47.9%
if -7.1999999999999994e-123 < y1 < -3.2000000000000001e-235Initial program 29.9%
Taylor expanded in y5 around -inf 71.4%
Taylor expanded in i around inf 70.8%
if -3.2000000000000001e-235 < y1 < 3.4999999999999999e-167Initial program 32.4%
Taylor expanded in b around inf 45.4%
Taylor expanded in y4 around inf 47.7%
if 3.4999999999999999e-167 < y1 < 1.15e31Initial program 29.0%
Taylor expanded in y0 around inf 49.4%
Taylor expanded in x around inf 49.5%
Taylor expanded in j around inf 49.5%
associate-/l*52.3%
Simplified52.3%
if 1.15e31 < y1 < 8.50000000000000041e218Initial program 37.6%
Taylor expanded in z around -inf 57.7%
Taylor expanded in k around inf 50.9%
if 8.50000000000000041e218 < y1 Initial program 22.2%
Taylor expanded in y4 around inf 52.1%
Taylor expanded in y1 around inf 59.6%
Final simplification53.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -1.5e+87)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 -4e-122)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y1 -1.05e-237)
(* i (* y5 (- (* y k) (* t j))))
(if (<= y1 9.8e-166)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 3.1e+29)
(* x (* y0 (* c (- y2 (/ (* b j) c)))))
(if (<= y1 1.25e+220)
(* z (* k (- (* b y0) (* i y1))))
(* y1 (* y4 (- (* k y2) (* j 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 (y1 <= -1.5e+87) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -4e-122) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -1.05e-237) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 9.8e-166) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 3.1e+29) {
tmp = x * (y0 * (c * (y2 - ((b * j) / c))));
} else if (y1 <= 1.25e+220) {
tmp = z * (k * ((b * y0) - (i * y1)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= (-1.5d+87)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= (-4d-122)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y1 <= (-1.05d-237)) then
tmp = i * (y5 * ((y * k) - (t * j)))
else if (y1 <= 9.8d-166) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 3.1d+29) then
tmp = x * (y0 * (c * (y2 - ((b * j) / c))))
else if (y1 <= 1.25d+220) then
tmp = z * (k * ((b * y0) - (i * y1)))
else
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -1.5e+87) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -4e-122) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= -1.05e-237) {
tmp = i * (y5 * ((y * k) - (t * j)));
} else if (y1 <= 9.8e-166) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 3.1e+29) {
tmp = x * (y0 * (c * (y2 - ((b * j) / c))));
} else if (y1 <= 1.25e+220) {
tmp = z * (k * ((b * y0) - (i * y1)));
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -1.5e+87: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= -4e-122: tmp = t * (y4 * ((b * j) - (c * y2))) elif y1 <= -1.05e-237: tmp = i * (y5 * ((y * k) - (t * j))) elif y1 <= 9.8e-166: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 3.1e+29: tmp = x * (y0 * (c * (y2 - ((b * j) / c)))) elif y1 <= 1.25e+220: tmp = z * (k * ((b * y0) - (i * y1))) else: tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -1.5e+87) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= -4e-122) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= -1.05e-237) tmp = Float64(i * Float64(y5 * Float64(Float64(y * k) - Float64(t * j)))); elseif (y1 <= 9.8e-166) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 3.1e+29) tmp = Float64(x * Float64(y0 * Float64(c * Float64(y2 - Float64(Float64(b * j) / c))))); elseif (y1 <= 1.25e+220) tmp = Float64(z * Float64(k * Float64(Float64(b * y0) - Float64(i * y1)))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * 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 (y1 <= -1.5e+87) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= -4e-122) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y1 <= -1.05e-237) tmp = i * (y5 * ((y * k) - (t * j))); elseif (y1 <= 9.8e-166) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 3.1e+29) tmp = x * (y0 * (c * (y2 - ((b * j) / c)))); elseif (y1 <= 1.25e+220) tmp = z * (k * ((b * y0) - (i * y1))); else tmp = y1 * (y4 * ((k * y2) - (j * 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[y1, -1.5e+87], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -4e-122], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.05e-237], N[(i * N[(y5 * N[(N[(y * k), $MachinePrecision] - N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 9.8e-166], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.1e+29], N[(x * N[(y0 * N[(c * N[(y2 - N[(N[(b * j), $MachinePrecision] / c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.25e+220], N[(z * N[(k * N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -1.5 \cdot 10^{+87}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq -4 \cdot 10^{-122}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq -1.05 \cdot 10^{-237}:\\
\;\;\;\;i \cdot \left(y5 \cdot \left(y \cdot k - t \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 9.8 \cdot 10^{-166}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+29}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot \left(y2 - \frac{b \cdot j}{c}\right)\right)\right)\\
\mathbf{elif}\;y1 \leq 1.25 \cdot 10^{+220}:\\
\;\;\;\;z \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -1.4999999999999999e87Initial program 36.9%
Taylor expanded in x around inf 54.6%
Taylor expanded in j around inf 50.8%
if -1.4999999999999999e87 < y1 < -4.00000000000000024e-122Initial program 38.4%
Taylor expanded in y4 around inf 36.4%
Taylor expanded in t around inf 47.9%
if -4.00000000000000024e-122 < y1 < -1.0500000000000001e-237Initial program 29.9%
Taylor expanded in y5 around -inf 71.4%
Taylor expanded in i around inf 70.8%
if -1.0500000000000001e-237 < y1 < 9.7999999999999998e-166Initial program 32.4%
Taylor expanded in b around inf 45.4%
Taylor expanded in y4 around inf 47.7%
if 9.7999999999999998e-166 < y1 < 3.0999999999999999e29Initial program 29.0%
Taylor expanded in y0 around inf 49.4%
Taylor expanded in x around inf 49.5%
Taylor expanded in c around inf 52.3%
mul-1-neg52.3%
unsub-neg52.3%
Simplified52.3%
if 3.0999999999999999e29 < y1 < 1.2500000000000001e220Initial program 37.6%
Taylor expanded in z around -inf 57.7%
Taylor expanded in k around inf 50.9%
if 1.2500000000000001e220 < y1 Initial program 22.2%
Taylor expanded in y4 around inf 52.1%
Taylor expanded in y1 around inf 59.6%
Final simplification53.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -2.05e+86)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 -3e-129)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y1 2.65e-167)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 2.8e+68)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y1 6.4e+133)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y1 1.35e+217)
(* (* i k) (* z (- y1)))
(* y1 (* y4 (- (* k y2) (* j 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 (y1 <= -2.05e+86) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -3e-129) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= 2.65e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 2.8e+68) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y1 <= 6.4e+133) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 1.35e+217) {
tmp = (i * k) * (z * -y1);
} else {
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= (-2.05d+86)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= (-3d-129)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y1 <= 2.65d-167) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 2.8d+68) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y1 <= 6.4d+133) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y1 <= 1.35d+217) then
tmp = (i * k) * (z * -y1)
else
tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -2.05e+86) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -3e-129) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= 2.65e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 2.8e+68) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y1 <= 6.4e+133) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 1.35e+217) {
tmp = (i * k) * (z * -y1);
} else {
tmp = y1 * (y4 * ((k * y2) - (j * y3)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -2.05e+86: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= -3e-129: tmp = t * (y4 * ((b * j) - (c * y2))) elif y1 <= 2.65e-167: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 2.8e+68: tmp = x * (y0 * ((c * y2) - (b * j))) elif y1 <= 6.4e+133: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y1 <= 1.35e+217: tmp = (i * k) * (z * -y1) else: tmp = y1 * (y4 * ((k * y2) - (j * 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 (y1 <= -2.05e+86) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= -3e-129) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= 2.65e-167) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 2.8e+68) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y1 <= 6.4e+133) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y1 <= 1.35e+217) tmp = Float64(Float64(i * k) * Float64(z * Float64(-y1))); else tmp = Float64(y1 * Float64(y4 * Float64(Float64(k * y2) - Float64(j * 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 (y1 <= -2.05e+86) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= -3e-129) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y1 <= 2.65e-167) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 2.8e+68) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y1 <= 6.4e+133) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y1 <= 1.35e+217) tmp = (i * k) * (z * -y1); else tmp = y1 * (y4 * ((k * y2) - (j * 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[y1, -2.05e+86], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3e-129], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.65e-167], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.8e+68], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6.4e+133], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.35e+217], N[(N[(i * k), $MachinePrecision] * N[(z * (-y1)), $MachinePrecision]), $MachinePrecision], N[(y1 * N[(y4 * N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -2.05 \cdot 10^{+86}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq -3 \cdot 10^{-129}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 2.65 \cdot 10^{-167}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 2.8 \cdot 10^{+68}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 6.4 \cdot 10^{+133}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 1.35 \cdot 10^{+217}:\\
\;\;\;\;\left(i \cdot k\right) \cdot \left(z \cdot \left(-y1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y1 \cdot \left(y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\\
\end{array}
\end{array}
if y1 < -2.05e86Initial program 36.9%
Taylor expanded in x around inf 54.6%
Taylor expanded in j around inf 50.8%
if -2.05e86 < y1 < -2.9999999999999998e-129Initial program 41.2%
Taylor expanded in y4 around inf 36.9%
Taylor expanded in t around inf 44.5%
if -2.9999999999999998e-129 < y1 < 2.65e-167Initial program 29.4%
Taylor expanded in b around inf 39.8%
Taylor expanded in y4 around inf 44.3%
if 2.65e-167 < y1 < 2.8e68Initial program 29.1%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in x around inf 43.8%
if 2.8e68 < y1 < 6.39999999999999994e133Initial program 39.9%
Taylor expanded in t around inf 60.9%
Taylor expanded in y2 around inf 70.5%
if 6.39999999999999994e133 < y1 < 1.35000000000000001e217Initial program 38.3%
Taylor expanded in z around -inf 54.1%
Taylor expanded in y1 around -inf 69.9%
mul-1-neg69.9%
Simplified69.9%
Taylor expanded in a around 0 62.4%
associate-*r*62.4%
*-commutative62.4%
Simplified62.4%
if 1.35000000000000001e217 < y1 Initial program 22.2%
Taylor expanded in y4 around inf 52.1%
Taylor expanded in y1 around inf 59.6%
Final simplification50.0%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -5.8e+86)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 -1.75e-130)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y1 2.2e-167)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 6.6e+68)
(* x (* y0 (- (* c y2) (* b j))))
(if (<= y1 6e+132)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y1 2.45e+270)
(* i (* (* z y1) (- k)))
(* t (* c (- (* z i) (* y2 y4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -5.8e+86) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -1.75e-130) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= 2.2e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 6.6e+68) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y1 <= 6e+132) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 2.45e+270) {
tmp = i * ((z * y1) * -k);
} else {
tmp = t * (c * ((z * i) - (y2 * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y1 <= (-5.8d+86)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= (-1.75d-130)) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y1 <= 2.2d-167) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 6.6d+68) then
tmp = x * (y0 * ((c * y2) - (b * j)))
else if (y1 <= 6d+132) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y1 <= 2.45d+270) then
tmp = i * ((z * y1) * -k)
else
tmp = t * (c * ((z * i) - (y2 * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -5.8e+86) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -1.75e-130) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y1 <= 2.2e-167) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 6.6e+68) {
tmp = x * (y0 * ((c * y2) - (b * j)));
} else if (y1 <= 6e+132) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y1 <= 2.45e+270) {
tmp = i * ((z * y1) * -k);
} else {
tmp = t * (c * ((z * i) - (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 y1 <= -5.8e+86: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= -1.75e-130: tmp = t * (y4 * ((b * j) - (c * y2))) elif y1 <= 2.2e-167: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 6.6e+68: tmp = x * (y0 * ((c * y2) - (b * j))) elif y1 <= 6e+132: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y1 <= 2.45e+270: tmp = i * ((z * y1) * -k) else: tmp = t * (c * ((z * i) - (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 (y1 <= -5.8e+86) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= -1.75e-130) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y1 <= 2.2e-167) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 6.6e+68) tmp = Float64(x * Float64(y0 * Float64(Float64(c * y2) - Float64(b * j)))); elseif (y1 <= 6e+132) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y1 <= 2.45e+270) tmp = Float64(i * Float64(Float64(z * y1) * Float64(-k))); else tmp = Float64(t * Float64(c * Float64(Float64(z * i) - Float64(y2 * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y1 <= -5.8e+86) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= -1.75e-130) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y1 <= 2.2e-167) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 6.6e+68) tmp = x * (y0 * ((c * y2) - (b * j))); elseif (y1 <= 6e+132) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y1 <= 2.45e+270) tmp = i * ((z * y1) * -k); else tmp = t * (c * ((z * i) - (y2 * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -5.8e+86], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.75e-130], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.2e-167], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6.6e+68], N[(x * N[(y0 * N[(N[(c * y2), $MachinePrecision] - N[(b * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 6e+132], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.45e+270], N[(i * N[(N[(z * y1), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -5.8 \cdot 10^{+86}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq -1.75 \cdot 10^{-130}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y1 \leq 2.2 \cdot 10^{-167}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 6.6 \cdot 10^{+68}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2 - b \cdot j\right)\right)\\
\mathbf{elif}\;y1 \leq 6 \cdot 10^{+132}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y1 \leq 2.45 \cdot 10^{+270}:\\
\;\;\;\;i \cdot \left(\left(z \cdot y1\right) \cdot \left(-k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y1 < -5.79999999999999981e86Initial program 36.9%
Taylor expanded in x around inf 54.6%
Taylor expanded in j around inf 50.8%
if -5.79999999999999981e86 < y1 < -1.75e-130Initial program 41.2%
Taylor expanded in y4 around inf 36.9%
Taylor expanded in t around inf 44.5%
if -1.75e-130 < y1 < 2.2e-167Initial program 29.4%
Taylor expanded in b around inf 39.8%
Taylor expanded in y4 around inf 44.3%
if 2.2e-167 < y1 < 6.6000000000000001e68Initial program 29.1%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in x around inf 43.8%
if 6.6000000000000001e68 < y1 < 5.9999999999999996e132Initial program 39.9%
Taylor expanded in t around inf 60.9%
Taylor expanded in y2 around inf 70.5%
if 5.9999999999999996e132 < y1 < 2.45000000000000023e270Initial program 30.9%
Taylor expanded in z around -inf 45.0%
Taylor expanded in y1 around -inf 57.2%
mul-1-neg57.2%
Simplified57.2%
Taylor expanded in a around 0 52.6%
if 2.45000000000000023e270 < y1 Initial program 18.2%
Taylor expanded in t around inf 72.7%
Taylor expanded in c around inf 64.8%
Final simplification49.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* t (* y2 (- (* a y5) (* c y4))))))
(if (<= y1 -3.4e+57)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 -1.9e-124)
t_1
(if (<= y1 1.16e-199)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 9.5e+66)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y1 3.5e+133)
t_1
(if (<= y1 5.5e+270)
(* i (* (* z y1) (- k)))
(* t (* c (- (* z i) (* y2 y4))))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = t * (y2 * ((a * y5) - (c * y4)));
double tmp;
if (y1 <= -3.4e+57) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -1.9e-124) {
tmp = t_1;
} else if (y1 <= 1.16e-199) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 9.5e+66) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y1 <= 3.5e+133) {
tmp = t_1;
} else if (y1 <= 5.5e+270) {
tmp = i * ((z * y1) * -k);
} else {
tmp = t * (c * ((z * i) - (y2 * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = t * (y2 * ((a * y5) - (c * y4)))
if (y1 <= (-3.4d+57)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= (-1.9d-124)) then
tmp = t_1
else if (y1 <= 1.16d-199) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 9.5d+66) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y1 <= 3.5d+133) then
tmp = t_1
else if (y1 <= 5.5d+270) then
tmp = i * ((z * y1) * -k)
else
tmp = t * (c * ((z * i) - (y2 * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = t * (y2 * ((a * y5) - (c * y4)));
double tmp;
if (y1 <= -3.4e+57) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= -1.9e-124) {
tmp = t_1;
} else if (y1 <= 1.16e-199) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 9.5e+66) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y1 <= 3.5e+133) {
tmp = t_1;
} else if (y1 <= 5.5e+270) {
tmp = i * ((z * y1) * -k);
} else {
tmp = t * (c * ((z * i) - (y2 * y4)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = t * (y2 * ((a * y5) - (c * y4))) tmp = 0 if y1 <= -3.4e+57: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= -1.9e-124: tmp = t_1 elif y1 <= 1.16e-199: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 9.5e+66: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y1 <= 3.5e+133: tmp = t_1 elif y1 <= 5.5e+270: tmp = i * ((z * y1) * -k) else: tmp = t * (c * ((z * i) - (y2 * y4))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))) tmp = 0.0 if (y1 <= -3.4e+57) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= -1.9e-124) tmp = t_1; elseif (y1 <= 1.16e-199) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 9.5e+66) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y1 <= 3.5e+133) tmp = t_1; elseif (y1 <= 5.5e+270) tmp = Float64(i * Float64(Float64(z * y1) * Float64(-k))); else tmp = Float64(t * Float64(c * Float64(Float64(z * i) - Float64(y2 * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = t * (y2 * ((a * y5) - (c * y4))); tmp = 0.0; if (y1 <= -3.4e+57) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= -1.9e-124) tmp = t_1; elseif (y1 <= 1.16e-199) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 9.5e+66) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y1 <= 3.5e+133) tmp = t_1; elseif (y1 <= 5.5e+270) tmp = i * ((z * y1) * -k); else tmp = t * (c * ((z * i) - (y2 * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -3.4e+57], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -1.9e-124], t$95$1, If[LessEqual[y1, 1.16e-199], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 9.5e+66], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 3.5e+133], t$95$1, If[LessEqual[y1, 5.5e+270], N[(i * N[(N[(z * y1), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{if}\;y1 \leq -3.4 \cdot 10^{+57}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq -1.9 \cdot 10^{-124}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq 1.16 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 9.5 \cdot 10^{+66}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq 3.5 \cdot 10^{+133}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y1 \leq 5.5 \cdot 10^{+270}:\\
\;\;\;\;i \cdot \left(\left(z \cdot y1\right) \cdot \left(-k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y1 < -3.39999999999999992e57Initial program 36.1%
Taylor expanded in x around inf 53.4%
Taylor expanded in j around inf 51.8%
if -3.39999999999999992e57 < y1 < -1.90000000000000006e-124 or 9.50000000000000051e66 < y1 < 3.4999999999999998e133Initial program 39.0%
Taylor expanded in t around inf 49.0%
Taylor expanded in y2 around inf 51.1%
if -1.90000000000000006e-124 < y1 < 1.16e-199Initial program 32.7%
Taylor expanded in b around inf 42.5%
Taylor expanded in y4 around inf 44.0%
if 1.16e-199 < y1 < 9.50000000000000051e66Initial program 28.5%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in c around inf 38.7%
if 3.4999999999999998e133 < y1 < 5.50000000000000002e270Initial program 30.9%
Taylor expanded in z around -inf 45.0%
Taylor expanded in y1 around -inf 57.2%
mul-1-neg57.2%
Simplified57.2%
Taylor expanded in a around 0 52.6%
if 5.50000000000000002e270 < y1 Initial program 18.2%
Taylor expanded in t around inf 72.7%
Taylor expanded in c around inf 64.8%
Final simplification47.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y0 -3e-5)
(* b (* x (- (* y a) (* j y0))))
(if (<= y0 -3e-99)
(* t (* y2 (- (* a y5) (* c y4))))
(if (<= y0 1.7e-141)
(* t (* y4 (- (* b j) (* c y2))))
(if (<= y0 2.25e+111)
(* t (* b (- (* j y4) (* z a))))
(if (<= y0 8e+199)
(* c (* y4 (- (* y y3) (* t y2))))
(* j (* y0 (- (* y3 y5) (* x b))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -3e-5) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y0 <= -3e-99) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 1.7e-141) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y0 <= 2.25e+111) {
tmp = t * (b * ((j * y4) - (z * a)));
} else if (y0 <= 8e+199) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y0 <= (-3d-5)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y0 <= (-3d-99)) then
tmp = t * (y2 * ((a * y5) - (c * y4)))
else if (y0 <= 1.7d-141) then
tmp = t * (y4 * ((b * j) - (c * y2)))
else if (y0 <= 2.25d+111) then
tmp = t * (b * ((j * y4) - (z * a)))
else if (y0 <= 8d+199) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else
tmp = j * (y0 * ((y3 * y5) - (x * b)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y0 <= -3e-5) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y0 <= -3e-99) {
tmp = t * (y2 * ((a * y5) - (c * y4)));
} else if (y0 <= 1.7e-141) {
tmp = t * (y4 * ((b * j) - (c * y2)));
} else if (y0 <= 2.25e+111) {
tmp = t * (b * ((j * y4) - (z * a)));
} else if (y0 <= 8e+199) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else {
tmp = j * (y0 * ((y3 * y5) - (x * b)));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y0 <= -3e-5: tmp = b * (x * ((y * a) - (j * y0))) elif y0 <= -3e-99: tmp = t * (y2 * ((a * y5) - (c * y4))) elif y0 <= 1.7e-141: tmp = t * (y4 * ((b * j) - (c * y2))) elif y0 <= 2.25e+111: tmp = t * (b * ((j * y4) - (z * a))) elif y0 <= 8e+199: tmp = c * (y4 * ((y * y3) - (t * y2))) else: tmp = j * (y0 * ((y3 * y5) - (x * b))) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y0 <= -3e-5) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y0 <= -3e-99) tmp = Float64(t * Float64(y2 * Float64(Float64(a * y5) - Float64(c * y4)))); elseif (y0 <= 1.7e-141) tmp = Float64(t * Float64(y4 * Float64(Float64(b * j) - Float64(c * y2)))); elseif (y0 <= 2.25e+111) tmp = Float64(t * Float64(b * Float64(Float64(j * y4) - Float64(z * a)))); elseif (y0 <= 8e+199) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); else tmp = Float64(j * Float64(y0 * Float64(Float64(y3 * y5) - Float64(x * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y0 <= -3e-5) tmp = b * (x * ((y * a) - (j * y0))); elseif (y0 <= -3e-99) tmp = t * (y2 * ((a * y5) - (c * y4))); elseif (y0 <= 1.7e-141) tmp = t * (y4 * ((b * j) - (c * y2))); elseif (y0 <= 2.25e+111) tmp = t * (b * ((j * y4) - (z * a))); elseif (y0 <= 8e+199) tmp = c * (y4 * ((y * y3) - (t * y2))); else tmp = j * (y0 * ((y3 * y5) - (x * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y0, -3e-5], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, -3e-99], N[(t * N[(y2 * N[(N[(a * y5), $MachinePrecision] - N[(c * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 1.7e-141], N[(t * N[(y4 * N[(N[(b * j), $MachinePrecision] - N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 2.25e+111], N[(t * N[(b * N[(N[(j * y4), $MachinePrecision] - N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y0, 8e+199], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(y0 * N[(N[(y3 * y5), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y0 \leq -3 \cdot 10^{-5}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y0 \leq -3 \cdot 10^{-99}:\\
\;\;\;\;t \cdot \left(y2 \cdot \left(a \cdot y5 - c \cdot y4\right)\right)\\
\mathbf{elif}\;y0 \leq 1.7 \cdot 10^{-141}:\\
\;\;\;\;t \cdot \left(y4 \cdot \left(b \cdot j - c \cdot y2\right)\right)\\
\mathbf{elif}\;y0 \leq 2.25 \cdot 10^{+111}:\\
\;\;\;\;t \cdot \left(b \cdot \left(j \cdot y4 - z \cdot a\right)\right)\\
\mathbf{elif}\;y0 \leq 8 \cdot 10^{+199}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5 - x \cdot b\right)\right)\\
\end{array}
\end{array}
if y0 < -3.00000000000000008e-5Initial program 27.8%
Taylor expanded in b around inf 47.8%
Taylor expanded in x around inf 42.8%
if -3.00000000000000008e-5 < y0 < -3.00000000000000006e-99Initial program 26.7%
Taylor expanded in t around inf 44.6%
Taylor expanded in y2 around inf 44.5%
if -3.00000000000000006e-99 < y0 < 1.6999999999999999e-141Initial program 38.9%
Taylor expanded in y4 around inf 44.4%
Taylor expanded in t around inf 47.2%
if 1.6999999999999999e-141 < y0 < 2.25e111Initial program 40.7%
Taylor expanded in t around inf 28.3%
Taylor expanded in b around inf 43.5%
+-commutative43.5%
mul-1-neg43.5%
unsub-neg43.5%
*-commutative43.5%
Simplified43.5%
if 2.25e111 < y0 < 8.00000000000000078e199Initial program 15.5%
Taylor expanded in y4 around inf 43.4%
Taylor expanded in c around inf 58.0%
if 8.00000000000000078e199 < y0 Initial program 29.9%
Taylor expanded in y0 around inf 80.0%
Taylor expanded in j around inf 65.9%
Final simplification47.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -2.2e+114)
(* t (* c (* z i)))
(if (<= z -1.85e-124)
(* (* x c) (* y0 y2))
(if (<= z 1.65e-221)
(* b (* (* t j) y4))
(if (<= z 1.05e+19)
(* a (* (* x y) b))
(if (<= z 1e+143) (* t (* a (* z (- b)))) (* b (* k (* z y0)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -2.2e+114) {
tmp = t * (c * (z * i));
} else if (z <= -1.85e-124) {
tmp = (x * c) * (y0 * y2);
} else if (z <= 1.65e-221) {
tmp = b * ((t * j) * y4);
} else if (z <= 1.05e+19) {
tmp = a * ((x * y) * b);
} else if (z <= 1e+143) {
tmp = t * (a * (z * -b));
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (z <= (-2.2d+114)) then
tmp = t * (c * (z * i))
else if (z <= (-1.85d-124)) then
tmp = (x * c) * (y0 * y2)
else if (z <= 1.65d-221) then
tmp = b * ((t * j) * y4)
else if (z <= 1.05d+19) then
tmp = a * ((x * y) * b)
else if (z <= 1d+143) then
tmp = t * (a * (z * -b))
else
tmp = b * (k * (z * y0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -2.2e+114) {
tmp = t * (c * (z * i));
} else if (z <= -1.85e-124) {
tmp = (x * c) * (y0 * y2);
} else if (z <= 1.65e-221) {
tmp = b * ((t * j) * y4);
} else if (z <= 1.05e+19) {
tmp = a * ((x * y) * b);
} else if (z <= 1e+143) {
tmp = t * (a * (z * -b));
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -2.2e+114: tmp = t * (c * (z * i)) elif z <= -1.85e-124: tmp = (x * c) * (y0 * y2) elif z <= 1.65e-221: tmp = b * ((t * j) * y4) elif z <= 1.05e+19: tmp = a * ((x * y) * b) elif z <= 1e+143: tmp = t * (a * (z * -b)) else: tmp = b * (k * (z * y0)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -2.2e+114) tmp = Float64(t * Float64(c * Float64(z * i))); elseif (z <= -1.85e-124) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (z <= 1.65e-221) tmp = Float64(b * Float64(Float64(t * j) * y4)); elseif (z <= 1.05e+19) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (z <= 1e+143) tmp = Float64(t * Float64(a * Float64(z * Float64(-b)))); else tmp = Float64(b * Float64(k * Float64(z * y0))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (z <= -2.2e+114) tmp = t * (c * (z * i)); elseif (z <= -1.85e-124) tmp = (x * c) * (y0 * y2); elseif (z <= 1.65e-221) tmp = b * ((t * j) * y4); elseif (z <= 1.05e+19) tmp = a * ((x * y) * b); elseif (z <= 1e+143) tmp = t * (a * (z * -b)); else tmp = b * (k * (z * y0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -2.2e+114], N[(t * N[(c * N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.85e-124], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.65e-221], N[(b * N[(N[(t * j), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.05e+19], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1e+143], N[(t * N[(a * N[(z * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.2 \cdot 10^{+114}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i\right)\right)\\
\mathbf{elif}\;z \leq -1.85 \cdot 10^{-124}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;z \leq 1.65 \cdot 10^{-221}:\\
\;\;\;\;b \cdot \left(\left(t \cdot j\right) \cdot y4\right)\\
\mathbf{elif}\;z \leq 1.05 \cdot 10^{+19}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;z \leq 10^{+143}:\\
\;\;\;\;t \cdot \left(a \cdot \left(z \cdot \left(-b\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\end{array}
\end{array}
if z < -2.2e114Initial program 29.5%
Taylor expanded in t around inf 36.2%
Taylor expanded in z around inf 33.5%
mul-1-neg33.5%
distribute-rgt-neg-in33.5%
distribute-rgt-neg-in33.5%
Simplified33.5%
Taylor expanded in a around 0 33.7%
*-commutative33.7%
Simplified33.7%
if -2.2e114 < z < -1.84999999999999995e-124Initial program 29.6%
Taylor expanded in y0 around inf 43.7%
Taylor expanded in x around inf 44.4%
Taylor expanded in c around inf 31.1%
associate-*r*33.2%
Simplified33.2%
if -1.84999999999999995e-124 < z < 1.64999999999999995e-221Initial program 32.8%
Taylor expanded in b around inf 36.4%
Taylor expanded in y4 around inf 33.9%
Taylor expanded in j around inf 27.8%
*-commutative27.8%
Simplified27.8%
if 1.64999999999999995e-221 < z < 1.05e19Initial program 40.8%
Taylor expanded in b around inf 36.2%
Taylor expanded in a around inf 33.3%
Taylor expanded in x around inf 31.8%
if 1.05e19 < z < 1e143Initial program 38.2%
Taylor expanded in b around inf 38.5%
Taylor expanded in a around inf 32.4%
Taylor expanded in x around 0 29.2%
associate-*r*29.2%
mul-1-neg29.2%
*-commutative29.2%
Simplified29.2%
Taylor expanded in a around 0 29.2%
associate-*r*29.2%
neg-mul-129.2%
*-commutative29.2%
associate-*l*32.5%
associate-*r*35.7%
Simplified35.7%
if 1e143 < z Initial program 21.6%
Taylor expanded in b around inf 35.5%
Taylor expanded in k around -inf 49.1%
associate-*r*49.1%
neg-mul-149.1%
Simplified49.1%
Taylor expanded in y around 0 49.2%
Final simplification34.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= j -6.5e+186)
(* x (* (- b) (* j y0)))
(if (<= j -1.35e-254)
(* b (* y4 (* y (- k))))
(if (<= j 5.6e-114)
(* (* x c) (* y0 y2))
(if (<= j 6.2e+23)
(* c (* i (* z t)))
(if (<= j 4.5e+251)
(* (* b j) (* t y4))
(* b (* (* x j) (- 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 <= -6.5e+186) {
tmp = x * (-b * (j * y0));
} else if (j <= -1.35e-254) {
tmp = b * (y4 * (y * -k));
} else if (j <= 5.6e-114) {
tmp = (x * c) * (y0 * y2);
} else if (j <= 6.2e+23) {
tmp = c * (i * (z * t));
} else if (j <= 4.5e+251) {
tmp = (b * j) * (t * y4);
} else {
tmp = b * ((x * j) * -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 <= (-6.5d+186)) then
tmp = x * (-b * (j * y0))
else if (j <= (-1.35d-254)) then
tmp = b * (y4 * (y * -k))
else if (j <= 5.6d-114) then
tmp = (x * c) * (y0 * y2)
else if (j <= 6.2d+23) then
tmp = c * (i * (z * t))
else if (j <= 4.5d+251) then
tmp = (b * j) * (t * y4)
else
tmp = b * ((x * j) * -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 <= -6.5e+186) {
tmp = x * (-b * (j * y0));
} else if (j <= -1.35e-254) {
tmp = b * (y4 * (y * -k));
} else if (j <= 5.6e-114) {
tmp = (x * c) * (y0 * y2);
} else if (j <= 6.2e+23) {
tmp = c * (i * (z * t));
} else if (j <= 4.5e+251) {
tmp = (b * j) * (t * y4);
} else {
tmp = b * ((x * j) * -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 <= -6.5e+186: tmp = x * (-b * (j * y0)) elif j <= -1.35e-254: tmp = b * (y4 * (y * -k)) elif j <= 5.6e-114: tmp = (x * c) * (y0 * y2) elif j <= 6.2e+23: tmp = c * (i * (z * t)) elif j <= 4.5e+251: tmp = (b * j) * (t * y4) else: tmp = b * ((x * j) * -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 <= -6.5e+186) tmp = Float64(x * Float64(Float64(-b) * Float64(j * y0))); elseif (j <= -1.35e-254) tmp = Float64(b * Float64(y4 * Float64(y * Float64(-k)))); elseif (j <= 5.6e-114) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (j <= 6.2e+23) tmp = Float64(c * Float64(i * Float64(z * t))); elseif (j <= 4.5e+251) tmp = Float64(Float64(b * j) * Float64(t * y4)); else tmp = Float64(b * Float64(Float64(x * j) * 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 <= -6.5e+186) tmp = x * (-b * (j * y0)); elseif (j <= -1.35e-254) tmp = b * (y4 * (y * -k)); elseif (j <= 5.6e-114) tmp = (x * c) * (y0 * y2); elseif (j <= 6.2e+23) tmp = c * (i * (z * t)); elseif (j <= 4.5e+251) tmp = (b * j) * (t * y4); else tmp = b * ((x * j) * -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, -6.5e+186], N[(x * N[((-b) * N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, -1.35e-254], N[(b * N[(y4 * N[(y * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.6e-114], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6.2e+23], N[(c * N[(i * N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 4.5e+251], N[(N[(b * j), $MachinePrecision] * N[(t * y4), $MachinePrecision]), $MachinePrecision], N[(b * N[(N[(x * j), $MachinePrecision] * (-y0)), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -6.5 \cdot 10^{+186}:\\
\;\;\;\;x \cdot \left(\left(-b\right) \cdot \left(j \cdot y0\right)\right)\\
\mathbf{elif}\;j \leq -1.35 \cdot 10^{-254}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(y \cdot \left(-k\right)\right)\right)\\
\mathbf{elif}\;j \leq 5.6 \cdot 10^{-114}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;j \leq 6.2 \cdot 10^{+23}:\\
\;\;\;\;c \cdot \left(i \cdot \left(z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 4.5 \cdot 10^{+251}:\\
\;\;\;\;\left(b \cdot j\right) \cdot \left(t \cdot y4\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(\left(x \cdot j\right) \cdot \left(-y0\right)\right)\\
\end{array}
\end{array}
if j < -6.4999999999999997e186Initial program 26.2%
Taylor expanded in y0 around inf 27.0%
Taylor expanded in x around inf 48.5%
Taylor expanded in c around 0 45.2%
associate-*r*45.2%
neg-mul-145.2%
Simplified45.2%
if -6.4999999999999997e186 < j < -1.35000000000000003e-254Initial program 29.1%
Taylor expanded in b around inf 38.2%
Taylor expanded in y4 around inf 36.1%
Taylor expanded in j around 0 31.4%
*-commutative31.4%
neg-mul-131.4%
distribute-lft-neg-in31.4%
Simplified31.4%
if -1.35000000000000003e-254 < j < 5.6000000000000003e-114Initial program 49.2%
Taylor expanded in y0 around inf 43.3%
Taylor expanded in x around inf 23.4%
Taylor expanded in c around inf 23.4%
associate-*r*25.0%
Simplified25.0%
if 5.6000000000000003e-114 < j < 6.19999999999999941e23Initial program 18.2%
Taylor expanded in t around inf 27.2%
Taylor expanded in z around inf 27.5%
mul-1-neg27.5%
distribute-rgt-neg-in27.5%
distribute-rgt-neg-in27.5%
Simplified27.5%
Taylor expanded in a around 0 36.0%
*-commutative36.0%
Simplified36.0%
if 6.19999999999999941e23 < j < 4.4999999999999998e251Initial program 30.2%
Taylor expanded in b around inf 29.2%
Taylor expanded in y4 around inf 39.3%
Taylor expanded in j around inf 33.7%
associate-*r*37.4%
Simplified37.4%
if 4.4999999999999998e251 < j Initial program 35.7%
Taylor expanded in y0 around inf 50.4%
Taylor expanded in x around inf 50.1%
Taylor expanded in c around 0 57.4%
associate-*r*57.4%
neg-mul-157.4%
associate-*r*57.4%
Simplified57.4%
Final simplification34.4%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -3.8e+115)
(* t (* c (* z i)))
(if (<= z -3.5e-124)
(* (* x c) (* y0 y2))
(if (<= z 3.7e-221)
(* b (* (* t j) y4))
(if (<= z 3.4e+18)
(* a (* (* x y) b))
(if (<= z 1.42e+141)
(* t (* z (* a (- b))))
(* b (* k (* z y0)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -3.8e+115) {
tmp = t * (c * (z * i));
} else if (z <= -3.5e-124) {
tmp = (x * c) * (y0 * y2);
} else if (z <= 3.7e-221) {
tmp = b * ((t * j) * y4);
} else if (z <= 3.4e+18) {
tmp = a * ((x * y) * b);
} else if (z <= 1.42e+141) {
tmp = t * (z * (a * -b));
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (z <= (-3.8d+115)) then
tmp = t * (c * (z * i))
else if (z <= (-3.5d-124)) then
tmp = (x * c) * (y0 * y2)
else if (z <= 3.7d-221) then
tmp = b * ((t * j) * y4)
else if (z <= 3.4d+18) then
tmp = a * ((x * y) * b)
else if (z <= 1.42d+141) then
tmp = t * (z * (a * -b))
else
tmp = b * (k * (z * y0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -3.8e+115) {
tmp = t * (c * (z * i));
} else if (z <= -3.5e-124) {
tmp = (x * c) * (y0 * y2);
} else if (z <= 3.7e-221) {
tmp = b * ((t * j) * y4);
} else if (z <= 3.4e+18) {
tmp = a * ((x * y) * b);
} else if (z <= 1.42e+141) {
tmp = t * (z * (a * -b));
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -3.8e+115: tmp = t * (c * (z * i)) elif z <= -3.5e-124: tmp = (x * c) * (y0 * y2) elif z <= 3.7e-221: tmp = b * ((t * j) * y4) elif z <= 3.4e+18: tmp = a * ((x * y) * b) elif z <= 1.42e+141: tmp = t * (z * (a * -b)) else: tmp = b * (k * (z * y0)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -3.8e+115) tmp = Float64(t * Float64(c * Float64(z * i))); elseif (z <= -3.5e-124) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (z <= 3.7e-221) tmp = Float64(b * Float64(Float64(t * j) * y4)); elseif (z <= 3.4e+18) tmp = Float64(a * Float64(Float64(x * y) * b)); elseif (z <= 1.42e+141) tmp = Float64(t * Float64(z * Float64(a * Float64(-b)))); else tmp = Float64(b * Float64(k * Float64(z * y0))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (z <= -3.8e+115) tmp = t * (c * (z * i)); elseif (z <= -3.5e-124) tmp = (x * c) * (y0 * y2); elseif (z <= 3.7e-221) tmp = b * ((t * j) * y4); elseif (z <= 3.4e+18) tmp = a * ((x * y) * b); elseif (z <= 1.42e+141) tmp = t * (z * (a * -b)); else tmp = b * (k * (z * y0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -3.8e+115], N[(t * N[(c * N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -3.5e-124], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.7e-221], N[(b * N[(N[(t * j), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.4e+18], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.42e+141], N[(t * N[(z * N[(a * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.8 \cdot 10^{+115}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i\right)\right)\\
\mathbf{elif}\;z \leq -3.5 \cdot 10^{-124}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;z \leq 3.7 \cdot 10^{-221}:\\
\;\;\;\;b \cdot \left(\left(t \cdot j\right) \cdot y4\right)\\
\mathbf{elif}\;z \leq 3.4 \cdot 10^{+18}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{elif}\;z \leq 1.42 \cdot 10^{+141}:\\
\;\;\;\;t \cdot \left(z \cdot \left(a \cdot \left(-b\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\end{array}
\end{array}
if z < -3.8000000000000001e115Initial program 29.5%
Taylor expanded in t around inf 36.2%
Taylor expanded in z around inf 33.5%
mul-1-neg33.5%
distribute-rgt-neg-in33.5%
distribute-rgt-neg-in33.5%
Simplified33.5%
Taylor expanded in a around 0 33.7%
*-commutative33.7%
Simplified33.7%
if -3.8000000000000001e115 < z < -3.4999999999999999e-124Initial program 29.6%
Taylor expanded in y0 around inf 43.7%
Taylor expanded in x around inf 44.4%
Taylor expanded in c around inf 31.1%
associate-*r*33.2%
Simplified33.2%
if -3.4999999999999999e-124 < z < 3.69999999999999985e-221Initial program 32.8%
Taylor expanded in b around inf 36.4%
Taylor expanded in y4 around inf 33.9%
Taylor expanded in j around inf 27.8%
*-commutative27.8%
Simplified27.8%
if 3.69999999999999985e-221 < z < 3.4e18Initial program 40.8%
Taylor expanded in b around inf 36.2%
Taylor expanded in a around inf 33.3%
Taylor expanded in x around inf 31.8%
if 3.4e18 < z < 1.42000000000000005e141Initial program 38.2%
Taylor expanded in t around inf 38.8%
Taylor expanded in z around inf 32.5%
mul-1-neg32.5%
distribute-rgt-neg-in32.5%
distribute-rgt-neg-in32.5%
Simplified32.5%
Taylor expanded in a around inf 32.3%
associate-*r*32.3%
neg-mul-132.3%
Simplified32.3%
if 1.42000000000000005e141 < z Initial program 21.6%
Taylor expanded in b around inf 35.5%
Taylor expanded in k around -inf 49.1%
associate-*r*49.1%
neg-mul-149.1%
Simplified49.1%
Taylor expanded in y around 0 49.2%
Final simplification34.1%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -9e-99)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 1.25e-199)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 1.5e+69)
(* c (* y0 (- (* x y2) (* z y3))))
(if (<= y1 2.1e+273)
(* i (* (* z y1) (- k)))
(* t (* c (- (* z i) (* y2 y4)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -9e-99) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= 1.25e-199) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 1.5e+69) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y1 <= 2.1e+273) {
tmp = i * ((z * y1) * -k);
} else {
tmp = t * (c * ((z * i) - (y2 * y4)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (y1 <= (-9d-99)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= 1.25d-199) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 1.5d+69) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else if (y1 <= 2.1d+273) then
tmp = i * ((z * y1) * -k)
else
tmp = t * (c * ((z * i) - (y2 * y4)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (y1 <= -9e-99) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= 1.25e-199) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 1.5e+69) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else if (y1 <= 2.1e+273) {
tmp = i * ((z * y1) * -k);
} else {
tmp = t * (c * ((z * i) - (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 y1 <= -9e-99: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= 1.25e-199: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 1.5e+69: tmp = c * (y0 * ((x * y2) - (z * y3))) elif y1 <= 2.1e+273: tmp = i * ((z * y1) * -k) else: tmp = t * (c * ((z * i) - (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 (y1 <= -9e-99) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= 1.25e-199) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 1.5e+69) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); elseif (y1 <= 2.1e+273) tmp = Float64(i * Float64(Float64(z * y1) * Float64(-k))); else tmp = Float64(t * Float64(c * Float64(Float64(z * i) - Float64(y2 * y4)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (y1 <= -9e-99) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= 1.25e-199) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 1.5e+69) tmp = c * (y0 * ((x * y2) - (z * y3))); elseif (y1 <= 2.1e+273) tmp = i * ((z * y1) * -k); else tmp = t * (c * ((z * i) - (y2 * y4))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -9e-99], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.25e-199], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.5e+69], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.1e+273], N[(i * N[(N[(z * y1), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * N[(N[(z * i), $MachinePrecision] - N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -9 \cdot 10^{-99}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 1.25 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 1.5 \cdot 10^{+69}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{elif}\;y1 \leq 2.1 \cdot 10^{+273}:\\
\;\;\;\;i \cdot \left(\left(z \cdot y1\right) \cdot \left(-k\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i - y2 \cdot y4\right)\right)\\
\end{array}
\end{array}
if y1 < -9.0000000000000006e-99Initial program 36.9%
Taylor expanded in x around inf 49.6%
Taylor expanded in j around inf 41.9%
if -9.0000000000000006e-99 < y1 < 1.2499999999999999e-199Initial program 33.4%
Taylor expanded in b around inf 42.0%
Taylor expanded in y4 around inf 43.5%
if 1.2499999999999999e-199 < y1 < 1.49999999999999992e69Initial program 28.5%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in c around inf 38.7%
if 1.49999999999999992e69 < y1 < 2.10000000000000002e273Initial program 34.6%
Taylor expanded in z around -inf 49.2%
Taylor expanded in y1 around -inf 46.4%
mul-1-neg46.4%
Simplified46.4%
Taylor expanded in a around 0 49.9%
if 2.10000000000000002e273 < y1 Initial program 18.2%
Taylor expanded in t around inf 72.7%
Taylor expanded in c around inf 64.8%
Final simplification44.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= k -1.32e+98)
(* b (* y4 (- (* t j) (* y k))))
(if (<= k -1.55e-252)
(* c (* y4 (- (* y y3) (* t y2))))
(if (<= k 4.8e-182)
(* b (* j (- (* t y4) (* x y0))))
(if (<= k 5.2e+94)
(* a (* b (- (* x y) (* z t))))
(* z (* y1 (* i (- 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 tmp;
if (k <= -1.32e+98) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (k <= -1.55e-252) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (k <= 4.8e-182) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (k <= 5.2e+94) {
tmp = a * (b * ((x * y) - (z * t)));
} else {
tmp = z * (y1 * (i * -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) :: tmp
if (k <= (-1.32d+98)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (k <= (-1.55d-252)) then
tmp = c * (y4 * ((y * y3) - (t * y2)))
else if (k <= 4.8d-182) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (k <= 5.2d+94) then
tmp = a * (b * ((x * y) - (z * t)))
else
tmp = z * (y1 * (i * -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 tmp;
if (k <= -1.32e+98) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (k <= -1.55e-252) {
tmp = c * (y4 * ((y * y3) - (t * y2)));
} else if (k <= 4.8e-182) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (k <= 5.2e+94) {
tmp = a * (b * ((x * y) - (z * t)));
} else {
tmp = z * (y1 * (i * -k));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if k <= -1.32e+98: tmp = b * (y4 * ((t * j) - (y * k))) elif k <= -1.55e-252: tmp = c * (y4 * ((y * y3) - (t * y2))) elif k <= 4.8e-182: tmp = b * (j * ((t * y4) - (x * y0))) elif k <= 5.2e+94: tmp = a * (b * ((x * y) - (z * t))) else: tmp = z * (y1 * (i * -k)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (k <= -1.32e+98) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (k <= -1.55e-252) tmp = Float64(c * Float64(y4 * Float64(Float64(y * y3) - Float64(t * y2)))); elseif (k <= 4.8e-182) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (k <= 5.2e+94) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); else tmp = Float64(z * Float64(y1 * Float64(i * Float64(-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) tmp = 0.0; if (k <= -1.32e+98) tmp = b * (y4 * ((t * j) - (y * k))); elseif (k <= -1.55e-252) tmp = c * (y4 * ((y * y3) - (t * y2))); elseif (k <= 4.8e-182) tmp = b * (j * ((t * y4) - (x * y0))); elseif (k <= 5.2e+94) tmp = a * (b * ((x * y) - (z * t))); else tmp = z * (y1 * (i * -k)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[k, -1.32e+98], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -1.55e-252], N[(c * N[(y4 * N[(N[(y * y3), $MachinePrecision] - N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 4.8e-182], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 5.2e+94], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(y1 * N[(i * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;k \leq -1.32 \cdot 10^{+98}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;k \leq -1.55 \cdot 10^{-252}:\\
\;\;\;\;c \cdot \left(y4 \cdot \left(y \cdot y3 - t \cdot y2\right)\right)\\
\mathbf{elif}\;k \leq 4.8 \cdot 10^{-182}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;k \leq 5.2 \cdot 10^{+94}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(y1 \cdot \left(i \cdot \left(-k\right)\right)\right)\\
\end{array}
\end{array}
if k < -1.3200000000000001e98Initial program 33.5%
Taylor expanded in b around inf 42.3%
Taylor expanded in y4 around inf 48.0%
if -1.3200000000000001e98 < k < -1.5499999999999999e-252Initial program 30.1%
Taylor expanded in y4 around inf 47.0%
Taylor expanded in c around inf 37.1%
if -1.5499999999999999e-252 < k < 4.7999999999999997e-182Initial program 47.1%
Taylor expanded in b around inf 42.0%
Taylor expanded in j around inf 50.8%
if 4.7999999999999997e-182 < k < 5.1999999999999998e94Initial program 40.0%
Taylor expanded in b around inf 30.1%
Taylor expanded in a around inf 37.0%
if 5.1999999999999998e94 < k Initial program 15.4%
Taylor expanded in z around -inf 39.5%
Taylor expanded in y1 around -inf 49.2%
mul-1-neg49.2%
Simplified49.2%
Taylor expanded in a around 0 44.8%
neg-mul-144.8%
distribute-rgt-neg-in44.8%
Simplified44.8%
Final simplification41.8%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* a (* b (- (* x y) (* z t))))))
(if (<= k -1.32e+98)
(* b (* y4 (* y (- k))))
(if (<= k -2.7e-210)
t_1
(if (<= k 3.1e-183)
(* x (* (- b) (* j y0)))
(if (<= k 6.3e+91) t_1 (* z (* y1 (* i (- 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 = a * (b * ((x * y) - (z * t)));
double tmp;
if (k <= -1.32e+98) {
tmp = b * (y4 * (y * -k));
} else if (k <= -2.7e-210) {
tmp = t_1;
} else if (k <= 3.1e-183) {
tmp = x * (-b * (j * y0));
} else if (k <= 6.3e+91) {
tmp = t_1;
} else {
tmp = z * (y1 * (i * -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 = a * (b * ((x * y) - (z * t)))
if (k <= (-1.32d+98)) then
tmp = b * (y4 * (y * -k))
else if (k <= (-2.7d-210)) then
tmp = t_1
else if (k <= 3.1d-183) then
tmp = x * (-b * (j * y0))
else if (k <= 6.3d+91) then
tmp = t_1
else
tmp = z * (y1 * (i * -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 = a * (b * ((x * y) - (z * t)));
double tmp;
if (k <= -1.32e+98) {
tmp = b * (y4 * (y * -k));
} else if (k <= -2.7e-210) {
tmp = t_1;
} else if (k <= 3.1e-183) {
tmp = x * (-b * (j * y0));
} else if (k <= 6.3e+91) {
tmp = t_1;
} else {
tmp = z * (y1 * (i * -k));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = a * (b * ((x * y) - (z * t))) tmp = 0 if k <= -1.32e+98: tmp = b * (y4 * (y * -k)) elif k <= -2.7e-210: tmp = t_1 elif k <= 3.1e-183: tmp = x * (-b * (j * y0)) elif k <= 6.3e+91: tmp = t_1 else: tmp = z * (y1 * (i * -k)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))) tmp = 0.0 if (k <= -1.32e+98) tmp = Float64(b * Float64(y4 * Float64(y * Float64(-k)))); elseif (k <= -2.7e-210) tmp = t_1; elseif (k <= 3.1e-183) tmp = Float64(x * Float64(Float64(-b) * Float64(j * y0))); elseif (k <= 6.3e+91) tmp = t_1; else tmp = Float64(z * Float64(y1 * Float64(i * Float64(-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 = a * (b * ((x * y) - (z * t))); tmp = 0.0; if (k <= -1.32e+98) tmp = b * (y4 * (y * -k)); elseif (k <= -2.7e-210) tmp = t_1; elseif (k <= 3.1e-183) tmp = x * (-b * (j * y0)); elseif (k <= 6.3e+91) tmp = t_1; else tmp = z * (y1 * (i * -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[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -1.32e+98], N[(b * N[(y4 * N[(y * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, -2.7e-210], t$95$1, If[LessEqual[k, 3.1e-183], N[(x * N[((-b) * N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[k, 6.3e+91], t$95$1, N[(z * N[(y1 * N[(i * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{if}\;k \leq -1.32 \cdot 10^{+98}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(y \cdot \left(-k\right)\right)\right)\\
\mathbf{elif}\;k \leq -2.7 \cdot 10^{-210}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;k \leq 3.1 \cdot 10^{-183}:\\
\;\;\;\;x \cdot \left(\left(-b\right) \cdot \left(j \cdot y0\right)\right)\\
\mathbf{elif}\;k \leq 6.3 \cdot 10^{+91}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(y1 \cdot \left(i \cdot \left(-k\right)\right)\right)\\
\end{array}
\end{array}
if k < -1.3200000000000001e98Initial program 33.5%
Taylor expanded in b around inf 42.3%
Taylor expanded in y4 around inf 48.0%
Taylor expanded in j around 0 40.3%
*-commutative40.3%
neg-mul-140.3%
distribute-lft-neg-in40.3%
Simplified40.3%
if -1.3200000000000001e98 < k < -2.69999999999999992e-210 or 3.1e-183 < k < 6.3e91Initial program 35.9%
Taylor expanded in b around inf 34.0%
Taylor expanded in a around inf 32.5%
if -2.69999999999999992e-210 < k < 3.1e-183Initial program 42.9%
Taylor expanded in y0 around inf 45.9%
Taylor expanded in x around inf 45.8%
Taylor expanded in c around 0 41.3%
associate-*r*41.3%
neg-mul-141.3%
Simplified41.3%
if 6.3e91 < k Initial program 15.4%
Taylor expanded in z around -inf 39.5%
Taylor expanded in y1 around -inf 49.2%
mul-1-neg49.2%
Simplified49.2%
Taylor expanded in a around 0 44.8%
neg-mul-144.8%
distribute-rgt-neg-in44.8%
Simplified44.8%
Final simplification37.3%
(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) (- k)))))
(if (<= z -6.5e+183)
t_1
(if (<= z -1.95e+27)
(* x (* y0 (* c y2)))
(if (<= z 4.8e-222)
(* b (* (* t j) y4))
(if (<= z 8e+33) (* a (* (* x y) b)) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((z * y1) * -k);
double tmp;
if (z <= -6.5e+183) {
tmp = t_1;
} else if (z <= -1.95e+27) {
tmp = x * (y0 * (c * y2));
} else if (z <= 4.8e-222) {
tmp = b * ((t * j) * y4);
} else if (z <= 8e+33) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = i * ((z * y1) * -k)
if (z <= (-6.5d+183)) then
tmp = t_1
else if (z <= (-1.95d+27)) then
tmp = x * (y0 * (c * y2))
else if (z <= 4.8d-222) then
tmp = b * ((t * j) * y4)
else if (z <= 8d+33) then
tmp = a * ((x * y) * b)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = i * ((z * y1) * -k);
double tmp;
if (z <= -6.5e+183) {
tmp = t_1;
} else if (z <= -1.95e+27) {
tmp = x * (y0 * (c * y2));
} else if (z <= 4.8e-222) {
tmp = b * ((t * j) * y4);
} else if (z <= 8e+33) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = i * ((z * y1) * -k) tmp = 0 if z <= -6.5e+183: tmp = t_1 elif z <= -1.95e+27: tmp = x * (y0 * (c * y2)) elif z <= 4.8e-222: tmp = b * ((t * j) * y4) elif z <= 8e+33: tmp = a * ((x * y) * b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(i * Float64(Float64(z * y1) * Float64(-k))) tmp = 0.0 if (z <= -6.5e+183) tmp = t_1; elseif (z <= -1.95e+27) tmp = Float64(x * Float64(y0 * Float64(c * y2))); elseif (z <= 4.8e-222) tmp = Float64(b * Float64(Float64(t * j) * y4)); elseif (z <= 8e+33) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = i * ((z * y1) * -k); tmp = 0.0; if (z <= -6.5e+183) tmp = t_1; elseif (z <= -1.95e+27) tmp = x * (y0 * (c * y2)); elseif (z <= 4.8e-222) tmp = b * ((t * j) * y4); elseif (z <= 8e+33) tmp = a * ((x * y) * b); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(i * N[(N[(z * y1), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -6.5e+183], t$95$1, If[LessEqual[z, -1.95e+27], N[(x * N[(y0 * N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.8e-222], N[(b * N[(N[(t * j), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8e+33], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := i \cdot \left(\left(z \cdot y1\right) \cdot \left(-k\right)\right)\\
\mathbf{if}\;z \leq -6.5 \cdot 10^{+183}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -1.95 \cdot 10^{+27}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 4.8 \cdot 10^{-222}:\\
\;\;\;\;b \cdot \left(\left(t \cdot j\right) \cdot y4\right)\\
\mathbf{elif}\;z \leq 8 \cdot 10^{+33}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -6.49999999999999983e183 or 7.9999999999999996e33 < z Initial program 24.7%
Taylor expanded in z around -inf 60.2%
Taylor expanded in y1 around -inf 52.1%
mul-1-neg52.1%
Simplified52.1%
Taylor expanded in a around 0 42.3%
if -6.49999999999999983e183 < z < -1.9499999999999999e27Initial program 25.2%
Taylor expanded in y0 around inf 43.2%
Taylor expanded in x around inf 47.5%
Taylor expanded in c around inf 37.0%
if -1.9499999999999999e27 < z < 4.79999999999999986e-222Initial program 36.2%
Taylor expanded in b around inf 37.4%
Taylor expanded in y4 around inf 34.7%
Taylor expanded in j around inf 26.7%
*-commutative26.7%
Simplified26.7%
if 4.79999999999999986e-222 < z < 7.9999999999999996e33Initial program 42.1%
Taylor expanded in b around inf 36.5%
Taylor expanded in a around inf 35.1%
Taylor expanded in x around inf 32.4%
Final simplification34.5%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -7e+114)
(* t (* c (* z i)))
(if (<= z -4.4e-125)
(* (* x c) (* y0 y2))
(if (<= z 5.5e-221)
(* b (* (* t j) y4))
(if (<= z 5.4e+41) (* a (* (* x y) b)) (* b (* k (* z y0))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -7e+114) {
tmp = t * (c * (z * i));
} else if (z <= -4.4e-125) {
tmp = (x * c) * (y0 * y2);
} else if (z <= 5.5e-221) {
tmp = b * ((t * j) * y4);
} else if (z <= 5.4e+41) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (z <= (-7d+114)) then
tmp = t * (c * (z * i))
else if (z <= (-4.4d-125)) then
tmp = (x * c) * (y0 * y2)
else if (z <= 5.5d-221) then
tmp = b * ((t * j) * y4)
else if (z <= 5.4d+41) then
tmp = a * ((x * y) * b)
else
tmp = b * (k * (z * y0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -7e+114) {
tmp = t * (c * (z * i));
} else if (z <= -4.4e-125) {
tmp = (x * c) * (y0 * y2);
} else if (z <= 5.5e-221) {
tmp = b * ((t * j) * y4);
} else if (z <= 5.4e+41) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -7e+114: tmp = t * (c * (z * i)) elif z <= -4.4e-125: tmp = (x * c) * (y0 * y2) elif z <= 5.5e-221: tmp = b * ((t * j) * y4) elif z <= 5.4e+41: tmp = a * ((x * y) * b) else: tmp = b * (k * (z * y0)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -7e+114) tmp = Float64(t * Float64(c * Float64(z * i))); elseif (z <= -4.4e-125) tmp = Float64(Float64(x * c) * Float64(y0 * y2)); elseif (z <= 5.5e-221) tmp = Float64(b * Float64(Float64(t * j) * y4)); elseif (z <= 5.4e+41) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(b * Float64(k * Float64(z * y0))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (z <= -7e+114) tmp = t * (c * (z * i)); elseif (z <= -4.4e-125) tmp = (x * c) * (y0 * y2); elseif (z <= 5.5e-221) tmp = b * ((t * j) * y4); elseif (z <= 5.4e+41) tmp = a * ((x * y) * b); else tmp = b * (k * (z * y0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -7e+114], N[(t * N[(c * N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -4.4e-125], N[(N[(x * c), $MachinePrecision] * N[(y0 * y2), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.5e-221], N[(b * N[(N[(t * j), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5.4e+41], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -7 \cdot 10^{+114}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i\right)\right)\\
\mathbf{elif}\;z \leq -4.4 \cdot 10^{-125}:\\
\;\;\;\;\left(x \cdot c\right) \cdot \left(y0 \cdot y2\right)\\
\mathbf{elif}\;z \leq 5.5 \cdot 10^{-221}:\\
\;\;\;\;b \cdot \left(\left(t \cdot j\right) \cdot y4\right)\\
\mathbf{elif}\;z \leq 5.4 \cdot 10^{+41}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\end{array}
\end{array}
if z < -7.0000000000000001e114Initial program 29.5%
Taylor expanded in t around inf 36.2%
Taylor expanded in z around inf 33.5%
mul-1-neg33.5%
distribute-rgt-neg-in33.5%
distribute-rgt-neg-in33.5%
Simplified33.5%
Taylor expanded in a around 0 33.7%
*-commutative33.7%
Simplified33.7%
if -7.0000000000000001e114 < z < -4.3999999999999999e-125Initial program 29.6%
Taylor expanded in y0 around inf 43.7%
Taylor expanded in x around inf 44.4%
Taylor expanded in c around inf 31.1%
associate-*r*33.2%
Simplified33.2%
if -4.3999999999999999e-125 < z < 5.49999999999999966e-221Initial program 32.8%
Taylor expanded in b around inf 36.4%
Taylor expanded in y4 around inf 33.9%
Taylor expanded in j around inf 27.8%
*-commutative27.8%
Simplified27.8%
if 5.49999999999999966e-221 < z < 5.39999999999999999e41Initial program 42.1%
Taylor expanded in b around inf 36.5%
Taylor expanded in a around inf 35.1%
Taylor expanded in x around inf 32.4%
if 5.39999999999999999e41 < z Initial program 26.3%
Taylor expanded in b around inf 36.6%
Taylor expanded in k around -inf 38.4%
associate-*r*38.4%
neg-mul-138.4%
Simplified38.4%
Taylor expanded in y around 0 35.3%
Final simplification32.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -6.6e+159)
(* t (* z (* c i)))
(if (<= z -1.6e+25)
(* x (* y0 (* c y2)))
(if (<= z 9e-223)
(* b (* (* t j) y4))
(if (<= z 1.26e+42) (* a (* (* x y) b)) (* b (* k (* z y0))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -6.6e+159) {
tmp = t * (z * (c * i));
} else if (z <= -1.6e+25) {
tmp = x * (y0 * (c * y2));
} else if (z <= 9e-223) {
tmp = b * ((t * j) * y4);
} else if (z <= 1.26e+42) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (z <= (-6.6d+159)) then
tmp = t * (z * (c * i))
else if (z <= (-1.6d+25)) then
tmp = x * (y0 * (c * y2))
else if (z <= 9d-223) then
tmp = b * ((t * j) * y4)
else if (z <= 1.26d+42) then
tmp = a * ((x * y) * b)
else
tmp = b * (k * (z * y0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -6.6e+159) {
tmp = t * (z * (c * i));
} else if (z <= -1.6e+25) {
tmp = x * (y0 * (c * y2));
} else if (z <= 9e-223) {
tmp = b * ((t * j) * y4);
} else if (z <= 1.26e+42) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -6.6e+159: tmp = t * (z * (c * i)) elif z <= -1.6e+25: tmp = x * (y0 * (c * y2)) elif z <= 9e-223: tmp = b * ((t * j) * y4) elif z <= 1.26e+42: tmp = a * ((x * y) * b) else: tmp = b * (k * (z * y0)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -6.6e+159) tmp = Float64(t * Float64(z * Float64(c * i))); elseif (z <= -1.6e+25) tmp = Float64(x * Float64(y0 * Float64(c * y2))); elseif (z <= 9e-223) tmp = Float64(b * Float64(Float64(t * j) * y4)); elseif (z <= 1.26e+42) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(b * Float64(k * Float64(z * y0))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (z <= -6.6e+159) tmp = t * (z * (c * i)); elseif (z <= -1.6e+25) tmp = x * (y0 * (c * y2)); elseif (z <= 9e-223) tmp = b * ((t * j) * y4); elseif (z <= 1.26e+42) tmp = a * ((x * y) * b); else tmp = b * (k * (z * y0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -6.6e+159], N[(t * N[(z * N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.6e+25], N[(x * N[(y0 * N[(c * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9e-223], N[(b * N[(N[(t * j), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.26e+42], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.6 \cdot 10^{+159}:\\
\;\;\;\;t \cdot \left(z \cdot \left(c \cdot i\right)\right)\\
\mathbf{elif}\;z \leq -1.6 \cdot 10^{+25}:\\
\;\;\;\;x \cdot \left(y0 \cdot \left(c \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 9 \cdot 10^{-223}:\\
\;\;\;\;b \cdot \left(\left(t \cdot j\right) \cdot y4\right)\\
\mathbf{elif}\;z \leq 1.26 \cdot 10^{+42}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\end{array}
\end{array}
if z < -6.5999999999999998e159Initial program 21.5%
Taylor expanded in t around inf 34.1%
Taylor expanded in z around inf 34.5%
mul-1-neg34.5%
distribute-rgt-neg-in34.5%
distribute-rgt-neg-in34.5%
Simplified34.5%
Taylor expanded in a around 0 38.8%
if -6.5999999999999998e159 < z < -1.6e25Initial program 24.2%
Taylor expanded in y0 around inf 36.4%
Taylor expanded in x around inf 49.1%
Taylor expanded in c around inf 37.2%
if -1.6e25 < z < 8.99999999999999935e-223Initial program 36.2%
Taylor expanded in b around inf 37.4%
Taylor expanded in y4 around inf 34.7%
Taylor expanded in j around inf 26.7%
*-commutative26.7%
Simplified26.7%
if 8.99999999999999935e-223 < z < 1.26e42Initial program 42.1%
Taylor expanded in b around inf 36.5%
Taylor expanded in a around inf 35.1%
Taylor expanded in x around inf 32.4%
if 1.26e42 < z Initial program 26.3%
Taylor expanded in b around inf 36.6%
Taylor expanded in k around -inf 38.4%
associate-*r*38.4%
neg-mul-138.4%
Simplified38.4%
Taylor expanded in y around 0 35.3%
Final simplification32.6%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -2.1e+115)
(* t (* c (* z i)))
(if (<= z -0.058)
(* x (* c (* y0 y2)))
(if (<= z 6.5e-223)
(* b (* (* t j) y4))
(if (<= z 6.2e+41) (* a (* (* x y) b)) (* b (* k (* z y0))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -2.1e+115) {
tmp = t * (c * (z * i));
} else if (z <= -0.058) {
tmp = x * (c * (y0 * y2));
} else if (z <= 6.5e-223) {
tmp = b * ((t * j) * y4);
} else if (z <= 6.2e+41) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (z <= (-2.1d+115)) then
tmp = t * (c * (z * i))
else if (z <= (-0.058d0)) then
tmp = x * (c * (y0 * y2))
else if (z <= 6.5d-223) then
tmp = b * ((t * j) * y4)
else if (z <= 6.2d+41) then
tmp = a * ((x * y) * b)
else
tmp = b * (k * (z * y0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -2.1e+115) {
tmp = t * (c * (z * i));
} else if (z <= -0.058) {
tmp = x * (c * (y0 * y2));
} else if (z <= 6.5e-223) {
tmp = b * ((t * j) * y4);
} else if (z <= 6.2e+41) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -2.1e+115: tmp = t * (c * (z * i)) elif z <= -0.058: tmp = x * (c * (y0 * y2)) elif z <= 6.5e-223: tmp = b * ((t * j) * y4) elif z <= 6.2e+41: tmp = a * ((x * y) * b) else: tmp = b * (k * (z * y0)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -2.1e+115) tmp = Float64(t * Float64(c * Float64(z * i))); elseif (z <= -0.058) tmp = Float64(x * Float64(c * Float64(y0 * y2))); elseif (z <= 6.5e-223) tmp = Float64(b * Float64(Float64(t * j) * y4)); elseif (z <= 6.2e+41) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(b * Float64(k * Float64(z * y0))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (z <= -2.1e+115) tmp = t * (c * (z * i)); elseif (z <= -0.058) tmp = x * (c * (y0 * y2)); elseif (z <= 6.5e-223) tmp = b * ((t * j) * y4); elseif (z <= 6.2e+41) tmp = a * ((x * y) * b); else tmp = b * (k * (z * y0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -2.1e+115], N[(t * N[(c * N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -0.058], N[(x * N[(c * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.5e-223], N[(b * N[(N[(t * j), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.2e+41], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.1 \cdot 10^{+115}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i\right)\right)\\
\mathbf{elif}\;z \leq -0.058:\\
\;\;\;\;x \cdot \left(c \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 6.5 \cdot 10^{-223}:\\
\;\;\;\;b \cdot \left(\left(t \cdot j\right) \cdot y4\right)\\
\mathbf{elif}\;z \leq 6.2 \cdot 10^{+41}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\end{array}
\end{array}
if z < -2.10000000000000003e115Initial program 29.5%
Taylor expanded in t around inf 36.2%
Taylor expanded in z around inf 33.5%
mul-1-neg33.5%
distribute-rgt-neg-in33.5%
distribute-rgt-neg-in33.5%
Simplified33.5%
Taylor expanded in a around 0 33.7%
*-commutative33.7%
Simplified33.7%
if -2.10000000000000003e115 < z < -0.0580000000000000029Initial program 14.0%
Taylor expanded in y0 around inf 50.2%
Taylor expanded in x around inf 55.6%
Taylor expanded in c around inf 38.1%
if -0.0580000000000000029 < z < 6.4999999999999996e-223Initial program 36.9%
Taylor expanded in b around inf 35.2%
Taylor expanded in y4 around inf 33.8%
Taylor expanded in j around inf 26.7%
*-commutative26.7%
Simplified26.7%
if 6.4999999999999996e-223 < z < 6.2e41Initial program 42.1%
Taylor expanded in b around inf 36.5%
Taylor expanded in a around inf 35.1%
Taylor expanded in x around inf 32.4%
if 6.2e41 < z Initial program 26.3%
Taylor expanded in b around inf 36.6%
Taylor expanded in k around -inf 38.4%
associate-*r*38.4%
neg-mul-138.4%
Simplified38.4%
Taylor expanded in y around 0 35.3%
Final simplification32.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -8e+114)
(* t (* c (* z i)))
(if (<= z -0.52)
(* c (* x (* y0 y2)))
(if (<= z 3.2e-222)
(* b (* (* t j) y4))
(if (<= z 2e+34) (* a (* (* x y) b)) (* b (* k (* z y0))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -8e+114) {
tmp = t * (c * (z * i));
} else if (z <= -0.52) {
tmp = c * (x * (y0 * y2));
} else if (z <= 3.2e-222) {
tmp = b * ((t * j) * y4);
} else if (z <= 2e+34) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: tmp
if (z <= (-8d+114)) then
tmp = t * (c * (z * i))
else if (z <= (-0.52d0)) then
tmp = c * (x * (y0 * y2))
else if (z <= 3.2d-222) then
tmp = b * ((t * j) * y4)
else if (z <= 2d+34) then
tmp = a * ((x * y) * b)
else
tmp = b * (k * (z * y0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double tmp;
if (z <= -8e+114) {
tmp = t * (c * (z * i));
} else if (z <= -0.52) {
tmp = c * (x * (y0 * y2));
} else if (z <= 3.2e-222) {
tmp = b * ((t * j) * y4);
} else if (z <= 2e+34) {
tmp = a * ((x * y) * b);
} else {
tmp = b * (k * (z * y0));
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -8e+114: tmp = t * (c * (z * i)) elif z <= -0.52: tmp = c * (x * (y0 * y2)) elif z <= 3.2e-222: tmp = b * ((t * j) * y4) elif z <= 2e+34: tmp = a * ((x * y) * b) else: tmp = b * (k * (z * y0)) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (z <= -8e+114) tmp = Float64(t * Float64(c * Float64(z * i))); elseif (z <= -0.52) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (z <= 3.2e-222) tmp = Float64(b * Float64(Float64(t * j) * y4)); elseif (z <= 2e+34) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = Float64(b * Float64(k * Float64(z * y0))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0; if (z <= -8e+114) tmp = t * (c * (z * i)); elseif (z <= -0.52) tmp = c * (x * (y0 * y2)); elseif (z <= 3.2e-222) tmp = b * ((t * j) * y4); elseif (z <= 2e+34) tmp = a * ((x * y) * b); else tmp = b * (k * (z * y0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -8e+114], N[(t * N[(c * N[(z * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -0.52], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.2e-222], N[(b * N[(N[(t * j), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2e+34], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -8 \cdot 10^{+114}:\\
\;\;\;\;t \cdot \left(c \cdot \left(z \cdot i\right)\right)\\
\mathbf{elif}\;z \leq -0.52:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 3.2 \cdot 10^{-222}:\\
\;\;\;\;b \cdot \left(\left(t \cdot j\right) \cdot y4\right)\\
\mathbf{elif}\;z \leq 2 \cdot 10^{+34}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\end{array}
\end{array}
if z < -8e114Initial program 29.5%
Taylor expanded in t around inf 36.2%
Taylor expanded in z around inf 33.5%
mul-1-neg33.5%
distribute-rgt-neg-in33.5%
distribute-rgt-neg-in33.5%
Simplified33.5%
Taylor expanded in a around 0 33.7%
*-commutative33.7%
Simplified33.7%
if -8e114 < z < -0.52000000000000002Initial program 14.0%
Taylor expanded in y0 around inf 50.2%
Taylor expanded in x around inf 55.6%
Taylor expanded in c around inf 38.1%
if -0.52000000000000002 < z < 3.1999999999999999e-222Initial program 36.9%
Taylor expanded in b around inf 35.2%
Taylor expanded in y4 around inf 33.8%
Taylor expanded in j around inf 26.7%
*-commutative26.7%
Simplified26.7%
if 3.1999999999999999e-222 < z < 1.99999999999999989e34Initial program 42.1%
Taylor expanded in b around inf 36.5%
Taylor expanded in a around inf 35.1%
Taylor expanded in x around inf 32.4%
if 1.99999999999999989e34 < z Initial program 26.3%
Taylor expanded in b around inf 36.6%
Taylor expanded in k around -inf 38.4%
associate-*r*38.4%
neg-mul-138.4%
Simplified38.4%
Taylor expanded in y around 0 35.3%
Final simplification32.2%
(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)))))
(if (<= z -4.7e+157)
t_1
(if (<= z -0.92)
(* c (* x (* y0 y2)))
(if (<= z 2.5e-221)
(* b (* (* t j) y4))
(if (<= z 1.26e+42) (* a (* (* x y) b)) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (k * (z * y0));
double tmp;
if (z <= -4.7e+157) {
tmp = t_1;
} else if (z <= -0.92) {
tmp = c * (x * (y0 * y2));
} else if (z <= 2.5e-221) {
tmp = b * ((t * j) * y4);
} else if (z <= 1.26e+42) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (k * (z * y0))
if (z <= (-4.7d+157)) then
tmp = t_1
else if (z <= (-0.92d0)) then
tmp = c * (x * (y0 * y2))
else if (z <= 2.5d-221) then
tmp = b * ((t * j) * y4)
else if (z <= 1.26d+42) then
tmp = a * ((x * y) * b)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (k * (z * y0));
double tmp;
if (z <= -4.7e+157) {
tmp = t_1;
} else if (z <= -0.92) {
tmp = c * (x * (y0 * y2));
} else if (z <= 2.5e-221) {
tmp = b * ((t * j) * y4);
} else if (z <= 1.26e+42) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (k * (z * y0)) tmp = 0 if z <= -4.7e+157: tmp = t_1 elif z <= -0.92: tmp = c * (x * (y0 * y2)) elif z <= 2.5e-221: tmp = b * ((t * j) * y4) elif z <= 1.26e+42: tmp = a * ((x * y) * b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(k * Float64(z * y0))) tmp = 0.0 if (z <= -4.7e+157) tmp = t_1; elseif (z <= -0.92) tmp = Float64(c * Float64(x * Float64(y0 * y2))); elseif (z <= 2.5e-221) tmp = Float64(b * Float64(Float64(t * j) * y4)); elseif (z <= 1.26e+42) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (k * (z * y0)); tmp = 0.0; if (z <= -4.7e+157) tmp = t_1; elseif (z <= -0.92) tmp = c * (x * (y0 * y2)); elseif (z <= 2.5e-221) tmp = b * ((t * j) * y4); elseif (z <= 1.26e+42) tmp = a * ((x * y) * b); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4.7e+157], t$95$1, If[LessEqual[z, -0.92], N[(c * N[(x * N[(y0 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.5e-221], N[(b * N[(N[(t * j), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.26e+42], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{if}\;z \leq -4.7 \cdot 10^{+157}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -0.92:\\
\;\;\;\;c \cdot \left(x \cdot \left(y0 \cdot y2\right)\right)\\
\mathbf{elif}\;z \leq 2.5 \cdot 10^{-221}:\\
\;\;\;\;b \cdot \left(\left(t \cdot j\right) \cdot y4\right)\\
\mathbf{elif}\;z \leq 1.26 \cdot 10^{+42}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -4.7000000000000003e157 or 1.26e42 < z Initial program 25.0%
Taylor expanded in b around inf 35.8%
Taylor expanded in k around -inf 40.7%
associate-*r*40.7%
neg-mul-140.7%
Simplified40.7%
Taylor expanded in y around 0 36.1%
if -4.7000000000000003e157 < z < -0.92000000000000004Initial program 24.3%
Taylor expanded in y0 around inf 45.1%
Taylor expanded in x around inf 52.7%
Taylor expanded in c around inf 32.7%
if -0.92000000000000004 < z < 2.49999999999999998e-221Initial program 36.9%
Taylor expanded in b around inf 35.2%
Taylor expanded in y4 around inf 33.8%
Taylor expanded in j around inf 26.7%
*-commutative26.7%
Simplified26.7%
if 2.49999999999999998e-221 < z < 1.26e42Initial program 42.1%
Taylor expanded in b around inf 36.5%
Taylor expanded in a around inf 35.1%
Taylor expanded in x around inf 32.4%
Final simplification32.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -6.1e-99)
(* j (* x (- (* i y1) (* b y0))))
(if (<= y1 1.25e-199)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 1.05e+69)
(* c (* y0 (- (* x y2) (* z y3))))
(* i (* (* z y1) (- 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 tmp;
if (y1 <= -6.1e-99) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= 1.25e-199) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 1.05e+69) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = i * ((z * y1) * -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) :: tmp
if (y1 <= (-6.1d-99)) then
tmp = j * (x * ((i * y1) - (b * y0)))
else if (y1 <= 1.25d-199) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 1.05d+69) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else
tmp = i * ((z * y1) * -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 tmp;
if (y1 <= -6.1e-99) {
tmp = j * (x * ((i * y1) - (b * y0)));
} else if (y1 <= 1.25e-199) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 1.05e+69) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = i * ((z * y1) * -k);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -6.1e-99: tmp = j * (x * ((i * y1) - (b * y0))) elif y1 <= 1.25e-199: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 1.05e+69: tmp = c * (y0 * ((x * y2) - (z * y3))) else: tmp = i * ((z * y1) * -k) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -6.1e-99) tmp = Float64(j * Float64(x * Float64(Float64(i * y1) - Float64(b * y0)))); elseif (y1 <= 1.25e-199) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 1.05e+69) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); else tmp = Float64(i * Float64(Float64(z * y1) * Float64(-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) tmp = 0.0; if (y1 <= -6.1e-99) tmp = j * (x * ((i * y1) - (b * y0))); elseif (y1 <= 1.25e-199) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 1.05e+69) tmp = c * (y0 * ((x * y2) - (z * y3))); else tmp = i * ((z * y1) * -k); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -6.1e-99], N[(j * N[(x * N[(N[(i * y1), $MachinePrecision] - N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.25e-199], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.05e+69], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(N[(z * y1), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -6.1 \cdot 10^{-99}:\\
\;\;\;\;j \cdot \left(x \cdot \left(i \cdot y1 - b \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 1.25 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 1.05 \cdot 10^{+69}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(\left(z \cdot y1\right) \cdot \left(-k\right)\right)\\
\end{array}
\end{array}
if y1 < -6.1000000000000003e-99Initial program 36.9%
Taylor expanded in x around inf 49.6%
Taylor expanded in j around inf 41.9%
if -6.1000000000000003e-99 < y1 < 1.2499999999999999e-199Initial program 33.4%
Taylor expanded in b around inf 42.0%
Taylor expanded in y4 around inf 43.5%
if 1.2499999999999999e-199 < y1 < 1.05000000000000008e69Initial program 28.5%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in c around inf 38.7%
if 1.05000000000000008e69 < y1 Initial program 31.6%
Taylor expanded in z around -inf 48.5%
Taylor expanded in y1 around -inf 46.5%
mul-1-neg46.5%
Simplified46.5%
Taylor expanded in a around 0 44.5%
Final simplification42.3%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= y1 -9.5e-129)
(* b (* x (- (* y a) (* j y0))))
(if (<= y1 1.16e-199)
(* b (* y4 (- (* t j) (* y k))))
(if (<= y1 9.5e+68)
(* c (* y0 (- (* x y2) (* z y3))))
(* i (* (* z y1) (- 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 tmp;
if (y1 <= -9.5e-129) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y1 <= 1.16e-199) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 9.5e+68) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = i * ((z * y1) * -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) :: tmp
if (y1 <= (-9.5d-129)) then
tmp = b * (x * ((y * a) - (j * y0)))
else if (y1 <= 1.16d-199) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (y1 <= 9.5d+68) then
tmp = c * (y0 * ((x * y2) - (z * y3)))
else
tmp = i * ((z * y1) * -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 tmp;
if (y1 <= -9.5e-129) {
tmp = b * (x * ((y * a) - (j * y0)));
} else if (y1 <= 1.16e-199) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (y1 <= 9.5e+68) {
tmp = c * (y0 * ((x * y2) - (z * y3)));
} else {
tmp = i * ((z * y1) * -k);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if y1 <= -9.5e-129: tmp = b * (x * ((y * a) - (j * y0))) elif y1 <= 1.16e-199: tmp = b * (y4 * ((t * j) - (y * k))) elif y1 <= 9.5e+68: tmp = c * (y0 * ((x * y2) - (z * y3))) else: tmp = i * ((z * y1) * -k) return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = 0.0 if (y1 <= -9.5e-129) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); elseif (y1 <= 1.16e-199) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (y1 <= 9.5e+68) tmp = Float64(c * Float64(y0 * Float64(Float64(x * y2) - Float64(z * y3)))); else tmp = Float64(i * Float64(Float64(z * y1) * Float64(-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) tmp = 0.0; if (y1 <= -9.5e-129) tmp = b * (x * ((y * a) - (j * y0))); elseif (y1 <= 1.16e-199) tmp = b * (y4 * ((t * j) - (y * k))); elseif (y1 <= 9.5e+68) tmp = c * (y0 * ((x * y2) - (z * y3))); else tmp = i * ((z * y1) * -k); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -9.5e-129], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.16e-199], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 9.5e+68], N[(c * N[(y0 * N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(N[(z * y1), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y1 \leq -9.5 \cdot 10^{-129}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{elif}\;y1 \leq 1.16 \cdot 10^{-199}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;y1 \leq 9.5 \cdot 10^{+68}:\\
\;\;\;\;c \cdot \left(y0 \cdot \left(x \cdot y2 - z \cdot y3\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(\left(z \cdot y1\right) \cdot \left(-k\right)\right)\\
\end{array}
\end{array}
if y1 < -9.5000000000000006e-129Initial program 38.9%
Taylor expanded in b around inf 41.2%
Taylor expanded in x around inf 32.2%
if -9.5000000000000006e-129 < y1 < 1.16e-199Initial program 30.0%
Taylor expanded in b around inf 43.3%
Taylor expanded in y4 around inf 45.2%
if 1.16e-199 < y1 < 9.50000000000000069e68Initial program 28.5%
Taylor expanded in y0 around inf 50.8%
Taylor expanded in c around inf 38.7%
if 9.50000000000000069e68 < y1 Initial program 31.6%
Taylor expanded in z around -inf 48.5%
Taylor expanded in y1 around -inf 46.5%
mul-1-neg46.5%
Simplified46.5%
Taylor expanded in a around 0 44.5%
Final simplification39.4%
(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) (- k)))))
(if (<= z -7.2e+183)
t_1
(if (<= z -4e-286)
(* b (* j (- (* t y4) (* x y0))))
(if (<= z 2.9e+34) (* 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 = i * ((z * y1) * -k);
double tmp;
if (z <= -7.2e+183) {
tmp = t_1;
} else if (z <= -4e-286) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (z <= 2.9e+34) {
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 = i * ((z * y1) * -k)
if (z <= (-7.2d+183)) then
tmp = t_1
else if (z <= (-4d-286)) then
tmp = b * (j * ((t * y4) - (x * y0)))
else if (z <= 2.9d+34) 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 = i * ((z * y1) * -k);
double tmp;
if (z <= -7.2e+183) {
tmp = t_1;
} else if (z <= -4e-286) {
tmp = b * (j * ((t * y4) - (x * y0)));
} else if (z <= 2.9e+34) {
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 = i * ((z * y1) * -k) tmp = 0 if z <= -7.2e+183: tmp = t_1 elif z <= -4e-286: tmp = b * (j * ((t * y4) - (x * y0))) elif z <= 2.9e+34: 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(i * Float64(Float64(z * y1) * Float64(-k))) tmp = 0.0 if (z <= -7.2e+183) tmp = t_1; elseif (z <= -4e-286) tmp = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))); elseif (z <= 2.9e+34) 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 = i * ((z * y1) * -k); tmp = 0.0; if (z <= -7.2e+183) tmp = t_1; elseif (z <= -4e-286) tmp = b * (j * ((t * y4) - (x * y0))); elseif (z <= 2.9e+34) 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[(i * N[(N[(z * y1), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -7.2e+183], t$95$1, If[LessEqual[z, -4e-286], N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.9e+34], 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 := i \cdot \left(\left(z \cdot y1\right) \cdot \left(-k\right)\right)\\
\mathbf{if}\;z \leq -7.2 \cdot 10^{+183}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -4 \cdot 10^{-286}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{elif}\;z \leq 2.9 \cdot 10^{+34}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -7.20000000000000046e183 or 2.9000000000000001e34 < z Initial program 24.7%
Taylor expanded in z around -inf 60.2%
Taylor expanded in y1 around -inf 52.1%
mul-1-neg52.1%
Simplified52.1%
Taylor expanded in a around 0 42.3%
if -7.20000000000000046e183 < z < -4.0000000000000002e-286Initial program 33.3%
Taylor expanded in b around inf 35.5%
Taylor expanded in j around inf 38.5%
if -4.0000000000000002e-286 < z < 2.9000000000000001e34Initial program 39.9%
Taylor expanded in b around inf 36.9%
Taylor expanded in x around inf 37.0%
Final simplification39.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(let* ((t_1 (* b (* j (- (* t y4) (* x y0))))))
(if (<= j -1.7e+161)
t_1
(if (<= j 1.5e-34)
(* a (* b (- (* x y) (* z t))))
(if (<= j 2.25e+128) (* z (* y1 (* i (- k)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (j <= -1.7e+161) {
tmp = t_1;
} else if (j <= 1.5e-34) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= 2.25e+128) {
tmp = z * (y1 * (i * -k));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (j * ((t * y4) - (x * y0)))
if (j <= (-1.7d+161)) then
tmp = t_1
else if (j <= 1.5d-34) then
tmp = a * (b * ((x * y) - (z * t)))
else if (j <= 2.25d+128) then
tmp = z * (y1 * (i * -k))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (j * ((t * y4) - (x * y0)));
double tmp;
if (j <= -1.7e+161) {
tmp = t_1;
} else if (j <= 1.5e-34) {
tmp = a * (b * ((x * y) - (z * t)));
} else if (j <= 2.25e+128) {
tmp = z * (y1 * (i * -k));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (j * ((t * y4) - (x * y0))) tmp = 0 if j <= -1.7e+161: tmp = t_1 elif j <= 1.5e-34: tmp = a * (b * ((x * y) - (z * t))) elif j <= 2.25e+128: tmp = z * (y1 * (i * -k)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(j * Float64(Float64(t * y4) - Float64(x * y0)))) tmp = 0.0 if (j <= -1.7e+161) tmp = t_1; elseif (j <= 1.5e-34) tmp = Float64(a * Float64(b * Float64(Float64(x * y) - Float64(z * t)))); elseif (j <= 2.25e+128) tmp = Float64(z * Float64(y1 * Float64(i * Float64(-k)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (j * ((t * y4) - (x * y0))); tmp = 0.0; if (j <= -1.7e+161) tmp = t_1; elseif (j <= 1.5e-34) tmp = a * (b * ((x * y) - (z * t))); elseif (j <= 2.25e+128) tmp = z * (y1 * (i * -k)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(j * N[(N[(t * y4), $MachinePrecision] - N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.7e+161], t$95$1, If[LessEqual[j, 1.5e-34], N[(a * N[(b * N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.25e+128], N[(z * N[(y1 * N[(i * (-k)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right)\\
\mathbf{if}\;j \leq -1.7 \cdot 10^{+161}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;j \leq 1.5 \cdot 10^{-34}:\\
\;\;\;\;a \cdot \left(b \cdot \left(x \cdot y - z \cdot t\right)\right)\\
\mathbf{elif}\;j \leq 2.25 \cdot 10^{+128}:\\
\;\;\;\;z \cdot \left(y1 \cdot \left(i \cdot \left(-k\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if j < -1.69999999999999996e161 or 2.2500000000000001e128 < j Initial program 24.6%
Taylor expanded in b around inf 41.3%
Taylor expanded in j around inf 53.8%
if -1.69999999999999996e161 < j < 1.5e-34Initial program 37.6%
Taylor expanded in b around inf 35.1%
Taylor expanded in a around inf 29.5%
if 1.5e-34 < j < 2.2500000000000001e128Initial program 31.8%
Taylor expanded in z around -inf 49.4%
Taylor expanded in y1 around -inf 49.7%
mul-1-neg49.7%
Simplified49.7%
Taylor expanded in a around 0 38.4%
neg-mul-138.4%
distribute-rgt-neg-in38.4%
Simplified38.4%
Final simplification37.7%
(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)))))
(if (<= z -2.1e-14)
t_1
(if (<= z 2.35e-222)
(* b (* (* t j) y4))
(if (<= z 5e+40) (* a (* (* x y) b)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (k * (z * y0));
double tmp;
if (z <= -2.1e-14) {
tmp = t_1;
} else if (z <= 2.35e-222) {
tmp = b * ((t * j) * y4);
} else if (z <= 5e+40) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (k * (z * y0))
if (z <= (-2.1d-14)) then
tmp = t_1
else if (z <= 2.35d-222) then
tmp = b * ((t * j) * y4)
else if (z <= 5d+40) then
tmp = a * ((x * y) * b)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (k * (z * y0));
double tmp;
if (z <= -2.1e-14) {
tmp = t_1;
} else if (z <= 2.35e-222) {
tmp = b * ((t * j) * y4);
} else if (z <= 5e+40) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (k * (z * y0)) tmp = 0 if z <= -2.1e-14: tmp = t_1 elif z <= 2.35e-222: tmp = b * ((t * j) * y4) elif z <= 5e+40: tmp = a * ((x * y) * b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(k * Float64(z * y0))) tmp = 0.0 if (z <= -2.1e-14) tmp = t_1; elseif (z <= 2.35e-222) tmp = Float64(b * Float64(Float64(t * j) * y4)); elseif (z <= 5e+40) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (k * (z * y0)); tmp = 0.0; if (z <= -2.1e-14) tmp = t_1; elseif (z <= 2.35e-222) tmp = b * ((t * j) * y4); elseif (z <= 5e+40) tmp = a * ((x * y) * b); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.1e-14], t$95$1, If[LessEqual[z, 2.35e-222], N[(b * N[(N[(t * j), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5e+40], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{if}\;z \leq -2.1 \cdot 10^{-14}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 2.35 \cdot 10^{-222}:\\
\;\;\;\;b \cdot \left(\left(t \cdot j\right) \cdot y4\right)\\
\mathbf{elif}\;z \leq 5 \cdot 10^{+40}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -2.0999999999999999e-14 or 5.00000000000000003e40 < z Initial program 25.2%
Taylor expanded in b around inf 35.9%
Taylor expanded in k around -inf 34.4%
associate-*r*34.4%
neg-mul-134.4%
Simplified34.4%
Taylor expanded in y around 0 31.1%
if -2.0999999999999999e-14 < z < 2.3499999999999999e-222Initial program 36.5%
Taylor expanded in b around inf 34.7%
Taylor expanded in y4 around inf 34.6%
Taylor expanded in j around inf 27.4%
*-commutative27.4%
Simplified27.4%
if 2.3499999999999999e-222 < z < 5.00000000000000003e40Initial program 42.1%
Taylor expanded in b around inf 36.5%
Taylor expanded in a around inf 35.1%
Taylor expanded in x around inf 32.4%
Final simplification30.5%
(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)))))
(if (<= z -4e-15)
t_1
(if (<= z 1.1e-247)
(* b (* j (* t y4)))
(if (<= z 1.85e+37) (* a (* (* x y) b)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (k * (z * y0));
double tmp;
if (z <= -4e-15) {
tmp = t_1;
} else if (z <= 1.1e-247) {
tmp = b * (j * (t * y4));
} else if (z <= 1.85e+37) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
real(8) :: t_1
real(8) :: tmp
t_1 = b * (k * (z * y0))
if (z <= (-4d-15)) then
tmp = t_1
else if (z <= 1.1d-247) then
tmp = b * (j * (t * y4))
else if (z <= 1.85d+37) then
tmp = a * ((x * y) * b)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
double t_1 = b * (k * (z * y0));
double tmp;
if (z <= -4e-15) {
tmp = t_1;
} else if (z <= 1.1e-247) {
tmp = b * (j * (t * y4));
} else if (z <= 1.85e+37) {
tmp = a * ((x * y) * b);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): t_1 = b * (k * (z * y0)) tmp = 0 if z <= -4e-15: tmp = t_1 elif z <= 1.1e-247: tmp = b * (j * (t * y4)) elif z <= 1.85e+37: tmp = a * ((x * y) * b) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = Float64(b * Float64(k * Float64(z * y0))) tmp = 0.0 if (z <= -4e-15) tmp = t_1; elseif (z <= 1.1e-247) tmp = Float64(b * Float64(j * Float64(t * y4))); elseif (z <= 1.85e+37) tmp = Float64(a * Float64(Float64(x * y) * b)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) t_1 = b * (k * (z * y0)); tmp = 0.0; if (z <= -4e-15) tmp = t_1; elseif (z <= 1.1e-247) tmp = b * (j * (t * y4)); elseif (z <= 1.85e+37) tmp = a * ((x * y) * b); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(b * N[(k * N[(z * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4e-15], t$95$1, If[LessEqual[z, 1.1e-247], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.85e+37], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := b \cdot \left(k \cdot \left(z \cdot y0\right)\right)\\
\mathbf{if}\;z \leq -4 \cdot 10^{-15}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{-247}:\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{elif}\;z \leq 1.85 \cdot 10^{+37}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -4.0000000000000003e-15 or 1.85e37 < z Initial program 25.2%
Taylor expanded in b around inf 35.9%
Taylor expanded in k around -inf 34.4%
associate-*r*34.4%
neg-mul-134.4%
Simplified34.4%
Taylor expanded in y around 0 31.1%
if -4.0000000000000003e-15 < z < 1.09999999999999996e-247Initial program 36.6%
Taylor expanded in b around inf 31.6%
Taylor expanded in y4 around inf 33.0%
Taylor expanded in j around inf 25.5%
if 1.09999999999999996e-247 < z < 1.85e37Initial program 41.8%
Taylor expanded in b around inf 38.9%
Taylor expanded in a around inf 35.2%
Taylor expanded in x around inf 32.6%
Final simplification30.2%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
:precision binary64
(if (<= z -4.3e-244)
(* b (* y4 (- (* t j) (* y k))))
(if (<= z 3.5e+38)
(* b (* x (- (* y a) (* j y0))))
(* i (* (* z y1) (- 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 tmp;
if (z <= -4.3e-244) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (z <= 3.5e+38) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = i * ((z * y1) * -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) :: tmp
if (z <= (-4.3d-244)) then
tmp = b * (y4 * ((t * j) - (y * k)))
else if (z <= 3.5d+38) then
tmp = b * (x * ((y * a) - (j * y0)))
else
tmp = i * ((z * y1) * -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 tmp;
if (z <= -4.3e-244) {
tmp = b * (y4 * ((t * j) - (y * k)));
} else if (z <= 3.5e+38) {
tmp = b * (x * ((y * a) - (j * y0)));
} else {
tmp = i * ((z * y1) * -k);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): tmp = 0 if z <= -4.3e-244: tmp = b * (y4 * ((t * j) - (y * k))) elif z <= 3.5e+38: tmp = b * (x * ((y * a) - (j * y0))) else: tmp = i * ((z * y1) * -k) 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 <= -4.3e-244) tmp = Float64(b * Float64(y4 * Float64(Float64(t * j) - Float64(y * k)))); elseif (z <= 3.5e+38) tmp = Float64(b * Float64(x * Float64(Float64(y * a) - Float64(j * y0)))); else tmp = Float64(i * Float64(Float64(z * y1) * Float64(-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) tmp = 0.0; if (z <= -4.3e-244) tmp = b * (y4 * ((t * j) - (y * k))); elseif (z <= 3.5e+38) tmp = b * (x * ((y * a) - (j * y0))); else tmp = i * ((z * y1) * -k); 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, -4.3e-244], N[(b * N[(y4 * N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.5e+38], N[(b * N[(x * N[(N[(y * a), $MachinePrecision] - N[(j * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(N[(z * y1), $MachinePrecision] * (-k)), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -4.3 \cdot 10^{-244}:\\
\;\;\;\;b \cdot \left(y4 \cdot \left(t \cdot j - y \cdot k\right)\right)\\
\mathbf{elif}\;z \leq 3.5 \cdot 10^{+38}:\\
\;\;\;\;b \cdot \left(x \cdot \left(y \cdot a - j \cdot y0\right)\right)\\
\mathbf{else}:\\
\;\;\;\;i \cdot \left(\left(z \cdot y1\right) \cdot \left(-k\right)\right)\\
\end{array}
\end{array}
if z < -4.29999999999999986e-244Initial program 31.4%
Taylor expanded in b around inf 35.3%
Taylor expanded in y4 around inf 36.9%
if -4.29999999999999986e-244 < z < 3.50000000000000002e38Initial program 38.5%
Taylor expanded in b around inf 35.7%
Taylor expanded in x around inf 35.9%
if 3.50000000000000002e38 < z Initial program 26.3%
Taylor expanded in z around -inf 59.5%
Taylor expanded in y1 around -inf 50.2%
mul-1-neg50.2%
Simplified50.2%
Taylor expanded in a around 0 41.8%
Final simplification37.7%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (if (or (<= j -5.2e+58) (not (<= j 6.2e-28))) (* b (* j (* t y4))) (* 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 ((j <= -5.2e+58) || !(j <= 6.2e-28)) {
tmp = b * (j * (t * y4));
} 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 ((j <= (-5.2d+58)) .or. (.not. (j <= 6.2d-28))) then
tmp = b * (j * (t * y4))
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 ((j <= -5.2e+58) || !(j <= 6.2e-28)) {
tmp = b * (j * (t * y4));
} 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 (j <= -5.2e+58) or not (j <= 6.2e-28): tmp = b * (j * (t * y4)) 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 ((j <= -5.2e+58) || !(j <= 6.2e-28)) tmp = Float64(b * Float64(j * Float64(t * y4))); 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 ((j <= -5.2e+58) || ~((j <= 6.2e-28))) tmp = b * (j * (t * y4)); 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[j, -5.2e+58], N[Not[LessEqual[j, 6.2e-28]], $MachinePrecision]], N[(b * N[(j * N[(t * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -5.2 \cdot 10^{+58} \lor \neg \left(j \leq 6.2 \cdot 10^{-28}\right):\\
\;\;\;\;b \cdot \left(j \cdot \left(t \cdot y4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(\left(x \cdot y\right) \cdot b\right)\\
\end{array}
\end{array}
if j < -5.19999999999999976e58 or 6.19999999999999984e-28 < j Initial program 28.3%
Taylor expanded in b around inf 37.9%
Taylor expanded in y4 around inf 34.9%
Taylor expanded in j around inf 30.4%
if -5.19999999999999976e58 < j < 6.19999999999999984e-28Initial program 37.3%
Taylor expanded in b around inf 33.8%
Taylor expanded in a around inf 26.8%
Taylor expanded in x around inf 21.8%
Final simplification25.9%
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5) :precision binary64 (* a (* (* x y) b)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8), intent (in) :: k
real(8), intent (in) :: y0
real(8), intent (in) :: y1
real(8), intent (in) :: y2
real(8), intent (in) :: y3
real(8), intent (in) :: y4
real(8), intent (in) :: y5
code = a * ((x * y) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
return a * ((x * y) * b);
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5): return a * ((x * y) * b)
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) return Float64(a * Float64(Float64(x * y) * b)) end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5) tmp = a * ((x * y) * b); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(N[(x * y), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot \left(\left(x \cdot y\right) \cdot b\right)
\end{array}
Initial program 33.0%
Taylor expanded in b around inf 35.8%
Taylor expanded in a around inf 26.6%
Taylor expanded in x around inf 17.8%
Final simplification17.8%
(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 2024144
(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
(! :herbie-platform default (if (< y4 -7206256231996481000000000000000000000000000000000000000000000) (- (- (* (- (* 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 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3364603505246317/1000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* 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 -3000016263921529/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* 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 1343792624811499/200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* 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 29872667587737/6250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* 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 4570448308253367/20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* 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)))))